On Mon, Jun 27, 2022 at 8:04 PM KeithG <[email protected]> wrote:
>
> On Fri, Jun 24, 2022 at 4:35 AM Petr Pisar <[email protected]> wrote:
> >
> > V Wed, Jun 22, 2022 at 06:42:44PM -0500, KeithG napsal(a):
> > > On Wed, Jun 22, 2022 at 12:16 PM Petr Pisar <[email protected]> wrote:
> > > > That patch does not seem right. gnutls_x509_crt_get_expiration_time() 
> > > > returns
> > > > time_t and now is also time_t.
> > > >
> > > > Either there is a bug in gnutls, or glibc, or simply the expiration 
> > > > time of
> > > > the certificate is not representable with 32-bit time_t type. I would 
> > > > not be
> > > > surprised if it were the last case.
> > > >
> > > > Can you post here a complete certificate chain the server presents to 
> > > > wget?
> > > > You can use "openssl s_client -connect THE_HOST:https -showcerts to 
> > > > obtain it.
> > > > If it so, than the only fix is to recompile your system with 
> > > > "-D_TIME_BITS=64
> > > > -D_FILE_OFFSET_BITS=64" CFLAGS. (Provided your platform supports it.)
> > > >
> > > > -- Petr
> > >
> > > I am not sure what I need to reply when the command completes. I typed
> > > '0'. This is on an armv7 running arch linux:
> > >
> > > # openssl s_client -connect google.com:https -showcerts
> > > CONNECTED(00000003)
> > > depth=2 C = US, O = Google Trust Services LLC, CN = GTS Root R1
> > > verify return:1
> > > depth=1 C = US, O = Google Trust Services LLC, CN = GTS CA 1C3
> > > verify return:1
> > > depth=0 CN = *.google.com
> > > verify return:1
> > > ---
> > > Certificate chain
> > >  0 s:CN = *.google.com
> > >    i:C = US, O = Google Trust Services LLC, CN = GTS CA 1C3
> >
> > The certificates look good. Their timestamps fit into 32-bit time_t
> > resolution.
> >
> > Are you sure a machine where wget fails has correctly set clock? The server
> > certificate expires on Aug 29 08:29:45 2022 GMT.
> >
> > I tried wget-1.21.3 built with GnuTLS on i686 machine, which is also 32-bit
> > platform, with Fedora operating system and I don't observe any failure.
> >
> > Can you try using GnuTLS client directly on the affected system? Make sure
> > an argument of --x509cafile option points to a file with all CA 
> > certificates:
> >
> > gnutls-cli --x509cafile /etc/ssl/certs/ca-bundle.crt --port https google.com
> >
> > If this is a bug in GnuTLS (or some of its libraries), it should fail,
> > too.
> >
> > -- Petr
>
Petr,

I tried compiling wget from source for the Arch Linux armv7
architecture and I get 11 failed tests. Interestingly, I get only 6
failed tests for aarch64. With the patch I sent, the failed tests
become the same for both architectures. The test-suite log for armv7
is attached. It fails these tests which pass on aarch64: https-pfs,
https-tlsv1, https-tlsv1x, https-clientcert, https-crl. Does this log
help to point to where the problem might lie?

Keith
=======================================
   wget 1.21.3: tests/test-suite.log
=======================================

# TOTAL: 94
# PASS:  82
# SKIP:  1
# XFAIL: 0
# FAIL:  11
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: Test-ftp-iri
==================

Setting --no-config (noconfig) to 1
Running test Test-ftp-iri
Calling /Rune_dev/aarch64/wget/src/wget-1.21.3/tests/../src/wget -d --no-config --local-encoding=iso-8859-1 --remote-encoding=utf-8 -S ftp://localhost:35165/français.txt
Setting --no-config (noconfig) to 1
Setting --local-encoding (localencoding) to iso-8859-1
Setting --remote-encoding (remoteencoding) to utf-8
Setting --server-response (serverresponse) to 1
DEBUG output created by Wget 1.21.3 on linux-gnueabihf.

Reading HSTS entries from /home/alarm/.wget-hsts
URI encoding = 'iso-8859-1'
converted 'ftp://localhost:35165/français.txt' (iso-8859-1) -> 'ftp://localhost:35165/français.txt' (UTF-8)
Converted file name 'français.txt' (utf-8) -> 'français.txt' (iso-8859-1)
--2022-06-27 20:20:46--  ftp://localhost:35165/fran%C3%A7ais.txt
           => 'fran\347ais.txt'
Resolving localhost (localhost)... ::1, 127.0.0.1
Caching localhost => ::1 127.0.0.1
Connecting to localhost (localhost)|::1|:35165... Closed fd 3
failed: Connection refused.
Connecting to localhost (localhost)|127.0.0.1|:35165... connected.
Created socket 3.
Releasing 0x0233ddc0 (new refcount 1).
220 GNU Wget Testing FTP Server ready.
Logging in as anonymous ... 
--> USER anonymous

230 Anonymous user access granted.
--> SYST

215 UNIX Type: L8

UNIX TYPE L8: I know it and I will use "LIST -a" as standard list command
--> PWD

257 "/"
--> TYPE I

200 TYPE changed to I.
==> CWD not needed.
--> SIZE français.txt

213 12
conaddr is: 127.0.0.1
--> PASV

227 Entering Passive Mode (127,0,0,1,169,243)
trying to connect to 127.0.0.1 port 43507
Created socket 4.
--> RETR français.txt

