Tests started on Mon Oct 28 08:57:31 PM PDT 2024 and finished on Mon Oct 28 08:58:40 PM PDT 2024
Start running edhttp tests v1.1.0 on Mon Oct 28 08:57:42 PM PDT 2024 edhttp v1.1.0 [2110069]:unittest: seed is 1730174262 source directory: "/home/snapwebsites/snapcpp/contrib/edhttp" binary directory: "/home/snapwebsites/snapcpp/BUILD/Debug/contrib/edhttp/coverage/BUILD" dist directory: "/home/snapwebsites/snapcpp/BUILD/Debug/dist" temporary directory: "/home/snapwebsites/snapcpp/BUILD/Debug/contrib/edhttp/tmp" Randomness seeded to: 1413058860 SECTION: archiver_file: verify archiver file defaults SECTION: archiver_file: verify set/get file metadata SECTION: archiver_tar: verify tar archiver SECTION: archiver_tar: verify tar archiver with long filenames SECTION: archiver_tar: verify large checksum SECTION: archiver: verify list of archivers in our library SECTION: archiver: verify the "unknown" archiver does not exist SECTION: archiver_error: tar filename missing SECTION: archiver_error: tar filename too long SECTION: archiver_error: tar prefix too long SECTION: archiver_error: tar user name too long SECTION: archiver_error: tar group name too long SECTION: archiver_error: tar file data missing SECTION: archiver_error: tar file invalid checksum & file type SECTION: archiver_error: tar file invalid checksum & file type SECTION: compressor_bz2: verify bz2 compressor SECTION: compressor_bz2: verify small buffers with bz2 compressor SECTION: compressor_bz2: verify invalid bz2 magic length SECTION: compressor_bz2: attempt bz2 compressing an empty buffer SECTION: compressor_deflate: verify deflate compressor SECTION: compressor_deflate: attempt deflate compressing an empty buffer SECTION: compressor_deflate: compress small buffers with deflate SECTION: compressor_gzip: verify gzip compressor SECTION: compressor_gzip: verify small buffers with gzip compressor SECTION: compressor_gzip: verify invalid gzip magic length SECTION: compressor_gzip: attempt gzip compressing an empty buffer SECTION: compressor_xz: verify xz compressor SECTION: compressor_xz: verify small buffers with xz compressor SECTION: compressor_xz: verify invalid xz magic length SECTION: compressor_xz: attempt xz compressing an empty buffer SECTION: compressor: verify list of compressors in our library SECTION: compressor: verify the "unknown" compressor does not exist SECTION: compressor: compress() with an empty input buffer SECTION: compressor: compress() with too small a level SECTION: compressor: compress() with unknown compressor SECTION: compressor: compress() small buffers with bz2 return input SECTION: compressor: compress() small buffers with gzip return input SECTION: compressor: compress() small buffers with xz return input SECTION: compressor: compress() with deflate; decompress explicitly SECTION: compressor: compress()/decompress() with bz2 SECTION: compressor: compress()/decompress() a large buffer with bz2 SECTION: compressor: compress()/decompress() with gzip SECTION: compressor: compress()/decompress() with best compressor 2024/10/29 03:58:27 monster [2110069/2110069]: warning: --- c = xz (in function "void CATCH2_INTERNAL_TEST_23()()") (catch_compressor.cpp:977) 2024/10/29 03:58:27 monster [2110069/2110069]: warning: --- c = bz2 (in function "void CATCH2_INTERNAL_TEST_23()()") (catch_compressor.cpp:977) 2024/10/29 03:58:27 monster [2110069/2110069]: warning: --- c = bz2 (in function "void CATCH2_INTERNAL_TEST_23()()") (catch_compressor.cpp:977) 2024/10/29 03:58:27 monster [2110069/2110069]: warning: --- c = bz2 (in function "void CATCH2_INTERNAL_TEST_23()()") (catch_compressor.cpp:977) 2024/10/29 03:58:27 monster [2110069/2110069]: warning: --- c = bz2 (in function "void CATCH2_INTERNAL_TEST_23()()") (catch_compressor.cpp:977) 2024/10/29 03:58:27 monster [2110069/2110069]: warning: --- c = bz2 (in function "void CATCH2_INTERNAL_TEST_23()()") (catch_compressor.cpp:977) 2024/10/29 03:58:27 monster [2110069/2110069]: warning: --- c = bz2 (in function "void CATCH2_INTERNAL_TEST_23()()") (catch_compressor.cpp:977) 2024/10/29 03:58:27 monster [2110069/2110069]: warning: --- c = xz (in function "void CATCH2_INTERNAL_TEST_23()()") (catch_compressor.cpp:977) 2024/10/29 03:58:27 monster [2110069/2110069]: warning: --- c = xz (in function "void CATCH2_INTERNAL_TEST_23()()") (catch_compressor.cpp:977) 2024/10/29 03:58:27 monster [2110069/2110069]: warning: --- c = xz (in function "void CATCH2_INTERNAL_TEST_23()()") (catch_compressor.cpp:977) SECTION: compressor: compress() too small a buffer with any compressor SECTION: compressor_error: deflate decompress() requires a size SECTION: compressor_error: gzip decompress() does not support a size SECTION: compressor_error: xz decompress() does not support a size SECTION: compressor_error: compressor name cannot be nullptr or empty SECTION: compressor_error: compressor name cannot be a special name SECTION: compressor_error: compressor name cannot include a special character SECTION: mkgmtime: convert back and forth SECTION: mkgmtime: test with +/- to each segment SECTION: mkgmtime: year over 10,000 do not work SECTION: uri: verify already canonicalized URI SECTION: uri: verify URI without '/' after domain name SECTION: uri: verify URI with two slashes SECTION: uri: verify URI with multiple slashes and a path SECTION: uri: verify credentials SECTION: uri: use set_uri() to test valid URIs SECTION: uri: use set_uri() to test invalid URIs SECTION: uri_error: create uri with an invalid string SECTION: validator_uri: validate valid and invalid URIs (default) SECTION: validator_uri: validate valid and invalid URIs (refuse all) SECTION: validator_uri: validate valid and invalid URIs (refuse ip) SECTION: validator_uri: validate valid and invalid URIs (refuse path) SECTION: validator_uri: validate valid and invalid URIs (accept IP, dash) SECTION: validator_uri: validate valid and invalid URIs (accept IP, underscore) SECTION: validator_uri: validate valid and invalid URIs (accept Unix path, dash) SECTION: validator_uri: validate valid and invalid URIs (accept Unix path, underscore) SECTION: validator_uri: validate valid and invalid URIs (invalid parameter) 2024/10/29 03:58:27 monster [2110069/2110069]: error: validator_uri(): unknown parameter "allow_path". (in function "void snaplogger::{anonymous}::getopt_logs(cppthread::log_level_t, const string&)()") (private_logger.cpp:87) SECTION: Verify the test version SECTION: weighted_http_strings: verify object, except parts SECTION: weighted_http_strings: verify parts SECTION: weighted_http_strings: verify weights top functions SECTION: weighted_http_strings: verify weight parts SECTION: weighted_http_strings: sort has no effect if weights are equal SECTION: weighted_http_strings: verify object SECTION: weighted_http_strings: verify part SECTION: weighted_http_strings: sort has no effect if weights are equal SECTION: weighted_http_strings: verify object SECTION: weighted_http_strings: verify part SECTION: weighted_http_strings: sort has no effect if weights are equal SECTION: weighted_http_strings: verify object SECTION: weighted_http_strings: verify part after copy in non-const and in const SECTION: weighted_http_strings: sort by level (weight) SECTION: weighted_http_strings: verify object SECTION: weighted_http_strings: verify part SECTION: weighted_http_strings: sort by level (weight) SECTION: weighted_http_strings: verify object SECTION: weighted_http_strings: verify part SECTION: weighted_http_strings: sort by level (weight) SECTION: weighted_http_strings: verify object SECTION: weighted_http_strings: add "en" SECTION: weighted_http_strings: add "en" and then "fr" SECTION: weighted_http_strings: replace with "mo" SECTION: weighted_http_strings: set parameters with a value SECTION: weighted_http_strings: verify multiple parts SECTION: weighted_http_strings: verify other quotation requirements SECTION: invalid_weighted_http_strings: main name too long 2024/10/29 03:58:27 monster [2110069/2110069]: error: parsing of "deutsch_ist_zu-schwierig" generated errors:\npart name is empty or too long (limit is '8-8' characters). (in function "bool edhttp::weighted_http_string::parse(const string&, bool)()") (weighted_http_string.cpp:442) SECTION: invalid_weighted_http_strings: sub-name too long 2024/10/29 03:58:27 monster [2110069/2110069]: error: parsing of "deutsch-ist_zu_schwierig" generated errors:\npart sub-name is empty or too long (limit is '8-8' characters). (in function "bool edhttp::weighted_http_string::parse(const string&, bool)()") (weighted_http_string.cpp:442) SECTION: invalid_weighted_http_strings: too many dashes in part name 2024/10/29 03:58:27 monster [2110069/2110069]: error: parsing of "deutsch-ist-zu-schwierig" generated errors:\npart name cannot include more than one '-'. (in function "bool edhttp::weighted_http_string::parse(const string&, bool)()") (weighted_http_string.cpp:442) SECTION: invalid_weighted_http_strings: negative quality is not acceptable 2024/10/29 03:58:27 monster [2110069/2110069]: error: parsing of "fr-FR;q=-1.0" generated errors:\nthe quality value (q=...) cannot be a negative number. (in function "bool edhttp::weighted_http_string::parse(const string&, bool)()") (weighted_http_string.cpp:442) SECTION: invalid_weighted_http_strings: quality must be a valid double 2024/10/29 03:58:27 monster [2110069/2110069]: error: parsing of "fr-FR;q=joke" generated errors:\nthe quality value (q=...) is not a valid floating point. (in function "bool edhttp::weighted_http_string::parse(const string&, bool)()") (weighted_http_string.cpp:442) SECTION: invalid_weighted_http_strings: spurious data 2024/10/29 03:58:27 monster [2110069/2110069]: error: parsing of "fr-FR;joke="it is" not" generated errors:\nfound a spurious character in a weighted string. (in function "bool edhttp::weighted_http_string::parse(const string&, bool)()") (weighted_http_string.cpp:442) SECTION: invalid_weighted_http_strings: expected value separator (,) or EOS 2024/10/29 03:58:27 monster [2110069/2110069]: error: parsing of "fr-FR |" generated errors:\npart not ended by a comma or end of string. (in function "bool edhttp::weighted_http_string::parse(const string&, bool)()") (weighted_http_string.cpp:442) SECTION: invalid_string_part: part value includes ' and " SECTION: invalid_string_part: part value includes " and ' =============================================================================== All tests passed (7422 assertions in 19 test cases) Finished running edhttp tests v1.1.0 on Mon Oct 28 08:58:27 PM PDT 2024