:: Synchronizing package databases... build-support-manual downloading... build-support downloading... core-staging downloading... extra-staging downloading... core-testing downloading... core downloading... extra-testing downloading... extra downloading... :: Starting full system upgrade... there is nothing to do ==> Building in chroot for [extra-staging-with-build-support] (i686)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-staging-with-build-support-i686/root] -> [build]...done ==> Making package: clamav 1.4.1-1.0 (Wed Oct 9 01:07:06 2024) ==> Retrieving sources... -> Found clamav-1.4.1.tar.gz -> Found clamav-1.4.1.tar.gz.sig -> Found clamav.logrotate -> Found clamav.tmpfiles -> Found clamav.sysusers ==> Validating source files with sha512sums... clamav-1.4.1.tar.gz ... Passed clamav-1.4.1.tar.gz.sig ... Skipped clamav.logrotate ... Passed clamav.tmpfiles ... Passed clamav.sysusers ... Passed ==> Verifying source file signatures with gpg... clamav-1.4.1.tar.gz ... Passed gpg: Warning: using insecure memory! ==> Appending keys from archlinux32.gpg... gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! ==> Updating trust database... gpg: Warning: using insecure memory! gpg: next trustdb check due at 2024-11-09 ==> Making package: clamav 1.4.1-1.0 (Wed Oct 9 01:07:10 2024) ==> Checking runtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Packages (1) libmspack-1:1.11-1.0 Total Installed Size: 0.16 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing libmspack... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... ==> Checking buildtime dependencies... ==> Installing missing dependencies... :: There are 3 providers available for cargo: :: Repository build-support 1) rust176-bin :: Repository extra 2) rust 3) rustup Enter a number (default=1): resolving dependencies... looking for conflicting packages... Packages (13) cppdap-1.58.0-2.0 hicolor-icon-theme-0.18-1.0 jsoncpp-1.9.6-3.0 libuv-1.49.0-1.0 python-iniconfig-2.0.0-5.1 python-pluggy-1.5.0-1.0 rhash-1.4.4-1.0 check-0.15.2-2.0 cmake-3.30.4-1.0 libmilter-8.18.1-1.0 ninja-1.12.1-1.0 python-pytest-1:8.3.3-1.0 rust176-bin-1:1.76.0-1.0 Total Installed Size: 1439.81 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing rust176-bin... installing cppdap... installing hicolor-icon-theme... installing jsoncpp... Optional dependencies for jsoncpp jsoncpp-doc: documentation installing libuv... installing rhash... installing cmake... Optional dependencies for cmake make: for unix Makefile generator [installed] ninja: for ninja generator [pending] qt6-base: cmake-gui installing libmilter... installing ninja... installing python-iniconfig... installing python-pluggy... installing python-pytest... installing check... Optional dependencies for check check-docs: Documentation :: Running post-transaction hooks... (1/2) Arming ConditionNeedsUpdate... (2/2) Updating the info directory file... ==> Retrieving sources... -> Found clamav-1.4.1.tar.gz -> Found clamav-1.4.1.tar.gz.sig -> Found clamav.logrotate -> Found clamav.tmpfiles -> Found clamav.sysusers ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Extracting clamav-1.4.1.tar.gz with bsdtar ==> Starting prepare()... ==> Starting build()... -- The C compiler identification is GNU 14.2.1 -- The CXX compiler identification is GNU 14.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - 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/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Could NOT find Git (missing: GIT_EXECUTABLE) -- Rust tool `cargo` found: /usr/bin/cargo, 1.76.0 -- Rust tool `rustc` found: /usr/bin/rustc, 1.76.0 -- Rust tool `rustup` not found. -- Rust tool `rust-gdb` not found: Failed to determine version. -- Rust tool `rust-lldb` not found: Failed to determine version. -- Rust tool `rustdoc` found: /usr/bin/rustdoc, 1.76.0 -- Rust tool `rustfmt` found: /usr/bin/rustfmt, 1.7.0 -- 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.76.0") -- Found Libcheck: /usr/include -- Found Python3: /usr/bin/python3.12 (found version "3.12.6") found components: Interpreter -- Valgrind not found. -- Found Threads: TRUE -- Found OpenSSL: /usr/lib/libcrypto.so (found version "3.3.2") -- Found ZLIB: /usr/lib/libz.so (found version "1.3.1") -- Found BZip2: /usr/lib/libbz2.so (found version "1.0.8") -- Looking for BZ2_bzCompressInit -- Looking for BZ2_bzCompressInit - found -- Found LibXml2: /usr/lib/libxml2.so (found version "2.13.4") -- Found PCRE2: /usr/lib/libpcre2-8.so -- Performing Test Iconv_IS_BUILT_IN -- Performing Test Iconv_IS_BUILT_IN - Success -- Found Iconv: /usr/lib/libc.so -- Found JSONC: /usr/lib/libjson-c.so -- Found CURL: /usr/lib/libcurl.so (found version "8.10.1") -- Found CURSES: /usr/lib/libncursesw.so -- Found Milter: /usr/lib/libmilter.a -- Found SYSTEMD: /usr/lib/libsystemd.so (found version "256") -- 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 -- Found MSPack: /usr/lib/libmspack.so -- Configuration Options Summary --  Package Version: ClamAV 1.4.1  libclamav version: 12:3:0  libfreshclam version: 3:2:0  Install prefix: /usr  Install database dir: /var/lib/clamav  Install config dir: /etc/clamav  Host system: Linux-6.11.2-arch1-1  Target system: Linux-6.11.2-arch1-1  Compiler:   Build type: None  C compiler: /usr/bin/cc  C++ compiler: /usr/bin/c++  Rust toolchain: /usr/bin/cargo (1.76.0)  CFLAGS:  -march=i686 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/build/clamav/src=/usr/src/debug/clamav -flto=auto  CXXFLAGS:  -march=i686 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/build/clamav/src=/usr/src/debug/clamav -flto=auto  WARNCFLAGS:  -Wall -Wextra -Wformat-security  Build Options:   Build apps: ON  Shared library: ON  Static library: OFF  Enable UnRAR: ON  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) -- Engine Options --  Bytecode Runtime:  interpreter  -- Test Dependencies --  Unit Test Framework: libcheck /usr/include /usr/lib/libcheck.so  Feature Test Framework: python3 /usr/bin/python3.12 test command pytest;-v -- libclamav Dependencies --  Compression support: bzip2 /usr/include /usr/lib/libbz2.so zlib /usr/include /usr/lib/libz.so  XML support:  libxml2 /usr/include/libxml2;/usr/include/libxml2;/usr/include /usr/lib/libxml2.so  RegEx support:  libpcre2 /usr/include /usr/lib/libpcre2-8.so  Crypto support:  openssl /usr/include /usr/lib/libssl.so;/usr/lib/libcrypto.so  JSON support:  json-c /usr/include/json-c /usr/lib/libjson-c.so  Threading support:  pthread   Locale support:  iconv /usr/include /usr/lib/libc.so -- libfreshclam Extra Dependencies --  HTTP support:  curl /usr/include /usr/lib/libcurl.so -- Application Extra Dependencies --  GUI support:  ncurses /usr/include /usr/lib/libncursesw.so  systemd:  unit directory /usr/lib/systemd/system  systemd ctl support:  libsystemd /usr/include /usr/lib/libsystemd.so  Milter Support:  libmilter /usr/include /usr/lib/libmilter.a -- 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. -- Configuring done (8.6s) -- Generating done (0.1s) -- Build files have been written to: /build/clamav/src/clamav-1.4.1/build ninja: Entering directory `build' [1/361] Building C object libclamav/CMakeFiles/regex.dir/regex/strlcpy.c.o [2/361] Building C object libclamav/CMakeFiles/regex.dir/regex/regerror.c.o [3/361] Building C object libclamav/CMakeFiles/regex.dir/regex/regfree.c.o [4/361] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/7zAlloc.c.o [5/361] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/7zBuf.c.o [6/361] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/7zFile.c.o [7/361] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/7zBuf2.c.o [8/361] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/7zCrcOpt.c.o [9/361] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/7zCrc.c.o [10/361] Building C object libclamav/CMakeFiles/regex.dir/regex/regcomp.c.o /build/clamav/src/clamav-1.4.1/libclamav/regex/regcomp.c: In function ‘cli_regcomp_real’: /build/clamav/src/clamav-1.4.1/libclamav/regex/regcomp.c:188:22: warning: comparison of integer expressions of different signedness: ‘sopno’ {aka ‘long int’} and ‘size_t’ {aka ‘unsigned int’} [-Wsign-compare] 188 | if (p->ssize < len) { | ^ /build/clamav/src/clamav-1.4.1/libclamav/regex/regcomp.c: In function ‘freeset’: /build/clamav/src/clamav-1.4.1/libclamav/regex/regcomp.c:1097:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘unsigned int’} [-Wsign-compare] 1097 | for (i = 0; i < css; i++) | ^ /build/clamav/src/clamav-1.4.1/libclamav/regex/regcomp.c: In function ‘freezeset’: /build/clamav/src/clamav-1.4.1/libclamav/regex/regcomp.c:1125:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘unsigned int’} [-Wsign-compare] 1125 | for (i = 0; i < css; i++) | ^ /build/clamav/src/clamav-1.4.1/libclamav/regex/regcomp.c:1128:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘unsigned int’} [-Wsign-compare] 1128 | if (i == css) | ^~ /build/clamav/src/clamav-1.4.1/libclamav/regex/regcomp.c: In function ‘firstch’: /build/clamav/src/clamav-1.4.1/libclamav/regex/regcomp.c:1149:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘unsigned int’} [-Wsign-compare] 1149 | for (i = 0; i < css; i++) | ^ /build/clamav/src/clamav-1.4.1/libclamav/regex/regcomp.c: In function ‘nch’: /build/clamav/src/clamav-1.4.1/libclamav/regex/regcomp.c:1166:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘unsigned int’} [-Wsign-compare] 1166 | for (i = 0; i < css; i++) | ^ [11/361] Building C object libclamav/CMakeFiles/regex.dir/regex/regexec.c.o In file included from /build/clamav/src/clamav-1.4.1/libclamav/regex/regexec.c:81: /build/clamav/src/clamav-1.4.1/libclamav/regex/engine.c: In function ‘smatcher’: /build/clamav/src/clamav-1.4.1/libclamav/regex/engine.c:219:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘unsigned int’} [-Wsign-compare] 219 | for (i = 1; i <= m->g->nsub; i++) | ^~ /build/clamav/src/clamav-1.4.1/libclamav/regex/engine.c:226:44: warning: assignment to ‘const char **’ from incompatible pointer type ‘char **’ [-Wincompatible-pointer-types] 226 | m->lastpos = (char **)cli_max_malloc((g->nplus+1) * | ^ /build/clamav/src/clamav-1.4.1/libclamav/regex/engine.c:277:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘unsigned int’} [-Wsign-compare] 277 | for (i = 1; i < nmatch; i++) | ^ /build/clamav/src/clamav-1.4.1/libclamav/regex/engine.c:278:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘unsigned int’} [-Wsign-compare] 278 | if (i <= m->g->nsub) | ^~ /build/clamav/src/clamav-1.4.1/libclamav/regex/engine.c: In function ‘sdissect’: /build/clamav/src/clamav-1.4.1/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 /build/clamav/src/clamav-1.4.1/libclamav/regex/regexec.c:130: /build/clamav/src/clamav-1.4.1/libclamav/regex/engine.c: In function ‘lmatcher’: /build/clamav/src/clamav-1.4.1/libclamav/regex/engine.c:219:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘unsigned int’} [-Wsign-compare] 219 | for (i = 1; i <= m->g->nsub; i++) | ^~ /build/clamav/src/clamav-1.4.1/libclamav/regex/engine.c:226:44: warning: assignment to ‘const char **’ from incompatible pointer type ‘char **’ [-Wincompatible-pointer-types] 226 | m->lastpos = (char **)cli_max_malloc((g->nplus+1) * | ^ /build/clamav/src/clamav-1.4.1/libclamav/regex/engine.c:277:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘unsigned int’} [-Wsign-compare] 277 | for (i = 1; i < nmatch; i++) | ^ /build/clamav/src/clamav-1.4.1/libclamav/regex/engine.c:278:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘unsigned int’} [-Wsign-compare] 278 | if (i <= m->g->nsub) | ^~ /build/clamav/src/clamav-1.4.1/libclamav/regex/engine.c: In function ‘ldissect’: /build/clamav/src/clamav-1.4.1/libclamav/regex/engine.c:311:21: warning: variable ‘dp’ set but not used [-Wunused-but-set-variable] 311 | const char *dp; | ^~ [12/361] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/Bcj2.c.o [13/361] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/7zDec.c.o [14/361] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/Bra86.c.o [15/361] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/Bra.c.o [16/361] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/7zStream.c.o [17/361] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/BraIA64.c.o [18/361] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/CpuArch.c.o [19/361] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/7zIn.c.o [20/361] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/Delta.c.o [21/361] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/Lzma2Dec.c.o [22/361] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/LzmaDec.c.o [23/361] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/Xz.c.o [24/361] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/Ppmd7.c.o [25/361] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/Ppmd7Dec.c.o [26/361] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/XzCrc64.c.o [27/361] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/XzDec.c.o /build/clamav/src/clamav-1.4.1/libclamav/7z/XzDec.c: In function ‘Lzma2State_Code’: /build/clamav/src/clamav-1.4.1/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); | ^~~~~~~~~~ /build/clamav/src/clamav-1.4.1/libclamav/7z/XzDec.c: In function ‘Xz_ParseHeader’: /build/clamav/src/clamav-1.4.1/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) != | ^~ /build/clamav/src/clamav-1.4.1/libclamav/7z/XzDec.c: In function ‘Xz_CheckFooter’: /build/clamav/src/clamav-1.4.1/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) && | ^~ /build/clamav/src/clamav-1.4.1/libclamav/7z/XzDec.c: In function ‘XzBlock_Parse’: /build/clamav/src/clamav-1.4.1/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)) | ^~ /build/clamav/src/clamav-1.4.1/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; } | ^~ /build/clamav/src/clamav-1.4.1/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); | ^~~~~~~~~~~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/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); | ^~~ /build/clamav/src/clamav-1.4.1/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; } | ^~~ /build/clamav/src/clamav-1.4.1/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; } | ^~ /build/clamav/src/clamav-1.4.1/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); | ^~~~~~~~~~~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/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); | ^~~ /build/clamav/src/clamav-1.4.1/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; } | ^~~ /build/clamav/src/clamav-1.4.1/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; } | ^~ /build/clamav/src/clamav-1.4.1/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); | ^~~~~~~~~~~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/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); | ^~~ /build/clamav/src/clamav-1.4.1/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; } | ^~~ /build/clamav/src/clamav-1.4.1/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; } | ^~ /build/clamav/src/clamav-1.4.1/libclamav/7z/XzDec.c:549:5: note: in expansion of macro ‘READ_VARINT_AND_CHECK’ 549 | READ_VARINT_AND_CHECK(header, pos, headerSize, &size); | ^~~~~~~~~~~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/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); | ^~~ /build/clamav/src/clamav-1.4.1/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; } | ^~~ /build/clamav/src/clamav-1.4.1/libclamav/7z/XzDec.c: In function ‘XzUnpacker_Code’: /build/clamav/src/clamav-1.4.1/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)) | ^~ [28/361] Building C object libclamav/CMakeFiles/yara.dir/yara_hash.c.o [29/361] Building C object libclamav/CMakeFiles/yara.dir/yara_compiler.c.o [30/361] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/XzIn.c.o /build/clamav/src/clamav-1.4.1/libclamav/7z/XzIn.c: In function ‘Xz_ReadIndex2’: /build/clamav/src/clamav-1.4.1/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)) | ^~ /build/clamav/src/clamav-1.4.1/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; } | ^~ /build/clamav/src/clamav-1.4.1/libclamav/7z/XzIn.c:92:5: note: in expansion of macro ‘READ_VARINT_AND_CHECK’ 92 | READ_VARINT_AND_CHECK(buf, pos, size, &numBlocks64); | ^~~~~~~~~~~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/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); | ^~~ /build/clamav/src/clamav-1.4.1/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; } | ^~~ /build/clamav/src/clamav-1.4.1/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; } | ^~ /build/clamav/src/clamav-1.4.1/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); | ^~~~~~~~~~~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/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); | ^~~ /build/clamav/src/clamav-1.4.1/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; } | ^~~ /build/clamav/src/clamav-1.4.1/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; } | ^~ /build/clamav/src/clamav-1.4.1/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); | ^~~~~~~~~~~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/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); | ^~~ /build/clamav/src/clamav-1.4.1/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; } | ^~~ /build/clamav/src/clamav-1.4.1/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; | ^~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/libclamav/7z/XzIn.c: In function ‘Xz_ReadBackward’: /build/clamav/src/clamav-1.4.1/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)) | ^~ [31/361] Building C object libclamav/CMakeFiles/yara.dir/yara_exec.c.o [32/361] Building C object libclamav/CMakeFiles/yara.dir/yara_arena.c.o [33/361] Building C object libclamav/CMakeFiles/yara.dir/yara_parser.c.o [34/361] Building C object libclamav/CMakeFiles/yara.dir/yara_lexer.c.o yara_lexer.c:2571:24: warning: ‘yy_fatal_error’ defined but not used [-Wunused-function] [35/361] Building C object libclamav/CMakeFiles/yara.dir/yara_grammar.c.o [36/361] Building C object libclamav/CMakeFiles/bytecode_runtime.dir/bytecode_nojit.c.o [37/361] Building CXX object libclamunrar/CMakeFiles/clamunrar.dir/blake2s.cpp.o [38/361] Building CXX object libclamunrar/CMakeFiles/clamunrar.dir/archive.cpp.o [39/361] Building CXX object libclamunrar/CMakeFiles/clamunrar.dir/crc.cpp.o [40/361] Building CXX object libclamunrar/CMakeFiles/clamunrar.dir/consio.cpp.o [41/361] Building CXX object libclamunrar/CMakeFiles/clamunrar.dir/cmddata.cpp.o [42/361] Building CXX object libclamunrar/CMakeFiles/clamunrar.dir/errhnd.cpp.o [43/361] Building CXX object libclamunrar/CMakeFiles/clamunrar.dir/encname.cpp.o [44/361] Building CXX object libclamunrar/CMakeFiles/clamunrar.dir/crypt.cpp.o [45/361] Building CXX object libclamunrar/CMakeFiles/clamunrar.dir/arcread.cpp.o [46/361] Building CXX object libclamunrar/CMakeFiles/clamunrar.dir/extract.cpp.o [47/361] Building CXX object libclamunrar/CMakeFiles/clamunrar.dir/extinfo.cpp.o [48/361] Building CXX object libclamunrar/CMakeFiles/clamunrar.dir/dll.cpp.o [49/361] Building CXX object libclamunrar/CMakeFiles/clamunrar.dir/filcreat.cpp.o [50/361] Building CXX object libclamunrar/CMakeFiles/clamunrar.dir/find.cpp.o [51/361] Building CXX object libclamunrar/CMakeFiles/clamunrar.dir/headers.cpp.o [52/361] Building CXX object libclamunrar/CMakeFiles/clamunrar.dir/file.cpp.o [53/361] Building CXX object libclamunrar/CMakeFiles/clamunrar.dir/getbits.cpp.o [54/361] Building CXX object libclamunrar/CMakeFiles/clamunrar.dir/filestr.cpp.o [55/361] Building CXX object libclamunrar/CMakeFiles/clamunrar.dir/filefn.cpp.o [56/361] Building CXX object libclamunrar/CMakeFiles/clamunrar.dir/hash.cpp.o [57/361] Building CXX object libclamunrar/CMakeFiles/clamunrar.dir/global.cpp.o [58/361] Building CXX object libclamunrar/CMakeFiles/clamunrar.dir/match.cpp.o [59/361] Building CXX object libclamunrar/CMakeFiles/clamunrar.dir/list.cpp.o [60/361] Building CXX object libclamunrar/CMakeFiles/clamunrar.dir/qopen.cpp.o [61/361] Building CXX object libclamunrar/CMakeFiles/clamunrar.dir/options.cpp.o [62/361] Building CXX object libclamunrar/CMakeFiles/clamunrar.dir/rarvm.cpp.o [63/361] Building CXX object libclamunrar/CMakeFiles/clamunrar.dir/rawread.cpp.o [64/361] Building CXX object libclamunrar/CMakeFiles/clamunrar.dir/rar.cpp.o [65/361] Building CXX object libclamunrar/CMakeFiles/clamunrar.dir/pathfn.cpp.o [66/361] Building CXX object libclamunrar/CMakeFiles/clamunrar.dir/resource.cpp.o [67/361] Building CXX object libclamunrar/CMakeFiles/clamunrar.dir/rijndael.cpp.o [68/361] Building CXX object libclamunrar/CMakeFiles/clamunrar.dir/rs.cpp.o [69/361] Building CXX object libclamunrar/CMakeFiles/clamunrar.dir/rdwrfn.cpp.o [70/361] Building CXX object libclamunrar/CMakeFiles/clamunrar.dir/recvol.cpp.o [71/361] Building CXX object libclamunrar/CMakeFiles/clamunrar.dir/rs16.cpp.o [72/361] Building CXX object libclamunrar/CMakeFiles/clamunrar.dir/secpassword.cpp.o [73/361] Building CXX object libclamunrar/CMakeFiles/clamunrar.dir/sha256.cpp.o [74/361] Building CXX object libclamunrar/CMakeFiles/clamunrar.dir/scantree.cpp.o [75/361] Building CXX object libclamunrar/CMakeFiles/clamunrar.dir/smallfn.cpp.o [76/361] Building CXX object libclamunrar/CMakeFiles/clamunrar.dir/sha1.cpp.o [77/361] Building CXX object libclamunrar/CMakeFiles/clamunrar.dir/strlist.cpp.o [78/361] Building CXX object libclamunrar/CMakeFiles/clamunrar.dir/system.cpp.o [79/361] cd /build/clamav/src/clamav-1.4.1/build/unit_tests/input && /usr/bin/cmake -E make_directory /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles [80/361] Building CXX object libclamunrar/CMakeFiles/clamunrar.dir/threadpool.cpp.o [81/361] Building CXX object libclamunrar/CMakeFiles/clamunrar.dir/strfn.cpp.o [82/361] Decrypting test file clam.cab... Created: '/build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab' [83/361] Decrypting test file clam.exe... Created: '/build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe' [84/361] Decrypting test file clam.zip... Created: '/build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.zip' [85/361] Decrypting test file clam.exe.rtf... Created: '/build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf' [86/361] Decrypting test file clam.arj... Created: '/build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.arj' [87/361] Building CXX object libclamunrar/CMakeFiles/clamunrar.dir/timefn.cpp.o [88/361] Decrypting test file clam.exe.szdd... Created: '/build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd' [89/361] Decrypting test file clam.tar.gz... Created: '/build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz' [90/361] Decrypting test file clam.sis... Created: '/build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.sis' [91/361] Decrypting test file clam-upx.exe... Created: '/build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe' [92/361] Decrypting test file clam-aspack.exe... Created: '/build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe' [93/361] Decrypting test file clam.chm... Created: '/build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm' [94/361] Decrypting test file clam-pespin.exe... Created: '/build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe' [95/361] Decrypting test file clam-fsg.exe... Created: '/build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe' [96/361] Decrypting test file clam-mew.exe... Created: '/build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe' [97/361] Building CXX object libclamunrar/CMakeFiles/clamunrar.dir/ui.cpp.o [98/361] Decrypting test file clam-nsis.exe... Created: '/build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe' [99/361] Decrypting test file clam-petite.exe... Created: '/build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe' [100/361] Decrypting test file clam-upack.exe... Created: '/build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe' [101/361] Decrypting test file clam-wwpack.exe... Created: '/build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe' [102/361] Decrypting test file clam.pdf... Created: '/build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf' [103/361] Decrypting test file clam.mail... Created: '/build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.mail' [104/361] Building CXX object libclamunrar/CMakeFiles/clamunrar.dir/unicode.cpp.o [105/361] Decrypting test file clam.ppt... Created: '/build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt' [106/361] Decrypting test file clam.tnef... Created: '/build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef' [107/361] Decrypting test file clam.exe.mbox.uu... Created: '/build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu' [108/361] Decrypting test file clam.exe.mbox.base64... Created: '/build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64' [109/361] Building CXX object libclamunrar/CMakeFiles/clamunrar.dir/volume.cpp.o [110/361] Decrypting test file clam.d64.zip... Created: '/build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip' [111/361] Decrypting test file clam.exe.binhex... Created: '/build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex' [112/361] Decrypting test file clam.ole.doc... Created: '/build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc' [113/361] Decrypting test file clam.impl.zip... Created: '/build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip' [114/361] Decrypting test file clam.exe.html... Created: '/build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html' [115/361] Decrypting test file clam.bin-le.cpio... Created: '/build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio' [116/361] Building CXX object libclamunrar_iface/CMakeFiles/clamunrar_iface.dir/unrar_iface.cpp.o [117/361] Decrypting test file clam.bin-be.cpio... Created: '/build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio' [118/361] Decrypting test file clam.newc.cpio... Created: '/build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio' [119/361] Decrypting test file clam.ea05.exe... Created: '/build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe' [120/361] Decrypting test file clam.odc.cpio... Created: '/build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio' [121/361] Decrypting test file clam-yc.exe... Created: '/build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe' [122/361] Decrypting test file clam.ea06.exe... Created: '/build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe' [123/361] Decrypting test file clam.7z... Created: '/build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.7z' [124/361] Decrypting test file clam_cache_emax.tgz... Created: '/build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz' [125/361] Decrypting test file clam.exe.bz2... Created: '/build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2' [126/361] Decrypting test file clam.bz2.zip... Created: '/build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip' [127/361] Decrypting test file clam.exe_and_mail.tar.gz... Created: '/build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz' [128/361] Building CXX object libclamunrar/CMakeFiles/clamunrar.dir/unpack.cpp.o [129/361] Decrypting test file clamjol.iso... Created: '/build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso' [130/361] Decrypting test file clam.iso... Created: '/build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.iso' [131/361] Decrypting test file clam-v2.rar... Created: '/build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-v2.rar' [132/361] Decrypting test file clam.exe.webapp-export.one... Created: '/build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.webapp-export.one' [133/361] Decrypting test file clam-v3.rar... Created: '/build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-v3.rar' [134/361] Decrypting test file clam_ISmsi_ext.exe... Created: '/build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe' [135/361] Decrypting test file clam_ISmsi_int.exe... Created: '/build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe' [136/361] Decrypting test file clam.exe.2007.one... Created: '/build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.2007.one' [137/361] Decrypting test file clam.exe.2010.one... Created: '/build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.2010.one' [138/361] Decrypting test file clam_IScab_int.exe... Created: '/build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe' [139/361] Decrypting test file clam_IScab_ext.exe... Created: '/build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe' [140/361] Linking CXX shared library libclamunrar/libclamunrar.so.12.0.3 [141/361] Creating library symlink libclamunrar/libclamunrar.so.12 libclamunrar/libclamunrar.so [142/361] Linking CXX shared library libclamunrar_iface/libclamunrar_iface.so.12.0.3 [143/361] Creating library symlink libclamunrar_iface/libclamunrar_iface.so.12 libclamunrar_iface/libclamunrar_iface.so [144/361] Building clamav_rust in /build/clamav/src/clamav-1.4.1/build with: /usr/bin/cargo build --offline --target i686-unknown-linux-gnu --target-dir /build/clamav/src/clamav-1.4.1/build Compiling autocfg v1.3.0 Compiling proc-macro2 v1.0.81 Compiling unicode-ident v1.0.12 Compiling cfg-if v1.0.0 Compiling rustix v0.38.34 Compiling version_check v0.9.4 Compiling glob v0.3.1 Compiling libc v0.2.155 Compiling crossbeam-utils v0.8.19 Compiling prettyplease v0.2.19 Compiling either v1.11.0 Compiling simd-adler32 v0.3.7 Compiling typenum v1.17.0 Compiling crossbeam-epoch v0.9.18 Compiling syn v1.0.109 Compiling quote v1.0.36 Compiling generic-array v0.14.7 Compiling rayon-core v1.12.1 Compiling syn v2.0.60 Compiling num-traits v0.2.19 Compiling clang-sys v1.7.0 Compiling linux-raw-sys v0.4.13 Compiling serde v1.0.200 Compiling crc32fast v1.4.0 Compiling bitflags v2.5.0 Compiling lock_api v0.4.12 Compiling crossbeam-deque v0.8.5 Compiling bindgen v0.65.1 Compiling adler v1.0.2 Compiling miniz_oxide v0.7.2 Compiling indexmap v1.9.3 Compiling minimal-lexical v0.2.1 Compiling serde_json v1.0.116 Compiling regex-syntax v0.8.3 Compiling memchr v2.7.2 Compiling scopeguard v1.2.0 Compiling nom v7.1.3 Compiling regex-automata v0.4.6 Compiling num-integer v0.1.46 Compiling libloading v0.8.3 Compiling ryu v1.0.17 Compiling cbindgen v0.25.0 Compiling log v0.4.21 Compiling home v0.5.9 Compiling fastrand v2.1.0 Compiling itoa v1.0.11 Compiling hashbrown v0.12.3 Compiling which v4.4.2 Compiling tempfile v3.10.1 Compiling regex v1.10.4 Compiling cexpr v0.6.0 Compiling spin v0.9.8 Compiling block-buffer v0.10.4 Compiling crypto-common v0.1.6 Compiling rayon v1.10.0 Compiling flate2 v1.0.30 Compiling rustfft v6.2.0 Compiling weezl v0.1.8 Compiling strength_reduce v0.2.4 Compiling shlex v1.3.0 Compiling thiserror v1.0.59 Compiling bitflags v1.3.2 Compiling lazy_static v1.4.0 Compiling peeking_take_while v0.1.2 Compiling heck v0.4.1 Compiling paste v1.0.14 Compiling rustc-hash v1.1.0 Compiling lazycell v1.3.0 Compiling transpose v0.2.3 Compiling jpeg-decoder v0.3.1 Compiling digest v0.10.7 Compiling flume v0.11.0 Compiling primal-check v0.3.3 Compiling num-complex v0.4.5 Compiling fdeflate v0.3.4 Compiling zune-inflate v0.2.54 Compiling half v2.4.1 Compiling smallvec v1.13.2 Compiling lebe v0.5.2 Compiling bytemuck v1.15.0 Compiling bit_field v0.10.2 Compiling iana-time-zone v0.1.60 Compiling color_quant v1.1.0 Compiling cpufeatures v0.2.12 Compiling gif v0.13.1 Compiling chrono v0.4.38 Compiling exr v1.72.0 Compiling qoi v0.4.1 Compiling png v0.17.13 Compiling tiff v0.9.1 Compiling enum-primitive-derive v0.2.2 Compiling itertools v0.10.5 Compiling encoding_rs v0.8.34 Compiling serde_derive v1.0.200 Compiling thiserror-impl v1.0.59 Compiling byteorder v1.5.0 Compiling uuid v1.8.0 Compiling adler32 v1.2.0 Compiling widestring v1.1.0 Compiling bytes v1.6.0 Compiling tinyvec v1.6.0 Compiling bzip2-rs v0.1.2 Compiling inflate v0.4.5 Compiling image v0.24.9 Compiling rustdct v0.7.1 Compiling delharc v0.6.1 Compiling sha2 v0.10.8 Compiling sha1 v0.10.6 Compiling hex v0.4.3 Compiling unicode-segmentation v1.11.0 Compiling base64 v0.21.7 Compiling hex-literal v0.4.1 Compiling onenote_parser v0.3.1 (https://github.com/Cisco-Talos/onenote.rs.git?branch=CLAM-2329-new-from-slice#8b450447) Compiling toml v0.5.11 Compiling clamav_rust v0.0.1 (/build/clamav/src/clamav-1.4.1/libclamav_rust) Finished dev [unoptimized + debuginfo] target(s) in 3m 14s [145/361] Building C object libclamav/CMakeFiles/clamav.dir/sf_base64decode.c.o [146/361] Building C object libclamav/CMakeFiles/clamav.dir/strlcat.c.o [147/361] Building C object libclamav/CMakeFiles/clamav.dir/iowrap.c.o [148/361] Building C object libclamav/CMakeFiles/clamav.dir/conv.c.o [149/361] Building C object libclamav/CMakeFiles/clamav.dir/json_api.c.o [150/361] Building C object libclamav/CMakeFiles/clamav.dir/blob.c.o [151/361] Building C object libclamav/CMakeFiles/clamav.dir/qsort.c.o [152/361] Building C object libclamav/CMakeFiles/clamav.dir/hashtab.c.o [153/361] Building C object libclamav/CMakeFiles/clamav.dir/fpu.c.o [154/361] Building C object libclamav/CMakeFiles/clamav.dir/str.c.o [155/361] Building C object libclamav/CMakeFiles/clamav.dir/others_common.c.o [156/361] Building C object libclamav/CMakeFiles/clamav.dir/uniq.c.o [157/361] Building C object libclamav/CMakeFiles/clamav.dir/table.c.o [158/361] Building C object libclamav/CMakeFiles/clamav.dir/text.c.o [159/361] Building C object libclamav/CMakeFiles/clamav.dir/www.c.o [160/361] Building C object libclamav/CMakeFiles/clamav.dir/filtering.c.o [161/361] Building C object libclamav/CMakeFiles/clamav.dir/matcher-bm.c.o /build/clamav/src/clamav-1.4.1/libclamav/matcher-bm.c: In function ‘cli_bm_initoff’: /build/clamav/src/clamav-1.4.1/libclamav/matcher-bm.c:186:41: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘off_t’ {aka ‘long int’} [-Wsign-compare] 186 | if (data->offtab[data->cnt] >= info->fsize) | ^~ /build/clamav/src/clamav-1.4.1/libclamav/matcher-bm.c:194:119: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘off_t’ {aka ‘long int’} [-Wsign-compare] 194 | } else if ((data->offset[patt->offset_min] != CLI_OFF_NONE) && (data->offset[patt->offset_min] + patt->length <= info->fsize)) { | ^~ /build/clamav/src/clamav-1.4.1/libclamav/matcher-bm.c:197:45: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘off_t’ {aka ‘long int’} [-Wsign-compare] 197 | if (data->offtab[data->cnt] >= info->fsize) | ^~ [162/361] Building C object libclamav/CMakeFiles/clamav.dir/disasm.c.o [163/361] Building C object libclamav/CMakeFiles/clamav.dir/matcher-byte-comp.c.o [164/361] Building C object libclamav/CMakeFiles/clamav.dir/matcher-pcre.c.o [165/361] Building C object libclamav/CMakeFiles/clamav.dir/matcher-hash.c.o [166/361] Building C object libclamav/CMakeFiles/clamav.dir/cvd.c.o /build/clamav/src/clamav-1.4.1/libclamav/cvd.c: In function ‘cli_untgz’: /build/clamav/src/clamav-1.4.1/libclamav/cvd.c:91:34: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 91 | path = (char *)calloc(sizeof(char), pathlen); | ^~~~ /build/clamav/src/clamav-1.4.1/libclamav/cvd.c:91:34: note: earlier argument should specify number of elements, later size of each element /build/clamav/src/clamav-1.4.1/libclamav/cvd.c: In function ‘cli_cvdload’: /build/clamav/src/clamav-1.4.1/libclamav/cvd.c:662:23: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘time_t’ {aka ‘long int’} [-Wsign-compare] 662 | if (cvd.stime > s_time) { | ^ /build/clamav/src/clamav-1.4.1/libclamav/cvd.c: In function ‘cvdgetfileage’: /build/clamav/src/clamav-1.4.1/libclamav/cvd.c:796:19: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘time_t’ {aka ‘long int’} [-Wsign-compare] 796 | if (cvd.stime > s_time) | ^ [167/361] Building C object libclamav/CMakeFiles/clamav.dir/dsig.c.o [168/361] Building C object libclamav/CMakeFiles/clamav.dir/regex_pcre.c.o [169/361] Building C object libclamav/CMakeFiles/clamav.dir/matcher-ac.c.o /build/clamav/src/clamav-1.4.1/libclamav/matcher-ac.c: In function ‘cli_ac_caloff’: /build/clamav/src/clamav-1.4.1/libclamav/matcher-ac.c:1566:122: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘off_t’ {aka ‘long int’} [-Wsign-compare] 1566 | } else if ((data->offset[patt->offset_min] != CLI_OFF_NONE) && (data->offset[patt->offset_min] + patt->length[1] > info->fsize)) { | ^ /build/clamav/src/clamav-1.4.1/libclamav/matcher-ac.c: In function ‘cli_ac_scanbuff’: /build/clamav/src/clamav-1.4.1/libclamav/matcher-ac.c:1995:48: warning: implicit conversion from ‘enum cli_file’ to ‘cl_error_t’ [-Wenum-conversion] 1995 | return CL_TYPE_IGNORED; | ^~~~~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/libclamav/matcher-ac.c:2062:44: warning: implicit conversion from ‘enum cli_file’ to ‘cl_error_t’ [-Wenum-conversion] 2062 | return CL_TYPE_IGNORED; | ^~~~~~~~~~~~~~~ [170/361] Building C object libclamav/CMakeFiles/clamav.dir/matcher.c.o /build/clamav/src/clamav-1.4.1/libclamav/matcher.c:348: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] 348 | 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 /build/clamav/src/clamav-1.4.1/libclamav/matcher-ac.h:133, from /build/clamav/src/clamav-1.4.1/build/clamav_rust.h:13, from /build/clamav/src/clamav-1.4.1/libclamav/matcher.c:36: /build/clamav/src/clamav-1.4.1/libclamav/matcher.h:364: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 *)’} 364 | 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); | ^~~~~~~~~~ /build/clamav/src/clamav-1.4.1/libclamav/matcher.c:535: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] 535 | void cli_targetinfo(struct cli_target_info *info, cli_target_t target, cli_ctx *ctx) | ^~~~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/libclamav/matcher.h:394: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 *)’} 394 | void cli_targetinfo(struct cli_target_info *info, unsigned int target, cli_ctx *ctx); | ^~~~~~~~~~~~~~ [171/361] Building C object libclamav/CMakeFiles/clamav.dir/dconf.c.o [172/361] Building C object libclamav/CMakeFiles/clamav.dir/perflogging.c.o [173/361] Building C object libclamav/CMakeFiles/clamav.dir/cache.c.o [174/361] Building C object libclamav/CMakeFiles/clamav.dir/crtmgr.c.o [175/361] Building C object libclamav/CMakeFiles/clamav.dir/filetypes.c.o [176/361] Building C object libclamav/CMakeFiles/clamav.dir/version.c.o [177/361] Building C object libclamav/CMakeFiles/clamav.dir/crypto.c.o [178/361] Building C object libclamav/CMakeFiles/clamav.dir/textdet.c.o [179/361] Building C object libclamav/CMakeFiles/clamav.dir/fmap.c.o [180/361] Building C object libclamav/CMakeFiles/clamav.dir/mpool.c.o [181/361] Building C object libclamav/CMakeFiles/clamav.dir/textnorm.c.o [182/361] Building C object libclamav/CMakeFiles/clamav.dir/others.c.o /build/clamav/src/clamav-1.4.1/libclamav/others.c: In function ‘cli_checklimits’: /build/clamav/src/clamav-1.4.1/libclamav/others.c:1149:55: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Wformat=] 1149 | cli_dbgmsg("%s: scansize exceeded (initial: %lu, consumed: %lu, needed: %lu)\n", who, ctx->engine->maxscansize, ctx->scansize, needed); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu /build/clamav/src/clamav-1.4.1/libclamav/others.c:1149:70: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Wformat=] 1149 | cli_dbgmsg("%s: scansize exceeded (initial: %lu, consumed: %lu, needed: %lu)\n", who, ctx->engine->maxscansize, ctx->scansize, needed); | ~~^ ~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu /build/clamav/src/clamav-1.4.1/libclamav/others.c:1149:83: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Wformat=] 1149 | cli_dbgmsg("%s: scansize exceeded (initial: %lu, consumed: %lu, needed: %lu)\n", who, ctx->engine->maxscansize, ctx->scansize, needed); | ~~^ ~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu /build/clamav/src/clamav-1.4.1/libclamav/others.c:1158:55: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Wformat=] 1158 | cli_dbgmsg("%s: filesize exceeded (allowed: %lu, needed: %lu)\n", who, ctx->engine->maxfilesize, needed); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu /build/clamav/src/clamav-1.4.1/libclamav/others.c:1158:68: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Wformat=] 1158 | cli_dbgmsg("%s: filesize exceeded (allowed: %lu, needed: %lu)\n", who, ctx->engine->maxfilesize, needed); | ~~^ ~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu [183/361] Building C object libclamav/CMakeFiles/clamav.dir/jsparse/js-norm.c.o [184/361] Building C object libclamav/CMakeFiles/clamav.dir/stats_json.c.o [185/361] Building C object libclamav/CMakeFiles/clamav.dir/readdb.c.o /build/clamav/src/clamav-1.4.1/libclamav/readdb.c: In function ‘cli_dbgets’: /build/clamav/src/clamav-1.4.1/libclamav/readdb.c:1063:38: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 1063 | if (nl - dbio->bufpt >= size) { | ^~ [186/361] Building C object libclamav/CMakeFiles/clamav.dir/partition_intersection.c.o [187/361] Building C object libclamav/CMakeFiles/clamav.dir/stats.c.o [188/361] Building C object libclamav/CMakeFiles/clamav.dir/special.c.o [189/361] Building C object libclamav/CMakeFiles/clamav.dir/hostid_internal.c.o [190/361] Building C object libclamav/CMakeFiles/clamav.dir/bytecode_api_decl.c.o [191/361] Building C object libclamav/CMakeFiles/clamav.dir/htmlnorm.c.o [192/361] Building C object libclamav/CMakeFiles/clamav.dir/scanners.c.o /build/clamav/src/clamav-1.4.1/libclamav/scanners.c: In function ‘scanraw’: /build/clamav/src/clamav-1.4.1/libclamav/scanners.c:3882:29: warning: implicit conversion from ‘enum cli_file’ to ‘cl_error_t’ [-Wenum-conversion] 3882 | ret = CL_TYPE_TEXT_ASCII; | ^ /build/clamav/src/clamav-1.4.1/libclamav/scanners.c: In function ‘scan_common’: /build/clamav/src/clamav-1.4.1/libclamav/scanners.c:5399:46: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 5399 | ctx.recursion_stack = calloc(sizeof(recursion_level_t), ctx.recursion_stack_size); | ^~~~~~~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/libclamav/scanners.c:5399:46: note: earlier argument should specify number of elements, later size of each element [193/361] Building C object libclamav/CMakeFiles/clamav.dir/7z_iface.c.o [194/361] Building C object libclamav/CMakeFiles/clamav.dir/events.c.o [195/361] Building C object libclamav/CMakeFiles/clamav.dir/bytecode_detect.c.o [196/361] Building C object libclamav/CMakeFiles/clamav.dir/arc4.c.o [197/361] Building C object libclamav/CMakeFiles/clamav.dir/bytecode_api.c.o /build/clamav/src/clamav-1.4.1/libclamav/bytecode_api.c: In function ‘cli_bcapi_seek’: /build/clamav/src/clamav-1.4.1/libclamav/bytecode_api.c:137:24: warning: comparison of integer expressions of different signedness: ‘off_t’ {aka ‘long int’} and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare] 137 | if (off < 0 || off > ctx->file_size) { | ^ /build/clamav/src/clamav-1.4.1/libclamav/bytecode_api.c: In function ‘cli_bcapi_fill_buffer’: /build/clamav/src/clamav-1.4.1/libclamav/bytecode_api.c:505:18: warning: comparison of integer expressions of different signedness: ‘off_t’ {aka ‘long int’} and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare] 505 | if (ctx->off >= ctx->file_size) { | ^~ [198/361] Building C object libclamav/CMakeFiles/clamav.dir/lzma_iface.c.o [199/361] Building C object libclamav/CMakeFiles/clamav.dir/explode.c.o [200/361] Building C object libclamav/CMakeFiles/clamav.dir/rijndael.c.o [201/361] Building C object libclamav/CMakeFiles/clamav.dir/inflate64.c.o [202/361] Building C object libclamav/CMakeFiles/clamav.dir/lzw/lzwdec.c.o /build/clamav/src/clamav-1.4.1/libclamav/lzw/lzwdec.c: In function ‘lzwInflate’: /build/clamav/src/clamav-1.4.1/libclamav/lzw/lzwdec.c:251:21: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘unsigned int’ [-Wsign-compare] 251 | if (residue > left) { | ^ /build/clamav/src/clamav-1.4.1/libclamav/lzw/lzwdec.c:261:32: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘unsigned int’ [-Wsign-compare] 261 | } while (--residue > left); | ^ [203/361] Building C object libclamav/CMakeFiles/clamav.dir/xz_iface.c.o [204/361] Building C object libclamav/CMakeFiles/clamav.dir/entconv.c.o [205/361] Building C object libclamav/CMakeFiles/clamav.dir/dlp.c.o [206/361] Building C object libclamav/CMakeFiles/clamav.dir/bytecode.c.o [207/361] Building C object libclamav/CMakeFiles/clamav.dir/autoit.c.o [208/361] Building C object libclamav/CMakeFiles/clamav.dir/binhex.c.o [209/361] Building C object libclamav/CMakeFiles/clamav.dir/msexpand.c.o [210/361] Building C object libclamav/CMakeFiles/clamav.dir/nsis/infblock.c.o [211/361] Building C object libclamav/CMakeFiles/clamav.dir/cpio.c.o [212/361] Building C object libclamav/CMakeFiles/clamav.dir/libmspack.c.o [213/361] Building C object libclamav/CMakeFiles/clamav.dir/ishield.c.o [214/361] Building C object libclamav/CMakeFiles/clamav.dir/nsis/nulsft.c.o [215/361] Building C object libclamav/CMakeFiles/clamav.dir/msdoc.c.o [216/361] Building C object libclamav/CMakeFiles/clamav.dir/bytecode_vm.c.o [217/361] Building C object libclamav/CMakeFiles/clamav.dir/msxml.c.o [218/361] Building C object libclamav/CMakeFiles/clamav.dir/nsis/bzlib.c.o /build/clamav/src/clamav-1.4.1/libclamav/nsis/bzlib.c: In function ‘BZ2_decompress’: /build/clamav/src/clamav-1.4.1/libclamav/nsis/bzlib.c:538:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 538 | if (s->smallDecompress) { | ^ /build/clamav/src/clamav-1.4.1/libclamav/nsis/bzlib.c:56:4: note: here 56 | case lll: s->state = lll; \ | ^~~~ /build/clamav/src/clamav-1.4.1/libclamav/nsis/bzlib.c:80:4: note: in expansion of macro ‘GET_BITS’ 80 | GET_BITS(lll,uuu,8) | ^~~~~~~~ /build/clamav/src/clamav-1.4.1/libclamav/nsis/bzlib.c:549:7: note: in expansion of macro ‘GET_UCHAR’ 549 | GET_UCHAR(BZ_X_BLKHDR_1, uc); | ^~~~~~~~~ /build/clamav/src/clamav-1.4.1/libclamav/nsis/bzlib.c:584:18: warning: this statement may fall through [-Wimplicit-fallthrough=] 584 | s->origPtr = 0; | ~~~~~~~~~~~^~~ /build/clamav/src/clamav-1.4.1/libclamav/nsis/bzlib.c:56:4: note: here 56 | case lll: s->state = lll; \ | ^~~~ /build/clamav/src/clamav-1.4.1/libclamav/nsis/bzlib.c:80:4: note: in expansion of macro ‘GET_BITS’ 80 | GET_BITS(lll,uuu,8) | ^~~~~~~~ /build/clamav/src/clamav-1.4.1/libclamav/nsis/bzlib.c:585:7: note: in expansion of macro ‘GET_UCHAR’ 585 | GET_UCHAR(BZ_X_ORIGPTR_1, uc); | ^~~~~~~~~ /build/clamav/src/clamav-1.4.1/libclamav/nsis/bzlib.c:586:18: warning: this statement may fall through [-Wimplicit-fallthrough=] 586 | s->origPtr = (s->origPtr << 8) | ((Int32)uc); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/libclamav/nsis/bzlib.c:56:4: note: here 56 | case lll: s->state = lll; \ | ^~~~ /build/clamav/src/clamav-1.4.1/libclamav/nsis/bzlib.c:80:4: note: in expansion of macro ‘GET_BITS’ 80 | GET_BITS(lll,uuu,8) | ^~~~~~~~ /build/clamav/src/clamav-1.4.1/libclamav/nsis/bzlib.c:587:7: note: in expansion of macro ‘GET_UCHAR’ 587 | GET_UCHAR(BZ_X_ORIGPTR_2, uc); | ^~~~~~~~~ /build/clamav/src/clamav-1.4.1/libclamav/nsis/bzlib.c:588:18: warning: this statement may fall through [-Wimplicit-fallthrough=] 588 | s->origPtr = (s->origPtr << 8) | ((Int32)uc); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/libclamav/nsis/bzlib.c:56:4: note: here 56 | case lll: s->state = lll; \ | ^~~~ /build/clamav/src/clamav-1.4.1/libclamav/nsis/bzlib.c:80:4: note: in expansion of macro ‘GET_BITS’ 80 | GET_BITS(lll,uuu,8) | ^~~~~~~~ /build/clamav/src/clamav-1.4.1/libclamav/nsis/bzlib.c:589:7: note: in expansion of macro ‘GET_UCHAR’ 589 | GET_UCHAR(BZ_X_ORIGPTR_3, uc); | ^~~~~~~~~ /build/clamav/src/clamav-1.4.1/libclamav/nsis/bzlib.c:615:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 615 | alphaSize = s->nInUse+2; | ~~~~~~~~~~^~~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/libclamav/nsis/bzlib.c:56:4: note: here 56 | case lll: s->state = lll; \ | ^~~~ /build/clamav/src/clamav-1.4.1/libclamav/nsis/bzlib.c:618:7: note: in expansion of macro ‘GET_BITS’ 618 | GET_BITS(BZ_X_SELECTOR_1, nGroups, 3); | ^~~~~~~~ /build/clamav/src/clamav-1.4.1/libclamav/nsis/bzlib.c:619:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 619 | if (nGroups < 2 || nGroups > 6) RETURN(BZ_DATA_ERROR); | ^ /build/clamav/src/clamav-1.4.1/libclamav/nsis/bzlib.c:56:4: note: here 56 | case lll: s->state = lll; \ | ^~~~ /build/clamav/src/clamav-1.4.1/libclamav/nsis/bzlib.c:620:7: note: in expansion of macro ‘GET_BITS’ 620 | GET_BITS(BZ_X_SELECTOR_2, nSelectors, 15); | ^~~~~~~~ /build/clamav/src/clamav-1.4.1/libclamav/nsis/bzlib.c:623:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 623 | j = 0; | ~~^~~ /build/clamav/src/clamav-1.4.1/libclamav/nsis/bzlib.c:56:4: note: here 56 | case lll: s->state = lll; \ | ^~~~ /build/clamav/src/clamav-1.4.1/libclamav/nsis/bzlib.c:83:4: note: in expansion of macro ‘GET_BITS’ 83 | GET_BITS(lll,uuu,1) | ^~~~~~~~ /build/clamav/src/clamav-1.4.1/libclamav/nsis/bzlib.c:625:13: note: in expansion of macro ‘GET_BIT’ 625 | GET_BIT(BZ_X_SELECTOR_3, uc); | ^~~~~~~ /build/clamav/src/clamav-1.4.1/libclamav/nsis/bzlib.c:652:19: warning: this statement may fall through [-Wimplicit-fallthrough=] 652 | if (curr < 1 || curr > 20) RETURN(BZ_DATA_ERROR); | ^ /build/clamav/src/clamav-1.4.1/libclamav/nsis/bzlib.c:56:4: note: here 56 | case lll: s->state = lll; \ | ^~~~ /build/clamav/src/clamav-1.4.1/libclamav/nsis/bzlib.c:83:4: note: in expansion of macro ‘GET_BITS’ 83 | GET_BITS(lll,uuu,1) | ^~~~~~~~ /build/clamav/src/clamav-1.4.1/libclamav/nsis/bzlib.c:653:16: note: in expansion of macro ‘GET_BIT’ 653 | GET_BIT(BZ_X_CODING_2, uc); | ^~~~~~~ /build/clamav/src/clamav-1.4.1/libclamav/nsis/bzlib.c:654:19: warning: this statement may fall through [-Wimplicit-fallthrough=] 654 | if (uc == 0) break; | ^ /build/clamav/src/clamav-1.4.1/libclamav/nsis/bzlib.c:56:4: note: here 56 | case lll: s->state = lll; \ | ^~~~ /build/clamav/src/clamav-1.4.1/libclamav/nsis/bzlib.c:83:4: note: in expansion of macro ‘GET_BITS’ 83 | GET_BITS(lll,uuu,1) | ^~~~~~~~ /build/clamav/src/clamav-1.4.1/libclamav/nsis/bzlib.c:655:16: note: in expansion of macro ‘GET_BIT’ 655 | GET_BIT(BZ_X_CODING_3, uc); | ^~~~~~~ /build/clamav/src/clamav-1.4.1/libclamav/nsis/bzlib.c:100:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 100 | zn = gMinlen; \ | ~~~^~~~~~~~~ /build/clamav/src/clamav-1.4.1/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); | ^~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/libclamav/nsis/bzlib.c:56:4: note: here 56 | case lll: s->state = lll; \ | ^~~~ /build/clamav/src/clamav-1.4.1/libclamav/nsis/bzlib.c:101:4: note: in expansion of macro ‘GET_BITS’ 101 | GET_BITS(label1, zvec, zn); \ | ^~~~~~~~ /build/clamav/src/clamav-1.4.1/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); | ^~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/libclamav/nsis/bzlib.c:106:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 106 | zn++; \ | ~~^~ /build/clamav/src/clamav-1.4.1/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); | ^~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/libclamav/nsis/bzlib.c:56:4: note: here 56 | case lll: s->state = lll; \ | ^~~~ /build/clamav/src/clamav-1.4.1/libclamav/nsis/bzlib.c:83:4: note: in expansion of macro ‘GET_BITS’ 83 | GET_BITS(lll,uuu,1) | ^~~~~~~~ /build/clamav/src/clamav-1.4.1/libclamav/nsis/bzlib.c:107:7: note: in expansion of macro ‘GET_BIT’ 107 | GET_BIT(label2, zj); \ | ^~~~~~~ /build/clamav/src/clamav-1.4.1/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); | ^~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/libclamav/nsis/bzlib.c:100:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 100 | zn = gMinlen; \ | ~~~^~~~~~~~~ /build/clamav/src/clamav-1.4.1/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); | ^~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/libclamav/nsis/bzlib.c:56:4: note: here 56 | case lll: s->state = lll; \ | ^~~~ /build/clamav/src/clamav-1.4.1/libclamav/nsis/bzlib.c:101:4: note: in expansion of macro ‘GET_BITS’ 101 | GET_BITS(label1, zvec, zn); \ | ^~~~~~~~ /build/clamav/src/clamav-1.4.1/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); | ^~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/libclamav/nsis/bzlib.c:106:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 106 | zn++; \ | ~~^~ /build/clamav/src/clamav-1.4.1/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); | ^~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/libclamav/nsis/bzlib.c:56:4: note: here 56 | case lll: s->state = lll; \ | ^~~~ /build/clamav/src/clamav-1.4.1/libclamav/nsis/bzlib.c:83:4: note: in expansion of macro ‘GET_BITS’ 83 | GET_BITS(lll,uuu,1) | ^~~~~~~~ /build/clamav/src/clamav-1.4.1/libclamav/nsis/bzlib.c:107:7: note: in expansion of macro ‘GET_BIT’ 107 | GET_BIT(label2, zj); \ | ^~~~~~~ /build/clamav/src/clamav-1.4.1/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); | ^~~~~~~~~~~ [219/361] Building C object libclamav/CMakeFiles/clamav.dir/msxml_parser.c.o [220/361] Building C object libclamav/CMakeFiles/clamav.dir/ooxml.c.o [221/361] Building C object libclamav/CMakeFiles/clamav.dir/ole2_extract.c.o [222/361] Building C object libclamav/CMakeFiles/clamav.dir/rtf.c.o [223/361] Building C object libclamav/CMakeFiles/clamav.dir/hwp.c.o [224/361] Building C object libclamav/CMakeFiles/clamav.dir/execs.c.o [225/361] Building C object libclamav/CMakeFiles/clamav.dir/xlm_extract.c.o [226/361] Building C object libclamav/CMakeFiles/clamav.dir/vba_extract.c.o [227/361] Building C object libclamav/CMakeFiles/clamav.dir/macho.c.o /build/clamav/src/clamav-1.4.1/libclamav/macho.c: In function ‘cli_scanmacho_unibin’: /build/clamav/src/clamav-1.4.1/libclamav/macho.c:566:29: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘ssize_t’ {aka ‘int’} [-Wsign-compare] 566 | if (fat_arch.offset < at) { | ^ [228/361] Building C object libclamav/CMakeFiles/clamav.dir/asn1.c.o /build/clamav/src/clamav-1.4.1/libclamav/asn1.c: In function ‘asn1_get_x509’: /build/clamav/src/clamav-1.4.1/libclamav/asn1.c:838:47: warning: passing argument 4 of ‘asn1_get_time’ from incompatible pointer type [-Wincompatible-pointer-types] 838 | if (asn1_get_time(map, &next, &avail, &x509.not_before)) { /* notBefore */ | ^~~~~~~~~~~~~~~~ | | | int64_t * {aka long long int *} /build/clamav/src/clamav-1.4.1/libclamav/asn1.c:529:90: note: expected ‘time_t *’ {aka ‘long int *’} but argument is of type ‘int64_t *’ {aka ‘long long int *’} 529 | static int asn1_get_time(fmap_t *map, const void **asn1data, unsigned int *size, time_t *tm) | ~~~~~~~~^~ /build/clamav/src/clamav-1.4.1/libclamav/asn1.c:842:47: warning: passing argument 4 of ‘asn1_get_time’ from incompatible pointer type [-Wincompatible-pointer-types] 842 | if (asn1_get_time(map, &next, &avail, &x509.not_after)) { /* notAfter */ | ^~~~~~~~~~~~~~~ | | | int64_t * {aka long long int *} /build/clamav/src/clamav-1.4.1/libclamav/asn1.c:529:90: note: expected ‘time_t *’ {aka ‘long int *’} but argument is of type ‘int64_t *’ {aka ‘long long int *’} 529 | static int asn1_get_time(fmap_t *map, const void **asn1data, unsigned int *size, time_t *tm) | ~~~~~~~~^~ [229/361] Building C object libclamav/CMakeFiles/clamav.dir/elf.c.o [230/361] Building C object libclamav/CMakeFiles/clamav.dir/aspack.c.o [231/361] Building C object libclamav/CMakeFiles/clamav.dir/rebuildpe.c.o [232/361] Building C object libclamav/CMakeFiles/clamav.dir/mew.c.o /build/clamav/src/clamav-1.4.1/libclamav/mew.c: In function ‘unmew11’: /build/clamav/src/clamav-1.4.1/libclamav/mew.c:790:99: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘unsigned int’ [-Wformat=] 790 | cli_dbgmsg("MEW: Buffer pointer (%08zx) + offset (%08zx) exceeds max size of pointer (%08lx)\n", | ~~~~^ | | | long unsigned int | %08x [233/361] Building C object libclamav/CMakeFiles/clamav.dir/fsg.c.o [234/361] Building C object libclamav/CMakeFiles/clamav.dir/pe_icons.c.o [235/361] Building C object libclamav/CMakeFiles/clamav.dir/packlibs.c.o [236/361] Building C object libclamav/CMakeFiles/clamav.dir/petite.c.o [237/361] Building C object libclamav/CMakeFiles/clamav.dir/spin.c.o [238/361] Building C object libclamav/CMakeFiles/clamav.dir/upack.c.o [239/361] Building C object libclamav/CMakeFiles/clamav.dir/wwunpack.c.o /build/clamav/src/clamav-1.4.1/libclamav/wwunpack.c: In function ‘wwunpack’: /build/clamav/src/clamav-1.4.1/libclamav/wwunpack.c:114:34: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare] 114 | if (ccur - compd >= szd || !CLI_ISCONTAINED(exe, exesz, ucur, 1)) | ^~ [240/361] Building C object libclamav/CMakeFiles/clamav.dir/unsp.c.o [241/361] Building C object libclamav/CMakeFiles/clamav.dir/upx.c.o [242/361] Building C object libclamav/CMakeFiles/clamav.dir/line.c.o [243/361] Building C object libclamav/CMakeFiles/clamav.dir/yc.c.o [244/361] Building C object libclamav/CMakeFiles/clamav.dir/phish_allow_list.c.o [245/361] Building C object libclamav/CMakeFiles/clamav.dir/phish_domaincheck_db.c.o [246/361] Building C object libclamav/CMakeFiles/clamav.dir/pe.c.o /build/clamav/src/clamav-1.4.1/libclamav/pe.c: In function ‘cli_peheader’: /build/clamav/src/clamav-1.4.1/libclamav/pe.c:5120:108: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint32_t’ {aka ‘unsigned int’} [-Wformat=] 5120 | cli_dbgmsg("cli_peheader: PE Section %zu raw+rsz extends past the end of the file by %lu bytes\n", section_pe_idx, (section->raw + section->rsz) - fsize); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int uint32_t {aka unsigned int} | %u /build/clamav/src/clamav-1.4.1/libclamav/pe.c:5125:110: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint32_t’ {aka ‘unsigned int’} [-Wformat=] 5125 | cli_dbgmsg("cli_peheader: PE Section %zu uraw+ursz extends past the end of the file by %lu bytes\n", section_pe_idx, (section->uraw + section->ursz) - fsize); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long unsigned int uint32_t {aka unsigned int} | %u [247/361] Building C object libclamav/CMakeFiles/clamav.dir/regex_list.c.o [248/361] Building C object libclamav/CMakeFiles/clamav.dir/regex_suffix.c.o [249/361] Building C object libclamav/CMakeFiles/clamav.dir/sis.c.o [250/361] Building C object libclamav/CMakeFiles/clamav.dir/phishcheck.c.o [251/361] Building C object libclamav/CMakeFiles/clamav.dir/message.c.o [252/361] Building C object libclamav/CMakeFiles/clamav.dir/tnef.c.o [253/361] Building C object libclamav/CMakeFiles/clamav.dir/mbox.c.o /build/clamav/src/clamav-1.4.1/libclamav/mbox.c: In function ‘parseEmailBody’: /build/clamav/src/clamav-1.4.1/libclamav/mbox.c:2373:28: warning: implicit conversion from ‘enum cl_error_t’ to ‘mbox_status’ [-Wenum-conversion] 2373 | rc = CL_EFORMAT; | ^ [254/361] Building C object libclamav/CMakeFiles/clamav.dir/uuencode.c.o [255/361] Building C object libclamav/CMakeFiles/clamav.dir/swf.c.o [256/361] Building C object libclamav/CMakeFiles/clamav.dir/pdfdecode.c.o [257/361] Building C object libclamav/CMakeFiles/clamav.dir/xdp.c.o [258/361] Building C object libclamav/CMakeFiles/clamav.dir/is_tar.c.o [259/361] Building C object libclamav/CMakeFiles/clamav.dir/untar.c.o [260/361] Building C object libclamav/CMakeFiles/clamav.dir/unarj.c.o [261/361] Building C object libclamav/CMakeFiles/clamav.dir/adc.c.o [262/361] Building C object libclamav/CMakeFiles/clamav.dir/pdfng.c.o [263/361] Building C object libclamav/CMakeFiles/clamav.dir/gpt.c.o [264/361] Building C object libclamav/CMakeFiles/clamav.dir/unzip.c.o [265/361] Building C object libclamav/CMakeFiles/clamav.dir/pdf.c.o /build/clamav/src/clamav-1.4.1/libclamav/pdf.c: In function ‘pdf_findobj_in_objstm’: /build/clamav/src/clamav-1.4.1/libclamav/pdf.c:340:25: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 340 | obj = calloc(sizeof(struct pdf_obj), 1); | ^~~~~~ /build/clamav/src/clamav-1.4.1/libclamav/pdf.c:340:25: note: earlier argument should specify number of elements, later size of each element [266/361] Building C object libclamav/CMakeFiles/clamav.dir/dmg.c.o [267/361] Building C object libclamav/CMakeFiles/clamav.dir/xar.c.o [268/361] Building C object libclamav/CMakeFiles/clamav.dir/mbr.c.o /build/clamav/src/clamav-1.4.1/libclamav/mbr.c: In function ‘cli_mbr_check’: /build/clamav/src/clamav-1.4.1/libclamav/mbr.c:85:16: warning: implicit conversion from ‘enum cli_file’ to ‘cl_error_t’ [-Wenum-conversion] 85 | return CL_TYPE_GPT; | ^~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/libclamav/mbr.c: In function ‘cli_mbr_check2’: /build/clamav/src/clamav-1.4.1/libclamav/mbr.c:128:16: warning: implicit conversion from ‘enum cli_file’ to ‘cl_error_t’ [-Wenum-conversion] 128 | return CL_TYPE_GPT; | ^~~~~~~~~~~ [269/361] Building C object libclamav/CMakeFiles/clamav.dir/egg.c.o [270/361] Building C object libclamav/CMakeFiles/clamav.dir/apm.c.o [271/361] Building C object libclamav/CMakeFiles/clamav.dir/iso9660.c.o [272/361] Building C object libclamav/CMakeFiles/clamav.dir/png.c.o [273/361] Building C object libclamav/CMakeFiles/clamav.dir/openioc.c.o [274/361] Building C object libclamav/CMakeFiles/clamav.dir/udf.c.o [275/361] Building C object libclamav/CMakeFiles/clamav.dir/hfsplus.c.o /build/clamav/src/clamav-1.4.1/libclamav/hfsplus.c: In function ‘hfsplus_seek_to_cmpf_resource’: /build/clamav/src/clamav-1.4.1/libclamav/hfsplus.c:792:55: warning: comparison of integer expressions of different signedness: ‘__off_t’ {aka ‘long int’} and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare] 792 | if (lseek(fd, resourceHeader.mapOffset, SEEK_SET) != resourceHeader.mapOffset) { | ^~ [276/361] Building C object common/CMakeFiles/common.dir/getopt.c.o [277/361] Building C object common/CMakeFiles/common.dir/cert_util.c.o [278/361] Building C object libclamav/CMakeFiles/clamav.dir/tiff.c.o [279/361] Building C object libclamav/CMakeFiles/clamav.dir/jpeg.c.o [280/361] Building C object common/CMakeFiles/common.dir/idmef_logging.c.o [281/361] Building C object libclamav/CMakeFiles/clamav.dir/gif.c.o [282/361] Building C object common/CMakeFiles/common.dir/clamdcom.c.o [283/361] Building C object common/CMakeFiles/common.dir/actions.c.o [284/361] Building C object common/CMakeFiles/common.dir/hostid.c.o [285/361] Building C object common/CMakeFiles/common.dir/misc.c.o [286/361] Building C object common/CMakeFiles/common.dir/tar.c.o [287/361] Building C object common/CMakeFiles/common.dir/linux/cert_util_linux.c.o [288/361] Building C object libfreshclam/CMakeFiles/freshclam.dir/dns.c.o [289/361] Building C object common/CMakeFiles/common.dir/optparser.c.o [290/361] Building C object libfreshclam/CMakeFiles/freshclam.dir/libfreshclam.c.o /build/clamav/src/clamav-1.4.1/libfreshclam/libfreshclam.c: In function ‘fc_update_database’: /build/clamav/src/clamav-1.4.1/libfreshclam/libfreshclam.c:636:35: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare] 636 | for (attempt = 1; attempt <= g_maxAttempts; attempt++) { | ^~ /build/clamav/src/clamav-1.4.1/libfreshclam/libfreshclam.c:644:25: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare] 644 | attempt == g_maxAttempts ? 1 : 0, | ^~ /build/clamav/src/clamav-1.4.1/libfreshclam/libfreshclam.c:661:33: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare] 661 | if (attempt < g_maxAttempts) { | ^ /build/clamav/src/clamav-1.4.1/libfreshclam/libfreshclam.c: In function ‘fc_download_url_database’: /build/clamav/src/clamav-1.4.1/libfreshclam/libfreshclam.c:880:31: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare] 880 | for (attempt = 1; attempt <= g_maxAttempts; attempt++) { | ^~ /build/clamav/src/clamav-1.4.1/libfreshclam/libfreshclam.c:886:21: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare] 886 | attempt == g_maxAttempts ? 1 : 0, | ^~ /build/clamav/src/clamav-1.4.1/libfreshclam/libfreshclam.c:903:29: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare] 903 | if (attempt < g_maxAttempts) { | ^ [291/361] Building C object common/CMakeFiles/common.dir/output.c.o [292/361] Building C object clamconf/CMakeFiles/clamconf.dir/clamconf.c.o [293/361] Building C object clamd/CMakeFiles/clamd.dir/clamd.c.o [294/361] Building C object clamd/CMakeFiles/clamd.dir/localserver.c.o [295/361] Building C object clamd/CMakeFiles/clamd.dir/tcpserver.c.o [296/361] Building C object clamd/CMakeFiles/clamd.dir/session.c.o [297/361] Building C object clamd/CMakeFiles/clamd.dir/clamd_others.c.o [298/361] Building C object clamd/CMakeFiles/clamd.dir/scanner.c.o [299/361] Building C object clamdscan/CMakeFiles/clamdscan.dir/clamdscan.c.o [300/361] Building C object clamonacc/CMakeFiles/clamonacc.dir/c-thread-pool/thpool.c.o [301/361] Building C object clamdscan/CMakeFiles/clamdscan.dir/client.c.o /build/clamav/src/clamav-1.4.1/clamdscan/client.c: In function ‘ping_clamd’: /build/clamav/src/clamav-1.4.1/clamdscan/client.c:242:78: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Wformat=] 242 | logg(LOGG_DEBUG, "Could not connect, will try again in %lu second\n", interval); | ~~^ ~~~~~~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %llu /build/clamav/src/clamav-1.4.1/clamdscan/client.c:244:78: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Wformat=] 244 | logg(LOGG_DEBUG, "Could not connect, will try again in %lu seconds\n", interval); | ~~^ ~~~~~~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %llu /build/clamav/src/clamav-1.4.1/clamdscan/client.c:247:78: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Wformat=] 247 | logg(LOGG_INFO, "Could not connect, will PING again in %lu second\n", interval); | ~~^ ~~~~~~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %llu /build/clamav/src/clamav-1.4.1/clamdscan/client.c:249:78: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Wformat=] 249 | logg(LOGG_INFO, "Could not connect, will PING again in %lu seconds\n", interval); | ~~^ ~~~~~~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %llu [302/361] Building C object clamd/CMakeFiles/clamd.dir/thrmgr.c.o [303/361] Building C object libfreshclam/CMakeFiles/freshclam.dir/libfreshclam_internal.c.o /build/clamav/src/clamav-1.4.1/libfreshclam/libfreshclam_internal.c: In function ‘load_freshclam_dat’: /build/clamav/src/clamav-1.4.1/libfreshclam/libfreshclam_internal.c:232:51: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 232 | logg(LOGG_ERROR, "Can't seek to %lu, error: %s\n", strlen(MIRRORS_DAT_MAGIC), error_message); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u [304/361] Building C object clamonacc/CMakeFiles/clamonacc.dir/clamonacc.c.o [305/361] Building C object clamd/CMakeFiles/clamd.dir/server-th.c.o /build/clamav/src/clamav-1.4.1/clamd/server-th.c: In function ‘handle_stream’: /build/clamav/src/clamav-1.4.1/clamd/server-th.c:858:36: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘long int’ [-Wsign-compare] 858 | if (buf->chunksize > buf->quota) { | ^ [306/361] Building C object clamonacc/CMakeFiles/clamonacc.dir/client/communication.c.o [307/361] Building C object clamdscan/CMakeFiles/clamdscan.dir/proto.c.o [308/361] Building C object clamonacc/CMakeFiles/clamonacc.dir/client/socket.c.o [309/361] Building C object clamonacc/CMakeFiles/clamonacc.dir/client/client.c.o /build/clamav/src/clamav-1.4.1/clamonacc/client/client.c: In function ‘onas_ping_clamd’: /build/clamav/src/clamav-1.4.1/clamonacc/client/client.c:257:59: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Wformat=] 257 | logg(LOGG_DEBUG, "Will try again in %lu second\n", interval); | ~~^ ~~~~~~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %llu /build/clamav/src/clamav-1.4.1/clamonacc/client/client.c:259:59: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Wformat=] 259 | logg(LOGG_DEBUG, "Will try again in %lu seconds\n", interval); | ~~^ ~~~~~~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %llu /build/clamav/src/clamav-1.4.1/clamonacc/client/client.c:262:57: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Wformat=] 262 | logg(LOGG_INFO, "PINGing again in %lu second\n", interval); | ~~^ ~~~~~~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %llu /build/clamav/src/clamav-1.4.1/clamonacc/client/client.c:264:57: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Wformat=] 264 | logg(LOGG_INFO, "PINGing again in %lu seconds\n", interval); | ~~^ ~~~~~~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %llu [310/361] Building C object clamonacc/CMakeFiles/clamonacc.dir/client/protocol.c.o [311/361] Building C object clamonacc/CMakeFiles/clamonacc.dir/scan/onas_queue.c.o [312/361] Building C object clamonacc/CMakeFiles/clamonacc.dir/inotif/hash.c.o [313/361] Building C object clamonacc/CMakeFiles/clamonacc.dir/inotif/inotif.c.o [314/361] Building C object clamav-milter/CMakeFiles/clamav-milter.dir/allow_list.c.o [315/361] Building C object clamonacc/CMakeFiles/clamonacc.dir/misc/utils.c.o /build/clamav/src/clamav-1.4.1/clamonacc/misc/utils.c: In function ‘onas_get_opt_list’: /build/clamav/src/clamav-1.4.1/clamonacc/misc/utils.c:179:52: warning: passing argument 2 of ‘getline’ from incompatible pointer type [-Wincompatible-pointer-types] 179 | while ((ret = getline(opt_list + *num_entries, &len, opt_file)) != -1) { | ^~~~ | | | uint64_t * {aka long long unsigned int *} In file included from /usr/include/stdio.h:966, from /build/clamav/src/clamav-1.4.1/clamonacc/misc/utils.c:25: /usr/include/bits/stdio.h:118:36: note: expected ‘size_t *’ {aka ‘unsigned int *’} but argument is of type ‘uint64_t *’ {aka ‘long long unsigned int *’} 118 | getline (char **__lineptr, size_t *__n, FILE *__stream) | ~~~~~~~~^~~ [316/361] Building C object clamonacc/CMakeFiles/clamonacc.dir/scan/thread.c.o [317/361] Building C object clamav-milter/CMakeFiles/clamav-milter.dir/connpool.c.o /build/clamav/src/clamav-1.4.1/clamav-milter/connpool.c: In function ‘cpool_init’: /build/clamav/src/clamav-1.4.1/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))) { | ^ /build/clamav/src/clamav-1.4.1/clamav-milter/connpool.c:212:29: note: earlier argument should specify number of elements, later size of each element [318/361] Building C object clamonacc/CMakeFiles/clamonacc.dir/fanotif/fanotif.c.o /build/clamav/src/clamav-1.4.1/clamonacc/fanotif/fanotif.c: In function ‘onas_setup_fanotif’: /build/clamav/src/clamav-1.4.1/clamonacc/fanotif/fanotif.c:144:67: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Wformat=] 144 | logg(LOGG_DEBUG, "ClamFanotif: max file size limited to %lu bytes\n", (*ctx)->sizelimit); | ~~^ ~~~~~~~~~~~~~~~~~ | | | | long unsigned int uint64_t {aka long long unsigned int} | %llu [319/361] Building C object clamav-milter/CMakeFiles/clamav-milter.dir/clamfi.c.o [320/361] Building C object clamav-milter/CMakeFiles/clamav-milter.dir/clamav-milter.c.o [321/361] Building C object clamscan/CMakeFiles/clamscan.dir/clamscan.c.o [322/361] Building C object freshclam/CMakeFiles/freshclam-bin.dir/execute.c.o [323/361] Building C object clamav-milter/CMakeFiles/clamav-milter.dir/netcode.c.o [324/361] Building C object sigtool/CMakeFiles/sigtool.dir/vba.c.o [325/361] Building C object freshclam/CMakeFiles/freshclam-bin.dir/freshclam.c.o [326/361] Building C object clambc/CMakeFiles/clambc.dir/bcrun.c.o /build/clamav/src/clamav-1.4.1/clambc/bcrun.c: In function ‘main’: /build/clamav/src/clamav-1.4.1/clambc/bcrun.c:402:51: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 402 | cctx.recursion_stack = calloc(sizeof(recursion_level_t), cctx.recursion_stack_size); | ^~~~~~~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/clambc/bcrun.c:402:51: note: earlier argument should specify number of elements, later size of each element [327/361] Building C object clamscan/CMakeFiles/clamscan.dir/manager.c.o [328/361] Building C object freshclam/CMakeFiles/freshclam-bin.dir/notify.c.o [329/361] Building C object unit_tests/CMakeFiles/check_fpu_endian.dir/check_fpu_endian.c.o [330/361] Building C object unit_tests/CMakeFiles/check_clamav.dir/check_bytecode.c.o [331/361] Building C object clamsubmit/CMakeFiles/clamsubmit.dir/clamsubmit.c.o /build/clamav/src/clamav-1.4.1/clamsubmit/clamsubmit.c: In function ‘main’: /build/clamav/src/clamav-1.4.1/clamsubmit/clamsubmit.c:474:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 474 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "key", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ In file included from /build/clamav/src/clamav-1.4.1/clamsubmit/clamsubmit.c:40: /usr/include/curl/curl.h:2594:1: note: declared here 2594 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/clamsubmit/clamsubmit.c:474:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 474 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "key", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2519:3: note: declared here 2519 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/clamsubmit/clamsubmit.c:474:5: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 474 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "key", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2522:3: note: declared here 2522 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/clamsubmit/clamsubmit.c:481:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 481 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "acl", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2594:1: note: declared here 2594 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/clamsubmit/clamsubmit.c:481:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 481 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "acl", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2519:3: note: declared here 2519 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/clamsubmit/clamsubmit.c:481:5: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 481 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "acl", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2522:3: note: declared here 2522 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/clamsubmit/clamsubmit.c:488:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 488 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "policy", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2594:1: note: declared here 2594 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/clamsubmit/clamsubmit.c:488:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 488 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "policy", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2519:3: note: declared here 2519 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/clamsubmit/clamsubmit.c:488:5: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 488 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "policy", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2522:3: note: declared here 2522 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/clamsubmit/clamsubmit.c:495:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 495 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "x-amz-meta-original-filename", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2594:1: note: declared here 2594 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/clamsubmit/clamsubmit.c:495:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 495 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "x-amz-meta-original-filename", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2519:3: note: declared here 2519 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/clamsubmit/clamsubmit.c:495:5: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 495 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "x-amz-meta-original-filename", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2522:3: note: declared here 2522 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/clamsubmit/clamsubmit.c:502:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 502 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "x-amz-credential", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2594:1: note: declared here 2594 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/clamsubmit/clamsubmit.c:502:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 502 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "x-amz-credential", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2519:3: note: declared here 2519 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/clamsubmit/clamsubmit.c:502:5: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 502 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "x-amz-credential", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2522:3: note: declared here 2522 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/clamsubmit/clamsubmit.c:509:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 509 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "x-amz-algorithm", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2594:1: note: declared here 2594 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/clamsubmit/clamsubmit.c:509:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 509 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "x-amz-algorithm", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2519:3: note: declared here 2519 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/clamsubmit/clamsubmit.c:509:5: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 509 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "x-amz-algorithm", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2522:3: note: declared here 2522 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/clamsubmit/clamsubmit.c:516:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 516 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "x-amz-date", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2594:1: note: declared here 2594 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/clamsubmit/clamsubmit.c:516:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 516 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "x-amz-date", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2519:3: note: declared here 2519 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/clamsubmit/clamsubmit.c:516:5: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 516 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "x-amz-date", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2522:3: note: declared here 2522 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/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, "x-amz-signature", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2594:1: note: declared here 2594 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/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, "x-amz-signature", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2519:3: note: declared here 2519 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/clamsubmit/clamsubmit.c:523:5: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 523 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "x-amz-signature", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2522:3: note: declared here 2522 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/clamsubmit/clamsubmit.c:525:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 525 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "file", CURLFORM_FILE, filename, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2594:1: note: declared here 2594 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/clamsubmit/clamsubmit.c:525:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 525 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "file", CURLFORM_FILE, filename, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2519:3: note: declared here 2519 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/clamsubmit/clamsubmit.c:525:5: warning: ‘CURLFORM_FILE’ is deprecated: since 7.56.0. Use curl_mime_filedata() [-Wdeprecated-declarations] 525 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "file", CURLFORM_FILE, filename, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2528:3: note: declared here 2528 | CURLFORM_FILE CURL_DEPRECATED(7.56.0, "Use curl_mime_filedata()"), | ^~~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/clamsubmit/clamsubmit.c:530:5: warning: ‘CURLOPT_HTTPPOST’ is deprecated: since 7.56.0. Use CURLOPT_MIMEPOST [-Wdeprecated-declarations] 530 | curl_easy_setopt(aws_curl, CURLOPT_HTTPPOST, post); | ^~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:1205:3: note: declared here 1205 | CURLOPTDEPRECATED(CURLOPT_HTTPPOST, CURLOPTTYPE_OBJECTPOINT, 24, | ^~~~~~~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/clamsubmit/clamsubmit.c:539:5: warning: ‘curl_formfree’ is deprecated: since 7.56.0. Use curl_mime_free() [-Wdeprecated-declarations] 539 | curl_formfree(post); | ^~~~~~~~~~~~~ /usr/include/curl/curl.h:2630:1: note: declared here 2630 | curl_formfree(struct curl_httppost *form); | ^~~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/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, "utf8", CURLFORM_COPYCONTENTS, "\x27\x13", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2594:1: note: declared here 2594 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/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, "utf8", CURLFORM_COPYCONTENTS, "\x27\x13", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2519:3: note: declared here 2519 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/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, "utf8", CURLFORM_COPYCONTENTS, "\x27\x13", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2522:3: note: declared here 2522 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/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, "authenticity_token", CURLFORM_COPYCONTENTS, authenticity_token, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2594:1: note: declared here 2594 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/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, "authenticity_token", CURLFORM_COPYCONTENTS, authenticity_token, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2519:3: note: declared here 2519 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/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, "authenticity_token", CURLFORM_COPYCONTENTS, authenticity_token, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2522:3: note: declared here 2522 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/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, "submissionID", CURLFORM_COPYCONTENTS, submissionID, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2594:1: note: declared here 2594 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/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, "submissionID", CURLFORM_COPYCONTENTS, submissionID, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2519:3: note: declared here 2519 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/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, "submissionID", CURLFORM_COPYCONTENTS, submissionID, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2522:3: note: declared here 2522 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/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, "type", CURLFORM_COPYCONTENTS, malware ? "malware" : "fp", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2594:1: note: declared here 2594 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/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, "type", CURLFORM_COPYCONTENTS, malware ? "malware" : "fp", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2519:3: note: declared here 2519 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/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, "type", CURLFORM_COPYCONTENTS, malware ? "malware" : "fp", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2522:3: note: declared here 2522 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/clamsubmit/clamsubmit.c:563:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 563 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "sendername", CURLFORM_COPYCONTENTS, name, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2594:1: note: declared here 2594 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/clamsubmit/clamsubmit.c:563:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 563 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "sendername", CURLFORM_COPYCONTENTS, name, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2519:3: note: declared here 2519 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/clamsubmit/clamsubmit.c:563:5: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 563 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "sendername", CURLFORM_COPYCONTENTS, name, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2522:3: note: declared here 2522 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/clamsubmit/clamsubmit.c:564:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 564 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "email", CURLFORM_COPYCONTENTS, email, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2594:1: note: declared here 2594 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/clamsubmit/clamsubmit.c:564:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 564 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "email", CURLFORM_COPYCONTENTS, email, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2519:3: note: declared here 2519 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/clamsubmit/clamsubmit.c:564:5: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 564 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "email", CURLFORM_COPYCONTENTS, email, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2522:3: note: declared here 2522 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/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, "shareSample", CURLFORM_COPYCONTENTS, "on", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2594:1: note: declared here 2594 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/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, "shareSample", CURLFORM_COPYCONTENTS, "on", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2519:3: note: declared here 2519 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/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, "shareSample", CURLFORM_COPYCONTENTS, "on", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2522:3: note: declared here 2522 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/clamsubmit/clamsubmit.c:568:9: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 568 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "virusname", CURLFORM_COPYCONTENTS, fpvname, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2594:1: note: declared here 2594 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/clamsubmit/clamsubmit.c:568:9: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 568 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "virusname", CURLFORM_COPYCONTENTS, fpvname, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2519:3: note: declared here 2519 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/clamsubmit/clamsubmit.c:568:9: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 568 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "virusname", CURLFORM_COPYCONTENTS, fpvname, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2522:3: note: declared here 2522 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/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, "description", CURLFORM_COPYCONTENTS, "clamsubmit", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2594:1: note: declared here 2594 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/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, "description", CURLFORM_COPYCONTENTS, "clamsubmit", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2519:3: note: declared here 2519 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/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, "description", CURLFORM_COPYCONTENTS, "clamsubmit", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2522:3: note: declared here 2522 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/clamsubmit/clamsubmit.c:571:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 571 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "notify", CURLFORM_COPYCONTENTS, "on", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2594:1: note: declared here 2594 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/clamsubmit/clamsubmit.c:571:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 571 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "notify", CURLFORM_COPYCONTENTS, "on", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2519:3: note: declared here 2519 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/clamsubmit/clamsubmit.c:571:5: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 571 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "notify", CURLFORM_COPYCONTENTS, "on", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2522:3: note: declared here 2522 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/clamsubmit/clamsubmit.c:572:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 572 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "privacy", CURLFORM_COPYCONTENTS, "on", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2594:1: note: declared here 2594 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/clamsubmit/clamsubmit.c:572:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 572 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "privacy", CURLFORM_COPYCONTENTS, "on", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2519:3: note: declared here 2519 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/clamsubmit/clamsubmit.c:572:5: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 572 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "privacy", CURLFORM_COPYCONTENTS, "on", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2522:3: note: declared here 2522 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/clamsubmit/clamsubmit.c:575:5: warning: ‘CURLOPT_HTTPPOST’ is deprecated: since 7.56.0. Use CURLOPT_MIMEPOST [-Wdeprecated-declarations] 575 | curl_easy_setopt(clam_curl, CURLOPT_HTTPPOST, post); | ^~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:1205:3: note: declared here 1205 | CURLOPTDEPRECATED(CURLOPT_HTTPPOST, CURLOPTTYPE_OBJECTPOINT, 24, | ^~~~~~~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/clamsubmit/clamsubmit.c:620:9: warning: ‘curl_formfree’ is deprecated: since 7.56.0. Use curl_mime_free() [-Wdeprecated-declarations] 620 | curl_formfree(post); | ^~~~~~~~~~~~~ /usr/include/curl/curl.h:2630:1: note: declared here 2630 | curl_formfree(struct curl_httppost *form); | ^~~~~~~~~~~~~ [332/361] Building C object sigtool/CMakeFiles/sigtool.dir/sigtool.c.o /build/clamav/src/clamav-1.4.1/sigtool/sigtool.c: In function ‘hashpe’: /build/clamav/src/clamav-1.4.1/sigtool/sigtool.c:222:46: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 222 | ctx.recursion_stack = calloc(sizeof(recursion_level_t), ctx.recursion_stack_size); | ^~~~~~~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/sigtool/sigtool.c:222:46: note: earlier argument should specify number of elements, later size of each element /build/clamav/src/clamav-1.4.1/sigtool/sigtool.c: In function ‘convenience_ctx’: /build/clamav/src/clamav-1.4.1/sigtool/sigtool.c:489:47: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 489 | ctx->recursion_stack = calloc(sizeof(recursion_level_t), ctx->recursion_stack_size); | ^~~~~~~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/sigtool/sigtool.c:489:47: note: earlier argument should specify number of elements, later size of each element /build/clamav/src/clamav-1.4.1/sigtool/sigtool.c: In function ‘matchsig’: /build/clamav/src/clamav-1.4.1/sigtool/sigtool.c:2370:46: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 2370 | ctx.recursion_stack = calloc(sizeof(recursion_level_t), ctx.recursion_stack_size); | ^~~~~~~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/sigtool/sigtool.c:2370:46: note: earlier argument should specify number of elements, later size of each element /build/clamav/src/clamav-1.4.1/sigtool/sigtool.c: In function ‘decodehex’: /build/clamav/src/clamav-1.4.1/sigtool/sigtool.c:2845:31: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘int’} and ‘unsigned int’ [-Wsign-compare] 2845 | if (bytes_written != dlen) { | ^~ /build/clamav/src/clamav-1.4.1/sigtool/sigtool.c:2929:31: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘int’} and ‘unsigned int’ [-Wsign-compare] 2929 | if (bytes_written != dlen) { | ^~ /build/clamav/src/clamav-1.4.1/sigtool/sigtool.c:2944:27: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘int’} and ‘unsigned int’ [-Wsign-compare] 2944 | if (bytes_written != dlen) { | ^~ /build/clamav/src/clamav-1.4.1/sigtool/sigtool.c: In function ‘dumpcerts’: /build/clamav/src/clamav-1.4.1/sigtool/sigtool.c:3577:46: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 3577 | ctx.recursion_stack = calloc(sizeof(recursion_level_t), ctx.recursion_stack_size); | ^~~~~~~~~~~~~~~~~ /build/clamav/src/clamav-1.4.1/sigtool/sigtool.c:3577:46: note: earlier argument should specify number of elements, later size of each element [333/361] Building C object unit_tests/CMakeFiles/check_clamav.dir/check_disasm.c.o [334/361] Building C object unit_tests/CMakeFiles/check_clamav.dir/check_jsnorm.c.o [335/361] Building C object unit_tests/CMakeFiles/check_clamav.dir/check_matchers.c.o [336/361] Building C object clamdtop/CMakeFiles/clamdtop.dir/clamdtop.c.o [337/361] Building C object unit_tests/CMakeFiles/check_clamav.dir/check_uniq.c.o [338/361] Building C object unit_tests/CMakeFiles/check_clamav.dir/check_str.c.o [339/361] Building C object unit_tests/CMakeFiles/check_clamd.dir/check_clamd.c.o In file included from /build/clamav/src/clamav-1.4.1/unit_tests/check_clamd.c:55: /build/clamav/src/clamav-1.4.1/unit_tests/check_clamd.c: In function ‘test_stats_fn’: /build/clamav/src/clamav-1.4.1/unit_tests/check_clamd.c:366:46: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 366 | ck_assert_msg(len > strlen(STATS_REPLY), "Reply has wrong size: %lu, minimum %lu, reply: %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 367 | len, strlen(STATS_REPLY), recvdata); | ~~~ | | | size_t {aka unsigned int} /build/clamav/src/clamav-1.4.1/unit_tests/check_clamd.c:366:71: note: format string is defined here 366 | ck_assert_msg(len > strlen(STATS_REPLY), "Reply has wrong size: %lu, minimum %lu, reply: %s\n", | ~~^ | | | long unsigned int | %u /build/clamav/src/clamav-1.4.1/unit_tests/check_clamd.c:366:46: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 366 | ck_assert_msg(len > strlen(STATS_REPLY), "Reply has wrong size: %lu, minimum %lu, reply: %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 367 | len, strlen(STATS_REPLY), recvdata); | ~~~~~~~~~~~~~~~~~~~ | | | size_t {aka unsigned int} /build/clamav/src/clamav-1.4.1/unit_tests/check_clamd.c:366:84: note: format string is defined here 366 | ck_assert_msg(len > strlen(STATS_REPLY), "Reply has wrong size: %lu, minimum %lu, reply: %s\n", | ~~^ | | | long unsigned int | %u /build/clamav/src/clamav-1.4.1/unit_tests/check_clamd.c: In function ‘test_instream_fn’: /build/clamav/src/clamav-1.4.1/unit_tests/check_clamd.c:419:38: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 419 | ck_assert_msg(len == expect_len, "Reply has wrong size: %lu, expected %lu, reply: %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 420 | len, expect_len, recvdata); | ~~~ | | | size_t {aka unsigned int} /build/clamav/src/clamav-1.4.1/unit_tests/check_clamd.c:419:63: note: format string is defined here 419 | ck_assert_msg(len == expect_len, "Reply has wrong size: %lu, expected %lu, reply: %s\n", | ~~^ | | | long unsigned int | %u /build/clamav/src/clamav-1.4.1/unit_tests/check_clamd.c:419:38: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 419 | ck_assert_msg(len == expect_len, "Reply has wrong size: %lu, expected %lu, reply: %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 420 | len, expect_len, recvdata); | ~~~~~~~~~~ | | | size_t {aka unsigned int} /build/clamav/src/clamav-1.4.1/unit_tests/check_clamd.c:419:77: note: format string is defined here 419 | ck_assert_msg(len == expect_len, "Reply has wrong size: %lu, expected %lu, reply: %s\n", | ~~^ | | | long unsigned int | %u /build/clamav/src/clamav-1.4.1/unit_tests/check_clamd.c: In function ‘tst_fildes’: /build/clamav/src/clamav-1.4.1/unit_tests/check_clamd.c:497:38: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 497 | ck_assert_msg(len == expect_len, "Reply has wrong size: %lu, expected %lu, reply: %s, expected: %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 498 | len, expect_len, p, expect); | ~~~ | | | size_t {aka unsigned int} /build/clamav/src/clamav-1.4.1/unit_tests/check_clamd.c:497:63: note: format string is defined here 497 | ck_assert_msg(len == expect_len, "Reply has wrong size: %lu, expected %lu, reply: %s, expected: %s\n", | ~~^ | | | long unsigned int | %u /build/clamav/src/clamav-1.4.1/unit_tests/check_clamd.c:497:38: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 497 | ck_assert_msg(len == expect_len, "Reply has wrong size: %lu, expected %lu, reply: %s, expected: %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 498 | len, expect_len, p, expect); | ~~~~~~~~~~ | | | size_t {aka unsigned int} /build/clamav/src/clamav-1.4.1/unit_tests/check_clamd.c:497:77: note: format string is defined here 497 | ck_assert_msg(len == expect_len, "Reply has wrong size: %lu, expected %lu, reply: %s, expected: %s\n", | ~~^ | | | long unsigned int | %u [340/361] Building C object unit_tests/CMakeFiles/check_clamav.dir/check_htmlnorm.c.o [341/361] Building C object unit_tests/CMakeFiles/check_clamav.dir/check_regex.c.o [342/361] Building C object unit_tests/CMakeFiles/check_clamav.dir/check_clamav.c.o In file included from /build/clamav/src/clamav-1.4.1/unit_tests/check_clamav.c:11: /build/clamav/src/clamav-1.4.1/unit_tests/check_clamav.c: In function ‘diff_file_mem’: /build/clamav/src/clamav-1.4.1/unit_tests/check_clamav.c:1928:29: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 1928 | ck_assert_msg(p == len, "file is smaller: %lu, expected: %lu", p, len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ | | | size_t {aka unsigned int} /build/clamav/src/clamav-1.4.1/unit_tests/check_clamav.c:1928:49: note: format string is defined here 1928 | ck_assert_msg(p == len, "file is smaller: %lu, expected: %lu", p, len); | ~~^ | | | long unsigned int | %u /build/clamav/src/clamav-1.4.1/unit_tests/check_clamav.c:1928:29: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 1928 | ck_assert_msg(p == len, "file is smaller: %lu, expected: %lu", p, len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ | | | size_t {aka unsigned int} /build/clamav/src/clamav-1.4.1/unit_tests/check_clamav.c:1928:64: note: format string is defined here 1928 | ck_assert_msg(p == len, "file is smaller: %lu, expected: %lu", p, len); | ~~^ | | | long unsigned int | %u /build/clamav/src/clamav-1.4.1/unit_tests/check_clamav.c:1939:33: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 1939 | ck_assert_msg(c1 == c2, "file contents mismatch at byte: %lu, was: %c, expected: %c", p, c2, c1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ | | | size_t {aka unsigned int} /build/clamav/src/clamav-1.4.1/unit_tests/check_clamav.c:1939:68: note: format string is defined here 1939 | ck_assert_msg(c1 == c2, "file contents mismatch at byte: %lu, was: %c, expected: %c", p, c2, c1); | ~~^ | | | long unsigned int | %u /build/clamav/src/clamav-1.4.1/unit_tests/check_clamav.c:1942:32: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 1942 | ck_assert_msg(p == reflen, "trailing garbage, file size: %ld, expected: %ld", p, reflen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ | | | size_t {aka unsigned int} /build/clamav/src/clamav-1.4.1/unit_tests/check_clamav.c:1942:64: note: format string is defined here 1942 | ck_assert_msg(p == reflen, "trailing garbage, file size: %ld, expected: %ld", p, reflen); | ~~^ | | | long int | %d /build/clamav/src/clamav-1.4.1/unit_tests/check_clamav.c:1942:32: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 6 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 1942 | ck_assert_msg(p == reflen, "trailing garbage, file size: %ld, expected: %ld", p, reflen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~ | | | size_t {aka unsigned int} /build/clamav/src/clamav-1.4.1/unit_tests/check_clamav.c:1942:79: note: format string is defined here 1942 | ck_assert_msg(p == reflen, "trailing garbage, file size: %ld, expected: %ld", p, reflen); | ~~^ | | | long int | %d /build/clamav/src/clamav-1.4.1/unit_tests/check_clamav.c: In function ‘diff_files’: /build/clamav/src/clamav-1.4.1/unit_tests/check_clamav.c:1958:33: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 6 has type ‘ssize_t’ {aka ‘int’} [-Wformat=] 1958 | ck_assert_msg(nread == siz, "short read, expected: %ld, was: %ld", siz, nread); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ | | | ssize_t {aka int} /build/clamav/src/clamav-1.4.1/unit_tests/check_clamav.c:1958:68: note: format string is defined here 1958 | ck_assert_msg(nread == siz, "short read, expected: %ld, was: %ld", siz, nread); | ~~^ | | | long int | %d /build/clamav/src/clamav-1.4.1/unit_tests/check_clamav.c: In function ‘test_cl_cvdverify_fn’: /build/clamav/src/clamav-1.4.1/unit_tests/check_clamav.c:476:5: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 476 | fread(cvd_bytes, 1, 5000, orig_fs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [343/361] Linking C shared library libclamav/libclamav.so.12.0.3 [344/361] Creating library symlink libclamav/libclamav.so.12 libclamav/libclamav.so [345/361] Linking C static library common/libcommon.a [346/361] Linking C executable unit_tests/check_fpu_endian [347/361] Linking C executable clamconf/clamconf [348/361] Linking C executable clamdscan/clamdscan [349/361] Linking C executable clamsubmit/clamsubmit [350/361] Linking C executable clamscan/clamscan [351/361] Linking C executable clamav-milter/clamav-milter [352/361] Linking C executable clamdtop/clamdtop [353/361] Linking C executable clambc/clambc [354/361] Linking C executable unit_tests/check_clamd [355/361] Linking C executable clamd/clamd [356/361] Linking C executable clamonacc/clamonacc /usr/src/debug/clamav/clamav-1.4.1/clamonacc/client/client.c: In function ‘onas_curl_init’: /usr/src/debug/clamav/clamav-1.4.1/clamonacc/client/client.c:337:20: warning: call to ‘_curl_easy_setopt_err_long’ declared with attribute warning: curl_easy_setopt expects a long argument for this option [-Wattribute-warning] [357/361] Linking C shared library libfreshclam/libfreshclam.so.3.0.2 /usr/src/debug/clamav/clamav-1.4.1/libfreshclam/libfreshclam_internal.c: In function ‘downloadFile.constprop’: /usr/src/debug/clamav/clamav-1.4.1/libfreshclam/libfreshclam_internal.c:1318:21: warning: call to ‘_curl_easy_setopt_err_cb_data’ declared with attribute warning: curl_easy_setopt expects a private data pointer as argument for this option [-Wattribute-warning] [358/361] Creating library symlink libfreshclam/libfreshclam.so.3 libfreshclam/libfreshclam.so [359/361] Linking C executable sigtool/sigtool [360/361] Linking C executable freshclam/freshclam [361/361] Linking C executable unit_tests/check_clamav ==> Starting check()... ninja: Entering directory `build' [0/1] Running tests... Test project /build/clamav/src/clamav-1.4.1/build Start 1: libclamav 1/6 Test #1: libclamav ........................***Failed 10.28 sec Start 2: libclamav_rust 2/6 Test #2: libclamav_rust ................... Passed 5.22 sec Start 3: clamscan 3/6 Test #3: clamscan .........................***Failed 7.91 sec Start 4: clamd 4/6 Test #4: clamd ............................***Failed 9.42 sec Start 5: freshclam 5/6 Test #5: freshclam ........................ Passed 40.96 sec Start 6: sigtool 6/6 Test #6: sigtool .......................... Passed 0.55 sec 50% tests passed, 3 tests failed out of 6 Total Test time (real) = 74.34 sec The following tests FAILED: 1 - libclamav (Failed) 3 - clamscan (Failed) 4 - clamd (Failed) Errors while running CTest Output from these tests are in: /build/clamav/src/clamav-1.4.1/build/Testing/Temporary/LastTest.log Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely. FAILED: CMakeFiles/test.util cd /build/clamav/src/clamav-1.4.1/build && /usr/bin/ctest --force-new-ctest-process ninja: build stopped: subcommand failed. ==> ERROR: test failure, rerun in verbose mode Start testing: Oct 09 01:11 CEST ---------------------------------------------------------- 1/6 Testing: libclamav 1/6 Test: libclamav Command: "/usr/bin/pytest" "-v" "libclamav_test.py" Directory: /build/clamav/src/clamav-1.4.1/unit_tests "libclamav" start time: Oct 09 01:11 CEST Output: ---------------------------------------------------------- ============================= test session starts ============================== platform linux -- Python 3.12.6, pytest-8.3.3, pluggy-1.5.0 -- /usr/bin/python cachedir: .pytest_cache rootdir: /build/clamav/src/clamav-1.4.1/unit_tests collecting ... collected 1 item libclamav_test.py::TC::test_libclamav_00_unit_test FAILED [100%] =================================== 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 1 == 0 E + where 1 = CmdResult(ec=1, 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\n97%: Checks: 1221, Failures: 36, Errors: 0\n/usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:214:F:cl_scan_api:test_cl_scandesc:13: cl_scandesc failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: No viruses detected\n/usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:214:F:cl_scan_api:test_cl_scandesc:29: cl_scandesc failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: No viruses detected\n/usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:214:F:cl_scan_api:test_cl_scandesc:33: cl_scandesc failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: No viruses detected\n/usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:241:F:cl_scan_api:test_cl_scandesc_allscan:13: cl_scandesc_allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: No viruses detected\n/usr/src/deb...put/clamav_hdb_scanfiles/clam.chm: No viruses detected\n/usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:731:F:cl_scan_api:test_cl_scanmap_callback_mem:33: cl_scanmap_callback failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: No viruses detected\n/usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:769:F:cl_scan_api:test_cl_scanmap_callback_mem_allscan:13: cl_scanmap_callback allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: No viruses detected\n/usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:769:F:cl_scan_api:test_cl_scanmap_callback_mem_allscan:29: cl_scanmap_callback allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: No viruses detected\n/usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:769:F:cl_scan_api:test_cl_scanmap_callback_mem_allscan:33: cl_scanmap_callback allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: No viruses detected\nNOTICE: Use the 'T' environment variable to adjust testcase timeout\n", err='').ec /build/clamav/src/clamav-1.4.1/unit_tests/libclamav_test.py:47: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: libclamav unit tests [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /build/clamav/src/clamav-1.4.1/build/unit_tests/check_clamav [DEBUG]: Exit code: 1 [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 97%: Checks: 1221, Failures: 36, Errors: 0 /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:214:F:cl_scan_api:test_cl_scandesc:13: cl_scandesc failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:214:F:cl_scan_api:test_cl_scandesc:29: cl_scandesc failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:214:F:cl_scan_api:test_cl_scandesc:33: cl_scandesc failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:241:F:cl_scan_api:test_cl_scandesc_allscan:13: cl_scandesc_allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:241:F:cl_scan_api:test_cl_scandesc_allscan:29: cl_scandesc_allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:241:F:cl_scan_api:test_cl_scandesc_allscan:33: cl_scandesc_allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:269:F:cl_scan_api:test_cl_scanfile:13: cl_scanfile failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:269:F:cl_scan_api:test_cl_scanfile:29: cl_scanfile failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:269:F:cl_scan_api:test_cl_scanfile:33: cl_scanfile failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:296:F:cl_scan_api:test_cl_scanfile_allscan:13: cl_scanfile_allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:296:F:cl_scan_api:test_cl_scanfile_allscan:29: cl_scanfile_allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:296:F:cl_scan_api:test_cl_scanfile_allscan:33: cl_scanfile_allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:377:F:cl_scan_api:test_cl_scandesc_callback:13: cl_scanfile failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:377:F:cl_scan_api:test_cl_scandesc_callback:29: cl_scanfile failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:377:F:cl_scan_api:test_cl_scandesc_callback:33: cl_scanfile failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:405:F:cl_scan_api:test_cl_scandesc_callback_allscan:13: cl_scanfile_allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:405:F:cl_scan_api:test_cl_scandesc_callback_allscan:29: cl_scanfile_allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:405:F:cl_scan_api:test_cl_scandesc_callback_allscan:33: cl_scanfile_allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:323:F:cl_scan_api:test_cl_scanfile_callback:13: cl_scanfile_cb failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:323:F:cl_scan_api:test_cl_scanfile_callback:29: cl_scanfile_cb failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:323:F:cl_scan_api:test_cl_scanfile_callback:33: cl_scanfile_cb failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:351:F:cl_scan_api:test_cl_scanfile_callback_allscan:13: cl_scanfile_cb_allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:351:F:cl_scan_api:test_cl_scanfile_callback_allscan:29: cl_scanfile_cb_allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:351:F:cl_scan_api:test_cl_scanfile_callback_allscan:33: cl_scanfile_cb_allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:662:F:cl_scan_api:test_cl_scanmap_callback_handle:13: cl_scanmap_callback failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:662:F:cl_scan_api:test_cl_scanmap_callback_handle:29: cl_scanmap_callback failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:662:F:cl_scan_api:test_cl_scanmap_callback_handle:33: cl_scanmap_callback failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:694:F:cl_scan_api:test_cl_scanmap_callback_handle_allscan:13: cl_scanmap_callback allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:694:F:cl_scan_api:test_cl_scanmap_callback_handle_allscan:29: cl_scanmap_callback allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:694:F:cl_scan_api:test_cl_scanmap_callback_handle_allscan:33: cl_scanmap_callback allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:731:F:cl_scan_api:test_cl_scanmap_callback_mem:13: cl_scanmap_callback failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:731:F:cl_scan_api:test_cl_scanmap_callback_mem:29: cl_scanmap_callback failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:731:F:cl_scan_api:test_cl_scanmap_callback_mem:33: cl_scanmap_callback failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:769:F:cl_scan_api:test_cl_scanmap_callback_mem_allscan:13: cl_scanmap_callback allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:769:F:cl_scan_api:test_cl_scanmap_callback_mem_allscan:29: cl_scanmap_callback allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:769:F:cl_scan_api:test_cl_scanmap_callback_mem_allscan:33: cl_scanmap_callback allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: No viruses detected NOTICE: Use the 'T' environment variable to adjust testcase timeout [DEBUG]: stderr: --------------------------- Captured stdout teardown --------------------------- [INFO]: Removed tmp directory: /build/clamav/src/clamav-1.4.1/build/unit_tests/TC-nefg6dzf =========================== short test summary info ============================ FAILED libclamav_test.py::TC::test_libclamav_00_unit_test - assert 1 == 0 ============================== 1 failed in 9.82s =============================== Test time = 10.28 sec ---------------------------------------------------------- Test Failed. "libclamav" end time: Oct 09 01:11 CEST "libclamav" time elapsed: 00:00:10 ---------------------------------------------------------- 2/6 Testing: libclamav_rust 2/6 Test: libclamav_rust Command: "/usr/bin/cmake" "-E" "env" "CARGO_CMD=test" "CARGO_TARGET_DIR=/build/clamav/src/clamav-1.4.1/build" "RUSTFLAGS=-Cforce-frame-pointers=yes -C debuginfo=2 --remap-path-prefix=/build/clamav/src=/usr/src/debug/clamav" "/usr/bin/cargo" "test" "--target" "i686-unknown-linux-gnu" "--target-dir" "/build/clamav/src/clamav-1.4.1/build" "--color" "always" Directory: /build/clamav/src/clamav-1.4.1/libclamav_rust "libclamav_rust" start time: Oct 09 01:11 CEST Output: ----------------------------------------------------------  Compiling clamav_rust v0.0.1 (/build/clamav/src/clamav-1.4.1/libclamav_rust) warning: calls to `std::str::from_utf8` with a invalid literal always return an error  --> libclamav_rust/src/ffi_util.rs:268:25  | 268 |  if let Err(e) = std::str::from_utf8(b"\x80") {  |  ^^^^^^^^^^^^^^^^^^^^-------^  |  |  |  the literal was valid UTF-8 up to the 0 bytes  |  = note: `#[warn(invalid_from_utf8)]` on by default warning: `clamav_rust` (lib test) generated 1 warning  Finished test [unoptimized + debuginfo] target(s) in 5.19s  Running unittests src/lib.rs (/build/clamav/src/clamav-1.4.1/build/i686-unknown-linux-gnu/debug/deps/clamav_rust-af205704e18337ab) running 23 tests test cdiff::tests::delete_line_not_match ... ok test cdiff::tests::delete_out_of_bounds ... ok test cdiff::tests::exchange_out_of_bounds ... ok test cdiff::tests::add_delete_exchange ... ok test cdiff::tests::delete_first_line ... ok test cdiff::tests::exchange_first_line ... ok test cdiff::tests::delete_second_line ... ok test cdiff::tests::exchange_second_line ... ok test cdiff::tests::delete_last_line ... ok test cdiff::tests::move_db ... ok test cdiff::tests::exchange_last_line ... ok test cdiff::tests::parse_move_fail_int ... ok test cdiff::tests::parse_move_works ... ok test cdiff::tests::parse_move_fail_eof ... ok test cdiff::tests::script2cdiff_missing_hyphen ... ok test ffi_util::tests::size ... ok test ffi_util::tests::basic ... ok LibClamAV info: darkness LibClamAV Warning: my old LibClamAV Error: friend. test logging::tests::parse_move_works ... ok test css_image_extract::tests::extract_data_image_gif ... ok test css_image_extract::tests::extract_data_image_gif_in_quotes ... ok test css_image_extract::tests::extract_data_image_gif_and_png_in_quotes_2 ... ok test css_image_extract::tests::extract_data_image_gif_and_png_in_quotes ... ok test css_image_extract::tests::extract_data_image_gif_and_png_invalid_type ... ok test result: ok. 23 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s Test time = 5.22 sec ---------------------------------------------------------- Test Passed. "libclamav_rust" end time: Oct 09 01:11 CEST "libclamav_rust" time elapsed: 00:00:05 ---------------------------------------------------------- 3/6 Testing: clamscan 3/6 Test: clamscan Command: "/usr/bin/pytest" "-v" "clamscan" Directory: /build/clamav/src/clamav-1.4.1/unit_tests "clamscan" start time: Oct 09 01:11 CEST Output: ---------------------------------------------------------- ============================= test session starts ============================== platform linux -- Python 3.12.6, pytest-8.3.3, pluggy-1.5.0 -- /usr/bin/python cachedir: .pytest_cache rootdir: /build/clamav/src/clamav-1.4.1/unit_tests collecting ... collected 59 items clamscan/_basic_test.py::TC::test_00_version PASSED [ 1%] clamscan/_basic_test.py::TC::test_01_all_testfiles FAILED [ 3%] clamscan/_basic_test.py::TC::test_02_all_testfiles_ign2 PASSED [ 5%] clamscan/allmatch_test.py::TC::test_exe_imphash_plus_zipsfx PASSED [ 6%] clamscan/allmatch_test.py::TC::test_exe_pattern_plus_zipsfx PASSED [ 8%] clamscan/allmatch_test.py::TC::test_many_sigs PASSED [ 10%] clamscan/allmatch_test.py::TC::test_many_sigs_no_allmatch PASSED [ 11%] clamscan/allmatch_test.py::TC::test_pe_allmatch PASSED [ 13%] clamscan/allmatch_test.py::TC::test_regression_cbc_and_ndb PASSED [ 15%] clamscan/allmatch_test.py::TC::test_regression_imphash_nosize PASSED [ 16%] clamscan/allmatch_test.py::TC::test_txt_plus_clam_zipsfx PASSED [ 18%] clamscan/alz_test.py::TC::test_bzip2 PASSED [ 20%] clamscan/alz_test.py::TC::test_bzip2_with_binary PASSED [ 22%] clamscan/alz_test.py::TC::test_deflate PASSED [ 23%] clamscan/alz_test.py::TC::test_uncompressed PASSED [ 25%] clamscan/alz_test.py::TC::test_uncompressed_with_binary PASSED [ 27%] clamscan/assorted_test.py::TC::test_00_version PASSED [ 28%] clamscan/assorted_test.py::TC::test_iso_missing_joliet PASSED [ 30%] clamscan/assorted_test.py::TC::test_onenote_disabled PASSED [ 32%] clamscan/assorted_test.py::TC::test_pe_cert_block PASSED [ 33%] clamscan/assorted_test.py::TC::test_pe_cert_trust PASSED [ 35%] clamscan/assorted_test.py::TC::test_pe_cert_trust_archive PASSED [ 37%] clamscan/assorted_test.py::TC::test_weak_indicator_icon PASSED [ 38%] clamscan/bytecode_test.py::TC::test_pdf_hook PASSED [ 40%] clamscan/container_sigs_test.py::TC::test_clamscan_container_cache PASSED [ 42%] clamscan/container_sigs_test.py::TC::test_container PASSED [ 44%] clamscan/container_sigs_test.py::TC::test_intermediates PASSED [ 45%] clamscan/container_sigs_test.py::TC::test_intermediates_cache PASSED [ 47%] clamscan/fp_check_test.py::TC::test_alerts_on_normalized PASSED [ 49%] clamscan/fp_check_test.py::TC::test_alerts_on_zip PASSED [ 50%] clamscan/fp_check_test.py::TC::test_fp_for_nonnormalized PASSED [ 52%] clamscan/fp_check_test.py::TC::test_fp_for_nonnormalized_wild PASSED [ 54%] clamscan/fp_check_test.py::TC::test_fp_for_normalized PASSED [ 55%] clamscan/fp_check_test.py::TC::test_fp_for_normalized_wild PASSED [ 57%] clamscan/fp_check_test.py::TC::test_fp_for_zipped_file PASSED [ 59%] clamscan/fp_check_test.py::TC::test_fp_for_zipped_file_wild PASSED [ 61%] clamscan/fuzzy_img_hash_test.py::TC::test_sigs_bad_algorithm PASSED [ 62%] clamscan/fuzzy_img_hash_test.py::TC::test_sigs_bad_hamming PASSED [ 64%] clamscan/fuzzy_img_hash_test.py::TC::test_sigs_bad_hash PASSED [ 66%] clamscan/fuzzy_img_hash_test.py::TC::test_sigs_good_allmatch PASSED [ 67%] clamscan/heuristics_test.py::TC::test_allmatch PASSED [ 69%] clamscan/heuristics_test.py::TC::test_allmatch_precedence PASSED [ 71%] clamscan/heuristics_test.py::TC::test_hidden_by_strong_indicator PASSED [ 72%] clamscan/heuristics_test.py::TC::test_only_heur PASSED [ 74%] clamscan/heuristics_test.py::TC::test_precedence PASSED [ 76%] clamscan/image_extraction_test.py::TC::test_HTML_style_with_detection PASSED [ 77%] clamscan/image_extraction_test.py::TC::test_xls_jpeg_png PASSED [ 79%] clamscan/image_extraction_test.py::TC::test_xls_with_detection PASSED [ 81%] clamscan/lzh_lha_archive_test.py::TC::test_good_archives PASSED [ 83%] clamscan/match_offsets_test.py::TC::test_LDB_VI PASSED [ 84%] clamscan/match_offsets_test.py::TC::test_yara_at_offset PASSED [ 86%] clamscan/match_offsets_test.py::TC::test_yara_in_range PASSED [ 88%] clamscan/phishing_test.py::TC::test_not_enabled PASSED [ 89%] clamscan/phishing_test.py::TC::test_ssl_and_cloak PASSED [ 91%] clamscan/regex_test.py::TC::test_ldb_multi_pcre PASSED [ 93%] clamscan/regex_test.py::TC::test_ldb_offset_pcre PASSED [ 94%] clamscan/regex_test.py::TC::test_pcre_flag PASSED [ 96%] clamscan/regex_test.py::TC::test_slash_colon PASSED [ 98%] clamscan/regex_test.py::TC::test_yara PASSED [100%] =================================== FAILURES =================================== ___________________________ 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 expected_results = ['{}: ClamAV-Test-File.UNOFFICIAL FOUND'.format(testpath.name) for testpath in TC.testpaths] expected_results.append('Scanned files: {}'.format(len(TC.testpaths))) expected_results.append('Infected files: {}'.format(len(TC.testpaths))) > self.verify_output(output.out, expected=expected_results) /build/clamav/src/clamav-1.4.1/unit_tests/clamscan/_basic_test.py:73: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /build/clamav/src/clamav-1.4.1/unit_tests/testcase.py:248: in verify_output log_checker.verify_expected_output(expected, text, order=order) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = expected_items = ['clam.exe.mbox.uu: ClamAV-Test-File.UNOFFICIAL FOUND', 'clam-nsis.exe: ClamAV-Test-File.UNOFFICIAL FOUND', 'clam.bin-...CIAL FOUND', 'clam.d64.zip: ClamAV-Test-File.UNOFFICIAL FOUND', 'clam.ole.doc: ClamAV-Test-File.UNOFFICIAL FOUND', ...] output = '/build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: ClamAV-Test-File.UNOFFIC... 9.51 MB (ratio 1.50:1)\nTime: 0.240 sec (0 m 0 s)\nStart Date: 2024:10:09 01:11:21\nEnd Date: 2024:10:09 01:11:21\n' order = 1 def verify_expected_output(self, expected_items, output, order=STRICT_ORDER): """Check presence of regex patterns in output string. :Parameters: - `expected_items`: a list of regex patterns that should be found in `output`. - `output`: a string with output to verify. - `order`: STRICT_ORDER, ANY_ORDER. :Exceptions: - `AssertionError`: is raised if: 1)`output` is not a string. 2) one of expected items was not found in `output`. 3) items were found in wrong order. """ if output != None and not isinstance(output, str): output = output.decode("utf-8", "ignore") assert isinstance(output, str), "`output` must be a string." expected_items = self._prepare_value(expected_items) last_found_position = 0 for item in expected_items: pattern = re.compile(item) match = pattern.search(output) > assert match, "Expected item `%s` not found in output:\n%s" % ( item, output, ) E AssertionError: Expected item `clam.cab: ClamAV-Test-File.UNOFFICIAL FOUND` not found in output: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-v2.rar: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: OK E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.webapp-export.one: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.2007.one: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-v3.rar: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.2010.one: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: OK E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: OK E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.mail: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe: ClamAV-Test-File.UNOFFICIAL FOUND E E ----------- SCAN SUMMARY ----------- E Known viruses: 1 E Engine version: 1.4.1 E Scanned directories: 0 E Scanned files: 52 E Infected files: 49 E Data scanned: 14.26 MB E Data read: 9.51 MB (ratio 1.50:1) E Time: 0.240 sec (0 m 0 s) E Start Date: 2024:10:09 01:11:21 E End Date: 2024:10:09 01:11:21 /build/clamav/src/clamav-1.4.1/unit_tests/testcase.py:794: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that clamscan alerts on all test files [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /build/clamav/src/clamav-1.4.1/build/clamscan/clamscan -d /build/clamav/src/clamav-1.4.1/build/unit_tests/TC-3s1xkjpi/database/clamav.hdb /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.zip /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-v2.rar /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.webapp-export.one /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.2007.one /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-v3.rar /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.iso /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.2010.one /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64 /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2 /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.mail /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.arj /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.sis /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.7z /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe [DEBUG]: Exit code: 1 [DEBUG]: stdout: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-v2.rar: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: OK /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.webapp-export.one: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.2007.one: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-v3.rar: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.2010.one: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: OK /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: OK /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.mail: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe: ClamAV-Test-File.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.4.1 Scanned directories: 0 Scanned files: 52 Infected files: 49 Data scanned: 14.26 MB Data read: 9.51 MB (ratio 1.50:1) Time: 0.240 sec (0 m 0 s) Start Date: 2024:10:09 01:11:21 End Date: 2024:10:09 01:11:21 [DEBUG]: stderr: =========================== short test summary info ============================ FAILED clamscan/_basic_test.py::TC::test_01_all_testfiles - AssertionError: E... ========================= 1 failed, 58 passed in 7.46s ========================= Test time = 7.91 sec ---------------------------------------------------------- Test Failed. "clamscan" end time: Oct 09 01:11 CEST "clamscan" time elapsed: 00:00:07 ---------------------------------------------------------- 4/6 Testing: clamd 4/6 Test: clamd Command: "/usr/bin/pytest" "-v" "clamd_test.py" Directory: /build/clamav/src/clamav-1.4.1/unit_tests "clamd" start time: Oct 09 01:11 CEST Output: ---------------------------------------------------------- ============================= test session starts ============================== platform linux -- Python 3.12.6, pytest-8.3.3, pluggy-1.5.0 -- /usr/bin/python cachedir: .pytest_cache rootdir: /build/clamav/src/clamav-1.4.1/unit_tests collecting ... collected 13 items clamd_test.py::TC::test_clamd_00_version PASSED [ 7%] clamd_test.py::TC::test_clamd_01_ping_pong PASSED [ 15%] clamd_test.py::TC::test_clamd_02_clamdscan_version PASSED [ 23%] clamd_test.py::TC::test_clamd_03_reload PASSED [ 30%] clamd_test.py::TC::test_clamd_04_all_testfiles FAILED [ 38%] clamd_test.py::TC::test_clamd_05_check_clamd PASSED [ 46%] clamd_test.py::TC::test_clamd_06_HeuristicScanPrecedence_off PASSED [ 53%] clamd_test.py::TC::test_clamd_07_HeuristicScanPrecedence_on PASSED [ 61%] clamd_test.py::TC::test_clamd_08_VirusEvent PASSED [ 69%] clamd_test.py::TC::test_clamd_09_clamdscan_ExcludePath PASSED [ 76%] clamd_test.py::TC::test_clamd_10_allmatch_not_sticky PASSED [ 84%] clamd_test.py::TC::test_clamd_11_alertexceedsmax_maxfilesize PASSED [ 92%] clamd_test.py::TC::test_clamd_12_onenote_disabled PASSED [100%] =================================== FAILURES =================================== ________________________ TC.test_clamd_04_all_testfiles ________________________ self = def test_clamd_04_all_testfiles(self): ''' Verify that clamd + clamdscan detect each of our /unit_tests/input/clamav_hdb_scanfiles/clam* test files. ''' self.step_name('Testing clamd + clamdscan scan of all `test` files') self.start_clamd() poll = self.proc.poll() assert poll == None # subprocess is alive if poll() returns None testfiles = ' '.join([str(testpath) for testpath in TC.testpaths]) expected_results = ['{}: ClamAV-Test-File.UNOFFICIAL FOUND'.format(testpath.name) for testpath in TC.testpaths] expected_results.append('Infected files: {}'.format(len(TC.testpaths))) > self.run_clamdscan(testfiles, expected_ec=1, expected_out=expected_results) /build/clamav/src/clamav-1.4.1/unit_tests/clamd_test.py:367: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /build/clamav/src/clamav-1.4.1/unit_tests/clamd_test.py:200: in run_clamdscan self.verify_output(output.out, expected=expected_out, unexpected=unexpected_out) /build/clamav/src/clamav-1.4.1/unit_tests/testcase.py:248: in verify_output log_checker.verify_expected_output(expected, text, order=order) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = expected_items = ['clam.exe.mbox.uu: ClamAV-Test-File.UNOFFICIAL FOUND', 'clam-nsis.exe: ClamAV-Test-File.UNOFFICIAL FOUND', 'clam.bin-...CIAL FOUND', 'clam.d64.zip: ClamAV-Test-File.UNOFFICIAL FOUND', 'clam.ole.doc: ClamAV-Test-File.UNOFFICIAL FOUND', ...] output = '/build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: ClamAV-Test-File.UNOFFIC...---\nInfected files: 49\nTime: 0.242 sec (0 m 0 s)\nStart Date: 2024:10:09 01:11:31\nEnd Date: 2024:10:09 01:11:31\n' order = 1 def verify_expected_output(self, expected_items, output, order=STRICT_ORDER): """Check presence of regex patterns in output string. :Parameters: - `expected_items`: a list of regex patterns that should be found in `output`. - `output`: a string with output to verify. - `order`: STRICT_ORDER, ANY_ORDER. :Exceptions: - `AssertionError`: is raised if: 1)`output` is not a string. 2) one of expected items was not found in `output`. 3) items were found in wrong order. """ if output != None and not isinstance(output, str): output = output.decode("utf-8", "ignore") assert isinstance(output, str), "`output` must be a string." expected_items = self._prepare_value(expected_items) last_found_position = 0 for item in expected_items: pattern = re.compile(item) match = pattern.search(output) > assert match, "Expected item `%s` not found in output:\n%s" % ( item, output, ) E AssertionError: Expected item `clam.cab: ClamAV-Test-File.UNOFFICIAL FOUND` not found in output: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-v2.rar: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: OK E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.webapp-export.one: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.2007.one: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-v3.rar: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.2010.one: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: OK E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: OK E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.mail: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe: ClamAV-Test-File.UNOFFICIAL FOUND E E ----------- SCAN SUMMARY ----------- E Infected files: 49 E Time: 0.242 sec (0 m 0 s) E Start Date: 2024:10:09 01:11:31 E End Date: 2024:10:09 01:11:31 /build/clamav/src/clamav-1.4.1/unit_tests/testcase.py:794: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Testing clamd + clamdscan scan of all `test` files [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Starting clamd: /build/clamav/src/clamav-1.4.1/build/clamd/clamd --config-file=/build/clamav/src/clamav-1.4.1/build/unit_tests/TC-gjj15_r2/clamd-test.conf [DEBUG]: Run command: /build/clamav/src/clamav-1.4.1/build/clamdscan/clamdscan --ping 5 --wait /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.zip /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-v2.rar /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.webapp-export.one /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.2007.one /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-v3.rar /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.iso /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.2010.one /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64 /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2 /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.mail /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.arj /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.sis /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.7z /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe -c /build/clamav/src/clamav-1.4.1/build/unit_tests/TC-gjj15_r2/clamd-test.conf Wed Oct 9 01:11:31 2024 -> Limits: Global time limit set to 120000 milliseconds. Wed Oct 9 01:11:31 2024 -> Limits: Global size limit set to 419430400 bytes. Wed Oct 9 01:11:31 2024 -> Limits: File size limit set to 104857600 bytes. Wed Oct 9 01:11:31 2024 -> Limits: Recursion level limit set to 17. Wed Oct 9 01:11:31 2024 -> Limits: Files limit set to 10000. Wed Oct 9 01:11:31 2024 -> Limits: Core-dump limit is 0. Wed Oct 9 01:11:31 2024 -> Limits: MaxEmbeddedPE limit set to 41943040 bytes. Wed Oct 9 01:11:31 2024 -> Limits: MaxHTMLNormalize limit set to 41943040 bytes. Wed Oct 9 01:11:31 2024 -> Limits: MaxHTMLNoTags limit set to 8388608 bytes. Wed Oct 9 01:11:31 2024 -> Limits: MaxScriptNormalize limit set to 20971520 bytes. Wed Oct 9 01:11:31 2024 -> Limits: MaxZipTypeRcg limit set to 1048576 bytes. Wed Oct 9 01:11:31 2024 -> Limits: MaxPartitions limit set to 50. Wed Oct 9 01:11:31 2024 -> Limits: MaxIconsPE limit set to 100. Wed Oct 9 01:11:31 2024 -> Limits: MaxRecHWP3 limit set to 16. Wed Oct 9 01:11:31 2024 -> Limits: PCREMatchLimit limit set to 100000. Wed Oct 9 01:11:31 2024 -> Limits: PCRERecMatchLimit limit set to 2000. Wed Oct 9 01:11:31 2024 -> Limits: PCREMaxFileSize limit set to 104857600. Wed Oct 9 01:11:31 2024 -> Archive support enabled. Wed Oct 9 01:11:31 2024 -> Image (graphics) scanning support enabled. Wed Oct 9 01:11:31 2024 -> Detection using image fuzzy hash enabled. Wed Oct 9 01:11:31 2024 -> AlertExceedsMax heuristic detection disabled. Wed Oct 9 01:11:31 2024 -> Heuristic alerts enabled. Wed Oct 9 01:11:31 2024 -> Portable Executable support enabled. Wed Oct 9 01:11:31 2024 -> ELF support enabled. Wed Oct 9 01:11:31 2024 -> Mail files support enabled. Wed Oct 9 01:11:31 2024 -> OLE2 support enabled. Wed Oct 9 01:11:31 2024 -> PDF support enabled. Wed Oct 9 01:11:31 2024 -> SWF support enabled. Wed Oct 9 01:11:31 2024 -> HTML support enabled. Wed Oct 9 01:11:31 2024 -> XMLDOCS support enabled. Wed Oct 9 01:11:31 2024 -> HWP3 support enabled. Wed Oct 9 01:11:31 2024 -> OneNote support enabled. Wed Oct 9 01:11:31 2024 -> Self checking every 600 seconds. Wed Oct 9 01:11:31 2024 -> Listening daemon: PID: 9696 Wed Oct 9 01:11:31 2024 -> MaxQueue set to: 800 Wed Oct 9 01:11:31 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:11:31 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:11:31 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:11:31 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:11:31 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:11:31 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:11:31 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:11:31 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:11:31 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:11:31 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:11:31 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:11:31 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-v2.rar: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:11:31 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:11:31 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: OK Wed Oct 9 01:11:31 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:11:31 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:11:31 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:11:31 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.webapp-export.one: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:11:31 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:11:31 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:11:31 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:11:31 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:11:31 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.2007.one: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:11:31 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:11:31 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:11:31 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-v3.rar: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:11:31 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:11:31 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:11:31 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.2010.one: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:11:31 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: OK Wed Oct 9 01:11:31 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:11:31 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:11:31 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:11:31 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: OK Wed Oct 9 01:11:31 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:11:31 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:11:31 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:11:31 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:11:31 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:11:31 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.mail: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:11:31 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:11:31 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:11:31 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:11:31 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:11:31 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt: ClamAV-Test-File.UNOFFICIAL FOUND LibClamAV info: Suspicious link found! LibClamAV info: Real URL: http://fake.example.com LibClamAV info: Display URL: ebay.de Wed Oct 9 01:11:31 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:11:31 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:11:31 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:11:31 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:11:31 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:11:31 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:11:31 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe: ClamAV-Test-File.UNOFFICIAL FOUND [DEBUG]: Exit code: 1 [DEBUG]: stdout: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-v2.rar: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: OK /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.webapp-export.one: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.2007.one: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-v3.rar: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.2010.one: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: OK /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: OK /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.mail: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe: ClamAV-Test-File.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Infected files: 49 Time: 0.242 sec (0 m 0 s) Start Date: 2024:10:09 01:11:31 End Date: 2024:10:09 01:11:31 [DEBUG]: stderr: Wed Oct 9 01:11:31 2024 -> Waiting for all threads to finish Wed Oct 9 01:11:31 2024 -> Shutting down the main sockets. Wed Oct 9 01:11:31 2024 -> Pid file removed. Wed Oct 9 01:11:31 2024 -> --- Stopped at Wed Oct 9 01:11:31 2024 Wed Oct 9 01:11:31 2024 -> Closing the main sockets. Wed Oct 9 01:11:31 2024 -> Socket file removed. =========================== short test summary info ============================ FAILED clamd_test.py::TC::test_clamd_04_all_testfiles - AssertionError: Expec... ========================= 1 failed, 12 passed in 8.96s ========================= Test time = 9.42 sec ---------------------------------------------------------- Test Failed. "clamd" end time: Oct 09 01:11 CEST "clamd" time elapsed: 00:00:09 ---------------------------------------------------------- 5/6 Testing: freshclam 5/6 Test: freshclam Command: "/usr/bin/pytest" "-v" "freshclam_test.py" Directory: /build/clamav/src/clamav-1.4.1/unit_tests "freshclam" start time: Oct 09 01:11 CEST Output: ---------------------------------------------------------- ============================= test session starts ============================== platform linux -- Python 3.12.6, pytest-8.3.3, pluggy-1.5.0 -- /usr/bin/python cachedir: .pytest_cache rootdir: /build/clamav/src/clamav-1.4.1/unit_tests collecting ... collected 11 items freshclam_test.py::TC::test_freshclam_00_version PASSED [ 9%] freshclam_test.py::TC::test_freshclam_01_file_copy PASSED [ 18%] freshclam_test.py::TC::test_freshclam_02_http_403 PASSED [ 27%] freshclam_test.py::TC::test_freshclam_03_http_403_daemonized PASSED [ 36%] freshclam_test.py::TC::test_freshclam_04_http_429 PASSED [ 45%] freshclam_test.py::TC::test_freshclam_05_cdiff_update PASSED [ 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 PASSED [ 72%] freshclam_test.py::TC::test_freshclam_07_cdiff_partial_minus_2 PASSED [ 81%] freshclam_test.py::TC::test_freshclam_07_no_cdiff_out_of_date_cvd PASSED [ 90%] freshclam_test.py::TC::test_freshclam_08_cdiff_update_twice PASSED [100%] ======================== 10 passed, 1 skipped in 40.51s ======================== Test time = 40.96 sec ---------------------------------------------------------- Test Passed. "freshclam" end time: Oct 09 01:12 CEST "freshclam" time elapsed: 00:00:40 ---------------------------------------------------------- 6/6 Testing: sigtool 6/6 Test: sigtool Command: "/usr/bin/pytest" "-v" "sigtool_test.py" Directory: /build/clamav/src/clamav-1.4.1/unit_tests "sigtool" start time: Oct 09 01:12 CEST Output: ---------------------------------------------------------- ============================= test session starts ============================== platform linux -- Python 3.12.6, pytest-8.3.3, pluggy-1.5.0 -- /usr/bin/python cachedir: .pytest_cache rootdir: /build/clamav/src/clamav-1.4.1/unit_tests collecting ... collected 3 items sigtool_test.py::TC::test_sigtool_00_version PASSED [ 33%] sigtool_test.py::TC::test_sigtool_01_run_cdiff PASSED [ 66%] sigtool_test.py::TC::test_sigtool_02_rust_logs_messages_work PASSED [100%] ============================== 3 passed in 0.11s =============================== Test time = 0.55 sec ---------------------------------------------------------- Test Passed. "sigtool" end time: Oct 09 01:12 CEST "sigtool" time elapsed: 00:00:00 ---------------------------------------------------------- End testing: Oct 09 01:12 CEST Internal ctest changing into directory: /build/clamav/src/clamav-1.4.1/build UpdateCTestConfiguration from :/build/clamav/src/clamav-1.4.1/build/DartConfiguration.tcl Parse Config file:/build/clamav/src/clamav-1.4.1/build/DartConfiguration.tcl UpdateCTestConfiguration from :/build/clamav/src/clamav-1.4.1/build/DartConfiguration.tcl Parse Config file:/build/clamav/src/clamav-1.4.1/build/DartConfiguration.tcl Test project /build/clamav/src/clamav-1.4.1/build Constructing a list of tests Done constructing a list of tests Updating test list for fixtures Added 0 tests to meet fixture requirements Checking test dependency graph... Checking test dependency graph end test 1 Start 1: libclamav 1: Test command: /usr/bin/pytest "-v" "libclamav_test.py" 1: Working Directory: /build/clamav/src/clamav-1.4.1/unit_tests 1: Environment variables: 1: PYTHONTRACEMALLOC=1 1: VERSION=1.4.1 1: SOURCE=/build/clamav/src/clamav-1.4.1 1: BUILD=/build/clamav/src/clamav-1.4.1/build 1: TMP=/build/clamav/src/clamav-1.4.1/build/unit_tests 1: CK_FORK=no 1: CK_DEFAULT_TIMEOUT=300 1: LD_LIBRARY_PATH=/build/clamav/src/clamav-1.4.1/build/libfreshclam:/build/clamav/src/clamav-1.4.1/build/libclamav:/usr/lib::/build/clamav/src/clamav-1.4.1/build/libclamunrar_iface:/build/clamav/src/clamav-1.4.1/build/libclamunrar 1: DYLD_LIBRARY_PATH=/build/clamav/src/clamav-1.4.1/build/libfreshclam:/build/clamav/src/clamav-1.4.1/build/libclamav:/usr/lib::/build/clamav/src/clamav-1.4.1/build/libclamunrar_iface:/build/clamav/src/clamav-1.4.1/build/libclamunrar 1: PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl 1: LIBSSL=/usr/lib/libssl.so 1: LIBCRYPTO=/usr/lib/libcrypto.so 1: LIBZ=/usr/lib/libz.so 1: LIBBZ2=/usr/lib/libbz2.so 1: LIBPCRE2=/usr/lib/libpcre2-8.so 1: LIBXML2=/usr/lib/libxml2.so 1: LIBCURL=/usr/lib/libcurl.so 1: LIBJSONC=/usr/lib/libjson-c.so 1: LIBICONV= 1: LLVM_LIBS= 1: LLVM_DIRS= 1: LIBPTHREADW32= 1: LIBWIN32COMPAT= 1: LIBCLAMAV=/build/clamav/src/clamav-1.4.1/build/libclamav/libclamav.so.12.0.3 1: LIBCLAMMSPACK=/usr/lib/libmspack.so 1: LIBCLAMUNRARIFACE= 1: LIBCLAMUNRAR= 1: CHECK_CLAMAV=/build/clamav/src/clamav-1.4.1/build/unit_tests/check_clamav 1: CHECK_CLAMD=/build/clamav/src/clamav-1.4.1/build/unit_tests/check_clamd 1: CHECK_FPU_ENDIAN=/build/clamav/src/clamav-1.4.1/build/unit_tests/check_fpu_endian 1: CLAMBC=/build/clamav/src/clamav-1.4.1/build/clambc/clambc 1: CLAMD=/build/clamav/src/clamav-1.4.1/build/clamd/clamd 1: CLAMDSCAN=/build/clamav/src/clamav-1.4.1/build/clamdscan/clamdscan 1: CLAMDTOP=/build/clamav/src/clamav-1.4.1/build/clamdtop/clamdtop 1: CLAMSCAN=/build/clamav/src/clamav-1.4.1/build/clamscan/clamscan 1: CLAMSUBMIT=/build/clamav/src/clamav-1.4.1/build/clamsubmit/clamsubmit 1: CLAMCONF=/build/clamav/src/clamav-1.4.1/build/clamconf/clamconf 1: FRESHCLAM=/build/clamav/src/clamav-1.4.1/build/freshclam/freshclam 1: SIGTOOL=/build/clamav/src/clamav-1.4.1/build/sigtool/sigtool 1: CLAMAV_MILTER=/build/clamav/src/clamav-1.4.1/build/clamav-milter/clamav-milter 1: CLAMONACC=/build/clamav/src/clamav-1.4.1/build/clamonacc/clamonacc 1: Test timeout computed to be: 1500 1: ============================= test session starts ============================== 1: platform linux -- Python 3.12.6, pytest-8.3.3, pluggy-1.5.0 -- /usr/bin/python 1: cachedir: .pytest_cache 1: rootdir: /build/clamav/src/clamav-1.4.1/unit_tests 1: collecting ... collected 1 item 1: 1: libclamav_test.py::TC::test_libclamav_00_unit_test FAILED [100%] 1: 1: =================================== FAILURES =================================== 1: ________________________ TC.test_libclamav_00_unit_test ________________________ 1: 1: self = 1: 1: def test_libclamav_00_unit_test(self): 1: self.step_name('libclamav unit tests') 1: 1: # If no valgrind, valgrind nad valgrind args are empty strings 1: command = '{valgrind} {valgrind_args} {check_clamav}'.format( 1: valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, check_clamav=TC.check_clamav 1: ) 1: output = self.execute_command(command) 1: 1: > assert output.ec == 0 # success 1: E assert 1 == 0 1: E + where 1 = CmdResult(ec=1, 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\n97%: Checks: 1221, Failures: 36, Errors: 0\n/usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:214:F:cl_scan_api:test_cl_scandesc:13: cl_scandesc failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: No viruses detected\n/usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:214:F:cl_scan_api:test_cl_scandesc:29: cl_scandesc failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: No viruses detected\n/usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:214:F:cl_scan_api:test_cl_scandesc:33: cl_scandesc failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: No viruses detected\n/usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:241:F:cl_scan_api:test_cl_scandesc_allscan:13: cl_scandesc_allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: No viruses detected\n/usr/src/deb...put/clamav_hdb_scanfiles/clam.chm: No viruses detected\n/usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:731:F:cl_scan_api:test_cl_scanmap_callback_mem:33: cl_scanmap_callback failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: No viruses detected\n/usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:769:F:cl_scan_api:test_cl_scanmap_callback_mem_allscan:13: cl_scanmap_callback allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: No viruses detected\n/usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:769:F:cl_scan_api:test_cl_scanmap_callback_mem_allscan:29: cl_scanmap_callback allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: No viruses detected\n/usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:769:F:cl_scan_api:test_cl_scanmap_callback_mem_allscan:33: cl_scanmap_callback allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: No viruses detected\nNOTICE: Use the 'T' environment variable to adjust testcase timeout\n", err='').ec 1: 1: /build/clamav/src/clamav-1.4.1/unit_tests/libclamav_test.py:47: AssertionError 1: ----------------------------- Captured stdout call ----------------------------- 1: 1: [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1: [INFO]: libclamav unit tests 1: [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1: [DEBUG]: Run command: /build/clamav/src/clamav-1.4.1/build/unit_tests/check_clamav 1: [DEBUG]: Exit code: 1 1: [DEBUG]: stdout: Using default test timeout; alter by setting 'T' env var (in seconds) 1: Running suite(s): cl_suite 1: cli 1: jsnorm 1: str 1: regex 1: disasm 1: unique 1: matchers 1: htmlnorm 1: bytecode 1: 97%: Checks: 1221, Failures: 36, Errors: 0 1: /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:214:F:cl_scan_api:test_cl_scandesc:13: cl_scandesc failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: No viruses detected 1: /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:214:F:cl_scan_api:test_cl_scandesc:29: cl_scandesc failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: No viruses detected 1: /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:214:F:cl_scan_api:test_cl_scandesc:33: cl_scandesc failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: No viruses detected 1: /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:241:F:cl_scan_api:test_cl_scandesc_allscan:13: cl_scandesc_allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: No viruses detected 1: /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:241:F:cl_scan_api:test_cl_scandesc_allscan:29: cl_scandesc_allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: No viruses detected 1: /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:241:F:cl_scan_api:test_cl_scandesc_allscan:33: cl_scandesc_allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: No viruses detected 1: /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:269:F:cl_scan_api:test_cl_scanfile:13: cl_scanfile failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: No viruses detected 1: /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:269:F:cl_scan_api:test_cl_scanfile:29: cl_scanfile failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: No viruses detected 1: /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:269:F:cl_scan_api:test_cl_scanfile:33: cl_scanfile failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: No viruses detected 1: /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:296:F:cl_scan_api:test_cl_scanfile_allscan:13: cl_scanfile_allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: No viruses detected 1: /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:296:F:cl_scan_api:test_cl_scanfile_allscan:29: cl_scanfile_allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: No viruses detected 1: /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:296:F:cl_scan_api:test_cl_scanfile_allscan:33: cl_scanfile_allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: No viruses detected 1: /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:377:F:cl_scan_api:test_cl_scandesc_callback:13: cl_scanfile failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: No viruses detected 1: /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:377:F:cl_scan_api:test_cl_scandesc_callback:29: cl_scanfile failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: No viruses detected 1: /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:377:F:cl_scan_api:test_cl_scandesc_callback:33: cl_scanfile failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: No viruses detected 1: /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:405:F:cl_scan_api:test_cl_scandesc_callback_allscan:13: cl_scanfile_allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: No viruses detected 1: /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:405:F:cl_scan_api:test_cl_scandesc_callback_allscan:29: cl_scanfile_allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: No viruses detected 1: /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:405:F:cl_scan_api:test_cl_scandesc_callback_allscan:33: cl_scanfile_allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: No viruses detected 1: /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:323:F:cl_scan_api:test_cl_scanfile_callback:13: cl_scanfile_cb failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: No viruses detected 1: /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:323:F:cl_scan_api:test_cl_scanfile_callback:29: cl_scanfile_cb failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: No viruses detected 1: /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:323:F:cl_scan_api:test_cl_scanfile_callback:33: cl_scanfile_cb failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: No viruses detected 1: /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:351:F:cl_scan_api:test_cl_scanfile_callback_allscan:13: cl_scanfile_cb_allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: No viruses detected 1: /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:351:F:cl_scan_api:test_cl_scanfile_callback_allscan:29: cl_scanfile_cb_allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: No viruses detected 1: /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:351:F:cl_scan_api:test_cl_scanfile_callback_allscan:33: cl_scanfile_cb_allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: No viruses detected 1: /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:662:F:cl_scan_api:test_cl_scanmap_callback_handle:13: cl_scanmap_callback failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: No viruses detected 1: /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:662:F:cl_scan_api:test_cl_scanmap_callback_handle:29: cl_scanmap_callback failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: No viruses detected 1: /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:662:F:cl_scan_api:test_cl_scanmap_callback_handle:33: cl_scanmap_callback failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: No viruses detected 1: /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:694:F:cl_scan_api:test_cl_scanmap_callback_handle_allscan:13: cl_scanmap_callback allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: No viruses detected 1: /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:694:F:cl_scan_api:test_cl_scanmap_callback_handle_allscan:29: cl_scanmap_callback allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: No viruses detected 1: /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:694:F:cl_scan_api:test_cl_scanmap_callback_handle_allscan:33: cl_scanmap_callback allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: No viruses detected 1: /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:731:F:cl_scan_api:test_cl_scanmap_callback_mem:13: cl_scanmap_callback failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: No viruses detected 1: /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:731:F:cl_scan_api:test_cl_scanmap_callback_mem:29: cl_scanmap_callback failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: No viruses detected 1: /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:731:F:cl_scan_api:test_cl_scanmap_callback_mem:33: cl_scanmap_callback failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: No viruses detected 1: /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:769:F:cl_scan_api:test_cl_scanmap_callback_mem_allscan:13: cl_scanmap_callback allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: No viruses detected 1: /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:769:F:cl_scan_api:test_cl_scanmap_callback_mem_allscan:29: cl_scanmap_callback allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: No viruses detected 1: /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:769:F:cl_scan_api:test_cl_scanmap_callback_mem_allscan:33: cl_scanmap_callback allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: No viruses detected 1: NOTICE: Use the 'T' environment variable to adjust testcase timeout 1: 1: [DEBUG]: stderr: 1: 1: --------------------------- Captured stdout teardown --------------------------- 1: 1: [INFO]: Removed tmp directory: /build/clamav/src/clamav-1.4.1/build/unit_tests/TC-6vfym7qv 1: =========================== short test summary info ============================ 1: FAILED libclamav_test.py::TC::test_libclamav_00_unit_test - assert 1 == 0 1: ============================== 1 failed in 9.88s =============================== 1/3 Test #1: libclamav ........................***Failed 10.33 sec ============================= test session starts ============================== platform linux -- Python 3.12.6, pytest-8.3.3, pluggy-1.5.0 -- /usr/bin/python cachedir: .pytest_cache rootdir: /build/clamav/src/clamav-1.4.1/unit_tests collecting ... collected 1 item libclamav_test.py::TC::test_libclamav_00_unit_test FAILED [100%] =================================== 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 1 == 0 E + where 1 = CmdResult(ec=1, 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\n97%: Checks: 1221, Failures: 36, Errors: 0\n/usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:214:F:cl_scan_api:test_cl_scandesc:13: cl_scandesc failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: No viruses detected\n/usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:214:F:cl_scan_api:test_cl_scandesc:29: cl_scandesc failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: No viruses detected\n/usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:214:F:cl_scan_api:test_cl_scandesc:33: cl_scandesc failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: No viruses detected\n/usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:241:F:cl_scan_api:test_cl_scandesc_allscan:13: cl_scandesc_allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: No viruses detected\n/usr/src/deb...put/clamav_hdb_scanfiles/clam.chm: No viruses detected\n/usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:731:F:cl_scan_api:test_cl_scanmap_callback_mem:33: cl_scanmap_callback failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: No viruses detected\n/usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:769:F:cl_scan_api:test_cl_scanmap_callback_mem_allscan:13: cl_scanmap_callback allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: No viruses detected\n/usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:769:F:cl_scan_api:test_cl_scanmap_callback_mem_allscan:29: cl_scanmap_callback allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: No viruses detected\n/usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:769:F:cl_scan_api:test_cl_scanmap_callback_mem_allscan:33: cl_scanmap_callback allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: No viruses detected\nNOTICE: Use the 'T' environment variable to adjust testcase timeout\n", err='').ec /build/clamav/src/clamav-1.4.1/unit_tests/libclamav_test.py:47: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: libclamav unit tests [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /build/clamav/src/clamav-1.4.1/build/unit_tests/check_clamav [DEBUG]: Exit code: 1 [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 97%: Checks: 1221, Failures: 36, Errors: 0 /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:214:F:cl_scan_api:test_cl_scandesc:13: cl_scandesc failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:214:F:cl_scan_api:test_cl_scandesc:29: cl_scandesc failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:214:F:cl_scan_api:test_cl_scandesc:33: cl_scandesc failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:241:F:cl_scan_api:test_cl_scandesc_allscan:13: cl_scandesc_allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:241:F:cl_scan_api:test_cl_scandesc_allscan:29: cl_scandesc_allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:241:F:cl_scan_api:test_cl_scandesc_allscan:33: cl_scandesc_allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:269:F:cl_scan_api:test_cl_scanfile:13: cl_scanfile failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:269:F:cl_scan_api:test_cl_scanfile:29: cl_scanfile failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:269:F:cl_scan_api:test_cl_scanfile:33: cl_scanfile failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:296:F:cl_scan_api:test_cl_scanfile_allscan:13: cl_scanfile_allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:296:F:cl_scan_api:test_cl_scanfile_allscan:29: cl_scanfile_allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:296:F:cl_scan_api:test_cl_scanfile_allscan:33: cl_scanfile_allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:377:F:cl_scan_api:test_cl_scandesc_callback:13: cl_scanfile failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:377:F:cl_scan_api:test_cl_scandesc_callback:29: cl_scanfile failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:377:F:cl_scan_api:test_cl_scandesc_callback:33: cl_scanfile failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:405:F:cl_scan_api:test_cl_scandesc_callback_allscan:13: cl_scanfile_allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:405:F:cl_scan_api:test_cl_scandesc_callback_allscan:29: cl_scanfile_allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:405:F:cl_scan_api:test_cl_scandesc_callback_allscan:33: cl_scanfile_allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:323:F:cl_scan_api:test_cl_scanfile_callback:13: cl_scanfile_cb failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:323:F:cl_scan_api:test_cl_scanfile_callback:29: cl_scanfile_cb failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:323:F:cl_scan_api:test_cl_scanfile_callback:33: cl_scanfile_cb failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:351:F:cl_scan_api:test_cl_scanfile_callback_allscan:13: cl_scanfile_cb_allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:351:F:cl_scan_api:test_cl_scanfile_callback_allscan:29: cl_scanfile_cb_allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:351:F:cl_scan_api:test_cl_scanfile_callback_allscan:33: cl_scanfile_cb_allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:662:F:cl_scan_api:test_cl_scanmap_callback_handle:13: cl_scanmap_callback failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:662:F:cl_scan_api:test_cl_scanmap_callback_handle:29: cl_scanmap_callback failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:662:F:cl_scan_api:test_cl_scanmap_callback_handle:33: cl_scanmap_callback failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:694:F:cl_scan_api:test_cl_scanmap_callback_handle_allscan:13: cl_scanmap_callback allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:694:F:cl_scan_api:test_cl_scanmap_callback_handle_allscan:29: cl_scanmap_callback allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:694:F:cl_scan_api:test_cl_scanmap_callback_handle_allscan:33: cl_scanmap_callback allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:731:F:cl_scan_api:test_cl_scanmap_callback_mem:13: cl_scanmap_callback failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:731:F:cl_scan_api:test_cl_scanmap_callback_mem:29: cl_scanmap_callback failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:731:F:cl_scan_api:test_cl_scanmap_callback_mem:33: cl_scanmap_callback failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:769:F:cl_scan_api:test_cl_scanmap_callback_mem_allscan:13: cl_scanmap_callback allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:769:F:cl_scan_api:test_cl_scanmap_callback_mem_allscan:29: cl_scanmap_callback allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: No viruses detected /usr/src/debug/clamav/clamav-1.4.1/unit_tests/check_clamav.c:769:F:cl_scan_api:test_cl_scanmap_callback_mem_allscan:33: cl_scanmap_callback allscan failed for /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: No viruses detected NOTICE: Use the 'T' environment variable to adjust testcase timeout [DEBUG]: stderr: --------------------------- Captured stdout teardown --------------------------- [INFO]: Removed tmp directory: /build/clamav/src/clamav-1.4.1/build/unit_tests/TC-6vfym7qv =========================== short test summary info ============================ FAILED libclamav_test.py::TC::test_libclamav_00_unit_test - assert 1 == 0 ============================== 1 failed in 9.88s =============================== test 3 Start 3: clamscan 3: Test command: /usr/bin/pytest "-v" "clamscan" 3: Working Directory: /build/clamav/src/clamav-1.4.1/unit_tests 3: Environment variables: 3: PYTHONTRACEMALLOC=1 3: VERSION=1.4.1 3: SOURCE=/build/clamav/src/clamav-1.4.1 3: BUILD=/build/clamav/src/clamav-1.4.1/build 3: TMP=/build/clamav/src/clamav-1.4.1/build/unit_tests 3: CK_FORK=no 3: CK_DEFAULT_TIMEOUT=300 3: LD_LIBRARY_PATH=/build/clamav/src/clamav-1.4.1/build/libfreshclam:/build/clamav/src/clamav-1.4.1/build/libclamav:/usr/lib::/build/clamav/src/clamav-1.4.1/build/libclamunrar_iface:/build/clamav/src/clamav-1.4.1/build/libclamunrar 3: DYLD_LIBRARY_PATH=/build/clamav/src/clamav-1.4.1/build/libfreshclam:/build/clamav/src/clamav-1.4.1/build/libclamav:/usr/lib::/build/clamav/src/clamav-1.4.1/build/libclamunrar_iface:/build/clamav/src/clamav-1.4.1/build/libclamunrar 3: PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl 3: LIBSSL=/usr/lib/libssl.so 3: LIBCRYPTO=/usr/lib/libcrypto.so 3: LIBZ=/usr/lib/libz.so 3: LIBBZ2=/usr/lib/libbz2.so 3: LIBPCRE2=/usr/lib/libpcre2-8.so 3: LIBXML2=/usr/lib/libxml2.so 3: LIBCURL=/usr/lib/libcurl.so 3: LIBJSONC=/usr/lib/libjson-c.so 3: LIBICONV= 3: LLVM_LIBS= 3: LLVM_DIRS= 3: LIBPTHREADW32= 3: LIBWIN32COMPAT= 3: LIBCLAMAV=/build/clamav/src/clamav-1.4.1/build/libclamav/libclamav.so.12.0.3 3: LIBCLAMMSPACK=/usr/lib/libmspack.so 3: LIBCLAMUNRARIFACE= 3: LIBCLAMUNRAR= 3: CHECK_CLAMAV=/build/clamav/src/clamav-1.4.1/build/unit_tests/check_clamav 3: CHECK_CLAMD=/build/clamav/src/clamav-1.4.1/build/unit_tests/check_clamd 3: CHECK_FPU_ENDIAN=/build/clamav/src/clamav-1.4.1/build/unit_tests/check_fpu_endian 3: CLAMBC=/build/clamav/src/clamav-1.4.1/build/clambc/clambc 3: CLAMD=/build/clamav/src/clamav-1.4.1/build/clamd/clamd 3: CLAMDSCAN=/build/clamav/src/clamav-1.4.1/build/clamdscan/clamdscan 3: CLAMDTOP=/build/clamav/src/clamav-1.4.1/build/clamdtop/clamdtop 3: CLAMSCAN=/build/clamav/src/clamav-1.4.1/build/clamscan/clamscan 3: CLAMSUBMIT=/build/clamav/src/clamav-1.4.1/build/clamsubmit/clamsubmit 3: CLAMCONF=/build/clamav/src/clamav-1.4.1/build/clamconf/clamconf 3: FRESHCLAM=/build/clamav/src/clamav-1.4.1/build/freshclam/freshclam 3: SIGTOOL=/build/clamav/src/clamav-1.4.1/build/sigtool/sigtool 3: CLAMAV_MILTER=/build/clamav/src/clamav-1.4.1/build/clamav-milter/clamav-milter 3: CLAMONACC=/build/clamav/src/clamav-1.4.1/build/clamonacc/clamonacc 3: Test timeout computed to be: 1500 3: ============================= test session starts ============================== 3: platform linux -- Python 3.12.6, pytest-8.3.3, pluggy-1.5.0 -- /usr/bin/python 3: cachedir: .pytest_cache 3: rootdir: /build/clamav/src/clamav-1.4.1/unit_tests 3: collecting ... collected 59 items 3: 3: clamscan/_basic_test.py::TC::test_00_version PASSED [ 1%] 3: clamscan/_basic_test.py::TC::test_01_all_testfiles FAILED [ 3%] 3: clamscan/_basic_test.py::TC::test_02_all_testfiles_ign2 PASSED [ 5%] 3: clamscan/allmatch_test.py::TC::test_exe_imphash_plus_zipsfx PASSED [ 6%] 3: clamscan/allmatch_test.py::TC::test_exe_pattern_plus_zipsfx PASSED [ 8%] 3: clamscan/allmatch_test.py::TC::test_many_sigs PASSED [ 10%] 3: clamscan/allmatch_test.py::TC::test_many_sigs_no_allmatch PASSED [ 11%] 3: clamscan/allmatch_test.py::TC::test_pe_allmatch PASSED [ 13%] 3: clamscan/allmatch_test.py::TC::test_regression_cbc_and_ndb PASSED [ 15%] 3: clamscan/allmatch_test.py::TC::test_regression_imphash_nosize PASSED [ 16%] 3: clamscan/allmatch_test.py::TC::test_txt_plus_clam_zipsfx PASSED [ 18%] 3: clamscan/alz_test.py::TC::test_bzip2 PASSED [ 20%] 3: clamscan/alz_test.py::TC::test_bzip2_with_binary PASSED [ 22%] 3: clamscan/alz_test.py::TC::test_deflate PASSED [ 23%] 3: clamscan/alz_test.py::TC::test_uncompressed PASSED [ 25%] 3: clamscan/alz_test.py::TC::test_uncompressed_with_binary PASSED [ 27%] 3: clamscan/assorted_test.py::TC::test_00_version PASSED [ 28%] 3: clamscan/assorted_test.py::TC::test_iso_missing_joliet PASSED [ 30%] 3: clamscan/assorted_test.py::TC::test_onenote_disabled PASSED [ 32%] 3: clamscan/assorted_test.py::TC::test_pe_cert_block PASSED [ 33%] 3: clamscan/assorted_test.py::TC::test_pe_cert_trust PASSED [ 35%] 3: clamscan/assorted_test.py::TC::test_pe_cert_trust_archive PASSED [ 37%] 3: clamscan/assorted_test.py::TC::test_weak_indicator_icon PASSED [ 38%] 3: clamscan/bytecode_test.py::TC::test_pdf_hook PASSED [ 40%] 3: clamscan/container_sigs_test.py::TC::test_clamscan_container_cache PASSED [ 42%] 3: clamscan/container_sigs_test.py::TC::test_container PASSED [ 44%] 3: clamscan/container_sigs_test.py::TC::test_intermediates PASSED [ 45%] 3: clamscan/container_sigs_test.py::TC::test_intermediates_cache PASSED [ 47%] 3: clamscan/fp_check_test.py::TC::test_alerts_on_normalized PASSED [ 49%] 3: clamscan/fp_check_test.py::TC::test_alerts_on_zip PASSED [ 50%] 3: clamscan/fp_check_test.py::TC::test_fp_for_nonnormalized PASSED [ 52%] 3: clamscan/fp_check_test.py::TC::test_fp_for_nonnormalized_wild PASSED [ 54%] 3: clamscan/fp_check_test.py::TC::test_fp_for_normalized PASSED [ 55%] 3: clamscan/fp_check_test.py::TC::test_fp_for_normalized_wild PASSED [ 57%] 3: clamscan/fp_check_test.py::TC::test_fp_for_zipped_file PASSED [ 59%] 3: clamscan/fp_check_test.py::TC::test_fp_for_zipped_file_wild PASSED [ 61%] 3: clamscan/fuzzy_img_hash_test.py::TC::test_sigs_bad_algorithm PASSED [ 62%] 3: clamscan/fuzzy_img_hash_test.py::TC::test_sigs_bad_hamming PASSED [ 64%] 3: clamscan/fuzzy_img_hash_test.py::TC::test_sigs_bad_hash PASSED [ 66%] 3: clamscan/fuzzy_img_hash_test.py::TC::test_sigs_good_allmatch PASSED [ 67%] 3: clamscan/heuristics_test.py::TC::test_allmatch PASSED [ 69%] 3: clamscan/heuristics_test.py::TC::test_allmatch_precedence PASSED [ 71%] 3: clamscan/heuristics_test.py::TC::test_hidden_by_strong_indicator PASSED [ 72%] 3: clamscan/heuristics_test.py::TC::test_only_heur PASSED [ 74%] 3: clamscan/heuristics_test.py::TC::test_precedence PASSED [ 76%] 3: clamscan/image_extraction_test.py::TC::test_HTML_style_with_detection PASSED [ 77%] 3: clamscan/image_extraction_test.py::TC::test_xls_jpeg_png PASSED [ 79%] 3: clamscan/image_extraction_test.py::TC::test_xls_with_detection PASSED [ 81%] 3: clamscan/lzh_lha_archive_test.py::TC::test_good_archives PASSED [ 83%] 3: clamscan/match_offsets_test.py::TC::test_LDB_VI PASSED [ 84%] 3: clamscan/match_offsets_test.py::TC::test_yara_at_offset PASSED [ 86%] 3: clamscan/match_offsets_test.py::TC::test_yara_in_range PASSED [ 88%] 3: clamscan/phishing_test.py::TC::test_not_enabled PASSED [ 89%] 3: clamscan/phishing_test.py::TC::test_ssl_and_cloak PASSED [ 91%] 3: clamscan/regex_test.py::TC::test_ldb_multi_pcre PASSED [ 93%] 3: clamscan/regex_test.py::TC::test_ldb_offset_pcre PASSED [ 94%] 3: clamscan/regex_test.py::TC::test_pcre_flag PASSED [ 96%] 3: clamscan/regex_test.py::TC::test_slash_colon PASSED [ 98%] 3: clamscan/regex_test.py::TC::test_yara PASSED [100%] 3: 3: =================================== FAILURES =================================== 3: ___________________________ TC.test_01_all_testfiles ___________________________ 3: 3: self = <_basic_test.TC testMethod=test_01_all_testfiles> 3: 3: def test_01_all_testfiles(self): 3: self.step_name('Test that clamscan alerts on all test files') 3: 3: testfiles = ' '.join([str(testpath) for testpath in TC.testpaths]) 3: command = '{valgrind} {valgrind_args} {clamscan} -d {path_db} {testfiles}'.format( 3: valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, 3: clamscan=TC.clamscan, 3: path_db=TC.path_db / 'clamav.hdb', 3: testfiles=testfiles, 3: ) 3: output = self.execute_command(command) 3: 3: assert output.ec == 1 # virus found 3: 3: expected_results = ['{}: ClamAV-Test-File.UNOFFICIAL FOUND'.format(testpath.name) for testpath in TC.testpaths] 3: expected_results.append('Scanned files: {}'.format(len(TC.testpaths))) 3: expected_results.append('Infected files: {}'.format(len(TC.testpaths))) 3: > self.verify_output(output.out, expected=expected_results) 3: 3: /build/clamav/src/clamav-1.4.1/unit_tests/clamscan/_basic_test.py:73: 3: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 3: /build/clamav/src/clamav-1.4.1/unit_tests/testcase.py:248: in verify_output 3: log_checker.verify_expected_output(expected, text, order=order) 3: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 3: 3: self = 3: expected_items = ['clam.exe.mbox.uu: ClamAV-Test-File.UNOFFICIAL FOUND', 'clam-nsis.exe: ClamAV-Test-File.UNOFFICIAL FOUND', 'clam.bin-...CIAL FOUND', 'clam.d64.zip: ClamAV-Test-File.UNOFFICIAL FOUND', 'clam.ole.doc: ClamAV-Test-File.UNOFFICIAL FOUND', ...] 3: output = '/build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: ClamAV-Test-File.UNOFFIC... 9.51 MB (ratio 1.50:1)\nTime: 0.233 sec (0 m 0 s)\nStart Date: 2024:10:09 01:12:30\nEnd Date: 2024:10:09 01:12:30\n' 3: order = 1 3: 3: def verify_expected_output(self, expected_items, output, order=STRICT_ORDER): 3: """Check presence of regex patterns in output string. 3: 3: :Parameters: 3: - `expected_items`: a list of regex patterns that should be found 3: in `output`. 3: - `output`: a string with output to verify. 3: - `order`: STRICT_ORDER, ANY_ORDER. 3: 3: :Exceptions: 3: - `AssertionError`: is raised if: 3: 1)`output` is not a string. 3: 2) one of expected items was not found in `output`. 3: 3) items were found in wrong order. 3: """ 3: if output != None and not isinstance(output, str): 3: output = output.decode("utf-8", "ignore") 3: assert isinstance(output, str), "`output` must be a string." 3: expected_items = self._prepare_value(expected_items) 3: 3: last_found_position = 0 3: for item in expected_items: 3: pattern = re.compile(item) 3: match = pattern.search(output) 3: > assert match, "Expected item `%s` not found in output:\n%s" % ( 3: item, 3: output, 3: ) 3: E AssertionError: Expected item `clam.cab: ClamAV-Test-File.UNOFFICIAL FOUND` not found in output: 3: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: ClamAV-Test-File.UNOFFICIAL FOUND 3: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe: ClamAV-Test-File.UNOFFICIAL FOUND 3: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio: ClamAV-Test-File.UNOFFICIAL FOUND 3: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: ClamAV-Test-File.UNOFFICIAL FOUND 3: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip: ClamAV-Test-File.UNOFFICIAL FOUND 3: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc: ClamAV-Test-File.UNOFFICIAL FOUND 3: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND 3: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe: ClamAV-Test-File.UNOFFICIAL FOUND 3: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe: ClamAV-Test-File.UNOFFICIAL FOUND 3: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: ClamAV-Test-File.UNOFFICIAL FOUND 3: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe: ClamAV-Test-File.UNOFFICIAL FOUND 3: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-v2.rar: ClamAV-Test-File.UNOFFICIAL FOUND 3: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND 3: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: OK 3: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe: ClamAV-Test-File.UNOFFICIAL FOUND 3: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: ClamAV-Test-File.UNOFFICIAL FOUND 3: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: ClamAV-Test-File.UNOFFICIAL FOUND 3: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.webapp-export.one: ClamAV-Test-File.UNOFFICIAL FOUND 3: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html: ClamAV-Test-File.UNOFFICIAL FOUND 3: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: ClamAV-Test-File.UNOFFICIAL FOUND 3: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip: ClamAV-Test-File.UNOFFICIAL FOUND 3: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: ClamAV-Test-File.UNOFFICIAL FOUND 3: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.2007.one: ClamAV-Test-File.UNOFFICIAL FOUND 3: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe: ClamAV-Test-File.UNOFFICIAL FOUND 3: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe: ClamAV-Test-File.UNOFFICIAL FOUND 3: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-v3.rar: ClamAV-Test-File.UNOFFICIAL FOUND 3: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: ClamAV-Test-File.UNOFFICIAL FOUND 3: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef: ClamAV-Test-File.UNOFFICIAL FOUND 3: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.2010.one: ClamAV-Test-File.UNOFFICIAL FOUND 3: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: OK 3: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND 3: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND 3: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64: ClamAV-Test-File.UNOFFICIAL FOUND 3: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: OK 3: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: ClamAV-Test-File.UNOFFICIAL FOUND 3: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe: ClamAV-Test-File.UNOFFICIAL FOUND 3: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: ClamAV-Test-File.UNOFFICIAL FOUND 3: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe: ClamAV-Test-File.UNOFFICIAL FOUND 3: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe: ClamAV-Test-File.UNOFFICIAL FOUND 3: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.mail: ClamAV-Test-File.UNOFFICIAL FOUND 3: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe: ClamAV-Test-File.UNOFFICIAL FOUND 3: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND 3: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: ClamAV-Test-File.UNOFFICIAL FOUND 3: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: ClamAV-Test-File.UNOFFICIAL FOUND 3: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt: ClamAV-Test-File.UNOFFICIAL FOUND 3: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND 3: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio: ClamAV-Test-File.UNOFFICIAL FOUND 3: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: ClamAV-Test-File.UNOFFICIAL FOUND 3: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex: ClamAV-Test-File.UNOFFICIAL FOUND 3: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: ClamAV-Test-File.UNOFFICIAL FOUND 3: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND 3: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe: ClamAV-Test-File.UNOFFICIAL FOUND 3: E 3: E ----------- SCAN SUMMARY ----------- 3: E Known viruses: 1 3: E Engine version: 1.4.1 3: E Scanned directories: 0 3: E Scanned files: 52 3: E Infected files: 49 3: E Data scanned: 14.26 MB 3: E Data read: 9.51 MB (ratio 1.50:1) 3: E Time: 0.233 sec (0 m 0 s) 3: E Start Date: 2024:10:09 01:12:30 3: E End Date: 2024:10:09 01:12:30 3: 3: /build/clamav/src/clamav-1.4.1/unit_tests/testcase.py:794: AssertionError 3: ----------------------------- Captured stdout call ----------------------------- 3: 3: [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3: [INFO]: Test that clamscan alerts on all test files 3: [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3: [DEBUG]: Run command: /build/clamav/src/clamav-1.4.1/build/clamscan/clamscan -d /build/clamav/src/clamav-1.4.1/build/unit_tests/TC-hgjsxpyo/database/clamav.hdb /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.zip /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-v2.rar /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.webapp-export.one /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.2007.one /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-v3.rar /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.iso /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.2010.one /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64 /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2 /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.mail /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.arj /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.sis /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.7z /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe 3: [DEBUG]: Exit code: 1 3: [DEBUG]: stdout: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: ClamAV-Test-File.UNOFFICIAL FOUND 3: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe: ClamAV-Test-File.UNOFFICIAL FOUND 3: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio: ClamAV-Test-File.UNOFFICIAL FOUND 3: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: ClamAV-Test-File.UNOFFICIAL FOUND 3: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip: ClamAV-Test-File.UNOFFICIAL FOUND 3: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc: ClamAV-Test-File.UNOFFICIAL FOUND 3: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND 3: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe: ClamAV-Test-File.UNOFFICIAL FOUND 3: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe: ClamAV-Test-File.UNOFFICIAL FOUND 3: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: ClamAV-Test-File.UNOFFICIAL FOUND 3: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe: ClamAV-Test-File.UNOFFICIAL FOUND 3: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-v2.rar: ClamAV-Test-File.UNOFFICIAL FOUND 3: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND 3: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: OK 3: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe: ClamAV-Test-File.UNOFFICIAL FOUND 3: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: ClamAV-Test-File.UNOFFICIAL FOUND 3: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: ClamAV-Test-File.UNOFFICIAL FOUND 3: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.webapp-export.one: ClamAV-Test-File.UNOFFICIAL FOUND 3: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html: ClamAV-Test-File.UNOFFICIAL FOUND 3: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: ClamAV-Test-File.UNOFFICIAL FOUND 3: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip: ClamAV-Test-File.UNOFFICIAL FOUND 3: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: ClamAV-Test-File.UNOFFICIAL FOUND 3: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.2007.one: ClamAV-Test-File.UNOFFICIAL FOUND 3: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe: ClamAV-Test-File.UNOFFICIAL FOUND 3: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe: ClamAV-Test-File.UNOFFICIAL FOUND 3: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-v3.rar: ClamAV-Test-File.UNOFFICIAL FOUND 3: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: ClamAV-Test-File.UNOFFICIAL FOUND 3: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef: ClamAV-Test-File.UNOFFICIAL FOUND 3: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.2010.one: ClamAV-Test-File.UNOFFICIAL FOUND 3: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: OK 3: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND 3: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND 3: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64: ClamAV-Test-File.UNOFFICIAL FOUND 3: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: OK 3: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: ClamAV-Test-File.UNOFFICIAL FOUND 3: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe: ClamAV-Test-File.UNOFFICIAL FOUND 3: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: ClamAV-Test-File.UNOFFICIAL FOUND 3: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe: ClamAV-Test-File.UNOFFICIAL FOUND 3: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe: ClamAV-Test-File.UNOFFICIAL FOUND 3: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.mail: ClamAV-Test-File.UNOFFICIAL FOUND 3: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe: ClamAV-Test-File.UNOFFICIAL FOUND 3: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND 3: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: ClamAV-Test-File.UNOFFICIAL FOUND 3: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: ClamAV-Test-File.UNOFFICIAL FOUND 3: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt: ClamAV-Test-File.UNOFFICIAL FOUND 3: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND 3: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio: ClamAV-Test-File.UNOFFICIAL FOUND 3: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: ClamAV-Test-File.UNOFFICIAL FOUND 3: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex: ClamAV-Test-File.UNOFFICIAL FOUND 3: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: ClamAV-Test-File.UNOFFICIAL FOUND 3: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND 3: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe: ClamAV-Test-File.UNOFFICIAL FOUND 3: 3: ----------- SCAN SUMMARY ----------- 3: Known viruses: 1 3: Engine version: 1.4.1 3: Scanned directories: 0 3: Scanned files: 52 3: Infected files: 49 3: Data scanned: 14.26 MB 3: Data read: 9.51 MB (ratio 1.50:1) 3: Time: 0.233 sec (0 m 0 s) 3: Start Date: 2024:10:09 01:12:30 3: End Date: 2024:10:09 01:12:30 3: 3: [DEBUG]: stderr: 3: 3: =========================== short test summary info ============================ 3: FAILED clamscan/_basic_test.py::TC::test_01_all_testfiles - AssertionError: E... 3: ========================= 1 failed, 58 passed in 7.43s ========================= 2/3 Test #3: clamscan .........................***Failed 7.88 sec ============================= test session starts ============================== platform linux -- Python 3.12.6, pytest-8.3.3, pluggy-1.5.0 -- /usr/bin/python cachedir: .pytest_cache rootdir: /build/clamav/src/clamav-1.4.1/unit_tests collecting ... collected 59 items clamscan/_basic_test.py::TC::test_00_version PASSED [ 1%] clamscan/_basic_test.py::TC::test_01_all_testfiles FAILED [ 3%] clamscan/_basic_test.py::TC::test_02_all_testfiles_ign2 PASSED [ 5%] clamscan/allmatch_test.py::TC::test_exe_imphash_plus_zipsfx PASSED [ 6%] clamscan/allmatch_test.py::TC::test_exe_pattern_plus_zipsfx PASSED [ 8%] clamscan/allmatch_test.py::TC::test_many_sigs PASSED [ 10%] clamscan/allmatch_test.py::TC::test_many_sigs_no_allmatch PASSED [ 11%] clamscan/allmatch_test.py::TC::test_pe_allmatch PASSED [ 13%] clamscan/allmatch_test.py::TC::test_regression_cbc_and_ndb PASSED [ 15%] clamscan/allmatch_test.py::TC::test_regression_imphash_nosize PASSED [ 16%] clamscan/allmatch_test.py::TC::test_txt_plus_clam_zipsfx PASSED [ 18%] clamscan/alz_test.py::TC::test_bzip2 PASSED [ 20%] clamscan/alz_test.py::TC::test_bzip2_with_binary PASSED [ 22%] clamscan/alz_test.py::TC::test_deflate PASSED [ 23%] clamscan/alz_test.py::TC::test_uncompressed PASSED [ 25%] clamscan/alz_test.py::TC::test_uncompressed_with_binary PASSED [ 27%] clamscan/assorted_test.py::TC::test_00_version PASSED [ 28%] clamscan/assorted_test.py::TC::test_iso_missing_joliet PASSED [ 30%] clamscan/assorted_test.py::TC::test_onenote_disabled PASSED [ 32%] clamscan/assorted_test.py::TC::test_pe_cert_block PASSED [ 33%] clamscan/assorted_test.py::TC::test_pe_cert_trust PASSED [ 35%] clamscan/assorted_test.py::TC::test_pe_cert_trust_archive PASSED [ 37%] clamscan/assorted_test.py::TC::test_weak_indicator_icon PASSED [ 38%] clamscan/bytecode_test.py::TC::test_pdf_hook PASSED [ 40%] clamscan/container_sigs_test.py::TC::test_clamscan_container_cache PASSED [ 42%] clamscan/container_sigs_test.py::TC::test_container PASSED [ 44%] clamscan/container_sigs_test.py::TC::test_intermediates PASSED [ 45%] clamscan/container_sigs_test.py::TC::test_intermediates_cache PASSED [ 47%] clamscan/fp_check_test.py::TC::test_alerts_on_normalized PASSED [ 49%] clamscan/fp_check_test.py::TC::test_alerts_on_zip PASSED [ 50%] clamscan/fp_check_test.py::TC::test_fp_for_nonnormalized PASSED [ 52%] clamscan/fp_check_test.py::TC::test_fp_for_nonnormalized_wild PASSED [ 54%] clamscan/fp_check_test.py::TC::test_fp_for_normalized PASSED [ 55%] clamscan/fp_check_test.py::TC::test_fp_for_normalized_wild PASSED [ 57%] clamscan/fp_check_test.py::TC::test_fp_for_zipped_file PASSED [ 59%] clamscan/fp_check_test.py::TC::test_fp_for_zipped_file_wild PASSED [ 61%] clamscan/fuzzy_img_hash_test.py::TC::test_sigs_bad_algorithm PASSED [ 62%] clamscan/fuzzy_img_hash_test.py::TC::test_sigs_bad_hamming PASSED [ 64%] clamscan/fuzzy_img_hash_test.py::TC::test_sigs_bad_hash PASSED [ 66%] clamscan/fuzzy_img_hash_test.py::TC::test_sigs_good_allmatch PASSED [ 67%] clamscan/heuristics_test.py::TC::test_allmatch PASSED [ 69%] clamscan/heuristics_test.py::TC::test_allmatch_precedence PASSED [ 71%] clamscan/heuristics_test.py::TC::test_hidden_by_strong_indicator PASSED [ 72%] clamscan/heuristics_test.py::TC::test_only_heur PASSED [ 74%] clamscan/heuristics_test.py::TC::test_precedence PASSED [ 76%] clamscan/image_extraction_test.py::TC::test_HTML_style_with_detection PASSED [ 77%] clamscan/image_extraction_test.py::TC::test_xls_jpeg_png PASSED [ 79%] clamscan/image_extraction_test.py::TC::test_xls_with_detection PASSED [ 81%] clamscan/lzh_lha_archive_test.py::TC::test_good_archives PASSED [ 83%] clamscan/match_offsets_test.py::TC::test_LDB_VI PASSED [ 84%] clamscan/match_offsets_test.py::TC::test_yara_at_offset PASSED [ 86%] clamscan/match_offsets_test.py::TC::test_yara_in_range PASSED [ 88%] clamscan/phishing_test.py::TC::test_not_enabled PASSED [ 89%] clamscan/phishing_test.py::TC::test_ssl_and_cloak PASSED [ 91%] clamscan/regex_test.py::TC::test_ldb_multi_pcre PASSED [ 93%] clamscan/regex_test.py::TC::test_ldb_offset_pcre PASSED [ 94%] clamscan/regex_test.py::TC::test_pcre_flag PASSED [ 96%] clamscan/regex_test.py::TC::test_slash_colon PASSED [ 98%] clamscan/regex_test.py::TC::test_yara PASSED [100%] =================================== FAILURES =================================== ___________________________ 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 expected_results = ['{}: ClamAV-Test-File.UNOFFICIAL FOUND'.format(testpath.name) for testpath in TC.testpaths] expected_results.append('Scanned files: {}'.format(len(TC.testpaths))) expected_results.append('Infected files: {}'.format(len(TC.testpaths))) > self.verify_output(output.out, expected=expected_results) /build/clamav/src/clamav-1.4.1/unit_tests/clamscan/_basic_test.py:73: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /build/clamav/src/clamav-1.4.1/unit_tests/testcase.py:248: in verify_output log_checker.verify_expected_output(expected, text, order=order) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = expected_items = ['clam.exe.mbox.uu: ClamAV-Test-File.UNOFFICIAL FOUND', 'clam-nsis.exe: ClamAV-Test-File.UNOFFICIAL FOUND', 'clam.bin-...CIAL FOUND', 'clam.d64.zip: ClamAV-Test-File.UNOFFICIAL FOUND', 'clam.ole.doc: ClamAV-Test-File.UNOFFICIAL FOUND', ...] output = '/build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: ClamAV-Test-File.UNOFFIC... 9.51 MB (ratio 1.50:1)\nTime: 0.233 sec (0 m 0 s)\nStart Date: 2024:10:09 01:12:30\nEnd Date: 2024:10:09 01:12:30\n' order = 1 def verify_expected_output(self, expected_items, output, order=STRICT_ORDER): """Check presence of regex patterns in output string. :Parameters: - `expected_items`: a list of regex patterns that should be found in `output`. - `output`: a string with output to verify. - `order`: STRICT_ORDER, ANY_ORDER. :Exceptions: - `AssertionError`: is raised if: 1)`output` is not a string. 2) one of expected items was not found in `output`. 3) items were found in wrong order. """ if output != None and not isinstance(output, str): output = output.decode("utf-8", "ignore") assert isinstance(output, str), "`output` must be a string." expected_items = self._prepare_value(expected_items) last_found_position = 0 for item in expected_items: pattern = re.compile(item) match = pattern.search(output) > assert match, "Expected item `%s` not found in output:\n%s" % ( item, output, ) E AssertionError: Expected item `clam.cab: ClamAV-Test-File.UNOFFICIAL FOUND` not found in output: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-v2.rar: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: OK E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.webapp-export.one: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.2007.one: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-v3.rar: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.2010.one: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: OK E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: OK E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.mail: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe: ClamAV-Test-File.UNOFFICIAL FOUND E E ----------- SCAN SUMMARY ----------- E Known viruses: 1 E Engine version: 1.4.1 E Scanned directories: 0 E Scanned files: 52 E Infected files: 49 E Data scanned: 14.26 MB E Data read: 9.51 MB (ratio 1.50:1) E Time: 0.233 sec (0 m 0 s) E Start Date: 2024:10:09 01:12:30 E End Date: 2024:10:09 01:12:30 /build/clamav/src/clamav-1.4.1/unit_tests/testcase.py:794: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that clamscan alerts on all test files [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /build/clamav/src/clamav-1.4.1/build/clamscan/clamscan -d /build/clamav/src/clamav-1.4.1/build/unit_tests/TC-hgjsxpyo/database/clamav.hdb /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.zip /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-v2.rar /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.webapp-export.one /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.2007.one /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-v3.rar /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.iso /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.2010.one /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64 /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2 /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.mail /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.arj /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.sis /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.7z /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe [DEBUG]: Exit code: 1 [DEBUG]: stdout: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-v2.rar: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: OK /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.webapp-export.one: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.2007.one: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-v3.rar: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.2010.one: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: OK /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: OK /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.mail: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe: ClamAV-Test-File.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.4.1 Scanned directories: 0 Scanned files: 52 Infected files: 49 Data scanned: 14.26 MB Data read: 9.51 MB (ratio 1.50:1) Time: 0.233 sec (0 m 0 s) Start Date: 2024:10:09 01:12:30 End Date: 2024:10:09 01:12:30 [DEBUG]: stderr: =========================== short test summary info ============================ FAILED clamscan/_basic_test.py::TC::test_01_all_testfiles - AssertionError: E... ========================= 1 failed, 58 passed in 7.43s ========================= test 4 Start 4: clamd 4: Test command: /usr/bin/pytest "-v" "clamd_test.py" 4: Working Directory: /build/clamav/src/clamav-1.4.1/unit_tests 4: Environment variables: 4: PYTHONTRACEMALLOC=1 4: VERSION=1.4.1 4: SOURCE=/build/clamav/src/clamav-1.4.1 4: BUILD=/build/clamav/src/clamav-1.4.1/build 4: TMP=/build/clamav/src/clamav-1.4.1/build/unit_tests 4: CK_FORK=no 4: CK_DEFAULT_TIMEOUT=300 4: LD_LIBRARY_PATH=/build/clamav/src/clamav-1.4.1/build/libfreshclam:/build/clamav/src/clamav-1.4.1/build/libclamav:/usr/lib::/build/clamav/src/clamav-1.4.1/build/libclamunrar_iface:/build/clamav/src/clamav-1.4.1/build/libclamunrar 4: DYLD_LIBRARY_PATH=/build/clamav/src/clamav-1.4.1/build/libfreshclam:/build/clamav/src/clamav-1.4.1/build/libclamav:/usr/lib::/build/clamav/src/clamav-1.4.1/build/libclamunrar_iface:/build/clamav/src/clamav-1.4.1/build/libclamunrar 4: PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl 4: LIBSSL=/usr/lib/libssl.so 4: LIBCRYPTO=/usr/lib/libcrypto.so 4: LIBZ=/usr/lib/libz.so 4: LIBBZ2=/usr/lib/libbz2.so 4: LIBPCRE2=/usr/lib/libpcre2-8.so 4: LIBXML2=/usr/lib/libxml2.so 4: LIBCURL=/usr/lib/libcurl.so 4: LIBJSONC=/usr/lib/libjson-c.so 4: LIBICONV= 4: LLVM_LIBS= 4: LLVM_DIRS= 4: LIBPTHREADW32= 4: LIBWIN32COMPAT= 4: LIBCLAMAV=/build/clamav/src/clamav-1.4.1/build/libclamav/libclamav.so.12.0.3 4: LIBCLAMMSPACK=/usr/lib/libmspack.so 4: LIBCLAMUNRARIFACE= 4: LIBCLAMUNRAR= 4: CHECK_CLAMAV=/build/clamav/src/clamav-1.4.1/build/unit_tests/check_clamav 4: CHECK_CLAMD=/build/clamav/src/clamav-1.4.1/build/unit_tests/check_clamd 4: CHECK_FPU_ENDIAN=/build/clamav/src/clamav-1.4.1/build/unit_tests/check_fpu_endian 4: CLAMBC=/build/clamav/src/clamav-1.4.1/build/clambc/clambc 4: CLAMD=/build/clamav/src/clamav-1.4.1/build/clamd/clamd 4: CLAMDSCAN=/build/clamav/src/clamav-1.4.1/build/clamdscan/clamdscan 4: CLAMDTOP=/build/clamav/src/clamav-1.4.1/build/clamdtop/clamdtop 4: CLAMSCAN=/build/clamav/src/clamav-1.4.1/build/clamscan/clamscan 4: CLAMSUBMIT=/build/clamav/src/clamav-1.4.1/build/clamsubmit/clamsubmit 4: CLAMCONF=/build/clamav/src/clamav-1.4.1/build/clamconf/clamconf 4: FRESHCLAM=/build/clamav/src/clamav-1.4.1/build/freshclam/freshclam 4: SIGTOOL=/build/clamav/src/clamav-1.4.1/build/sigtool/sigtool 4: CLAMAV_MILTER=/build/clamav/src/clamav-1.4.1/build/clamav-milter/clamav-milter 4: CLAMONACC=/build/clamav/src/clamav-1.4.1/build/clamonacc/clamonacc 4: Test timeout computed to be: 1500 4: ============================= test session starts ============================== 4: platform linux -- Python 3.12.6, pytest-8.3.3, pluggy-1.5.0 -- /usr/bin/python 4: cachedir: .pytest_cache 4: rootdir: /build/clamav/src/clamav-1.4.1/unit_tests 4: collecting ... collected 13 items 4: 4: clamd_test.py::TC::test_clamd_00_version PASSED [ 7%] 4: clamd_test.py::TC::test_clamd_01_ping_pong PASSED [ 15%] 4: clamd_test.py::TC::test_clamd_02_clamdscan_version PASSED [ 23%] 4: clamd_test.py::TC::test_clamd_03_reload PASSED [ 30%] 4: clamd_test.py::TC::test_clamd_04_all_testfiles FAILED [ 38%] 4: clamd_test.py::TC::test_clamd_05_check_clamd PASSED [ 46%] 4: clamd_test.py::TC::test_clamd_06_HeuristicScanPrecedence_off PASSED [ 53%] 4: clamd_test.py::TC::test_clamd_07_HeuristicScanPrecedence_on PASSED [ 61%] 4: clamd_test.py::TC::test_clamd_08_VirusEvent PASSED [ 69%] 4: clamd_test.py::TC::test_clamd_09_clamdscan_ExcludePath PASSED [ 76%] 4: clamd_test.py::TC::test_clamd_10_allmatch_not_sticky PASSED [ 84%] 4: clamd_test.py::TC::test_clamd_11_alertexceedsmax_maxfilesize PASSED [ 92%] 4: clamd_test.py::TC::test_clamd_12_onenote_disabled PASSED [100%] 4: 4: =================================== FAILURES =================================== 4: ________________________ TC.test_clamd_04_all_testfiles ________________________ 4: 4: self = 4: 4: def test_clamd_04_all_testfiles(self): 4: ''' 4: Verify that clamd + clamdscan detect each of our /unit_tests/input/clamav_hdb_scanfiles/clam* test files. 4: ''' 4: self.step_name('Testing clamd + clamdscan scan of all `test` files') 4: 4: self.start_clamd() 4: 4: poll = self.proc.poll() 4: assert poll == None # subprocess is alive if poll() returns None 4: 4: testfiles = ' '.join([str(testpath) for testpath in TC.testpaths]) 4: expected_results = ['{}: ClamAV-Test-File.UNOFFICIAL FOUND'.format(testpath.name) for testpath in TC.testpaths] 4: expected_results.append('Infected files: {}'.format(len(TC.testpaths))) 4: 4: > self.run_clamdscan(testfiles, 4: expected_ec=1, expected_out=expected_results) 4: 4: /build/clamav/src/clamav-1.4.1/unit_tests/clamd_test.py:367: 4: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 4: /build/clamav/src/clamav-1.4.1/unit_tests/clamd_test.py:200: in run_clamdscan 4: self.verify_output(output.out, expected=expected_out, unexpected=unexpected_out) 4: /build/clamav/src/clamav-1.4.1/unit_tests/testcase.py:248: in verify_output 4: log_checker.verify_expected_output(expected, text, order=order) 4: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 4: 4: self = 4: expected_items = ['clam.exe.mbox.uu: ClamAV-Test-File.UNOFFICIAL FOUND', 'clam-nsis.exe: ClamAV-Test-File.UNOFFICIAL FOUND', 'clam.bin-...CIAL FOUND', 'clam.d64.zip: ClamAV-Test-File.UNOFFICIAL FOUND', 'clam.ole.doc: ClamAV-Test-File.UNOFFICIAL FOUND', ...] 4: output = '/build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: ClamAV-Test-File.UNOFFIC...---\nInfected files: 49\nTime: 0.255 sec (0 m 0 s)\nStart Date: 2024:10:09 01:12:40\nEnd Date: 2024:10:09 01:12:40\n' 4: order = 1 4: 4: def verify_expected_output(self, expected_items, output, order=STRICT_ORDER): 4: """Check presence of regex patterns in output string. 4: 4: :Parameters: 4: - `expected_items`: a list of regex patterns that should be found 4: in `output`. 4: - `output`: a string with output to verify. 4: - `order`: STRICT_ORDER, ANY_ORDER. 4: 4: :Exceptions: 4: - `AssertionError`: is raised if: 4: 1)`output` is not a string. 4: 2) one of expected items was not found in `output`. 4: 3) items were found in wrong order. 4: """ 4: if output != None and not isinstance(output, str): 4: output = output.decode("utf-8", "ignore") 4: assert isinstance(output, str), "`output` must be a string." 4: expected_items = self._prepare_value(expected_items) 4: 4: last_found_position = 0 4: for item in expected_items: 4: pattern = re.compile(item) 4: match = pattern.search(output) 4: > assert match, "Expected item `%s` not found in output:\n%s" % ( 4: item, 4: output, 4: ) 4: E AssertionError: Expected item `clam.cab: ClamAV-Test-File.UNOFFICIAL FOUND` not found in output: 4: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: ClamAV-Test-File.UNOFFICIAL FOUND 4: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe: ClamAV-Test-File.UNOFFICIAL FOUND 4: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio: ClamAV-Test-File.UNOFFICIAL FOUND 4: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: ClamAV-Test-File.UNOFFICIAL FOUND 4: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip: ClamAV-Test-File.UNOFFICIAL FOUND 4: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc: ClamAV-Test-File.UNOFFICIAL FOUND 4: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND 4: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe: ClamAV-Test-File.UNOFFICIAL FOUND 4: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe: ClamAV-Test-File.UNOFFICIAL FOUND 4: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: ClamAV-Test-File.UNOFFICIAL FOUND 4: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe: ClamAV-Test-File.UNOFFICIAL FOUND 4: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-v2.rar: ClamAV-Test-File.UNOFFICIAL FOUND 4: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND 4: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: OK 4: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe: ClamAV-Test-File.UNOFFICIAL FOUND 4: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: ClamAV-Test-File.UNOFFICIAL FOUND 4: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: ClamAV-Test-File.UNOFFICIAL FOUND 4: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.webapp-export.one: ClamAV-Test-File.UNOFFICIAL FOUND 4: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html: ClamAV-Test-File.UNOFFICIAL FOUND 4: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: ClamAV-Test-File.UNOFFICIAL FOUND 4: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip: ClamAV-Test-File.UNOFFICIAL FOUND 4: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: ClamAV-Test-File.UNOFFICIAL FOUND 4: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.2007.one: ClamAV-Test-File.UNOFFICIAL FOUND 4: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe: ClamAV-Test-File.UNOFFICIAL FOUND 4: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe: ClamAV-Test-File.UNOFFICIAL FOUND 4: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-v3.rar: ClamAV-Test-File.UNOFFICIAL FOUND 4: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: ClamAV-Test-File.UNOFFICIAL FOUND 4: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef: ClamAV-Test-File.UNOFFICIAL FOUND 4: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.2010.one: ClamAV-Test-File.UNOFFICIAL FOUND 4: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: OK 4: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND 4: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND 4: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64: ClamAV-Test-File.UNOFFICIAL FOUND 4: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: OK 4: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: ClamAV-Test-File.UNOFFICIAL FOUND 4: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe: ClamAV-Test-File.UNOFFICIAL FOUND 4: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: ClamAV-Test-File.UNOFFICIAL FOUND 4: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe: ClamAV-Test-File.UNOFFICIAL FOUND 4: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe: ClamAV-Test-File.UNOFFICIAL FOUND 4: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.mail: ClamAV-Test-File.UNOFFICIAL FOUND 4: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe: ClamAV-Test-File.UNOFFICIAL FOUND 4: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND 4: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: ClamAV-Test-File.UNOFFICIAL FOUND 4: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: ClamAV-Test-File.UNOFFICIAL FOUND 4: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt: ClamAV-Test-File.UNOFFICIAL FOUND 4: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND 4: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio: ClamAV-Test-File.UNOFFICIAL FOUND 4: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: ClamAV-Test-File.UNOFFICIAL FOUND 4: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex: ClamAV-Test-File.UNOFFICIAL FOUND 4: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: ClamAV-Test-File.UNOFFICIAL FOUND 4: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND 4: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe: ClamAV-Test-File.UNOFFICIAL FOUND 4: E 4: E ----------- SCAN SUMMARY ----------- 4: E Infected files: 49 4: E Time: 0.255 sec (0 m 0 s) 4: E Start Date: 2024:10:09 01:12:40 4: E End Date: 2024:10:09 01:12:40 4: 4: /build/clamav/src/clamav-1.4.1/unit_tests/testcase.py:794: AssertionError 4: ----------------------------- Captured stdout call ----------------------------- 4: 4: [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4: [INFO]: Testing clamd + clamdscan scan of all `test` files 4: [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4: [INFO]: Starting clamd: /build/clamav/src/clamav-1.4.1/build/clamd/clamd --config-file=/build/clamav/src/clamav-1.4.1/build/unit_tests/TC-15i4e7vt/clamd-test.conf 4: [DEBUG]: Run command: /build/clamav/src/clamav-1.4.1/build/clamdscan/clamdscan --ping 5 --wait /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.zip /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-v2.rar /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.webapp-export.one /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.2007.one /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-v3.rar /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.iso /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.2010.one /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64 /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2 /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.mail /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.arj /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.sis /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.7z /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe -c /build/clamav/src/clamav-1.4.1/build/unit_tests/TC-15i4e7vt/clamd-test.conf 4: Wed Oct 9 01:12:40 2024 -> Limits: Global time limit set to 120000 milliseconds. 4: Wed Oct 9 01:12:40 2024 -> Limits: Global size limit set to 419430400 bytes. 4: Wed Oct 9 01:12:40 2024 -> Limits: File size limit set to 104857600 bytes. 4: Wed Oct 9 01:12:40 2024 -> Limits: Recursion level limit set to 17. 4: Wed Oct 9 01:12:40 2024 -> Limits: Files limit set to 10000. 4: Wed Oct 9 01:12:40 2024 -> Limits: Core-dump limit is 0. 4: Wed Oct 9 01:12:40 2024 -> Limits: MaxEmbeddedPE limit set to 41943040 bytes. 4: Wed Oct 9 01:12:40 2024 -> Limits: MaxHTMLNormalize limit set to 41943040 bytes. 4: Wed Oct 9 01:12:40 2024 -> Limits: MaxHTMLNoTags limit set to 8388608 bytes. 4: Wed Oct 9 01:12:40 2024 -> Limits: MaxScriptNormalize limit set to 20971520 bytes. 4: Wed Oct 9 01:12:40 2024 -> Limits: MaxZipTypeRcg limit set to 1048576 bytes. 4: Wed Oct 9 01:12:40 2024 -> Limits: MaxPartitions limit set to 50. 4: Wed Oct 9 01:12:40 2024 -> Limits: MaxIconsPE limit set to 100. 4: Wed Oct 9 01:12:40 2024 -> Limits: MaxRecHWP3 limit set to 16. 4: Wed Oct 9 01:12:40 2024 -> Limits: PCREMatchLimit limit set to 100000. 4: Wed Oct 9 01:12:40 2024 -> Limits: PCRERecMatchLimit limit set to 2000. 4: Wed Oct 9 01:12:40 2024 -> Limits: PCREMaxFileSize limit set to 104857600. 4: Wed Oct 9 01:12:40 2024 -> Archive support enabled. 4: Wed Oct 9 01:12:40 2024 -> Image (graphics) scanning support enabled. 4: Wed Oct 9 01:12:40 2024 -> Detection using image fuzzy hash enabled. 4: Wed Oct 9 01:12:40 2024 -> AlertExceedsMax heuristic detection disabled. 4: Wed Oct 9 01:12:40 2024 -> Heuristic alerts enabled. 4: Wed Oct 9 01:12:40 2024 -> Portable Executable support enabled. 4: Wed Oct 9 01:12:40 2024 -> ELF support enabled. 4: Wed Oct 9 01:12:40 2024 -> Mail files support enabled. 4: Wed Oct 9 01:12:40 2024 -> OLE2 support enabled. 4: Wed Oct 9 01:12:40 2024 -> PDF support enabled. 4: Wed Oct 9 01:12:40 2024 -> SWF support enabled. 4: Wed Oct 9 01:12:40 2024 -> HTML support enabled. 4: Wed Oct 9 01:12:40 2024 -> XMLDOCS support enabled. 4: Wed Oct 9 01:12:40 2024 -> HWP3 support enabled. 4: Wed Oct 9 01:12:40 2024 -> OneNote support enabled. 4: Wed Oct 9 01:12:40 2024 -> Self checking every 600 seconds. 4: Wed Oct 9 01:12:40 2024 -> Listening daemon: PID: 10202 4: Wed Oct 9 01:12:40 2024 -> MaxQueue set to: 800 4: Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: ClamAV-Test-File.UNOFFICIAL FOUND 4: Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe: ClamAV-Test-File.UNOFFICIAL FOUND 4: Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio: ClamAV-Test-File.UNOFFICIAL FOUND 4: Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: ClamAV-Test-File.UNOFFICIAL FOUND 4: Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip: ClamAV-Test-File.UNOFFICIAL FOUND 4: Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc: ClamAV-Test-File.UNOFFICIAL FOUND 4: Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND 4: Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe: ClamAV-Test-File.UNOFFICIAL FOUND 4: Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe: ClamAV-Test-File.UNOFFICIAL FOUND 4: Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: ClamAV-Test-File.UNOFFICIAL FOUND 4: Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe: ClamAV-Test-File.UNOFFICIAL FOUND 4: Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-v2.rar: ClamAV-Test-File.UNOFFICIAL FOUND 4: Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND 4: Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: OK 4: Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe: ClamAV-Test-File.UNOFFICIAL FOUND 4: Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: ClamAV-Test-File.UNOFFICIAL FOUND 4: Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: ClamAV-Test-File.UNOFFICIAL FOUND 4: Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.webapp-export.one: ClamAV-Test-File.UNOFFICIAL FOUND 4: Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html: ClamAV-Test-File.UNOFFICIAL FOUND 4: Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: ClamAV-Test-File.UNOFFICIAL FOUND 4: Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip: ClamAV-Test-File.UNOFFICIAL FOUND 4: Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: ClamAV-Test-File.UNOFFICIAL FOUND 4: Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.2007.one: ClamAV-Test-File.UNOFFICIAL FOUND 4: Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe: ClamAV-Test-File.UNOFFICIAL FOUND 4: Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe: ClamAV-Test-File.UNOFFICIAL FOUND 4: Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-v3.rar: ClamAV-Test-File.UNOFFICIAL FOUND 4: Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: ClamAV-Test-File.UNOFFICIAL FOUND 4: Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef: ClamAV-Test-File.UNOFFICIAL FOUND 4: Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.2010.one: ClamAV-Test-File.UNOFFICIAL FOUND 4: Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: OK 4: Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND 4: Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND 4: Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64: ClamAV-Test-File.UNOFFICIAL FOUND 4: Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: OK 4: Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: ClamAV-Test-File.UNOFFICIAL FOUND 4: Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe: ClamAV-Test-File.UNOFFICIAL FOUND 4: Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: ClamAV-Test-File.UNOFFICIAL FOUND 4: Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe: ClamAV-Test-File.UNOFFICIAL FOUND 4: Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe: ClamAV-Test-File.UNOFFICIAL FOUND 4: Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.mail: ClamAV-Test-File.UNOFFICIAL FOUND 4: Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe: ClamAV-Test-File.UNOFFICIAL FOUND 4: Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND 4: Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: ClamAV-Test-File.UNOFFICIAL FOUND 4: Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: ClamAV-Test-File.UNOFFICIAL FOUND 4: Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt: ClamAV-Test-File.UNOFFICIAL FOUND 4: LibClamAV info: Suspicious link found! 4: LibClamAV info: Real URL: http://fake.example.com 4: LibClamAV info: Display URL: ebay.de 4: Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND 4: Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio: ClamAV-Test-File.UNOFFICIAL FOUND 4: Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: ClamAV-Test-File.UNOFFICIAL FOUND 4: Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex: ClamAV-Test-File.UNOFFICIAL FOUND 4: Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: ClamAV-Test-File.UNOFFICIAL FOUND 4: Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND 4: Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe: ClamAV-Test-File.UNOFFICIAL FOUND 4: [DEBUG]: Exit code: 1 4: [DEBUG]: stdout: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: ClamAV-Test-File.UNOFFICIAL FOUND 4: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe: ClamAV-Test-File.UNOFFICIAL FOUND 4: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio: ClamAV-Test-File.UNOFFICIAL FOUND 4: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: ClamAV-Test-File.UNOFFICIAL FOUND 4: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip: ClamAV-Test-File.UNOFFICIAL FOUND 4: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc: ClamAV-Test-File.UNOFFICIAL FOUND 4: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND 4: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe: ClamAV-Test-File.UNOFFICIAL FOUND 4: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe: ClamAV-Test-File.UNOFFICIAL FOUND 4: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: ClamAV-Test-File.UNOFFICIAL FOUND 4: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe: ClamAV-Test-File.UNOFFICIAL FOUND 4: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-v2.rar: ClamAV-Test-File.UNOFFICIAL FOUND 4: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND 4: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: OK 4: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe: ClamAV-Test-File.UNOFFICIAL FOUND 4: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: ClamAV-Test-File.UNOFFICIAL FOUND 4: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: ClamAV-Test-File.UNOFFICIAL FOUND 4: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.webapp-export.one: ClamAV-Test-File.UNOFFICIAL FOUND 4: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html: ClamAV-Test-File.UNOFFICIAL FOUND 4: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: ClamAV-Test-File.UNOFFICIAL FOUND 4: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip: ClamAV-Test-File.UNOFFICIAL FOUND 4: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: ClamAV-Test-File.UNOFFICIAL FOUND 4: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.2007.one: ClamAV-Test-File.UNOFFICIAL FOUND 4: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe: ClamAV-Test-File.UNOFFICIAL FOUND 4: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe: ClamAV-Test-File.UNOFFICIAL FOUND 4: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-v3.rar: ClamAV-Test-File.UNOFFICIAL FOUND 4: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: ClamAV-Test-File.UNOFFICIAL FOUND 4: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef: ClamAV-Test-File.UNOFFICIAL FOUND 4: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.2010.one: ClamAV-Test-File.UNOFFICIAL FOUND 4: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: OK 4: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND 4: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND 4: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64: ClamAV-Test-File.UNOFFICIAL FOUND 4: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: OK 4: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: ClamAV-Test-File.UNOFFICIAL FOUND 4: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe: ClamAV-Test-File.UNOFFICIAL FOUND 4: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: ClamAV-Test-File.UNOFFICIAL FOUND 4: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe: ClamAV-Test-File.UNOFFICIAL FOUND 4: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe: ClamAV-Test-File.UNOFFICIAL FOUND 4: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.mail: ClamAV-Test-File.UNOFFICIAL FOUND 4: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe: ClamAV-Test-File.UNOFFICIAL FOUND 4: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND 4: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: ClamAV-Test-File.UNOFFICIAL FOUND 4: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: ClamAV-Test-File.UNOFFICIAL FOUND 4: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt: ClamAV-Test-File.UNOFFICIAL FOUND 4: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND 4: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio: ClamAV-Test-File.UNOFFICIAL FOUND 4: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: ClamAV-Test-File.UNOFFICIAL FOUND 4: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex: ClamAV-Test-File.UNOFFICIAL FOUND 4: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: ClamAV-Test-File.UNOFFICIAL FOUND 4: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND 4: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe: ClamAV-Test-File.UNOFFICIAL FOUND 4: 4: ----------- SCAN SUMMARY ----------- 4: Infected files: 49 4: Time: 0.255 sec (0 m 0 s) 4: Start Date: 2024:10:09 01:12:40 4: End Date: 2024:10:09 01:12:40 4: 4: [DEBUG]: stderr: 4: 4: Wed Oct 9 01:12:40 2024 -> Waiting for all threads to finish 4: Wed Oct 9 01:12:40 2024 -> Shutting down the main sockets. 4: Wed Oct 9 01:12:40 2024 -> Pid file removed. 4: Wed Oct 9 01:12:40 2024 -> --- Stopped at Wed Oct 9 01:12:40 2024 4: Wed Oct 9 01:12:40 2024 -> Closing the main sockets. 4: Wed Oct 9 01:12:40 2024 -> Socket file removed. 4: =========================== short test summary info ============================ 4: FAILED clamd_test.py::TC::test_clamd_04_all_testfiles - AssertionError: Expec... 4: ========================= 1 failed, 12 passed in 9.01s ========================= 3/3 Test #4: clamd ............................***Failed 9.47 sec ============================= test session starts ============================== platform linux -- Python 3.12.6, pytest-8.3.3, pluggy-1.5.0 -- /usr/bin/python cachedir: .pytest_cache rootdir: /build/clamav/src/clamav-1.4.1/unit_tests collecting ... collected 13 items clamd_test.py::TC::test_clamd_00_version PASSED [ 7%] clamd_test.py::TC::test_clamd_01_ping_pong PASSED [ 15%] clamd_test.py::TC::test_clamd_02_clamdscan_version PASSED [ 23%] clamd_test.py::TC::test_clamd_03_reload PASSED [ 30%] clamd_test.py::TC::test_clamd_04_all_testfiles FAILED [ 38%] clamd_test.py::TC::test_clamd_05_check_clamd PASSED [ 46%] clamd_test.py::TC::test_clamd_06_HeuristicScanPrecedence_off PASSED [ 53%] clamd_test.py::TC::test_clamd_07_HeuristicScanPrecedence_on PASSED [ 61%] clamd_test.py::TC::test_clamd_08_VirusEvent PASSED [ 69%] clamd_test.py::TC::test_clamd_09_clamdscan_ExcludePath PASSED [ 76%] clamd_test.py::TC::test_clamd_10_allmatch_not_sticky PASSED [ 84%] clamd_test.py::TC::test_clamd_11_alertexceedsmax_maxfilesize PASSED [ 92%] clamd_test.py::TC::test_clamd_12_onenote_disabled PASSED [100%] =================================== FAILURES =================================== ________________________ TC.test_clamd_04_all_testfiles ________________________ self = def test_clamd_04_all_testfiles(self): ''' Verify that clamd + clamdscan detect each of our /unit_tests/input/clamav_hdb_scanfiles/clam* test files. ''' self.step_name('Testing clamd + clamdscan scan of all `test` files') self.start_clamd() poll = self.proc.poll() assert poll == None # subprocess is alive if poll() returns None testfiles = ' '.join([str(testpath) for testpath in TC.testpaths]) expected_results = ['{}: ClamAV-Test-File.UNOFFICIAL FOUND'.format(testpath.name) for testpath in TC.testpaths] expected_results.append('Infected files: {}'.format(len(TC.testpaths))) > self.run_clamdscan(testfiles, expected_ec=1, expected_out=expected_results) /build/clamav/src/clamav-1.4.1/unit_tests/clamd_test.py:367: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /build/clamav/src/clamav-1.4.1/unit_tests/clamd_test.py:200: in run_clamdscan self.verify_output(output.out, expected=expected_out, unexpected=unexpected_out) /build/clamav/src/clamav-1.4.1/unit_tests/testcase.py:248: in verify_output log_checker.verify_expected_output(expected, text, order=order) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = expected_items = ['clam.exe.mbox.uu: ClamAV-Test-File.UNOFFICIAL FOUND', 'clam-nsis.exe: ClamAV-Test-File.UNOFFICIAL FOUND', 'clam.bin-...CIAL FOUND', 'clam.d64.zip: ClamAV-Test-File.UNOFFICIAL FOUND', 'clam.ole.doc: ClamAV-Test-File.UNOFFICIAL FOUND', ...] output = '/build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: ClamAV-Test-File.UNOFFIC...---\nInfected files: 49\nTime: 0.255 sec (0 m 0 s)\nStart Date: 2024:10:09 01:12:40\nEnd Date: 2024:10:09 01:12:40\n' order = 1 def verify_expected_output(self, expected_items, output, order=STRICT_ORDER): """Check presence of regex patterns in output string. :Parameters: - `expected_items`: a list of regex patterns that should be found in `output`. - `output`: a string with output to verify. - `order`: STRICT_ORDER, ANY_ORDER. :Exceptions: - `AssertionError`: is raised if: 1)`output` is not a string. 2) one of expected items was not found in `output`. 3) items were found in wrong order. """ if output != None and not isinstance(output, str): output = output.decode("utf-8", "ignore") assert isinstance(output, str), "`output` must be a string." expected_items = self._prepare_value(expected_items) last_found_position = 0 for item in expected_items: pattern = re.compile(item) match = pattern.search(output) > assert match, "Expected item `%s` not found in output:\n%s" % ( item, output, ) E AssertionError: Expected item `clam.cab: ClamAV-Test-File.UNOFFICIAL FOUND` not found in output: E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-v2.rar: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: OK E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.webapp-export.one: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.2007.one: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-v3.rar: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.2010.one: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: OK E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: OK E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.mail: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND E /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe: ClamAV-Test-File.UNOFFICIAL FOUND E E ----------- SCAN SUMMARY ----------- E Infected files: 49 E Time: 0.255 sec (0 m 0 s) E Start Date: 2024:10:09 01:12:40 E End Date: 2024:10:09 01:12:40 /build/clamav/src/clamav-1.4.1/unit_tests/testcase.py:794: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Testing clamd + clamdscan scan of all `test` files [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Starting clamd: /build/clamav/src/clamav-1.4.1/build/clamd/clamd --config-file=/build/clamav/src/clamav-1.4.1/build/unit_tests/TC-15i4e7vt/clamd-test.conf [DEBUG]: Run command: /build/clamav/src/clamav-1.4.1/build/clamdscan/clamdscan --ping 5 --wait /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.zip /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-v2.rar /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.webapp-export.one /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.2007.one /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-v3.rar /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.iso /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.2010.one /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64 /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2 /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.mail /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.arj /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.sis /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.7z /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe -c /build/clamav/src/clamav-1.4.1/build/unit_tests/TC-15i4e7vt/clamd-test.conf Wed Oct 9 01:12:40 2024 -> Limits: Global time limit set to 120000 milliseconds. Wed Oct 9 01:12:40 2024 -> Limits: Global size limit set to 419430400 bytes. Wed Oct 9 01:12:40 2024 -> Limits: File size limit set to 104857600 bytes. Wed Oct 9 01:12:40 2024 -> Limits: Recursion level limit set to 17. Wed Oct 9 01:12:40 2024 -> Limits: Files limit set to 10000. Wed Oct 9 01:12:40 2024 -> Limits: Core-dump limit is 0. Wed Oct 9 01:12:40 2024 -> Limits: MaxEmbeddedPE limit set to 41943040 bytes. Wed Oct 9 01:12:40 2024 -> Limits: MaxHTMLNormalize limit set to 41943040 bytes. Wed Oct 9 01:12:40 2024 -> Limits: MaxHTMLNoTags limit set to 8388608 bytes. Wed Oct 9 01:12:40 2024 -> Limits: MaxScriptNormalize limit set to 20971520 bytes. Wed Oct 9 01:12:40 2024 -> Limits: MaxZipTypeRcg limit set to 1048576 bytes. Wed Oct 9 01:12:40 2024 -> Limits: MaxPartitions limit set to 50. Wed Oct 9 01:12:40 2024 -> Limits: MaxIconsPE limit set to 100. Wed Oct 9 01:12:40 2024 -> Limits: MaxRecHWP3 limit set to 16. Wed Oct 9 01:12:40 2024 -> Limits: PCREMatchLimit limit set to 100000. Wed Oct 9 01:12:40 2024 -> Limits: PCRERecMatchLimit limit set to 2000. Wed Oct 9 01:12:40 2024 -> Limits: PCREMaxFileSize limit set to 104857600. Wed Oct 9 01:12:40 2024 -> Archive support enabled. Wed Oct 9 01:12:40 2024 -> Image (graphics) scanning support enabled. Wed Oct 9 01:12:40 2024 -> Detection using image fuzzy hash enabled. Wed Oct 9 01:12:40 2024 -> AlertExceedsMax heuristic detection disabled. Wed Oct 9 01:12:40 2024 -> Heuristic alerts enabled. Wed Oct 9 01:12:40 2024 -> Portable Executable support enabled. Wed Oct 9 01:12:40 2024 -> ELF support enabled. Wed Oct 9 01:12:40 2024 -> Mail files support enabled. Wed Oct 9 01:12:40 2024 -> OLE2 support enabled. Wed Oct 9 01:12:40 2024 -> PDF support enabled. Wed Oct 9 01:12:40 2024 -> SWF support enabled. Wed Oct 9 01:12:40 2024 -> HTML support enabled. Wed Oct 9 01:12:40 2024 -> XMLDOCS support enabled. Wed Oct 9 01:12:40 2024 -> HWP3 support enabled. Wed Oct 9 01:12:40 2024 -> OneNote support enabled. Wed Oct 9 01:12:40 2024 -> Self checking every 600 seconds. Wed Oct 9 01:12:40 2024 -> Listening daemon: PID: 10202 Wed Oct 9 01:12:40 2024 -> MaxQueue set to: 800 Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-v2.rar: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: OK Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.webapp-export.one: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.2007.one: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-v3.rar: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.2010.one: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: OK Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: OK Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.mail: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt: ClamAV-Test-File.UNOFFICIAL FOUND LibClamAV info: Suspicious link found! LibClamAV info: Real URL: http://fake.example.com LibClamAV info: Display URL: ebay.de Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND Wed Oct 9 01:12:40 2024 -> /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe: ClamAV-Test-File.UNOFFICIAL FOUND [DEBUG]: Exit code: 1 [DEBUG]: stdout: /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-v2.rar: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: OK /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.webapp-export.one: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.2007.one: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-v3.rar: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.2010.one: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: OK /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: OK /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.mail: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /build/clamav/src/clamav-1.4.1/build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe: ClamAV-Test-File.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Infected files: 49 Time: 0.255 sec (0 m 0 s) Start Date: 2024:10:09 01:12:40 End Date: 2024:10:09 01:12:40 [DEBUG]: stderr: Wed Oct 9 01:12:40 2024 -> Waiting for all threads to finish Wed Oct 9 01:12:40 2024 -> Shutting down the main sockets. Wed Oct 9 01:12:40 2024 -> Pid file removed. Wed Oct 9 01:12:40 2024 -> --- Stopped at Wed Oct 9 01:12:40 2024 Wed Oct 9 01:12:40 2024 -> Closing the main sockets. Wed Oct 9 01:12:40 2024 -> Socket file removed. =========================== short test summary info ============================ FAILED clamd_test.py::TC::test_clamd_04_all_testfiles - AssertionError: Expec... ========================= 1 failed, 12 passed in 9.01s ========================= 0% tests passed, 3 tests failed out of 3 Total Test time (real) = 27.69 sec The following tests FAILED: 1 - libclamav (Failed) 3 - clamscan (Failed) 4 - clamd (Failed) Errors while running CTest ==> ERROR: A failure occurred in check(). Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-staging-with-build-support-i686/build/build used straw: :with_build_support:haskell_without_check: build@euronuc.lan