150 Opening BINARY mode data connection.
français.txt: Invalid argument
Closed fd 3
Closed fd 4
[IRI fallbacking to non-utf8 for 'ftp://localhost:35165/fran\347ais.txt'
Converted file name 'français.txt' (utf-8) -> 'français.txt' (iso-8859-1)
--2022-06-27 20:20:46--  ftp://localhost:35165/fran%E7ais.txt
           => 'fran\347ais.txt'
Found localhost in host_name_addresses_map (0x233ddc0)
Connecting to localhost (localhost)|127.0.0.1|:35165... connected.
Created socket 3.
Releasing 0x0233ddc0 (new refcount 1).
220 GNU Wget Testing FTP Server ready.
Logging in as anonymous ... 
--> USER anonymous

230 Anonymous user access granted.
--> SYST

215 UNIX Type: L8

UNIX TYPE L8: I know it and I will use "LIST -a" as standard list command
--> PWD

257 "/"
--> TYPE I

200 TYPE changed to I.
==> CWD not needed.
--> SIZE français.txt

550 File or directory not found.
conaddr is: 127.0.0.1
--> PASV

227 Entering Passive Mode (127,0,0,1,155,69)
trying to connect to 127.0.0.1 port 39749
Created socket 4.
--> RETR français.txt

Use of uninitialized value in string eq at FTPServer.pm line 294, <$socket> chunk 7.
550 File not found.

No such file 'fran\347ais.txt'.

Closed fd 4
Closed fd 3
Test failed: wrong code returned (was: 8, expected: 0)
FAIL Test-ftp-iri.px (exit status: 1)

FAIL: Test-ftp-iri-fallback
===========================

Setting --no-config (noconfig) to 1
Running test Test-ftp-iri-fallback
Calling /Rune_dev/aarch64/wget/src/wget-1.21.3/tests/../src/wget -d --no-config --local-encoding=iso-8859-1 -S ftp://localhost:41995/français.txt
Setting --no-config (noconfig) to 1
Setting --local-encoding (localencoding) to iso-8859-1
Setting --server-response (serverresponse) to 1
DEBUG output created by Wget 1.21.3 on linux-gnueabihf.

Reading HSTS entries from /home/alarm/.wget-hsts
URI encoding = 'iso-8859-1'
converted 'ftp://localhost:41995/français.txt' (iso-8859-1) -> 'ftp://localhost:41995/français.txt' (UTF-8)
Converted file name 'français.txt' (UTF-8) -> 'français.txt' (iso-8859-1)
--2022-06-27 20:20:46--  ftp://localhost:41995/fran%C3%A7ais.txt
           => 'fran\347ais.txt'
Resolving localhost (localhost)... ::1, 127.0.0.1
Caching localhost => ::1 127.0.0.1
Connecting to localhost (localhost)|::1|:41995... Closed fd 3
failed: Connection refused.
Connecting to localhost (localhost)|127.0.0.1|:41995... connected.
Created socket 3.
Releasing 0x01ffada8 (new refcount 1).
220 GNU Wget Testing FTP Server ready.
Logging in as anonymous ... 
--> USER anonymous

230 Anonymous user access granted.
--> SYST

215 UNIX Type: L8

UNIX TYPE L8: I know it and I will use "LIST -a" as standard list command
--> PWD

257 "/"
--> TYPE I

200 TYPE changed to I.
==> CWD not needed.
--> SIZE français.txt

550 File or directory not found.
conaddr is: 127.0.0.1
--> PASV

227 Entering Passive Mode (127,0,0,1,163,27)
trying to connect to 127.0.0.1 port 41755
Created socket 4.
--> RETR français.txt

Use of uninitialized value in string eq at FTPServer.pm line 294, <$socket> chunk 7.
550 File not found.

No such file 'fran\303\247ais.txt'.

Closed fd 4
Closed fd 3
[IRI fallbacking to non-utf8 for 'ftp://localhost:41995/fran\347ais.txt'
Converted file name 'français.txt' (UTF-8) -> 'français.txt' (iso-8859-1)
--2022-06-27 20:20:46--  ftp://localhost:41995/fran%E7ais.txt
           => 'fran\347ais.txt'
Found localhost in host_name_addresses_map (0x1ffada8)
Connecting to localhost (localhost)|127.0.0.1|:41995... connected.
Created socket 3.
Releasing 0x01ffada8 (new refcount 1).
220 GNU Wget Testing FTP Server ready.
Logging in as anonymous ... 
--> USER anonymous

230 Anonymous user access granted.
--> SYST

215 UNIX Type: L8

UNIX TYPE L8: I know it and I will use "LIST -a" as standard list command
--> PWD

257 "/"
--> TYPE I

200 TYPE changed to I.
==> CWD not needed.
--> SIZE français.txt

213 12
conaddr is: 127.0.0.1
--> PASV

227 Entering Passive Mode (127,0,0,1,128,243)
trying to connect to 127.0.0.1 port 33011
Created socket 4.
--> RETR français.txt

150 Opening BINARY mode data connection.
français.txt: Invalid argument
Closed fd 3
Closed fd 4
Test failed: wrong code returned (was: 3, expected: 0)
FAIL Test-ftp-iri-fallback.px (exit status: 1)

FAIL: Test-ftp-iri-recursive
============================

Setting --no-config (noconfig) to 1
Running test Test-ftp-iri-recursive
Calling /Rune_dev/aarch64/wget/src/wget-1.21.3/tests/../src/wget -d --no-config --local-encoding=iso-8859-1 -r -nH -S ftp://localhost:37513/
Setting --no-config (noconfig) to 1
Setting --local-encoding (localencoding) to iso-8859-1
Setting --recursive (recursive) to 1
Setting --no (addhostdir) to 0
Setting --server-response (serverresponse) to 1
DEBUG output created by Wget 1.21.3 on linux-gnueabihf.

Reading HSTS entries from /home/alarm/.wget-hsts
URI encoding = 'iso-8859-1'
converted 'ftp://localhost:37513/' (iso-8859-1) -> 'ftp://localhost:37513/' (UTF-8)
Converted file name 'index.html' (UTF-8) -> 'index.html' (iso-8859-1)
Using '.listing' as listing tmp file.
--2022-06-27 20:20:47--  ftp://localhost:37513/
           => '.listing'
Resolving localhost (localhost)... ::1, 127.0.0.1
Caching localhost => ::1 127.0.0.1
Connecting to localhost (localhost)|::1|:37513... Closed fd 3
failed: Connection refused.
Connecting to localhost (localhost)|127.0.0.1|:37513... connected.
Created socket 3.
Releasing 0x006f6cd8 (new refcount 1).
220 GNU Wget Testing FTP Server ready.
Logging in as anonymous ... 
--> USER anonymous

230 Anonymous user access granted.
--> SYST

215 UNIX Type: L8

UNIX TYPE L8: I know it and I will use "LIST -a" as standard list command
--> PWD

257 "/"
--> TYPE I

200 TYPE changed to I.
==> CWD not needed.
conaddr is: 127.0.0.1
--> PASV

227 Entering Passive Mode (127,0,0,1,162,145)
trying to connect to 127.0.0.1 port 41617
Created socket 4.
--> LIST -a

_LIST_command - dir is: /
150 Opening data connection for file listing.
(skipping "LIST")
     0K                                                        3.05M=0s

Closed fd 4
226 Listing complete. Data connection has been closed.
-r--r--r-- 1  0  0  12 Jun 27 20:20 fran\347ais.txt
2022-06-27 20:20:47 (3.05 MB/s) - '.listing' saved [50]

PLAINFILE; perms 444; size: 12; month: Jun; day: 27; time: 20:20:00 (no yr); français.txt
Removed '.listing'.
Incomplete or invalid multibyte sequence encountered
Failed to convert file name 'français.txt' (UTF-8) -> '?' (iso-8859-1)
Incomplete or invalid multibyte sequence encountered
Failed to convert file name 'français.txt' (UTF-8) -> '?' (iso-8859-1)
--2022-06-27 20:20:47--  ftp://localhost:37513/fran%E7ais.txt
           => 'fran\347ais.txt'
==> CWD not required.
conaddr is: 127.0.0.1
--> PASV

227 Entering Passive Mode (127,0,0,1,128,45)
trying to connect to 127.0.0.1 port 32813
Created socket 4.
--> RETR français.txt

150 Opening BINARY mode data connection.
français.txt: Invalid argument
Closed fd 3
Closed fd 4
Test failed: file français.txt not downloaded
FAIL Test-ftp-iri-recursive.px (exit status: 1)

FAIL: Test-ftp-iri-disabled
===========================

Setting --no-config (noconfig) to 1
Running test Test-ftp-iri-disabled
Calling /Rune_dev/aarch64/wget/src/wget-1.21.3/tests/../src/wget -d --no-config --no-iri --local-encoding=iso-8859-1 -S ftp://localhost:37489/français.txt
Setting --no-config (noconfig) to 1
Setting --iri (iri) to 0
Setting --local-encoding (localencoding) to iso-8859-1
Setting --server-response (serverresponse) to 1
DEBUG output created by Wget 1.21.3 on linux-gnueabihf.

Reading HSTS entries from /home/alarm/.wget-hsts
URI encoding = 'iso-8859-1'
Incomplete or invalid multibyte sequence encountered
Failed to convert file name 'français.txt' (UTF-8) -> '?' (iso-8859-1)
--2022-06-27 20:20:47--  ftp://localhost:37489/fran%E7ais.txt
           => 'fran\347ais.txt'
Resolving localhost... ::1, 127.0.0.1
Caching localhost => ::1 127.0.0.1
Connecting to localhost|::1|:37489... Closed fd 3
failed: Connection refused.
Connecting to localhost|127.0.0.1|:37489... connected.
Created socket 3.
Releasing 0x01986b00 (new refcount 1).
220 GNU Wget Testing FTP Server ready.
Logging in as anonymous ... 
--> USER anonymous

230 Anonymous user access granted.
--> SYST

215 UNIX Type: L8

UNIX TYPE L8: I know it and I will use "LIST -a" as standard list command
--> PWD

257 "/"
--> TYPE I

200 TYPE changed to I.
==> CWD not needed.
--> SIZE français.txt

213 12
conaddr is: 127.0.0.1
--> PASV

227 Entering Passive Mode (127,0,0,1,142,67)
trying to connect to 127.0.0.1 port 36419
Created socket 4.
--> RETR français.txt

150 Opening BINARY mode data connection.
français.txt: Invalid argument
Closed fd 3
Closed fd 4
Test failed: wrong code returned (was: 3, expected: 0)
FAIL Test-ftp-iri-disabled.px (exit status: 1)

FAIL: Test-iri-disabled
=======================

Running test Test-iri-disabled
Calling /Rune_dev/aarch64/wget/src/wget-1.21.3/tests/../src/wget -d --no-config --no-iri -nH -r http://localhost:46373/
Setting --no-config (noconfig) to 1
Setting --iri (iri) to 0
Setting --no (addhostdir) to 0
Setting --recursive (recursive) to 1
DEBUG output created by Wget 1.21.3 on linux-gnueabihf.

Reading HSTS entries from /home/alarm/.wget-hsts
URI encoding = None
URI encoding = None
Enqueuing http://localhost:46373/ at depth 0
Queue count 1, maxcount 1.
[IRI Enqueuing 'http://localhost:46373/' with None
Dequeuing http://localhost:46373/ at depth 0
Queue count 0, maxcount 1.
Converted file name 'index.html' (UTF-8) -> 'index.html' (ANSI_X3.4-1968)
--2022-06-27 20:20:49--  http://localhost:46373/
Resolving localhost... ::1, 127.0.0.1
Caching localhost => ::1 127.0.0.1
Connecting to localhost|::1|:46373... connected.
Created socket 3.
Releasing 0x013c68b0 (new refcount 1).

---request begin---
GET / HTTP/1.1
Host: localhost:46373
User-Agent: Wget/1.21.3
Accept: */*
Accept-Encoding: identity
Connection: Keep-Alive

---request end---
HTTP request sent, awaiting response... 
---response begin---
HTTP/1.1 200 Ok
Date: Tue, 28 Jun 2022 01:20:49 GMT
Server: libwww-perl-daemon/6.14
Content-Length: 279
Content-Type: text/html; charset=ISO-8859-15

---response end---
200 Ok
Registered socket 3 for persistent reuse.
Length: 279 [text/html]
Saving to: 'index.html'

     0K                                                       100% 11.3M=0s

2022-06-27 20:20:49 (11.3 MB/s) - 'index.html' saved [279/279]

Loaded index.html (size 279).
URI encoding = None
index.html: merge('http://localhost:46373/', 'http://localhost:46373/p1_fran\347ais.html') -> http://localhost:46373/p1_fran\347ais.html
appending 'http://localhost:46373/p1_fran\347ais.html' to urlpos.
URI encoding = None
index.html: merge('http://localhost:46373/', 'http://localhost:46373/p3_\244\244\244.html') -> http://localhost:46373/p3_\244\244\244.html
appending 'http://localhost:46373/p3_\244\244\244.html' to urlpos.
nofollow in index.html: 0
Deciding whether to enqueue "http://localhost:46373/p1_français.html";.
URI encoding = None
Loading robots.txt; please ignore errors.
Converted file name 'robots.txt' (UTF-8) -> 'robots.txt' (ANSI_X3.4-1968)
--2022-06-27 20:20:49--  http://localhost:46373/robots.txt
Reusing existing connection to [localhost]:46373.
Reusing fd 3.

---request begin---
GET /robots.txt HTTP/1.1
Host: localhost:46373
User-Agent: Wget/1.21.3
Accept: */*
Accept-Encoding: identity
Connection: Keep-Alive

---request end---
HTTP request sent, awaiting response... 
---response begin---
HTTP/1.1 200 Ok
Date: Tue, 28 Jun 2022 01:20:49 GMT
Server: libwww-perl-daemon/6.14
Connection: close
Content-Type: text/plain

---response end---
200 Ok
Length: unspecified [text/plain]
Saving to: 'robots.txt'

     0K                                                        0.00 =0s

Disabling further reuse of socket 3.
Closed fd 3
2022-06-27 20:20:49 (0.00 B/s) - 'robots.txt' saved [0]

Decided to load it.
URI encoding = None
Enqueuing http://localhost:46373/p1_fran\347ais.html at depth 1
Queue count 1, maxcount 1.
[IRI Enqueuing 'http://localhost:46373/p1_fran\347ais.html' with None
Deciding whether to enqueue "http://localhost:46373/p3_¤¤¤.html";.
Decided to load it.
URI encoding = None
Enqueuing http://localhost:46373/p3_\244\244\244.html at depth 1
Queue count 2, maxcount 2.
[IRI Enqueuing 'http://localhost:46373/p3_\244\244\244.html' with None
Dequeuing http://localhost:46373/p1_fran\347ais.html at depth 1
Queue count 1, maxcount 2.
Incomplete or invalid multibyte sequence encountered
Failed to convert file name 'p1_français.html' (UTF-8) -> '?' (ANSI_X3.4-1968)
--2022-06-27 20:20:49--  http://localhost:46373/p1_fran%E7ais.html
Found localhost in host_name_addresses_map (0x13c68b0)
Connecting to localhost|::1|:46373... connected.
Created socket 3.
Releasing 0x013c68b0 (new refcount 1).

---request begin---
GET /p1_fran%E7ais.html HTTP/1.1
Host: localhost:46373
Referer: http://localhost:46373/
User-Agent: Wget/1.21.3
Accept: */*
Accept-Encoding: identity
Connection: Keep-Alive

---request end---
HTTP request sent, awaiting response... 
---response begin---
HTTP/1.1 200 Ok
Date: Tue, 28 Jun 2022 01:20:49 GMT
Server: libwww-perl-daemon/6.14
Content-Length: 283
Content-Type: text/html; charset=UTF-8

---response end---
200 Ok
Registered socket 3 for persistent reuse.
Length: 283 [text/html]
p1_français.html: Invalid argument
Disabling further reuse of socket 3.
Closed fd 3

Cannot write to 'p1_fran\347ais.html' (Invalid argument).
Dequeuing http://localhost:46373/p3_\244\244\244.html at depth 1
Queue count 0, maxcount 2.
Incomplete or invalid multibyte sequence encountered
Failed to convert file name 'p3_¤¤¤.html' (UTF-8) -> '?' (ANSI_X3.4-1968)
--2022-06-27 20:20:49--  http://localhost:46373/p3_%A4%A4%A4.html
Found localhost in host_name_addresses_map (0x13c68b0)
Connecting to localhost|::1|:46373... connected.
Created socket 3.
Releasing 0x013c68b0 (new refcount 1).

---request begin---
GET /p3_%A4%A4%A4.html HTTP/1.1
Host: localhost:46373
Referer: http://localhost:46373/
User-Agent: Wget/1.21.3
Accept: */*
Accept-Encoding: identity
Connection: Keep-Alive

---request end---
HTTP request sent, awaiting response... 
---response begin---
HTTP/1.1 200 Ok
Date: Tue, 28 Jun 2022 01:20:49 GMT
Server: libwww-perl-daemon/6.14
Content-Length: 119
Content-Type: text/plain

---response end---
200 Ok
Registered socket 3 for persistent reuse.
Length: 119 [text/plain]
p3_¤¤¤.html: Invalid argument
Disabling further reuse of socket 3.
Closed fd 3

Cannot write to 'p3_\244\244\244.html' (Invalid argument).
FINISHED --2022-06-27 20:20:49--
Total wall clock time: 0.05s
Downloaded: 2 files, 279 in 0s (11.3 MB/s)
Test failed: wrong code returned (was: 3, expected: 0)
FAIL Test-iri-disabled.px (exit status: 1)

FAIL: Test-iri-list
===================

Setting --no-config (noconfig) to 1
Running test Test-iri-list
Calling /Rune_dev/aarch64/wget/src/wget-1.21.3/tests/../src/wget -d --no-config --iri --trust-server-names -i http://localhost:46699/url_list.txt
Setting --no-config (noconfig) to 1
Setting --iri (iri) to 1
Setting --trust-server-names (trustservernames) to 1
Setting --input-file (input) to http://localhost:46699/url_list.txt
DEBUG output created by Wget 1.21.3 on linux-gnueabihf.

Reading HSTS entries from /home/alarm/.wget-hsts
URI encoding = 'ANSI_X3.4-1968'
URI content encoding = 'ANSI_X3.4-1968'
converted 'http://localhost:46699/url_list.txt' (ANSI_X3.4-1968) -> 'http://localhost:46699/url_list.txt' (UTF-8)
Converted file name 'url_list.txt' (UTF-8) -> 'url_list.txt' (ANSI_X3.4-1968)
--2022-06-27 20:20:49--  http://localhost:46699/url_list.txt
Resolving localhost (localhost)... ::1, 127.0.0.1
Caching localhost => ::1 127.0.0.1
Connecting to localhost (localhost)|::1|:46699... connected.
Created socket 3.
Releasing 0x00584890 (new refcount 1).

---request begin---
GET /url_list.txt HTTP/1.1
Host: localhost:46699
User-Agent: Wget/1.21.3
Accept: */*
Accept-Encoding: identity
Connection: Keep-Alive

---request end---
HTTP request sent, awaiting response... 
---response begin---
HTTP/1.1 200 Ok
Date: Tue, 28 Jun 2022 01:20:49 GMT
Server: libwww-perl-daemon/6.14
Content-Length: 99
Content-Type: text/plain; charset=ISO-8859-1

---response end---
200 Ok
Registered socket 3 for persistent reuse.
URI content encoding = 'ISO-8859-1'
Length: 99 [text/plain]
Saving to: 'url_list.txt'

     0K                                                       100% 3.97M=0s

2022-06-27 20:20:49 (3.97 MB/s) - 'url_list.txt' saved [99/99]

URI encoding = 'ISO-8859-1'
Loaded url_list.txt (size 99).
converted 'http://localhost:46699/' (ISO-8859-1) -> 'http://localhost:46699/' (UTF-8)
Converted file name 'index.html' (UTF-8) -> 'index.html' (ANSI_X3.4-1968)
--2022-06-27 20:20:49--  http://localhost:46699/
Reusing existing connection to [localhost]:46699.
Reusing fd 3.

---request begin---
GET / HTTP/1.1
Host: localhost:46699
User-Agent: Wget/1.21.3
Accept: */*
Accept-Encoding: identity
Connection: Keep-Alive

---request end---
HTTP request sent, awaiting response... 
---response begin---
HTTP/1.1 200 Ok
Date: Tue, 28 Jun 2022 01:20:49 GMT
Server: libwww-perl-daemon/6.14
Content-Length: 97
Content-Type: text/html; charset=ISO-8859-15

---response end---
200 Ok
URI content encoding = 'ISO-8859-15'
Length: 97 [text/html]
Saving to: 'index.html'

     0K                                                       100% 4.06M=0s

2022-06-27 20:20:49 (4.06 MB/s) - 'index.html' saved [97/97]

converted 'http://localhost:46699/p1_français.html' (ISO-8859-1) -> 'http://localhost:46699/p1_français.html' (UTF-8)
Incomplete or invalid multibyte sequence encountered
Failed to convert file name 'p1_français.html' (UTF-8) -> '?' (ANSI_X3.4-1968)
--2022-06-27 20:20:49--  http://localhost:46699/p1_fran%C3%A7ais.html
Reusing existing connection to [localhost]:46699.
Reusing fd 3.

---request begin---
GET /p1_fran%C3%A7ais.html HTTP/1.1
Host: localhost:46699
User-Agent: Wget/1.21.3
Accept: */*
Accept-Encoding: identity
Connection: Keep-Alive

---request end---
HTTP request sent, awaiting response... 
---response begin---
HTTP/1.1 404 File not found
Date: Tue, 28 Jun 2022 01:20:49 GMT
Server: libwww-perl-daemon/6.14
Content-Length: 98
Content-Type: text/html; charset=UTF-8

---response end---
404 File not found
URI content encoding = 'UTF-8'
Skipping 98 bytes of body: [<html>
<head>
  <title>404</title>
</head>
<body>
  <p>
    Nop nop nop...
  </p>
</body>
</html>
] done.
2022-06-27 20:20:49 ERROR 404: File not found.

[IRI fallbacking to non-utf8 for 'http://localhost:46699/p1_fran\347ais.html'
Incomplete or invalid multibyte sequence encountered
Failed to convert file name 'p1_français.html' (UTF-8) -> '?' (ANSI_X3.4-1968)
--2022-06-27 20:20:49--  http://localhost:46699/p1_fran%E7ais.html
Reusing existing connection to [localhost]:46699.
Reusing fd 3.

---request begin---
GET /p1_fran%E7ais.html HTTP/1.1
Host: localhost:46699
User-Agent: Wget/1.21.3
Accept: */*
Accept-Encoding: identity
Connection: Keep-Alive

---request end---
HTTP request sent, awaiting response... 
---response begin---
HTTP/1.1 200 Ok
Date: Tue, 28 Jun 2022 01:20:49 GMT
Server: libwww-perl-daemon/6.14
Content-Length: 195
Content-Type: text/html; charset=UTF-8

---response end---
200 Ok
URI content encoding = 'UTF-8'
Length: 195 [text/html]
p1_français.html: Invalid argument
Disabling further reuse of socket 3.
Closed fd 3

Cannot write to 'p1_fran\347ais.html' (Invalid argument).
converted 'http://localhost:46699/p2_één.html' (ISO-8859-1) -> 'http://localhost:46699/p2_één.html' (UTF-8)
Incomplete or invalid multibyte sequence encountered
Failed to convert file name 'p2_één.html' (UTF-8) -> '?' (ANSI_X3.4-1968)
--2022-06-27 20:20:49--  http://localhost:46699/p2_%C3%A9%C3%A9n.html
Found localhost in host_name_addresses_map (0x584890)
Connecting to localhost (localhost)|::1|:46699... connected.
Created socket 3.
Releasing 0x00584890 (new refcount 1).

---request begin---
GET /p2_%C3%A9%C3%A9n.html HTTP/1.1
Host: localhost:46699
User-Agent: Wget/1.21.3
Accept: */*
Accept-Encoding: identity
Connection: Keep-Alive

---request end---
HTTP request sent, awaiting response... 
---response begin---
HTTP/1.1 200 Ok
Date: Tue, 28 Jun 2022 01:20:49 GMT
Server: libwww-perl-daemon/6.14
Content-Length: 197
Content-Type: text/html; charset=ISO-8859-1

---response end---
200 Ok
Registered socket 3 for persistent reuse.
URI content encoding = 'ISO-8859-1'
Length: 197 [text/html]
Saving to: 'p2_\303\251\303\251n.html'

     0K                                                       100% 7.44M=0s

2022-06-27 20:20:50 (7.44 MB/s) - 'p2_\303\251\303\251n.html' saved [197/197]

FINISHED --2022-06-27 20:20:50--
Total wall clock time: 0.07s
Downloaded: 3 files, 393 in 0s (5.22 MB/s)
Test failed: wrong code returned (was: 3, expected: 0)
FAIL Test-iri-list.px (exit status: 1)

FAIL: Test-https-pfs
====================

Setting --no-config (noconfig) to 1
Running test Test-https-pfs
Calling /Rune_dev/aarch64/wget/src/wget-1.21.3/tests/../src/wget -d --no-config --secure-protocol=PFS --ca-certificate=/Rune_dev/aarch64/wget/src/wget-1.21.3/tests/certs/test-ca-cert.pem https://WgetTestingServer:24443/somefile.txt
Setting --no-config (noconfig) to 1
Setting --secure-protocol (secureprotocol) to PFS
Setting --ca-certificate (cacertificate) to /Rune_dev/aarch64/wget/src/wget-1.21.3/tests/certs/test-ca-cert.pem
DEBUG output created by Wget 1.21.3 on linux-gnueabihf.

Reading HSTS entries from /home/alarm/.wget-hsts
URI encoding = 'ANSI_X3.4-1968'
converted 'https://WgetTestingServer:24443/somefile.txt' (ANSI_X3.4-1968) -> 'https://WgetTestingServer:24443/somefile.txt' (UTF-8)
Converted file name 'somefile.txt' (UTF-8) -> 'somefile.txt' (ANSI_X3.4-1968)
--2022-06-27 20:20:55--  https://wgettestingserver:24443/somefile.txt
Loaded CA certificate '/Rune_dev/aarch64/wget/src/wget-1.21.3/tests/certs/test-ca-cert.pem'
Certificates loaded: 154
Resolving wgettestingserver (wgettestingserver)... ::1, 127.0.0.1
Caching wgettestingserver => ::1 127.0.0.1
Connecting to wgettestingserver (wgettestingserver)|::1|:24443... connected.
Created socket 3.
Releasing 0x027f32b8 (new refcount 1).
Use of uninitialized value in vec at /usr/share/perl5/vendor_perl/HTTP/Daemon.pm line 111.
The certificate has expired
Test failed: wrong code returned (was: 5, expected: 0)
FAIL Test-https-pfs.px (exit status: 1)

FAIL: Test-https-tlsv1
======================

Setting --no-config (noconfig) to 1
Running test Test-https-tlsv1
Calling /Rune_dev/aarch64/wget/src/wget-1.21.3/tests/../src/wget -d --no-config --secure-protocol=TLSv1 --ca-certificate=/Rune_dev/aarch64/wget/src/wget-1.21.3/tests/certs/test-ca-cert.pem https://WgetTestingServer:28443/somefile.txt
Setting --no-config (noconfig) to 1
Setting --secure-protocol (secureprotocol) to TLSv1
Setting --ca-certificate (cacertificate) to /Rune_dev/aarch64/wget/src/wget-1.21.3/tests/certs/test-ca-cert.pem
DEBUG output created by Wget 1.21.3 on linux-gnueabihf.

Reading HSTS entries from /home/alarm/.wget-hsts
URI encoding = 'ANSI_X3.4-1968'
converted 'https://WgetTestingServer:28443/somefile.txt' (ANSI_X3.4-1968) -> 'https://WgetTestingServer:28443/somefile.txt' (UTF-8)
Converted file name 'somefile.txt' (UTF-8) -> 'somefile.txt' (ANSI_X3.4-1968)
--2022-06-27 20:20:55--  https://wgettestingserver:28443/somefile.txt
Loaded CA certificate '/Rune_dev/aarch64/wget/src/wget-1.21.3/tests/certs/test-ca-cert.pem'
Certificates loaded: 154
Resolving wgettestingserver (wgettestingserver)... ::1, 127.0.0.1
Caching wgettestingserver => ::1 127.0.0.1
Connecting to wgettestingserver (wgettestingserver)|::1|:28443... connected.
Created socket 3.
Releasing 0x011222b8 (new refcount 1).
The certificate has expired
Use of uninitialized value in vec at /usr/share/perl5/vendor_perl/HTTP/Daemon.pm line 111.
Test failed: wrong code returned (was: 5, expected: 0)
FAIL Test-https-tlsv1.px (exit status: 1)

FAIL: Test-https-tlsv1x
=======================

Setting --no-config (noconfig) to 1
Running test Test-https-tlsv1x
Calling /Rune_dev/aarch64/wget/src/wget-1.21.3/tests/../src/wget -d --no-config --secure-protocol=TLSv1_1 --ca-certificate=/Rune_dev/aarch64/wget/src/wget-1.21.3/tests/certs/test-ca-cert.pem https://WgetTestingServer:29443/somefile.txt
Setting --no-config (noconfig) to 1
Setting --secure-protocol (secureprotocol) to TLSv1_1
Setting --ca-certificate (cacertificate) to /Rune_dev/aarch64/wget/src/wget-1.21.3/tests/certs/test-ca-cert.pem
DEBUG output created by Wget 1.21.3 on linux-gnueabihf.

Reading HSTS entries from /home/alarm/.wget-hsts
URI encoding = 'ANSI_X3.4-1968'
converted 'https://WgetTestingServer:29443/somefile.txt' (ANSI_X3.4-1968) -> 'https://WgetTestingServer:29443/somefile.txt' (UTF-8)
Converted file name 'somefile.txt' (UTF-8) -> 'somefile.txt' (ANSI_X3.4-1968)
--2022-06-27 20:20:55--  https://wgettestingserver:29443/somefile.txt
Loaded CA certificate '/Rune_dev/aarch64/wget/src/wget-1.21.3/tests/certs/test-ca-cert.pem'
Certificates loaded: 154
Resolving wgettestingserver (wgettestingserver)... ::1, 127.0.0.1
Caching wgettestingserver => ::1 127.0.0.1
Connecting to wgettestingserver (wgettestingserver)|::1|:29443... connected.
Created socket 3.
Releasing 0x026cd2b8 (new refcount 1).
Use of uninitialized value in vec at /usr/share/perl5/vendor_perl/HTTP/Daemon.pm line 111.
The certificate has expired
Test failed: wrong code returned (was: 5, expected: 0)
FAIL Test-https-tlsv1x.px (exit status: 1)

SKIP: Test-https-weboftrust
===========================

Setting --no-config (noconfig) to 1
SKIP Test-https-weboftrust.px (exit status: 77)

FAIL: Test-https-clientcert
===========================

Setting --no-config (noconfig) to 1
Running test Test-https-clientcert
Calling /Rune_dev/aarch64/wget/src/wget-1.21.3/tests/../src/wget -d --no-config --certificate=/Rune_dev/aarch64/wget/src/wget-1.21.3/tests/certs/client-cert.pem  --private-key=/Rune_dev/aarch64/wget/src/wget-1.21.3/tests/certs/server-key.pem  --ca-certificate=/Rune_dev/aarch64/wget/src/wget-1.21.3/tests/certs/test-ca-cert.pem https://WgetTestingServer:21443/somefile.txt
Setting --no-config (noconfig) to 1
Setting --certificate (certificate) to /Rune_dev/aarch64/wget/src/wget-1.21.3/tests/certs/client-cert.pem
Setting --private-key (privatekey) to /Rune_dev/aarch64/wget/src/wget-1.21.3/tests/certs/server-key.pem
Setting --ca-certificate (cacertificate) to /Rune_dev/aarch64/wget/src/wget-1.21.3/tests/certs/test-ca-cert.pem
DEBUG output created by Wget 1.21.3 on linux-gnueabihf.

Reading HSTS entries from /home/alarm/.wget-hsts
URI encoding = 'ANSI_X3.4-1968'
converted 'https://WgetTestingServer:21443/somefile.txt' (ANSI_X3.4-1968) -> 'https://WgetTestingServer:21443/somefile.txt' (UTF-8)
Converted file name 'somefile.txt' (UTF-8) -> 'somefile.txt' (ANSI_X3.4-1968)
--2022-06-27 20:20:56--  https://wgettestingserver:21443/somefile.txt
Loaded CA certificate '/Rune_dev/aarch64/wget/src/wget-1.21.3/tests/certs/test-ca-cert.pem'
Certificates loaded: 154
Resolving wgettestingserver (wgettestingserver)... ::1, 127.0.0.1
Caching wgettestingserver => ::1 127.0.0.1
Connecting to wgettestingserver (wgettestingserver)|::1|:21443... connected.
Created socket 3.
Releasing 0x00e060b0 (new refcount 1).
The certificate has expired
Use of uninitialized value in vec at /usr/share/perl5/vendor_perl/HTTP/Daemon.pm line 111.
Test failed: file somefile.txt not downloaded
Running test Test-https-clientcert
Calling /Rune_dev/aarch64/wget/src/wget-1.21.3/tests/../src/wget -d --no-config --certificate=/Rune_dev/aarch64/wget/src/wget-1.21.3/tests/certs/client-cert.pem --private-key=/Rune_dev/aarch64/wget/src/wget-1.21.3/tests/certs/client-key.pem  --ca-certificate=/Rune_dev/aarch64/wget/src/wget-1.21.3/tests/certs/test-ca-cert.pem https://WgetTestingServer:22443/somefile.txt
Setting --no-config (noconfig) to 1
Setting --certificate (certificate) to /Rune_dev/aarch64/wget/src/wget-1.21.3/tests/certs/client-cert.pem
Setting --private-key (privatekey) to /Rune_dev/aarch64/wget/src/wget-1.21.3/tests/certs/client-key.pem
Setting --ca-certificate (cacertificate) to /Rune_dev/aarch64/wget/src/wget-1.21.3/tests/certs/test-ca-cert.pem
DEBUG output created by Wget 1.21.3 on linux-gnueabihf.

Reading HSTS entries from /home/alarm/.wget-hsts
URI encoding = 'ANSI_X3.4-1968'
converted 'https://WgetTestingServer:22443/somefile.txt' (ANSI_X3.4-1968) -> 'https://WgetTestingServer:22443/somefile.txt' (UTF-8)
Converted file name 'somefile.txt' (UTF-8) -> 'somefile.txt' (ANSI_X3.4-1968)
--2022-06-27 20:20:56--  https://wgettestingserver:22443/somefile.txt
Loaded CA certificate '/Rune_dev/aarch64/wget/src/wget-1.21.3/tests/certs/test-ca-cert.pem'
Certificates loaded: 154
Resolving wgettestingserver (wgettestingserver)... ::1, 127.0.0.1
Caching wgettestingserver => ::1 127.0.0.1
Connecting to wgettestingserver (wgettestingserver)|::1|:22443... connected.
Created socket 3.
Releasing 0x01ade0b0 (new refcount 1).
Use of uninitialized value in vec at /usr/share/perl5/vendor_perl/HTTP/Daemon.pm line 111.
The certificate has expired
Test failed: wrong code returned (was: 5, expected: 0)
FAIL Test-https-clientcert.px (exit status: 1)

FAIL: Test-https-crl
====================

Setting --no-config (noconfig) to 1
Running test Test-https-crl
Calling /Rune_dev/aarch64/wget/src/wget-1.21.3/tests/../src/wget -d --no-config --ca-certificate=/Rune_dev/aarch64/wget/src/wget-1.21.3/tests/certs/test-ca-cert.pem https://WgetTestingServer:32443/somefile.txt
Setting --no-config (noconfig) to 1
Setting --ca-certificate (cacertificate) to /Rune_dev/aarch64/wget/src/wget-1.21.3/tests/certs/test-ca-cert.pem
DEBUG output created by Wget 1.21.3 on linux-gnueabihf.

Reading HSTS entries from /home/alarm/.wget-hsts
URI encoding = 'ANSI_X3.4-1968'
converted 'https://WgetTestingServer:32443/somefile.txt' (ANSI_X3.4-1968) -> 'https://WgetTestingServer:32443/somefile.txt' (UTF-8)
Converted file name 'somefile.txt' (UTF-8) -> 'somefile.txt' (ANSI_X3.4-1968)
--2022-06-27 20:20:56--  https://wgettestingserver:32443/somefile.txt
Loaded CA certificate '/Rune_dev/aarch64/wget/src/wget-1.21.3/tests/certs/test-ca-cert.pem'
Certificates loaded: 154
Resolving wgettestingserver (wgettestingserver)... ::1, 127.0.0.1
Caching wgettestingserver => ::1 127.0.0.1
Connecting to wgettestingserver (wgettestingserver)|::1|:32443... connected.
Created socket 3.
Releasing 0x022772a0 (new refcount 1).
Use of uninitialized value in vec at /usr/share/perl5/vendor_perl/HTTP/Daemon.pm line 111.
The certificate has expired
Test failed: wrong code returned (was: 5, expected: 0)
FAIL Test-https-crl.px (exit status: 255)

Reply via email to