Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/cpp-httplib.spec'], chrootPath='/var/lib/mock/f37-build-side-32-misc-devel-227558-13756/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/cpp-httplib.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1675296000 Wrote: /builddir/build/SRPMS/cpp-httplib-0.9.3-1.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/cpp-httplib.spec'], chrootPath='/var/lib/mock/f37-build-side-32-misc-devel-227558-13756/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/cpp-httplib.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1675296000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ADujyS + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cpp-httplib-0.9.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/cpp-httplib-0.9.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd cpp-httplib-0.9.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.poeYVu + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd cpp-httplib-0.9.3 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -S . -B redhat-linux-build -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON CMake Warning at CMakeLists.txt:78 (message): cpp-httplib failed to find the latest Git tag, falling back to using user agent as the version. -- The CXX compiler identification is GNU 12.2.1 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/cpp-httplib-0.9.3/redhat-linux-build + /usr/bin/cmake --build redhat-linux-build -j8 --verbose /usr/bin/cmake -S/builddir/build/BUILD/cpp-httplib-0.9.3 -B/builddir/build/BUILD/cpp-httplib-0.9.3/redhat-linux-build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/cpp-httplib-0.9.3/redhat-linux-build/CMakeFiles /builddir/build/BUILD/cpp-httplib-0.9.3/redhat-linux-build//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/builddir/build/BUILD/cpp-httplib-0.9.3/redhat-linux-build' gmake[1]: Nothing to be done for 'all'. gmake[1]: Leaving directory '/builddir/build/BUILD/cpp-httplib-0.9.3/redhat-linux-build' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/cpp-httplib-0.9.3/redhat-linux-build/CMakeFiles 0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.asl8q1 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/cpp-httplib-0.9.3-1.fc37.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/cpp-httplib-0.9.3-1.fc37.riscv64 ++ dirname /builddir/build/BUILDROOT/cpp-httplib-0.9.3-1.fc37.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/cpp-httplib-0.9.3-1.fc37.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd cpp-httplib-0.9.3 + DESTDIR=/builddir/build/BUILDROOT/cpp-httplib-0.9.3-1.fc37.riscv64 + /usr/bin/cmake --install redhat-linux-build -- Install configuration: "" -- Installing: /builddir/build/BUILDROOT/cpp-httplib-0.9.3-1.fc37.riscv64/usr/include/httplib.h -- Installing: /builddir/build/BUILDROOT/cpp-httplib-0.9.3-1.fc37.riscv64/usr/lib64/cmake/httplib/httplibConfig.cmake -- Installing: /builddir/build/BUILDROOT/cpp-httplib-0.9.3-1.fc37.riscv64/usr/lib64/cmake/httplib/httplibConfigVersion.cmake -- Installing: /builddir/build/BUILDROOT/cpp-httplib-0.9.3-1.fc37.riscv64/usr/lib64/cmake/httplib/FindBrotli.cmake -- Installing: /builddir/build/BUILDROOT/cpp-httplib-0.9.3-1.fc37.riscv64/usr/lib64/cmake/httplib/httplibTargets.cmake + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.MStmO6 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH ~/build/BUILD/cpp-httplib-0.9.3/test ~/build/BUILD/cpp-httplib-0.9.3 + CC=gcc + export CC + CXX=g++ + export CXX + cd cpp-httplib-0.9.3 + pushd test + /usr/bin/make -O -j8 V=1 VERBOSE=1 test openssl genrsa 2048 > key.pem openssl req -new -batch -config test.conf -key key.pem | openssl x509 -days 3650 -req -signkey key.pem > cert.pem openssl req -x509 -config test.conf -key key.pem -sha256 -days 3650 -nodes -out cert2.pem -extensions SAN openssl genrsa 2048 > rootCA.key.pem openssl req -x509 -new -batch -config test.rootCA.conf -key rootCA.key.pem -days 1024 > rootCA.cert.pem openssl genrsa 2048 > client.key.pem openssl req -new -batch -config test.conf -key client.key.pem | openssl x509 -days 370 -req -CA rootCA.cert.pem -CAkey rootCA.key.pem -CAcreateserial > client.cert.pem #c_rehash . Certificate request self-signature ok subject=C = US, ST = Test State or Province, L = Test Locality, O = Organization Name, OU = Organizational Unit Name, CN = Common Name, emailAddress = test@email.address Certificate request self-signature ok subject=C = US, ST = Test State or Province, L = Test Locality, O = Organization Name, OU = Organizational Unit Name, CN = Common Name, emailAddress = test@email.address g++ -o test -I.. -g -std=c++11 -I. -Wall -Wextra -Wtype-limits -Wconversion test.cc include_httplib.cc gtest/gtest-all.cc gtest/gtest_main.cc -DCPPHTTPLIB_OPENSSL_SUPPORT -I/usr/local/opt/openssl@1.1/include -L/usr/local/opt/openssl@1.1/lib -lssl -lcrypto -DCPPHTTPLIB_ZLIB_SUPPORT -lz -DCPPHTTPLIB_BROTLI_SUPPORT -I/usr/local/opt/brotli/include -L/usr/local/opt/brotli/lib -lbrotlicommon -lbrotlienc -lbrotlidec -pthread In file included from test.cc:1: ../httplib.h: In function 'std::string httplib::detail::MD5(const std::string&)': ../httplib.h:3977:33: warning: 'int MD5_Init(MD5_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3977 | return message_digest(s, MD5_Init, MD5_Update, MD5_Final, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3978 | MD5_DIGEST_LENGTH); | ~~~~~~~~~~~~~~~~~~ In file included from ../httplib.h:213: /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ ../httplib.h:3977:33: warning: 'int MD5_Update(MD5_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3977 | return message_digest(s, MD5_Init, MD5_Update, MD5_Final, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3978 | MD5_DIGEST_LENGTH); | ~~~~~~~~~~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ ../httplib.h:3977:33: warning: 'int MD5_Final(unsigned char*, MD5_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3977 | return message_digest(s, MD5_Init, MD5_Update, MD5_Final, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3978 | MD5_DIGEST_LENGTH); | ~~~~~~~~~~~~~~~~~~ /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ ../httplib.h: In function 'std::string httplib::detail::SHA_256(const std::string&)': ../httplib.h:3982:36: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3982 | return message_digest(s, SHA256_Init, SHA256_Update, SHA256_Final, | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3983 | SHA256_DIGEST_LENGTH); | ~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/ssl.h:31, from ../httplib.h:214: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ ../httplib.h:3982:36: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3982 | return message_digest(s, SHA256_Init, SHA256_Update, SHA256_Final, | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3983 | SHA256_DIGEST_LENGTH); | ~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../httplib.h:3982:36: warning: 'int SHA256_Final(unsigned char*, SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3982 | return message_digest(s, SHA256_Init, SHA256_Update, SHA256_Final, | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3983 | SHA256_DIGEST_LENGTH); | ~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/sha.h:76:27: note: declared here 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ ../httplib.h: In function 'std::string httplib::detail::SHA_512(const std::string&)': ../httplib.h:3987:36: warning: 'int SHA512_Init(SHA512_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3987 | return message_digest(s, SHA512_Init, SHA512_Update, SHA512_Final, | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3988 | SHA512_DIGEST_LENGTH); | ~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/sha.h:123:27: note: declared here 123 | OSSL_DEPRECATEDIN_3_0 int SHA512_Init(SHA512_CTX *c); | ^~~~~~~~~~~ ../httplib.h:3987:36: warning: 'int SHA512_Update(SHA512_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3987 | return message_digest(s, SHA512_Init, SHA512_Update, SHA512_Final, | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3988 | SHA512_DIGEST_LENGTH); | ~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/sha.h:124:27: note: declared here 124 | OSSL_DEPRECATEDIN_3_0 int SHA512_Update(SHA512_CTX *c, | ^~~~~~~~~~~~~ ../httplib.h:3987:36: warning: 'int SHA512_Final(unsigned char*, SHA512_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3987 | return message_digest(s, SHA512_Init, SHA512_Update, SHA512_Final, | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3988 | SHA512_DIGEST_LENGTH); | ~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/sha.h:126:27: note: declared here 126 | OSSL_DEPRECATEDIN_3_0 int SHA512_Final(unsigned char *md, SHA512_CTX *c); | ^~~~~~~~~~~~ In file included from include_httplib.cc:5: ../httplib.h: In function 'std::string httplib::detail::MD5(const std::string&)': ../httplib.h:3977:33: warning: 'int MD5_Init(MD5_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3977 | return message_digest(s, MD5_Init, MD5_Update, MD5_Final, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3978 | MD5_DIGEST_LENGTH); | ~~~~~~~~~~~~~~~~~~ In file included from ../httplib.h:213: /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ ../httplib.h:3977:33: warning: 'int MD5_Update(MD5_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3977 | return message_digest(s, MD5_Init, MD5_Update, MD5_Final, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3978 | MD5_DIGEST_LENGTH); | ~~~~~~~~~~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ ../httplib.h:3977:33: warning: 'int MD5_Final(unsigned char*, MD5_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3977 | return message_digest(s, MD5_Init, MD5_Update, MD5_Final, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3978 | MD5_DIGEST_LENGTH); | ~~~~~~~~~~~~~~~~~~ /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ ../httplib.h: In function 'std::string httplib::detail::SHA_256(const std::string&)': ../httplib.h:3982:36: warning: 'int SHA256_Init(SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3982 | return message_digest(s, SHA256_Init, SHA256_Update, SHA256_Final, | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3983 | SHA256_DIGEST_LENGTH); | ~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:41, from /usr/include/openssl/ssl.h:31, from ../httplib.h:214: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ ../httplib.h:3982:36: warning: 'int SHA256_Update(SHA256_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3982 | return message_digest(s, SHA256_Init, SHA256_Update, SHA256_Final, | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3983 | SHA256_DIGEST_LENGTH); | ~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ ../httplib.h:3982:36: warning: 'int SHA256_Final(unsigned char*, SHA256_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3982 | return message_digest(s, SHA256_Init, SHA256_Update, SHA256_Final, | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3983 | SHA256_DIGEST_LENGTH); | ~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/sha.h:76:27: note: declared here 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ ../httplib.h: In function 'std::string httplib::detail::SHA_512(const std::string&)': ../httplib.h:3987:36: warning: 'int SHA512_Init(SHA512_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3987 | return message_digest(s, SHA512_Init, SHA512_Update, SHA512_Final, | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3988 | SHA512_DIGEST_LENGTH); | ~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/sha.h:123:27: note: declared here 123 | OSSL_DEPRECATEDIN_3_0 int SHA512_Init(SHA512_CTX *c); | ^~~~~~~~~~~ ../httplib.h:3987:36: warning: 'int SHA512_Update(SHA512_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3987 | return message_digest(s, SHA512_Init, SHA512_Update, SHA512_Final, | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3988 | SHA512_DIGEST_LENGTH); | ~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/sha.h:124:27: note: declared here 124 | OSSL_DEPRECATEDIN_3_0 int SHA512_Update(SHA512_CTX *c, | ^~~~~~~~~~~~~ ../httplib.h:3987:36: warning: 'int SHA512_Final(unsigned char*, SHA512_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3987 | return message_digest(s, SHA512_Init, SHA512_Update, SHA512_Final, | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3988 | SHA512_DIGEST_LENGTH); | ~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/sha.h:126:27: note: declared here 126 | OSSL_DEPRECATEDIN_3_0 int SHA512_Final(unsigned char *md, SHA512_CTX *c); | ^~~~~~~~~~~~ + ./test '--gtest_filter=-*.*_Online' Running main() from gtest/gtest_main.cc Note: Google Test filter = -*.*_Online [==========] Running 187 tests from 42 test suites. [----------] Global test environment set-up. [----------] 3 tests from EncodeQueryParamTest [ RUN ] EncodeQueryParamTest.ParseUnescapedChararactersTest [ OK ] EncodeQueryParamTest.ParseUnescapedChararactersTest (2 ms) [ RUN ] EncodeQueryParamTest.ParseReservedCharactersTest [ OK ] EncodeQueryParamTest.ParseReservedCharactersTest (0 ms) [ RUN ] EncodeQueryParamTest.TestUTF8Characters [ OK ] EncodeQueryParamTest.TestUTF8Characters (0 ms) [----------] 3 tests from EncodeQueryParamTest (5 ms total) [----------] 1 test from TrimTests [ RUN ] TrimTests.TrimStringTests [ OK ] TrimTests.TrimStringTests (1 ms) [----------] 1 test from TrimTests (1 ms total) [----------] 2 tests from SplitTest [ RUN ] SplitTest.ParseQueryString [ OK ] SplitTest.ParseQueryString (16 ms) [ RUN ] SplitTest.ParseInvalidQueryTests [ OK ] SplitTest.ParseInvalidQueryTests (2 ms) [----------] 2 tests from SplitTest (20 ms total) [----------] 1 test from ParseQueryTest [ RUN ] ParseQueryTest.ParseQueryString [ OK ] ParseQueryTest.ParseQueryString (1 ms) [----------] 1 test from ParseQueryTest (2 ms total) [----------] 1 test from ParamsToQueryTest [ RUN ] ParamsToQueryTest.ConvertParamsToQuery [ OK ] ParamsToQueryTest.ConvertParamsToQuery (1 ms) [----------] 1 test from ParamsToQueryTest (1 ms total) [----------] 6 tests from GetHeaderValueTest [ RUN ] GetHeaderValueTest.DefaultValue [ OK ] GetHeaderValueTest.DefaultValue (2 ms) [ RUN ] GetHeaderValueTest.DefaultValueInt [ OK ] GetHeaderValueTest.DefaultValueInt (0 ms) [ RUN ] GetHeaderValueTest.RegularValue [ OK ] GetHeaderValueTest.RegularValue (0 ms) [ RUN ] GetHeaderValueTest.SetContent [ OK ] GetHeaderValueTest.SetContent (2 ms) [ RUN ] GetHeaderValueTest.RegularValueInt [ OK ] GetHeaderValueTest.RegularValueInt (0 ms) [ RUN ] GetHeaderValueTest.Range [ OK ] GetHeaderValueTest.Range (3 ms) [----------] 6 tests from GetHeaderValueTest (13 ms total) [----------] 1 test from ParseHeaderValueTest [ RUN ] ParseHeaderValueTest.Range [ OK ] ParseHeaderValueTest.Range (75 ms) [----------] 1 test from ParseHeaderValueTest (76 ms total) [----------] 1 test from ParseAcceptEncoding1 [ RUN ] ParseAcceptEncoding1.AcceptEncoding [ OK ] ParseAcceptEncoding1.AcceptEncoding (1 ms) [----------] 1 test from ParseAcceptEncoding1 (2 ms total) [----------] 1 test from ParseAcceptEncoding2 [ RUN ] ParseAcceptEncoding2.AcceptEncoding [ OK ] ParseAcceptEncoding2.AcceptEncoding (0 ms) [----------] 1 test from ParseAcceptEncoding2 (0 ms total) [----------] 1 test from ParseAcceptEncoding3 [ RUN ] ParseAcceptEncoding3.AcceptEncoding [ OK ] ParseAcceptEncoding3.AcceptEncoding (0 ms) [----------] 1 test from ParseAcceptEncoding3 (0 ms total) [----------] 1 test from BufferStreamTest [ RUN ] BufferStreamTest.read [ OK ] BufferStreamTest.read (1 ms) [----------] 1 test from BufferStreamTest (1 ms total) [----------] 5 tests from ConnectionErrorTest [ RUN ] ConnectionErrorTest.InvalidHost [ OK ] ConnectionErrorTest.InvalidHost (128 ms) [ RUN ] ConnectionErrorTest.InvalidHost2 [ OK ] ConnectionErrorTest.InvalidHost2 (8 ms) [ RUN ] ConnectionErrorTest.InvalidHostCheckResultErrorToString [ OK ] ConnectionErrorTest.InvalidHostCheckResultErrorToString (7 ms) [ RUN ] ConnectionErrorTest.InvalidPort [ OK ] ConnectionErrorTest.InvalidPort (33 ms) [ RUN ] ConnectionErrorTest.Timeout [ OK ] ConnectionErrorTest.Timeout (16 ms) [----------] 5 tests from ConnectionErrorTest (196 ms total) [----------] 1 test from RedirectToDifferentPort [ RUN ] RedirectToDifferentPort.Redirect [ OK ] RedirectToDifferentPort.Redirect (1307 ms) [----------] 1 test from RedirectToDifferentPort (1308 ms total) [----------] 1 test from RedirectFromPageWithContent [ RUN ] RedirectFromPageWithContent.Redirect [ OK ] RedirectFromPageWithContent.Redirect (1197 ms) [----------] 1 test from RedirectFromPageWithContent (1202 ms total) [----------] 1 test from RedirectFromPageWithContentIP6 [ RUN ] RedirectFromPageWithContentIP6.Redirect [ OK ] RedirectFromPageWithContentIP6.Redirect (1211 ms) [----------] 1 test from RedirectFromPageWithContentIP6 (1212 ms total) [----------] 1 test from PathUrlEncodeTest [ RUN ] PathUrlEncodeTest.PathUrlEncode [ OK ] PathUrlEncodeTest.PathUrlEncode (1081 ms) [----------] 1 test from PathUrlEncodeTest (1083 ms total) [----------] 3 tests from BindServerTest [ RUN ] BindServerTest.BindDualStack [ OK ] BindServerTest.BindDualStack (1109 ms) [ RUN ] BindServerTest.BindAndListenSeparately [ OK ] BindServerTest.BindAndListenSeparately (2 ms) [ RUN ] BindServerTest.BindAndListenSeparatelySSL [ OK ] BindServerTest.BindAndListenSeparatelySSL (98 ms) [----------] 3 tests from BindServerTest (1211 ms total) [----------] 1 test from ErrorHandlerTest [ RUN ] ErrorHandlerTest.ContentLength [ OK ] ErrorHandlerTest.ContentLength (1074 ms) [----------] 1 test from ErrorHandlerTest (1075 ms total) [----------] 1 test from ExceptionHandlerTest [ RUN ] ExceptionHandlerTest.ContentLength [ OK ] ExceptionHandlerTest.ContentLength (1080 ms) [----------] 1 test from ExceptionHandlerTest (1081 ms total) [----------] 1 test from NoContentTest [ RUN ] NoContentTest.ContentLength [ OK ] NoContentTest.ContentLength (1064 ms) [----------] 1 test from NoContentTest (1064 ms total) [----------] 1 test from RoutingHandlerTest [ RUN ] RoutingHandlerTest.PreRoutingHandler [ OK ] RoutingHandlerTest.PreRoutingHandler (1189 ms) [----------] 1 test from RoutingHandlerTest (1192 ms total) [----------] 1 test from InvalidFormatTest [ RUN ] InvalidFormatTest.StatusCode [ OK ] InvalidFormatTest.StatusCode (1062 ms) [----------] 1 test from InvalidFormatTest (1070 ms total) [----------] 117 tests from ServerTest [ RUN ] ServerTest.GetMethod200 [ OK ] ServerTest.GetMethod200 (418 ms) [ RUN ] ServerTest.GetMethod200withPercentEncoding [ OK ] ServerTest.GetMethod200withPercentEncoding (205 ms) [ RUN ] ServerTest.GetMethod302 [ OK ] ServerTest.GetMethod302 (197 ms) [ RUN ] ServerTest.GetMethod302Redirect [ OK ] ServerTest.GetMethod302Redirect (279 ms) [ RUN ] ServerTest.GetMethod404 [ OK ] ServerTest.GetMethod404 (183 ms) [ RUN ] ServerTest.HeadMethod200 [ OK ] ServerTest.HeadMethod200 (201 ms) [ RUN ] ServerTest.HeadMethod200Static [ OK ] ServerTest.HeadMethod200Static (180 ms) [ RUN ] ServerTest.HeadMethod404 [ OK ] ServerTest.HeadMethod404 (179 ms) [ RUN ] ServerTest.GetMethodPersonJohn [ OK ] ServerTest.GetMethodPersonJohn (226 ms) [ RUN ] ServerTest.PostMethod1 [ OK ] ServerTest.PostMethod1 (397 ms) [ RUN ] ServerTest.PostMethod2 [ OK ] ServerTest.PostMethod2 (316 ms) [ RUN ] ServerTest.PutMethod3 [ OK ] ServerTest.PutMethod3 (321 ms) [ RUN ] ServerTest.PostWwwFormUrlEncodedJson [ OK ] ServerTest.PostWwwFormUrlEncodedJson (155 ms) [ RUN ] ServerTest.PostEmptyContent [ OK ] ServerTest.PostEmptyContent (164 ms) [ RUN ] ServerTest.PostEmptyContentWithNoContentType [ OK ] ServerTest.PostEmptyContentWithNoContentType (152 ms) [ RUN ] ServerTest.PutEmptyContentWithNoContentType [ OK ] ServerTest.PutEmptyContentWithNoContentType (143 ms) [ RUN ] ServerTest.GetMethodDir [ OK ] ServerTest.GetMethodDir (135 ms) [ RUN ] ServerTest.GetMethodDirTest [ OK ] ServerTest.GetMethodDirTest (151 ms) [ RUN ] ServerTest.GetMethodDirTestWithDoubleDots [ OK ] ServerTest.GetMethodDirTestWithDoubleDots (141 ms) [ RUN ] ServerTest.GetMethodInvalidPath [ OK ] ServerTest.GetMethodInvalidPath (128 ms) [ RUN ] ServerTest.GetMethodOutOfBaseDir [ OK ] ServerTest.GetMethodOutOfBaseDir (172 ms) [ RUN ] ServerTest.GetMethodOutOfBaseDir2 [ OK ] ServerTest.GetMethodOutOfBaseDir2 (138 ms) [ RUN ] ServerTest.GetMethodDirMountTest [ OK ] ServerTest.GetMethodDirMountTest (131 ms) [ RUN ] ServerTest.GetMethodDirMountTestWithDoubleDots [ OK ] ServerTest.GetMethodDirMountTestWithDoubleDots (130 ms) [ RUN ] ServerTest.GetMethodInvalidMountPath [ OK ] ServerTest.GetMethodInvalidMountPath (125 ms) [ RUN ] ServerTest.GetMethodOutOfBaseDirMount [ OK ] ServerTest.GetMethodOutOfBaseDirMount (132 ms) [ RUN ] ServerTest.GetMethodOutOfBaseDirMount2 [ OK ] ServerTest.GetMethodOutOfBaseDirMount2 (148 ms) [ RUN ] ServerTest.PostMethod303 [ OK ] ServerTest.PostMethod303 (131 ms) [ RUN ] ServerTest.PostMethod303Redirect [ OK ] ServerTest.PostMethod303Redirect (211 ms) [ RUN ] ServerTest.UserDefinedMIMETypeMapping [ OK ] ServerTest.UserDefinedMIMETypeMapping (130 ms) [ RUN ] ServerTest.StaticFileRange [ OK ] ServerTest.StaticFileRange (134 ms) [ RUN ] ServerTest.InvalidBaseDirMount [ OK ] ServerTest.InvalidBaseDirMount (68 ms) [ RUN ] ServerTest.Binary [ OK ] ServerTest.Binary (453 ms) [ RUN ] ServerTest.BinaryString [ OK ] ServerTest.BinaryString (355 ms) [ RUN ] ServerTest.EmptyRequest [ OK ] ServerTest.EmptyRequest (126 ms) [ RUN ] ServerTest.LongRequest [ OK ] ServerTest.LongRequest (171 ms) [ RUN ] ServerTest.TooLongRequest [ OK ] ServerTest.TooLongRequest (146 ms) [ RUN ] ServerTest.LongHeader [ OK ] ServerTest.LongHeader (155 ms) [ RUN ] ServerTest.LongQueryValue [ OK ] ServerTest.LongQueryValue (185 ms) [ RUN ] ServerTest.TooLongHeader [ OK ] ServerTest.TooLongHeader (137 ms) [ RUN ] ServerTest.PercentEncoding [ OK ] ServerTest.PercentEncoding (165 ms) [ RUN ] ServerTest.PercentEncodingUnicode [ OK ] ServerTest.PercentEncodingUnicode (141 ms) [ RUN ] ServerTest.InvalidPercentEncoding [ OK ] ServerTest.InvalidPercentEncoding (128 ms) [ RUN ] ServerTest.InvalidPercentEncodingUnicode [ OK ] ServerTest.InvalidPercentEncodingUnicode (133 ms) [ RUN ] ServerTest.EndWithPercentCharacterInQuery [ OK ] ServerTest.EndWithPercentCharacterInQuery (126 ms) [ RUN ] ServerTest.PlusSignEncoding [ OK ] ServerTest.PlusSignEncoding (130 ms) [ RUN ] ServerTest.MultipartFormData [ OK ] ServerTest.MultipartFormData (178 ms) [ RUN ] ServerTest.CaseInsensitiveHeaderName [ OK ] ServerTest.CaseInsensitiveHeaderName (135 ms) [ RUN ] ServerTest.CaseInsensitiveTransferEncoding [ OK ] ServerTest.CaseInsensitiveTransferEncoding (135 ms) [ RUN ] ServerTest.GetStreamed2 [ OK ] ServerTest.GetStreamed2 (150 ms) [ RUN ] ServerTest.GetStreamed [ OK ] ServerTest.GetStreamed (144 ms) [ RUN ] ServerTest.GetStreamedWithRange1 [ OK ] ServerTest.GetStreamedWithRange1 (139 ms) [ RUN ] ServerTest.GetStreamedWithRange2 [ OK ] ServerTest.GetStreamedWithRange2 (139 ms) [ RUN ] ServerTest.GetStreamedWithRangeSuffix1 [ OK ] ServerTest.GetStreamedWithRangeSuffix1 (132 ms) [ RUN ] ServerTest.GetStreamedWithRangeSuffix2 [ OK ] ServerTest.GetStreamedWithRangeSuffix2 (128 ms) [ RUN ] ServerTest.GetStreamedWithRangeError [ OK ] ServerTest.GetStreamedWithRangeError (140 ms) [ RUN ] ServerTest.GetRangeWithMaxLongLength [ OK ] ServerTest.GetRangeWithMaxLongLength (134 ms) [ RUN ] ServerTest.GetStreamedWithRangeMultipart [ OK ] ServerTest.GetStreamedWithRangeMultipart (221 ms) [ RUN ] ServerTest.GetStreamedEndless [ OK ] ServerTest.GetStreamedEndless (142 ms) [ RUN ] ServerTest.ClientStop [ OK ] ServerTest.ClientStop (2273 ms) [ RUN ] ServerTest.GetWithRange1 [ OK ] ServerTest.GetWithRange1 (138 ms) [ RUN ] ServerTest.GetWithRange2 [ OK ] ServerTest.GetWithRange2 (141 ms) [ RUN ] ServerTest.GetWithRange3 [ OK ] ServerTest.GetWithRange3 (132 ms) [ RUN ] ServerTest.GetWithRange4 [ OK ] ServerTest.GetWithRange4 (134 ms) [ RUN ] ServerTest.GetWithRangeOffsetGreaterThanContent [ OK ] ServerTest.GetWithRangeOffsetGreaterThanContent (131 ms) [ RUN ] ServerTest.GetWithRangeMultipart [ OK ] ServerTest.GetWithRangeMultipart (135 ms) [ RUN ] ServerTest.GetWithRangeMultipartOffsetGreaterThanContent [ OK ] ServerTest.GetWithRangeMultipartOffsetGreaterThanContent (130 ms) [ RUN ] ServerTest.GetStreamedChunked [ OK ] ServerTest.GetStreamedChunked (134 ms) [ RUN ] ServerTest.GetStreamedChunked2 [ OK ] ServerTest.GetStreamedChunked2 (139 ms) [ RUN ] ServerTest.LargeChunkedPost [ OK ] ServerTest.LargeChunkedPost (171 ms) [ RUN ] ServerTest.GetMethodRemoteAddr [ OK ] ServerTest.GetMethodRemoteAddr (128 ms) [ RUN ] ServerTest.HTTPResponseSplitting [ OK ] ServerTest.HTTPResponseSplitting (130 ms) [ RUN ] ServerTest.SlowRequest [ OK ] ServerTest.SlowRequest (1069 ms) [ RUN ] ServerTest.SlowPost [ OK ] ServerTest.SlowPost (11900 ms) [ RUN ] ServerTest.SlowPostFail [ OK ] ServerTest.SlowPostFail (575 ms) [ RUN ] ServerTest.Put [ OK ] ServerTest.Put (158 ms) [ RUN ] ServerTest.PutWithContentProvider [ OK ] ServerTest.PutWithContentProvider (153 ms) [ RUN ] ServerTest.PostWithContentProviderAbort [ OK ] ServerTest.PostWithContentProviderAbort (176 ms) [ RUN ] ServerTest.PutWithContentProviderWithoutLength [ OK ] ServerTest.PutWithContentProviderWithoutLength (166 ms) [ RUN ] ServerTest.PostWithContentProviderWithoutLengthAbort [ OK ] ServerTest.PostWithContentProviderWithoutLengthAbort (177 ms) [ RUN ] ServerTest.PutWithContentProviderWithGzip [ OK ] ServerTest.PutWithContentProviderWithGzip (204 ms) [ RUN ] ServerTest.PostWithContentProviderWithGzipAbort [ OK ] ServerTest.PostWithContentProviderWithGzipAbort (93 ms) [ RUN ] ServerTest.PutWithContentProviderWithoutLengthWithGzip [ OK ] ServerTest.PutWithContentProviderWithoutLengthWithGzip (204 ms) [ RUN ] ServerTest.PostWithContentProviderWithoutLengthWithGzipAbort [ OK ] ServerTest.PostWithContentProviderWithoutLengthWithGzipAbort (206 ms) [ RUN ] ServerTest.PutLargeFileWithGzip test.cc:2780: Failure Value of: res Actual: false Expected: true [ FAILED ] ServerTest.PutLargeFileWithGzip (10790 ms) [ RUN ] ServerTest.PutLargeFileWithGzip2 test.cc:2798: Failure Value of: res Actual: false Expected: true [ FAILED ] ServerTest.PutLargeFileWithGzip2 (9969 ms) [ RUN ] ServerTest.PutContentWithDeflate [ OK ] ServerTest.PutContentWithDeflate (183 ms) [ RUN ] ServerTest.GetStreamedChunkedWithGzip [ OK ] ServerTest.GetStreamedChunkedWithGzip (198 ms) [ RUN ] ServerTest.GetStreamedChunkedWithGzip2 [ OK ] ServerTest.GetStreamedChunkedWithGzip2 (197 ms) [ RUN ] ServerTest.GetStreamedChunkedWithBrotli [ OK ] ServerTest.GetStreamedChunkedWithBrotli (245 ms) [ RUN ] ServerTest.GetStreamedChunkedWithBrotli2 [ OK ] ServerTest.GetStreamedChunkedWithBrotli2 (175 ms) [ RUN ] ServerTest.Patch [ OK ] ServerTest.Patch (179 ms) [ RUN ] ServerTest.Delete [ OK ] ServerTest.Delete (150 ms) [ RUN ] ServerTest.DeleteContentReceiver [ OK ] ServerTest.DeleteContentReceiver (198 ms) [ RUN ] ServerTest.Options [ OK ] ServerTest.Options (178 ms) [ RUN ] ServerTest.URL [ OK ] ServerTest.URL (190 ms) [ RUN ] ServerTest.ArrayParam [ OK ] ServerTest.ArrayParam (195 ms) [ RUN ] ServerTest.NoMultipleHeaders [ OK ] ServerTest.NoMultipleHeaders (188 ms) [ RUN ] ServerTest.PostContentReceiver [ OK ] ServerTest.PostContentReceiver (189 ms) [ RUN ] ServerTest.PostMulitpartFilsContentReceiver [ OK ] ServerTest.PostMulitpartFilsContentReceiver (211 ms) [ RUN ] ServerTest.PostMulitpartPlusBoundary [ OK ] ServerTest.PostMulitpartPlusBoundary (202 ms) [ RUN ] ServerTest.PostContentReceiverGzip [ OK ] ServerTest.PostContentReceiverGzip (216 ms) [ RUN ] ServerTest.PutContentReceiver [ OK ] ServerTest.PutContentReceiver (168 ms) [ RUN ] ServerTest.PatchContentReceiver [ OK ] ServerTest.PatchContentReceiver (212 ms) [ RUN ] ServerTest.PostQueryStringAndBody [ OK ] ServerTest.PostQueryStringAndBody (190 ms) [ RUN ] ServerTest.HTTP2Magic [ OK ] ServerTest.HTTP2Magic (150 ms) [ RUN ] ServerTest.KeepAlive [ OK ] ServerTest.KeepAlive (732 ms) [ RUN ] ServerTest.TooManyRedirect [ OK ] ServerTest.TooManyRedirect (1966 ms) [ RUN ] ServerTest.Gzip [ OK ] ServerTest.Gzip (213 ms) [ RUN ] ServerTest.GzipWithoutAcceptEncoding [ OK ] ServerTest.GzipWithoutAcceptEncoding (174 ms) [ RUN ] ServerTest.GzipWithContentReceiver [ OK ] ServerTest.GzipWithContentReceiver (186 ms) [ RUN ] ServerTest.GzipWithoutDecompressing [ OK ] ServerTest.GzipWithoutDecompressing (178 ms) [ RUN ] ServerTest.GzipWithContentReceiverWithoutAcceptEncoding [ OK ] ServerTest.GzipWithContentReceiverWithoutAcceptEncoding (166 ms) [ RUN ] ServerTest.NoGzip [ OK ] ServerTest.NoGzip (201 ms) [ RUN ] ServerTest.NoGzipWithContentReceiver [ OK ] ServerTest.NoGzipWithContentReceiver (187 ms) [ RUN ] ServerTest.MultipartFormDataGzip [ OK ] ServerTest.MultipartFormDataGzip (206 ms) [ RUN ] ServerTest.Brotli [ OK ] ServerTest.Brotli (213 ms) [----------] 117 tests from ServerTest (58599 ms total) [----------] 1 test from GzipDecompressor [ RUN ] GzipDecompressor.ChunkedDecompression [ OK ] GzipDecompressor.ChunkedDecompression (13 ms) [----------] 1 test from GzipDecompressor (13 ms total) [----------] 9 tests from ServerRequestParsingTest [ RUN ] ServerRequestParsingTest.TrimWhitespaceFromHeaderValues [ OK ] ServerRequestParsingTest.TrimWhitespaceFromHeaderValues (57 ms) [ RUN ] ServerRequestParsingTest.ReadHeadersRegexComplexity [ OK ] ServerRequestParsingTest.ReadHeadersRegexComplexity (1032 ms) [ RUN ] ServerRequestParsingTest.ReadHeadersRegexComplexity2 [ OK ] ServerRequestParsingTest.ReadHeadersRegexComplexity2 (1025 ms) [ RUN ] ServerRequestParsingTest.ExcessiveWhitespaceInUnparseableHeaderLine [ OK ] ServerRequestParsingTest.ExcessiveWhitespaceInUnparseableHeaderLine (1268 ms) [ RUN ] ServerRequestParsingTest.InvalidFirstChunkLengthInRequest [ OK ] ServerRequestParsingTest.InvalidFirstChunkLengthInRequest (1057 ms) [ RUN ] ServerRequestParsingTest.InvalidSecondChunkLengthInRequest [ OK ] ServerRequestParsingTest.InvalidSecondChunkLengthInRequest (1055 ms) [ RUN ] ServerRequestParsingTest.ChunkLengthTooHighInRequest [ OK ] ServerRequestParsingTest.ChunkLengthTooHighInRequest (1087 ms) [ RUN ] ServerRequestParsingTest.InvalidHeaderTextWithExtraCR [ OK ] ServerRequestParsingTest.InvalidHeaderTextWithExtraCR (1035 ms) [ RUN ] ServerRequestParsingTest.InvalidSpaceInURL [ OK ] ServerRequestParsingTest.InvalidSpaceInURL (1059 ms) [----------] 9 tests from ServerRequestParsingTest (8688 ms total) [----------] 1 test from ServerStopTest [ RUN ] ServerStopTest.StopServerWithChunkedTransmission [ OK ] ServerStopTest.StopServerWithChunkedTransmission (2098 ms) [----------] 1 test from ServerStopTest (2099 ms total) [----------] 1 test from StreamingTest [ RUN ] StreamingTest.NoContentLengthStreaming [ OK ] StreamingTest.NoContentLengthStreaming (537 ms) [----------] 1 test from StreamingTest (537 ms total) [----------] 1 test from MountTest [ RUN ] MountTest.Unmount [ OK ] MountTest.Unmount (1252 ms) [----------] 1 test from MountTest (1253 ms total) [----------] 1 test from ExceptionTest [ RUN ] ExceptionTest.ThrowExceptionInHandler [ OK ] ExceptionTest.ThrowExceptionInHandler (1092 ms) [----------] 1 test from ExceptionTest (1093 ms total) [----------] 2 tests from KeepAliveTest [ RUN ] KeepAliveTest.ReadTimeout [ OK ] KeepAliveTest.ReadTimeout (7072 ms) [ RUN ] KeepAliveTest.ReadTimeoutSSL [ OK ] KeepAliveTest.ReadTimeoutSSL (7257 ms) [----------] 2 tests from KeepAliveTest (14331 ms total) [----------] 1 test from ClientProblemDetectionTest [ RUN ] ClientProblemDetectionTest.ContentProvider [ OK ] ClientProblemDetectionTest.ContentProvider (1080 ms) [----------] 1 test from ClientProblemDetectionTest (1080 ms total) [----------] 1 test from ErrorHandlerWithContentProviderTest [ RUN ] ErrorHandlerWithContentProviderTest.ErrorHandler [ OK ] ErrorHandlerWithContentProviderTest.ErrorHandler (1084 ms) [----------] 1 test from ErrorHandlerWithContentProviderTest (1085 ms total) [----------] 2 tests from GetWithParametersTest [ RUN ] GetWithParametersTest.GetWithParameters [ OK ] GetWithParametersTest.GetWithParameters (1178 ms) [ RUN ] GetWithParametersTest.GetWithParameters2 [ OK ] GetWithParametersTest.GetWithParameters2 (1140 ms) [----------] 2 tests from GetWithParametersTest (2320 ms total) [----------] 1 test from ServerDefaultHeadersTest [ RUN ] ServerDefaultHeadersTest.DefaultHeaders [ OK ] ServerDefaultHeadersTest.DefaultHeaders (1068 ms) [----------] 1 test from ServerDefaultHeadersTest (1069 ms total) [----------] 1 test from ServerTestWithAI_PASSIVE [ RUN ] ServerTestWithAI_PASSIVE.GetMethod200 [ OK ] ServerTestWithAI_PASSIVE.GetMethod200 (153 ms) [----------] 1 test from ServerTestWithAI_PASSIVE (156 ms total) [----------] 1 test from ServerUpDownTest [ RUN ] ServerUpDownTest.QuickStartStop [ OK ] ServerUpDownTest.QuickStartStop (539 ms) [----------] 1 test from ServerUpDownTest (545 ms total) [----------] 1 test from PayloadMaxLengthTest [ RUN ] PayloadMaxLengthTest.ExceedLimit [ OK ] PayloadMaxLengthTest.ExceedLimit (279 ms) [----------] 1 test from PayloadMaxLengthTest (285 ms total) [----------] 2 tests from SSLClientTest [ RUN ] SSLClientTest.UpdateCAStore [ OK ] SSLClientTest.UpdateCAStore (1133 ms) [ RUN ] SSLClientTest.ServerCertificateVerification4 [ OK ] SSLClientTest.ServerCertificateVerification4 (142 ms) [----------] 2 tests from SSLClientTest (1288 ms total) [----------] 5 tests from SSLClientServerTest [ RUN ] SSLClientServerTest.ClientCertPresent [ OK ] SSLClientServerTest.ClientCertPresent (209 ms) [ RUN ] SSLClientServerTest.MemoryClientCertPresent [ OK ] SSLClientServerTest.MemoryClientCertPresent (203 ms) [ RUN ] SSLClientServerTest.ClientCertMissing [ OK ] SSLClientServerTest.ClientCertMissing (650 ms) [ RUN ] SSLClientServerTest.TrustDirOptional [ OK ] SSLClientServerTest.TrustDirOptional (199 ms) [ RUN ] SSLClientServerTest.SSLConnectTimeout [ OK ] SSLClientServerTest.SSLConnectTimeout (1090 ms) [----------] 5 tests from SSLClientServerTest (2384 ms total) [----------] 1 test from InvalidScheme [ RUN ] InvalidScheme.SimpleInterface [ OK ] InvalidScheme.SimpleInterface (1 ms) [----------] 1 test from InvalidScheme (1 ms total) [----------] 1 test from NoScheme [ RUN ] NoScheme.SimpleInterface [ OK ] NoScheme.SimpleInterface (3 ms) [----------] 1 test from NoScheme (3 ms total) [----------] 1 test from HttpToHttpsRedirectTest [ RUN ] HttpToHttpsRedirectTest.CertFile [ OK ] HttpToHttpsRedirectTest.CertFile (211 ms) [----------] 1 test from HttpToHttpsRedirectTest (212 ms total) [----------] Global test environment tear-down [==========] 187 tests from 42 test suites ran. (108918 ms total) [ PASSED ] 185 tests. [ FAILED ] 2 tests, listed below: [ FAILED ] ServerTest.PutLargeFileWithGzip [ FAILED ] ServerTest.PutLargeFileWithGzip2 2 FAILED TESTS error: RPM build errors: Bad exit status from /var/tmp/rpm-tmp.MStmO6 (%check) Bad exit status from /var/tmp/rpm-tmp.MStmO6 (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/cpp-httplib.spec