curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: runtests.pl: runhttp2server() fails to return error

From: Christian Weisgerber via curl-library <curl-library_at_cool.haxx.se>
Date: Thu, 20 Aug 2020 12:48:19 +0200

Daniel Stenberg:

> Ack. Does something like this fix it for you?
>
> --- a/tests/runtests.pl
> +++ b/tests/runtests.pl
> @@ -1477,10 +1477,11 @@ sub runhttp2server {
> if($http2pid <= 0 || !pidexists($http2pid)) {
> # it is NOT alive
> logmsg "RUN: failed to start the $srvrname server\n";
> stopserver($server, "$pid2");
> $doesntrun{$pidfile} = 1;
> + $http2pid = $pid2 = 0;
> next;
> }

Yes, cosmetic warnings aside.

$ ./runtests.pl 1700 1701 1702
Prototype mismatch: sub main::decode_base64 ($) vs none at getpart.pm line 36.
********* System characteristics ********
* curl 7.72.0 (x86_64-unknown-openbsd6.7)
* libcurl/7.72.0 LibreSSL/3.2.1 zlib/1.2.3 nghttp2/1.41.0
* Features: AsynchDNS HTTP2 HTTPS-proxy IPv6 Largefile libz NTLM NTLM_WB SSL UnixSockets
* Disabled:
* Host: ariolc.mips.inka.de
* System: OpenBSD ariolc.mips.inka.de 6.7 GENERIC.MP#1 amd64
* OS: openbsd
* Servers: HTTP-IPv6 HTTP-unix FTP-IPv6
* Env:
* Seed: 259231
*****************************************
RUN: failed to start the HTTP/2 server
RUN: failed to start the HTTP/2 server
RUN: failed to start the HTTP/2 server
RUN: failed to start the HTTP/2 server
RUN: failed to start the HTTP/2 server
RUN: failed to start the HTTP/2 server
RUN: failed to start the HTTP/2 server
RUN: failed to start the HTTP/2 server
RUN: failed to start the HTTP/2 server
RUN: failed to start the HTTP/2 server
test 1700 SKIPPED: failed starting HTTP/2 server
Use of uninitialized value $HTTP2PORT in substitution iterator at ./runtests.pl line 3253.
Use of uninitialized value $HTTP2PORT in substitution iterator at ./runtests.pl line 3253.
test 1701 SKIPPED: failed starting HTTP/2 server
Use of uninitialized value $HTTP2PORT in substitution iterator at ./runtests.pl line 3253.
Use of uninitialized value $HTTP2PORT in substitution iterator at ./runtests.pl line 3253.
test 1702 SKIPPED: failed starting HTTP/2 server
Terminated
TESTFAIL: No tests were performed
TESTDONE: 3 tests were considered during 52 seconds.
TESTINFO: 3 tests were skipped due to these restraints:
TESTINFO: "failed starting HTTP/2 server" 3 times (1700, 1701, 1702)

-- 
Christian "naddy" Weisgerber                          naddy_at_mips.inka.de
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2020-08-20