========================================= wget 1.21.2: testenv/test-suite.log ========================================= # TOTAL: 77 # PASS: 2 # SKIP: 0 # XFAIL: 0 # FAIL: 75 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 FAIL: Test-504 ============== Setting --no-config (noconfig) to 1 Setting --tries (tries) to 2 Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:44:00] "GET /File1 HTTP/1.1" 504 - 127.0.0.1 - - [19/Sep/2021 16:44:01] "GET /File1 HTTP/1.1" 504 - 127.0.0.1 - - [19/Sep/2021 16:44:01] "GET /File2 HTTP/1.1" 200 - Running Test Test-504.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config --tries=2 http://localhost:56173/File1 http://localhost:56173/File2 ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '--tries=2', 'http://localhost:56173/File1', 'http://localhost:56173/File2'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-504.py-test'} Custom Response code sent. Custom Response code sent. {'wget-log': {'content': "DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-504.py-test/.wget-hsts/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://localhost:56173/File1' (ANSI_X3.4-1968) -> 'http://localhost:56173/File1' (UTF-8)/nConverted file name 'File1' (UTF-8) -> 'File1' (ANSI_X3.4-1968)/n--2021-09-19 16:43:58-- http://localhost:56173/File1/nResolving localhost (localhost)... ::1, 127.0.0.1/nCaching localhost => ::1 127.0.0.1/nConnecting to localhost (localhost)|::1|:56173... Closed fd 4/nfailed: Connection refused./nConnecting to localhost (localhost)|127.0.0.1|:56173... connected./nCreated socket 4./nReleasing 0x000000080006af90 (new refcount 1)./n/n---request begin---/nGET /File1 HTTP/1.1/nHost: localhost:56173/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 504 Gateway Timeout/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:44:00 GMT/ncontent-length: 75/n/n---response end---/n504 Gateway Timeout/nRegistered socket 4 for persistent reuse./nSkipping 75 bytes of body: [All happy families are alike;/nEach unhappy family is unhappy in its own way] done./nRetrying./n/n--2021-09-19 16:44:01-- (try: 2) http://localhost:56173/File1/nReusing existing connection to localhost:56173./nReusing fd 4./n/n---request begin---/nGET /File1 HTTP/1.1/nHost: localhost:56173/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 504 Gateway Timeout/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:44:01 GMT/ncontent-length: 75/n/n---response end---/n504 Gateway Timeout/nSkipping 75 bytes of body: [All happy families are alike;/nEach unhappy family is unhappy in its own way] done./nGiving up./n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://localhost:56173/File2' (ANSI_X3.4-1968) -> 'http://localhost:56173/File2' (UTF-8)/nConverted file name 'File2' (UTF-8) -> 'File2' (ANSI_X3.4-1968)/n--2021-09-19 16:44:01-- http://localhost:56173/File2/nReusing existing connection to localhost:56173./nReusing fd 4./n/n---request begin---/nGET /File2 HTTP/1.1/nHost: localhost:56173/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:44:01 GMT/ncontent-type: text/plain/ncontent-length: 29/n/n---response end---/n200 OK/nLength: 29 [text/plain]/nSaving to: 'File2'/n/n 0K 100% 455K=0s/n/n2021-09-19 16:44:01 (455 KB/s) - 'File2' saved [29/29]/n/nFINISHED --2021-09-19 16:44:01--/nTotal wall clock time: 3.1s/nDownloaded: 1 files, 29 in 0s (455 KB/s)/n"}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-504.py", line 64, in err = HTTPTest ( File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-504.py (exit status: 1) FAIL: Test-416 ============== Setting --no-config (noconfig) to 1 Setting --continue (continue) to 1 Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:44:05] "GET /File1 HTTP/1.1" 416 - 127.0.0.1 - - [19/Sep/2021 16:44:05] "GET /File2 HTTP/1.1" 416 - 127.0.0.1 - - [19/Sep/2021 16:44:05] "GET /File3 HTTP/1.1" 200 - Running Test Test-416.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config -c http://localhost:56176/File1 http://localhost:56176/File2 http://localhost:56176/File3 ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '-c', 'http://localhost:56176/File1', 'http://localhost:56176/File2', 'http://localhost:56176/File3'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-416.py-test'} {'wget-log': {'content': "DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-416.py-test/.wget-hsts/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://localhost:56176/File1' (ANSI_X3.4-1968) -> 'http://localhost:56176/File1' (UTF-8)/nConverted file name 'File1' (UTF-8) -> 'File1' (ANSI_X3.4-1968)/n--2021-09-19 16:44:03-- http://localhost:56176/File1/nResolving localhost (localhost)... ::1, 127.0.0.1/nCaching localhost => ::1 127.0.0.1/nConnecting to localhost (localhost)|::1|:56176... Closed fd 4/nfailed: Connection refused./nConnecting to localhost (localhost)|127.0.0.1|:56176... connected./nCreated socket 4./nReleasing 0x000000080006b020 (new refcount 1)./n/n---request begin---/nGET /File1 HTTP/1.1/nHost: localhost:56176/nRange: bytes=68-/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 416 Requested Range Not Satisfiable/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:44:05 GMT/n/n---response end---/n416 Requested Range Not Satisfiable/nRegistered socket 4 for persistent reuse./n/n The file is already fully retrieved; nothing to do./n/n] done./nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://localhost:56176/File2' (ANSI_X3.4-1968) -> 'http://localhost:56176/File2' (UTF-8)/nConverted file name 'File2' (UTF-8) -> 'File2' (ANSI_X3.4-1968)/n--2021-09-19 16:44:05-- http://localhost:56176/File2/nReusing existing connection to localhost:56176./nReusing fd 4./n/n---request begin---/nGET /File2 HTTP/1.1/nHost: localhost:56176/nRange: bytes=68-/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 416 Requested Range Not Satisfiable/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:44:05 GMT/ncontent-length: 17/n/n---response end---/n416 Requested Range Not Satisfiable/n/n The file is already fully retrieved; nothing to do./n/nSkipping 17 bytes of body: [Range Unsatisfied] done./nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://localhost:56176/File3' (ANSI_X3.4-1968) -> 'http://localhost:56176/File3' (UTF-8)/nConverted file name 'File3' (UTF-8) -> 'File3' (ANSI_X3.4-1968)/n--2021-09-19 16:44:05-- http://localhost:56176/File3/nReusing existing connection to localhost:56176./nReusing fd 4./n/n---request begin---/nGET /File3 HTTP/1.1/nHost: localhost:56176/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:44:05 GMT/ncontent-type: text/plain/ncontent-length: 68/n/n---response end---/n200 OK/nLength: 68 [text/plain]/nSaving to: 'File3'/n/n 0K 100% 631K=0s/n/n2021-09-19 16:44:05 (631 KB/s) - 'File3' saved [68/68]/n/nFINISHED --2021-09-19 16:44:05--/nTotal wall clock time: 2.1s/nDownloaded: 1 files, 68 in 0s (631 KB/s)/n"}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-416.py", line 47, in err = HTTPTest ( File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-416.py (exit status: 1) FAIL: Test-auth-basic-fail ========================== Setting --no-config (noconfig) to 1 Setting --user (user) to Sauron Setting --password (password) to Eye Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:44:09] "GET /File1 HTTP/1.1" 401 - 127.0.0.1 - - [19/Sep/2021 16:44:09] "GET /File1 HTTP/1.1" 401 - Running Test Test-auth-basic-fail.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config --user=Sauron --password=Eye http://localhost:56182/File1 ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '--user=Sauron', '--password=Eye', 'http://localhost:56182/File1'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-auth-basic-fail.py-test'} Unable to Authenticate Unable to Authenticate {'wget-log': {'content': 'DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-auth-basic-fail.py-test/.wget-hsts/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://localhost:56182/File1/' (ANSI_X3.4-1968) -> /'http://localhost:56182/File1/' (UTF-8)/nConverted file name /'File1/' (UTF-8) -> /'File1/' (ANSI_X3.4-1968)/n--2021-09-19 16:44:07-- http://localhost:56182/File1/nHost /'localhost/' has not issued a general basic challenge./nResolving localhost (localhost)... ::1, 127.0.0.1/nCaching localhost => ::1 127.0.0.1/nConnecting to localhost (localhost)|::1|:56182... Closed fd 4/nfailed: Connection refused./nConnecting to localhost (localhost)|127.0.0.1|:56182... connected./nCreated socket 4./nReleasing 0x000000080006b040 (new refcount 1)./n/n---request begin---/nGET /File1 HTTP/1.1/nHost: localhost:56182/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 401 Authorization Required/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:44:09 GMT/nWWW-Authenticate: BasIc realm="Wget-Test"/n/n---response end---/n401 Authorization Required/nRegistered socket 4 for persistent reuse./n] done./nAuth scheme found /'BasIc/'/nAuth param list /' realm="Wget-Test"/'/nAuth param realm=Wget-Test/nAuthentication selected: BasIc realm="Wget-Test"/nInserted /'localhost/' into basic_authed_hosts/nReusing existing connection to localhost:56182./nReusing fd 4./n/n---request begin---/nGET /File1 HTTP/1.1/nHost: localhost:56182/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/nAuthorization: Basic U2F1cm9uOkV5ZQ==/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 401 Authorization Required/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:44:09 GMT/nWWW-Authenticate: BasIc realm="Wget-Test"/n/n---response end---/n401 Authorization Required/n] done./n/nUsername/Password Authentication Failed./n'}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-auth-basic-fail.py", line 43, in err = HTTPTest ( File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-auth-basic-fail.py (exit status: 1) FAIL: Test-auth-basic ===================== Setting --no-config (noconfig) to 1 Setting --user (user) to Sauron Setting --password (password) to TheEye Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:44:12] "GET /File1 HTTP/1.1" 401 - 127.0.0.1 - - [19/Sep/2021 16:44:12] "GET /File1 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:44:13] "GET /File2 HTTP/1.1" 200 - Running Test Test-auth-basic.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config --user=Sauron --password=TheEye http://localhost:56185/File1 http://localhost:56185/File2 ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '--user=Sauron', '--password=TheEye', 'http://localhost:56185/File1', 'http://localhost:56185/File2'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-auth-basic.py-test'} Unable to Authenticate {'wget-log': {'content': 'DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-auth-basic.py-test/.wget-hsts/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://localhost:56185/File1/' (ANSI_X3.4-1968) -> /'http://localhost:56185/File1/' (UTF-8)/nConverted file name /'File1/' (UTF-8) -> /'File1/' (ANSI_X3.4-1968)/n--2021-09-19 16:44:10-- http://localhost:56185/File1/nHost /'localhost/' has not issued a general basic challenge./nResolving localhost (localhost)... ::1, 127.0.0.1/nCaching localhost => ::1 127.0.0.1/nConnecting to localhost (localhost)|::1|:56185... Closed fd 4/nfailed: Connection refused./nConnecting to localhost (localhost)|127.0.0.1|:56185... connected./nCreated socket 4./nReleasing 0x000000080006b060 (new refcount 1)./n/n---request begin---/nGET /File1 HTTP/1.1/nHost: localhost:56185/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 401 Authorization Required/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:44:12 GMT/nWWW-Authenticate: BasIc realm="Wget-Test"/n/n---response end---/n401 Authorization Required/nRegistered socket 4 for persistent reuse./n] done./nAuth scheme found /'BasIc/'/nAuth param list /' realm="Wget-Test"/'/nAuth param realm=Wget-Test/nAuthentication selected: BasIc realm="Wget-Test"/nInserted /'localhost/' into basic_authed_hosts/nReusing existing connection to localhost:56185./nReusing fd 4./n/n---request begin---/nGET /File1 HTTP/1.1/nHost: localhost:56185/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/nAuthorization: Basic U2F1cm9uOlRoZUV5ZQ==/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:44:12 GMT/ncontent-type: text/plain/ncontent-length: 22/n/n---response end---/n200 OK/nLength: 22 [text/plain]/nSaving to: /'File1/'/n/n 0K 100% 252K=0s/n/n2021-09-19 16:44:12 (252 KB/s) - /'File1/' saved [22/22]/n/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://localhost:56185/File2/' (ANSI_X3.4-1968) -> /'http://localhost:56185/File2/' (UTF-8)/nConverted file name /'File2/' (UTF-8) -> /'File2/' (ANSI_X3.4-1968)/n--2021-09-19 16:44:12-- http://localhost:56185/File2/nFound /'localhost/' in basic_authed_hosts./nReusing existing connection to localhost:56185./nReusing fd 4./n/n---request begin---/nGET /File2 HTTP/1.1/nHost: localhost:56185/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nAuthorization: Basic U2F1cm9uOlRoZUV5ZQ==/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:44:13 GMT/ncontent-type: text/plain/ncontent-length: 26/n/n---response end---/n200 OK/nLength: 26 [text/plain]/nSaving to: /'File2/'/n/n 0K 100% 372K=0s/n/n2021-09-19 16:44:13 (372 KB/s) - /'File2/' saved [26/26]/n/nFINISHED --2021-09-19 16:44:13--/nTotal wall clock time: 2.1s/nDownloaded: 2 files, 48 in 0s (305 KB/s)/n'}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-auth-basic.py", line 51, in err = HTTPTest ( File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-auth-basic.py (exit status: 1) FAIL: Test-auth-basic-netrc =========================== Setting --no-config (noconfig) to 1 Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:44:16] "GET /File1 HTTP/1.1" 401 - 127.0.0.1 - - [19/Sep/2021 16:44:16] "GET /File1 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:44:16] "GET /File2 HTTP/1.1" 200 - Running Test Test-auth-basic-netrc.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config http://localhost:56190/File1 http://localhost:56190/File2 ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', 'http://localhost:56190/File1', 'http://localhost:56190/File2'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-auth-basic-netrc.py-test'} Unable to Authenticate {'wget-log': {'content': 'DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-auth-basic-netrc.py-test/.wget-hsts/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://localhost:56190/File1/' (ANSI_X3.4-1968) -> /'http://localhost:56190/File1/' (UTF-8)/nConverted file name /'File1/' (UTF-8) -> /'File1/' (ANSI_X3.4-1968)/n--2021-09-19 16:44:14-- http://localhost:56190/File1/nHost /'localhost/' has not issued a general basic challenge./nResolving localhost (localhost)... ::1, 127.0.0.1/nCaching localhost => ::1 127.0.0.1/nConnecting to localhost (localhost)|::1|:56190... Closed fd 4/nfailed: Connection refused./nConnecting to localhost (localhost)|127.0.0.1|:56190... connected./nCreated socket 4./nReleasing 0x000000080006b1f0 (new refcount 1)./n/n---request begin---/nGET /File1 HTTP/1.1/nHost: localhost:56190/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 401 Authorization Required/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:44:16 GMT/nWWW-Authenticate: BasIc realm="Wget-Test"/n/n---response end---/n401 Authorization Required/nRegistered socket 4 for persistent reuse./n] done./nAuth scheme found /'BasIc/'/nAuth param list /' realm="Wget-Test"/'/nAuth param realm=Wget-Test/nAuthentication selected: BasIc realm="Wget-Test"/nInserted /'localhost/' into basic_authed_hosts/nReusing existing connection to localhost:56190./nReusing fd 4./n/n---request begin---/nGET /File1 HTTP/1.1/nHost: localhost:56190/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/nAuthorization: Basic U2F1cm9uOlRoZUV5ZQ==/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:44:16 GMT/ncontent-type: text/plain/ncontent-length: 22/n/n---response end---/n200 OK/nLength: 22 [text/plain]/nSaving to: /'File1/'/n/n 0K 100% 241K=0s/n/n2021-09-19 16:44:16 (241 KB/s) - /'File1/' saved [22/22]/n/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://localhost:56190/File2/' (ANSI_X3.4-1968) -> /'http://localhost:56190/File2/' (UTF-8)/nConverted file name /'File2/' (UTF-8) -> /'File2/' (ANSI_X3.4-1968)/n--2021-09-19 16:44:16-- http://localhost:56190/File2/nFound /'localhost/' in basic_authed_hosts./nReusing existing connection to localhost:56190./nReusing fd 4./n/n---request begin---/nGET /File2 HTTP/1.1/nHost: localhost:56190/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nAuthorization: Basic U2F1cm9uOlRoZUV5ZQ==/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:44:16 GMT/ncontent-type: text/plain/ncontent-length: 26/n/n---response end---/n200 OK/nLength: 26 [text/plain]/nSaving to: /'File2/'/n/n 0K 100% 277K=0s/n/n2021-09-19 16:44:16 (277 KB/s) - /'File2/' saved [26/26]/n/nFINISHED --2021-09-19 16:44:16--/nTotal wall clock time: 2.1s/nDownloaded: 2 files, 48 in 0s (259 KB/s)/n'}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-auth-basic-netrc.py", line 60, in err = HTTPTest ( File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-auth-basic-netrc.py (exit status: 1) FAIL: Test-auth-basic-netrc-user-given ====================================== Setting --no-config (noconfig) to 1 Setting --user (user) to Sauron Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:44:20] "GET /File1 HTTP/1.1" 401 - 127.0.0.1 - - [19/Sep/2021 16:44:20] "GET /File1 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:44:20] "GET /File2 HTTP/1.1" 200 - Running Test Test-auth-basic-netrc-user-given.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config --user=Sauron http://localhost:56193/File1 http://localhost:56193/File2 ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '--user=Sauron', 'http://localhost:56193/File1', 'http://localhost:56193/File2'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-auth-basic-netrc-user-given.py-test'} Unable to Authenticate {'wget-log': {'content': 'DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-auth-basic-netrc-user-given.py-test/.wget-hsts/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://localhost:56193/File1/' (ANSI_X3.4-1968) -> /'http://localhost:56193/File1/' (UTF-8)/nConverted file name /'File1/' (UTF-8) -> /'File1/' (ANSI_X3.4-1968)/n--2021-09-19 16:44:18-- http://localhost:56193/File1/nHost /'localhost/' has not issued a general basic challenge./nResolving localhost (localhost)... ::1, 127.0.0.1/nCaching localhost => ::1 127.0.0.1/nConnecting to localhost (localhost)|::1|:56193... Closed fd 4/nfailed: Connection refused./nConnecting to localhost (localhost)|127.0.0.1|:56193... connected./nCreated socket 4./nReleasing 0x000000080006b230 (new refcount 1)./n/n---request begin---/nGET /File1 HTTP/1.1/nHost: localhost:56193/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 401 Authorization Required/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:44:20 GMT/nWWW-Authenticate: BasIc realm="Wget-Test"/n/n---response end---/n401 Authorization Required/nRegistered socket 4 for persistent reuse./n] done./nAuth scheme found /'BasIc/'/nAuth param list /' realm="Wget-Test"/'/nAuth param realm=Wget-Test/nAuthentication selected: BasIc realm="Wget-Test"/nInserted /'localhost/' into basic_authed_hosts/nReusing existing connection to localhost:56193./nReusing fd 4./n/n---request begin---/nGET /File1 HTTP/1.1/nHost: localhost:56193/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/nAuthorization: Basic U2F1cm9uOlRoZUV5ZQ==/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:44:20 GMT/ncontent-type: text/plain/ncontent-length: 22/n/n---response end---/n200 OK/nLength: 22 [text/plain]/nSaving to: /'File1/'/n/n 0K 100% 293K=0s/n/n2021-09-19 16:44:20 (293 KB/s) - /'File1/' saved [22/22]/n/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://localhost:56193/File2/' (ANSI_X3.4-1968) -> /'http://localhost:56193/File2/' (UTF-8)/nConverted file name /'File2/' (UTF-8) -> /'File2/' (ANSI_X3.4-1968)/n--2021-09-19 16:44:20-- http://localhost:56193/File2/nFound /'localhost/' in basic_authed_hosts./nReusing existing connection to localhost:56193./nReusing fd 4./n/n---request begin---/nGET /File2 HTTP/1.1/nHost: localhost:56193/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nAuthorization: Basic U2F1cm9uOlRoZUV5ZQ==/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:44:20 GMT/ncontent-type: text/plain/ncontent-length: 26/n/n---response end---/n200 OK/nLength: 26 [text/plain]/nSaving to: /'File2/'/n/n 0K 100% 274K=0s/n/n2021-09-19 16:44:20 (274 KB/s) - /'File2/' saved [26/26]/n/nFINISHED --2021-09-19 16:44:20--/nTotal wall clock time: 2.1s/nDownloaded: 2 files, 48 in 0s (282 KB/s)/n'}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-auth-basic-netrc-user-given.py", line 62, in err = HTTPTest ( File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-auth-basic-netrc-user-given.py (exit status: 1) FAIL: Test-auth-basic-netrc-pass-given ====================================== Setting --no-config (noconfig) to 1 Setting --password (password) to TheEye Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:44:24] "GET /File1 HTTP/1.1" 401 - 127.0.0.1 - - [19/Sep/2021 16:44:24] "GET /File1 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:44:24] "GET /File2 HTTP/1.1" 200 - Running Test Test-auth-basic-netrc-pass-given.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config --password=TheEye http://localhost:56196/File1 http://localhost:56196/File2 ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '--password=TheEye', 'http://localhost:56196/File1', 'http://localhost:56196/File2'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-auth-basic-netrc-pass-given.py-test'} Unable to Authenticate {'wget-log': {'content': 'DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-auth-basic-netrc-pass-given.py-test/.wget-hsts/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://localhost:56196/File1/' (ANSI_X3.4-1968) -> /'http://localhost:56196/File1/' (UTF-8)/nConverted file name /'File1/' (UTF-8) -> /'File1/' (ANSI_X3.4-1968)/n--2021-09-19 16:44:22-- http://localhost:56196/File1/nHost /'localhost/' has not issued a general basic challenge./nResolving localhost (localhost)... ::1, 127.0.0.1/nCaching localhost => ::1 127.0.0.1/nConnecting to localhost (localhost)|::1|:56196... Closed fd 4/nfailed: Connection refused./nConnecting to localhost (localhost)|127.0.0.1|:56196... connected./nCreated socket 4./nReleasing 0x000000080006b230 (new refcount 1)./n/n---request begin---/nGET /File1 HTTP/1.1/nHost: localhost:56196/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 401 Authorization Required/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:44:24 GMT/nWWW-Authenticate: BasIc realm="Wget-Test"/n/n---response end---/n401 Authorization Required/nRegistered socket 4 for persistent reuse./n] done./nAuth scheme found /'BasIc/'/nAuth param list /' realm="Wget-Test"/'/nAuth param realm=Wget-Test/nAuthentication selected: BasIc realm="Wget-Test"/nInserted /'localhost/' into basic_authed_hosts/nReusing existing connection to localhost:56196./nReusing fd 4./n/n---request begin---/nGET /File1 HTTP/1.1/nHost: localhost:56196/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/nAuthorization: Basic U2F1cm9uOlRoZUV5ZQ==/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:44:24 GMT/ncontent-type: text/plain/ncontent-length: 22/n/n---response end---/n200 OK/nLength: 22 [text/plain]/nSaving to: /'File1/'/n/n 0K 100% 245K=0s/n/n2021-09-19 16:44:24 (245 KB/s) - /'File1/' saved [22/22]/n/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://localhost:56196/File2/' (ANSI_X3.4-1968) -> /'http://localhost:56196/File2/' (UTF-8)/nConverted file name /'File2/' (UTF-8) -> /'File2/' (ANSI_X3.4-1968)/n--2021-09-19 16:44:24-- http://localhost:56196/File2/nFound /'localhost/' in basic_authed_hosts./nReusing existing connection to localhost:56196./nReusing fd 4./n/n---request begin---/nGET /File2 HTTP/1.1/nHost: localhost:56196/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nAuthorization: Basic U2F1cm9uOlRoZUV5ZQ==/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:44:24 GMT/ncontent-type: text/plain/ncontent-length: 26/n/n---response end---/n200 OK/nLength: 26 [text/plain]/nSaving to: /'File2/'/n/n 0K 100% 297K=0s/n/n2021-09-19 16:44:24 (297 KB/s) - /'File2/' saved [26/26]/n/nFINISHED --2021-09-19 16:44:24--/nTotal wall clock time: 2.1s/nDownloaded: 2 files, 48 in 0s (270 KB/s)/n'}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-auth-basic-netrc-pass-given.py", line 62, in err = HTTPTest ( File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-auth-basic-netrc-pass-given.py (exit status: 1) FAIL: Test-auth-basic-no-netrc-fail =================================== Setting --no-config (noconfig) to 1 Setting --netrc (netrc) to 0 Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:44:28] "GET /File1 HTTP/1.1" 401 - Running Test Test-auth-basic-no-netrc-fail.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config --no-netrc http://localhost:56199/File1 ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '--no-netrc', 'http://localhost:56199/File1'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-auth-basic-no-netrc-fail.py-test'} Unable to Authenticate {'wget-log': {'content': 'DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-auth-basic-no-netrc-fail.py-test/.wget-hsts/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://localhost:56199/File1/' (ANSI_X3.4-1968) -> /'http://localhost:56199/File1/' (UTF-8)/nConverted file name /'File1/' (UTF-8) -> /'File1/' (ANSI_X3.4-1968)/n--2021-09-19 16:44:26-- http://localhost:56199/File1/nResolving localhost (localhost)... ::1, 127.0.0.1/nCaching localhost => ::1 127.0.0.1/nConnecting to localhost (localhost)|::1|:56199... Closed fd 4/nfailed: Connection refused./nConnecting to localhost (localhost)|127.0.0.1|:56199... connected./nCreated socket 4./nReleasing 0x000000080006b050 (new refcount 1)./n/n---request begin---/nGET /File1 HTTP/1.1/nHost: localhost:56199/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 401 Authorization Required/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:44:28 GMT/nWWW-Authenticate: BasIc realm="Wget-Test"/n/n---response end---/n401 Authorization Required/nRegistered socket 4 for persistent reuse./n] done./n/nUsername/Password Authentication Failed./n'}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-auth-basic-no-netrc-fail.py", line 53, in err = HTTPTest ( File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-auth-basic-no-netrc-fail.py (exit status: 1) FAIL: Test-auth-both ==================== Setting --no-config (noconfig) to 1 Setting --user (user) to Sauron Setting --password (password) to TheEye Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:44:31] "GET /File1 HTTP/1.1" 401 - 127.0.0.1 - - [19/Sep/2021 16:44:31] "GET /File1 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:44:31] "GET /File2 HTTP/1.1" 401 - 127.0.0.1 - - [19/Sep/2021 16:44:31] "GET /File2 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:44:31] "GET /File3 HTTP/1.1" 401 - 127.0.0.1 - - [19/Sep/2021 16:44:31] "GET /File3 HTTP/1.1" 200 - Running Test Test-auth-both.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config --user=Sauron --password=TheEye http://localhost:56202/File1 http://localhost:56202/File2 http://localhost:56202/File3 ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '--user=Sauron', '--password=TheEye', 'http://localhost:56202/File1', 'http://localhost:56202/File2', 'http://localhost:56202/File3'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-auth-both.py-test'} Unable to Authenticate Unable to Authenticate Unable to Authenticate {'wget-log': {'content': 'DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-auth-both.py-test/.wget-hsts/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://localhost:56202/File1/' (ANSI_X3.4-1968) -> /'http://localhost:56202/File1/' (UTF-8)/nConverted file name /'File1/' (UTF-8) -> /'File1/' (ANSI_X3.4-1968)/n--2021-09-19 16:44:29-- http://localhost:56202/File1/nHost /'localhost/' has not issued a general basic challenge./nResolving localhost (localhost)... ::1, 127.0.0.1/nCaching localhost => ::1 127.0.0.1/nConnecting to localhost (localhost)|::1|:56202... Closed fd 4/nfailed: Connection refused./nConnecting to localhost (localhost)|127.0.0.1|:56202... connected./nCreated socket 4./nReleasing 0x000000080006b080 (new refcount 1)./n/n---request begin---/nGET /File1 HTTP/1.1/nHost: localhost:56202/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 401 Authorization Required/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:44:31 GMT/nWWW-Authenticate: BasIc realm="Wget-Test"/nWWW-Authenticate: DIgest realm="Test", nonce="8fadc61e5367561966c2d5899affc48e", opaque="f5e107e3900ac38aee6bf21af6f8829b", qop="auth"/n/n---response end---/n401 Authorization Required/nRegistered socket 4 for persistent reuse./n] done./nAuth scheme found /'BasIc/'/nAuth param list /' realm="Wget-Test"/'/nAuth param realm=Wget-Test/nAuth scheme found /'DIgest/'/nAuth param list /' realm="Test", nonce="8fadc61e5367561966c2d5899affc48e", opaque="f5e107e3900ac38aee6bf21af6f8829b", qop="auth"/'/nAuth param realm=Test/nAuth param nonce=8fadc61e5367561966c2d5899affc48e/nAuth param opaque=f5e107e3900ac38aee6bf21af6f8829b/nAuth param qop=auth/nAuthentication selected: DIgest realm="Test", nonce="8fadc61e5367561966c2d5899affc48e", opaque="f5e107e3900ac38aee6bf21af6f8829b", qop="auth"/nReusing existing connection to localhost:56202./nReusing fd 4./n/n---request begin---/nGET /File1 HTTP/1.1/nHost: localhost:56202/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/nAuthorization: Digest username="Sauron", realm="Test", nonce="8fadc61e5367561966c2d5899affc48e", uri="/File1", response="059c233eb405d3a22943d2d76aa3a65e", qop=auth, nc=00000001, cnonce="106b80b9", opaque="f5e107e3900ac38aee6bf21af6f8829b"/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:44:31 GMT/ncontent-type: text/plain/ncontent-length: 24/n/n---response end---/n200 OK/nLength: 24 [text/plain]/nSaving to: /'File1/'/n/n 0K 100% 257K=0s/n/n2021-09-19 16:44:31 (257 KB/s) - /'File1/' saved [24/24]/n/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://localhost:56202/File2/' (ANSI_X3.4-1968) -> /'http://localhost:56202/File2/' (UTF-8)/nConverted file name /'File2/' (UTF-8) -> /'File2/' (ANSI_X3.4-1968)/n--2021-09-19 16:44:31-- http://localhost:56202/File2/nHost /'localhost/' has not issued a general basic challenge./nReusing existing connection to localhost:56202./nReusing fd 4./n/n---request begin---/nGET /File2 HTTP/1.1/nHost: localhost:56202/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 401 Authorization Required/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:44:31 GMT/nWWW-Authenticate: BasIc realm="Wget-Test", DIgest realm="Test", nonce="111c9c8ae83c23181c13c1db3748b48d", opaque="54530f65f6f44ac228da52b3cba6871a", qop="auth"/n/n---response end---/n401 Authorization Required/n] done./nAuth scheme found /'BasIc/'/nAuth param list /' realm="Wget-Test", DIgest realm="Test", nonce="111c9c8ae83c23181c13c1db3748b48d", opaque="54530f65f6f44ac228da52b3cba6871a", qop="auth"/'/nAuth param realm=Wget-Test/nAuth scheme found /'DIgest/'/nAuth param list /' realm="Test", nonce="111c9c8ae83c23181c13c1db3748b48d", opaque="54530f65f6f44ac228da52b3cba6871a", qop="auth"/'/nAuth param realm=Test/nAuth param nonce=111c9c8ae83c23181c13c1db3748b48d/nAuth param opaque=54530f65f6f44ac228da52b3cba6871a/nAuth param qop=auth/nAuthentication selected: DIgest realm="Test", nonce="111c9c8ae83c23181c13c1db3748b48d", opaque="54530f65f6f44ac228da52b3cba6871a", qop="auth"/nReusing existing connection to localhost:56202./nReusing fd 4./n/n---request begin---/nGET /File2 HTTP/1.1/nHost: localhost:56202/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/nAuthorization: Digest username="Sauron", realm="Test", nonce="111c9c8ae83c23181c13c1db3748b48d", uri="/File2", response="f81a82aa35a713761116b57046a3e04c", qop=auth, nc=00000001, cnonce="5bbc5a61", opaque="54530f65f6f44ac228da52b3cba6871a"/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:44:31 GMT/ncontent-type: text/plain/ncontent-length: 20/n/n---response end---/n200 OK/nLength: 20 [text/plain]/nSaving to: /'File2/'/n/n 0K 100% 208K=0s/n/n2021-09-19 16:44:31 (208 KB/s) - /'File2/' saved [20/20]/n/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://localhost:56202/File3/' (ANSI_X3.4-1968) -> /'http://localhost:56202/File3/' (UTF-8)/nConverted file name /'File3/' (UTF-8) -> /'File3/' (ANSI_X3.4-1968)/n--2021-09-19 16:44:31-- http://localhost:56202/File3/nHost /'localhost/' has not issued a general basic challenge./nReusing existing connection to localhost:56202./nReusing fd 4./n/n---request begin---/nGET /File3 HTTP/1.1/nHost: localhost:56202/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 401 Authorization Required/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:44:31 GMT/nWWW-Authenticate: DIgest realm="Test", nonce="7a179cc005a48709c96931d5e4ae72e8", opaque="0da35a373366e0e5ec8095fe1ceb4ade", qop="auth"/n/n---response end---/n401 Authorization Required/n] done./nAuth scheme found /'DIgest/'/nAuth param list /' realm="Test", nonce="7a179cc005a48709c96931d5e4ae72e8", opaque="0da35a373366e0e5ec8095fe1ceb4ade", qop="auth"/'/nAuth param realm=Test/nAuth param nonce=7a179cc005a48709c96931d5e4ae72e8/nAuth param opaque=0da35a373366e0e5ec8095fe1ceb4ade/nAuth param qop=auth/nAuthentication selected: DIgest realm="Test", nonce="7a179cc005a48709c96931d5e4ae72e8", opaque="0da35a373366e0e5ec8095fe1ceb4ade", qop="auth"/nReusing existing connection to localhost:56202./nReusing fd 4./n/n---request begin---/nGET /File3 HTTP/1.1/nHost: localhost:56202/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/nAuthorization: Digest username="Sauron", realm="Test", nonce="7a179cc005a48709c96931d5e4ae72e8", uri="/File3", response="54b6970521c5888216357bc20e4e1f0e", qop=auth, nc=00000001, cnonce="7804ad7f", opaque="0da35a373366e0e5ec8095fe1ceb4ade"/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:44:31 GMT/ncontent-type: text/plain/ncontent-length: 30/n/n---response end---/n200 OK/nLength: 30 [text/plain]/nSaving to: /'File3/'/n/n 0K 100% 277K=0s/n/n2021-09-19 16:44:31 (277 KB/s) - /'File3/' saved [30/30]/n/nFINISHED --2021-09-19 16:44:31--/nTotal wall clock time: 2.2s/nDownloaded: 3 files, 74 in 0s (248 KB/s)/n'}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-auth-both.py", line 79, in err = HTTPTest ( File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-auth-both.py (exit status: 1) FAIL: Test-auth-digest ====================== Setting --no-config (noconfig) to 1 Setting --user (user) to Pacman Setting --password (password) to Omnomnom Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:44:35] "GET /File1 HTTP/1.1" 401 - 127.0.0.1 - - [19/Sep/2021 16:44:35] "GET /File1 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:44:35] "GET /File2 HTTP/1.1" 401 - 127.0.0.1 - - [19/Sep/2021 16:44:35] "GET /File2 HTTP/1.1" 200 - Running Test Test-auth-digest.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config --user=Pacman --password=Omnomnom http://localhost:56205/File1 http://localhost:56205/File2 ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '--user=Pacman', '--password=Omnomnom', 'http://localhost:56205/File1', 'http://localhost:56205/File2'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-auth-digest.py-test'} Unable to Authenticate Unable to Authenticate {'wget-log': {'content': 'DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-auth-digest.py-test/.wget-hsts/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://localhost:56205/File1/' (ANSI_X3.4-1968) -> /'http://localhost:56205/File1/' (UTF-8)/nConverted file name /'File1/' (UTF-8) -> /'File1/' (ANSI_X3.4-1968)/n--2021-09-19 16:44:33-- http://localhost:56205/File1/nHost /'localhost/' has not issued a general basic challenge./nResolving localhost (localhost)... ::1, 127.0.0.1/nCaching localhost => ::1 127.0.0.1/nConnecting to localhost (localhost)|::1|:56205... Closed fd 4/nfailed: Connection refused./nConnecting to localhost (localhost)|127.0.0.1|:56205... connected./nCreated socket 4./nReleasing 0x000000080006b060 (new refcount 1)./n/n---request begin---/nGET /File1 HTTP/1.1/nHost: localhost:56205/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 401 Authorization Required/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:44:35 GMT/nWWW-Authenticate: DIgest realm="Test", nonce="65109afeb95d6b260e00a9801d6456d3", opaque="143ba22c1770f44f37a7a0e95c376aa1", qop="auth"/n/n---response end---/n401 Authorization Required/nRegistered socket 4 for persistent reuse./n] done./nAuth scheme found /'DIgest/'/nAuth param list /' realm="Test", nonce="65109afeb95d6b260e00a9801d6456d3", opaque="143ba22c1770f44f37a7a0e95c376aa1", qop="auth"/'/nAuth param realm=Test/nAuth param nonce=65109afeb95d6b260e00a9801d6456d3/nAuth param opaque=143ba22c1770f44f37a7a0e95c376aa1/nAuth param qop=auth/nAuthentication selected: DIgest realm="Test", nonce="65109afeb95d6b260e00a9801d6456d3", opaque="143ba22c1770f44f37a7a0e95c376aa1", qop="auth"/nReusing existing connection to localhost:56205./nReusing fd 4./n/n---request begin---/nGET /File1 HTTP/1.1/nHost: localhost:56205/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/nAuthorization: Digest username="Pacman", realm="Test", nonce="65109afeb95d6b260e00a9801d6456d3", uri="/File1", response="65acac94ea2835d55d8ef3ceaa40af22", qop=auth, nc=00000001, cnonce="38d8414e", opaque="143ba22c1770f44f37a7a0e95c376aa1"/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:44:35 GMT/ncontent-type: text/plain/ncontent-length: 14/n/n---response end---/n200 OK/nLength: 14 [text/plain]/nSaving to: /'File1/'/n/n 0K 100% 131K=0s/n/n2021-09-19 16:44:35 (131 KB/s) - /'File1/' saved [14/14]/n/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://localhost:56205/File2/' (ANSI_X3.4-1968) -> /'http://localhost:56205/File2/' (UTF-8)/nConverted file name /'File2/' (UTF-8) -> /'File2/' (ANSI_X3.4-1968)/n--2021-09-19 16:44:35-- http://localhost:56205/File2/nHost /'localhost/' has not issued a general basic challenge./nReusing existing connection to localhost:56205./nReusing fd 4./n/n---request begin---/nGET /File2 HTTP/1.1/nHost: localhost:56205/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 401 Authorization Required/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:44:35 GMT/nWWW-Authenticate: DIgest realm="Test", nonce="49cad07a657c8d524e1f27b8a1850975", opaque="46d60e5480d1f860edbbc8cbbfd45d2c"/n/n---response end---/n401 Authorization Required/n] done./nAuth scheme found /'DIgest/'/nAuth param list /' realm="Test", nonce="49cad07a657c8d524e1f27b8a1850975", opaque="46d60e5480d1f860edbbc8cbbfd45d2c"/'/nAuth param realm=Test/nAuth param nonce=49cad07a657c8d524e1f27b8a1850975/nAuth param opaque=46d60e5480d1f860edbbc8cbbfd45d2c/nAuthentication selected: DIgest realm="Test", nonce="49cad07a657c8d524e1f27b8a1850975", opaque="46d60e5480d1f860edbbc8cbbfd45d2c"/nReusing existing connection to localhost:56205./nReusing fd 4./n/n---request begin---/nGET /File2 HTTP/1.1/nHost: localhost:56205/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/nAuthorization: Digest username="Pacman", realm="Test", nonce="49cad07a657c8d524e1f27b8a1850975", uri="/File2", response="972d8ddd55d959f32f73970282350229", opaque="46d60e5480d1f860edbbc8cbbfd45d2c"/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:44:35 GMT/ncontent-type: text/plain/ncontent-length: 23/n/n---response end---/n200 OK/nLength: 23 [text/plain]/nSaving to: /'File2/'/n/n 0K 100% 157K=0s/n/n2021-09-19 16:44:35 (157 KB/s) - /'File2/' saved [23/23]/n/nFINISHED --2021-09-19 16:44:35--/nTotal wall clock time: 2.1s/nDownloaded: 2 files, 37 in 0s (146 KB/s)/n'}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-auth-digest.py", line 58, in err = HTTPTest ( File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-auth-digest.py (exit status: 1) FAIL: Test-auth-no-challenge ============================ Setting --no-config (noconfig) to 1 Setting --auth-no-challenge (authnochallenge) to 1 Setting --user (user) to Pacman Setting --password (password) to Omnomnom Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:44:39] "GET /File1 HTTP/1.1" 200 - Running Test Test-auth-no-challenge.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config --auth-no-challenge --user=Pacman --password=Omnomnom http://localhost:56208/File1 ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '--auth-no-challenge', '--user=Pacman', '--password=Omnomnom', 'http://localhost:56208/File1'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-auth-no-challenge.py-test'} {'wget-log': {'content': "DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-auth-no-challenge.py-test/.wget-hsts/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://localhost:56208/File1' (ANSI_X3.4-1968) -> 'http://localhost:56208/File1' (UTF-8)/nConverted file name 'File1' (UTF-8) -> 'File1' (ANSI_X3.4-1968)/n--2021-09-19 16:44:37-- http://localhost:56208/File1/nAuth-without-challenge set, sending Basic credentials./nResolving localhost (localhost)... ::1, 127.0.0.1/nCaching localhost => ::1 127.0.0.1/nConnecting to localhost (localhost)|::1|:56208... Closed fd 4/nfailed: Connection refused./nConnecting to localhost (localhost)|127.0.0.1|:56208... connected./nCreated socket 4./nReleasing 0x000000080006b090 (new refcount 1)./n/n---request begin---/nGET /File1 HTTP/1.1/nHost: localhost:56208/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nAuthorization: Basic UGFjbWFuOk9tbm9tbm9t/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:44:39 GMT/ncontent-type: text/plain/ncontent-length: 14/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nLength: 14 [text/plain]/nSaving to: 'File1'/n/n 0K 100% 170K=0s/n/n2021-09-19 16:44:39 (170 KB/s) - 'File1' saved [14/14]/n/n"}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-auth-no-challenge.py", line 46, in err = HTTPTest ( File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-auth-no-challenge.py (exit status: 1) FAIL: Test-auth-no-challenge-url ================================ Setting --no-config (noconfig) to 1 Setting --auth-no-challenge (authnochallenge) to 1 Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:44:43] "GET /File1 HTTP/1.1" 200 - Running Test Test-auth-no-challenge-url.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config --auth-no-challenge http://Pacman:Omnomnom@localhost:56211/File1 ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '--auth-no-challenge', 'http://Pacman:Omnomnom@localhost:56211/File1'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-auth-no-challenge-url.py-test'} {'wget-log': {'content': "DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-auth-no-challenge-url.py-test/.wget-hsts/nURI encoding = 'ANSI_X3.4-1968'/nlogging suppressed, strings may contain password/nConverted file name 'File1' (UTF-8) -> 'File1' (ANSI_X3.4-1968)/n--2021-09-19 16:44:41-- http://Pacman:*password*@localhost:56211/File1/nAuth-without-challenge set, sending Basic credentials./nResolving localhost (localhost)... ::1, 127.0.0.1/nCaching localhost => ::1 127.0.0.1/nConnecting to localhost (localhost)|::1|:56211... Closed fd 4/nfailed: Connection refused./nConnecting to localhost (localhost)|127.0.0.1|:56211... connected./nCreated socket 4./nReleasing 0x000000080006b0a0 (new refcount 1)./n/n---request begin---/nGET /File1 HTTP/1.1/nHost: localhost:56211/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nAuthorization: Basic UGFjbWFuOk9tbm9tbm9t/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:44:43 GMT/ncontent-type: text/plain/ncontent-length: 14/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nLength: 14 [text/plain]/nSaving to: 'File1'/n/n 0K 100% 154K=0s/n/n2021-09-19 16:44:43 (154 KB/s) - 'File1' saved [14/14]/n/n"}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-auth-no-challenge-url.py", line 46, in err = HTTPTest ( File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-auth-no-challenge-url.py (exit status: 1) FAIL: Test-auth-retcode ======================= Setting --no-config (noconfig) to 1 Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:44:46] "GET /File1 HTTP/1.1" 403 - Running Test Test-auth-retcode.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config http://localhost:56214/File1 ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', 'http://localhost:56214/File1'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-auth-retcode.py-test'} Custom Response code sent. {'wget-log': {'content': "DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-auth-retcode.py-test/.wget-hsts/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://localhost:56214/File1' (ANSI_X3.4-1968) -> 'http://localhost:56214/File1' (UTF-8)/nConverted file name 'File1' (UTF-8) -> 'File1' (ANSI_X3.4-1968)/n--2021-09-19 16:44:44-- http://localhost:56214/File1/nResolving localhost (localhost)... ::1, 127.0.0.1/nCaching localhost => ::1 127.0.0.1/nConnecting to localhost (localhost)|::1|:56214... Closed fd 4/nfailed: Connection refused./nConnecting to localhost (localhost)|127.0.0.1|:56214... connected./nCreated socket 4./nReleasing 0x000000080006b020 (new refcount 1)./n/n---request begin---/nGET /File1 HTTP/1.1/nHost: localhost:56214/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 403 Forbidden/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:44:46 GMT/ncontent-length: 27/n/n---response end---/n403 Forbidden/nRegistered socket 4 for persistent reuse./nSkipping 27 bytes of body: [Apples and Oranges? Really?] done./n2021-09-19 16:44:46 ERROR 403: Forbidden./n/n"}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-auth-retcode.py", line 42, in err = HTTPTest ( File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-auth-retcode.py (exit status: 1) FAIL: Test-auth-with-content-disposition ======================================== Setting --no-config (noconfig) to 1 Setting --user (user) to Pacman Setting --password (password) to Omnomnom Setting --content-disposition (contentdisposition) to 1 Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:44:50] "GET /File1 HTTP/1.1" 401 - 127.0.0.1 - - [19/Sep/2021 16:44:50] "GET /File1 HTTP/1.1" 200 - Running Test Test-auth-with-content-disposition.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config --user=Pacman --password=Omnomnom --content-disposition http://localhost:56217/File1 ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '--user=Pacman', '--password=Omnomnom', '--content-disposition', 'http://localhost:56217/File1'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-auth-with-content-disposition.py-test'} Unable to Authenticate {'wget-log': {'content': 'DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-auth-with-content-disposition.py-test/.wget-hsts/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://localhost:56217/File1/' (ANSI_X3.4-1968) -> /'http://localhost:56217/File1/' (UTF-8)/n--2021-09-19 16:44:48-- http://localhost:56217/File1/nHost /'localhost/' has not issued a general basic challenge./nResolving localhost (localhost)... ::1, 127.0.0.1/nCaching localhost => ::1 127.0.0.1/nConnecting to localhost (localhost)|::1|:56217... Closed fd 4/nfailed: Connection refused./nConnecting to localhost (localhost)|127.0.0.1|:56217... connected./nCreated socket 4./nReleasing 0x000000080006b080 (new refcount 1)./n/n---request begin---/nGET /File1 HTTP/1.1/nHost: localhost:56217/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 401 Authorization Required/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:44:50 GMT/nWWW-Authenticate: BasIc realm="Wget-Test"/ncontent-disposition: Attachment; filename=Arch/n/n---response end---/n401 Authorization Required/nRegistered socket 4 for persistent reuse./n] done./nAuth scheme found /'BasIc/'/nAuth param list /' realm="Wget-Test"/'/nAuth param realm=Wget-Test/nAuthentication selected: BasIc realm="Wget-Test"/nInserted /'localhost/' into basic_authed_hosts/nReusing existing connection to localhost:56217./nReusing fd 4./n/n---request begin---/nGET /File1 HTTP/1.1/nHost: localhost:56217/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/nAuthorization: Basic UGFjbWFuOk9tbm9tbm9t/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:44:50 GMT/ncontent-type: text/plain/ncontent-length: 14/ncontent-disposition: Attachment; filename=Arch/n/n---response end---/n200 OK/nParsed filename from Content-Disposition: Arch/nConverted file name /'Arch/' (UTF-8) -> /'Arch/' (ANSI_X3.4-1968)/nLength: 14 [text/plain]/nSaving to: /'Arch/'/n/n 0K 100% 158K=0s/n/n2021-09-19 16:44:50 (158 KB/s) - /'Arch/' saved [14/14]/n/n'}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-auth-with-content-disposition.py", line 46, in err = HTTPTest ( File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-auth-with-content-disposition.py (exit status: 1) FAIL: Test-c-full ================= Setting --no-config (noconfig) to 1 Setting --continue (continue) to 1 Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:44:54] "GET /File1 HTTP/1.1" 416 - 127.0.0.1 - - [19/Sep/2021 16:44:54] "GET /File2 HTTP/1.1" 206 - 127.0.0.1 - - [19/Sep/2021 16:44:54] "GET /File3 HTTP/1.1" 200 - Running Test Test-c-full.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config -c http://localhost:56220/File1 http://localhost:56220/File2 http://localhost:56220/File3 ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '-c', 'http://localhost:56220/File1', 'http://localhost:56220/File2', 'http://localhost:56220/File3'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-c-full.py-test'} {'wget-log': {'content': "DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-c-full.py-test/.wget-hsts/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://localhost:56220/File1' (ANSI_X3.4-1968) -> 'http://localhost:56220/File1' (UTF-8)/nConverted file name 'File1' (UTF-8) -> 'File1' (ANSI_X3.4-1968)/n--2021-09-19 16:44:52-- http://localhost:56220/File1/nResolving localhost (localhost)... ::1, 127.0.0.1/nCaching localhost => ::1 127.0.0.1/nConnecting to localhost (localhost)|::1|:56220... Closed fd 4/nfailed: Connection refused./nConnecting to localhost (localhost)|127.0.0.1|:56220... connected./nCreated socket 4./nReleasing 0x000000080006b0c0 (new refcount 1)./n/n---request begin---/nGET /File1 HTTP/1.1/nHost: localhost:56220/nRange: bytes=68-/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 416 Requested Range Not Satisfiable/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:44:54 GMT/n/n---response end---/n416 Requested Range Not Satisfiable/nRegistered socket 4 for persistent reuse./n/n The file is already fully retrieved; nothing to do./n/n] done./nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://localhost:56220/File2' (ANSI_X3.4-1968) -> 'http://localhost:56220/File2' (UTF-8)/nConverted file name 'File2' (UTF-8) -> 'File2' (ANSI_X3.4-1968)/n--2021-09-19 16:44:54-- http://localhost:56220/File2/nReusing existing connection to localhost:56220./nReusing fd 4./n/n---request begin---/nGET /File2 HTTP/1.1/nHost: localhost:56220/nRange: bytes=38-/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 206 Partial Content/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:44:54 GMT/naccept-ranges: bytes/ncontent-range: bytes 38-67/68/ncontent-type: text/plain/ncontent-length: 30/n/n---response end---/n206 Partial Content/nLength: 68, 30 remaining [text/plain]/nSaving to: 'File2'/n/n 0K/n 0K 100% 437K=0s/n/n2021-09-19 16:44:54 (437 KB/s) - 'File2' saved [68/68]/n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://localhost:56220/File3' (ANSI_X3.4-1968) -> 'http://localhost:56220/File3' (UTF-8)/nConverted file name 'File3' (UTF-8) -> 'File3' (ANSI_X3.4-1968)/n--2021-09-19 16:44:54-- http://localhost:56220/File3/nReusing existing connection to localhost:56220./nReusing fd 4./n/n---request begin---/nGET /File3 HTTP/1.1/nHost: localhost:56220/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:44:54 GMT/ncontent-type: text/plain/ncontent-length: 68/n/n---response end---/n200 OK/nLength: 68 [text/plain]/nSaving to: 'File3'/n/n 0K 100% 871K=0s/n/n2021-09-19 16:44:54 (871 KB/s) - 'File3' saved [68/68]/n/nFINISHED --2021-09-19 16:44:54--/nTotal wall clock time: 2.1s/nDownloaded: 2 files, 98 in 0s (668 KB/s)/n"}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-c-full.py", line 45, in err = HTTPTest ( File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-c-full.py (exit status: 1) FAIL: Test-condget ================== Setting --no-config (noconfig) to 1 Setting --timestamping (timestamping) to 1 Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:44:58] "GET /UpToDateFile1 HTTP/1.1" 304 - 127.0.0.1 - - [19/Sep/2021 16:44:58] "GET /UpToDateFile2 HTTP/1.1" 304 - 127.0.0.1 - - [19/Sep/2021 16:44:58] "GET /UpToDateFile3 HTTP/1.1" 304 - 127.0.0.1 - - [19/Sep/2021 16:44:58] "GET /NewerFile HTTP/1.1" 304 - 127.0.0.1 - - [19/Sep/2021 16:44:58] "GET /UpdatedFile HTTP/1.1" 200 - Running Test Test-condget.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config -N http://localhost:56223/UpToDateFile1 http://localhost:56223/UpToDateFile2 http://localhost:56223/UpToDateFile3 http://localhost:56223/NewerFile http://localhost:56223/UpdatedFile ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '-N', 'http://localhost:56223/UpToDateFile1', 'http://localhost:56223/UpToDateFile2', 'http://localhost:56223/UpToDateFile3', 'http://localhost:56223/NewerFile', 'http://localhost:56223/UpdatedFile'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-condget.py-test'} Conditional get falling to head Conditional get falling to head Conditional get falling to head Conditional get falling to head {'wget-log': {'content': "DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-condget.py-test/.wget-hsts/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://localhost:56223/UpToDateFile1' (ANSI_X3.4-1968) -> 'http://localhost:56223/UpToDateFile1' (UTF-8)/nConverted file name 'UpToDateFile1' (UTF-8) -> 'UpToDateFile1' (ANSI_X3.4-1968)/n--2021-09-19 16:44:56-- http://localhost:56223/UpToDateFile1/nResolving localhost (localhost)... ::1, 127.0.0.1/nCaching localhost => ::1 127.0.0.1/nConnecting to localhost (localhost)|::1|:56223... Closed fd 4/nfailed: Connection refused./nConnecting to localhost (localhost)|127.0.0.1|:56223... connected./nCreated socket 4./nReleasing 0x0000000800071490 (new refcount 1)./n/n---request begin---/nGET /UpToDateFile1 HTTP/1.1/nHost: localhost:56223/nIf-Modified-Since: Sun, 01 Jan 1995 00:00:00 GMT/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 304 Not Modified/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:44:58 GMT/nlast-modified: Sun, 01 Jan 1995 00:00:00 GMT/n/n---response end---/n304 Not Modified/nRegistered socket 4 for persistent reuse./nFile 'UpToDateFile1' not modified on server. Omitting download./n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://localhost:56223/UpToDateFile2' (ANSI_X3.4-1968) -> 'http://localhost:56223/UpToDateFile2' (UTF-8)/nConverted file name 'UpToDateFile2' (UTF-8) -> 'UpToDateFile2' (ANSI_X3.4-1968)/n--2021-09-19 16:44:58-- http://localhost:56223/UpToDateFile2/nReusing existing connection to localhost:56223./nReusing fd 4./n/n---request begin---/nGET /UpToDateFile2 HTTP/1.1/nHost: localhost:56223/nIf-Modified-Since: Sun, 01 Jan 1995 00:00:00 GMT/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 304 Not Modified/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:44:58 GMT/nlast-modified: Sunday, 01-Jan-95 00:00:00 GMT/n/n---response end---/n304 Not Modified/nFile 'UpToDateFile2' not modified on server. Omitting download./n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://localhost:56223/UpToDateFile3' (ANSI_X3.4-1968) -> 'http://localhost:56223/UpToDateFile3' (UTF-8)/nConverted file name 'UpToDateFile3' (UTF-8) -> 'UpToDateFile3' (ANSI_X3.4-1968)/n--2021-09-19 16:44:58-- http://localhost:56223/UpToDateFile3/nReusing existing connection to localhost:56223./nReusing fd 4./n/n---request begin---/nGET /UpToDateFile3 HTTP/1.1/nHost: localhost:56223/nIf-Modified-Since: Sun, 01 Jan 1995 00:00:00 GMT/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 304 Not Modified/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:44:58 GMT/nlast-modified: Sun Jan 01 00:00:00 1995/n/n---response end---/n304 Not Modified/nFile 'UpToDateFile3' not modified on server. Omitting download./n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://localhost:56223/NewerFile' (ANSI_X3.4-1968) -> 'http://localhost:56223/NewerFile' (UTF-8)/nConverted file name 'NewerFile' (UTF-8) -> 'NewerFile' (ANSI_X3.4-1968)/n--2021-09-19 16:44:58-- http://localhost:56223/NewerFile/nReusing existing connection to localhost:56223./nReusing fd 4./n/n---request begin---/nGET /NewerFile HTTP/1.1/nHost: localhost:56223/nIf-Modified-Since: Thu, 02 Feb 1995 02:02:02 GMT/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 304 Not Modified/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:44:58 GMT/nlast-modified: Sun Jan 01 00:00:00 1995/n/n---response end---/n304 Not Modified/nFile 'NewerFile' not modified on server. Omitting download./n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://localhost:56223/UpdatedFile' (ANSI_X3.4-1968) -> 'http://localhost:56223/UpdatedFile' (UTF-8)/nConverted file name 'UpdatedFile' (UTF-8) -> 'UpdatedFile' (ANSI_X3.4-1968)/n--2021-09-19 16:44:58-- http://localhost:56223/UpdatedFile/nReusing existing connection to localhost:56223./nReusing fd 4./n/n---request begin---/nGET /UpdatedFile HTTP/1.1/nHost: localhost:56223/nIf-Modified-Since: Mon, 01 Jan 1990 00:00:00 GMT/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:44:58 GMT/ncontent-type: text/plain/ncontent-length: 14/nlast-modified: Thursday, 01-Jan-15 00:00:00 GMT/n/n---response end---/n200 OK/nLength: 14 [text/plain]/nSaving to: 'UpdatedFile'/n/n 0K 100% 152K=0s/n/n2021-09-19 16:44:58 (152 KB/s) - 'UpdatedFile' saved [14/14]/n/nFINISHED --2021-09-19 16:44:58--/nTotal wall clock time: 2.1s/nDownloaded: 1 files, 14 in 0s (152 KB/s)/n"}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-condget.py", line 132, in err = HTTPTest ( File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-condget.py (exit status: 1) FAIL: Test-Content-disposition-2 ================================ Setting --no-config (noconfig) to 1 Setting --content-disposition (contentdisposition) to 1 Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:45:02] "GET /File2 HTTP/1.1" 200 - Running Test Test-Content-disposition-2.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config --content-disposition http://localhost:56226/File2 ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '--content-disposition', 'http://localhost:56226/File2'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-Content-disposition-2.py-test'} {'wget-log': {'content': "DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-Content-disposition-2.py-test/.wget-hsts/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://localhost:56226/File2' (ANSI_X3.4-1968) -> 'http://localhost:56226/File2' (UTF-8)/n--2021-09-19 16:45:00-- http://localhost:56226/File2/nResolving localhost (localhost)... ::1, 127.0.0.1/nCaching localhost => ::1 127.0.0.1/nConnecting to localhost (localhost)|::1|:56226... Closed fd 4/nfailed: Connection refused./nConnecting to localhost (localhost)|127.0.0.1|:56226... connected./nCreated socket 4./nReleasing 0x000000080006b040 (new refcount 1)./n/n---request begin---/nGET /File2 HTTP/1.1/nHost: localhost:56226/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:45:02 GMT/ncontent-type: text/plain/ncontent-length: 19/ncontent-disposition: Attachment; FILENAME=HTTP.Teapot/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nParsed filename from Content-Disposition: HTTP.Teapot/nConverted file name 'HTTP.Teapot' (UTF-8) -> 'HTTP.Teapot' (ANSI_X3.4-1968)/nLength: 19 [text/plain]/nSaving to: 'HTTP.Teapot.1'/n/n 0K 100% 189K=0s/n/n2021-09-19 16:45:02 (189 KB/s) - 'HTTP.Teapot.1' saved [19/19]/n/n"}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-Content-disposition-2.py", line 46, in err = HTTPTest ( File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-Content-disposition-2.py (exit status: 1) FAIL: Test-Content-disposition ============================== Setting --no-config (noconfig) to 1 Setting --content-disposition (contentdisposition) to 1 Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:45:06] "GET /LOTR HTTP/1.1" 200 - Running Test Test-Content-disposition.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config --content-disposition http://localhost:56229/LOTR ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '--content-disposition', 'http://localhost:56229/LOTR'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-Content-disposition.py-test'} {'wget-log': {'content': "DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-Content-disposition.py-test/.wget-hsts/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://localhost:56229/LOTR' (ANSI_X3.4-1968) -> 'http://localhost:56229/LOTR' (UTF-8)/n--2021-09-19 16:45:03-- http://localhost:56229/LOTR/nResolving localhost (localhost)... ::1, 127.0.0.1/nCaching localhost => ::1 127.0.0.1/nConnecting to localhost (localhost)|::1|:56229... Closed fd 4/nfailed: Connection refused./nConnecting to localhost (localhost)|127.0.0.1|:56229... connected./nCreated socket 4./nReleasing 0x000000080006b030 (new refcount 1)./n/n---request begin---/nGET /LOTR HTTP/1.1/nHost: localhost:56229/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:45:06 GMT/ncontent-type: text/plain/ncontent-length: 358/ncontent-disposition: Attachment; filename=JRR.Tolkien/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nParsed filename from Content-Disposition: JRR.Tolkien/nConverted file name 'JRR.Tolkien' (UTF-8) -> 'JRR.Tolkien' (ANSI_X3.4-1968)/nLength: 358 [text/plain]/nSaving to: 'JRR.Tolkien'/n/n 0K 100% 5.21M=0s/n/n2021-09-19 16:45:06 (5.21 MB/s) - 'JRR.Tolkien' saved [358/358]/n/n"}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-Content-disposition.py", line 48, in err = HTTPTest ( File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-Content-disposition.py (exit status: 1) FAIL: Test--convert-links--content-on-error =========================================== Setting --no-config (noconfig) to 1 Setting --host-directories (addhostdir) to 0 Setting --recursive (recursive) to 1 Setting --level (reclevel) to 2 Setting --convert-links (convertlinks) to 1 Setting --content-on-error (contentonerror) to 1 Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:45:09] "GET /a/x.html HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:45:09] "GET /robots.txt HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:45:09] "GET /b/y.html HTTP/1.1" 404 - Running Test Test--convert-links--content-on-error.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config --no-host-directories -r -l2 --convert-links --content-on-error http://localhost:56232/a/x.html ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '--no-host-directories', '-r', '-l2', '--convert-links', '--content-on-error', 'http://localhost:56232/a/x.html'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test--convert-links--content-on-error.py-test'} Custom Response code sent. {'wget-log': {'content': 'DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test--convert-links--content-on-error.py-test/.wget-hsts/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://localhost:56232/a/x.html/' (ANSI_X3.4-1968) -> /'http://localhost:56232/a/x.html/' (UTF-8)/nURI encoding = /'ANSI_X3.4-1968/'/nEnqueuing http://localhost:56232/a/x.html at depth 0/nQueue count 1, maxcount 1./n[IRI Enqueuing /'http://localhost:56232/a/x.html/' with /'ANSI_X3.4-1968/'/nDequeuing http://localhost:56232/a/x.html at depth 0/nQueue count 0, maxcount 1./nconverted /'http://localhost:56232/a/x.html/' (ANSI_X3.4-1968) -> /'http://localhost:56232/a/x.html/' (UTF-8)/nConverted file name /'a/x.html/' (UTF-8) -> /'a/x.html/' (ANSI_X3.4-1968)/n--2021-09-19 16:45:07-- http://localhost:56232/a/x.html/nResolving localhost (localhost)... ::1, 127.0.0.1/nCaching localhost => ::1 127.0.0.1/nConnecting to localhost (localhost)|::1|:56232... Closed fd 4/nfailed: Connection refused./nConnecting to localhost (localhost)|127.0.0.1|:56232... connected./nCreated socket 4./nReleasing 0x000000080006b370 (new refcount 1)./n/n---request begin---/nGET /a/x.html HTTP/1.1/nHost: localhost:56232/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:45:09 GMT/ncontent-type: text/html/ncontent-length: 139/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nLength: 139 [text/html]/nSaving to: /'a/x.html/'/n/n 0K 100% 2.08M=0s/n/n2021-09-19 16:45:09 (2.08 MB/s) - /'a/x.html/' saved [139/139]/n/nLoaded a/x.html (size 139)./nURI encoding = /'ANSI_X3.4-1968/'/na/x.html: merge(/'http://localhost:56232/a/x.html/', /'/b/y.html/') -> http://localhost:56232/b/y.html/nconverted /'http://localhost:56232/b/y.html/' (ANSI_X3.4-1968) -> /'http://localhost:56232/b/y.html/' (UTF-8)/nappending /'http://localhost:56232/b/y.html/' to urlpos./nnofollow in a/x.html: 0/nDeciding whether to enqueue "http://localhost:56232/b/y.html"./nURI encoding = /'ANSI_X3.4-1968/'/nLoading robots.txt; please ignore errors./nConverted file name /'robots.txt/' (UTF-8) -> /'robots.txt/' (ANSI_X3.4-1968)/n--2021-09-19 16:45:09-- http://localhost:56232/robots.txt/nReusing existing connection to localhost:56232./nReusing fd 4./n/n---request begin---/nGET /robots.txt HTTP/1.1/nHost: localhost:56232/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:45:09 GMT/ncontent-type: text/plain/ncontent-length: 0/n/n---response end---/n200 OK/nLength: 0 [text/plain]/nSaving to: /'robots.txt/'/n/n 0K 0.00 =0s/n/n2021-09-19 16:45:09 (0.00 B/s) - /'robots.txt/' saved [0/0]/n/nDecided to load it./nURI encoding = None/nEnqueuing http://localhost:56232/b/y.html at depth 1/nQueue count 1, maxcount 1./n[IRI Enqueuing /'http://localhost:56232/b/y.html/' with None/nDequeuing http://localhost:56232/b/y.html at depth 1/nQueue count 0, maxcount 1./nConverted file name /'b/y.html/' (UTF-8) -> /'b/y.html/' (ANSI_X3.4-1968)/n--2021-09-19 16:45:09-- http://localhost:56232/b/y.html/nReusing existing connection to localhost:56232./nReusing fd 4./n/n---request begin---/nGET /b/y.html HTTP/1.1/nHost: localhost:56232/nReferer: http://localhost:56232/a/x.html/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:45:09 GMT/ncontent-length: 16/ncontent-type: text/plain/n/n---response end---/n404 Not Found/nSaving to: /'b/y.html/'/n/n 0K 100% 228K=0s/n/n2021-09-19 16:45:09 ERROR 404: Not Found./n/nFINISHED --2021-09-19 16:45:09--/nTotal wall clock time: 2.1s/nDownloaded: 2 files, 139 in 0s (2.08 MB/s)/nScanning a/x.html (from http://localhost:56232/a/x.html)/nLoaded a/x.html (size 139)./nURI encoding = /'ANSI_X3.4-1968/'/na/x.html: merge(/'http://localhost:56232/a/x.html/', /'/b/y.html/') -> http://localhost:56232/b/y.html/nconverted /'http://localhost:56232/b/y.html/' (ANSI_X3.4-1968) -> /'http://localhost:56232/b/y.html/' (UTF-8)/nappending /'http://localhost:56232/b/y.html/' to urlpos./nnofollow in a/x.html: 0/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://localhost:56232/b/y.html/' (ANSI_X3.4-1968) -> /'http://localhost:56232/b/y.html/' (UTF-8)/nwill convert url http://localhost:56232/b/y.html to local b/y.html/nConverting links in a/x.html... 1./nTO_RELATIVE: http://localhost:56232/b/y.html to ../b/y.html at position 106 in a/x.html./n1-0/nConverted links in 1 files in 0.004 seconds./n'}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test--convert-links--content-on-error.py", line 71, in err = HTTPTest ( File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test--convert-links--content-on-error.py (exit status: 1) FAIL: Test-cookie-401 ===================== Setting --no-config (noconfig) to 1 Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:45:13] "GET /File1 HTTP/1.1" 401 - 127.0.0.1 - - [19/Sep/2021 16:45:13] "GET /File2 HTTP/1.1" 200 - Running Test Test-cookie-401.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config http://localhost:56235/File1 http://localhost:56235/File2 ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', 'http://localhost:56235/File1', 'http://localhost:56235/File2'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-cookie-401.py-test'} Custom Response code sent. {'wget-log': {'content': "DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-cookie-401.py-test/.wget-hsts/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://localhost:56235/File1' (ANSI_X3.4-1968) -> 'http://localhost:56235/File1' (UTF-8)/nConverted file name 'File1' (UTF-8) -> 'File1' (ANSI_X3.4-1968)/n--2021-09-19 16:45:11-- http://localhost:56235/File1/nResolving localhost (localhost)... ::1, 127.0.0.1/nCaching localhost => ::1 127.0.0.1/nConnecting to localhost (localhost)|::1|:56235... Closed fd 4/nfailed: Connection refused./nConnecting to localhost (localhost)|127.0.0.1|:56235... connected./nCreated socket 4./nReleasing 0x000000080006b040 (new refcount 1)./n/n---request begin---/nGET /File1 HTTP/1.1/nHost: localhost:56235/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 401 Unauthorized/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:45:13 GMT/ncontent-length: 75/nset-cookie: sess-id=0213; path=//n/n---response end---/n401 Unauthorized/n/nStored cookie localhost 56235 / [expiry none] sess-id 0213/nRegistered socket 4 for persistent reuse./nSkipping 75 bytes of body: [All happy families are alike;/nEach unhappy family is unhappy in its own way] done./n/nUsername/Password Authentication Failed./nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://localhost:56235/File2' (ANSI_X3.4-1968) -> 'http://localhost:56235/File2' (UTF-8)/nConverted file name 'File2' (UTF-8) -> 'File2' (ANSI_X3.4-1968)/n--2021-09-19 16:45:13-- http://localhost:56235/File2/nReusing existing connection to localhost:56235./nReusing fd 4./n/n---request begin---/nGET /File2 HTTP/1.1/nHost: localhost:56235/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/nCookie: sess-id=0213/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:45:13 GMT/ncontent-type: text/plain/ncontent-length: 29/n/n---response end---/n200 OK/nLength: 29 [text/plain]/nSaving to: 'File2'/n/n 0K 100% 252K=0s/n/n2021-09-19 16:45:13 (252 KB/s) - 'File2' saved [29/29]/n/nFINISHED --2021-09-19 16:45:13--/nTotal wall clock time: 2.1s/nDownloaded: 1 files, 29 in 0s (252 KB/s)/n"}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-cookie-401.py", line 51, in err = HTTPTest ( File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-cookie-401.py (exit status: 1) FAIL: Test-cookie-domain-mismatch ================================= Setting --no-config (noconfig) to 1 Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:45:17] "GET /File1 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:45:17] "GET /File2 HTTP/1.1" 200 - Running Test Test-cookie-domain-mismatch.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config http://localhost:56238/File1 http://localhost:56238/File2 ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', 'http://localhost:56238/File1', 'http://localhost:56238/File2'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-cookie-domain-mismatch.py-test'} {'wget-log': {'content': "DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-cookie-domain-mismatch.py-test/.wget-hsts/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://localhost:56238/File1' (ANSI_X3.4-1968) -> 'http://localhost:56238/File1' (UTF-8)/nConverted file name 'File1' (UTF-8) -> 'File1' (ANSI_X3.4-1968)/n--2021-09-19 16:45:15-- http://localhost:56238/File1/nResolving localhost (localhost)... ::1, 127.0.0.1/nCaching localhost => ::1 127.0.0.1/nConnecting to localhost (localhost)|::1|:56238... Closed fd 4/nfailed: Connection refused./nConnecting to localhost (localhost)|127.0.0.1|:56238... connected./nCreated socket 4./nReleasing 0x000000080006b050 (new refcount 1)./n/n---request begin---/nGET /File1 HTTP/1.1/nHost: localhost:56238/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:45:17 GMT/ncontent-type: text/plain/ncontent-length: 35/nset-cookie: sess-id=0213; path=/; DoMAIn=.example.com/n/n---response end---/n200 OK/ncdm: 1/nCookie coming from localhost attempted to set domain to example.com/nRegistered socket 4 for persistent reuse./nLength: 35 [text/plain]/nSaving to: 'File1'/n/n 0K 100% 548K=0s/n/n2021-09-19 16:45:17 (548 KB/s) - 'File1' saved [35/35]/n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://localhost:56238/File2' (ANSI_X3.4-1968) -> 'http://localhost:56238/File2' (UTF-8)/nConverted file name 'File2' (UTF-8) -> 'File2' (ANSI_X3.4-1968)/n--2021-09-19 16:45:17-- http://localhost:56238/File2/nReusing existing connection to localhost:56238./nReusing fd 4./n/n---request begin---/nGET /File2 HTTP/1.1/nHost: localhost:56238/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:45:17 GMT/ncontent-type: text/plain/ncontent-length: 29/n/n---response end---/n200 OK/nLength: 29 [text/plain]/nSaving to: 'File2'/n/n 0K 100% 323K=0s/n/n2021-09-19 16:45:17 (323 KB/s) - 'File2' saved [29/29]/n/nFINISHED --2021-09-19 16:45:17--/nTotal wall clock time: 2.1s/nDownloaded: 2 files, 64 in 0s (416 KB/s)/n"}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-cookie-domain-mismatch.py", line 50, in err = HTTPTest ( File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-cookie-domain-mismatch.py (exit status: 1) FAIL: Test-cookie-expires ========================= Setting --no-config (noconfig) to 1 Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:45:21] "GET /File1 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:45:21] "GET /File2 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:45:21] "GET /File3 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:45:21] "GET /File4 HTTP/1.1" 200 - Running Test Test-cookie-expires.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config http://localhost:56242/File1 http://localhost:56242/File2 http://localhost:56242/File3 http://localhost:56242/File4 ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', 'http://localhost:56242/File1', 'http://localhost:56242/File2', 'http://localhost:56242/File3', 'http://localhost:56242/File4'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-cookie-expires.py-test'} {'wget-log': {'content': "DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-cookie-expires.py-test/.wget-hsts/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://localhost:56242/File1' (ANSI_X3.4-1968) -> 'http://localhost:56242/File1' (UTF-8)/nConverted file name 'File1' (UTF-8) -> 'File1' (ANSI_X3.4-1968)/n--2021-09-19 16:45:19-- http://localhost:56242/File1/nResolving localhost (localhost)... ::1, 127.0.0.1/nCaching localhost => ::1 127.0.0.1/nConnecting to localhost (localhost)|::1|:56242... Closed fd 4/nfailed: Connection refused./nConnecting to localhost (localhost)|127.0.0.1|:56242... connected./nCreated socket 4./nReleasing 0x000000080006b080 (new refcount 1)./n/n---request begin---/nGET /File1 HTTP/1.1/nHost: localhost:56242/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:45:21 GMT/ncontent-type: text/plain/ncontent-length: 12/nset-cookie: sess-id=0213; path=//n/n---response end---/n200 OK/n/nStored cookie localhost 56242 / [expiry none] sess-id 0213/nRegistered socket 4 for persistent reuse./nLength: 12 [text/plain]/nSaving to: 'File1'/n/n 0K 100% 181K=0s/n/n2021-09-19 16:45:21 (181 KB/s) - 'File1' saved [12/12]/n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://localhost:56242/File2' (ANSI_X3.4-1968) -> 'http://localhost:56242/File2' (UTF-8)/nConverted file name 'File2' (UTF-8) -> 'File2' (ANSI_X3.4-1968)/n--2021-09-19 16:45:21-- http://localhost:56242/File2/nReusing existing connection to localhost:56242./nReusing fd 4./n/n---request begin---/nGET /File2 HTTP/1.1/nHost: localhost:56242/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/nCookie: sess-id=0213/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:45:21 GMT/ncontent-type: text/plain/ncontent-length: 23/nset-cookie: new-sess=N/n/n---response end---/n200 OK/n/nStored cookie localhost 56242 / [expiry none] new-sess N/nLength: 23 [text/plain]/nSaving to: 'File2'/n/n 0K 100% 246K=0s/n/n2021-09-19 16:45:21 (246 KB/s) - 'File2' saved [23/23]/n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://localhost:56242/File3' (ANSI_X3.4-1968) -> 'http://localhost:56242/File3' (UTF-8)/nConverted file name 'File3' (UTF-8) -> 'File3' (ANSI_X3.4-1968)/n--2021-09-19 16:45:21-- http://localhost:56242/File3/nReusing existing connection to localhost:56242./nReusing fd 4./n/n---request begin---/nGET /File3 HTTP/1.1/nHost: localhost:56242/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/nCookie: new-sess=N; sess-id=0213/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:45:21 GMT/ncontent-type: text/plain/ncontent-length: 26/nset-cookie: sess-id=0213; path=/; ExPIRes=Sun, 06 Nov 2001 12:32:43 GMT/n/n---response end---/n200 OK/nDiscarded old cookie./nLength: 26 [text/plain]/nSaving to: 'File3'/n/n 0K 100% 261K=0s/n/n2021-09-19 16:45:21 (261 KB/s) - 'File3' saved [26/26]/n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://localhost:56242/File4' (ANSI_X3.4-1968) -> 'http://localhost:56242/File4' (UTF-8)/nConverted file name 'File4' (UTF-8) -> 'File4' (ANSI_X3.4-1968)/n--2021-09-19 16:45:21-- http://localhost:56242/File4/nReusing existing connection to localhost:56242./nReusing fd 4./n/n---request begin---/nGET /File4 HTTP/1.1/nHost: localhost:56242/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/nCookie: new-sess=N/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:45:21 GMT/ncontent-type: text/plain/ncontent-length: 19/n/n---response end---/n200 OK/nLength: 19 [text/plain]/nSaving to: 'File4'/n/n 0K 100% 281K=0s/n/n2021-09-19 16:45:21 (281 KB/s) - 'File4' saved [19/19]/n/nFINISHED --2021-09-19 16:45:21--/nTotal wall clock time: 2.1s/nDownloaded: 4 files, 80 in 0s (245 KB/s)/n"}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-cookie-expires.py", line 73, in err = HTTPTest ( File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-cookie-expires.py (exit status: 1) FAIL: Test-cookie ================= Setting --no-config (noconfig) to 1 Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:45:24] "GET /File1 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:45:24] "GET /File2 HTTP/1.1" 200 - Running Test Test-cookie.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config http://localhost:56245/File1 http://localhost:56245/File2 ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', 'http://localhost:56245/File1', 'http://localhost:56245/File2'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-cookie.py-test'} {'wget-log': {'content': "DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-cookie.py-test/.wget-hsts/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://localhost:56245/File1' (ANSI_X3.4-1968) -> 'http://localhost:56245/File1' (UTF-8)/nConverted file name 'File1' (UTF-8) -> 'File1' (ANSI_X3.4-1968)/n--2021-09-19 16:45:22-- http://localhost:56245/File1/nResolving localhost (localhost)... ::1, 127.0.0.1/nCaching localhost => ::1 127.0.0.1/nConnecting to localhost (localhost)|::1|:56245... Closed fd 4/nfailed: Connection refused./nConnecting to localhost (localhost)|127.0.0.1|:56245... connected./nCreated socket 4./nReleasing 0x000000080006b030 (new refcount 1)./n/n---request begin---/nGET /File1 HTTP/1.1/nHost: localhost:56245/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:45:24 GMT/ncontent-type: text/plain/ncontent-length: 75/nset-cookie: sess-id=0213; path=//n/n---response end---/n200 OK/n/nStored cookie localhost 56245 / [expiry none] sess-id 0213/nRegistered socket 4 for persistent reuse./nLength: 75 [text/plain]/nSaving to: 'File1'/n/n 0K 100% 788K=0s/n/n2021-09-19 16:45:24 (788 KB/s) - 'File1' saved [75/75]/n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://localhost:56245/File2' (ANSI_X3.4-1968) -> 'http://localhost:56245/File2' (UTF-8)/nConverted file name 'File2' (UTF-8) -> 'File2' (ANSI_X3.4-1968)/n--2021-09-19 16:45:24-- http://localhost:56245/File2/nReusing existing connection to localhost:56245./nReusing fd 4./n/n---request begin---/nGET /File2 HTTP/1.1/nHost: localhost:56245/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/nCookie: sess-id=0213/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:45:24 GMT/ncontent-type: text/plain/ncontent-length: 29/n/n---response end---/n200 OK/nLength: 29 [text/plain]/nSaving to: 'File2'/n/n 0K 100% 283K=0s/n/n2021-09-19 16:45:24 (283 KB/s) - 'File2' saved [29/29]/n/nFINISHED --2021-09-19 16:45:24--/nTotal wall clock time: 2.1s/nDownloaded: 2 files, 104 in 0s (526 KB/s)/n"}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-cookie.py", line 49, in err = HTTPTest ( File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-cookie.py (exit status: 1) FAIL: Test-Head =============== Setting --no-config (noconfig) to 1 Setting --method (method) to HEAD Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:45:28] "HEAD /File1 HTTP/1.1" 200 - Running Test Test-Head.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config --method=HEAD http://localhost:56248/File1 ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '--method=HEAD', 'http://localhost:56248/File1'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-Head.py-test'} {'wget-log': {'content': "Setting --spider (spider) to 1/nDEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-Head.py-test/.wget-hsts/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://localhost:56248/File1' (ANSI_X3.4-1968) -> 'http://localhost:56248/File1' (UTF-8)/nConverted file name 'File1' (UTF-8) -> 'File1' (ANSI_X3.4-1968)/nSpider mode enabled. Check if remote file exists./n--2021-09-19 16:45:26-- http://localhost:56248/File1/nResolving localhost (localhost)... ::1, 127.0.0.1/nCaching localhost => ::1 127.0.0.1/nConnecting to localhost (localhost)|::1|:56248... Closed fd 4/nfailed: Connection refused./nConnecting to localhost (localhost)|127.0.0.1|:56248... connected./nCreated socket 4./nReleasing 0x000000080006b020 (new refcount 1)./n/n---request begin---/nHEAD /File1 HTTP/1.1/nHost: localhost:56248/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:45:28 GMT/ncontent-type: text/plain/ncontent-length: 19/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nLength: 19 [text/plain]/nRemote file exists./n/n"}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-Head.py", line 36, in err = HTTPTest ( File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-Head.py (exit status: 1) FAIL: Test-hsts =============== Setting --no-config (noconfig) to 1 Setting --hsts-file (hstsfile) to $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/.wget-hsts-testenv Setting --ca-certificate (cacertificate) to $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/certs/ca-cert.pem Redirecting output to 'wget-log'. SSL_INIT 127.0.0.1 - - [19/Sep/2021 16:45:32] "GET /hw HTTP/1.1" 200 - 1 Running Test Test-hsts.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config --hsts-file=$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/.wget-hsts-testenv --ca-certificate=$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/certs/ca-cert.pem http://localhost:56251/hw ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '--hsts-file=$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/.wget-hsts-testenv', '--ca-certificate=$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/certs/ca-cert.pem', 'http://localhost:56251/hw'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-hsts.py-test'} {'wget-log': {'content': "DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/.wget-hsts-testenv/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://localhost:56251/hw' (ANSI_X3.4-1968) -> 'http://localhost:56251/hw' (UTF-8)/nURL transformed to HTTPS due to an HSTS policy/nConverted file name 'hw' (UTF-8) -> 'hw' (ANSI_X3.4-1968)/n--2021-09-19 16:45:30-- https://localhost:56251/hw/nLoaded CA certificate '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/certs/ca-cert.pem'/nCertificates loaded: 168/nResolving localhost (localhost)... ::1, 127.0.0.1/nCaching localhost => ::1 127.0.0.1/nConnecting to localhost (localhost)|::1|:56251... Closed fd 4/nfailed: Connection refused./nConnecting to localhost (localhost)|127.0.0.1|:56251... connected./nCreated socket 4./nReleasing 0x000000080039a880 (new refcount 1)./n/n---request begin---/nGET /hw HTTP/1.1/nHost: localhost:56251/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:45:32 GMT/ncontent-type: text/plain/ncontent-length: 13/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nLength: 13 [text/plain]/nSaving to: 'hw'/n/n 0K 100% 204K=0s/n/n2021-09-19 16:45:32 (204 KB/s) - 'hw' saved [13/13]/n/nSaving HSTS entries to $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/.wget-hsts-testenv/n"}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-hsts.py", line 76, in err = test.begin() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-hsts.py (exit status: 1) FAIL: Test--https ================= Setting --no-config (noconfig) to 1 Setting --ca-certificate (cacertificate) to $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/certs/ca-cert.pem Redirecting output to 'wget-log'. SSL_INIT SSL_INIT 127.0.0.1 - - [19/Sep/2021 16:45:36] "GET /File1 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:45:36] "GET /File2 HTTP/1.1" 200 - Running Test Test--https.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config --ca-certificate=$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/certs/ca-cert.pem https://localhost:56254/File1 https://localhost:56254/File2 ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '--ca-certificate=$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/certs/ca-cert.pem', 'https://localhost:56254/File1', 'https://localhost:56254/File2'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test--https.py-test'} {'wget-log': {'content': "DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test--https.py-test/.wget-hsts/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'https://localhost:56254/File1' (ANSI_X3.4-1968) -> 'https://localhost:56254/File1' (UTF-8)/nConverted file name 'File1' (UTF-8) -> 'File1' (ANSI_X3.4-1968)/n--2021-09-19 16:45:34-- https://localhost:56254/File1/nLoaded CA certificate '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/certs/ca-cert.pem'/nCertificates loaded: 168/nResolving localhost (localhost)... ::1, 127.0.0.1/nCaching localhost => ::1 127.0.0.1/nConnecting to localhost (localhost)|::1|:56254... Closed fd 4/nfailed: Connection refused./nConnecting to localhost (localhost)|127.0.0.1|:56254... connected./nCreated socket 4./nReleasing 0x0000000800228270 (new refcount 1)./n/n---request begin---/nGET /File1 HTTP/1.1/nHost: localhost:56254/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:45:36 GMT/ncontent-type: text/plain/ncontent-length: 24/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nLength: 24 [text/plain]/nSaving to: 'File1'/n/n 0K 100% 366K=0s/n/n2021-09-19 16:45:36 (366 KB/s) - 'File1' saved [24/24]/n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'https://localhost:56254/File2' (ANSI_X3.4-1968) -> 'https://localhost:56254/File2' (UTF-8)/nConverted file name 'File2' (UTF-8) -> 'File2' (ANSI_X3.4-1968)/n--2021-09-19 16:45:36-- https://localhost:56254/File2/nReusing existing connection to localhost:56254./nReusing fd 4./n/n---request begin---/nGET /File2 HTTP/1.1/nHost: localhost:56254/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:45:36 GMT/ncontent-type: text/plain/ncontent-length: 20/n/n---response end---/n200 OK/nLength: 20 [text/plain]/nSaving to: 'File2'/n/n 0K 100% 312K=0s/n/n2021-09-19 16:45:36 (312 KB/s) - 'File2' saved [20/20]/n/nFINISHED --2021-09-19 16:45:36--/nTotal wall clock time: 2.2s/nDownloaded: 2 files, 44 in 0s (339 KB/s)/n"}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test--https.py", line 49, in err = HTTPTest ( File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test--https.py (exit status: 1) FAIL: Test-missing-scheme-retval ================================ Setting --no-config (noconfig) to 1 Redirecting output to 'wget-log'. Running Test Test-missing-scheme-retval.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config /foo/bar ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '/foo/bar'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-missing-scheme-retval.py-test'} {'wget-log': {'content': "DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-missing-scheme-retval.py-test/.wget-hsts/nURI encoding = 'ANSI_X3.4-1968'/n/foo/bar: Scheme missing./n"}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-missing-scheme-retval.py", line 36, in err = HTTPTest ( File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-missing-scheme-retval.py (exit status: 1) FAIL: Test-O ============ Setting --no-config (noconfig) to 1 Setting --output-document (outputdocument) to NewFile.txt Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:45:45] "GET /File1 HTTP/1.1" 200 - Running Test Test-O.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config -O NewFile.txt http://localhost:56262/File1 ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '-O', 'NewFile.txt', 'http://localhost:56262/File1'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-O.py-test'} {'wget-log': {'content': "DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-O.py-test/.wget-hsts/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://localhost:56262/File1' (ANSI_X3.4-1968) -> 'http://localhost:56262/File1' (UTF-8)/n--2021-09-19 16:45:43-- http://localhost:56262/File1/nResolving localhost (localhost)... ::1, 127.0.0.1/nCaching localhost => ::1 127.0.0.1/nConnecting to localhost (localhost)|::1|:56262... Closed fd 5/nfailed: Connection refused./nConnecting to localhost (localhost)|127.0.0.1|:56262... connected./nCreated socket 5./nReleasing 0x000000080006afd0 (new refcount 1)./n/n---request begin---/nGET /File1 HTTP/1.1/nHost: localhost:56262/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:45:45 GMT/ncontent-type: text/plain/ncontent-length: 14/n/n---response end---/n200 OK/nRegistered socket 5 for persistent reuse./nLength: 14 [text/plain]/nSaving to: 'NewFile.txt'/n/n 0K 100% 171K=0s/n/n2021-09-19 16:45:45 (171 KB/s) - 'NewFile.txt' saved [14/14]/n/n"}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-O.py", line 37, in err = HTTPTest ( File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-O.py (exit status: 1) FAIL: Test-pinnedpubkey-der-https ================================= Setting --no-config (noconfig) to 1 Setting --pinnedpubkey (pinnedpubkey) to $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/certs/server-pubkey.der Setting --ca-certificate (cacertificate) to $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/certs/ca-cert.pem Redirecting output to 'wget-log'. SSL_INIT SSL_INIT 127.0.0.1 - - [19/Sep/2021 16:45:49] "GET /File1 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:45:49] "GET /File2 HTTP/1.1" 200 - Running Test Test-pinnedpubkey-der-https.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config --pinnedpubkey=$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/certs/server-pubkey.der --ca-certificate=$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/certs/ca-cert.pem https://localhost:56265/File1 https://localhost:56265/File2 ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '--pinnedpubkey=$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/certs/server-pubkey.der', '--ca-certificate=$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/certs/ca-cert.pem', 'https://localhost:56265/File1', 'https://localhost:56265/File2'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-pinnedpubkey-der-https.py-test'} {'wget-log': {'content': "DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-pinnedpubkey-der-https.py-test/.wget-hsts/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'https://localhost:56265/File1' (ANSI_X3.4-1968) -> 'https://localhost:56265/File1' (UTF-8)/nConverted file name 'File1' (UTF-8) -> 'File1' (ANSI_X3.4-1968)/n--2021-09-19 16:45:47-- https://localhost:56265/File1/nLoaded CA certificate '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/certs/ca-cert.pem'/nCertificates loaded: 168/nResolving localhost (localhost)... ::1, 127.0.0.1/nCaching localhost => ::1 127.0.0.1/nConnecting to localhost (localhost)|::1|:56265... Closed fd 4/nfailed: Connection refused./nConnecting to localhost (localhost)|127.0.0.1|:56265... connected./nCreated socket 4./nReleasing 0x000000080039a880 (new refcount 1)./n/n---request begin---/nGET /File1 HTTP/1.1/nHost: localhost:56265/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:45:49 GMT/ncontent-type: text/plain/ncontent-length: 24/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nLength: 24 [text/plain]/nSaving to: 'File1'/n/n 0K 100% 399K=0s/n/n2021-09-19 16:45:49 (399 KB/s) - 'File1' saved [24/24]/n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'https://localhost:56265/File2' (ANSI_X3.4-1968) -> 'https://localhost:56265/File2' (UTF-8)/nConverted file name 'File2' (UTF-8) -> 'File2' (ANSI_X3.4-1968)/n--2021-09-19 16:45:49-- https://localhost:56265/File2/nReusing existing connection to localhost:56265./nReusing fd 4./n/n---request begin---/nGET /File2 HTTP/1.1/nHost: localhost:56265/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:45:49 GMT/ncontent-type: text/plain/ncontent-length: 20/n/n---response end---/n200 OK/nLength: 20 [text/plain]/nSaving to: 'File2'/n/n 0K 100% 375K=0s/n/n2021-09-19 16:45:49 (375 KB/s) - 'File2' saved [20/20]/n/nFINISHED --2021-09-19 16:45:49--/nTotal wall clock time: 2.3s/nDownloaded: 2 files, 44 in 0s (387 KB/s)/n"}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-pinnedpubkey-der-https.py", line 50, in err = HTTPTest ( File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-pinnedpubkey-der-https.py (exit status: 1) FAIL: Test-pinnedpubkey-der-no-check-https ========================================== Setting --no-config (noconfig) to 1 Setting --check-certificate (checkcertificate) to 0 Setting --pinnedpubkey (pinnedpubkey) to $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/certs/server-pubkey.der Redirecting output to 'wget-log'. SSL_INIT SSL_INIT 127.0.0.1 - - [19/Sep/2021 16:45:54] "GET /File1 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:45:54] "GET /File2 HTTP/1.1" 200 - Running Test Test-pinnedpubkey-der-no-check-https.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config --no-check-certificate --pinnedpubkey=$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/certs/server-pubkey.der https://localhost:56272/File1 https://localhost:56272/File2 ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '--no-check-certificate', '--pinnedpubkey=$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/certs/server-pubkey.der', 'https://localhost:56272/File1', 'https://localhost:56272/File2'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-pinnedpubkey-der-no-check-https.py-test'} {'wget-log': {'content': "DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-pinnedpubkey-der-no-check-https.py-test/.wget-hsts/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'https://localhost:56272/File1' (ANSI_X3.4-1968) -> 'https://localhost:56272/File1' (UTF-8)/nConverted file name 'File1' (UTF-8) -> 'File1' (ANSI_X3.4-1968)/n--2021-09-19 16:45:51-- https://localhost:56272/File1/nCertificates loaded: 167/nResolving localhost (localhost)... ::1, 127.0.0.1/nCaching localhost => ::1 127.0.0.1/nConnecting to localhost (localhost)|::1|:56272... Closed fd 4/nfailed: Connection refused./nConnecting to localhost (localhost)|127.0.0.1|:56272... connected./nCreated socket 4./nReleasing 0x000000080037ab30 (new refcount 1)./nWARNING: The certificate of 'localhost' is not trusted./nWARNING: The certificate of 'localhost' doesn't have a known issuer./n/n---request begin---/nGET /File1 HTTP/1.1/nHost: localhost:56272/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:45:54 GMT/ncontent-type: text/plain/ncontent-length: 24/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nLength: 24 [text/plain]/nSaving to: 'File1'/n/n 0K 100% 429K=0s/n/n2021-09-19 16:45:54 (429 KB/s) - 'File1' saved [24/24]/n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'https://localhost:56272/File2' (ANSI_X3.4-1968) -> 'https://localhost:56272/File2' (UTF-8)/nConverted file name 'File2' (UTF-8) -> 'File2' (ANSI_X3.4-1968)/n--2021-09-19 16:45:54-- https://localhost:56272/File2/nReusing existing connection to localhost:56272./nReusing fd 4./n/n---request begin---/nGET /File2 HTTP/1.1/nHost: localhost:56272/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:45:54 GMT/ncontent-type: text/plain/ncontent-length: 20/n/n---response end---/n200 OK/nLength: 20 [text/plain]/nSaving to: 'File2'/n/n 0K 100% 388K=0s/n/n2021-09-19 16:45:54 (388 KB/s) - 'File2' saved [20/20]/n/nFINISHED --2021-09-19 16:45:54--/nTotal wall clock time: 2.3s/nDownloaded: 2 files, 44 in 0s (409 KB/s)/n"}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-pinnedpubkey-der-no-check-https.py", line 49, in err = HTTPTest ( File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-pinnedpubkey-der-no-check-https.py (exit status: 1) FAIL: Test-pinnedpubkey-hash-https ================================== Setting --no-config (noconfig) to 1 Setting --pinnedpubkey (pinnedpubkey) to sha256//mHiEhWHvusnzP7COZk+SzSJ+Gl7nZT+ADx0PUnDD7mM= Setting --ca-certificate (cacertificate) to $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/certs/ca-cert.pem Redirecting output to 'wget-log'. SSL_INIT SSL_INIT 127.0.0.1 - - [19/Sep/2021 16:45:58] "GET /File1 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:45:58] "GET /File2 HTTP/1.1" 200 - Running Test Test-pinnedpubkey-hash-https.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config --pinnedpubkey=sha256//mHiEhWHvusnzP7COZk+SzSJ+Gl7nZT+ADx0PUnDD7mM= --ca-certificate=$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/certs/ca-cert.pem https://localhost:56275/File1 https://localhost:56275/File2 ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '--pinnedpubkey=sha256//mHiEhWHvusnzP7COZk+SzSJ+Gl7nZT+ADx0PUnDD7mM=', '--ca-certificate=$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/certs/ca-cert.pem', 'https://localhost:56275/File1', 'https://localhost:56275/File2'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-pinnedpubkey-hash-https.py-test'} {'wget-log': {'content': "DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-pinnedpubkey-hash-https.py-test/.wget-hsts/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'https://localhost:56275/File1' (ANSI_X3.4-1968) -> 'https://localhost:56275/File1' (UTF-8)/nConverted file name 'File1' (UTF-8) -> 'File1' (ANSI_X3.4-1968)/n--2021-09-19 16:45:56-- https://localhost:56275/File1/nLoaded CA certificate '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/certs/ca-cert.pem'/nCertificates loaded: 168/nResolving localhost (localhost)... ::1, 127.0.0.1/nCaching localhost => ::1 127.0.0.1/nConnecting to localhost (localhost)|::1|:56275... Closed fd 4/nfailed: Connection refused./nConnecting to localhost (localhost)|127.0.0.1|:56275... connected./nCreated socket 4./nReleasing 0x00000008005f4180 (new refcount 1)./n/n---request begin---/nGET /File1 HTTP/1.1/nHost: localhost:56275/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:45:58 GMT/ncontent-type: text/plain/ncontent-length: 24/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nLength: 24 [text/plain]/nSaving to: 'File1'/n/n 0K 100% 369K=0s/n/n2021-09-19 16:45:58 (369 KB/s) - 'File1' saved [24/24]/n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'https://localhost:56275/File2' (ANSI_X3.4-1968) -> 'https://localhost:56275/File2' (UTF-8)/nConverted file name 'File2' (UTF-8) -> 'File2' (ANSI_X3.4-1968)/n--2021-09-19 16:45:58-- https://localhost:56275/File2/nReusing existing connection to localhost:56275./nReusing fd 4./n/n---request begin---/nGET /File2 HTTP/1.1/nHost: localhost:56275/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:45:58 GMT/ncontent-type: text/plain/ncontent-length: 20/n/n---response end---/n200 OK/nLength: 20 [text/plain]/nSaving to: 'File2'/n/n 0K 100% 287K=0s/n/n2021-09-19 16:45:58 (287 KB/s) - 'File2' saved [20/20]/n/nFINISHED --2021-09-19 16:45:58--/nTotal wall clock time: 2.2s/nDownloaded: 2 files, 44 in 0s (327 KB/s)/n"}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-pinnedpubkey-hash-https.py", line 53, in err = HTTPTest ( File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-pinnedpubkey-hash-https.py (exit status: 1) FAIL: Test-pinnedpubkey-hash-no-check-fail-https ================================================ Setting --no-config (noconfig) to 1 Setting --check-certificate (checkcertificate) to 0 Setting --pinnedpubkey (pinnedpubkey) to sha256//invalid Redirecting output to 'wget-log'. SSL_INIT SSL_INIT ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 56280) Traceback (most recent call last): File "/usr/lib/python3.8/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.8/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.8/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.8/socketserver.py", line 747, in __init__ self.handle() File "/usr/lib/python3.8/http/server.py", line 427, in handle self.handle_one_request() File "/usr/lib/python3.8/http/server.py", line 395, in handle_one_request self.raw_requestline = self.rfile.readline(65537) File "/usr/lib/python3.8/socket.py", line 671, in readinto return self._sock.recv_into(b) File "/usr/lib/python3.8/ssl.py", line 1241, in recv_into return self.read(nbytes, buffer) File "/usr/lib/python3.8/ssl.py", line 1099, in read return self._sslobj.read(len, buffer) ConnectionResetError: [Errno 104] Connection reset by peer ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 56281) Traceback (most recent call last): File "/usr/lib/python3.8/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.8/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.8/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.8/socketserver.py", line 747, in __init__ self.handle() File "/usr/lib/python3.8/http/server.py", line 427, in handle self.handle_one_request() File "/usr/lib/python3.8/http/server.py", line 395, in handle_one_request self.raw_requestline = self.rfile.readline(65537) File "/usr/lib/python3.8/socket.py", line 671, in readinto return self._sock.recv_into(b) File "/usr/lib/python3.8/ssl.py", line 1241, in recv_into return self.read(nbytes, buffer) File "/usr/lib/python3.8/ssl.py", line 1099, in read return self._sslobj.read(len, buffer) ConnectionResetError: [Errno 104] Connection reset by peer ---------------------------------------- Running Test Test-pinnedpubkey-hash-no-check-fail-https.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config --no-check-certificate --pinnedpubkey=sha256//invalid https://localhost:56278/File1 https://localhost:56278/File2 ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '--no-check-certificate', '--pinnedpubkey=sha256//invalid', 'https://localhost:56278/File1', 'https://localhost:56278/File2'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-pinnedpubkey-hash-no-check-fail-https.py-test'} {'wget-log': {'content': "DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-pinnedpubkey-hash-no-check-fail-https.py-test/.wget-hsts/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'https://localhost:56278/File1' (ANSI_X3.4-1968) -> 'https://localhost:56278/File1' (UTF-8)/nConverted file name 'File1' (UTF-8) -> 'File1' (ANSI_X3.4-1968)/n--2021-09-19 16:46:00-- https://localhost:56278/File1/nCertificates loaded: 167/nResolving localhost (localhost)... ::1, 127.0.0.1/nCaching localhost => ::1 127.0.0.1/nConnecting to localhost (localhost)|::1|:56278... Closed fd 4/nfailed: Connection refused./nConnecting to localhost (localhost)|127.0.0.1|:56278... connected./nCreated socket 4./nReleasing 0x00000008003e0940 (new refcount 1)./nWARNING: The certificate of 'localhost' is not trusted./nWARNING: The certificate of 'localhost' doesn't have a known issuer./nSkipping key with wrong size (5/32): 'invalid'/nThe public key does not match pinned public key!/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'https://localhost:56278/File2' (ANSI_X3.4-1968) -> 'https://localhost:56278/File2' (UTF-8)/nConverted file name 'File2' (UTF-8) -> 'File2' (ANSI_X3.4-1968)/n--2021-09-19 16:46:02-- https://localhost:56278/File2/nFound localhost in host_name_addresses_map (0x8003e0940)/nConnecting to localhost (localhost)|127.0.0.1|:56278... connected./nCreated socket 4./nReleasing 0x00000008003e0940 (new refcount 1)./nWARNING: The certificate of 'localhost' is not trusted./nWARNING: The certificate of 'localhost' doesn't have a known issuer./nSkipping key with wrong size (5/32): 'invalid'/nThe public key does not match pinned public key!/n"}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-pinnedpubkey-hash-no-check-fail-https.py", line 44, in err = HTTPTest ( File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-pinnedpubkey-hash-no-check-fail-https.py (exit status: 1) FAIL: Test-pinnedpubkey-pem-fail-https ====================================== Setting --no-config (noconfig) to 1 Setting --pinnedpubkey (pinnedpubkey) to $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/certs/ca-key.pem Setting --ca-certificate (cacertificate) to $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/certs/ca-cert.pem Redirecting output to 'wget-log'. SSL_INIT SSL_INIT ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 56284) Traceback (most recent call last): File "/usr/lib/python3.8/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.8/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.8/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.8/socketserver.py", line 747, in __init__ self.handle() File "/usr/lib/python3.8/http/server.py", line 427, in handle self.handle_one_request() File "/usr/lib/python3.8/http/server.py", line 395, in handle_one_request self.raw_requestline = self.rfile.readline(65537) File "/usr/lib/python3.8/socket.py", line 671, in readinto return self._sock.recv_into(b) File "/usr/lib/python3.8/ssl.py", line 1241, in recv_into return self.read(nbytes, buffer) File "/usr/lib/python3.8/ssl.py", line 1099, in read return self._sslobj.read(len, buffer) ConnectionResetError: [Errno 104] Connection reset by peer ---------------------------------------- ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 56285) Traceback (most recent call last): File "/usr/lib/python3.8/socketserver.py", line 316, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib/python3.8/socketserver.py", line 347, in process_request self.finish_request(request, client_address) File "/usr/lib/python3.8/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.8/socketserver.py", line 747, in __init__ self.handle() File "/usr/lib/python3.8/http/server.py", line 427, in handle self.handle_one_request() File "/usr/lib/python3.8/http/server.py", line 395, in handle_one_request self.raw_requestline = self.rfile.readline(65537) File "/usr/lib/python3.8/socket.py", line 671, in readinto return self._sock.recv_into(b) File "/usr/lib/python3.8/ssl.py", line 1241, in recv_into return self.read(nbytes, buffer) File "/usr/lib/python3.8/ssl.py", line 1099, in read return self._sslobj.read(len, buffer) ConnectionResetError: [Errno 104] Connection reset by peer ---------------------------------------- Running Test Test-pinnedpubkey-pem-fail-https.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config --pinnedpubkey=$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/certs/ca-key.pem --ca-certificate=$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/certs/ca-cert.pem https://localhost:56282/File1 https://localhost:56282/File2 ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '--pinnedpubkey=$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/certs/ca-key.pem', '--ca-certificate=$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/certs/ca-cert.pem', 'https://localhost:56282/File1', 'https://localhost:56282/File2'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-pinnedpubkey-pem-fail-https.py-test'} {'wget-log': {'content': "DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-pinnedpubkey-pem-fail-https.py-test/.wget-hsts/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'https://localhost:56282/File1' (ANSI_X3.4-1968) -> 'https://localhost:56282/File1' (UTF-8)/nConverted file name 'File1' (UTF-8) -> 'File1' (ANSI_X3.4-1968)/n--2021-09-19 16:46:04-- https://localhost:56282/File1/nLoaded CA certificate '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/certs/ca-cert.pem'/nCertificates loaded: 168/nResolving localhost (localhost)... ::1, 127.0.0.1/nCaching localhost => ::1 127.0.0.1/nConnecting to localhost (localhost)|::1|:56282... Closed fd 4/nfailed: Connection refused./nConnecting to localhost (localhost)|127.0.0.1|:56282... connected./nCreated socket 4./nReleasing 0x00000008001e0450 (new refcount 1)./nThe public key does not match pinned public key!/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'https://localhost:56282/File2' (ANSI_X3.4-1968) -> 'https://localhost:56282/File2' (UTF-8)/nConverted file name 'File2' (UTF-8) -> 'File2' (ANSI_X3.4-1968)/n--2021-09-19 16:46:06-- https://localhost:56282/File2/nFound localhost in host_name_addresses_map (0x8001e0450)/nConnecting to localhost (localhost)|127.0.0.1|:56282... connected./nCreated socket 4./nReleasing 0x00000008001e0450 (new refcount 1)./nThe public key does not match pinned public key!/n"}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-pinnedpubkey-pem-fail-https.py", line 46, in err = HTTPTest ( File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-pinnedpubkey-pem-fail-https.py (exit status: 1) FAIL: Test-pinnedpubkey-pem-https ================================= Setting --no-config (noconfig) to 1 Setting --pinnedpubkey (pinnedpubkey) to $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/certs/server-pubkey.pem Setting --ca-certificate (cacertificate) to $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/certs/ca-cert.pem Redirecting output to 'wget-log'. SSL_INIT SSL_INIT 127.0.0.1 - - [19/Sep/2021 16:46:10] "GET /File1 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:46:10] "GET /File2 HTTP/1.1" 200 - Running Test Test-pinnedpubkey-pem-https.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config --pinnedpubkey=$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/certs/server-pubkey.pem --ca-certificate=$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/certs/ca-cert.pem https://localhost:56286/File1 https://localhost:56286/File2 ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '--pinnedpubkey=$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/certs/server-pubkey.pem', '--ca-certificate=$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/certs/ca-cert.pem', 'https://localhost:56286/File1', 'https://localhost:56286/File2'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-pinnedpubkey-pem-https.py-test'} {'wget-log': {'content': "DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-pinnedpubkey-pem-https.py-test/.wget-hsts/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'https://localhost:56286/File1' (ANSI_X3.4-1968) -> 'https://localhost:56286/File1' (UTF-8)/nConverted file name 'File1' (UTF-8) -> 'File1' (ANSI_X3.4-1968)/n--2021-09-19 16:46:08-- https://localhost:56286/File1/nLoaded CA certificate '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/certs/ca-cert.pem'/nCertificates loaded: 168/nResolving localhost (localhost)... ::1, 127.0.0.1/nCaching localhost => ::1 127.0.0.1/nConnecting to localhost (localhost)|::1|:56286... Closed fd 4/nfailed: Connection refused./nConnecting to localhost (localhost)|127.0.0.1|:56286... connected./nCreated socket 4./nReleasing 0x000000080039a880 (new refcount 1)./n/n---request begin---/nGET /File1 HTTP/1.1/nHost: localhost:56286/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:46:10 GMT/ncontent-type: text/plain/ncontent-length: 24/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nLength: 24 [text/plain]/nSaving to: 'File1'/n/n 0K 100% 388K=0s/n/n2021-09-19 16:46:10 (388 KB/s) - 'File1' saved [24/24]/n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'https://localhost:56286/File2' (ANSI_X3.4-1968) -> 'https://localhost:56286/File2' (UTF-8)/nConverted file name 'File2' (UTF-8) -> 'File2' (ANSI_X3.4-1968)/n--2021-09-19 16:46:10-- https://localhost:56286/File2/nReusing existing connection to localhost:56286./nReusing fd 4./n/n---request begin---/nGET /File2 HTTP/1.1/nHost: localhost:56286/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:46:10 GMT/ncontent-type: text/plain/ncontent-length: 20/n/n---response end---/n200 OK/nLength: 20 [text/plain]/nSaving to: 'File2'/n/n 0K 100% 308K=0s/n/n2021-09-19 16:46:10 (308 KB/s) - 'File2' saved [20/20]/n/nFINISHED --2021-09-19 16:46:10--/nTotal wall clock time: 2.2s/nDownloaded: 2 files, 44 in 0s (347 KB/s)/n"}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-pinnedpubkey-pem-https.py", line 50, in err = HTTPTest ( File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-pinnedpubkey-pem-https.py (exit status: 1) FAIL: Test-Post =============== Setting --no-config (noconfig) to 1 Setting --method (method) to post Setting --body-data (bodydata) to TestMessage Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:46:14] "POST /File1 HTTP/1.1" 200 - Running Test Test-Post.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config --method=post --body-data=TestMessage http://localhost:56289/File1 ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '--method=post', '--body-data=TestMessage', 'http://localhost:56289/File1'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-Post.py-test'} {'wget-log': {'content': "DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-Post.py-test/.wget-hsts/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://localhost:56289/File1' (ANSI_X3.4-1968) -> 'http://localhost:56289/File1' (UTF-8)/nConverted file name 'File1' (UTF-8) -> 'File1' (ANSI_X3.4-1968)/n--2021-09-19 16:46:12-- http://localhost:56289/File1/nResolving localhost (localhost)... ::1, 127.0.0.1/nCaching localhost => ::1 127.0.0.1/nConnecting to localhost (localhost)|::1|:56289... Closed fd 4/nfailed: Connection refused./nConnecting to localhost (localhost)|127.0.0.1|:56289... connected./nCreated socket 4./nReleasing 0x000000080006b030 (new refcount 1)./n/n---request begin---/nPOST /File1 HTTP/1.1/nHost: localhost:56289/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/nContent-Type: application/x-www-form-urlencoded/nContent-Length: 11/n/n---request end---/n[BODY data: TestMessage]/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:46:14 GMT/ncontent-type: text/plain/ncontent-length: 110/nlocation: /File1/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nLength: 110 [text/plain]/nSaving to: 'File1'/n/n 0K 100% 1.32M=0s/n/n2021-09-19 16:46:14 (1.32 MB/s) - 'File1' saved [110/110]/n/n"}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-Post.py", line 40, in err = HTTPTest ( File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-Post.py (exit status: 1) FAIL: Test-recursive-basic ========================== Setting --no-config (noconfig) to 1 Setting --recursive (recursive) to 1 Setting --host-directories (addhostdir) to 0 Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:46:18] "GET /a/File1.html HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:46:18] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:46:18] "GET /robots.txt HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:46:18] "GET /a/File2.html HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:46:18] "GET /b/File3.html HTTP/1.1" 200 - Running Test Test-recursive-basic.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config --recursive --no-host-directories http://localhost:56292/a/File1.html ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '--recursive', '--no-host-directories', 'http://localhost:56292/a/File1.html'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-recursive-basic.py-test'} {'wget-log': {'content': 'DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-recursive-basic.py-test/.wget-hsts/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://localhost:56292/a/File1.html/' (ANSI_X3.4-1968) -> /'http://localhost:56292/a/File1.html/' (UTF-8)/nURI encoding = /'ANSI_X3.4-1968/'/nEnqueuing http://localhost:56292/a/File1.html at depth 0/nQueue count 1, maxcount 1./n[IRI Enqueuing /'http://localhost:56292/a/File1.html/' with /'ANSI_X3.4-1968/'/nDequeuing http://localhost:56292/a/File1.html at depth 0/nQueue count 0, maxcount 1./nconverted /'http://localhost:56292/a/File1.html/' (ANSI_X3.4-1968) -> /'http://localhost:56292/a/File1.html/' (UTF-8)/nConverted file name /'a/File1.html/' (UTF-8) -> /'a/File1.html/' (ANSI_X3.4-1968)/n--2021-09-19 16:46:16-- http://localhost:56292/a/File1.html/nResolving localhost (localhost)... ::1, 127.0.0.1/nCaching localhost => ::1 127.0.0.1/nConnecting to localhost (localhost)|::1|:56292... Closed fd 4/nfailed: Connection refused./nConnecting to localhost (localhost)|127.0.0.1|:56292... connected./nCreated socket 4./nReleasing 0x000000080006b320 (new refcount 1)./n/n---request begin---/nGET /a/File1.html HTTP/1.1/nHost: localhost:56292/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:46:18 GMT/ncontent-type: text/html/ncontent-length: 93/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nLength: 93 [text/html]/nSaving to: /'a/File1.html/'/n/n 0K 100% 704K=0s/n/n2021-09-19 16:46:18 (704 KB/s) - /'a/File1.html/' saved [93/93]/n/nLoaded a/File1.html (size 93)./nURI encoding = /'ANSI_X3.4-1968/'/na/File1.html: merge(/'http://localhost:56292/a/File1.html/', /'/a/File2.html/') -> http://localhost:56292/a/File2.html/nconverted /'http://localhost:56292/a/File2.html/' (ANSI_X3.4-1968) -> /'http://localhost:56292/a/File2.html/' (UTF-8)/nappending /'http://localhost:56292/a/File2.html/' to urlpos./nURI encoding = /'ANSI_X3.4-1968/'/na/File1.html: merge(/'http://localhost:56292/a/File1.html/', /'/b/File3.html/') -> http://localhost:56292/b/File3.html/nconverted /'http://localhost:56292/b/File3.html/' (ANSI_X3.4-1968) -> /'http://localhost:56292/b/File3.html/' (UTF-8)/nappending /'http://localhost:56292/b/File3.html/' to urlpos./nnofollow in a/File1.html: 0/nDeciding whether to enqueue "http://localhost:56292/a/File2.html"./nURI encoding = /'ANSI_X3.4-1968/'/nLoading robots.txt; please ignore errors./nConverted file name /'robots.txt/' (UTF-8) -> /'robots.txt/' (ANSI_X3.4-1968)/n--2021-09-19 16:46:18-- http://localhost:56292/robots.txt/nReusing existing connection to localhost:56292./nReusing fd 4./n/n---request begin---/nGET /robots.txt HTTP/1.1/nHost: localhost:56292/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:46:18 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = /'utf-8/'/nDisabling further reuse of socket 4./nClosed fd 4/n2021-09-19 16:46:18 ERROR 404: Not Found./n/nDecided to load it./nURI encoding = None/nEnqueuing http://localhost:56292/a/File2.html at depth 1/nQueue count 1, maxcount 1./n[IRI Enqueuing /'http://localhost:56292/a/File2.html/' with None/nDeciding whether to enqueue "http://localhost:56292/b/File3.html"./nDecided to load it./nURI encoding = None/nEnqueuing http://localhost:56292/b/File3.html at depth 1/nQueue count 2, maxcount 2./n[IRI Enqueuing /'http://localhost:56292/b/File3.html/' with None/nDequeuing http://localhost:56292/a/File2.html at depth 1/nQueue count 1, maxcount 2./nConverted file name /'a/File2.html/' (UTF-8) -> /'a/File2.html/' (ANSI_X3.4-1968)/n--2021-09-19 16:46:18-- http://localhost:56292/a/File2.html/nFound localhost in host_name_addresses_map (0x80006b320)/nConnecting to localhost (localhost)|127.0.0.1|:56292... connected./nCreated socket 4./nReleasing 0x000000080006b320 (new refcount 1)./n/n---request begin---/nGET /a/File2.html HTTP/1.1/nHost: localhost:56292/nReferer: http://localhost:56292/a/File1.html/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:46:18 GMT/ncontent-type: text/html/ncontent-length: 20/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nLength: 20 [text/html]/nSaving to: /'a/File2.html/'/n/n 0K 100% 150K=0s/n/n2021-09-19 16:46:18 (150 KB/s) - /'a/File2.html/' saved [20/20]/n/nLoaded a/File2.html (size 20)./nnofollow in a/File2.html: 0/nDequeuing http://localhost:56292/b/File3.html at depth 1/nQueue count 0, maxcount 2./nConverted file name /'b/File3.html/' (UTF-8) -> /'b/File3.html/' (ANSI_X3.4-1968)/n--2021-09-19 16:46:18-- http://localhost:56292/b/File3.html/nReusing existing connection to localhost:56292./nReusing fd 4./n/n---request begin---/nGET /b/File3.html HTTP/1.1/nHost: localhost:56292/nReferer: http://localhost:56292/a/File1.html/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:46:18 GMT/ncontent-type: text/html/ncontent-length: 32/n/n---response end---/n200 OK/nLength: 32 [text/html]/nSaving to: /'b/File3.html/'/n/n 0K 100% 212K=0s/n/n2021-09-19 16:46:18 (212 KB/s) - /'b/File3.html/' saved [32/32]/n/nLoaded b/File3.html (size 32)./nnofollow in b/File3.html: 0/nFINISHED --2021-09-19 16:46:18--/nTotal wall clock time: 2.1s/nDownloaded: 3 files, 145 in 0s (348 KB/s)/n'}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-recursive-basic.py", line 52, in err = HTTPTest ( File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-recursive-basic.py (exit status: 1) FAIL: Test-recursive-include ============================ Setting --no-config (noconfig) to 1 Setting --recursive (recursive) to 1 Setting --host-directories (addhostdir) to 0 Setting --include-directories (includedirectories) to a Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:46:22] "GET /a/File1.html HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:46:22] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:46:22] "GET /robots.txt HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:46:22] "GET /a/File2.html HTTP/1.1" 200 - Running Test Test-recursive-include.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config --recursive --no-host-directories --include-directories=a http://localhost:56296/a/File1.html ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '--recursive', '--no-host-directories', '--include-directories=a', 'http://localhost:56296/a/File1.html'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-recursive-include.py-test'} {'wget-log': {'content': 'DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-recursive-include.py-test/.wget-hsts/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://localhost:56296/a/File1.html/' (ANSI_X3.4-1968) -> /'http://localhost:56296/a/File1.html/' (UTF-8)/nURI encoding = /'ANSI_X3.4-1968/'/nEnqueuing http://localhost:56296/a/File1.html at depth 0/nQueue count 1, maxcount 1./n[IRI Enqueuing /'http://localhost:56296/a/File1.html/' with /'ANSI_X3.4-1968/'/nDequeuing http://localhost:56296/a/File1.html at depth 0/nQueue count 0, maxcount 1./nconverted /'http://localhost:56296/a/File1.html/' (ANSI_X3.4-1968) -> /'http://localhost:56296/a/File1.html/' (UTF-8)/nConverted file name /'a/File1.html/' (UTF-8) -> /'a/File1.html/' (ANSI_X3.4-1968)/n--2021-09-19 16:46:20-- http://localhost:56296/a/File1.html/nResolving localhost (localhost)... ::1, 127.0.0.1/nCaching localhost => ::1 127.0.0.1/nConnecting to localhost (localhost)|::1|:56296... Closed fd 4/nfailed: Connection refused./nConnecting to localhost (localhost)|127.0.0.1|:56296... connected./nCreated socket 4./nReleasing 0x000000080006b330 (new refcount 1)./n/n---request begin---/nGET /a/File1.html HTTP/1.1/nHost: localhost:56296/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:46:22 GMT/ncontent-type: text/html/ncontent-length: 93/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nLength: 93 [text/html]/nSaving to: /'a/File1.html/'/n/n 0K 100% 1.39M=0s/n/n2021-09-19 16:46:22 (1.39 MB/s) - /'a/File1.html/' saved [93/93]/n/nLoaded a/File1.html (size 93)./nURI encoding = /'ANSI_X3.4-1968/'/na/File1.html: merge(/'http://localhost:56296/a/File1.html/', /'/a/File2.html/') -> http://localhost:56296/a/File2.html/nconverted /'http://localhost:56296/a/File2.html/' (ANSI_X3.4-1968) -> /'http://localhost:56296/a/File2.html/' (UTF-8)/nappending /'http://localhost:56296/a/File2.html/' to urlpos./nURI encoding = /'ANSI_X3.4-1968/'/na/File1.html: merge(/'http://localhost:56296/a/File1.html/', /'/b/File3.html/') -> http://localhost:56296/b/File3.html/nconverted /'http://localhost:56296/b/File3.html/' (ANSI_X3.4-1968) -> /'http://localhost:56296/b/File3.html/' (UTF-8)/nappending /'http://localhost:56296/b/File3.html/' to urlpos./nnofollow in a/File1.html: 0/nDeciding whether to enqueue "http://localhost:56296/a/File2.html"./nURI encoding = /'ANSI_X3.4-1968/'/nLoading robots.txt; please ignore errors./nConverted file name /'robots.txt/' (UTF-8) -> /'robots.txt/' (ANSI_X3.4-1968)/n--2021-09-19 16:46:22-- http://localhost:56296/robots.txt/nReusing existing connection to localhost:56296./nReusing fd 4./n/n---request begin---/nGET /robots.txt HTTP/1.1/nHost: localhost:56296/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:46:22 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = /'utf-8/'/nDisabling further reuse of socket 4./nClosed fd 4/n2021-09-19 16:46:22 ERROR 404: Not Found./n/nDecided to load it./nURI encoding = None/nEnqueuing http://localhost:56296/a/File2.html at depth 1/nQueue count 1, maxcount 1./n[IRI Enqueuing /'http://localhost:56296/a/File2.html/' with None/nDeciding whether to enqueue "http://localhost:56296/b/File3.html"./nhttp://localhost:56296/b/File3.html (b) is excluded/not-included./nDecided NOT to load it./nDequeuing http://localhost:56296/a/File2.html at depth 1/nQueue count 0, maxcount 1./nConverted file name /'a/File2.html/' (UTF-8) -> /'a/File2.html/' (ANSI_X3.4-1968)/n--2021-09-19 16:46:22-- http://localhost:56296/a/File2.html/nFound localhost in host_name_addresses_map (0x80006b330)/nConnecting to localhost (localhost)|127.0.0.1|:56296... connected./nCreated socket 4./nReleasing 0x000000080006b330 (new refcount 1)./n/n---request begin---/nGET /a/File2.html HTTP/1.1/nHost: localhost:56296/nReferer: http://localhost:56296/a/File1.html/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:46:22 GMT/ncontent-type: text/html/ncontent-length: 20/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nLength: 20 [text/html]/nSaving to: /'a/File2.html/'/n/n 0K 100% 300K=0s/n/n2021-09-19 16:46:22 (300 KB/s) - /'a/File2.html/' saved [20/20]/n/nLoaded a/File2.html (size 20)./nnofollow in a/File2.html: 0/nFINISHED --2021-09-19 16:46:22--/nTotal wall clock time: 2.1s/nDownloaded: 2 files, 113 in 0s (857 KB/s)/n'}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-recursive-include.py", line 49, in err = HTTPTest ( File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-recursive-include.py (exit status: 1) FAIL: Test-recursive-redirect ============================= Setting --no-config (noconfig) to 1 Setting --recursive (recursive) to 1 Setting --host-directories (addhostdir) to 0 Setting --include-directories (includedirectories) to a Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:46:26] "GET /a/File1.html HTTP/1.1" 301 - 127.0.0.1 - - [19/Sep/2021 16:46:26] "GET /b/File1.html HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:46:26] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:46:26] "GET /robots.txt HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:46:26] "GET /a/File2.html HTTP/1.1" 200 - Running Test Test-recursive-redirect.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config --recursive --no-host-directories --include-directories=a http://localhost:56300/a/File1.html ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '--recursive', '--no-host-directories', '--include-directories=a', 'http://localhost:56300/a/File1.html'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-recursive-redirect.py-test'} Custom Response code sent. {'wget-log': {'content': 'DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-recursive-redirect.py-test/.wget-hsts/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://localhost:56300/a/File1.html/' (ANSI_X3.4-1968) -> /'http://localhost:56300/a/File1.html/' (UTF-8)/nURI encoding = /'ANSI_X3.4-1968/'/nEnqueuing http://localhost:56300/a/File1.html at depth 0/nQueue count 1, maxcount 1./n[IRI Enqueuing /'http://localhost:56300/a/File1.html/' with /'ANSI_X3.4-1968/'/nDequeuing http://localhost:56300/a/File1.html at depth 0/nQueue count 0, maxcount 1./nconverted /'http://localhost:56300/a/File1.html/' (ANSI_X3.4-1968) -> /'http://localhost:56300/a/File1.html/' (UTF-8)/nConverted file name /'a/File1.html/' (UTF-8) -> /'a/File1.html/' (ANSI_X3.4-1968)/n--2021-09-19 16:46:24-- http://localhost:56300/a/File1.html/nResolving localhost (localhost)... ::1, 127.0.0.1/nCaching localhost => ::1 127.0.0.1/nConnecting to localhost (localhost)|::1|:56300... Closed fd 4/nfailed: Connection refused./nConnecting to localhost (localhost)|127.0.0.1|:56300... connected./nCreated socket 4./nReleasing 0x000000080006b330 (new refcount 1)./n/n---request begin---/nGET /a/File1.html HTTP/1.1/nHost: localhost:56300/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 301 Moved Permanently/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:46:26 GMT/ncontent-length: 0/nlocation: /b/File1.html/n/n---response end---/n301 Moved Permanently/nRegistered socket 4 for persistent reuse./nLocation: /b/File1.html [following]/n] done./nURI content encoding = None/nconverted /'http://localhost:56300/b/File1.html/' (ANSI_X3.4-1968) -> /'http://localhost:56300/b/File1.html/' (UTF-8)/nConverted file name /'a/File1.html/' (UTF-8) -> /'a/File1.html/' (ANSI_X3.4-1968)/n--2021-09-19 16:46:26-- http://localhost:56300/b/File1.html/nReusing existing connection to localhost:56300./nReusing fd 4./n/n---request begin---/nGET /b/File1.html HTTP/1.1/nHost: localhost:56300/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:46:26 GMT/ncontent-type: text/html/ncontent-length: 93/n/n---response end---/n200 OK/nLength: 93 [text/html]/nSaving to: /'a/File1.html/'/n/n 0K 100% 1.00M=0s/n/n2021-09-19 16:46:26 (1.00 MB/s) - /'a/File1.html/' saved [93/93]/n/nDeciding whether to enqueue "http://localhost:56300/b/File1.html"./nhttp://localhost:56300/b/File1.html (b) is excluded/not-included./nDecided NOT to load it./nIgnoring decision for redirects, decided to load it./nLoaded a/File1.html (size 93)./nURI encoding = /'ANSI_X3.4-1968/'/na/File1.html: merge(/'http://localhost:56300/b/File1.html/', /'/a/File2.html/') -> http://localhost:56300/a/File2.html/nconverted /'http://localhost:56300/a/File2.html/' (ANSI_X3.4-1968) -> /'http://localhost:56300/a/File2.html/' (UTF-8)/nappending /'http://localhost:56300/a/File2.html/' to urlpos./nURI encoding = /'ANSI_X3.4-1968/'/na/File1.html: merge(/'http://localhost:56300/b/File1.html/', /'/b/File3.html/') -> http://localhost:56300/b/File3.html/nconverted /'http://localhost:56300/b/File3.html/' (ANSI_X3.4-1968) -> /'http://localhost:56300/b/File3.html/' (UTF-8)/nappending /'http://localhost:56300/b/File3.html/' to urlpos./nnofollow in a/File1.html: 0/nDeciding whether to enqueue "http://localhost:56300/a/File2.html"./nURI encoding = /'ANSI_X3.4-1968/'/nLoading robots.txt; please ignore errors./nConverted file name /'robots.txt/' (UTF-8) -> /'robots.txt/' (ANSI_X3.4-1968)/n--2021-09-19 16:46:26-- http://localhost:56300/robots.txt/nReusing existing connection to localhost:56300./nReusing fd 4./n/n---request begin---/nGET /robots.txt HTTP/1.1/nHost: localhost:56300/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:46:26 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = /'utf-8/'/nDisabling further reuse of socket 4./nClosed fd 4/n2021-09-19 16:46:26 ERROR 404: Not Found./n/nDecided to load it./nURI encoding = None/nEnqueuing http://localhost:56300/a/File2.html at depth 1/nQueue count 1, maxcount 1./n[IRI Enqueuing /'http://localhost:56300/a/File2.html/' with None/nDeciding whether to enqueue "http://localhost:56300/b/File3.html"./nhttp://localhost:56300/b/File3.html (b) is excluded/not-included./nDecided NOT to load it./nDequeuing http://localhost:56300/a/File2.html at depth 1/nQueue count 0, maxcount 1./nConverted file name /'a/File2.html/' (UTF-8) -> /'a/File2.html/' (ANSI_X3.4-1968)/n--2021-09-19 16:46:26-- http://localhost:56300/a/File2.html/nFound localhost in host_name_addresses_map (0x80006b330)/nConnecting to localhost (localhost)|127.0.0.1|:56300... connected./nCreated socket 4./nReleasing 0x000000080006b330 (new refcount 1)./n/n---request begin---/nGET /a/File2.html HTTP/1.1/nHost: localhost:56300/nReferer: http://localhost:56300/b/File1.html/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:46:26 GMT/ncontent-type: text/html/ncontent-length: 20/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nLength: 20 [text/html]/nSaving to: /'a/File2.html/'/n/n 0K 100% 215K=0s/n/n2021-09-19 16:46:26 (215 KB/s) - /'a/File2.html/' saved [20/20]/n/nLoaded a/File2.html (size 20)./nnofollow in a/File2.html: 0/nFINISHED --2021-09-19 16:46:26--/nTotal wall clock time: 2.1s/nDownloaded: 2 files, 113 in 0s (615 KB/s)/n'}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-recursive-redirect.py", line 57, in err = HTTPTest ( File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-recursive-redirect.py (exit status: 1) FAIL: Test-redirect =================== Setting --no-config (noconfig) to 1 Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:46:30] "GET /File1.txt HTTP/1.1" 301 - 127.0.0.1 - - [19/Sep/2021 16:46:30] "GET /File2.txt HTTP/1.1" 200 - Running Test Test-redirect.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config http://localhost:56305/File1.txt ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', 'http://localhost:56305/File1.txt'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-redirect.py-test'} Custom Response code sent. {'wget-log': {'content': "DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-redirect.py-test/.wget-hsts/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://localhost:56305/File1.txt' (ANSI_X3.4-1968) -> 'http://localhost:56305/File1.txt' (UTF-8)/nConverted file name 'File1.txt' (UTF-8) -> 'File1.txt' (ANSI_X3.4-1968)/n--2021-09-19 16:46:28-- http://localhost:56305/File1.txt/nResolving localhost (localhost)... ::1, 127.0.0.1/nCaching localhost => ::1 127.0.0.1/nConnecting to localhost (localhost)|::1|:56305... Closed fd 4/nfailed: Connection refused./nConnecting to localhost (localhost)|127.0.0.1|:56305... connected./nCreated socket 4./nReleasing 0x000000080006b020 (new refcount 1)./n/n---request begin---/nGET /File1.txt HTTP/1.1/nHost: localhost:56305/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 301 Moved Permanently/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:46:30 GMT/ncontent-length: 0/nlocation: /File2.txt/n/n---response end---/n301 Moved Permanently/nRegistered socket 4 for persistent reuse./nLocation: /File2.txt [following]/n] done./nURI content encoding = None/nconverted 'http://localhost:56305/File2.txt' (ANSI_X3.4-1968) -> 'http://localhost:56305/File2.txt' (UTF-8)/nConverted file name 'File1.txt' (UTF-8) -> 'File1.txt' (ANSI_X3.4-1968)/n--2021-09-19 16:46:30-- http://localhost:56305/File2.txt/nReusing existing connection to localhost:56305./nReusing fd 4./n/n---request begin---/nGET /File2.txt HTTP/1.1/nHost: localhost:56305/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:46:30 GMT/ncontent-type: text/plain/ncontent-length: 24/n/n---response end---/n200 OK/nLength: 24 [text/plain]/nSaving to: 'File1.txt'/n/n 0K 100% 345K=0s/n/n2021-09-19 16:46:30 (345 KB/s) - 'File1.txt' saved [24/24]/n/n"}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-redirect.py", line 50, in err = HTTPTest ( File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-redirect.py (exit status: 1) FAIL: Test--rejected-log ======================== Setting --no-config (noconfig) to 1 Setting --no (dirstruct) to 0 Setting --recursive (recursive) to 1 Setting --rejected-log (rejectedlog) to log.csv Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:46:37] "GET /index.html HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:46:37] "GET /robots.txt HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:46:37] "GET /secondpage.html HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:46:37] "GET /thirdpage.html HTTP/1.1" 200 - Running Test Test--rejected-log.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config -nd -r --rejected-log log.csv http://localhost:56311/index.html ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '-nd', '-r', '--rejected-log', 'log.csv', 'http://localhost:56311/index.html'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test--rejected-log.py-test'} {'wget-log': {'content': 'DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test--rejected-log.py-test/.wget-hsts/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://localhost:56311/index.html/' (ANSI_X3.4-1968) -> /'http://localhost:56311/index.html/' (UTF-8)/nURI encoding = /'ANSI_X3.4-1968/'/nEnqueuing http://localhost:56311/index.html at depth 0/nQueue count 1, maxcount 1./n[IRI Enqueuing /'http://localhost:56311/index.html/' with /'ANSI_X3.4-1968/'/nDequeuing http://localhost:56311/index.html at depth 0/nQueue count 0, maxcount 1./nconverted /'http://localhost:56311/index.html/' (ANSI_X3.4-1968) -> /'http://localhost:56311/index.html/' (UTF-8)/nConverted file name /'index.html/' (UTF-8) -> /'index.html/' (ANSI_X3.4-1968)/n--2021-09-19 16:46:35-- http://localhost:56311/index.html/nResolving localhost (localhost)... ::1, 127.0.0.1/nCaching localhost => ::1 127.0.0.1/nConnecting to localhost (localhost)|::1|:56311... Closed fd 5/nfailed: Connection refused./nConnecting to localhost (localhost)|127.0.0.1|:56311... connected./nCreated socket 5./nReleasing 0x000000080006b370 (new refcount 1)./n/n---request begin---/nGET /index.html HTTP/1.1/nHost: localhost:56311/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:46:37 GMT/ncontent-type: text/html/ncontent-length: 169/n/n---response end---/n200 OK/nRegistered socket 5 for persistent reuse./nLength: 169 [text/html]/nSaving to: /'index.html/'/n/n 0K 100% 1.81M=0s/n/n2021-09-19 16:46:37 (1.81 MB/s) - /'index.html/' saved [169/169]/n/nLoaded index.html (size 169)./nURI encoding = /'ANSI_X3.4-1968/'/nindex.html: merge(/'http://localhost:56311/index.html/', /'http://localhost:56311/secondpage.html/') -> http://localhost:56311/secondpage.html/nconverted /'http://localhost:56311/secondpage.html/' (ANSI_X3.4-1968) -> /'http://localhost:56311/secondpage.html/' (UTF-8)/nappending /'http://localhost:56311/secondpage.html/' to urlpos./nnofollow in index.html: 0/nDeciding whether to enqueue "http://localhost:56311/secondpage.html"./nURI encoding = /'ANSI_X3.4-1968/'/nLoading robots.txt; please ignore errors./nConverted file name /'robots.txt/' (UTF-8) -> /'robots.txt/' (ANSI_X3.4-1968)/n--2021-09-19 16:46:37-- http://localhost:56311/robots.txt/nReusing existing connection to localhost:56311./nReusing fd 5./n/n---request begin---/nGET /robots.txt HTTP/1.1/nHost: localhost:56311/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:46:37 GMT/ncontent-type: text/plain/ncontent-length: 36/n/n---response end---/n200 OK/nLength: 36 [text/plain]/nSaving to: /'robots.txt/'/n/n 0K 100% 482K=0s/n/n2021-09-19 16:46:37 (482 KB/s) - /'robots.txt/' saved [36/36]/n/nDecided to load it./nURI encoding = None/nEnqueuing http://localhost:56311/secondpage.html at depth 1/nQueue count 1, maxcount 1./n[IRI Enqueuing /'http://localhost:56311/secondpage.html/' with None/nDequeuing http://localhost:56311/secondpage.html at depth 1/nQueue count 0, maxcount 1./nConverted file name /'secondpage.html/' (UTF-8) -> /'secondpage.html/' (ANSI_X3.4-1968)/n--2021-09-19 16:46:37-- http://localhost:56311/secondpage.html/nReusing existing connection to localhost:56311./nReusing fd 5./n/n---request begin---/nGET /secondpage.html HTTP/1.1/nHost: localhost:56311/nReferer: http://localhost:56311/index.html/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:46:37 GMT/ncontent-type: text/html/ncontent-length: 252/n/n---response end---/n200 OK/nLength: 252 [text/html]/nSaving to: /'secondpage.html/'/n/n 0K 100% 2.68M=0s/n/n2021-09-19 16:46:37 (2.68 MB/s) - /'secondpage.html/' saved [252/252]/n/nLoaded secondpage.html (size 252)./nURI encoding = /'ANSI_X3.4-1968/'/nsecondpage.html: merge(/'http://localhost:56311/secondpage.html/', /'http://localhost:56311/thirdpage.html/') -> http://localhost:56311/thirdpage.html/nconverted /'http://localhost:56311/thirdpage.html/' (ANSI_X3.4-1968) -> /'http://localhost:56311/thirdpage.html/' (UTF-8)/nappending /'http://localhost:56311/thirdpage.html/' to urlpos./nURI encoding = /'ANSI_X3.4-1968/'/nsecondpage.html: merge(/'http://localhost:56311/secondpage.html/', /'http://localhost:56311/index.html/') -> http://localhost:56311/index.html/nconverted /'http://localhost:56311/index.html/' (ANSI_X3.4-1968) -> /'http://localhost:56311/index.html/' (UTF-8)/nappending /'http://localhost:56311/index.html/' to urlpos./nnofollow in secondpage.html: 0/nDeciding whether to enqueue "http://localhost:56311/thirdpage.html"./nDecided to load it./nURI encoding = None/nEnqueuing http://localhost:56311/thirdpage.html at depth 2/nQueue count 1, maxcount 1./n[IRI Enqueuing /'http://localhost:56311/thirdpage.html/' with None/nDeciding whether to enqueue "http://localhost:56311/index.html"./nAlready on the black list./nDecided NOT to load it./nDequeuing http://localhost:56311/thirdpage.html at depth 2/nQueue count 0, maxcount 1./nConverted file name /'thirdpage.html/' (UTF-8) -> /'thirdpage.html/' (ANSI_X3.4-1968)/n--2021-09-19 16:46:37-- http://localhost:56311/thirdpage.html/nReusing existing connection to localhost:56311./nReusing fd 5./n/n---request begin---/nGET /thirdpage.html HTTP/1.1/nHost: localhost:56311/nReferer: http://localhost:56311/secondpage.html/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:46:37 GMT/ncontent-type: text/html/ncontent-length: 236/n/n---response end---/n200 OK/nLength: 236 [text/html]/nSaving to: /'thirdpage.html/'/n/n 0K 100% 3.66M=0s/n/n2021-09-19 16:46:37 (3.66 MB/s) - /'thirdpage.html/' saved [236/236]/n/nLoaded thirdpage.html (size 236)./nURI encoding = /'ANSI_X3.4-1968/'/nthirdpage.html: merge(/'http://localhost:56311/thirdpage.html/', /'http://localhost:56311/dummy.txt/') -> http://localhost:56311/dummy.txt/nconverted /'http://localhost:56311/dummy.txt/' (ANSI_X3.4-1968) -> /'http://localhost:56311/dummy.txt/' (UTF-8)/nappending /'http://localhost:56311/dummy.txt/' to urlpos./nURI encoding = /'ANSI_X3.4-1968/'/nthirdpage.html: merge(/'http://localhost:56311/thirdpage.html/', /'http://no.such.domain//') -> http://no.such.domain//nconverted /'http://no.such.domain//' (ANSI_X3.4-1968) -> /'http://no.such.domain//' (UTF-8)/nappending /'http://no.such.domain//' to urlpos./nnofollow in thirdpage.html: 0/nDeciding whether to enqueue "http://localhost:56311/dummy.txt"./nRejecting path dummy.txt because of rule /'dummy.txt/'./nNot following http://localhost:56311/dummy.txt because robots.txt forbids it./nDecided NOT to load it./nDeciding whether to enqueue "http://no.such.domain/"./nThis is not the same hostname as the parent/'s (no.such.domain and localhost)./nDecided NOT to load it./nFINISHED --2021-09-19 16:46:37--/nTotal wall clock time: 2.1s/nDownloaded: 4 files, 693 in 0s (2.11 MB/s)/n'}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test--rejected-log.py", line 94, in err = HTTPTest ( File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test--rejected-log.py (exit status: 1) FAIL: Test-reserved-chars ========================= Setting --no-config (noconfig) to 1 Setting --spider (spider) to 1 Setting --recursive (recursive) to 1 Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:46:41] "HEAD /base.html HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:46:41] "GET /base.html HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:46:41] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:46:41] "GET /robots.txt HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:46:41] "HEAD /a%2Bb.html HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:46:41] "GET /a%2Bb.html HTTP/1.1" 200 - Running Test Test-reserved-chars.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config --spider -r http://localhost:56314/base.html ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '--spider', '-r', 'http://localhost:56314/base.html'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-reserved-chars.py-test'} {'wget-log': {'content': 'DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-reserved-chars.py-test/.wget-hsts/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://localhost:56314/base.html/' (ANSI_X3.4-1968) -> /'http://localhost:56314/base.html/' (UTF-8)/nURI encoding = /'ANSI_X3.4-1968/'/nEnqueuing http://localhost:56314/base.html at depth 0/nQueue count 1, maxcount 1./n[IRI Enqueuing /'http://localhost:56314/base.html/' with /'ANSI_X3.4-1968/'/nDequeuing http://localhost:56314/base.html at depth 0/nQueue count 0, maxcount 1./nconverted /'http://localhost:56314/base.html/' (ANSI_X3.4-1968) -> /'http://localhost:56314/base.html/' (UTF-8)/nConverted file name /'localhost+56314/base.html/' (UTF-8) -> /'localhost+56314/base.html/' (ANSI_X3.4-1968)/nSpider mode enabled. Check if remote file exists./n--2021-09-19 16:46:39-- http://localhost:56314/base.html/nResolving localhost (localhost)... ::1, 127.0.0.1/nCaching localhost => ::1 127.0.0.1/nConnecting to localhost (localhost)|::1|:56314... Closed fd 4/nfailed: Connection refused./nConnecting to localhost (localhost)|127.0.0.1|:56314... connected./nCreated socket 4./nReleasing 0x000000080006b330 (new refcount 1)./n/n---request begin---/nHEAD /base.html HTTP/1.1/nHost: localhost:56314/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:46:41 GMT/ncontent-type: text/html/ncontent-length: 21/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nLength: 21 [text/html]/nRemote file exists and could contain links to other resources -- retrieving./n/n--2021-09-19 16:46:41-- http://localhost:56314/base.html/nReusing existing connection to localhost:56314./nReusing fd 4./n/n---request begin---/nGET /base.html HTTP/1.1/nHost: localhost:56314/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:46:41 GMT/ncontent-type: text/html/ncontent-length: 21/n/n---response end---/n200 OK/nLength: 21 [text/html]/nSaving to: /'localhost+56314/base.html.tmp.tmp/'/n/n 0K 100% 238K=0s/n/n2021-09-19 16:46:41 (238 KB/s) - /'localhost+56314/base.html.tmp.tmp/' saved [21/21]/n/nLoaded localhost+56314/base.html.tmp.tmp (size 21)./nURI encoding = /'ANSI_X3.4-1968/'/nlocalhost+56314/base.html.tmp.tmp: merge(/'http://localhost:56314/base.html/', /'a%2Bb.html/') -> http://localhost:56314/a%2Bb.html/nconverted /'http://localhost:56314/a%2Bb.html/' (ANSI_X3.4-1968) -> /'http://localhost:56314/a%2Bb.html/' (UTF-8)/nappending /'http://localhost:56314/a%2Bb.html/' to urlpos./nnofollow in localhost+56314/base.html.tmp.tmp: 0/nDeciding whether to enqueue "http://localhost:56314/a%2Bb.html"./nURI encoding = /'ANSI_X3.4-1968/'/nLoading robots.txt; please ignore errors./nConverted file name /'localhost+56314/robots.txt/' (UTF-8) -> /'localhost+56314/robots.txt/' (ANSI_X3.4-1968)/n--2021-09-19 16:46:41-- http://localhost:56314/robots.txt/nReusing existing connection to localhost:56314./nReusing fd 4./n/n---request begin---/nGET /robots.txt HTTP/1.1/nHost: localhost:56314/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:46:41 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = /'utf-8/'/nDisabling further reuse of socket 4./nClosed fd 4/n2021-09-19 16:46:41 ERROR 404: Not Found./n/nDecided to load it./nURI encoding = None/nEnqueuing http://localhost:56314/a%2Bb.html at depth 1/nQueue count 1, maxcount 1./n[IRI Enqueuing /'http://localhost:56314/a%2Bb.html/' with None/nRemoving file due to --spider in recursive_retrieve():/nRemoving localhost+56314/base.html.tmp.tmp./n/nDequeuing http://localhost:56314/a%2Bb.html at depth 1/nQueue count 0, maxcount 1./nConverted file name /'localhost+56314/a+b.html/' (UTF-8) -> /'localhost+56314/a+b.html/' (ANSI_X3.4-1968)/nSpider mode enabled. Check if remote file exists./n--2021-09-19 16:46:41-- http://localhost:56314/a%2Bb.html/nFound localhost in host_name_addresses_map (0x80006b330)/nConnecting to localhost (localhost)|127.0.0.1|:56314... connected./nCreated socket 4./nReleasing 0x000000080006b330 (new refcount 1)./n/n---request begin---/nHEAD /a%2Bb.html HTTP/1.1/nHost: localhost:56314/nReferer: http://localhost:56314/base.html/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:46:41 GMT/ncontent-type: text/html/ncontent-length: 14/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nLength: 14 [text/html]/nRemote file exists and could contain links to other resources -- retrieving./n/n--2021-09-19 16:46:41-- http://localhost:56314/a%2Bb.html/nReusing existing connection to localhost:56314./nReusing fd 4./n/n---request begin---/nGET /a%2Bb.html HTTP/1.1/nHost: localhost:56314/nReferer: http://localhost:56314/base.html/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:46:41 GMT/ncontent-type: text/html/ncontent-length: 14/n/n---response end---/n200 OK/nLength: 14 [text/html]/nSaving to: /'localhost+56314/a+b.html.tmp.tmp/'/n/n 0K 100% 148K=0s/n/n2021-09-19 16:46:41 (148 KB/s) - /'localhost+56314/a+b.html.tmp.tmp/' saved [14/14]/n/nLoaded localhost+56314/a+b.html.tmp.tmp (size 14)./nnofollow in localhost+56314/a+b.html.tmp.tmp: 0/nRemoving file due to --spider in recursive_retrieve():/nRemoving localhost+56314/a+b.html.tmp.tmp./n/nFound no broken links./n/nFINISHED --2021-09-19 16:46:41--/nTotal wall clock time: 2.1s/nDownloaded: 2 files, 35 in 0s (192 KB/s)/n'}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-reserved-chars.py", line 51, in err = HTTPTest ( File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-reserved-chars.py (exit status: 1) FAIL: Test--spider-r ==================== Setting --no-config (noconfig) to 1 Setting --spider (spider) to 1 Setting --recursive (recursive) to 1 Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:46:45] "HEAD / HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:46:45] "GET / HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:46:45] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:46:45] "GET /robots.txt HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:46:45] "HEAD /secondpage.html HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:46:45] "GET /secondpage.html HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:46:45] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:46:45] "HEAD /nonexistent HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:46:45] "HEAD /thirdpage.html HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:46:45] "GET /thirdpage.html HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:46:45] "HEAD /dummy.txt HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:46:45] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:46:45] "HEAD /againnonexistent HTTP/1.1" 404 - Running Test Test--spider-r.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config --spider -r http://localhost:56319/ ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '--spider', '-r', 'http://localhost:56319/'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test--spider-r.py-test'} {'wget-log': {'content': 'DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test--spider-r.py-test/.wget-hsts/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://localhost:56319//' (ANSI_X3.4-1968) -> /'http://localhost:56319//' (UTF-8)/nURI encoding = /'ANSI_X3.4-1968/'/nEnqueuing http://localhost:56319/ at depth 0/nQueue count 1, maxcount 1./n[IRI Enqueuing /'http://localhost:56319//' with /'ANSI_X3.4-1968/'/nDequeuing http://localhost:56319/ at depth 0/nQueue count 0, maxcount 1./nconverted /'http://localhost:56319//' (ANSI_X3.4-1968) -> /'http://localhost:56319//' (UTF-8)/nConverted file name /'localhost+56319/index.html/' (UTF-8) -> /'localhost+56319/index.html/' (ANSI_X3.4-1968)/nSpider mode enabled. Check if remote file exists./n--2021-09-19 16:46:43-- http://localhost:56319//nResolving localhost (localhost)... ::1, 127.0.0.1/nCaching localhost => ::1 127.0.0.1/nConnecting to localhost (localhost)|::1|:56319... Closed fd 4/nfailed: Connection refused./nConnecting to localhost (localhost)|127.0.0.1|:56319... connected./nCreated socket 4./nReleasing 0x000000080006b230 (new refcount 1)./n/n---request begin---/nHEAD / HTTP/1.1/nHost: localhost:56319/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:46:45 GMT/ncontent-type: text/html/ncontent-length: 256/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nLength: 256 [text/html]/nRemote file exists and could contain links to other resources -- retrieving./n/n--2021-09-19 16:46:45-- http://localhost:56319//nReusing existing connection to localhost:56319./nReusing fd 4./n/n---request begin---/nGET / HTTP/1.1/nHost: localhost:56319/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:46:45 GMT/ncontent-type: text/html/ncontent-length: 256/n/n---response end---/n200 OK/nLength: 256 [text/html]/nSaving to: /'localhost+56319/index.html.tmp.tmp/'/n/n 0K 100% 3.32M=0s/n/n2021-09-19 16:46:45 (3.32 MB/s) - /'localhost+56319/index.html.tmp.tmp/' saved [256/256]/n/nLoaded localhost+56319/index.html.tmp.tmp (size 256)./nURI encoding = /'ANSI_X3.4-1968/'/nlocalhost+56319/index.html.tmp.tmp: merge(/'http://localhost:56319//', /'http://localhost:56319/secondpage.html/') -> http://localhost:56319/secondpage.html/nconverted /'http://localhost:56319/secondpage.html/' (ANSI_X3.4-1968) -> /'http://localhost:56319/secondpage.html/' (UTF-8)/nappending /'http://localhost:56319/secondpage.html/' to urlpos./nURI encoding = /'ANSI_X3.4-1968/'/nlocalhost+56319/index.html.tmp.tmp: merge(/'http://localhost:56319//', /'http://localhost:56319/nonexistent/') -> http://localhost:56319/nonexistent/nconverted /'http://localhost:56319/nonexistent/' (ANSI_X3.4-1968) -> /'http://localhost:56319/nonexistent/' (UTF-8)/nappending /'http://localhost:56319/nonexistent/' to urlpos./nnofollow in localhost+56319/index.html.tmp.tmp: 0/nDeciding whether to enqueue "http://localhost:56319/secondpage.html"./nURI encoding = /'ANSI_X3.4-1968/'/nLoading robots.txt; please ignore errors./nConverted file name /'localhost+56319/robots.txt/' (UTF-8) -> /'localhost+56319/robots.txt/' (ANSI_X3.4-1968)/n--2021-09-19 16:46:45-- http://localhost:56319/robots.txt/nReusing existing connection to localhost:56319./nReusing fd 4./n/n---request begin---/nGET /robots.txt HTTP/1.1/nHost: localhost:56319/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:46:45 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = /'utf-8/'/nDisabling further reuse of socket 4./nClosed fd 4/n2021-09-19 16:46:45 ERROR 404: Not Found./n/nDecided to load it./nURI encoding = None/nEnqueuing http://localhost:56319/secondpage.html at depth 1/nQueue count 1, maxcount 1./n[IRI Enqueuing /'http://localhost:56319/secondpage.html/' with None/nDeciding whether to enqueue "http://localhost:56319/nonexistent"./nDecided to load it./nURI encoding = None/nEnqueuing http://localhost:56319/nonexistent at depth 1/nQueue count 2, maxcount 2./n[IRI Enqueuing /'http://localhost:56319/nonexistent/' with None/nRemoving file due to --spider in recursive_retrieve():/nRemoving localhost+56319/index.html.tmp.tmp./n/nDequeuing http://localhost:56319/secondpage.html at depth 1/nQueue count 1, maxcount 2./nConverted file name /'localhost+56319/secondpage.html/' (UTF-8) -> /'localhost+56319/secondpage.html/' (ANSI_X3.4-1968)/nSpider mode enabled. Check if remote file exists./n--2021-09-19 16:46:45-- http://localhost:56319/secondpage.html/nFound localhost in host_name_addresses_map (0x80006b230)/nConnecting to localhost (localhost)|127.0.0.1|:56319... connected./nCreated socket 4./nReleasing 0x000000080006b230 (new refcount 1)./n/n---request begin---/nHEAD /secondpage.html HTTP/1.1/nHost: localhost:56319/nReferer: http://localhost:56319//nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:46:45 GMT/ncontent-type: text/html/ncontent-length: 256/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nLength: 256 [text/html]/nRemote file exists and could contain links to other resources -- retrieving./n/n--2021-09-19 16:46:45-- http://localhost:56319/secondpage.html/nReusing existing connection to localhost:56319./nReusing fd 4./n/n---request begin---/nGET /secondpage.html HTTP/1.1/nHost: localhost:56319/nReferer: http://localhost:56319//nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:46:45 GMT/ncontent-type: text/html/ncontent-length: 256/n/n---response end---/n200 OK/nLength: 256 [text/html]/nSaving to: /'localhost+56319/secondpage.html.tmp.tmp/'/n/n 0K 100% 2.17M=0s/n/n2021-09-19 16:46:45 (2.17 MB/s) - /'localhost+56319/secondpage.html.tmp.tmp/' saved [256/256]/n/nLoaded localhost+56319/secondpage.html.tmp.tmp (size 256)./nURI encoding = /'ANSI_X3.4-1968/'/nlocalhost+56319/secondpage.html.tmp.tmp: merge(/'http://localhost:56319/secondpage.html/', /'http://localhost:56319/thirdpage.html/') -> http://localhost:56319/thirdpage.html/nconverted /'http://localhost:56319/thirdpage.html/' (ANSI_X3.4-1968) -> /'http://localhost:56319/thirdpage.html/' (UTF-8)/nappending /'http://localhost:56319/thirdpage.html/' to urlpos./nURI encoding = /'ANSI_X3.4-1968/'/nlocalhost+56319/secondpage.html.tmp.tmp: merge(/'http://localhost:56319/secondpage.html/', /'http://localhost:56319/nonexistent/') -> http://localhost:56319/nonexistent/nconverted /'http://localhost:56319/nonexistent/' (ANSI_X3.4-1968) -> /'http://localhost:56319/nonexistent/' (UTF-8)/nappending /'http://localhost:56319/nonexistent/' to urlpos./nnofollow in localhost+56319/secondpage.html.tmp.tmp: 0/nDeciding whether to enqueue "http://localhost:56319/thirdpage.html"./nDecided to load it./nURI encoding = None/nEnqueuing http://localhost:56319/thirdpage.html at depth 2/nQueue count 2, maxcount 2./n[IRI Enqueuing /'http://localhost:56319/thirdpage.html/' with None/nDeciding whether to enqueue "http://localhost:56319/nonexistent"./ndownload_child: parent->url is: /'http://localhost:56319/secondpage.html/'/nAlready on the black list./nDecided NOT to load it./nRemoving file due to --spider in recursive_retrieve():/nRemoving localhost+56319/secondpage.html.tmp.tmp./n/nDequeuing http://localhost:56319/nonexistent at depth 1/nQueue count 1, maxcount 2./nConverted file name /'localhost+56319/nonexistent/' (UTF-8) -> /'localhost+56319/nonexistent/' (ANSI_X3.4-1968)/nSpider mode enabled. Check if remote file exists./n--2021-09-19 16:46:45-- http://localhost:56319/nonexistent/nReusing existing connection to localhost:56319./nReusing fd 4./n/n---request begin---/nHEAD /nonexistent HTTP/1.1/nHost: localhost:56319/nReferer: http://localhost:56319//nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:46:45 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = /'utf-8/'/nDisabling further reuse of socket 4./nClosed fd 4/nRemote file does not exist -- broken link!!!/n/nDequeuing http://localhost:56319/thirdpage.html at depth 2/nQueue count 0, maxcount 2./nConverted file name /'localhost+56319/thirdpage.html/' (UTF-8) -> /'localhost+56319/thirdpage.html/' (ANSI_X3.4-1968)/nSpider mode enabled. Check if remote file exists./n--2021-09-19 16:46:45-- http://localhost:56319/thirdpage.html/nFound localhost in host_name_addresses_map (0x80006b230)/nConnecting to localhost (localhost)|127.0.0.1|:56319... connected./nCreated socket 4./nReleasing 0x000000080006b230 (new refcount 1)./n/n---request begin---/nHEAD /thirdpage.html HTTP/1.1/nHost: localhost:56319/nReferer: http://localhost:56319/secondpage.html/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:46:45 GMT/ncontent-type: text/html/ncontent-length: 260/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nLength: 260 [text/html]/nRemote file exists and could contain links to other resources -- retrieving./n/n--2021-09-19 16:46:45-- http://localhost:56319/thirdpage.html/nReusing existing connection to localhost:56319./nReusing fd 4./n/n---request begin---/nGET /thirdpage.html HTTP/1.1/nHost: localhost:56319/nReferer: http://localhost:56319/secondpage.html/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:46:45 GMT/ncontent-type: text/html/ncontent-length: 260/n/n---response end---/n200 OK/nLength: 260 [text/html]/nSaving to: /'localhost+56319/thirdpage.html.tmp.tmp/'/n/n 0K 100% 2.86M=0s/n/n2021-09-19 16:46:45 (2.86 MB/s) - /'localhost+56319/thirdpage.html.tmp.tmp/' saved [260/260]/n/nLoaded localhost+56319/thirdpage.html.tmp.tmp (size 260)./nURI encoding = /'ANSI_X3.4-1968/'/nlocalhost+56319/thirdpage.html.tmp.tmp: merge(/'http://localhost:56319/thirdpage.html/', /'http://localhost:56319/dummy.txt/') -> http://localhost:56319/dummy.txt/nconverted /'http://localhost:56319/dummy.txt/' (ANSI_X3.4-1968) -> /'http://localhost:56319/dummy.txt/' (UTF-8)/nappending /'http://localhost:56319/dummy.txt/' to urlpos./nURI encoding = /'ANSI_X3.4-1968/'/nlocalhost+56319/thirdpage.html.tmp.tmp: merge(/'http://localhost:56319/thirdpage.html/', /'http://localhost:56319/againnonexistent/') -> http://localhost:56319/againnonexistent/nconverted /'http://localhost:56319/againnonexistent/' (ANSI_X3.4-1968) -> /'http://localhost:56319/againnonexistent/' (UTF-8)/nappending /'http://localhost:56319/againnonexistent/' to urlpos./nnofollow in localhost+56319/thirdpage.html.tmp.tmp: 0/nDeciding whether to enqueue "http://localhost:56319/dummy.txt"./nDecided to load it./nURI encoding = None/nEnqueuing http://localhost:56319/dummy.txt at depth 3/nQueue count 1, maxcount 2./n[IRI Enqueuing /'http://localhost:56319/dummy.txt/' with None/nDeciding whether to enqueue "http://localhost:56319/againnonexistent"./nDecided to load it./nURI encoding = None/nEnqueuing http://localhost:56319/againnonexistent at depth 3/nQueue count 2, maxcount 2./n[IRI Enqueuing /'http://localhost:56319/againnonexistent/' with None/nRemoving file due to --spider in recursive_retrieve():/nRemoving localhost+56319/thirdpage.html.tmp.tmp./n/nDequeuing http://localhost:56319/dummy.txt at depth 3/nQueue count 1, maxcount 2./nConverted file name /'localhost+56319/dummy.txt/' (UTF-8) -> /'localhost+56319/dummy.txt/' (ANSI_X3.4-1968)/nSpider mode enabled. Check if remote file exists./n--2021-09-19 16:46:45-- http://localhost:56319/dummy.txt/nReusing existing connection to localhost:56319./nReusing fd 4./n/n---request begin---/nHEAD /dummy.txt HTTP/1.1/nHost: localhost:56319/nReferer: http://localhost:56319/thirdpage.html/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:46:45 GMT/ncontent-type: text/plain/ncontent-length: 11/n/n---response end---/n200 OK/nLength: 11 [text/plain]/nRemote file exists but does not contain any link -- not retrieving./n/nRemoving file due to --spider in recursive_retrieve():/nRemoving localhost+56319/dummy.txt.tmp./nunlink: No such file or directory/n/nDequeuing http://localhost:56319/againnonexistent at depth 3/nQueue count 0, maxcount 2./nConverted file name /'localhost+56319/againnonexistent/' (UTF-8) -> /'localhost+56319/againnonexistent/' (ANSI_X3.4-1968)/nSpider mode enabled. Check if remote file exists./n--2021-09-19 16:46:45-- http://localhost:56319/againnonexistent/nReusing existing connection to localhost:56319./nReusing fd 4./n/n---request begin---/nHEAD /againnonexistent HTTP/1.1/nHost: localhost:56319/nReferer: http://localhost:56319/thirdpage.html/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:46:45 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = /'utf-8/'/nDisabling further reuse of socket 4./nClosed fd 4/nRemote file does not exist -- broken link!!!/n/nFound 2 broken links./n/nhttp://localhost:56319/againnonexistent/nhttp://localhost:56319/nonexistent/n/nFINISHED --2021-09-19 16:46:45--/nTotal wall clock time: 2.2s/nDownloaded: 3 files, 772 in 0s (2.70 MB/s)/n'}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test--spider-r.py", line 98, in err = HTTPTest ( File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test--spider-r.py (exit status: 1) FAIL: Test-no_proxy-env ======================= Setting --no-config (noconfig) to 1 Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:46:49] "GET /File1 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:46:49] "GET /File2 HTTP/1.1" 200 - Running Test Test-no_proxy-env.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config http://working1.localhost:56324/File1 http://working1.localhost:56324/File2 ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', 'http://working1.localhost:56324/File1', 'http://working1.localhost:56324/File2'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-no_proxy-env.py-test', 'http_proxy': 'nonexisting.localhost:8080', 'no_proxy': 'working1.localhost,.working2.localhost'} {'wget-log': {'content': "DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-no_proxy-env.py-test/.wget-hsts/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://working1.localhost:56324/File1' (ANSI_X3.4-1968) -> 'http://working1.localhost:56324/File1' (UTF-8)/nConverted file name 'File1' (UTF-8) -> 'File1' (ANSI_X3.4-1968)/n--2021-09-19 16:46:47-- http://working1.localhost:56324/File1/nResolving working1.localhost (working1.localhost)... ::1, 127.0.0.1/nCaching working1.localhost => ::1 127.0.0.1/nConnecting to working1.localhost (working1.localhost)|::1|:56324... Closed fd 4/nfailed: Connection refused./nConnecting to working1.localhost (working1.localhost)|127.0.0.1|:56324... connected./nCreated socket 4./nReleasing 0x000000080006b060 (new refcount 1)./n/n---request begin---/nGET /File1 HTTP/1.1/nHost: working1.localhost:56324/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:46:49 GMT/ncontent-type: text/plain/ncontent-length: 24/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nLength: 24 [text/plain]/nSaving to: 'File1'/n/n 0K 100% 267K=0s/n/n2021-09-19 16:46:49 (267 KB/s) - 'File1' saved [24/24]/n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://working1.localhost:56324/File2' (ANSI_X3.4-1968) -> 'http://working1.localhost:56324/File2' (UTF-8)/nConverted file name 'File2' (UTF-8) -> 'File2' (ANSI_X3.4-1968)/n--2021-09-19 16:46:49-- http://working1.localhost:56324/File2/nReusing existing connection to working1.localhost:56324./nReusing fd 4./n/n---request begin---/nGET /File2 HTTP/1.1/nHost: working1.localhost:56324/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:46:49 GMT/ncontent-type: text/plain/ncontent-length: 20/n/n---response end---/n200 OK/nLength: 20 [text/plain]/nSaving to: 'File2'/n/n 0K 100% 217K=0s/n/n2021-09-19 16:46:49 (217 KB/s) - 'File2' saved [20/20]/n/nFINISHED --2021-09-19 16:46:49--/nTotal wall clock time: 2.1s/nDownloaded: 2 files, 44 in 0s (242 KB/s)/n"}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-no_proxy-env.py", line 85, in err_case_1 = HTTPTest ( File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-no_proxy-env.py (exit status: 1) FAIL: Test-metalink-http ======================== Setting --no-config (noconfig) to 1 Setting --metalink-over-http (metalinkoverhttp) to 1 Setting --preferred-location (preferredlocation) to uk Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:46:53] "HEAD /test.meta HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:46:53] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:46:53] "GET /Sig2.asc HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:46:53] "GET /Sig.asc HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:46:53] "GET /File1_try1_corrupted HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:46:53] "GET /File1_try3_ok HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:46:55] "HEAD /File2 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:46:56] "GET /File2 HTTP/1.1" 200 - Running Test Test-metalink-http.py Running Test Test-metalink-http.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config --metalink-over-http --preferred-location=uk http://localhost:56327/test.meta http://localhost:56327/File2 ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '--metalink-over-http', '--preferred-location=uk', 'http://localhost:56327/test.meta', 'http://localhost:56327/File2'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-http.py-test'} {'wget-log': {'content': "DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-http.py-test/.wget-hsts/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://localhost:56327/test.meta' (ANSI_X3.4-1968) -> 'http://localhost:56327/test.meta' (UTF-8)/nConverted file name 'test.meta' (UTF-8) -> 'test.meta' (ANSI_X3.4-1968)/n--2021-09-19 16:46:51-- http://localhost:56327/test.meta/nResolving localhost (localhost)... ::1, 127.0.0.1/nCaching localhost => ::1 127.0.0.1/nConnecting to localhost (localhost)|::1|:56327... Closed fd 4/nfailed: Connection refused./nConnecting to localhost (localhost)|127.0.0.1|:56327... connected./nCreated socket 4./nReleasing 0x000000080006b070 (new refcount 1)./n/n---request begin---/nHEAD /test.meta HTTP/1.1/nHost: localhost:56327/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:46:53 GMT/ncontent-type: text/plain/ncontent-length: 13/nlink: ; rel=duplicate; pri=9; geo=pl/nlink: ; rel =duplicate;pref; pri=7/nlink: ; rel=describedby; type=application/pgp-signature/nlink: ; rel=describedby; type=application/pgp-signature/nlink: ; rel=describedby; type=application/pgp-signature/nlink: ; rel=duplicate; pri=4/nlink: ; pri=1; pref/nlink: ; rel=strange; pri=4/nlink: ; rel=duplicate; geo=su; pri=4; pref/nlink: ; rel =duplicate;pri=5/nlink: ; rel=duplicate; pri=5;geo=uk/ndigest: SHA-256=j0o5IXK8oUh1b2xNIX5fgHFJITFO7oA98ZTuaIJ3p5I=/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nChecking for Metalink in HTTP response/nProcessing Content-Type header.../nContent-Type: text/plain/nURL=http://127.0.0.1:56327/File1_lowPref/nrel=duplicate/nTYPE=http/nURL=http://this.is.no.good.example/File1_try2_badconnection/nrel=duplicate/nTYPE=http/nThis resource has preference/nURL=http://127.0.0.1:56327/Sig2.asc/nrel=describedby/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56327/Sig2.asc' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56327/Sig2.asc' (UTF-8)/nConverted file name 'Sig2.asc' (UTF-8) -> 'Sig2.asc' (ANSI_X3.4-1968)/n--2021-09-19 16:46:53-- http://127.0.0.1:56327/Sig2.asc/nconaddr is: 127.0.0.1/nReleasing 0x000000080006bfc0 (new refcount 0)./nDeleting unused 0x000000080006bfc0./nReusing existing connection to localhost:56327./nReusing fd 4./n/n---request begin---/nGET /Sig2.asc HTTP/1.1/nHost: 127.0.0.1:56327/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:46:53 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = 'utf-8'/nDisabling further reuse of socket 4./nClosed fd 4/n2021-09-19 16:46:53 ERROR 404: Not Found./n/nURL=http://127.0.0.1:56327/Sig.asc/nrel=describedby/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56327/Sig.asc' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56327/Sig.asc' (UTF-8)/nConverted file name 'Sig.asc' (UTF-8) -> 'Sig.asc' (ANSI_X3.4-1968)/n--2021-09-19 16:46:53-- http://127.0.0.1:56327/Sig.asc/nConnecting to 127.0.0.1:56327... connected./nCreated socket 5./nReleasing 0x000000080006c060 (new refcount 0)./nDeleting unused 0x000000080006c060./n/n---request begin---/nGET /Sig.asc HTTP/1.1/nHost: 127.0.0.1:56327/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:46:53 GMT/ncontent-type: text/plain/ncontent-length: 287/n/n---response end---/n200 OK/nRegistered socket 5 for persistent reuse./nLength: 287 [text/plain]/nSaving to: 'Sig.asc'/n/n 0K 100% 4.47M=0s/n/n2021-09-19 16:46:53 (4.47 MB/s) - 'Sig.asc' saved [287/287]/n/nsiglen=287/nSignature (application/pgp-signature):/n-----BEGIN PGP SIGNATURE-----/nVersion: GnuPG v1.0.7 (GNU/Linux)/n/nThis is no valid signature. But it should be downloaded./nThe attempt to verify should fail but should not prevent/na successful metalink resource retrieval (the sig failure/nshould not be fatal)./n-----END PGP SIGNATURE-----/n/nURL=http://127.0.0.1:56327/Sig.asc/nrel=describedby/nThis link header was not used for Metalink/nURL=invalid_url/nrel=duplicate/nUnsupported url scheme in invalid_url. Skipping resource./nNo rel value in Link header, skipping./nURL=http://127.0.0.1:56327/File1/nrel=strange/nThis link header was not used for Metalink/nURL=http://127.0.0.1:56327/File1_try1_corrupted/nrel=duplicate/nTYPE=http/nThis resource has preference/nURL=http://127.0.0.1:56327/File1_badgeo/nrel=duplicate/nTYPE=http/nURL=http://127.0.0.1:56327/File1_try3_ok/nrel=duplicate/nTYPE=http/nMetalink headers found. Switching to Metalink mode./nRetrieving from Metalink 'http://localhost:56327/test.meta'/nProcessing metalink file 'test.meta'.../n/n Metalink/HTTP/n/n --trust-server-names false/n --directory-prefix ''/n/n Counted metalink file 1/n Planned metalink file 'test.meta'/n Trusted metalink file 'test.meta'/n Current metalink file 'test.meta'/n Cleaned metalink file 'test.meta'/n Secured metalink file 'test.meta'/n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56327/File1_try1_corrupted' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56327/File1_try1_corrupted' (UTF-8)/nStoring to test.meta/n--2021-09-19 16:46:53-- http://127.0.0.1:56327/File1_try1_corrupted/nReusing existing connection to 127.0.0.1:56327./nReusing fd 5./n/n---request begin---/nGET /File1_try1_corrupted HTTP/1.1/nHost: 127.0.0.1:56327/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:46:53 GMT/ncontent-type: text/plain/ncontent-length: 27/n/n---response end---/n200 OK/nLength: 27 [text/plain]/nSaving to: 'test.meta'/n/n 0K 100% 414K=0s/n/n2021-09-19 16:46:53 (414 KB/s) - 'test.meta' saved [27/27]/n/nComputing size for 'test.meta'/nFile size not declared. Skipping check./nComputing checksum for 'test.meta'/nDeclared hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nComputed hash: 780ad1249176a71151dbfe7a4d8b2625088f1cff3046b5e9cd7d74a3a7fcaf51/nChecksum mismatch for file 'test.meta'./nRemoving 'test.meta'./nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://this.is.no.good.example/File1_try2_badconnection' (ANSI_X3.4-1968) -> 'http://this.is.no.good.example/File1_try2_badconnection' (UTF-8)/nStoring to test.meta/n--2021-09-19 16:46:53-- http://this.is.no.good.example/File1_try2_badconnection/nResolving this.is.no.good.example (this.is.no.good.example)... failed: Name or service not known./nwget: unable to resolve host address 'this.is.no.good.example'/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56327/File1_try3_ok' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56327/File1_try3_ok' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to test.meta/n--2021-09-19 16:46:53-- http://127.0.0.1:56327/File1_try3_ok/nReusing existing connection to 127.0.0.1:56327./nReusing fd 5./n/n---request begin---/nGET /File1_try3_ok HTTP/1.1/nHost: 127.0.0.1:56327/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:46:53 GMT/ncontent-type: text/plain/ncontent-length: 24/n/n---response end---/n200 OK/nLength: 24 [text/plain]/nSaving to: 'test.meta'/n/n 0K 100% 470K=0s/n/n2021-09-19 16:46:53 (470 KB/s) - 'test.meta' saved [24/24]/n/nComputing size for 'test.meta'/nFile size not declared. Skipping check./nComputing checksum for 'test.meta'/nDeclared hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nComputed hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nChecksum matches./nVerifying signature 'application/pgp-signature':/n-----BEGIN PGP SIGNATURE-----/nVersion: GnuPG v1.0.7 (GNU/Linux)/n/nThis is no valid signature. But it should be downloaded./nThe attempt to verify should fail but should not prevent/na successful metalink resource retrieval (the sig failure/nshould not be fatal)./n-----END PGP SIGNATURE-----/n/nGPGME op_verify: No data/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://localhost:56327/File2' (ANSI_X3.4-1968) -> 'http://localhost:56327/File2' (UTF-8)/nConverted file name 'File2' (UTF-8) -> 'File2' (ANSI_X3.4-1968)/n--2021-09-19 16:46:55-- http://localhost:56327/File2/nconaddr is: 127.0.0.1/nFound localhost in host_name_addresses_map (0x80006b070)/nReleasing 0x000000080006b070 (new refcount 1)./nReusing existing connection to 127.0.0.1:56327./nReusing fd 5./n/n---request begin---/nHEAD /File2 HTTP/1.1/nHost: localhost:56327/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:46:55 GMT/ncontent-type: text/plain/ncontent-length: 27/n/n---response end---/n200 OK/nChecking for Metalink in HTTP response/nProcessing Content-Type header.../nContent-Type: text/plain/nNo valid metalink references found./nCould not find Metalink data in HTTP response. Downloading file using HTTP GET./n--2021-09-19 16:46:56-- (try: 2) http://localhost:56327/File2/nconaddr is: 127.0.0.1/nFound localhost in host_name_addresses_map (0x80006b070)/nReleasing 0x000000080006b070 (new refcount 1)./nReusing existing connection to 127.0.0.1:56327./nReusing fd 5./n/n---request begin---/nGET /File2 HTTP/1.1/nHost: localhost:56327/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:46:56 GMT/ncontent-type: text/plain/ncontent-length: 27/n/n---response end---/n200 OK/nLength: 27 [text/plain]/nSaving to: 'File2'/n/n 0K 100% 269K=0s/n/n2021-09-19 16:46:56 (269 KB/s) - 'File2' saved [27/27]/n/nFINISHED --2021-09-19 16:46:56--/nTotal wall clock time: 5.5s/nDownloaded: 4 files, 365 in 0s (1.28 MB/s)/n"}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-metalink-http.py", line 124, in err = http_test.begin () File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-metalink-http.py (exit status: 1) FAIL: Test-metalink-http-quoted =============================== Setting --no-config (noconfig) to 1 Setting --metalink-over-http (metalinkoverhttp) to 1 Setting --preferred-location (preferredlocation) to uk Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:47:00] "HEAD /test.meta HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:00] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:47:00] "GET /Sig2.asc HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:47:00] "GET /Sig.asc HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:00] "GET /File1_try1_corrupted HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:02] "GET /File1_try3_ok HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:04] "HEAD /File2 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:05] "GET /File2 HTTP/1.1" 200 - Running Test Test-metalink-http-quoted.py Running Test Test-metalink-http-quoted.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config --metalink-over-http --preferred-location=uk http://localhost:56332/test.meta http://localhost:56332/File2 ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '--metalink-over-http', '--preferred-location=uk', 'http://localhost:56332/test.meta', 'http://localhost:56332/File2'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-http-quoted.py-test'} {'wget-log': {'content': 'DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-http-quoted.py-test/.wget-hsts/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://localhost:56332/test.meta/' (ANSI_X3.4-1968) -> /'http://localhost:56332/test.meta/' (UTF-8)/nConverted file name /'test.meta/' (UTF-8) -> /'test.meta/' (ANSI_X3.4-1968)/n--2021-09-19 16:46:58-- http://localhost:56332/test.meta/nResolving localhost (localhost)... ::1, 127.0.0.1/nCaching localhost => ::1 127.0.0.1/nConnecting to localhost (localhost)|::1|:56332... Closed fd 4/nfailed: Connection refused./nConnecting to localhost (localhost)|127.0.0.1|:56332... connected./nCreated socket 4./nReleasing 0x000000080006b080 (new refcount 1)./n/n---request begin---/nHEAD /test.meta HTTP/1.1/nHost: localhost:56332/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:00 GMT/ncontent-type: text/plain/ncontent-length: 13/nlink: ; rel="duplicate"; pri="9"; geo="pl"/nlink: ; rel ="duplicate";pref; pri="7"/nlink: ; rel="describedby"; type="application/pgp-signature"/nlink: ; rel="describedby"; type="application/pgp-signature"/nlink: ; rel="describedby"; type="application/pgp-signature"/nlink: ; rel="duplicate"; pri="4"/nlink: ; pri="1"; pref/nlink: ; rel="strange"; pri="4"/nlink: ; rel="duplicate"; geo="su"; pri="4"; pref/nlink: ; rel ="duplicate";pri="5"/nlink: ; rel=/'duplicate/'; pri="5";geo="uk"/ndigest: SHA-256=/'j0o5IXK8oUh1b2xNIX5fgHFJITFO7oA98ZTuaIJ3p5I=/'/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nChecking for Metalink in HTTP response/nProcessing Content-Type header.../nContent-Type: text/plain/nURL=http://127.0.0.1:56332/File1_lowPref/nrel=duplicate/nTYPE=http/nURL=http://0.0.0.0/File1_try2_badconnection/nrel=duplicate/nTYPE=http/nThis resource has preference/nURL=http://127.0.0.1:56332/Sig2.asc/nrel=describedby/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56332/Sig2.asc/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56332/Sig2.asc/' (UTF-8)/nConverted file name /'Sig2.asc/' (UTF-8) -> /'Sig2.asc/' (ANSI_X3.4-1968)/n--2021-09-19 16:47:00-- http://127.0.0.1:56332/Sig2.asc/nconaddr is: 127.0.0.1/nReleasing 0x000000080006c500 (new refcount 0)./nDeleting unused 0x000000080006c500./nReusing existing connection to localhost:56332./nReusing fd 4./n/n---request begin---/nGET /Sig2.asc HTTP/1.1/nHost: 127.0.0.1:56332/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:00 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = /'utf-8/'/nDisabling further reuse of socket 4./nClosed fd 4/n2021-09-19 16:47:00 ERROR 404: Not Found./n/nURL=http://127.0.0.1:56332/Sig.asc/nrel=describedby/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56332/Sig.asc/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56332/Sig.asc/' (UTF-8)/nConverted file name /'Sig.asc/' (UTF-8) -> /'Sig.asc/' (ANSI_X3.4-1968)/n--2021-09-19 16:47:00-- http://127.0.0.1:56332/Sig.asc/nConnecting to 127.0.0.1:56332... connected./nCreated socket 5./nReleasing 0x000000080006c5d0 (new refcount 0)./nDeleting unused 0x000000080006c5d0./n/n---request begin---/nGET /Sig.asc HTTP/1.1/nHost: 127.0.0.1:56332/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:00 GMT/ncontent-type: text/plain/ncontent-length: 287/n/n---response end---/n200 OK/nRegistered socket 5 for persistent reuse./nLength: 287 [text/plain]/nSaving to: /'Sig.asc/'/n/n 0K 100% 4.56M=0s/n/n2021-09-19 16:47:00 (4.56 MB/s) - /'Sig.asc/' saved [287/287]/n/nsiglen=287/nSignature (application/pgp-signature):/n-----BEGIN PGP SIGNATURE-----/nVersion: GnuPG v1.0.7 (GNU/Linux)/n/nThis is no valid signature. But it should be downloaded./nThe attempt to verify should fail but should not prevent/na successful metalink resource retrieval (the sig failure/nshould not be fatal)./n-----END PGP SIGNATURE-----/n/nURL=http://127.0.0.1:56332/Sig.asc/nrel=describedby/nThis link header was not used for Metalink/nURL=invalid_url/nrel=duplicate/nUnsupported url scheme in invalid_url. Skipping resource./nNo rel value in Link header, skipping./nURL=http://127.0.0.1:56332/File1/nrel=strange/nThis link header was not used for Metalink/nURL=http://127.0.0.1:56332/File1_try1_corrupted/nrel=duplicate/nTYPE=http/nThis resource has preference/nURL=http://127.0.0.1:56332/File1_badgeo/nrel=duplicate/nTYPE=http/nURL=http://127.0.0.1:56332/File1_try3_ok/nrel=duplicate/nTYPE=http/nMetalink headers found. Switching to Metalink mode./nRetrieving from Metalink /'http://localhost:56332/test.meta/'/nProcessing metalink file /'test.meta/'.../n/n Metalink/HTTP/n/n --trust-server-names false/n --directory-prefix /'/'/n/n Counted metalink file 1/n Planned metalink file /'test.meta/'/n Trusted metalink file /'test.meta/'/n Current metalink file /'test.meta/'/n Cleaned metalink file /'test.meta/'/n Secured metalink file /'test.meta/'/n/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56332/File1_try1_corrupted/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56332/File1_try1_corrupted/' (UTF-8)/nStoring to test.meta/n--2021-09-19 16:47:00-- http://127.0.0.1:56332/File1_try1_corrupted/nReusing existing connection to 127.0.0.1:56332./nReusing fd 5./n/n---request begin---/nGET /File1_try1_corrupted HTTP/1.1/nHost: 127.0.0.1:56332/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:00 GMT/ncontent-type: text/plain/ncontent-length: 27/n/n---response end---/n200 OK/nLength: 27 [text/plain]/nSaving to: /'test.meta/'/n/n 0K 100% 481K=0s/n/n2021-09-19 16:47:00 (481 KB/s) - /'test.meta/' saved [27/27]/n/nComputing size for /'test.meta/'/nFile size not declared. Skipping check./nComputing checksum for /'test.meta/'/nDeclared hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nComputed hash: 780ad1249176a71151dbfe7a4d8b2625088f1cff3046b5e9cd7d74a3a7fcaf51/nChecksum mismatch for file /'test.meta/'./nRemoving /'test.meta/'./nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://0.0.0.0/File1_try2_badconnection/' (ANSI_X3.4-1968) -> /'http://0.0.0.0/File1_try2_badconnection/' (UTF-8)/nStoring to test.meta/n--2021-09-19 16:47:00-- http://0.0.0.0/File1_try2_badconnection/nConnecting to 0.0.0.0:80... Closed fd 6/nfailed: Connection refused./nReleasing 0x000000080006f5d0 (new refcount 0)./nDeleting unused 0x000000080006f5d0./nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56332/File1_try3_ok/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56332/File1_try3_ok/' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to test.meta/n--2021-09-19 16:47:02-- http://127.0.0.1:56332/File1_try3_ok/nReusing existing connection to 127.0.0.1:56332./nReusing fd 5./n/n---request begin---/nGET /File1_try3_ok HTTP/1.1/nHost: 127.0.0.1:56332/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:02 GMT/ncontent-type: text/plain/ncontent-length: 24/n/n---response end---/n200 OK/nLength: 24 [text/plain]/nSaving to: /'test.meta/'/n/n 0K 100% 347K=0s/n/n2021-09-19 16:47:02 (347 KB/s) - /'test.meta/' saved [24/24]/n/nComputing size for /'test.meta/'/nFile size not declared. Skipping check./nComputing checksum for /'test.meta/'/nDeclared hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nComputed hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nChecksum matches./nVerifying signature /'application/pgp-signature/':/n-----BEGIN PGP SIGNATURE-----/nVersion: GnuPG v1.0.7 (GNU/Linux)/n/nThis is no valid signature. But it should be downloaded./nThe attempt to verify should fail but should not prevent/na successful metalink resource retrieval (the sig failure/nshould not be fatal)./n-----END PGP SIGNATURE-----/n/nGPGME op_verify: No data/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://localhost:56332/File2/' (ANSI_X3.4-1968) -> /'http://localhost:56332/File2/' (UTF-8)/nConverted file name /'File2/' (UTF-8) -> /'File2/' (ANSI_X3.4-1968)/n--2021-09-19 16:47:04-- http://localhost:56332/File2/nconaddr is: 127.0.0.1/nFound localhost in host_name_addresses_map (0x80006b080)/nReleasing 0x000000080006b080 (new refcount 1)./nReusing existing connection to 127.0.0.1:56332./nReusing fd 5./n/n---request begin---/nHEAD /File2 HTTP/1.1/nHost: localhost:56332/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:04 GMT/ncontent-type: text/plain/ncontent-length: 27/n/n---response end---/n200 OK/nChecking for Metalink in HTTP response/nProcessing Content-Type header.../nContent-Type: text/plain/nNo valid metalink references found./nCould not find Metalink data in HTTP response. Downloading file using HTTP GET./n--2021-09-19 16:47:05-- (try: 2) http://localhost:56332/File2/nconaddr is: 127.0.0.1/nFound localhost in host_name_addresses_map (0x80006b080)/nReleasing 0x000000080006b080 (new refcount 1)./nReusing existing connection to 127.0.0.1:56332./nReusing fd 5./n/n---request begin---/nGET /File2 HTTP/1.1/nHost: localhost:56332/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:05 GMT/ncontent-type: text/plain/ncontent-length: 27/n/n---response end---/n200 OK/nLength: 27 [text/plain]/nSaving to: /'File2/'/n/n 0K 100% 323K=0s/n/n2021-09-19 16:47:05 (323 KB/s) - /'File2/' saved [27/27]/n/nFINISHED --2021-09-19 16:47:05--/nTotal wall clock time: 6.8s/nDownloaded: 4 files, 365 in 0s (1.32 MB/s)/n'}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-metalink-http-quoted.py", line 124, in err = http_test.begin () File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-metalink-http-quoted.py (exit status: 1) FAIL: Test-metalink-http-baddigest ================================== Setting --no-config (noconfig) to 1 Setting --metalink-over-http (metalinkoverhttp) to 1 Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:47:09] "HEAD /main.metalink HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:09] "GET /wrong_file HTTP/1.1" 200 - Running Test Test-metalink-http-baddigest.py Running Test Test-metalink-http-baddigest.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config --metalink-over-http http://localhost:56338/main.metalink ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '--metalink-over-http', 'http://localhost:56338/main.metalink'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-http-baddigest.py-test'} {'wget-log': {'content': "DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-http-baddigest.py-test/.wget-hsts/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://localhost:56338/main.metalink' (ANSI_X3.4-1968) -> 'http://localhost:56338/main.metalink' (UTF-8)/nConverted file name 'main.metalink' (UTF-8) -> 'main.metalink' (ANSI_X3.4-1968)/n--2021-09-19 16:47:07-- http://localhost:56338/main.metalink/nResolving localhost (localhost)... ::1, 127.0.0.1/nCaching localhost => ::1 127.0.0.1/nConnecting to localhost (localhost)|::1|:56338... Closed fd 4/nfailed: Connection refused./nConnecting to localhost (localhost)|127.0.0.1|:56338... connected./nCreated socket 4./nReleasing 0x000000080006b060 (new refcount 1)./n/n---request begin---/nHEAD /main.metalink HTTP/1.1/nHost: localhost:56338/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:09 GMT/ncontent-type: text/plain/ncontent-length: 13/nlink: ; rel=duplicate; pri=1/ndigest: SHA-256=bad_base64,SHA-256=2fq075dbC0A2lgR5JtrKrZ/drznF83yMZMyEGCPS7zk=/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nChecking for Metalink in HTTP response/nProcessing Content-Type header.../nContent-Type: text/plain/nURL=http://127.0.0.1:56338/wrong_file/nrel=duplicate/nTYPE=http/nMalformed base64 input, ignored./nMetalink headers found. Switching to Metalink mode./nRetrieving from Metalink 'http://localhost:56338/main.metalink'/nProcessing metalink file 'main.metalink'.../n/n Metalink/HTTP/n/n --trust-server-names false/n --directory-prefix ''/n/n Counted metalink file 1/n Planned metalink file 'main.metalink'/n Trusted metalink file 'main.metalink'/n Current metalink file 'main.metalink'/n Cleaned metalink file 'main.metalink'/n Secured metalink file 'main.metalink'/n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56338/wrong_file' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56338/wrong_file' (UTF-8)/nStoring to main.metalink/n--2021-09-19 16:47:09-- http://127.0.0.1:56338/wrong_file/nconaddr is: 127.0.0.1/nReleasing 0x000000080006be30 (new refcount 0)./nDeleting unused 0x000000080006be30./nReusing existing connection to localhost:56338./nReusing fd 4./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:56338/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:09 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nLength: 5 [text/plain]/nSaving to: 'main.metalink'/n/n 0K 100% 82.2K=0s/n/n2021-09-19 16:47:09 (82.2 KB/s) - 'main.metalink' saved [5/5]/n/nComputing size for 'main.metalink'/nFile size not declared. Skipping check./nComputing checksum for 'main.metalink'/nDeclared hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum matches./n"}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-metalink-http-baddigest.py", line 91, in err = http_test.begin () File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-metalink-http-baddigest.py (exit status: 1) FAIL: Test-metalink-http-xml ============================ Setting --no-config (noconfig) to 1 Setting --metalink-over-http (metalinkoverhttp) to 1 Setting --metalink-index (metalinkindex) to 2 Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:47:13] "HEAD /main.metalink HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:13] "GET /test1.metalink HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:13] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:47:13] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:47:13] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:13] "GET /File1 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:13] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:47:13] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:47:13] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:13] "GET /File2 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:13] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:47:13] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:47:13] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:13] "GET /File4 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:13] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:47:13] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:47:13] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:13] "GET /File5 HTTP/1.1" 200 - Running Test Test-metalink-http-xml.py Running Test Test-metalink-http-xml.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config --metalink-over-http --metalink-index=2 http://localhost:56342/main.metalink ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '--metalink-over-http', '--metalink-index=2', 'http://localhost:56342/main.metalink'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-http-xml.py-test'} {'wget-log': {'content': 'DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-http-xml.py-test/.wget-hsts/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://localhost:56342/main.metalink/' (ANSI_X3.4-1968) -> /'http://localhost:56342/main.metalink/' (UTF-8)/nConverted file name /'main.metalink/' (UTF-8) -> /'main.metalink/' (ANSI_X3.4-1968)/n--2021-09-19 16:47:11-- http://localhost:56342/main.metalink/nResolving localhost (localhost)... ::1, 127.0.0.1/nCaching localhost => ::1 127.0.0.1/nConnecting to localhost (localhost)|::1|:56342... Closed fd 4/nfailed: Connection refused./nConnecting to localhost (localhost)|127.0.0.1|:56342... connected./nCreated socket 4./nReleasing 0x000000080006b050 (new refcount 1)./n/n---request begin---/nHEAD /main.metalink HTTP/1.1/nHost: localhost:56342/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:13 GMT/ncontent-type: text/plain/ncontent-length: 13/nlink: ; rel=describedby; pri=2; type="application/metalink4+xml"/nlink: ; rel=describedby; pri=1; type="application/metalink4+xml"/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nChecking for Metalink in HTTP response/nProcessing Content-Type header.../nContent-Type: text/plain/nURL=http://127.0.0.1:56342/test1.metalink/nrel=describedby/nMEDIATYPE=application/metalink4+xml/nURL=http://127.0.0.1:56342/test2.metalink/nrel=describedby/nMEDIATYPE=application/metalink4+xml/nMetalink headers found. Switching to Metalink mode./nRetrieving from Metalink /'http://localhost:56342/main.metalink/'/nProcessing metalink file /'main.metalink/'.../n/n Metalink/HTTP/n/n --trust-server-names false/n --directory-prefix /'/'/n/n Counted metalink file 1/n Planned metalink file /'main.metalink/'/n Trusted metalink file /'main.metalink/'/n Current metalink file /'main.metalink/'/n Cleaned metalink file /'main.metalink/'/n Secured metalink file /'main.metalink/'/n/nSearching application/metalink4+xml ordinal number 2.../n Ordinal number 1: /'http://127.0.0.1:56342/test2.metalink/'/n Ordinal number 2: /'http://127.0.0.1:56342/test1.metalink/'/nProcessing metaurl /'http://127.0.0.1:56342/test1.metalink/'.../nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56342/test1.metalink/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56342/test1.metalink/' (UTF-8)/nStoring to main.metalink.meta#2/n--2021-09-19 16:47:13-- http://127.0.0.1:56342/test1.metalink/nconaddr is: 127.0.0.1/nReleasing 0x000000080006bdc0 (new refcount 0)./nDeleting unused 0x000000080006bdc0./nReusing existing connection to localhost:56342./nReusing fd 4./n/n---request begin---/nGET /test1.metalink HTTP/1.1/nHost: 127.0.0.1:56342/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:13 GMT/ncontent-type: text/plain/ncontent-length: 3121/n/n---response end---/n200 OK/nLength: 3121 (3.0K) [text/plain]/nSaving to: /'main.metalink.meta#2/'/n/n 0K ... 100% 31.1M=0s/n/n2021-09-19 16:47:13 (31.1 MB/s) - /'main.metalink.meta#2/' saved [3121/3121]/n/nRetrieving from Metalink /'main.metalink.meta#2/'/nProcessing metalink file /'dir/File1/'.../n/n Metalink/XML/n/n --trust-server-names false/n --directory-prefix /'/'/n/n Counted metalink file 1/n Planned metalink file /'dir/File1/'/n Trusted metalink file /'main.metalink.meta#2.#1/'/n Current metalink file /'main.metalink.meta#2.#1/'/n Cleaned metalink file /'main.metalink.meta#2.#1/'/n Secured metalink file /'main.metalink.meta#2.#1/'/n/n[--trust-server-names false, --directory-prefix=/'/']/nPlanned metalink file: /'dir/File1/'/nSecured metalink file: /'main.metalink.meta#2.#1/'/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56342/404/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56342/404/' (UTF-8)/nStoring to main.metalink.meta#2.#1/n--2021-09-19 16:47:13-- http://127.0.0.1:56342/404/nconaddr is: 127.0.0.1/nReleasing 0x00000008000737b0 (new refcount 0)./nDeleting unused 0x00000008000737b0./nReusing existing connection to localhost:56342./nReusing fd 4./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:56342/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:13 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = /'utf-8/'/nDisabling further reuse of socket 4./nClosed fd 4/n2021-09-19 16:47:13 ERROR 404: Not Found./n/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56342/wrong_file/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56342/wrong_file/' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to main.metalink.meta#2.#1/n--2021-09-19 16:47:13-- http://127.0.0.1:56342/wrong_file/nConnecting to 127.0.0.1:56342... connected./nCreated socket 4./nReleasing 0x00000008000731e0 (new refcount 0)./nDeleting unused 0x00000008000731e0./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:56342/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:13 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nLength: 5 [text/plain]/nSaving to: /'main.metalink.meta#2.#1/'/n/n 0K 100% 66.3K=0s/n/n2021-09-19 16:47:13 (66.3 KB/s) - /'main.metalink.meta#2.#1/' saved [5/5]/n/nComputing size for /'main.metalink.meta#2.#1/'/nFile size not declared. Skipping check./nComputing checksum for /'main.metalink.meta#2.#1/'/nDeclared hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file /'main.metalink.meta#2.#1/'./nRemoving /'main.metalink.meta#2.#1/'./nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56342/File1/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56342/File1/' (UTF-8)/nStoring to main.metalink.meta#2.#1/n--2021-09-19 16:47:13-- http://127.0.0.1:56342/File1/nReusing existing connection to 127.0.0.1:56342./nReusing fd 4./n/n---request begin---/nGET /File1 HTTP/1.1/nHost: 127.0.0.1:56342/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:13 GMT/ncontent-type: text/plain/ncontent-length: 24/n/n---response end---/n200 OK/nLength: 24 [text/plain]/nSaving to: /'main.metalink.meta#2.#1/'/n/n 0K 100% 287K=0s/n/n2021-09-19 16:47:13 (287 KB/s) - /'main.metalink.meta#2.#1/' saved [24/24]/n/nComputing size for /'main.metalink.meta#2.#1/'/nFile size not declared. Skipping check./nComputing checksum for /'main.metalink.meta#2.#1/'/nDeclared hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nComputed hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nChecksum matches./nProcessing metalink file /'dir/File2/'.../n/n Metalink/XML/n/n --trust-server-names false/n --directory-prefix /'/'/n/n Counted metalink file 2/n Planned metalink file /'dir/File2/'/n Trusted metalink file /'main.metalink.meta#2.#2/'/n Current metalink file /'main.metalink.meta#2.#2/'/n Cleaned metalink file /'main.metalink.meta#2.#2/'/n Secured metalink file /'main.metalink.meta#2.#2/'/n/n[--trust-server-names false, --directory-prefix=/'/']/nPlanned metalink file: /'dir/File2/'/nSecured metalink file: /'main.metalink.meta#2.#2/'/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56342/404/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56342/404/' (UTF-8)/nStoring to main.metalink.meta#2.#2/n--2021-09-19 16:47:13-- http://127.0.0.1:56342/404/nReusing existing connection to 127.0.0.1:56342./nReusing fd 4./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:56342/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:13 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = /'utf-8/'/nDisabling further reuse of socket 4./nClosed fd 4/n2021-09-19 16:47:13 ERROR 404: Not Found./n/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56342/wrong_file/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56342/wrong_file/' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to main.metalink.meta#2.#2/n--2021-09-19 16:47:13-- http://127.0.0.1:56342/wrong_file/nConnecting to 127.0.0.1:56342... connected./nCreated socket 4./nReleasing 0x00000008000731e0 (new refcount 0)./nDeleting unused 0x00000008000731e0./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:56342/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:13 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nLength: 5 [text/plain]/nSaving to: /'main.metalink.meta#2.#2/'/n/n 0K 100% 51.1K=0s/n/n2021-09-19 16:47:13 (51.1 KB/s) - /'main.metalink.meta#2.#2/' saved [5/5]/n/nComputing size for /'main.metalink.meta#2.#2/'/nFile size not declared. Skipping check./nComputing checksum for /'main.metalink.meta#2.#2/'/nDeclared hash: fac79f893bd735c6b6b2bd5ca9cf49df6145f65a64de55dfc902d98453ab4272/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file /'main.metalink.meta#2.#2/'./nRemoving /'main.metalink.meta#2.#2/'./nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56342/File2/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56342/File2/' (UTF-8)/nStoring to main.metalink.meta#2.#2/n--2021-09-19 16:47:13-- http://127.0.0.1:56342/File2/nReusing existing connection to 127.0.0.1:56342./nReusing fd 4./n/n---request begin---/nGET /File2 HTTP/1.1/nHost: 127.0.0.1:56342/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:13 GMT/ncontent-type: text/plain/ncontent-length: 21/n/n---response end---/n200 OK/nLength: 21 [text/plain]/nSaving to: /'main.metalink.meta#2.#2/'/n/n 0K 100% 385K=0s/n/n2021-09-19 16:47:13 (385 KB/s) - /'main.metalink.meta#2.#2/' saved [21/21]/n/nComputing size for /'main.metalink.meta#2.#2/'/nFile size not declared. Skipping check./nComputing checksum for /'main.metalink.meta#2.#2/'/nDeclared hash: fac79f893bd735c6b6b2bd5ca9cf49df6145f65a64de55dfc902d98453ab4272/nComputed hash: fac79f893bd735c6b6b2bd5ca9cf49df6145f65a64de55dfc902d98453ab4272/nChecksum matches./nProcessing metalink file /'dir/File4/'.../n/n Metalink/XML/n/n --trust-server-names false/n --directory-prefix /'/'/n/n Counted metalink file 3/n Planned metalink file /'dir/File4/'/n Trusted metalink file /'main.metalink.meta#2.#3/'/n Current metalink file /'main.metalink.meta#2.#3/'/n Cleaned metalink file /'main.metalink.meta#2.#3/'/n Secured metalink file /'main.metalink.meta#2.#3/'/n/n[--trust-server-names false, --directory-prefix=/'/']/nPlanned metalink file: /'dir/File4/'/nSecured metalink file: /'main.metalink.meta#2.#3/'/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56342/404/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56342/404/' (UTF-8)/nStoring to main.metalink.meta#2.#3/n--2021-09-19 16:47:13-- http://127.0.0.1:56342/404/nReusing existing connection to 127.0.0.1:56342./nReusing fd 4./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:56342/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:13 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = /'utf-8/'/nDisabling further reuse of socket 4./nClosed fd 4/n2021-09-19 16:47:13 ERROR 404: Not Found./n/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56342/wrong_file/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56342/wrong_file/' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to main.metalink.meta#2.#3/n--2021-09-19 16:47:13-- http://127.0.0.1:56342/wrong_file/nConnecting to 127.0.0.1:56342... connected./nCreated socket 4./nReleasing 0x0000000800072ef0 (new refcount 0)./nDeleting unused 0x0000000800072ef0./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:56342/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:13 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nLength: 5 [text/plain]/nSaving to: /'main.metalink.meta#2.#3/'/n/n 0K 100% 71.0K=0s/n/n2021-09-19 16:47:13 (71.0 KB/s) - /'main.metalink.meta#2.#3/' saved [5/5]/n/nComputing size for /'main.metalink.meta#2.#3/'/nFile size not declared. Skipping check./nComputing checksum for /'main.metalink.meta#2.#3/'/nDeclared hash: 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file /'main.metalink.meta#2.#3/'./nRemoving /'main.metalink.meta#2.#3/'./nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56342/File4/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56342/File4/' (UTF-8)/nStoring to main.metalink.meta#2.#3/n--2021-09-19 16:47:13-- http://127.0.0.1:56342/File4/nReusing existing connection to 127.0.0.1:56342./nReusing fd 4./n/n---request begin---/nGET /File4 HTTP/1.1/nHost: 127.0.0.1:56342/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:13 GMT/ncontent-type: text/plain/ncontent-length: 16/n/n---response end---/n200 OK/nLength: 16 [text/plain]/nSaving to: /'main.metalink.meta#2.#3/'/n/n 0K 100% 164K=0s/n/n2021-09-19 16:47:13 (164 KB/s) - /'main.metalink.meta#2.#3/' saved [16/16]/n/nComputing size for /'main.metalink.meta#2.#3/'/nFile size not declared. Skipping check./nComputing checksum for /'main.metalink.meta#2.#3/'/nDeclared hash: 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314/nComputed hash: 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314/nChecksum matches./nProcessing metalink file /'dir/File5/'.../n/n Metalink/XML/n/n --trust-server-names false/n --directory-prefix /'/'/n/n Counted metalink file 4/n Planned metalink file /'dir/File5/'/n Trusted metalink file /'main.metalink.meta#2.#4/'/n Current metalink file /'main.metalink.meta#2.#4/'/n Cleaned metalink file /'main.metalink.meta#2.#4/'/n Secured metalink file /'main.metalink.meta#2.#4/'/n/n[--trust-server-names false, --directory-prefix=/'/']/nPlanned metalink file: /'dir/File5/'/nSecured metalink file: /'main.metalink.meta#2.#4/'/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56342/404/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56342/404/' (UTF-8)/nStoring to main.metalink.meta#2.#4/n--2021-09-19 16:47:13-- http://127.0.0.1:56342/404/nReusing existing connection to 127.0.0.1:56342./nReusing fd 4./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:56342/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:13 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = /'utf-8/'/nDisabling further reuse of socket 4./nClosed fd 4/n2021-09-19 16:47:13 ERROR 404: Not Found./n/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56342/wrong_file/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56342/wrong_file/' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to main.metalink.meta#2.#4/n--2021-09-19 16:47:13-- http://127.0.0.1:56342/wrong_file/nConnecting to 127.0.0.1:56342... connected./nCreated socket 4./nReleasing 0x00000008000731e0 (new refcount 0)./nDeleting unused 0x00000008000731e0./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:56342/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:13 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nLength: 5 [text/plain]/nSaving to: /'main.metalink.meta#2.#4/'/n/n 0K 100% 86.1K=0s/n/n2021-09-19 16:47:13 (86.1 KB/s) - /'main.metalink.meta#2.#4/' saved [5/5]/n/nComputing size for /'main.metalink.meta#2.#4/'/nFile size not declared. Skipping check./nComputing checksum for /'main.metalink.meta#2.#4/'/nDeclared hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file /'main.metalink.meta#2.#4/'./nRemoving /'main.metalink.meta#2.#4/'./nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56342/File5/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56342/File5/' (UTF-8)/nStoring to main.metalink.meta#2.#4/n--2021-09-19 16:47:13-- http://127.0.0.1:56342/File5/nReusing existing connection to 127.0.0.1:56342./nReusing fd 4./n/n---request begin---/nGET /File5 HTTP/1.1/nHost: 127.0.0.1:56342/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:13 GMT/ncontent-type: text/plain/ncontent-length: 12/n/n---response end---/n200 OK/nLength: 12 [text/plain]/nSaving to: /'main.metalink.meta#2.#4/'/n/n 0K 100% 155K=0s/n/n2021-09-19 16:47:13 (155 KB/s) - /'main.metalink.meta#2.#4/' saved [12/12]/n/nComputing size for /'main.metalink.meta#2.#4/'/nFile size not declared. Skipping check./nComputing checksum for /'main.metalink.meta#2.#4/'/nDeclared hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nComputed hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nChecksum matches./n'}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-metalink-http-xml.py", line 270, in err = http_test.begin () File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-metalink-http-xml.py (exit status: 1) FAIL: Test-metalink-http-xml-trust ================================== Setting --no-config (noconfig) to 1 Setting --trust-server-names (trustservernames) to 1 Setting --metalink-over-http (metalinkoverhttp) to 1 Setting --metalink-index (metalinkindex) to 2 Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:47:17] "HEAD /main.metalink HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:17] "GET /test1.metalink HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:17] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:47:17] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:47:17] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:17] "GET /File1 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:17] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:47:17] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:47:17] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:17] "GET /File2 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:17] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:47:17] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:47:17] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:17] "GET /File4 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:17] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:47:17] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:47:17] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:17] "GET /File5 HTTP/1.1" 200 - Running Test Test-metalink-http-xml-trust.py Running Test Test-metalink-http-xml-trust.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config --trust-server-names --metalink-over-http --metalink-index=2 http://localhost:56350/main.metalink ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '--trust-server-names', '--metalink-over-http', '--metalink-index=2', 'http://localhost:56350/main.metalink'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-http-xml-trust.py-test'} {'wget-log': {'content': 'DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-http-xml-trust.py-test/.wget-hsts/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://localhost:56350/main.metalink/' (ANSI_X3.4-1968) -> /'http://localhost:56350/main.metalink/' (UTF-8)/nConverted file name /'main.metalink/' (UTF-8) -> /'main.metalink/' (ANSI_X3.4-1968)/n--2021-09-19 16:47:15-- http://localhost:56350/main.metalink/nResolving localhost (localhost)... ::1, 127.0.0.1/nCaching localhost => ::1 127.0.0.1/nConnecting to localhost (localhost)|::1|:56350... Closed fd 4/nfailed: Connection refused./nConnecting to localhost (localhost)|127.0.0.1|:56350... connected./nCreated socket 4./nReleasing 0x000000080006b090 (new refcount 1)./n/n---request begin---/nHEAD /main.metalink HTTP/1.1/nHost: localhost:56350/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:17 GMT/ncontent-type: text/plain/ncontent-length: 13/nlink: ; rel=describedby; pri=2; type="application/metalink4+xml"/nlink: ; rel=describedby; pri=1; type="application/metalink4+xml"/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nChecking for Metalink in HTTP response/nProcessing Content-Type header.../nContent-Type: text/plain/nURL=http://127.0.0.1:56350/test1.metalink/nrel=describedby/nMEDIATYPE=application/metalink4+xml/nURL=http://127.0.0.1:56350/test2.metalink/nrel=describedby/nMEDIATYPE=application/metalink4+xml/nMetalink headers found. Switching to Metalink mode./nRetrieving from Metalink /'http://localhost:56350/main.metalink/'/nProcessing metalink file /'main.metalink/'.../n/n Metalink/HTTP/n/n --trust-server-names true/n --directory-prefix /'/'/n/n Counted metalink file 1/n Planned metalink file /'main.metalink/'/n Trusted metalink file /'main.metalink/'/n Current metalink file /'main.metalink/'/n Cleaned metalink file /'main.metalink/'/n Secured metalink file /'main.metalink/'/n/nSearching application/metalink4+xml ordinal number 2.../n Ordinal number 1: /'http://127.0.0.1:56350/test2.metalink/'/n Ordinal number 2: /'http://127.0.0.1:56350/test1.metalink/'/nProcessing metaurl /'http://127.0.0.1:56350/test1.metalink/'.../nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56350/test1.metalink/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56350/test1.metalink/' (UTF-8)/nStoring to test1.metalink/n--2021-09-19 16:47:17-- http://127.0.0.1:56350/test1.metalink/nconaddr is: 127.0.0.1/nReleasing 0x000000080006bf40 (new refcount 0)./nDeleting unused 0x000000080006bf40./nReusing existing connection to localhost:56350./nReusing fd 4./n/n---request begin---/nGET /test1.metalink HTTP/1.1/nHost: 127.0.0.1:56350/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:17 GMT/ncontent-type: text/plain/ncontent-length: 3121/n/n---response end---/n200 OK/nLength: 3121 (3.0K) [text/plain]/nSaving to: /'test1.metalink/'/n/n 0K ... 100% 55.9M=0s/n/n2021-09-19 16:47:17 (55.9 MB/s) - /'test1.metalink/' saved [3121/3121]/n/nRetrieving from Metalink /'test1.metalink/'/nProcessing metalink file /'dir/File1/'.../n/n Metalink/XML/n/n --trust-server-names true/n --directory-prefix /'/'/n/n Counted metalink file 1/n Planned metalink file /'dir/File1/'/n Trusted metalink file /'dir/File1/'/n Current metalink file /'dir/File1/'/n Cleaned metalink file /'File1/'/n Secured metalink file /'dir/File1/'/n/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56350/404/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56350/404/' (UTF-8)/nStoring to dir/File1/n--2021-09-19 16:47:17-- http://127.0.0.1:56350/404/nconaddr is: 127.0.0.1/nReleasing 0x0000000800073370 (new refcount 0)./nDeleting unused 0x0000000800073370./nReusing existing connection to localhost:56350./nReusing fd 4./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:56350/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:17 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = /'utf-8/'/nDisabling further reuse of socket 4./nClosed fd 4/n2021-09-19 16:47:17 ERROR 404: Not Found./n/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56350/wrong_file/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56350/wrong_file/' (UTF-8)/nStoring to dir/File1/n--2021-09-19 16:47:17-- http://127.0.0.1:56350/wrong_file/nConnecting to 127.0.0.1:56350... connected./nCreated socket 4./nReleasing 0x0000000800073240 (new refcount 0)./nDeleting unused 0x0000000800073240./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:56350/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:17 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nLength: 5 [text/plain]/nSaving to: /'dir/File1/'/n/n 0K 100% 57.8K=0s/n/n2021-09-19 16:47:17 (57.8 KB/s) - /'dir/File1/' saved [5/5]/n/nComputing size for /'dir/File1/'/nFile size not declared. Skipping check./nComputing checksum for /'dir/File1/'/nDeclared hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file /'dir/File1/'./nRemoving /'dir/File1/'./nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56350/File1/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56350/File1/' (UTF-8)/nStoring to dir/File1/n--2021-09-19 16:47:17-- http://127.0.0.1:56350/File1/nReusing existing connection to 127.0.0.1:56350./nReusing fd 4./n/n---request begin---/nGET /File1 HTTP/1.1/nHost: 127.0.0.1:56350/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:17 GMT/ncontent-type: text/plain/ncontent-length: 24/n/n---response end---/n200 OK/nLength: 24 [text/plain]/nSaving to: /'dir/File1/'/n/n 0K 100% 272K=0s/n/n2021-09-19 16:47:17 (272 KB/s) - /'dir/File1/' saved [24/24]/n/nComputing size for /'dir/File1/'/nFile size not declared. Skipping check./nComputing checksum for /'dir/File1/'/nDeclared hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nComputed hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nChecksum matches./nProcessing metalink file /'dir/File2/'.../n/n Metalink/XML/n/n --trust-server-names true/n --directory-prefix /'/'/n/n Counted metalink file 2/n Planned metalink file /'dir/File2/'/n Trusted metalink file /'dir/File2/'/n Current metalink file /'dir/File2/'/n Cleaned metalink file /'File2/'/n Secured metalink file /'dir/File2/'/n/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56350/404/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56350/404/' (UTF-8)/nStoring to dir/File2/n--2021-09-19 16:47:17-- http://127.0.0.1:56350/404/nReusing existing connection to 127.0.0.1:56350./nReusing fd 4./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:56350/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:17 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = /'utf-8/'/nDisabling further reuse of socket 4./nClosed fd 4/n2021-09-19 16:47:17 ERROR 404: Not Found./n/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56350/wrong_file/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56350/wrong_file/' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to dir/File2/n--2021-09-19 16:47:17-- http://127.0.0.1:56350/wrong_file/nConnecting to 127.0.0.1:56350... connected./nCreated socket 4./nReleasing 0x0000000800073110 (new refcount 0)./nDeleting unused 0x0000000800073110./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:56350/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:17 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nLength: 5 [text/plain]/nSaving to: /'dir/File2/'/n/n 0K 100% 63.7K=0s/n/n2021-09-19 16:47:17 (63.7 KB/s) - /'dir/File2/' saved [5/5]/n/nComputing size for /'dir/File2/'/nFile size not declared. Skipping check./nComputing checksum for /'dir/File2/'/nDeclared hash: fac79f893bd735c6b6b2bd5ca9cf49df6145f65a64de55dfc902d98453ab4272/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file /'dir/File2/'./nRemoving /'dir/File2/'./nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56350/File2/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56350/File2/' (UTF-8)/nStoring to dir/File2/n--2021-09-19 16:47:17-- http://127.0.0.1:56350/File2/nReusing existing connection to 127.0.0.1:56350./nReusing fd 4./n/n---request begin---/nGET /File2 HTTP/1.1/nHost: 127.0.0.1:56350/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:17 GMT/ncontent-type: text/plain/ncontent-length: 21/n/n---response end---/n200 OK/nLength: 21 [text/plain]/nSaving to: /'dir/File2/'/n/n 0K 100% 461K=0s/n/n2021-09-19 16:47:17 (461 KB/s) - /'dir/File2/' saved [21/21]/n/nComputing size for /'dir/File2/'/nFile size not declared. Skipping check./nComputing checksum for /'dir/File2/'/nDeclared hash: fac79f893bd735c6b6b2bd5ca9cf49df6145f65a64de55dfc902d98453ab4272/nComputed hash: fac79f893bd735c6b6b2bd5ca9cf49df6145f65a64de55dfc902d98453ab4272/nChecksum matches./nProcessing metalink file /'dir/File4/'.../n/n Metalink/XML/n/n --trust-server-names true/n --directory-prefix /'/'/n/n Counted metalink file 3/n Planned metalink file /'dir/File4/'/n Trusted metalink file /'dir/File4/'/n Current metalink file /'dir/File4/'/n Cleaned metalink file /'File4/'/n Secured metalink file /'dir/File4/'/n/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56350/404/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56350/404/' (UTF-8)/nStoring to dir/File4/n--2021-09-19 16:47:17-- http://127.0.0.1:56350/404/nReusing existing connection to 127.0.0.1:56350./nReusing fd 4./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:56350/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:17 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = /'utf-8/'/nDisabling further reuse of socket 4./nClosed fd 4/n2021-09-19 16:47:17 ERROR 404: Not Found./n/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56350/wrong_file/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56350/wrong_file/' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to dir/File4/n--2021-09-19 16:47:17-- http://127.0.0.1:56350/wrong_file/nConnecting to 127.0.0.1:56350... connected./nCreated socket 4./nReleasing 0x0000000800073370 (new refcount 0)./nDeleting unused 0x0000000800073370./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:56350/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:17 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nLength: 5 [text/plain]/nSaving to: /'dir/File4/'/n/n 0K 100% 125K=0s/n/n2021-09-19 16:47:17 (125 KB/s) - /'dir/File4/' saved [5/5]/n/nComputing size for /'dir/File4/'/nFile size not declared. Skipping check./nComputing checksum for /'dir/File4/'/nDeclared hash: 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file /'dir/File4/'./nRemoving /'dir/File4/'./nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56350/File4/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56350/File4/' (UTF-8)/nStoring to dir/File4/n--2021-09-19 16:47:17-- http://127.0.0.1:56350/File4/nReusing existing connection to 127.0.0.1:56350./nReusing fd 4./n/n---request begin---/nGET /File4 HTTP/1.1/nHost: 127.0.0.1:56350/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:17 GMT/ncontent-type: text/plain/ncontent-length: 16/n/n---response end---/n200 OK/nLength: 16 [text/plain]/nSaving to: /'dir/File4/'/n/n 0K 100% 186K=0s/n/n2021-09-19 16:47:17 (186 KB/s) - /'dir/File4/' saved [16/16]/n/nComputing size for /'dir/File4/'/nFile size not declared. Skipping check./nComputing checksum for /'dir/File4/'/nDeclared hash: 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314/nComputed hash: 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314/nChecksum matches./nProcessing metalink file /'dir/File5/'.../n/n Metalink/XML/n/n --trust-server-names true/n --directory-prefix /'/'/n/n Counted metalink file 4/n Planned metalink file /'dir/File5/'/n Trusted metalink file /'dir/File5/'/n Current metalink file /'dir/File5/'/n Cleaned metalink file /'File5/'/n Secured metalink file /'dir/File5/'/n/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56350/404/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56350/404/' (UTF-8)/nStoring to dir/File5/n--2021-09-19 16:47:17-- http://127.0.0.1:56350/404/nReusing existing connection to 127.0.0.1:56350./nReusing fd 4./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:56350/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:17 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = /'utf-8/'/nDisabling further reuse of socket 4./nClosed fd 4/n2021-09-19 16:47:17 ERROR 404: Not Found./n/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56350/wrong_file/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56350/wrong_file/' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to dir/File5/n--2021-09-19 16:47:17-- http://127.0.0.1:56350/wrong_file/nConnecting to 127.0.0.1:56350... connected./nCreated socket 4./nReleasing 0x0000000800073fa0 (new refcount 0)./nDeleting unused 0x0000000800073fa0./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:56350/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:17 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nLength: 5 [text/plain]/nSaving to: /'dir/File5/'/n/n 0K 100% 24.7K=0s/n/n2021-09-19 16:47:17 (24.7 KB/s) - /'dir/File5/' saved [5/5]/n/nComputing size for /'dir/File5/'/nFile size not declared. Skipping check./nComputing checksum for /'dir/File5/'/nDeclared hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file /'dir/File5/'./nRemoving /'dir/File5/'./nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56350/File5/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56350/File5/' (UTF-8)/nStoring to dir/File5/n--2021-09-19 16:47:17-- http://127.0.0.1:56350/File5/nReusing existing connection to 127.0.0.1:56350./nReusing fd 4./n/n---request begin---/nGET /File5 HTTP/1.1/nHost: 127.0.0.1:56350/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:17 GMT/ncontent-type: text/plain/ncontent-length: 12/n/n---response end---/n200 OK/nLength: 12 [text/plain]/nSaving to: /'dir/File5/'/n/n 0K 100% 171K=0s/n/n2021-09-19 16:47:17 (171 KB/s) - /'dir/File5/' saved [12/12]/n/nComputing size for /'dir/File5/'/nFile size not declared. Skipping check./nComputing checksum for /'dir/File5/'/nDeclared hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nComputed hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nChecksum matches./n'}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-metalink-http-xml-trust.py", line 270, in err = http_test.begin () File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-metalink-http-xml-trust.py (exit status: 1) FAIL: Test-metalink-http-xml-trust-name ======================================= Setting --no-config (noconfig) to 1 Setting --trust-server-names (trustservernames) to 1 Setting --metalink-over-http (metalinkoverhttp) to 1 Setting --metalink-index (metalinkindex) to 2 Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:47:21] "HEAD /main.metalink HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:21] "GET /test1.metalink HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:21] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:47:21] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:47:21] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:21] "GET /File1 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:21] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:47:21] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:47:21] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:21] "GET /File2 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:21] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:47:21] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:47:21] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:21] "GET /File4 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:21] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:47:21] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:47:21] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:21] "GET /File5 HTTP/1.1" 200 - Running Test Test-metalink-http-xml-trust-name.py Running Test Test-metalink-http-xml-trust-name.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config --trust-server-names --metalink-over-http --metalink-index=2 http://localhost:56358/main.metalink ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '--trust-server-names', '--metalink-over-http', '--metalink-index=2', 'http://localhost:56358/main.metalink'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-http-xml-trust-name.py-test'} {'wget-log': {'content': 'DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-http-xml-trust-name.py-test/.wget-hsts/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://localhost:56358/main.metalink/' (ANSI_X3.4-1968) -> /'http://localhost:56358/main.metalink/' (UTF-8)/nConverted file name /'main.metalink/' (UTF-8) -> /'main.metalink/' (ANSI_X3.4-1968)/n--2021-09-19 16:47:19-- http://localhost:56358/main.metalink/nResolving localhost (localhost)... ::1, 127.0.0.1/nCaching localhost => ::1 127.0.0.1/nConnecting to localhost (localhost)|::1|:56358... Closed fd 4/nfailed: Connection refused./nConnecting to localhost (localhost)|127.0.0.1|:56358... connected./nCreated socket 4./nReleasing 0x000000080006b090 (new refcount 1)./n/n---request begin---/nHEAD /main.metalink HTTP/1.1/nHost: localhost:56358/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:21 GMT/ncontent-type: text/plain/ncontent-length: 13/nlink: ; rel=describedby; pri=2; type="application/metalink4+xml"; name="newname.metalink"/nlink: ; rel=describedby; pri=1; type="application/metalink4+xml"/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nChecking for Metalink in HTTP response/nProcessing Content-Type header.../nContent-Type: text/plain/nURL=http://127.0.0.1:56358/test1.metalink/nrel=describedby/nMEDIATYPE=application/metalink4+xml/nURL=http://127.0.0.1:56358/test2.metalink/nrel=describedby/nMEDIATYPE=application/metalink4+xml/nMetalink headers found. Switching to Metalink mode./nRetrieving from Metalink /'http://localhost:56358/main.metalink/'/nProcessing metalink file /'main.metalink/'.../n/n Metalink/HTTP/n/n --trust-server-names true/n --directory-prefix /'/'/n/n Counted metalink file 1/n Planned metalink file /'main.metalink/'/n Trusted metalink file /'main.metalink/'/n Current metalink file /'main.metalink/'/n Cleaned metalink file /'main.metalink/'/n Secured metalink file /'main.metalink/'/n/nSearching application/metalink4+xml ordinal number 2.../n Ordinal number 1: /'http://127.0.0.1:56358/test2.metalink/'/n Ordinal number 2: /'http://127.0.0.1:56358/test1.metalink/'/nProcessing metaurl /'http://127.0.0.1:56358/test1.metalink/'.../nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56358/test1.metalink/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56358/test1.metalink/' (UTF-8)/nStoring to newname.metalink/n--2021-09-19 16:47:21-- http://127.0.0.1:56358/test1.metalink/nconaddr is: 127.0.0.1/nReleasing 0x000000080006bf40 (new refcount 0)./nDeleting unused 0x000000080006bf40./nReusing existing connection to localhost:56358./nReusing fd 4./n/n---request begin---/nGET /test1.metalink HTTP/1.1/nHost: 127.0.0.1:56358/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:21 GMT/ncontent-type: text/plain/ncontent-length: 3121/n/n---response end---/n200 OK/nLength: 3121 (3.0K) [text/plain]/nSaving to: /'newname.metalink/'/n/n 0K ... 100% 28.5M=0s/n/n2021-09-19 16:47:21 (28.5 MB/s) - /'newname.metalink/' saved [3121/3121]/n/nRetrieving from Metalink /'newname.metalink/'/nProcessing metalink file /'dir/File1/'.../n/n Metalink/XML/n/n --trust-server-names true/n --directory-prefix /'/'/n/n Counted metalink file 1/n Planned metalink file /'dir/File1/'/n Trusted metalink file /'dir/File1/'/n Current metalink file /'dir/File1/'/n Cleaned metalink file /'File1/'/n Secured metalink file /'dir/File1/'/n/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56358/404/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56358/404/' (UTF-8)/nStoring to dir/File1/n--2021-09-19 16:47:21-- http://127.0.0.1:56358/404/nconaddr is: 127.0.0.1/nReleasing 0x0000000800073370 (new refcount 0)./nDeleting unused 0x0000000800073370./nReusing existing connection to localhost:56358./nReusing fd 4./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:56358/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:21 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = /'utf-8/'/nDisabling further reuse of socket 4./nClosed fd 4/n2021-09-19 16:47:21 ERROR 404: Not Found./n/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56358/wrong_file/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56358/wrong_file/' (UTF-8)/nStoring to dir/File1/n--2021-09-19 16:47:21-- http://127.0.0.1:56358/wrong_file/nConnecting to 127.0.0.1:56358... connected./nCreated socket 4./nReleasing 0x0000000800073240 (new refcount 0)./nDeleting unused 0x0000000800073240./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:56358/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:21 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nLength: 5 [text/plain]/nSaving to: /'dir/File1/'/n/n 0K 100% 36.2K=0s/n/n2021-09-19 16:47:21 (36.2 KB/s) - /'dir/File1/' saved [5/5]/n/nComputing size for /'dir/File1/'/nFile size not declared. Skipping check./nComputing checksum for /'dir/File1/'/nDeclared hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file /'dir/File1/'./nRemoving /'dir/File1/'./nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56358/File1/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56358/File1/' (UTF-8)/nStoring to dir/File1/n--2021-09-19 16:47:21-- http://127.0.0.1:56358/File1/nReusing existing connection to 127.0.0.1:56358./nReusing fd 4./n/n---request begin---/nGET /File1 HTTP/1.1/nHost: 127.0.0.1:56358/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:21 GMT/ncontent-type: text/plain/ncontent-length: 24/n/n---response end---/n200 OK/nLength: 24 [text/plain]/nSaving to: /'dir/File1/'/n/n 0K 100% 195K=0s/n/n2021-09-19 16:47:21 (195 KB/s) - /'dir/File1/' saved [24/24]/n/nComputing size for /'dir/File1/'/nFile size not declared. Skipping check./nComputing checksum for /'dir/File1/'/nDeclared hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nComputed hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nChecksum matches./nProcessing metalink file /'dir/File2/'.../n/n Metalink/XML/n/n --trust-server-names true/n --directory-prefix /'/'/n/n Counted metalink file 2/n Planned metalink file /'dir/File2/'/n Trusted metalink file /'dir/File2/'/n Current metalink file /'dir/File2/'/n Cleaned metalink file /'File2/'/n Secured metalink file /'dir/File2/'/n/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56358/404/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56358/404/' (UTF-8)/nStoring to dir/File2/n--2021-09-19 16:47:21-- http://127.0.0.1:56358/404/nReusing existing connection to 127.0.0.1:56358./nReusing fd 4./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:56358/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:21 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = /'utf-8/'/nDisabling further reuse of socket 4./nClosed fd 4/n2021-09-19 16:47:21 ERROR 404: Not Found./n/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56358/wrong_file/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56358/wrong_file/' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to dir/File2/n--2021-09-19 16:47:21-- http://127.0.0.1:56358/wrong_file/nConnecting to 127.0.0.1:56358... connected./nCreated socket 4./nReleasing 0x0000000800073110 (new refcount 0)./nDeleting unused 0x0000000800073110./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:56358/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:21 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nLength: 5 [text/plain]/nSaving to: /'dir/File2/'/n/n 0K 100% 63.7K=0s/n/n2021-09-19 16:47:21 (63.7 KB/s) - /'dir/File2/' saved [5/5]/n/nComputing size for /'dir/File2/'/nFile size not declared. Skipping check./nComputing checksum for /'dir/File2/'/nDeclared hash: fac79f893bd735c6b6b2bd5ca9cf49df6145f65a64de55dfc902d98453ab4272/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file /'dir/File2/'./nRemoving /'dir/File2/'./nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56358/File2/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56358/File2/' (UTF-8)/nStoring to dir/File2/n--2021-09-19 16:47:21-- http://127.0.0.1:56358/File2/nReusing existing connection to 127.0.0.1:56358./nReusing fd 4./n/n---request begin---/nGET /File2 HTTP/1.1/nHost: 127.0.0.1:56358/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:21 GMT/ncontent-type: text/plain/ncontent-length: 21/n/n---response end---/n200 OK/nLength: 21 [text/plain]/nSaving to: /'dir/File2/'/n/n 0K 100% 397K=0s/n/n2021-09-19 16:47:21 (397 KB/s) - /'dir/File2/' saved [21/21]/n/nComputing size for /'dir/File2/'/nFile size not declared. Skipping check./nComputing checksum for /'dir/File2/'/nDeclared hash: fac79f893bd735c6b6b2bd5ca9cf49df6145f65a64de55dfc902d98453ab4272/nComputed hash: fac79f893bd735c6b6b2bd5ca9cf49df6145f65a64de55dfc902d98453ab4272/nChecksum matches./nProcessing metalink file /'dir/File4/'.../n/n Metalink/XML/n/n --trust-server-names true/n --directory-prefix /'/'/n/n Counted metalink file 3/n Planned metalink file /'dir/File4/'/n Trusted metalink file /'dir/File4/'/n Current metalink file /'dir/File4/'/n Cleaned metalink file /'File4/'/n Secured metalink file /'dir/File4/'/n/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56358/404/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56358/404/' (UTF-8)/nStoring to dir/File4/n--2021-09-19 16:47:21-- http://127.0.0.1:56358/404/nReusing existing connection to 127.0.0.1:56358./nReusing fd 4./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:56358/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:21 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = /'utf-8/'/nDisabling further reuse of socket 4./nClosed fd 4/n2021-09-19 16:47:21 ERROR 404: Not Found./n/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56358/wrong_file/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56358/wrong_file/' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to dir/File4/n--2021-09-19 16:47:21-- http://127.0.0.1:56358/wrong_file/nConnecting to 127.0.0.1:56358... connected./nCreated socket 4./nReleasing 0x0000000800073370 (new refcount 0)./nDeleting unused 0x0000000800073370./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:56358/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:21 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nLength: 5 [text/plain]/nSaving to: /'dir/File4/'/n/n 0K 100% 92.7K=0s/n/n2021-09-19 16:47:21 (92.7 KB/s) - /'dir/File4/' saved [5/5]/n/nComputing size for /'dir/File4/'/nFile size not declared. Skipping check./nComputing checksum for /'dir/File4/'/nDeclared hash: 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file /'dir/File4/'./nRemoving /'dir/File4/'./nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56358/File4/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56358/File4/' (UTF-8)/nStoring to dir/File4/n--2021-09-19 16:47:21-- http://127.0.0.1:56358/File4/nReusing existing connection to 127.0.0.1:56358./nReusing fd 4./n/n---request begin---/nGET /File4 HTTP/1.1/nHost: 127.0.0.1:56358/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:21 GMT/ncontent-type: text/plain/ncontent-length: 16/n/n---response end---/n200 OK/nLength: 16 [text/plain]/nSaving to: /'dir/File4/'/n/n 0K 100% 311K=0s/n/n2021-09-19 16:47:21 (311 KB/s) - /'dir/File4/' saved [16/16]/n/nComputing size for /'dir/File4/'/nFile size not declared. Skipping check./nComputing checksum for /'dir/File4/'/nDeclared hash: 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314/nComputed hash: 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314/nChecksum matches./nProcessing metalink file /'dir/File5/'.../n/n Metalink/XML/n/n --trust-server-names true/n --directory-prefix /'/'/n/n Counted metalink file 4/n Planned metalink file /'dir/File5/'/n Trusted metalink file /'dir/File5/'/n Current metalink file /'dir/File5/'/n Cleaned metalink file /'File5/'/n Secured metalink file /'dir/File5/'/n/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56358/404/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56358/404/' (UTF-8)/nStoring to dir/File5/n--2021-09-19 16:47:21-- http://127.0.0.1:56358/404/nReusing existing connection to 127.0.0.1:56358./nReusing fd 4./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:56358/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:21 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = /'utf-8/'/nDisabling further reuse of socket 4./nClosed fd 4/n2021-09-19 16:47:21 ERROR 404: Not Found./n/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56358/wrong_file/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56358/wrong_file/' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to dir/File5/n--2021-09-19 16:47:21-- http://127.0.0.1:56358/wrong_file/nConnecting to 127.0.0.1:56358... connected./nCreated socket 4./nReleasing 0x0000000800073fa0 (new refcount 0)./nDeleting unused 0x0000000800073fa0./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:56358/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:21 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nLength: 5 [text/plain]/nSaving to: /'dir/File5/'/n/n 0K 100% 125K=0s/n/n2021-09-19 16:47:21 (125 KB/s) - /'dir/File5/' saved [5/5]/n/nComputing size for /'dir/File5/'/nFile size not declared. Skipping check./nComputing checksum for /'dir/File5/'/nDeclared hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file /'dir/File5/'./nRemoving /'dir/File5/'./nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56358/File5/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56358/File5/' (UTF-8)/nStoring to dir/File5/n--2021-09-19 16:47:21-- http://127.0.0.1:56358/File5/nReusing existing connection to 127.0.0.1:56358./nReusing fd 4./n/n---request begin---/nGET /File5 HTTP/1.1/nHost: 127.0.0.1:56358/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:21 GMT/ncontent-type: text/plain/ncontent-length: 12/n/n---response end---/n200 OK/nLength: 12 [text/plain]/nSaving to: /'dir/File5/'/n/n 0K 100% 142K=0s/n/n2021-09-19 16:47:21 (142 KB/s) - /'dir/File5/' saved [12/12]/n/nComputing size for /'dir/File5/'/nFile size not declared. Skipping check./nComputing checksum for /'dir/File5/'/nDeclared hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nComputed hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nChecksum matches./n'}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-metalink-http-xml-trust-name.py", line 270, in err = http_test.begin () File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-metalink-http-xml-trust-name.py (exit status: 1) FAIL: Test-metalink-http-xml-type ================================= Setting --no-config (noconfig) to 1 Setting --metalink-over-http (metalinkoverhttp) to 1 Setting --metalink-index (metalinkindex) to 0 Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:47:25] "HEAD /main.metalink HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:25] "GET /main.metalink HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:25] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:47:25] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:47:25] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:25] "GET /File1 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:25] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:47:25] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:47:25] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:25] "GET /File2 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:25] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:47:25] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:47:25] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:25] "GET /File4 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:25] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:47:25] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:47:25] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:25] "GET /File5 HTTP/1.1" 200 - Running Test Test-metalink-http-xml-type.py Running Test Test-metalink-http-xml-type.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config --metalink-over-http --metalink-index=0 http://localhost:56366/main.metalink ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '--metalink-over-http', '--metalink-index=0', 'http://localhost:56366/main.metalink'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-http-xml-type.py-test'} {'wget-log': {'content': 'DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-http-xml-type.py-test/.wget-hsts/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://localhost:56366/main.metalink/' (ANSI_X3.4-1968) -> /'http://localhost:56366/main.metalink/' (UTF-8)/nConverted file name /'main.metalink/' (UTF-8) -> /'main.metalink/' (ANSI_X3.4-1968)/n--2021-09-19 16:47:23-- http://localhost:56366/main.metalink/nResolving localhost (localhost)... ::1, 127.0.0.1/nCaching localhost => ::1 127.0.0.1/nConnecting to localhost (localhost)|::1|:56366... Closed fd 4/nfailed: Connection refused./nConnecting to localhost (localhost)|127.0.0.1|:56366... connected./nCreated socket 4./nReleasing 0x000000080006b060 (new refcount 1)./n/n---request begin---/nHEAD /main.metalink HTTP/1.1/nHost: localhost:56366/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:25 GMT/ncontent-type: application/metalink4+xml/ncontent-length: 3121/ncontent-disposition: filename="newname.metalink"/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nChecking for Metalink in HTTP response/nProcessing Content-Type header.../nContent-Type: application/metalink4+xml/nURL=http://localhost:56366/main.metalink/nMEDIATYPE=application/metalink4+xml/nNAME=/nPRIORITY=999999/nMetalink headers found. Switching to Metalink mode./nRetrieving from Metalink /'http://localhost:56366/main.metalink/'/nProcessing metalink file /'main.metalink/'.../n/n Metalink/HTTP/n/n --trust-server-names false/n --directory-prefix /'/'/n/n Counted metalink file 1/n Planned metalink file /'main.metalink/'/n Trusted metalink file /'main.metalink/'/n Current metalink file /'main.metalink/'/n Cleaned metalink file /'main.metalink/'/n Secured metalink file /'main.metalink/'/n/nSearching application/metalink4+xml ordinal number 0.../n Ordinal number 1: /'http://localhost:56366/main.metalink/'/nProcessing metaurl /'http://localhost:56366/main.metalink/'.../nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://localhost:56366/main.metalink/' (ANSI_X3.4-1968) -> /'http://localhost:56366/main.metalink/' (UTF-8)/nStoring to main.metalink.meta#1/n--2021-09-19 16:47:25-- http://localhost:56366/main.metalink/nReusing existing connection to localhost:56366./nReusing fd 4./n/n---request begin---/nGET /main.metalink HTTP/1.1/nHost: localhost:56366/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:25 GMT/ncontent-type: application/metalink4+xml/ncontent-length: 3121/ncontent-disposition: filename="newname.metalink"/n/n---response end---/n200 OK/nLength: 3121 (3.0K) [application/metalink4+xml]/nSaving to: /'main.metalink.meta#1/'/n/n 0K ... 100% 50.7M=0s/n/n2021-09-19 16:47:25 (50.7 MB/s) - /'main.metalink.meta#1/' saved [3121/3121]/n/nRetrieving from Metalink /'main.metalink.meta#1/'/nProcessing metalink file /'dir/File1/'.../n/n Metalink/XML/n/n --trust-server-names false/n --directory-prefix /'/'/n/n Counted metalink file 1/n Planned metalink file /'dir/File1/'/n Trusted metalink file /'main.metalink.meta#1.#1/'/n Current metalink file /'main.metalink.meta#1.#1/'/n Cleaned metalink file /'main.metalink.meta#1.#1/'/n Secured metalink file /'main.metalink.meta#1.#1/'/n/n[--trust-server-names false, --directory-prefix=/'/']/nPlanned metalink file: /'dir/File1/'/nSecured metalink file: /'main.metalink.meta#1.#1/'/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56366/404/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56366/404/' (UTF-8)/nStoring to main.metalink.meta#1.#1/n--2021-09-19 16:47:25-- http://127.0.0.1:56366/404/nconaddr is: 127.0.0.1/nReleasing 0x0000000800073250 (new refcount 0)./nDeleting unused 0x0000000800073250./nReusing existing connection to localhost:56366./nReusing fd 4./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:56366/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:25 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = /'utf-8/'/nDisabling further reuse of socket 4./nClosed fd 4/n2021-09-19 16:47:25 ERROR 404: Not Found./n/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56366/wrong_file/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56366/wrong_file/' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to main.metalink.meta#1.#1/n--2021-09-19 16:47:25-- http://127.0.0.1:56366/wrong_file/nConnecting to 127.0.0.1:56366... connected./nCreated socket 4./nReleasing 0x0000000800073090 (new refcount 0)./nDeleting unused 0x0000000800073090./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:56366/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:25 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nLength: 5 [text/plain]/nSaving to: /'main.metalink.meta#1.#1/'/n/n 0K 100% 56.1K=0s/n/n2021-09-19 16:47:25 (56.1 KB/s) - /'main.metalink.meta#1.#1/' saved [5/5]/n/nComputing size for /'main.metalink.meta#1.#1/'/nFile size not declared. Skipping check./nComputing checksum for /'main.metalink.meta#1.#1/'/nDeclared hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file /'main.metalink.meta#1.#1/'./nRemoving /'main.metalink.meta#1.#1/'./nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56366/File1/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56366/File1/' (UTF-8)/nStoring to main.metalink.meta#1.#1/n--2021-09-19 16:47:25-- http://127.0.0.1:56366/File1/nReusing existing connection to 127.0.0.1:56366./nReusing fd 4./n/n---request begin---/nGET /File1 HTTP/1.1/nHost: 127.0.0.1:56366/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:25 GMT/ncontent-type: text/plain/ncontent-length: 24/n/n---response end---/n200 OK/nLength: 24 [text/plain]/nSaving to: /'main.metalink.meta#1.#1/'/n/n 0K 100% 246K=0s/n/n2021-09-19 16:47:25 (246 KB/s) - /'main.metalink.meta#1.#1/' saved [24/24]/n/nComputing size for /'main.metalink.meta#1.#1/'/nFile size not declared. Skipping check./nComputing checksum for /'main.metalink.meta#1.#1/'/nDeclared hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nComputed hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nChecksum matches./nProcessing metalink file /'dir/File2/'.../n/n Metalink/XML/n/n --trust-server-names false/n --directory-prefix /'/'/n/n Counted metalink file 2/n Planned metalink file /'dir/File2/'/n Trusted metalink file /'main.metalink.meta#1.#2/'/n Current metalink file /'main.metalink.meta#1.#2/'/n Cleaned metalink file /'main.metalink.meta#1.#2/'/n Secured metalink file /'main.metalink.meta#1.#2/'/n/n[--trust-server-names false, --directory-prefix=/'/']/nPlanned metalink file: /'dir/File2/'/nSecured metalink file: /'main.metalink.meta#1.#2/'/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56366/404/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56366/404/' (UTF-8)/nStoring to main.metalink.meta#1.#2/n--2021-09-19 16:47:25-- http://127.0.0.1:56366/404/nReusing existing connection to 127.0.0.1:56366./nReusing fd 4./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:56366/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:25 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = /'utf-8/'/nDisabling further reuse of socket 4./nClosed fd 4/n2021-09-19 16:47:25 ERROR 404: Not Found./n/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56366/wrong_file/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56366/wrong_file/' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to main.metalink.meta#1.#2/n--2021-09-19 16:47:25-- http://127.0.0.1:56366/wrong_file/nConnecting to 127.0.0.1:56366... connected./nCreated socket 4./nReleasing 0x00000008000730c0 (new refcount 0)./nDeleting unused 0x00000008000730c0./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:56366/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:25 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nLength: 5 [text/plain]/nSaving to: /'main.metalink.meta#1.#2/'/n/n 0K 100% 69.1K=0s/n/n2021-09-19 16:47:25 (69.1 KB/s) - /'main.metalink.meta#1.#2/' saved [5/5]/n/nComputing size for /'main.metalink.meta#1.#2/'/nFile size not declared. Skipping check./nComputing checksum for /'main.metalink.meta#1.#2/'/nDeclared hash: fac79f893bd735c6b6b2bd5ca9cf49df6145f65a64de55dfc902d98453ab4272/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file /'main.metalink.meta#1.#2/'./nRemoving /'main.metalink.meta#1.#2/'./nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56366/File2/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56366/File2/' (UTF-8)/nStoring to main.metalink.meta#1.#2/n--2021-09-19 16:47:25-- http://127.0.0.1:56366/File2/nReusing existing connection to 127.0.0.1:56366./nReusing fd 4./n/n---request begin---/nGET /File2 HTTP/1.1/nHost: 127.0.0.1:56366/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:25 GMT/ncontent-type: text/plain/ncontent-length: 21/n/n---response end---/n200 OK/nLength: 21 [text/plain]/nSaving to: /'main.metalink.meta#1.#2/'/n/n 0K 100% 177K=0s/n/n2021-09-19 16:47:25 (177 KB/s) - /'main.metalink.meta#1.#2/' saved [21/21]/n/nComputing size for /'main.metalink.meta#1.#2/'/nFile size not declared. Skipping check./nComputing checksum for /'main.metalink.meta#1.#2/'/nDeclared hash: fac79f893bd735c6b6b2bd5ca9cf49df6145f65a64de55dfc902d98453ab4272/nComputed hash: fac79f893bd735c6b6b2bd5ca9cf49df6145f65a64de55dfc902d98453ab4272/nChecksum matches./nProcessing metalink file /'dir/File4/'.../n/n Metalink/XML/n/n --trust-server-names false/n --directory-prefix /'/'/n/n Counted metalink file 3/n Planned metalink file /'dir/File4/'/n Trusted metalink file /'main.metalink.meta#1.#3/'/n Current metalink file /'main.metalink.meta#1.#3/'/n Cleaned metalink file /'main.metalink.meta#1.#3/'/n Secured metalink file /'main.metalink.meta#1.#3/'/n/n[--trust-server-names false, --directory-prefix=/'/']/nPlanned metalink file: /'dir/File4/'/nSecured metalink file: /'main.metalink.meta#1.#3/'/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56366/404/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56366/404/' (UTF-8)/nStoring to main.metalink.meta#1.#3/n--2021-09-19 16:47:25-- http://127.0.0.1:56366/404/nReusing existing connection to 127.0.0.1:56366./nReusing fd 4./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:56366/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:25 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = /'utf-8/'/nDisabling further reuse of socket 4./nClosed fd 4/n2021-09-19 16:47:25 ERROR 404: Not Found./n/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56366/wrong_file/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56366/wrong_file/' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to main.metalink.meta#1.#3/n--2021-09-19 16:47:25-- http://127.0.0.1:56366/wrong_file/nConnecting to 127.0.0.1:56366... connected./nCreated socket 4./nReleasing 0x0000000800073250 (new refcount 0)./nDeleting unused 0x0000000800073250./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:56366/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:25 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nLength: 5 [text/plain]/nSaving to: /'main.metalink.meta#1.#3/'/n/n 0K 100% 51.4K=0s/n/n2021-09-19 16:47:25 (51.4 KB/s) - /'main.metalink.meta#1.#3/' saved [5/5]/n/nComputing size for /'main.metalink.meta#1.#3/'/nFile size not declared. Skipping check./nComputing checksum for /'main.metalink.meta#1.#3/'/nDeclared hash: 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file /'main.metalink.meta#1.#3/'./nRemoving /'main.metalink.meta#1.#3/'./nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56366/File4/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56366/File4/' (UTF-8)/nStoring to main.metalink.meta#1.#3/n--2021-09-19 16:47:25-- http://127.0.0.1:56366/File4/nReusing existing connection to 127.0.0.1:56366./nReusing fd 4./n/n---request begin---/nGET /File4 HTTP/1.1/nHost: 127.0.0.1:56366/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:25 GMT/ncontent-type: text/plain/ncontent-length: 16/n/n---response end---/n200 OK/nLength: 16 [text/plain]/nSaving to: /'main.metalink.meta#1.#3/'/n/n 0K 100% 224K=0s/n/n2021-09-19 16:47:25 (224 KB/s) - /'main.metalink.meta#1.#3/' saved [16/16]/n/nComputing size for /'main.metalink.meta#1.#3/'/nFile size not declared. Skipping check./nComputing checksum for /'main.metalink.meta#1.#3/'/nDeclared hash: 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314/nComputed hash: 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314/nChecksum matches./nProcessing metalink file /'dir/File5/'.../n/n Metalink/XML/n/n --trust-server-names false/n --directory-prefix /'/'/n/n Counted metalink file 4/n Planned metalink file /'dir/File5/'/n Trusted metalink file /'main.metalink.meta#1.#4/'/n Current metalink file /'main.metalink.meta#1.#4/'/n Cleaned metalink file /'main.metalink.meta#1.#4/'/n Secured metalink file /'main.metalink.meta#1.#4/'/n/n[--trust-server-names false, --directory-prefix=/'/']/nPlanned metalink file: /'dir/File5/'/nSecured metalink file: /'main.metalink.meta#1.#4/'/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56366/404/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56366/404/' (UTF-8)/nStoring to main.metalink.meta#1.#4/n--2021-09-19 16:47:25-- http://127.0.0.1:56366/404/nReusing existing connection to 127.0.0.1:56366./nReusing fd 4./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:56366/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:25 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = /'utf-8/'/nDisabling further reuse of socket 4./nClosed fd 4/n2021-09-19 16:47:25 ERROR 404: Not Found./n/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56366/wrong_file/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56366/wrong_file/' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to main.metalink.meta#1.#4/n--2021-09-19 16:47:25-- http://127.0.0.1:56366/wrong_file/nConnecting to 127.0.0.1:56366... connected./nCreated socket 4./nReleasing 0x0000000800073250 (new refcount 0)./nDeleting unused 0x0000000800073250./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:56366/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:25 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nLength: 5 [text/plain]/nSaving to: /'main.metalink.meta#1.#4/'/n/n 0K 100% 35.5K=0s/n/n2021-09-19 16:47:25 (35.5 KB/s) - /'main.metalink.meta#1.#4/' saved [5/5]/n/nComputing size for /'main.metalink.meta#1.#4/'/nFile size not declared. Skipping check./nComputing checksum for /'main.metalink.meta#1.#4/'/nDeclared hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file /'main.metalink.meta#1.#4/'./nRemoving /'main.metalink.meta#1.#4/'./nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56366/File5/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56366/File5/' (UTF-8)/nStoring to main.metalink.meta#1.#4/n--2021-09-19 16:47:25-- http://127.0.0.1:56366/File5/nReusing existing connection to 127.0.0.1:56366./nReusing fd 4./n/n---request begin---/nGET /File5 HTTP/1.1/nHost: 127.0.0.1:56366/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:25 GMT/ncontent-type: text/plain/ncontent-length: 12/n/n---response end---/n200 OK/nLength: 12 [text/plain]/nSaving to: /'main.metalink.meta#1.#4/'/n/n 0K 100% 172K=0s/n/n2021-09-19 16:47:25 (172 KB/s) - /'main.metalink.meta#1.#4/' saved [12/12]/n/nComputing size for /'main.metalink.meta#1.#4/'/nFile size not declared. Skipping check./nComputing checksum for /'main.metalink.meta#1.#4/'/nDeclared hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nComputed hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nChecksum matches./n'}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-metalink-http-xml-type.py", line 219, in err = http_test.begin () File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-metalink-http-xml-type.py (exit status: 1) FAIL: Test-metalink-http-xml-type-trust ======================================= Setting --no-config (noconfig) to 1 Setting --trust-server-names (trustservernames) to 1 Setting --metalink-over-http (metalinkoverhttp) to 1 Setting --metalink-index (metalinkindex) to 0 Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:47:29] "HEAD /main.metalink HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:30] "GET /main.metalink HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:30] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:47:30] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:47:30] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:30] "GET /File1 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:30] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:47:30] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:47:30] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:30] "GET /File2 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:30] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:47:30] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:47:30] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:30] "GET /File4 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:30] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:47:30] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:47:30] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:30] "GET /File5 HTTP/1.1" 200 - Running Test Test-metalink-http-xml-type-trust.py Running Test Test-metalink-http-xml-type-trust.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config --trust-server-names --metalink-over-http --metalink-index=0 http://localhost:56374/main.metalink ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '--trust-server-names', '--metalink-over-http', '--metalink-index=0', 'http://localhost:56374/main.metalink'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-http-xml-type-trust.py-test'} {'wget-log': {'content': 'DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-http-xml-type-trust.py-test/.wget-hsts/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://localhost:56374/main.metalink/' (ANSI_X3.4-1968) -> /'http://localhost:56374/main.metalink/' (UTF-8)/nConverted file name /'main.metalink/' (UTF-8) -> /'main.metalink/' (ANSI_X3.4-1968)/n--2021-09-19 16:47:27-- http://localhost:56374/main.metalink/nResolving localhost (localhost)... ::1, 127.0.0.1/nCaching localhost => ::1 127.0.0.1/nConnecting to localhost (localhost)|::1|:56374... Closed fd 4/nfailed: Connection refused./nConnecting to localhost (localhost)|127.0.0.1|:56374... connected./nCreated socket 4./nReleasing 0x000000080006b090 (new refcount 1)./n/n---request begin---/nHEAD /main.metalink HTTP/1.1/nHost: localhost:56374/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:29 GMT/ncontent-type: application/metalink4+xml/ncontent-length: 3121/ncontent-disposition: filename="newname.metalink"/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nChecking for Metalink in HTTP response/nProcessing Content-Type header.../nContent-Type: application/metalink4+xml/nURL=http://localhost:56374/main.metalink/nMEDIATYPE=application/metalink4+xml/nNAME=/nPRIORITY=999999/nMetalink headers found. Switching to Metalink mode./nRetrieving from Metalink /'http://localhost:56374/main.metalink/'/nProcessing metalink file /'main.metalink/'.../n/n Metalink/HTTP/n/n --trust-server-names true/n --directory-prefix /'/'/n/n Counted metalink file 1/n Planned metalink file /'main.metalink/'/n Trusted metalink file /'main.metalink/'/n Current metalink file /'main.metalink/'/n Cleaned metalink file /'main.metalink/'/n Secured metalink file /'main.metalink/'/n/nSearching application/metalink4+xml ordinal number 0.../n Ordinal number 1: /'http://localhost:56374/main.metalink/'/nProcessing metaurl /'http://localhost:56374/main.metalink/'.../nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://localhost:56374/main.metalink/' (ANSI_X3.4-1968) -> /'http://localhost:56374/main.metalink/' (UTF-8)/nStoring to main.metalink/n--2021-09-19 16:47:29-- http://localhost:56374/main.metalink/nReusing existing connection to localhost:56374./nReusing fd 4./n/n---request begin---/nGET /main.metalink HTTP/1.1/nHost: localhost:56374/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:30 GMT/ncontent-type: application/metalink4+xml/ncontent-length: 3121/ncontent-disposition: filename="newname.metalink"/n/n---response end---/n200 OK/nLength: 3121 (3.0K) [application/metalink4+xml]/nSaving to: /'main.metalink/'/n/n 0K ... 100% 35.0M=0s/n/n2021-09-19 16:47:30 (35.0 MB/s) - /'main.metalink/' saved [3121/3121]/n/nRetrieving from Metalink /'main.metalink/'/nProcessing metalink file /'dir/File1/'.../n/n Metalink/XML/n/n --trust-server-names true/n --directory-prefix /'/'/n/n Counted metalink file 1/n Planned metalink file /'dir/File1/'/n Trusted metalink file /'dir/File1/'/n Current metalink file /'dir/File1/'/n Cleaned metalink file /'File1/'/n Secured metalink file /'dir/File1/'/n/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56374/404/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56374/404/' (UTF-8)/nStoring to dir/File1/n--2021-09-19 16:47:30-- http://127.0.0.1:56374/404/nconaddr is: 127.0.0.1/nReleasing 0x000000080006b2e0 (new refcount 0)./nDeleting unused 0x000000080006b2e0./nReusing existing connection to localhost:56374./nReusing fd 4./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:56374/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:30 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = /'utf-8/'/nDisabling further reuse of socket 4./nClosed fd 4/n2021-09-19 16:47:30 ERROR 404: Not Found./n/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56374/wrong_file/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56374/wrong_file/' (UTF-8)/nStoring to dir/File1/n--2021-09-19 16:47:30-- http://127.0.0.1:56374/wrong_file/nConnecting to 127.0.0.1:56374... connected./nCreated socket 4./nReleasing 0x00000008000732a0 (new refcount 0)./nDeleting unused 0x00000008000732a0./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:56374/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:30 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nLength: 5 [text/plain]/nSaving to: /'dir/File1/'/n/n 0K 100% 52.2K=0s/n/n2021-09-19 16:47:30 (52.2 KB/s) - /'dir/File1/' saved [5/5]/n/nComputing size for /'dir/File1/'/nFile size not declared. Skipping check./nComputing checksum for /'dir/File1/'/nDeclared hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file /'dir/File1/'./nRemoving /'dir/File1/'./nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56374/File1/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56374/File1/' (UTF-8)/nStoring to dir/File1/n--2021-09-19 16:47:30-- http://127.0.0.1:56374/File1/nReusing existing connection to 127.0.0.1:56374./nReusing fd 4./n/n---request begin---/nGET /File1 HTTP/1.1/nHost: 127.0.0.1:56374/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:30 GMT/ncontent-type: text/plain/ncontent-length: 24/n/n---response end---/n200 OK/nLength: 24 [text/plain]/nSaving to: /'dir/File1/'/n/n 0K 100% 377K=0s/n/n2021-09-19 16:47:30 (377 KB/s) - /'dir/File1/' saved [24/24]/n/nComputing size for /'dir/File1/'/nFile size not declared. Skipping check./nComputing checksum for /'dir/File1/'/nDeclared hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nComputed hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nChecksum matches./nProcessing metalink file /'dir/File2/'.../n/n Metalink/XML/n/n --trust-server-names true/n --directory-prefix /'/'/n/n Counted metalink file 2/n Planned metalink file /'dir/File2/'/n Trusted metalink file /'dir/File2/'/n Current metalink file /'dir/File2/'/n Cleaned metalink file /'File2/'/n Secured metalink file /'dir/File2/'/n/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56374/404/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56374/404/' (UTF-8)/nStoring to dir/File2/n--2021-09-19 16:47:30-- http://127.0.0.1:56374/404/nReusing existing connection to 127.0.0.1:56374./nReusing fd 4./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:56374/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:30 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = /'utf-8/'/nDisabling further reuse of socket 4./nClosed fd 4/n2021-09-19 16:47:30 ERROR 404: Not Found./n/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56374/wrong_file/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56374/wrong_file/' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to dir/File2/n--2021-09-19 16:47:30-- http://127.0.0.1:56374/wrong_file/nConnecting to 127.0.0.1:56374... connected./nCreated socket 4./nReleasing 0x0000000800073170 (new refcount 0)./nDeleting unused 0x0000000800073170./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:56374/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:30 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nLength: 5 [text/plain]/nSaving to: /'dir/File2/'/n/n 0K 100% 54.1K=0s/n/n2021-09-19 16:47:30 (54.1 KB/s) - /'dir/File2/' saved [5/5]/n/nComputing size for /'dir/File2/'/nFile size not declared. Skipping check./nComputing checksum for /'dir/File2/'/nDeclared hash: fac79f893bd735c6b6b2bd5ca9cf49df6145f65a64de55dfc902d98453ab4272/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file /'dir/File2/'./nRemoving /'dir/File2/'./nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56374/File2/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56374/File2/' (UTF-8)/nStoring to dir/File2/n--2021-09-19 16:47:30-- http://127.0.0.1:56374/File2/nReusing existing connection to 127.0.0.1:56374./nReusing fd 4./n/n---request begin---/nGET /File2 HTTP/1.1/nHost: 127.0.0.1:56374/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:30 GMT/ncontent-type: text/plain/ncontent-length: 21/n/n---response end---/n200 OK/nLength: 21 [text/plain]/nSaving to: /'dir/File2/'/n/n 0K 100% 263K=0s/n/n2021-09-19 16:47:30 (263 KB/s) - /'dir/File2/' saved [21/21]/n/nComputing size for /'dir/File2/'/nFile size not declared. Skipping check./nComputing checksum for /'dir/File2/'/nDeclared hash: fac79f893bd735c6b6b2bd5ca9cf49df6145f65a64de55dfc902d98453ab4272/nComputed hash: fac79f893bd735c6b6b2bd5ca9cf49df6145f65a64de55dfc902d98453ab4272/nChecksum matches./nProcessing metalink file /'dir/File4/'.../n/n Metalink/XML/n/n --trust-server-names true/n --directory-prefix /'/'/n/n Counted metalink file 3/n Planned metalink file /'dir/File4/'/n Trusted metalink file /'dir/File4/'/n Current metalink file /'dir/File4/'/n Cleaned metalink file /'File4/'/n Secured metalink file /'dir/File4/'/n/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56374/404/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56374/404/' (UTF-8)/nStoring to dir/File4/n--2021-09-19 16:47:30-- http://127.0.0.1:56374/404/nReusing existing connection to 127.0.0.1:56374./nReusing fd 4./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:56374/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:30 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = /'utf-8/'/nDisabling further reuse of socket 4./nClosed fd 4/n2021-09-19 16:47:30 ERROR 404: Not Found./n/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56374/wrong_file/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56374/wrong_file/' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to dir/File4/n--2021-09-19 16:47:30-- http://127.0.0.1:56374/wrong_file/nConnecting to 127.0.0.1:56374... connected./nCreated socket 4./nReleasing 0x000000080006b2e0 (new refcount 0)./nDeleting unused 0x000000080006b2e0./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:56374/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:30 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nLength: 5 [text/plain]/nSaving to: /'dir/File4/'/n/n 0K 100% 72.9K=0s/n/n2021-09-19 16:47:30 (72.9 KB/s) - /'dir/File4/' saved [5/5]/n/nComputing size for /'dir/File4/'/nFile size not declared. Skipping check./nComputing checksum for /'dir/File4/'/nDeclared hash: 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file /'dir/File4/'./nRemoving /'dir/File4/'./nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56374/File4/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56374/File4/' (UTF-8)/nStoring to dir/File4/n--2021-09-19 16:47:30-- http://127.0.0.1:56374/File4/nReusing existing connection to 127.0.0.1:56374./nReusing fd 4./n/n---request begin---/nGET /File4 HTTP/1.1/nHost: 127.0.0.1:56374/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:30 GMT/ncontent-type: text/plain/ncontent-length: 16/n/n---response end---/n200 OK/nLength: 16 [text/plain]/nSaving to: /'dir/File4/'/n/n 0K 100% 259K=0s/n/n2021-09-19 16:47:30 (259 KB/s) - /'dir/File4/' saved [16/16]/n/nComputing size for /'dir/File4/'/nFile size not declared. Skipping check./nComputing checksum for /'dir/File4/'/nDeclared hash: 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314/nComputed hash: 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314/nChecksum matches./nProcessing metalink file /'dir/File5/'.../n/n Metalink/XML/n/n --trust-server-names true/n --directory-prefix /'/'/n/n Counted metalink file 4/n Planned metalink file /'dir/File5/'/n Trusted metalink file /'dir/File5/'/n Current metalink file /'dir/File5/'/n Cleaned metalink file /'File5/'/n Secured metalink file /'dir/File5/'/n/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56374/404/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56374/404/' (UTF-8)/nStoring to dir/File5/n--2021-09-19 16:47:30-- http://127.0.0.1:56374/404/nReusing existing connection to 127.0.0.1:56374./nReusing fd 4./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:56374/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:30 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = /'utf-8/'/nDisabling further reuse of socket 4./nClosed fd 4/n2021-09-19 16:47:30 ERROR 404: Not Found./n/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56374/wrong_file/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56374/wrong_file/' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to dir/File5/n--2021-09-19 16:47:30-- http://127.0.0.1:56374/wrong_file/nConnecting to 127.0.0.1:56374... connected./nCreated socket 4./nReleasing 0x0000000800073730 (new refcount 0)./nDeleting unused 0x0000000800073730./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:56374/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:30 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nLength: 5 [text/plain]/nSaving to: /'dir/File5/'/n/n 0K 100% 37.7K=0s/n/n2021-09-19 16:47:30 (37.7 KB/s) - /'dir/File5/' saved [5/5]/n/nComputing size for /'dir/File5/'/nFile size not declared. Skipping check./nComputing checksum for /'dir/File5/'/nDeclared hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file /'dir/File5/'./nRemoving /'dir/File5/'./nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56374/File5/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56374/File5/' (UTF-8)/nStoring to dir/File5/n--2021-09-19 16:47:30-- http://127.0.0.1:56374/File5/nReusing existing connection to 127.0.0.1:56374./nReusing fd 4./n/n---request begin---/nGET /File5 HTTP/1.1/nHost: 127.0.0.1:56374/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:30 GMT/ncontent-type: text/plain/ncontent-length: 12/n/n---response end---/n200 OK/nLength: 12 [text/plain]/nSaving to: /'dir/File5/'/n/n 0K 100% 200K=0s/n/n2021-09-19 16:47:30 (200 KB/s) - /'dir/File5/' saved [12/12]/n/nComputing size for /'dir/File5/'/nFile size not declared. Skipping check./nComputing checksum for /'dir/File5/'/nDeclared hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nComputed hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nChecksum matches./n'}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-metalink-http-xml-type-trust.py", line 219, in err = http_test.begin () File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-metalink-http-xml-type-trust.py (exit status: 1) FAIL: Test-metalink-http-xml-type-content ========================================= Setting --no-config (noconfig) to 1 Setting --metalink-over-http (metalinkoverhttp) to 1 Setting --content-disposition (contentdisposition) to 1 Setting --metalink-index (metalinkindex) to 0 Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:47:34] "HEAD /main.metalink HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:34] "GET /main.metalink HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:34] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:47:34] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:47:34] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:34] "GET /File1 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:34] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:47:34] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:47:34] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:34] "GET /File2 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:34] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:47:34] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:47:34] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:34] "GET /File4 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:34] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:47:34] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:47:34] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:34] "GET /File5 HTTP/1.1" 200 - Running Test Test-metalink-http-xml-type-content.py Running Test Test-metalink-http-xml-type-content.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config --metalink-over-http --content-disposition --metalink-index=0 http://localhost:56382/main.metalink ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '--metalink-over-http', '--content-disposition', '--metalink-index=0', 'http://localhost:56382/main.metalink'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-http-xml-type-content.py-test'} {'wget-log': {'content': 'DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-http-xml-type-content.py-test/.wget-hsts/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://localhost:56382/main.metalink/' (ANSI_X3.4-1968) -> /'http://localhost:56382/main.metalink/' (UTF-8)/n--2021-09-19 16:47:31-- http://localhost:56382/main.metalink/nResolving localhost (localhost)... ::1, 127.0.0.1/nCaching localhost => ::1 127.0.0.1/nConnecting to localhost (localhost)|::1|:56382... Closed fd 4/nfailed: Connection refused./nConnecting to localhost (localhost)|127.0.0.1|:56382... connected./nCreated socket 4./nReleasing 0x000000080006b090 (new refcount 1)./n/n---request begin---/nHEAD /main.metalink HTTP/1.1/nHost: localhost:56382/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:34 GMT/ncontent-type: application/metalink4+xml/ncontent-length: 3121/ncontent-disposition: filename="newname.metalink"/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nChecking for Metalink in HTTP response/nConverted file name /'main.metalink/' (UTF-8) -> /'main.metalink/' (ANSI_X3.4-1968)/nProcessing Content-Type header.../nContent-Type: application/metalink4+xml/nURL=http://localhost:56382/main.metalink/nMEDIATYPE=application/metalink4+xml/nNAME=newname.metalink/nPRIORITY=999999/nMetalink headers found. Switching to Metalink mode./nRetrieving from Metalink /'http://localhost:56382/main.metalink/'/nProcessing metalink file /'main.metalink/'.../n/n Metalink/HTTP/n/n --trust-server-names false/n --directory-prefix /'/'/n/n Counted metalink file 1/n Planned metalink file /'main.metalink/'/n Trusted metalink file /'main.metalink/'/n Current metalink file /'main.metalink/'/n Cleaned metalink file /'main.metalink/'/n Secured metalink file /'main.metalink/'/n/nSearching application/metalink4+xml ordinal number 0.../n Ordinal number 1: /'http://localhost:56382/main.metalink/'/nProcessing metaurl /'http://localhost:56382/main.metalink/'.../nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://localhost:56382/main.metalink/' (ANSI_X3.4-1968) -> /'http://localhost:56382/main.metalink/' (UTF-8)/nStoring to main.metalink.meta#1/n--2021-09-19 16:47:34-- http://localhost:56382/main.metalink/nReusing existing connection to localhost:56382./nReusing fd 4./n/n---request begin---/nGET /main.metalink HTTP/1.1/nHost: localhost:56382/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:34 GMT/ncontent-type: application/metalink4+xml/ncontent-length: 3121/ncontent-disposition: filename="newname.metalink"/n/n---response end---/n200 OK/nLength: 3121 (3.0K) [application/metalink4+xml]/nSaving to: /'main.metalink.meta#1/'/n/n 0K ... 100% 40.7M=0s/n/n2021-09-19 16:47:34 (40.7 MB/s) - /'main.metalink.meta#1/' saved [3121/3121]/n/nRetrieving from Metalink /'main.metalink.meta#1/'/nProcessing metalink file /'dir/File1/'.../n/n Metalink/XML/n/n --trust-server-names false/n --directory-prefix /'/'/n/n Counted metalink file 1/n Planned metalink file /'dir/File1/'/n Trusted metalink file /'main.metalink.meta#1.#1/'/n Current metalink file /'main.metalink.meta#1.#1/'/n Cleaned metalink file /'main.metalink.meta#1.#1/'/n Secured metalink file /'main.metalink.meta#1.#1/'/n/n[--trust-server-names false, --directory-prefix=/'/']/nPlanned metalink file: /'dir/File1/'/nSecured metalink file: /'main.metalink.meta#1.#1/'/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56382/404/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56382/404/' (UTF-8)/nStoring to main.metalink.meta#1.#1/n--2021-09-19 16:47:34-- http://127.0.0.1:56382/404/nconaddr is: 127.0.0.1/nReleasing 0x00000008000737e0 (new refcount 0)./nDeleting unused 0x00000008000737e0./nReusing existing connection to localhost:56382./nReusing fd 4./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:56382/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:34 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = /'utf-8/'/nDisabling further reuse of socket 4./nClosed fd 4/n2021-09-19 16:47:34 ERROR 404: Not Found./n/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56382/wrong_file/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56382/wrong_file/' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to main.metalink.meta#1.#1/n--2021-09-19 16:47:34-- http://127.0.0.1:56382/wrong_file/nConnecting to 127.0.0.1:56382... connected./nCreated socket 4./nReleasing 0x00000008000731a0 (new refcount 0)./nDeleting unused 0x00000008000731a0./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:56382/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:34 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nLength: 5 [text/plain]/nSaving to: /'main.metalink.meta#1.#1/'/n/n 0K 100% 85.7K=0s/n/n2021-09-19 16:47:34 (85.7 KB/s) - /'main.metalink.meta#1.#1/' saved [5/5]/n/nComputing size for /'main.metalink.meta#1.#1/'/nFile size not declared. Skipping check./nComputing checksum for /'main.metalink.meta#1.#1/'/nDeclared hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file /'main.metalink.meta#1.#1/'./nRemoving /'main.metalink.meta#1.#1/'./nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56382/File1/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56382/File1/' (UTF-8)/nStoring to main.metalink.meta#1.#1/n--2021-09-19 16:47:34-- http://127.0.0.1:56382/File1/nReusing existing connection to 127.0.0.1:56382./nReusing fd 4./n/n---request begin---/nGET /File1 HTTP/1.1/nHost: 127.0.0.1:56382/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:34 GMT/ncontent-type: text/plain/ncontent-length: 24/n/n---response end---/n200 OK/nLength: 24 [text/plain]/nSaving to: /'main.metalink.meta#1.#1/'/n/n 0K 100% 384K=0s/n/n2021-09-19 16:47:34 (384 KB/s) - /'main.metalink.meta#1.#1/' saved [24/24]/n/nComputing size for /'main.metalink.meta#1.#1/'/nFile size not declared. Skipping check./nComputing checksum for /'main.metalink.meta#1.#1/'/nDeclared hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nComputed hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nChecksum matches./nProcessing metalink file /'dir/File2/'.../n/n Metalink/XML/n/n --trust-server-names false/n --directory-prefix /'/'/n/n Counted metalink file 2/n Planned metalink file /'dir/File2/'/n Trusted metalink file /'main.metalink.meta#1.#2/'/n Current metalink file /'main.metalink.meta#1.#2/'/n Cleaned metalink file /'main.metalink.meta#1.#2/'/n Secured metalink file /'main.metalink.meta#1.#2/'/n/n[--trust-server-names false, --directory-prefix=/'/']/nPlanned metalink file: /'dir/File2/'/nSecured metalink file: /'main.metalink.meta#1.#2/'/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56382/404/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56382/404/' (UTF-8)/nStoring to main.metalink.meta#1.#2/n--2021-09-19 16:47:34-- http://127.0.0.1:56382/404/nReusing existing connection to 127.0.0.1:56382./nReusing fd 4./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:56382/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:34 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = /'utf-8/'/nDisabling further reuse of socket 4./nClosed fd 4/n2021-09-19 16:47:34 ERROR 404: Not Found./n/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56382/wrong_file/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56382/wrong_file/' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to main.metalink.meta#1.#2/n--2021-09-19 16:47:34-- http://127.0.0.1:56382/wrong_file/nConnecting to 127.0.0.1:56382... connected./nCreated socket 4./nReleasing 0x000000080006b250 (new refcount 0)./nDeleting unused 0x000000080006b250./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:56382/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:34 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nLength: 5 [text/plain]/nSaving to: /'main.metalink.meta#1.#2/'/n/n 0K 100% 73.9K=0s/n/n2021-09-19 16:47:34 (73.9 KB/s) - /'main.metalink.meta#1.#2/' saved [5/5]/n/nComputing size for /'main.metalink.meta#1.#2/'/nFile size not declared. Skipping check./nComputing checksum for /'main.metalink.meta#1.#2/'/nDeclared hash: fac79f893bd735c6b6b2bd5ca9cf49df6145f65a64de55dfc902d98453ab4272/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file /'main.metalink.meta#1.#2/'./nRemoving /'main.metalink.meta#1.#2/'./nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56382/File2/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56382/File2/' (UTF-8)/nStoring to main.metalink.meta#1.#2/n--2021-09-19 16:47:34-- http://127.0.0.1:56382/File2/nReusing existing connection to 127.0.0.1:56382./nReusing fd 4./n/n---request begin---/nGET /File2 HTTP/1.1/nHost: 127.0.0.1:56382/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:34 GMT/ncontent-type: text/plain/ncontent-length: 21/n/n---response end---/n200 OK/nLength: 21 [text/plain]/nSaving to: /'main.metalink.meta#1.#2/'/n/n 0K 100% 278K=0s/n/n2021-09-19 16:47:34 (278 KB/s) - /'main.metalink.meta#1.#2/' saved [21/21]/n/nComputing size for /'main.metalink.meta#1.#2/'/nFile size not declared. Skipping check./nComputing checksum for /'main.metalink.meta#1.#2/'/nDeclared hash: fac79f893bd735c6b6b2bd5ca9cf49df6145f65a64de55dfc902d98453ab4272/nComputed hash: fac79f893bd735c6b6b2bd5ca9cf49df6145f65a64de55dfc902d98453ab4272/nChecksum matches./nProcessing metalink file /'dir/File4/'.../n/n Metalink/XML/n/n --trust-server-names false/n --directory-prefix /'/'/n/n Counted metalink file 3/n Planned metalink file /'dir/File4/'/n Trusted metalink file /'main.metalink.meta#1.#3/'/n Current metalink file /'main.metalink.meta#1.#3/'/n Cleaned metalink file /'main.metalink.meta#1.#3/'/n Secured metalink file /'main.metalink.meta#1.#3/'/n/n[--trust-server-names false, --directory-prefix=/'/']/nPlanned metalink file: /'dir/File4/'/nSecured metalink file: /'main.metalink.meta#1.#3/'/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56382/404/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56382/404/' (UTF-8)/nStoring to main.metalink.meta#1.#3/n--2021-09-19 16:47:34-- http://127.0.0.1:56382/404/nReusing existing connection to 127.0.0.1:56382./nReusing fd 4./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:56382/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:34 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = /'utf-8/'/nDisabling further reuse of socket 4./nClosed fd 4/n2021-09-19 16:47:34 ERROR 404: Not Found./n/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56382/wrong_file/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56382/wrong_file/' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to main.metalink.meta#1.#3/n--2021-09-19 16:47:34-- http://127.0.0.1:56382/wrong_file/nConnecting to 127.0.0.1:56382... connected./nCreated socket 4./nReleasing 0x0000000800073660 (new refcount 0)./nDeleting unused 0x0000000800073660./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:56382/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:34 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nLength: 5 [text/plain]/nSaving to: /'main.metalink.meta#1.#3/'/n/n 0K 100% 103K=0s/n/n2021-09-19 16:47:34 (103 KB/s) - /'main.metalink.meta#1.#3/' saved [5/5]/n/nComputing size for /'main.metalink.meta#1.#3/'/nFile size not declared. Skipping check./nComputing checksum for /'main.metalink.meta#1.#3/'/nDeclared hash: 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file /'main.metalink.meta#1.#3/'./nRemoving /'main.metalink.meta#1.#3/'./nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56382/File4/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56382/File4/' (UTF-8)/nStoring to main.metalink.meta#1.#3/n--2021-09-19 16:47:34-- http://127.0.0.1:56382/File4/nReusing existing connection to 127.0.0.1:56382./nReusing fd 4./n/n---request begin---/nGET /File4 HTTP/1.1/nHost: 127.0.0.1:56382/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:34 GMT/ncontent-type: text/plain/ncontent-length: 16/n/n---response end---/n200 OK/nLength: 16 [text/plain]/nSaving to: /'main.metalink.meta#1.#3/'/n/n 0K 100% 300K=0s/n/n2021-09-19 16:47:34 (300 KB/s) - /'main.metalink.meta#1.#3/' saved [16/16]/n/nComputing size for /'main.metalink.meta#1.#3/'/nFile size not declared. Skipping check./nComputing checksum for /'main.metalink.meta#1.#3/'/nDeclared hash: 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314/nComputed hash: 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314/nChecksum matches./nProcessing metalink file /'dir/File5/'.../n/n Metalink/XML/n/n --trust-server-names false/n --directory-prefix /'/'/n/n Counted metalink file 4/n Planned metalink file /'dir/File5/'/n Trusted metalink file /'main.metalink.meta#1.#4/'/n Current metalink file /'main.metalink.meta#1.#4/'/n Cleaned metalink file /'main.metalink.meta#1.#4/'/n Secured metalink file /'main.metalink.meta#1.#4/'/n/n[--trust-server-names false, --directory-prefix=/'/']/nPlanned metalink file: /'dir/File5/'/nSecured metalink file: /'main.metalink.meta#1.#4/'/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56382/404/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56382/404/' (UTF-8)/nStoring to main.metalink.meta#1.#4/n--2021-09-19 16:47:34-- http://127.0.0.1:56382/404/nReusing existing connection to 127.0.0.1:56382./nReusing fd 4./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:56382/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:34 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = /'utf-8/'/nDisabling further reuse of socket 4./nClosed fd 4/n2021-09-19 16:47:34 ERROR 404: Not Found./n/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56382/wrong_file/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56382/wrong_file/' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to main.metalink.meta#1.#4/n--2021-09-19 16:47:34-- http://127.0.0.1:56382/wrong_file/nConnecting to 127.0.0.1:56382... connected./nCreated socket 4./nReleasing 0x000000080006b2e0 (new refcount 0)./nDeleting unused 0x000000080006b2e0./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:56382/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:34 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nLength: 5 [text/plain]/nSaving to: /'main.metalink.meta#1.#4/'/n/n 0K 100% 58.5K=0s/n/n2021-09-19 16:47:34 (58.5 KB/s) - /'main.metalink.meta#1.#4/' saved [5/5]/n/nComputing size for /'main.metalink.meta#1.#4/'/nFile size not declared. Skipping check./nComputing checksum for /'main.metalink.meta#1.#4/'/nDeclared hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file /'main.metalink.meta#1.#4/'./nRemoving /'main.metalink.meta#1.#4/'./nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56382/File5/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56382/File5/' (UTF-8)/nStoring to main.metalink.meta#1.#4/n--2021-09-19 16:47:34-- http://127.0.0.1:56382/File5/nReusing existing connection to 127.0.0.1:56382./nReusing fd 4./n/n---request begin---/nGET /File5 HTTP/1.1/nHost: 127.0.0.1:56382/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:34 GMT/ncontent-type: text/plain/ncontent-length: 12/n/n---response end---/n200 OK/nLength: 12 [text/plain]/nSaving to: /'main.metalink.meta#1.#4/'/n/n 0K 100% 150K=0s/n/n2021-09-19 16:47:34 (150 KB/s) - /'main.metalink.meta#1.#4/' saved [12/12]/n/nComputing size for /'main.metalink.meta#1.#4/'/nFile size not declared. Skipping check./nComputing checksum for /'main.metalink.meta#1.#4/'/nDeclared hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nComputed hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nChecksum matches./n'}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-metalink-http-xml-type-content.py", line 219, in err = http_test.begin () File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-metalink-http-xml-type-content.py (exit status: 1) FAIL: Test-metalink-http-xml-type-trust-content =============================================== Setting --no-config (noconfig) to 1 Setting --trust-server-names (trustservernames) to 1 Setting --metalink-over-http (metalinkoverhttp) to 1 Setting --content-disposition (contentdisposition) to 1 Setting --metalink-index (metalinkindex) to 0 Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:47:38] "HEAD /main.metalink HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:38] "GET /main.metalink HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:38] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:47:38] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:47:38] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:38] "GET /File1 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:38] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:47:38] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:47:38] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:38] "GET /File2 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:38] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:47:38] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:47:38] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:38] "GET /File4 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:38] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:47:38] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:47:38] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:38] "GET /File5 HTTP/1.1" 200 - Running Test Test-metalink-http-xml-type-trust-content.py Running Test Test-metalink-http-xml-type-trust-content.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config --trust-server-names --metalink-over-http --content-disposition --metalink-index=0 http://localhost:56390/main.metalink ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '--trust-server-names', '--metalink-over-http', '--content-disposition', '--metalink-index=0', 'http://localhost:56390/main.metalink'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-http-xml-type-trust-content.py-test'} {'wget-log': {'content': 'DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-http-xml-type-trust-content.py-test/.wget-hsts/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://localhost:56390/main.metalink/' (ANSI_X3.4-1968) -> /'http://localhost:56390/main.metalink/' (UTF-8)/n--2021-09-19 16:47:36-- http://localhost:56390/main.metalink/nResolving localhost (localhost)... ::1, 127.0.0.1/nCaching localhost => ::1 127.0.0.1/nConnecting to localhost (localhost)|::1|:56390... Closed fd 4/nfailed: Connection refused./nConnecting to localhost (localhost)|127.0.0.1|:56390... connected./nCreated socket 4./nReleasing 0x000000080006b0b0 (new refcount 1)./n/n---request begin---/nHEAD /main.metalink HTTP/1.1/nHost: localhost:56390/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:38 GMT/ncontent-type: application/metalink4+xml/ncontent-length: 3121/ncontent-disposition: filename="newname.metalink"/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nChecking for Metalink in HTTP response/nConverted file name /'main.metalink/' (UTF-8) -> /'main.metalink/' (ANSI_X3.4-1968)/nProcessing Content-Type header.../nContent-Type: application/metalink4+xml/nURL=http://localhost:56390/main.metalink/nMEDIATYPE=application/metalink4+xml/nNAME=newname.metalink/nPRIORITY=999999/nMetalink headers found. Switching to Metalink mode./nRetrieving from Metalink /'http://localhost:56390/main.metalink/'/nProcessing metalink file /'main.metalink/'.../n/n Metalink/HTTP/n/n --trust-server-names true/n --directory-prefix /'/'/n/n Counted metalink file 1/n Planned metalink file /'main.metalink/'/n Trusted metalink file /'main.metalink/'/n Current metalink file /'main.metalink/'/n Cleaned metalink file /'main.metalink/'/n Secured metalink file /'main.metalink/'/n/nSearching application/metalink4+xml ordinal number 0.../n Ordinal number 1: /'http://localhost:56390/main.metalink/'/nProcessing metaurl /'http://localhost:56390/main.metalink/'.../nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://localhost:56390/main.metalink/' (ANSI_X3.4-1968) -> /'http://localhost:56390/main.metalink/' (UTF-8)/nStoring to newname.metalink/n--2021-09-19 16:47:38-- http://localhost:56390/main.metalink/nReusing existing connection to localhost:56390./nReusing fd 4./n/n---request begin---/nGET /main.metalink HTTP/1.1/nHost: localhost:56390/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:38 GMT/ncontent-type: application/metalink4+xml/ncontent-length: 3121/ncontent-disposition: filename="newname.metalink"/n/n---response end---/n200 OK/nLength: 3121 (3.0K) [application/metalink4+xml]/nSaving to: /'newname.metalink/'/n/n 0K ... 100% 34.6M=0s/n/n2021-09-19 16:47:38 (34.6 MB/s) - /'newname.metalink/' saved [3121/3121]/n/nRetrieving from Metalink /'newname.metalink/'/nProcessing metalink file /'dir/File1/'.../n/n Metalink/XML/n/n --trust-server-names true/n --directory-prefix /'/'/n/n Counted metalink file 1/n Planned metalink file /'dir/File1/'/n Trusted metalink file /'dir/File1/'/n Current metalink file /'dir/File1/'/n Cleaned metalink file /'File1/'/n Secured metalink file /'dir/File1/'/n/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56390/404/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56390/404/' (UTF-8)/nStoring to dir/File1/n--2021-09-19 16:47:38-- http://127.0.0.1:56390/404/nconaddr is: 127.0.0.1/nReleasing 0x000000080006b300 (new refcount 0)./nDeleting unused 0x000000080006b300./nReusing existing connection to localhost:56390./nReusing fd 4./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:56390/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:38 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = /'utf-8/'/nDisabling further reuse of socket 4./nClosed fd 4/n2021-09-19 16:47:38 ERROR 404: Not Found./n/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56390/wrong_file/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56390/wrong_file/' (UTF-8)/nStoring to dir/File1/n--2021-09-19 16:47:38-- http://127.0.0.1:56390/wrong_file/nConnecting to 127.0.0.1:56390... connected./nCreated socket 4./nReleasing 0x0000000800073230 (new refcount 0)./nDeleting unused 0x0000000800073230./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:56390/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:38 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nLength: 5 [text/plain]/nSaving to: /'dir/File1/'/n/n 0K 100% 43.9K=0s/n/n2021-09-19 16:47:38 (43.9 KB/s) - /'dir/File1/' saved [5/5]/n/nComputing size for /'dir/File1/'/nFile size not declared. Skipping check./nComputing checksum for /'dir/File1/'/nDeclared hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file /'dir/File1/'./nRemoving /'dir/File1/'./nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56390/File1/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56390/File1/' (UTF-8)/nStoring to dir/File1/n--2021-09-19 16:47:38-- http://127.0.0.1:56390/File1/nReusing existing connection to 127.0.0.1:56390./nReusing fd 4./n/n---request begin---/nGET /File1 HTTP/1.1/nHost: 127.0.0.1:56390/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:38 GMT/ncontent-type: text/plain/ncontent-length: 24/n/n---response end---/n200 OK/nLength: 24 [text/plain]/nSaving to: /'dir/File1/'/n/n 0K 100% 317K=0s/n/n2021-09-19 16:47:38 (317 KB/s) - /'dir/File1/' saved [24/24]/n/nComputing size for /'dir/File1/'/nFile size not declared. Skipping check./nComputing checksum for /'dir/File1/'/nDeclared hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nComputed hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nChecksum matches./nProcessing metalink file /'dir/File2/'.../n/n Metalink/XML/n/n --trust-server-names true/n --directory-prefix /'/'/n/n Counted metalink file 2/n Planned metalink file /'dir/File2/'/n Trusted metalink file /'dir/File2/'/n Current metalink file /'dir/File2/'/n Cleaned metalink file /'File2/'/n Secured metalink file /'dir/File2/'/n/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56390/404/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56390/404/' (UTF-8)/nStoring to dir/File2/n--2021-09-19 16:47:38-- http://127.0.0.1:56390/404/nReusing existing connection to 127.0.0.1:56390./nReusing fd 4./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:56390/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:38 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = /'utf-8/'/nDisabling further reuse of socket 4./nClosed fd 4/n2021-09-19 16:47:38 ERROR 404: Not Found./n/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56390/wrong_file/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56390/wrong_file/' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to dir/File2/n--2021-09-19 16:47:38-- http://127.0.0.1:56390/wrong_file/nConnecting to 127.0.0.1:56390... connected./nCreated socket 4./nReleasing 0x0000000800073100 (new refcount 0)./nDeleting unused 0x0000000800073100./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:56390/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:38 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nLength: 5 [text/plain]/nSaving to: /'dir/File2/'/n/n 0K 100% 96.3K=0s/n/n2021-09-19 16:47:38 (96.3 KB/s) - /'dir/File2/' saved [5/5]/n/nComputing size for /'dir/File2/'/nFile size not declared. Skipping check./nComputing checksum for /'dir/File2/'/nDeclared hash: fac79f893bd735c6b6b2bd5ca9cf49df6145f65a64de55dfc902d98453ab4272/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file /'dir/File2/'./nRemoving /'dir/File2/'./nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56390/File2/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56390/File2/' (UTF-8)/nStoring to dir/File2/n--2021-09-19 16:47:38-- http://127.0.0.1:56390/File2/nReusing existing connection to 127.0.0.1:56390./nReusing fd 4./n/n---request begin---/nGET /File2 HTTP/1.1/nHost: 127.0.0.1:56390/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:38 GMT/ncontent-type: text/plain/ncontent-length: 21/n/n---response end---/n200 OK/nLength: 21 [text/plain]/nSaving to: /'dir/File2/'/n/n 0K 100% 371K=0s/n/n2021-09-19 16:47:38 (371 KB/s) - /'dir/File2/' saved [21/21]/n/nComputing size for /'dir/File2/'/nFile size not declared. Skipping check./nComputing checksum for /'dir/File2/'/nDeclared hash: fac79f893bd735c6b6b2bd5ca9cf49df6145f65a64de55dfc902d98453ab4272/nComputed hash: fac79f893bd735c6b6b2bd5ca9cf49df6145f65a64de55dfc902d98453ab4272/nChecksum matches./nProcessing metalink file /'dir/File4/'.../n/n Metalink/XML/n/n --trust-server-names true/n --directory-prefix /'/'/n/n Counted metalink file 3/n Planned metalink file /'dir/File4/'/n Trusted metalink file /'dir/File4/'/n Current metalink file /'dir/File4/'/n Cleaned metalink file /'File4/'/n Secured metalink file /'dir/File4/'/n/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56390/404/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56390/404/' (UTF-8)/nStoring to dir/File4/n--2021-09-19 16:47:38-- http://127.0.0.1:56390/404/nReusing existing connection to 127.0.0.1:56390./nReusing fd 4./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:56390/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:38 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = /'utf-8/'/nDisabling further reuse of socket 4./nClosed fd 4/n2021-09-19 16:47:38 ERROR 404: Not Found./n/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56390/wrong_file/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56390/wrong_file/' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to dir/File4/n--2021-09-19 16:47:38-- http://127.0.0.1:56390/wrong_file/nConnecting to 127.0.0.1:56390... connected./nCreated socket 4./nReleasing 0x000000080006b300 (new refcount 0)./nDeleting unused 0x000000080006b300./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:56390/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:38 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nLength: 5 [text/plain]/nSaving to: /'dir/File4/'/n/n 0K 100% 87.3K=0s/n/n2021-09-19 16:47:38 (87.3 KB/s) - /'dir/File4/' saved [5/5]/n/nComputing size for /'dir/File4/'/nFile size not declared. Skipping check./nComputing checksum for /'dir/File4/'/nDeclared hash: 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file /'dir/File4/'./nRemoving /'dir/File4/'./nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56390/File4/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56390/File4/' (UTF-8)/nStoring to dir/File4/n--2021-09-19 16:47:38-- http://127.0.0.1:56390/File4/nReusing existing connection to 127.0.0.1:56390./nReusing fd 4./n/n---request begin---/nGET /File4 HTTP/1.1/nHost: 127.0.0.1:56390/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:38 GMT/ncontent-type: text/plain/ncontent-length: 16/n/n---response end---/n200 OK/nLength: 16 [text/plain]/nSaving to: /'dir/File4/'/n/n 0K 100% 169K=0s/n/n2021-09-19 16:47:38 (169 KB/s) - /'dir/File4/' saved [16/16]/n/nComputing size for /'dir/File4/'/nFile size not declared. Skipping check./nComputing checksum for /'dir/File4/'/nDeclared hash: 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314/nComputed hash: 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314/nChecksum matches./nProcessing metalink file /'dir/File5/'.../n/n Metalink/XML/n/n --trust-server-names true/n --directory-prefix /'/'/n/n Counted metalink file 4/n Planned metalink file /'dir/File5/'/n Trusted metalink file /'dir/File5/'/n Current metalink file /'dir/File5/'/n Cleaned metalink file /'File5/'/n Secured metalink file /'dir/File5/'/n/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56390/404/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56390/404/' (UTF-8)/nStoring to dir/File5/n--2021-09-19 16:47:38-- http://127.0.0.1:56390/404/nReusing existing connection to 127.0.0.1:56390./nReusing fd 4./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:56390/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:38 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = /'utf-8/'/nDisabling further reuse of socket 4./nClosed fd 4/n2021-09-19 16:47:38 ERROR 404: Not Found./n/nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56390/wrong_file/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56390/wrong_file/' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to dir/File5/n--2021-09-19 16:47:38-- http://127.0.0.1:56390/wrong_file/nConnecting to 127.0.0.1:56390... connected./nCreated socket 4./nReleasing 0x00000008000736c0 (new refcount 0)./nDeleting unused 0x00000008000736c0./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:56390/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:38 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nLength: 5 [text/plain]/nSaving to: /'dir/File5/'/n/n 0K 100% 91.4K=0s/n/n2021-09-19 16:47:38 (91.4 KB/s) - /'dir/File5/' saved [5/5]/n/nComputing size for /'dir/File5/'/nFile size not declared. Skipping check./nComputing checksum for /'dir/File5/'/nDeclared hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file /'dir/File5/'./nRemoving /'dir/File5/'./nURI encoding = /'ANSI_X3.4-1968/'/nconverted /'http://127.0.0.1:56390/File5/' (ANSI_X3.4-1968) -> /'http://127.0.0.1:56390/File5/' (UTF-8)/nStoring to dir/File5/n--2021-09-19 16:47:38-- http://127.0.0.1:56390/File5/nReusing existing connection to 127.0.0.1:56390./nReusing fd 4./n/n---request begin---/nGET /File5 HTTP/1.1/nHost: 127.0.0.1:56390/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:38 GMT/ncontent-type: text/plain/ncontent-length: 12/n/n---response end---/n200 OK/nLength: 12 [text/plain]/nSaving to: /'dir/File5/'/n/n 0K 100% 142K=0s/n/n2021-09-19 16:47:38 (142 KB/s) - /'dir/File5/' saved [12/12]/n/nComputing size for /'dir/File5/'/nFile size not declared. Skipping check./nComputing checksum for /'dir/File5/'/nDeclared hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nComputed hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nChecksum matches./n'}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-metalink-http-xml-type-trust-content.py", line 219, in err = http_test.begin () File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-metalink-http-xml-type-trust-content.py (exit status: 1) FAIL: Test-metalink-xml ======================= Setting --no-config (noconfig) to 1 Setting --input-metalink (inputmetalink) to test.metalink Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:47:40] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:47:40] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:47:40] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:40] "GET /File1 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:40] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:47:40] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:47:40] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:40] "GET /File2 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:40] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:47:40] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:47:40] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:40] "GET /File3 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:40] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:47:40] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:47:40] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:40] "GET /File4 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:40] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:47:40] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:47:40] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:40] "GET /File5 HTTP/1.1" 200 - GNU Wget GNU GPL http://www.gnu.org/licenses/gpl.html Wget Test Files 1.2.3 Wget Test Files description 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File1_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File1 fac79f893bd735c6b6b2bd5ca9cf49df6145f65a64de55dfc902d98453ab4272 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File2_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File2 4c3dc628b80b607d747ae190aa7783298103cc4c7fa25d72305062469c3d8916 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File3_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File3 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File4_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File4 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File5_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File5 LocalFiles = ['test.metalink'] ServerFiles = [['wrong_file', 'File1_lowPref', 'File1', 'File2_lowPref', 'File2', 'File3_lowPref', 'File3', 'File4_lowPref', 'File4', 'File5_lowPref', 'File5']] ExpectedFiles = ['test.metalink.#1', 'test.metalink.#2', 'test.metalink.#3', 'test.metalink.#4', 'test.metalink.#5', 'test.metalink'] Running Test Test-metalink-xml.py Running Test Test-metalink-xml.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config --input-metalink test.metalink ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '--input-metalink', 'test.metalink'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-xml.py-test'} {'wget-log': {'content': "DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-xml.py-test/.wget-hsts/nRetrieving from Metalink 'test.metalink'/nProcessing metalink file 'File1'.../n/n Metalink/XML/n/n --trust-server-names false/n --directory-prefix ''/n/n Counted metalink file 1/n Planned metalink file 'File1'/n Trusted metalink file 'test.metalink.#1'/n Current metalink file 'test.metalink.#1'/n Cleaned metalink file 'test.metalink.#1'/n Secured metalink file 'test.metalink.#1'/n/n[--trust-server-names false, --directory-prefix='']/nPlanned metalink file: 'File1'/nSecured metalink file: 'test.metalink.#1'/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55932/404' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55932/404' (UTF-8)/nStoring to test.metalink.#1/n--2021-09-19 16:47:40-- http://127.0.0.1:55932/404/nConnecting to 127.0.0.1:55932... connected./nCreated socket 5./nReleasing 0x0000000800073c40 (new refcount 0)./nDeleting unused 0x0000000800073c40./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:55932/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:40 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = 'utf-8'/nClosed fd 5/n2021-09-19 16:47:40 ERROR 404: Not Found./n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55932/wrong_file' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55932/wrong_file' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to test.metalink.#1/n--2021-09-19 16:47:40-- http://127.0.0.1:55932/wrong_file/nConnecting to 127.0.0.1:55932... connected./nCreated socket 5./nReleasing 0x0000000800073d40 (new refcount 0)./nDeleting unused 0x0000000800073d40./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:55932/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:40 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 5 for persistent reuse./nLength: 5 [text/plain]/nSaving to: 'test.metalink.#1'/n/n 0K 100% 65.1K=0s/n/n2021-09-19 16:47:40 (65.1 KB/s) - 'test.metalink.#1' saved [5/5]/n/nComputing size for 'test.metalink.#1'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#1'/nDeclared hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file 'test.metalink.#1'./nRemoving 'test.metalink.#1'./nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55932/File1' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55932/File1' (UTF-8)/nStoring to test.metalink.#1/n--2021-09-19 16:47:40-- http://127.0.0.1:55932/File1/nReusing existing connection to 127.0.0.1:55932./nReusing fd 5./n/n---request begin---/nGET /File1 HTTP/1.1/nHost: 127.0.0.1:55932/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:40 GMT/ncontent-type: text/plain/ncontent-length: 24/n/n---response end---/n200 OK/nLength: 24 [text/plain]/nSaving to: 'test.metalink.#1'/n/n 0K 100% 276K=0s/n/n2021-09-19 16:47:40 (276 KB/s) - 'test.metalink.#1' saved [24/24]/n/nComputing size for 'test.metalink.#1'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#1'/nDeclared hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nComputed hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nChecksum matches./nProcessing metalink file 'File2'.../n/n Metalink/XML/n/n --trust-server-names false/n --directory-prefix ''/n/n Counted metalink file 2/n Planned metalink file 'File2'/n Trusted metalink file 'test.metalink.#2'/n Current metalink file 'test.metalink.#2'/n Cleaned metalink file 'test.metalink.#2'/n Secured metalink file 'test.metalink.#2'/n/n[--trust-server-names false, --directory-prefix='']/nPlanned metalink file: 'File2'/nSecured metalink file: 'test.metalink.#2'/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55932/404' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55932/404' (UTF-8)/nStoring to test.metalink.#2/n--2021-09-19 16:47:40-- http://127.0.0.1:55932/404/nReusing existing connection to 127.0.0.1:55932./nReusing fd 5./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:55932/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:40 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = 'utf-8'/nDisabling further reuse of socket 5./nClosed fd 5/n2021-09-19 16:47:40 ERROR 404: Not Found./n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55932/wrong_file' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55932/wrong_file' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to test.metalink.#2/n--2021-09-19 16:47:40-- http://127.0.0.1:55932/wrong_file/nConnecting to 127.0.0.1:55932... connected./nCreated socket 5./nReleasing 0x000000080006cdb0 (new refcount 0)./nDeleting unused 0x000000080006cdb0./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:55932/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:40 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 5 for persistent reuse./nLength: 5 [text/plain]/nSaving to: 'test.metalink.#2'/n/n 0K 100% 34.1K=0s/n/n2021-09-19 16:47:40 (34.1 KB/s) - 'test.metalink.#2' saved [5/5]/n/nComputing size for 'test.metalink.#2'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#2'/nDeclared hash: fac79f893bd735c6b6b2bd5ca9cf49df6145f65a64de55dfc902d98453ab4272/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file 'test.metalink.#2'./nRemoving 'test.metalink.#2'./nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55932/File2' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55932/File2' (UTF-8)/nStoring to test.metalink.#2/n--2021-09-19 16:47:40-- http://127.0.0.1:55932/File2/nReusing existing connection to 127.0.0.1:55932./nReusing fd 5./n/n---request begin---/nGET /File2 HTTP/1.1/nHost: 127.0.0.1:55932/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:40 GMT/ncontent-type: text/plain/ncontent-length: 21/n/n---response end---/n200 OK/nLength: 21 [text/plain]/nSaving to: 'test.metalink.#2'/n/n 0K 100% 313K=0s/n/n2021-09-19 16:47:40 (313 KB/s) - 'test.metalink.#2' saved [21/21]/n/nComputing size for 'test.metalink.#2'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#2'/nDeclared hash: fac79f893bd735c6b6b2bd5ca9cf49df6145f65a64de55dfc902d98453ab4272/nComputed hash: fac79f893bd735c6b6b2bd5ca9cf49df6145f65a64de55dfc902d98453ab4272/nChecksum matches./nProcessing metalink file 'File3'.../n/n Metalink/XML/n/n --trust-server-names false/n --directory-prefix ''/n/n Counted metalink file 3/n Planned metalink file 'File3'/n Trusted metalink file 'test.metalink.#3'/n Current metalink file 'test.metalink.#3'/n Cleaned metalink file 'test.metalink.#3'/n Secured metalink file 'test.metalink.#3'/n/n[--trust-server-names false, --directory-prefix='']/nPlanned metalink file: 'File3'/nSecured metalink file: 'test.metalink.#3'/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55932/404' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55932/404' (UTF-8)/nStoring to test.metalink.#3/n--2021-09-19 16:47:40-- http://127.0.0.1:55932/404/nReusing existing connection to 127.0.0.1:55932./nReusing fd 5./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:55932/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:40 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = 'utf-8'/nDisabling further reuse of socket 5./nClosed fd 5/n2021-09-19 16:47:40 ERROR 404: Not Found./n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55932/wrong_file' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55932/wrong_file' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to test.metalink.#3/n--2021-09-19 16:47:40-- http://127.0.0.1:55932/wrong_file/nConnecting to 127.0.0.1:55932... connected./nCreated socket 5./nReleasing 0x000000080006c730 (new refcount 0)./nDeleting unused 0x000000080006c730./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:55932/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:40 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 5 for persistent reuse./nLength: 5 [text/plain]/nSaving to: 'test.metalink.#3'/n/n 0K 100% 93.4K=0s/n/n2021-09-19 16:47:40 (93.4 KB/s) - 'test.metalink.#3' saved [5/5]/n/nComputing size for 'test.metalink.#3'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#3'/nDeclared hash: 4c3dc628b80b607d747ae190aa7783298103cc4c7fa25d72305062469c3d8916/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file 'test.metalink.#3'./nRemoving 'test.metalink.#3'./nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55932/File3' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55932/File3' (UTF-8)/nStoring to test.metalink.#3/n--2021-09-19 16:47:40-- http://127.0.0.1:55932/File3/nReusing existing connection to 127.0.0.1:55932./nReusing fd 5./n/n---request begin---/nGET /File3 HTTP/1.1/nHost: 127.0.0.1:55932/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:40 GMT/ncontent-type: text/plain/ncontent-length: 21/n/n---response end---/n200 OK/nLength: 21 [text/plain]/nSaving to: 'test.metalink.#3'/n/n 0K 100% 362K=0s/n/n2021-09-19 16:47:40 (362 KB/s) - 'test.metalink.#3' saved [21/21]/n/nComputing size for 'test.metalink.#3'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#3'/nDeclared hash: 4c3dc628b80b607d747ae190aa7783298103cc4c7fa25d72305062469c3d8916/nComputed hash: 4c3dc628b80b607d747ae190aa7783298103cc4c7fa25d72305062469c3d8916/nChecksum matches./nProcessing metalink file 'File4'.../n/n Metalink/XML/n/n --trust-server-names false/n --directory-prefix ''/n/n Counted metalink file 4/n Planned metalink file 'File4'/n Trusted metalink file 'test.metalink.#4'/n Current metalink file 'test.metalink.#4'/n Cleaned metalink file 'test.metalink.#4'/n Secured metalink file 'test.metalink.#4'/n/n[--trust-server-names false, --directory-prefix='']/nPlanned metalink file: 'File4'/nSecured metalink file: 'test.metalink.#4'/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55932/404' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55932/404' (UTF-8)/nStoring to test.metalink.#4/n--2021-09-19 16:47:40-- http://127.0.0.1:55932/404/nReusing existing connection to 127.0.0.1:55932./nReusing fd 5./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:55932/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:40 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = 'utf-8'/nDisabling further reuse of socket 5./nClosed fd 5/n2021-09-19 16:47:40 ERROR 404: Not Found./n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55932/wrong_file' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55932/wrong_file' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to test.metalink.#4/n--2021-09-19 16:47:40-- http://127.0.0.1:55932/wrong_file/nConnecting to 127.0.0.1:55932... connected./nCreated socket 5./nReleasing 0x000000080006d110 (new refcount 0)./nDeleting unused 0x000000080006d110./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:55932/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:40 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 5 for persistent reuse./nLength: 5 [text/plain]/nSaving to: 'test.metalink.#4'/n/n 0K 100% 101K=0s/n/n2021-09-19 16:47:40 (101 KB/s) - 'test.metalink.#4' saved [5/5]/n/nComputing size for 'test.metalink.#4'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#4'/nDeclared hash: 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file 'test.metalink.#4'./nRemoving 'test.metalink.#4'./nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55932/File4' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55932/File4' (UTF-8)/nStoring to test.metalink.#4/n--2021-09-19 16:47:40-- http://127.0.0.1:55932/File4/nReusing existing connection to 127.0.0.1:55932./nReusing fd 5./n/n---request begin---/nGET /File4 HTTP/1.1/nHost: 127.0.0.1:55932/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:40 GMT/ncontent-type: text/plain/ncontent-length: 16/n/n---response end---/n200 OK/nLength: 16 [text/plain]/nSaving to: 'test.metalink.#4'/n/n 0K 100% 206K=0s/n/n2021-09-19 16:47:40 (206 KB/s) - 'test.metalink.#4' saved [16/16]/n/nComputing size for 'test.metalink.#4'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#4'/nDeclared hash: 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314/nComputed hash: 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314/nChecksum matches./nProcessing metalink file 'File5'.../n/n Metalink/XML/n/n --trust-server-names false/n --directory-prefix ''/n/n Counted metalink file 5/n Planned metalink file 'File5'/n Trusted metalink file 'test.metalink.#5'/n Current metalink file 'test.metalink.#5'/n Cleaned metalink file 'test.metalink.#5'/n Secured metalink file 'test.metalink.#5'/n/n[--trust-server-names false, --directory-prefix='']/nPlanned metalink file: 'File5'/nSecured metalink file: 'test.metalink.#5'/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55932/404' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55932/404' (UTF-8)/nStoring to test.metalink.#5/n--2021-09-19 16:47:40-- http://127.0.0.1:55932/404/nReusing existing connection to 127.0.0.1:55932./nReusing fd 5./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:55932/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:40 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = 'utf-8'/nDisabling further reuse of socket 5./nClosed fd 5/n2021-09-19 16:47:40 ERROR 404: Not Found./n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55932/wrong_file' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55932/wrong_file' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to test.metalink.#5/n--2021-09-19 16:47:40-- http://127.0.0.1:55932/wrong_file/nConnecting to 127.0.0.1:55932... connected./nCreated socket 5./nReleasing 0x000000080006cc30 (new refcount 0)./nDeleting unused 0x000000080006cc30./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:55932/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:40 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 5 for persistent reuse./nLength: 5 [text/plain]/nSaving to: 'test.metalink.#5'/n/n 0K 100% 85.1K=0s/n/n2021-09-19 16:47:40 (85.1 KB/s) - 'test.metalink.#5' saved [5/5]/n/nComputing size for 'test.metalink.#5'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#5'/nDeclared hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file 'test.metalink.#5'./nRemoving 'test.metalink.#5'./nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55932/File5' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55932/File5' (UTF-8)/nStoring to test.metalink.#5/n--2021-09-19 16:47:40-- http://127.0.0.1:55932/File5/nReusing existing connection to 127.0.0.1:55932./nReusing fd 5./n/n---request begin---/nGET /File5 HTTP/1.1/nHost: 127.0.0.1:55932/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:40 GMT/ncontent-type: text/plain/ncontent-length: 12/n/n---response end---/n200 OK/nLength: 12 [text/plain]/nSaving to: 'test.metalink.#5'/n/n 0K 100% 66.8K=0s/n/n2021-09-19 16:47:40 (66.8 KB/s) - 'test.metalink.#5' saved [12/12]/n/nComputing size for 'test.metalink.#5'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#5'/nDeclared hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nComputed hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nChecksum matches./n"}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-metalink-xml.py", line 96, in err = Meta.http_test ( File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/misc/metalinkv3_xml.py", line 111, in http_test err = http_test.begin () File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-metalink-xml.py (exit status: 1) FAIL: Test-metalink-xml-continue ================================ Setting --no-config (noconfig) to 1 Setting --continue (continue) to 1 Setting --input-metalink (inputmetalink) to test.metalink Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:47:42] "GET /File1 HTTP/1.1" 206 - 127.0.0.1 - - [19/Sep/2021 16:47:42] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:47:42] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:47:42] "GET /wrong_file HTTP/1.1" 416 - 127.0.0.1 - - [19/Sep/2021 16:47:42] "GET /File3 HTTP/1.1" 416 - 127.0.0.1 - - [19/Sep/2021 16:47:42] "GET /wrong_file HTTP/1.1" 416 - 127.0.0.1 - - [19/Sep/2021 16:47:42] "GET /File5 HTTP/1.1" 200 - LocalFiles = ['test.metalink.#1', 'test.metalink.#2', 'test.metalink.#3', 'test.metalink.#4'] ServerFiles = [[]] ExpectedFiles = ['test.metalink.#2', 'test.metalink.#3', 'test.metalink.#4'] GNU Wget GNU GPL http://www.gnu.org/licenses/gpl.html Wget Test Files 1.2.3 Wget Test Files description 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792 http://{{SRV_HOST}}:{{SRV_PORT}}/File1_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File1 d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File2_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File2 4c3dc628b80b607d747ae190aa7783298103cc4c7fa25d72305062469c3d8916 http://{{SRV_HOST}}:{{SRV_PORT}}/File3_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File3 e1a09365a1f71702eae28bf5c48af8f9c0044717d922960917f53b004d277d41 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df http://{{SRV_HOST}}:{{SRV_PORT}}/File5_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File5 LocalFiles = ['test.metalink.#1', 'test.metalink.#2', 'test.metalink.#3', 'test.metalink.#4', 'test.metalink'] ServerFiles = [['File1_lowPref', 'File1', 'wrong_file', 'File2_lowPref', 'File2', 'File3_lowPref', 'File3', 'File5_lowPref', 'File5']] ExpectedFiles = ['test.metalink.#2', 'test.metalink.#3', 'test.metalink.#4', 'test.metalink.#1', 'test.metalink.#5', 'test.metalink'] Running Test Test-metalink-xml-continue.py Running Test Test-metalink-xml-continue.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config --continue --input-metalink test.metalink ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '--continue', '--input-metalink', 'test.metalink'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-xml-continue.py-test'} {'wget-log': {'content': "DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-xml-continue.py-test/.wget-hsts/nRetrieving from Metalink 'test.metalink'/nProcessing metalink file 'File1'.../n/n Metalink/XML/n/n --trust-server-names false/n --directory-prefix ''/n/n Counted metalink file 1/n Planned metalink file 'File1'/n Trusted metalink file 'test.metalink.#1'/n Current metalink file 'test.metalink.#1'/n Cleaned metalink file 'test.metalink.#1'/n Secured metalink file 'test.metalink.#1'/n/n[--trust-server-names false, --directory-prefix='']/nPlanned metalink file: 'File1'/nSecured metalink file: 'test.metalink.#1'/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55940/File1' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55940/File1' (UTF-8)/nStoring to test.metalink.#1/n--2021-09-19 16:47:42-- http://127.0.0.1:55940/File1/nConnecting to 127.0.0.1:55940... connected./nCreated socket 5./nReleasing 0x0000000800073780 (new refcount 0)./nDeleting unused 0x0000000800073780./n/n---request begin---/nGET /File1 HTTP/1.1/nHost: 127.0.0.1:55940/nRange: bytes=14-/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 206 Partial Content/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:42 GMT/naccept-ranges: bytes/ncontent-range: bytes 14-23/24/ncontent-type: text/plain/ncontent-length: 10/n/n---response end---/n206 Partial Content/nRegistered socket 5 for persistent reuse./nLength: 24, 10 remaining [text/plain]/nSaving to: 'test.metalink.#1'/n/n 0K/n 0K 100% 127K=0s/n/n2021-09-19 16:47:42 (127 KB/s) - 'test.metalink.#1' saved [24/24]/n/nComputing size for 'test.metalink.#1'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#1'/nDeclared hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nComputed hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nChecksum matches./nProcessing metalink file 'File2'.../n/n Metalink/XML/n/n --trust-server-names false/n --directory-prefix ''/n/n Counted metalink file 2/n Planned metalink file 'File2'/n Trusted metalink file 'test.metalink.#2'/n Current metalink file 'test.metalink.#2'/n Cleaned metalink file 'test.metalink.#2'/n Secured metalink file 'test.metalink.#2'/n/n[--trust-server-names false, --directory-prefix='']/nPlanned metalink file: 'File2'/nSecured metalink file: 'test.metalink.#2'/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55940/404' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55940/404' (UTF-8)/nStoring to test.metalink.#2/n--2021-09-19 16:47:42-- http://127.0.0.1:55940/404/nReusing existing connection to 127.0.0.1:55940./nReusing fd 5./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:55940/nRange: bytes=21-/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:42 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = 'utf-8'/nDisabling further reuse of socket 5./nClosed fd 5/n2021-09-19 16:47:42 ERROR 404: Not Found./n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55940/wrong_file' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55940/wrong_file' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to test.metalink.#2/n--2021-09-19 16:47:42-- http://127.0.0.1:55940/wrong_file/nConnecting to 127.0.0.1:55940... connected./nCreated socket 5./nReleasing 0x0000000800073e50 (new refcount 0)./nDeleting unused 0x0000000800073e50./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:55940/nRange: bytes=21-/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 416 Requested Range Not Satisfiable/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:42 GMT/n/n---response end---/n416 Requested Range Not Satisfiable/nRegistered socket 5 for persistent reuse./n/n The file is already fully retrieved; nothing to do./n/n] done./nComputing size for 'test.metalink.#2'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#2'/nDeclared hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nComputed hash: fac79f893bd735c6b6b2bd5ca9cf49df6145f65a64de55dfc902d98453ab4272/nChecksum mismatch for file 'test.metalink.#2'./nFile 'test.metalink.#2' retrieved but checksum does not match. /nProcessing metalink file 'File3'.../n/n Metalink/XML/n/n --trust-server-names false/n --directory-prefix ''/n/n Counted metalink file 3/n Planned metalink file 'File3'/n Trusted metalink file 'test.metalink.#3'/n Current metalink file 'test.metalink.#3'/n Cleaned metalink file 'test.metalink.#3'/n Secured metalink file 'test.metalink.#3'/n/n[--trust-server-names false, --directory-prefix='']/nPlanned metalink file: 'File3'/nSecured metalink file: 'test.metalink.#3'/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55940/File3' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55940/File3' (UTF-8)/nStoring to test.metalink.#3/n--2021-09-19 16:47:42-- http://127.0.0.1:55940/File3/nReusing existing connection to 127.0.0.1:55940./nReusing fd 5./n/n---request begin---/nGET /File3 HTTP/1.1/nHost: 127.0.0.1:55940/nRange: bytes=21-/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 416 Requested Range Not Satisfiable/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:42 GMT/ncontent-length: 17/n/n---response end---/n416 Requested Range Not Satisfiable/n/n The file is already fully retrieved; nothing to do./n/nSkipping 17 bytes of body: [Range Unsatisfied] done./nComputing size for 'test.metalink.#3'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#3'/nDeclared hash: 4c3dc628b80b607d747ae190aa7783298103cc4c7fa25d72305062469c3d8916/nComputed hash: 4c3dc628b80b607d747ae190aa7783298103cc4c7fa25d72305062469c3d8916/nChecksum matches./nProcessing metalink file 'File4'.../n/n Metalink/XML/n/n --trust-server-names false/n --directory-prefix ''/n/n Counted metalink file 4/n Planned metalink file 'File4'/n Trusted metalink file 'test.metalink.#4'/n Current metalink file 'test.metalink.#4'/n Cleaned metalink file 'test.metalink.#4'/n Secured metalink file 'test.metalink.#4'/n/n[--trust-server-names false, --directory-prefix='']/nPlanned metalink file: 'File4'/nSecured metalink file: 'test.metalink.#4'/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55940/wrong_file' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55940/wrong_file' (UTF-8)/nStoring to test.metalink.#4/n--2021-09-19 16:47:42-- http://127.0.0.1:55940/wrong_file/nReusing existing connection to 127.0.0.1:55940./nReusing fd 5./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:55940/nRange: bytes=16-/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 416 Requested Range Not Satisfiable/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:42 GMT/ncontent-length: 17/n/n---response end---/n416 Requested Range Not Satisfiable/n/n The file is already fully retrieved; nothing to do./n/nSkipping 17 bytes of body: [Range Unsatisfied] done./nComputing size for 'test.metalink.#4'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#4'/nDeclared hash: e1a09365a1f71702eae28bf5c48af8f9c0044717d922960917f53b004d277d41/nComputed hash: 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314/nChecksum mismatch for file 'test.metalink.#4'./nFile 'test.metalink.#4' retrieved but checksum does not match. /nProcessing metalink file 'File5'.../n/n Metalink/XML/n/n --trust-server-names false/n --directory-prefix ''/n/n Counted metalink file 5/n Planned metalink file 'File5'/n Trusted metalink file 'test.metalink.#5'/n Current metalink file 'test.metalink.#5'/n Cleaned metalink file 'test.metalink.#5'/n Secured metalink file 'test.metalink.#5'/n/n[--trust-server-names false, --directory-prefix='']/nPlanned metalink file: 'File5'/nSecured metalink file: 'test.metalink.#5'/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55940/File5' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55940/File5' (UTF-8)/nStoring to test.metalink.#5/n--2021-09-19 16:47:42-- http://127.0.0.1:55940/File5/nReusing existing connection to 127.0.0.1:55940./nReusing fd 5./n/n---request begin---/nGET /File5 HTTP/1.1/nHost: 127.0.0.1:55940/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:42 GMT/ncontent-type: text/plain/ncontent-length: 12/n/n---response end---/n200 OK/nLength: 12 [text/plain]/nSaving to: 'test.metalink.#5'/n/n 0K 100% 138K=0s/n/n2021-09-19 16:47:42 (138 KB/s) - 'test.metalink.#5' saved [12/12]/n/nComputing size for 'test.metalink.#5'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#5'/nDeclared hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nComputed hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nChecksum matches./nCould not download all resources from 'test.metalink'./n"}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-metalink-xml-continue.py", line 102, in err = Meta.http_test ( File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/misc/metalinkv3_xml.py", line 111, in http_test err = http_test.begin () File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-metalink-xml-continue.py (exit status: 1) FAIL: Test-metalink-xml-relpath =============================== Setting --no-config (noconfig) to 1 Setting --input-metalink (inputmetalink) to test.metalink Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:47:44] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:47:44] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:47:44] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:44] "GET /File5 HTTP/1.1" 200 - GNU Wget GNU GPL http://www.gnu.org/licenses/gpl.html Wget Test Files 1.2.3 Wget Test Files description 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File1_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File1 fac79f893bd735c6b6b2bd5ca9cf49df6145f65a64de55dfc902d98453ab4272 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File2_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File2 4c3dc628b80b607d747ae190aa7783298103cc4c7fa25d72305062469c3d8916 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File3_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File3 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File4_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File4 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File5_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File5 LocalFiles = ['test.metalink'] ServerFiles = [['wrong_file', 'File1_lowPref', 'File1', 'File2_lowPref', 'File2', 'File3_lowPref', 'File3', 'File4_lowPref', 'File4', 'File5_lowPref', 'File5']] ExpectedFiles = ['test.metalink.#1', 'test.metalink'] Running Test Test-metalink-xml-relpath.py Running Test Test-metalink-xml-relpath.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config --input-metalink test.metalink ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '--input-metalink', 'test.metalink'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-xml-relpath.py-test'} {'wget-log': {'content': "DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-xml-relpath.py-test/.wget-hsts/nRetrieving from Metalink 'test.metalink'/nProcessing metalink file 'File5'.../n/n Metalink/XML/n/n --trust-server-names false/n --directory-prefix ''/n/n Counted metalink file 1/n Planned metalink file 'File5'/n Trusted metalink file 'test.metalink.#1'/n Current metalink file 'test.metalink.#1'/n Cleaned metalink file 'test.metalink.#1'/n Secured metalink file 'test.metalink.#1'/n/n[--trust-server-names false, --directory-prefix='']/nPlanned metalink file: 'File5'/nSecured metalink file: 'test.metalink.#1'/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55944/404' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55944/404' (UTF-8)/nStoring to test.metalink.#1/n--2021-09-19 16:47:44-- http://127.0.0.1:55944/404/nConnecting to 127.0.0.1:55944... connected./nCreated socket 5./nReleasing 0x0000000800072720 (new refcount 0)./nDeleting unused 0x0000000800072720./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:55944/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:44 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = 'utf-8'/nClosed fd 5/n2021-09-19 16:47:44 ERROR 404: Not Found./n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55944/wrong_file' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55944/wrong_file' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to test.metalink.#1/n--2021-09-19 16:47:44-- http://127.0.0.1:55944/wrong_file/nConnecting to 127.0.0.1:55944... connected./nCreated socket 5./nReleasing 0x0000000800072830 (new refcount 0)./nDeleting unused 0x0000000800072830./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:55944/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:44 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 5 for persistent reuse./nLength: 5 [text/plain]/nSaving to: 'test.metalink.#1'/n/n 0K 100% 72.1K=0s/n/n2021-09-19 16:47:44 (72.1 KB/s) - 'test.metalink.#1' saved [5/5]/n/nComputing size for 'test.metalink.#1'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#1'/nDeclared hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file 'test.metalink.#1'./nRemoving 'test.metalink.#1'./nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55944/File5' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55944/File5' (UTF-8)/nStoring to test.metalink.#1/n--2021-09-19 16:47:44-- http://127.0.0.1:55944/File5/nReusing existing connection to 127.0.0.1:55944./nReusing fd 5./n/n---request begin---/nGET /File5 HTTP/1.1/nHost: 127.0.0.1:55944/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:44 GMT/ncontent-type: text/plain/ncontent-length: 12/n/n---response end---/n200 OK/nLength: 12 [text/plain]/nSaving to: 'test.metalink.#1'/n/n 0K 100% 206K=0s/n/n2021-09-19 16:47:44 (206 KB/s) - 'test.metalink.#1' saved [12/12]/n/nComputing size for 'test.metalink.#1'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#1'/nDeclared hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nComputed hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nChecksum matches./n"}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-metalink-xml-relpath.py", line 96, in err = Meta.http_test ( File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/misc/metalinkv3_xml.py", line 111, in http_test err = http_test.begin () File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-metalink-xml-relpath.py (exit status: 1) FAIL: Test-metalink-xml-abspath =============================== Setting --no-config (noconfig) to 1 Setting --input-metalink (inputmetalink) to test.metalink Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:47:46] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:47:46] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:47:46] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:46] "GET /File2 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:46] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:47:46] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:47:46] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:46] "GET /File5 HTTP/1.1" 200 - GNU Wget GNU GPL http://www.gnu.org/licenses/gpl.html Wget Test Files 1.2.3 Wget Test Files description 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File1_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File1 fac79f893bd735c6b6b2bd5ca9cf49df6145f65a64de55dfc902d98453ab4272 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File2_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File2 4c3dc628b80b607d747ae190aa7783298103cc4c7fa25d72305062469c3d8916 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File3_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File3 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File4_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File4 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File5_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File5 LocalFiles = ['test.metalink'] ServerFiles = [['wrong_file', 'File1_lowPref', 'File1', 'File2_lowPref', 'File2', 'File3_lowPref', 'File3', 'File4_lowPref', 'File4', 'File5_lowPref', 'File5']] ExpectedFiles = ['test.metalink.#1', 'test.metalink.#2', 'test.metalink'] Running Test Test-metalink-xml-abspath.py Running Test Test-metalink-xml-abspath.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config --input-metalink test.metalink ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '--input-metalink', 'test.metalink'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-xml-abspath.py-test'} {'wget-log': {'content': "DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-xml-abspath.py-test/.wget-hsts/nRetrieving from Metalink 'test.metalink'/nProcessing metalink file 'File2'.../n/n Metalink/XML/n/n --trust-server-names false/n --directory-prefix ''/n/n Counted metalink file 1/n Planned metalink file 'File2'/n Trusted metalink file 'test.metalink.#1'/n Current metalink file 'test.metalink.#1'/n Cleaned metalink file 'test.metalink.#1'/n Secured metalink file 'test.metalink.#1'/n/n[--trust-server-names false, --directory-prefix='']/nPlanned metalink file: 'File2'/nSecured metalink file: 'test.metalink.#1'/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55948/404' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55948/404' (UTF-8)/nStoring to test.metalink.#1/n--2021-09-19 16:47:46-- http://127.0.0.1:55948/404/nConnecting to 127.0.0.1:55948... connected./nCreated socket 5./nReleasing 0x0000000800072c00 (new refcount 0)./nDeleting unused 0x0000000800072c00./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:55948/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:46 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = 'utf-8'/nClosed fd 5/n2021-09-19 16:47:46 ERROR 404: Not Found./n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55948/wrong_file' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55948/wrong_file' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to test.metalink.#1/n--2021-09-19 16:47:46-- http://127.0.0.1:55948/wrong_file/nConnecting to 127.0.0.1:55948... connected./nCreated socket 5./nReleasing 0x0000000800072d10 (new refcount 0)./nDeleting unused 0x0000000800072d10./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:55948/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:46 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 5 for persistent reuse./nLength: 5 [text/plain]/nSaving to: 'test.metalink.#1'/n/n 0K 100% 56.6K=0s/n/n2021-09-19 16:47:46 (56.6 KB/s) - 'test.metalink.#1' saved [5/5]/n/nComputing size for 'test.metalink.#1'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#1'/nDeclared hash: fac79f893bd735c6b6b2bd5ca9cf49df6145f65a64de55dfc902d98453ab4272/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file 'test.metalink.#1'./nRemoving 'test.metalink.#1'./nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55948/File2' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55948/File2' (UTF-8)/nStoring to test.metalink.#1/n--2021-09-19 16:47:46-- http://127.0.0.1:55948/File2/nReusing existing connection to 127.0.0.1:55948./nReusing fd 5./n/n---request begin---/nGET /File2 HTTP/1.1/nHost: 127.0.0.1:55948/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:46 GMT/ncontent-type: text/plain/ncontent-length: 21/n/n---response end---/n200 OK/nLength: 21 [text/plain]/nSaving to: 'test.metalink.#1'/n/n 0K 100% 187K=0s/n/n2021-09-19 16:47:46 (187 KB/s) - 'test.metalink.#1' saved [21/21]/n/nComputing size for 'test.metalink.#1'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#1'/nDeclared hash: fac79f893bd735c6b6b2bd5ca9cf49df6145f65a64de55dfc902d98453ab4272/nComputed hash: fac79f893bd735c6b6b2bd5ca9cf49df6145f65a64de55dfc902d98453ab4272/nChecksum matches./nProcessing metalink file 'File5'.../n/n Metalink/XML/n/n --trust-server-names false/n --directory-prefix ''/n/n Counted metalink file 2/n Planned metalink file 'File5'/n Trusted metalink file 'test.metalink.#2'/n Current metalink file 'test.metalink.#2'/n Cleaned metalink file 'test.metalink.#2'/n Secured metalink file 'test.metalink.#2'/n/n[--trust-server-names false, --directory-prefix='']/nPlanned metalink file: 'File5'/nSecured metalink file: 'test.metalink.#2'/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55948/404' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55948/404' (UTF-8)/nStoring to test.metalink.#2/n--2021-09-19 16:47:46-- http://127.0.0.1:55948/404/nReusing existing connection to 127.0.0.1:55948./nReusing fd 5./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:55948/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:46 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = 'utf-8'/nDisabling further reuse of socket 5./nClosed fd 5/n2021-09-19 16:47:46 ERROR 404: Not Found./n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55948/wrong_file' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55948/wrong_file' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to test.metalink.#2/n--2021-09-19 16:47:46-- http://127.0.0.1:55948/wrong_file/nConnecting to 127.0.0.1:55948... connected./nCreated socket 5./nReleasing 0x00000008000735c0 (new refcount 0)./nDeleting unused 0x00000008000735c0./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:55948/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:46 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 5 for persistent reuse./nLength: 5 [text/plain]/nSaving to: 'test.metalink.#2'/n/n 0K 100% 46.0K=0s/n/n2021-09-19 16:47:46 (46.0 KB/s) - 'test.metalink.#2' saved [5/5]/n/nComputing size for 'test.metalink.#2'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#2'/nDeclared hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file 'test.metalink.#2'./nRemoving 'test.metalink.#2'./nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55948/File5' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55948/File5' (UTF-8)/nStoring to test.metalink.#2/n--2021-09-19 16:47:46-- http://127.0.0.1:55948/File5/nReusing existing connection to 127.0.0.1:55948./nReusing fd 5./n/n---request begin---/nGET /File5 HTTP/1.1/nHost: 127.0.0.1:55948/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:46 GMT/ncontent-type: text/plain/ncontent-length: 12/n/n---response end---/n200 OK/nLength: 12 [text/plain]/nSaving to: 'test.metalink.#2'/n/n 0K 100% 138K=0s/n/n2021-09-19 16:47:46 (138 KB/s) - 'test.metalink.#2' saved [12/12]/n/nComputing size for 'test.metalink.#2'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#2'/nDeclared hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nComputed hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nChecksum matches./n"}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-metalink-xml-abspath.py", line 96, in err = Meta.http_test ( File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/misc/metalinkv3_xml.py", line 111, in http_test err = http_test.begin () File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-metalink-xml-abspath.py (exit status: 1) FAIL: Test-metalink-xml-homepath ================================ Setting --no-config (noconfig) to 1 Setting --input-metalink (inputmetalink) to test.metalink Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:47:48] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:47:48] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:47:48] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:48] "GET /File4 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:48] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:47:48] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:47:48] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:48] "GET /File5 HTTP/1.1" 200 - GNU Wget GNU GPL http://www.gnu.org/licenses/gpl.html Wget Test Files 1.2.3 Wget Test Files description 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File1_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File1 fac79f893bd735c6b6b2bd5ca9cf49df6145f65a64de55dfc902d98453ab4272 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File2_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File2 4c3dc628b80b607d747ae190aa7783298103cc4c7fa25d72305062469c3d8916 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File3_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File3 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File4_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File4 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File5_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File5 LocalFiles = ['test.metalink'] ServerFiles = [['wrong_file', 'File1_lowPref', 'File1', 'File2_lowPref', 'File2', 'File3_lowPref', 'File3', 'File4_lowPref', 'File4', 'File5_lowPref', 'File5']] ExpectedFiles = ['test.metalink.#1', 'test.metalink.#2', 'test.metalink'] Running Test Test-metalink-xml-homepath.py Running Test Test-metalink-xml-homepath.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config --input-metalink test.metalink ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '--input-metalink', 'test.metalink'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-xml-homepath.py-test'} {'wget-log': {'content': "DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-xml-homepath.py-test/.wget-hsts/nRetrieving from Metalink 'test.metalink'/nProcessing metalink file 'dir/File4~'.../n/n Metalink/XML/n/n --trust-server-names false/n --directory-prefix ''/n/n Counted metalink file 1/n Planned metalink file 'dir/File4~'/n Trusted metalink file 'test.metalink.#1'/n Current metalink file 'test.metalink.#1'/n Cleaned metalink file 'test.metalink.#1'/n Secured metalink file 'test.metalink.#1'/n/n[--trust-server-names false, --directory-prefix='']/nPlanned metalink file: 'dir/File4~'/nSecured metalink file: 'test.metalink.#1'/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55953/404' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55953/404' (UTF-8)/nStoring to test.metalink.#1/n--2021-09-19 16:47:48-- http://127.0.0.1:55953/404/nConnecting to 127.0.0.1:55953... connected./nCreated socket 5./nReleasing 0x0000000800072c00 (new refcount 0)./nDeleting unused 0x0000000800072c00./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:55953/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:48 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = 'utf-8'/nClosed fd 5/n2021-09-19 16:47:48 ERROR 404: Not Found./n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55953/wrong_file' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55953/wrong_file' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to test.metalink.#1/n--2021-09-19 16:47:48-- http://127.0.0.1:55953/wrong_file/nConnecting to 127.0.0.1:55953... connected./nCreated socket 5./nReleasing 0x0000000800072d10 (new refcount 0)./nDeleting unused 0x0000000800072d10./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:55953/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:48 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 5 for persistent reuse./nLength: 5 [text/plain]/nSaving to: 'test.metalink.#1'/n/n 0K 100% 91.8K=0s/n/n2021-09-19 16:47:48 (91.8 KB/s) - 'test.metalink.#1' saved [5/5]/n/nComputing size for 'test.metalink.#1'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#1'/nDeclared hash: 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file 'test.metalink.#1'./nRemoving 'test.metalink.#1'./nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55953/File4' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55953/File4' (UTF-8)/nStoring to test.metalink.#1/n--2021-09-19 16:47:48-- http://127.0.0.1:55953/File4/nReusing existing connection to 127.0.0.1:55953./nReusing fd 5./n/n---request begin---/nGET /File4 HTTP/1.1/nHost: 127.0.0.1:55953/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:48 GMT/ncontent-type: text/plain/ncontent-length: 16/n/n---response end---/n200 OK/nLength: 16 [text/plain]/nSaving to: 'test.metalink.#1'/n/n 0K 100% 284K=0s/n/n2021-09-19 16:47:48 (284 KB/s) - 'test.metalink.#1' saved [16/16]/n/nComputing size for 'test.metalink.#1'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#1'/nDeclared hash: 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314/nComputed hash: 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314/nChecksum matches./nProcessing metalink file 'dir/~/File5'.../n/n Metalink/XML/n/n --trust-server-names false/n --directory-prefix ''/n/n Counted metalink file 2/n Planned metalink file 'dir/~/File5'/n Trusted metalink file 'test.metalink.#2'/n Current metalink file 'test.metalink.#2'/n Cleaned metalink file 'test.metalink.#2'/n Secured metalink file 'test.metalink.#2'/n/n[--trust-server-names false, --directory-prefix='']/nPlanned metalink file: 'dir/~/File5'/nSecured metalink file: 'test.metalink.#2'/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55953/404' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55953/404' (UTF-8)/nStoring to test.metalink.#2/n--2021-09-19 16:47:48-- http://127.0.0.1:55953/404/nReusing existing connection to 127.0.0.1:55953./nReusing fd 5./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:55953/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:48 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = 'utf-8'/nDisabling further reuse of socket 5./nClosed fd 5/n2021-09-19 16:47:48 ERROR 404: Not Found./n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55953/wrong_file' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55953/wrong_file' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to test.metalink.#2/n--2021-09-19 16:47:48-- http://127.0.0.1:55953/wrong_file/nConnecting to 127.0.0.1:55953... connected./nCreated socket 5./nReleasing 0x00000008000735c0 (new refcount 0)./nDeleting unused 0x00000008000735c0./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:55953/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:48 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 5 for persistent reuse./nLength: 5 [text/plain]/nSaving to: 'test.metalink.#2'/n/n 0K 100% 32.3K=0s/n/n2021-09-19 16:47:48 (32.3 KB/s) - 'test.metalink.#2' saved [5/5]/n/nComputing size for 'test.metalink.#2'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#2'/nDeclared hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file 'test.metalink.#2'./nRemoving 'test.metalink.#2'./nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55953/File5' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55953/File5' (UTF-8)/nStoring to test.metalink.#2/n--2021-09-19 16:47:48-- http://127.0.0.1:55953/File5/nReusing existing connection to 127.0.0.1:55953./nReusing fd 5./n/n---request begin---/nGET /File5 HTTP/1.1/nHost: 127.0.0.1:55953/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:48 GMT/ncontent-type: text/plain/ncontent-length: 12/n/n---response end---/n200 OK/nLength: 12 [text/plain]/nSaving to: 'test.metalink.#2'/n/n 0K 100% 197K=0s/n/n2021-09-19 16:47:48 (197 KB/s) - 'test.metalink.#2' saved [12/12]/n/nComputing size for 'test.metalink.#2'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#2'/nDeclared hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nComputed hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nChecksum matches./n"}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-metalink-xml-homepath.py", line 97, in err = Meta.http_test ( File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/misc/metalinkv3_xml.py", line 111, in http_test err = http_test.begin () File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-metalink-xml-homepath.py (exit status: 1) FAIL: Test-metalink-xml-trust ============================= Setting --no-config (noconfig) to 1 Setting --trust-server-names (trustservernames) to 1 Setting --input-metalink (inputmetalink) to test.metalink Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:47:50] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:47:50] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:47:50] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:50] "GET /File1 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:50] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:47:50] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:47:50] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:50] "GET /File2 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:50] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:47:50] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:47:50] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:50] "GET /File3 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:50] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:47:50] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:47:50] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:50] "GET /File4 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:50] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:47:50] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:47:50] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:51] "GET /File5 HTTP/1.1" 200 - GNU Wget GNU GPL http://www.gnu.org/licenses/gpl.html Wget Test Files 1.2.3 Wget Test Files description 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File1_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File1 fac79f893bd735c6b6b2bd5ca9cf49df6145f65a64de55dfc902d98453ab4272 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File2_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File2 4c3dc628b80b607d747ae190aa7783298103cc4c7fa25d72305062469c3d8916 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File3_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File3 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File4_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File4 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File5_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File5 LocalFiles = ['test.metalink'] ServerFiles = [['wrong_file', 'File1_lowPref', 'File1', 'File2_lowPref', 'File2', 'File3_lowPref', 'File3', 'File4_lowPref', 'File4', 'File5_lowPref', 'File5']] ExpectedFiles = ['File1', 'File2', 'File3', 'File4', 'File5', 'test.metalink'] Running Test Test-metalink-xml-trust.py Running Test Test-metalink-xml-trust.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config --trust-server-names --input-metalink test.metalink ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '--trust-server-names', '--input-metalink', 'test.metalink'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-xml-trust.py-test'} {'wget-log': {'content': "DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-xml-trust.py-test/.wget-hsts/nRetrieving from Metalink 'test.metalink'/nProcessing metalink file 'File1'.../n/n Metalink/XML/n/n --trust-server-names true/n --directory-prefix ''/n/n Counted metalink file 1/n Planned metalink file 'File1'/n Trusted metalink file 'File1'/n Current metalink file 'File1'/n Cleaned metalink file 'File1'/n Secured metalink file 'File1'/n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55958/404' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55958/404' (UTF-8)/nStoring to File1/n--2021-09-19 16:47:50-- http://127.0.0.1:55958/404/nConnecting to 127.0.0.1:55958... connected./nCreated socket 5./nReleasing 0x0000000800073be0 (new refcount 0)./nDeleting unused 0x0000000800073be0./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:55958/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:50 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = 'utf-8'/nClosed fd 5/n2021-09-19 16:47:50 ERROR 404: Not Found./n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55958/wrong_file' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55958/wrong_file' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to File1/n--2021-09-19 16:47:50-- http://127.0.0.1:55958/wrong_file/nConnecting to 127.0.0.1:55958... connected./nCreated socket 5./nReleasing 0x0000000800073ce0 (new refcount 0)./nDeleting unused 0x0000000800073ce0./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:55958/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:50 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 5 for persistent reuse./nLength: 5 [text/plain]/nSaving to: 'File1'/n/n 0K 100% 81.5K=0s/n/n2021-09-19 16:47:50 (81.5 KB/s) - 'File1' saved [5/5]/n/nComputing size for 'File1'/nFile size not declared. Skipping check./nComputing checksum for 'File1'/nDeclared hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file 'File1'./nRemoving 'File1'./nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55958/File1' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55958/File1' (UTF-8)/nStoring to File1/n--2021-09-19 16:47:50-- http://127.0.0.1:55958/File1/nReusing existing connection to 127.0.0.1:55958./nReusing fd 5./n/n---request begin---/nGET /File1 HTTP/1.1/nHost: 127.0.0.1:55958/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:50 GMT/ncontent-type: text/plain/ncontent-length: 24/n/n---response end---/n200 OK/nLength: 24 [text/plain]/nSaving to: 'File1'/n/n 0K 100% 268K=0s/n/n2021-09-19 16:47:50 (268 KB/s) - 'File1' saved [24/24]/n/nComputing size for 'File1'/nFile size not declared. Skipping check./nComputing checksum for 'File1'/nDeclared hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nComputed hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nChecksum matches./nProcessing metalink file 'File2'.../n/n Metalink/XML/n/n --trust-server-names true/n --directory-prefix ''/n/n Counted metalink file 2/n Planned metalink file 'File2'/n Trusted metalink file 'File2'/n Current metalink file 'File2'/n Cleaned metalink file 'File2'/n Secured metalink file 'File2'/n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55958/404' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55958/404' (UTF-8)/nStoring to File2/n--2021-09-19 16:47:50-- http://127.0.0.1:55958/404/nReusing existing connection to 127.0.0.1:55958./nReusing fd 5./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:55958/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:50 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = 'utf-8'/nDisabling further reuse of socket 5./nClosed fd 5/n2021-09-19 16:47:50 ERROR 404: Not Found./n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55958/wrong_file' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55958/wrong_file' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to File2/n--2021-09-19 16:47:50-- http://127.0.0.1:55958/wrong_file/nConnecting to 127.0.0.1:55958... connected./nCreated socket 5./nReleasing 0x000000080006c750 (new refcount 0)./nDeleting unused 0x000000080006c750./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:55958/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:50 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 5 for persistent reuse./nLength: 5 [text/plain]/nSaving to: 'File2'/n/n 0K 100% 78.8K=0s/n/n2021-09-19 16:47:50 (78.8 KB/s) - 'File2' saved [5/5]/n/nComputing size for 'File2'/nFile size not declared. Skipping check./nComputing checksum for 'File2'/nDeclared hash: fac79f893bd735c6b6b2bd5ca9cf49df6145f65a64de55dfc902d98453ab4272/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file 'File2'./nRemoving 'File2'./nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55958/File2' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55958/File2' (UTF-8)/nStoring to File2/n--2021-09-19 16:47:50-- http://127.0.0.1:55958/File2/nReusing existing connection to 127.0.0.1:55958./nReusing fd 5./n/n---request begin---/nGET /File2 HTTP/1.1/nHost: 127.0.0.1:55958/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:50 GMT/ncontent-type: text/plain/ncontent-length: 21/n/n---response end---/n200 OK/nLength: 21 [text/plain]/nSaving to: 'File2'/n/n 0K 100% 370K=0s/n/n2021-09-19 16:47:50 (370 KB/s) - 'File2' saved [21/21]/n/nComputing size for 'File2'/nFile size not declared. Skipping check./nComputing checksum for 'File2'/nDeclared hash: fac79f893bd735c6b6b2bd5ca9cf49df6145f65a64de55dfc902d98453ab4272/nComputed hash: fac79f893bd735c6b6b2bd5ca9cf49df6145f65a64de55dfc902d98453ab4272/nChecksum matches./nProcessing metalink file 'File3'.../n/n Metalink/XML/n/n --trust-server-names true/n --directory-prefix ''/n/n Counted metalink file 3/n Planned metalink file 'File3'/n Trusted metalink file 'File3'/n Current metalink file 'File3'/n Cleaned metalink file 'File3'/n Secured metalink file 'File3'/n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55958/404' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55958/404' (UTF-8)/nStoring to File3/n--2021-09-19 16:47:50-- http://127.0.0.1:55958/404/nReusing existing connection to 127.0.0.1:55958./nReusing fd 5./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:55958/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:50 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = 'utf-8'/nDisabling further reuse of socket 5./nClosed fd 5/n2021-09-19 16:47:50 ERROR 404: Not Found./n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55958/wrong_file' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55958/wrong_file' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to File3/n--2021-09-19 16:47:50-- http://127.0.0.1:55958/wrong_file/nConnecting to 127.0.0.1:55958... connected./nCreated socket 5./nReleasing 0x000000080006cd10 (new refcount 0)./nDeleting unused 0x000000080006cd10./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:55958/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:50 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 5 for persistent reuse./nLength: 5 [text/plain]/nSaving to: 'File3'/n/n 0K 100% 95.4K=0s/n/n2021-09-19 16:47:50 (95.4 KB/s) - 'File3' saved [5/5]/n/nComputing size for 'File3'/nFile size not declared. Skipping check./nComputing checksum for 'File3'/nDeclared hash: 4c3dc628b80b607d747ae190aa7783298103cc4c7fa25d72305062469c3d8916/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file 'File3'./nRemoving 'File3'./nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55958/File3' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55958/File3' (UTF-8)/nStoring to File3/n--2021-09-19 16:47:50-- http://127.0.0.1:55958/File3/nReusing existing connection to 127.0.0.1:55958./nReusing fd 5./n/n---request begin---/nGET /File3 HTTP/1.1/nHost: 127.0.0.1:55958/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:50 GMT/ncontent-type: text/plain/ncontent-length: 21/n/n---response end---/n200 OK/nLength: 21 [text/plain]/nSaving to: 'File3'/n/n 0K 100% 302K=0s/n/n2021-09-19 16:47:50 (302 KB/s) - 'File3' saved [21/21]/n/nComputing size for 'File3'/nFile size not declared. Skipping check./nComputing checksum for 'File3'/nDeclared hash: 4c3dc628b80b607d747ae190aa7783298103cc4c7fa25d72305062469c3d8916/nComputed hash: 4c3dc628b80b607d747ae190aa7783298103cc4c7fa25d72305062469c3d8916/nChecksum matches./nProcessing metalink file 'File4'.../n/n Metalink/XML/n/n --trust-server-names true/n --directory-prefix ''/n/n Counted metalink file 4/n Planned metalink file 'File4'/n Trusted metalink file 'File4'/n Current metalink file 'File4'/n Cleaned metalink file 'File4'/n Secured metalink file 'File4'/n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55958/404' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55958/404' (UTF-8)/nStoring to File4/n--2021-09-19 16:47:50-- http://127.0.0.1:55958/404/nReusing existing connection to 127.0.0.1:55958./nReusing fd 5./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:55958/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:50 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = 'utf-8'/nDisabling further reuse of socket 5./nClosed fd 5/n2021-09-19 16:47:50 ERROR 404: Not Found./n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55958/wrong_file' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55958/wrong_file' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to File4/n--2021-09-19 16:47:50-- http://127.0.0.1:55958/wrong_file/nConnecting to 127.0.0.1:55958... connected./nCreated socket 5./nReleasing 0x000000080006beb0 (new refcount 0)./nDeleting unused 0x000000080006beb0./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:55958/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:50 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 5 for persistent reuse./nLength: 5 [text/plain]/nSaving to: 'File4'/n/n 0K 100% 70.7K=0s/n/n2021-09-19 16:47:50 (70.7 KB/s) - 'File4' saved [5/5]/n/nComputing size for 'File4'/nFile size not declared. Skipping check./nComputing checksum for 'File4'/nDeclared hash: 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file 'File4'./nRemoving 'File4'./nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55958/File4' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55958/File4' (UTF-8)/nStoring to File4/n--2021-09-19 16:47:50-- http://127.0.0.1:55958/File4/nReusing existing connection to 127.0.0.1:55958./nReusing fd 5./n/n---request begin---/nGET /File4 HTTP/1.1/nHost: 127.0.0.1:55958/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:50 GMT/ncontent-type: text/plain/ncontent-length: 16/n/n---response end---/n200 OK/nLength: 16 [text/plain]/nSaving to: 'File4'/n/n 0K 100% 309K=0s/n/n2021-09-19 16:47:50 (309 KB/s) - 'File4' saved [16/16]/n/nComputing size for 'File4'/nFile size not declared. Skipping check./nComputing checksum for 'File4'/nDeclared hash: 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314/nComputed hash: 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314/nChecksum matches./nProcessing metalink file 'File5'.../n/n Metalink/XML/n/n --trust-server-names true/n --directory-prefix ''/n/n Counted metalink file 5/n Planned metalink file 'File5'/n Trusted metalink file 'File5'/n Current metalink file 'File5'/n Cleaned metalink file 'File5'/n Secured metalink file 'File5'/n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55958/404' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55958/404' (UTF-8)/nStoring to File5/n--2021-09-19 16:47:50-- http://127.0.0.1:55958/404/nReusing existing connection to 127.0.0.1:55958./nReusing fd 5./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:55958/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:50 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = 'utf-8'/nDisabling further reuse of socket 5./nClosed fd 5/n2021-09-19 16:47:50 ERROR 404: Not Found./n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55958/wrong_file' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55958/wrong_file' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to File5/n--2021-09-19 16:47:50-- http://127.0.0.1:55958/wrong_file/nConnecting to 127.0.0.1:55958... connected./nCreated socket 5./nReleasing 0x000000080006beb0 (new refcount 0)./nDeleting unused 0x000000080006beb0./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:55958/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:50 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 5 for persistent reuse./nLength: 5 [text/plain]/nSaving to: 'File5'/n/n 0K 100% 82.3K=0s/n/n2021-09-19 16:47:50 (82.3 KB/s) - 'File5' saved [5/5]/n/nComputing size for 'File5'/nFile size not declared. Skipping check./nComputing checksum for 'File5'/nDeclared hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file 'File5'./nRemoving 'File5'./nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55958/File5' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55958/File5' (UTF-8)/nStoring to File5/n--2021-09-19 16:47:50-- http://127.0.0.1:55958/File5/nReusing existing connection to 127.0.0.1:55958./nReusing fd 5./n/n---request begin---/nGET /File5 HTTP/1.1/nHost: 127.0.0.1:55958/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:51 GMT/ncontent-type: text/plain/ncontent-length: 12/n/n---response end---/n200 OK/nLength: 12 [text/plain]/nSaving to: 'File5'/n/n 0K 100% 159K=0s/n/n2021-09-19 16:47:51 (159 KB/s) - 'File5' saved [12/12]/n/nComputing size for 'File5'/nFile size not declared. Skipping check./nComputing checksum for 'File5'/nDeclared hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nComputed hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nChecksum matches./n"}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-metalink-xml-trust.py", line 96, in err = Meta.http_test ( File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/misc/metalinkv3_xml.py", line 111, in http_test err = http_test.begin () File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-metalink-xml-trust.py (exit status: 1) FAIL: Test-metalink-xml-relpath-trust ===================================== Setting --no-config (noconfig) to 1 Setting --trust-server-names (trustservernames) to 1 Setting --input-metalink (inputmetalink) to test.metalink Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:47:52] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:47:52] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:47:52] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:52] "GET /File5 HTTP/1.1" 200 - GNU Wget GNU GPL http://www.gnu.org/licenses/gpl.html Wget Test Files 1.2.3 Wget Test Files description 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File1_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File1 fac79f893bd735c6b6b2bd5ca9cf49df6145f65a64de55dfc902d98453ab4272 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File2_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File2 4c3dc628b80b607d747ae190aa7783298103cc4c7fa25d72305062469c3d8916 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File3_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File3 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File4_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File4 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File5_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File5 LocalFiles = ['test.metalink'] ServerFiles = [['wrong_file', 'File1_lowPref', 'File1', 'File2_lowPref', 'File2', 'File3_lowPref', 'File3', 'File4_lowPref', 'File4', 'File5_lowPref', 'File5']] ExpectedFiles = ['File5', 'test.metalink'] Running Test Test-metalink-xml-relpath-trust.py Running Test Test-metalink-xml-relpath-trust.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config --trust-server-names --input-metalink test.metalink ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '--trust-server-names', '--input-metalink', 'test.metalink'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-xml-relpath-trust.py-test'} {'wget-log': {'content': "DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-xml-relpath-trust.py-test/.wget-hsts/nRetrieving from Metalink 'test.metalink'/nProcessing metalink file 'File5'.../n/n Metalink/XML/n/n --trust-server-names true/n --directory-prefix ''/n/n Counted metalink file 1/n Planned metalink file 'File5'/n Trusted metalink file 'File5'/n Current metalink file 'File5'/n Cleaned metalink file 'File5'/n Secured metalink file 'File5'/n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55966/404' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55966/404' (UTF-8)/nStoring to File5/n--2021-09-19 16:47:52-- http://127.0.0.1:55966/404/nConnecting to 127.0.0.1:55966... connected./nCreated socket 5./nReleasing 0x00000008000726f0 (new refcount 0)./nDeleting unused 0x00000008000726f0./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:55966/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:52 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = 'utf-8'/nClosed fd 5/n2021-09-19 16:47:52 ERROR 404: Not Found./n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55966/wrong_file' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55966/wrong_file' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to File5/n--2021-09-19 16:47:52-- http://127.0.0.1:55966/wrong_file/nConnecting to 127.0.0.1:55966... connected./nCreated socket 5./nReleasing 0x0000000800072800 (new refcount 0)./nDeleting unused 0x0000000800072800./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:55966/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:52 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 5 for persistent reuse./nLength: 5 [text/plain]/nSaving to: 'File5'/n/n 0K 100% 64.1K=0s/n/n2021-09-19 16:47:52 (64.1 KB/s) - 'File5' saved [5/5]/n/nComputing size for 'File5'/nFile size not declared. Skipping check./nComputing checksum for 'File5'/nDeclared hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file 'File5'./nRemoving 'File5'./nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55966/File5' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55966/File5' (UTF-8)/nStoring to File5/n--2021-09-19 16:47:52-- http://127.0.0.1:55966/File5/nReusing existing connection to 127.0.0.1:55966./nReusing fd 5./n/n---request begin---/nGET /File5 HTTP/1.1/nHost: 127.0.0.1:55966/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:52 GMT/ncontent-type: text/plain/ncontent-length: 12/n/n---response end---/n200 OK/nLength: 12 [text/plain]/nSaving to: 'File5'/n/n 0K 100% 79.8K=0s/n/n2021-09-19 16:47:52 (79.8 KB/s) - 'File5' saved [12/12]/n/nComputing size for 'File5'/nFile size not declared. Skipping check./nComputing checksum for 'File5'/nDeclared hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nComputed hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nChecksum matches./n"}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-metalink-xml-relpath-trust.py", line 96, in err = Meta.http_test ( File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/misc/metalinkv3_xml.py", line 111, in http_test err = http_test.begin () File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-metalink-xml-relpath-trust.py (exit status: 1) FAIL: Test-metalink-xml-abspath-trust ===================================== Setting --no-config (noconfig) to 1 Setting --trust-server-names (trustservernames) to 1 Setting --input-metalink (inputmetalink) to test.metalink Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:47:55] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:47:55] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:47:55] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:55] "GET /File2 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:55] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:47:55] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:47:55] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:55] "GET /File5 HTTP/1.1" 200 - GNU Wget GNU GPL http://www.gnu.org/licenses/gpl.html Wget Test Files 1.2.3 Wget Test Files description 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File1_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File1 fac79f893bd735c6b6b2bd5ca9cf49df6145f65a64de55dfc902d98453ab4272 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File2_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File2 4c3dc628b80b607d747ae190aa7783298103cc4c7fa25d72305062469c3d8916 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File3_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File3 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File4_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File4 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File5_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File5 LocalFiles = ['test.metalink'] ServerFiles = [['wrong_file', 'File1_lowPref', 'File1', 'File2_lowPref', 'File2', 'File3_lowPref', 'File3', 'File4_lowPref', 'File4', 'File5_lowPref', 'File5']] ExpectedFiles = ['File2', 'File5', 'test.metalink'] Running Test Test-metalink-xml-abspath-trust.py Running Test Test-metalink-xml-abspath-trust.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config --trust-server-names --input-metalink test.metalink ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '--trust-server-names', '--input-metalink', 'test.metalink'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-xml-abspath-trust.py-test'} {'wget-log': {'content': "DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-xml-abspath-trust.py-test/.wget-hsts/nRetrieving from Metalink 'test.metalink'/nProcessing metalink file 'File2'.../n/n Metalink/XML/n/n --trust-server-names true/n --directory-prefix ''/n/n Counted metalink file 1/n Planned metalink file 'File2'/n Trusted metalink file 'File2'/n Current metalink file 'File2'/n Cleaned metalink file 'File2'/n Secured metalink file 'File2'/n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55970/404' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55970/404' (UTF-8)/nStoring to File2/n--2021-09-19 16:47:55-- http://127.0.0.1:55970/404/nConnecting to 127.0.0.1:55970... connected./nCreated socket 5./nReleasing 0x0000000800072bd0 (new refcount 0)./nDeleting unused 0x0000000800072bd0./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:55970/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:55 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = 'utf-8'/nClosed fd 5/n2021-09-19 16:47:55 ERROR 404: Not Found./n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55970/wrong_file' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55970/wrong_file' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to File2/n--2021-09-19 16:47:55-- http://127.0.0.1:55970/wrong_file/nConnecting to 127.0.0.1:55970... connected./nCreated socket 5./nReleasing 0x0000000800072ce0 (new refcount 0)./nDeleting unused 0x0000000800072ce0./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:55970/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:55 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 5 for persistent reuse./nLength: 5 [text/plain]/nSaving to: 'File2'/n/n 0K 100% 105K=0s/n/n2021-09-19 16:47:55 (105 KB/s) - 'File2' saved [5/5]/n/nComputing size for 'File2'/nFile size not declared. Skipping check./nComputing checksum for 'File2'/nDeclared hash: fac79f893bd735c6b6b2bd5ca9cf49df6145f65a64de55dfc902d98453ab4272/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file 'File2'./nRemoving 'File2'./nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55970/File2' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55970/File2' (UTF-8)/nStoring to File2/n--2021-09-19 16:47:55-- http://127.0.0.1:55970/File2/nReusing existing connection to 127.0.0.1:55970./nReusing fd 5./n/n---request begin---/nGET /File2 HTTP/1.1/nHost: 127.0.0.1:55970/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:55 GMT/ncontent-type: text/plain/ncontent-length: 21/n/n---response end---/n200 OK/nLength: 21 [text/plain]/nSaving to: 'File2'/n/n 0K 100% 456K=0s/n/n2021-09-19 16:47:55 (456 KB/s) - 'File2' saved [21/21]/n/nComputing size for 'File2'/nFile size not declared. Skipping check./nComputing checksum for 'File2'/nDeclared hash: fac79f893bd735c6b6b2bd5ca9cf49df6145f65a64de55dfc902d98453ab4272/nComputed hash: fac79f893bd735c6b6b2bd5ca9cf49df6145f65a64de55dfc902d98453ab4272/nChecksum matches./nProcessing metalink file 'File5'.../n/n Metalink/XML/n/n --trust-server-names true/n --directory-prefix ''/n/n Counted metalink file 2/n Planned metalink file 'File5'/n Trusted metalink file 'File5'/n Current metalink file 'File5'/n Cleaned metalink file 'File5'/n Secured metalink file 'File5'/n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55970/404' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55970/404' (UTF-8)/nStoring to File5/n--2021-09-19 16:47:55-- http://127.0.0.1:55970/404/nReusing existing connection to 127.0.0.1:55970./nReusing fd 5./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:55970/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:55 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = 'utf-8'/nDisabling further reuse of socket 5./nClosed fd 5/n2021-09-19 16:47:55 ERROR 404: Not Found./n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55970/wrong_file' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55970/wrong_file' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to File5/n--2021-09-19 16:47:55-- http://127.0.0.1:55970/wrong_file/nConnecting to 127.0.0.1:55970... connected./nCreated socket 5./nReleasing 0x0000000800073630 (new refcount 0)./nDeleting unused 0x0000000800073630./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:55970/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:55 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 5 for persistent reuse./nLength: 5 [text/plain]/nSaving to: 'File5'/n/n 0K 100% 96.3K=0s/n/n2021-09-19 16:47:55 (96.3 KB/s) - 'File5' saved [5/5]/n/nComputing size for 'File5'/nFile size not declared. Skipping check./nComputing checksum for 'File5'/nDeclared hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file 'File5'./nRemoving 'File5'./nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55970/File5' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55970/File5' (UTF-8)/nStoring to File5/n--2021-09-19 16:47:55-- http://127.0.0.1:55970/File5/nReusing existing connection to 127.0.0.1:55970./nReusing fd 5./n/n---request begin---/nGET /File5 HTTP/1.1/nHost: 127.0.0.1:55970/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:55 GMT/ncontent-type: text/plain/ncontent-length: 12/n/n---response end---/n200 OK/nLength: 12 [text/plain]/nSaving to: 'File5'/n/n 0K 100% 244K=0s/n/n2021-09-19 16:47:55 (244 KB/s) - 'File5' saved [12/12]/n/nComputing size for 'File5'/nFile size not declared. Skipping check./nComputing checksum for 'File5'/nDeclared hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nComputed hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nChecksum matches./n"}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-metalink-xml-abspath-trust.py", line 96, in err = Meta.http_test ( File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/misc/metalinkv3_xml.py", line 111, in http_test err = http_test.begin () File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-metalink-xml-abspath-trust.py (exit status: 1) FAIL: Test-metalink-xml-homepath-trust ====================================== Setting --no-config (noconfig) to 1 Setting --trust-server-names (trustservernames) to 1 Setting --input-metalink (inputmetalink) to test.metalink Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:47:57] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:47:57] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:47:57] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:57] "GET /File4 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:57] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:47:57] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:47:57] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:57] "GET /File5 HTTP/1.1" 200 - GNU Wget GNU GPL http://www.gnu.org/licenses/gpl.html Wget Test Files 1.2.3 Wget Test Files description 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File1_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File1 fac79f893bd735c6b6b2bd5ca9cf49df6145f65a64de55dfc902d98453ab4272 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File2_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File2 4c3dc628b80b607d747ae190aa7783298103cc4c7fa25d72305062469c3d8916 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File3_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File3 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File4_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File4 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File5_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File5 LocalFiles = ['test.metalink'] ServerFiles = [['wrong_file', 'File1_lowPref', 'File1', 'File2_lowPref', 'File2', 'File3_lowPref', 'File3', 'File4_lowPref', 'File4', 'File5_lowPref', 'File5']] ExpectedFiles = ['dir/File4~', 'dir/~/File5', 'test.metalink'] Running Test Test-metalink-xml-homepath-trust.py Running Test Test-metalink-xml-homepath-trust.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config --trust-server-names --input-metalink test.metalink ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '--trust-server-names', '--input-metalink', 'test.metalink'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-xml-homepath-trust.py-test'} {'wget-log': {'content': "DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-xml-homepath-trust.py-test/.wget-hsts/nRetrieving from Metalink 'test.metalink'/nProcessing metalink file 'dir/File4~'.../n/n Metalink/XML/n/n --trust-server-names true/n --directory-prefix ''/n/n Counted metalink file 1/n Planned metalink file 'dir/File4~'/n Trusted metalink file 'dir/File4~'/n Current metalink file 'dir/File4~'/n Cleaned metalink file 'File4~'/n Secured metalink file 'dir/File4~'/n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55975/404' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55975/404' (UTF-8)/nStoring to dir/File4~/n--2021-09-19 16:47:57-- http://127.0.0.1:55975/404/nConnecting to 127.0.0.1:55975... connected./nCreated socket 4./nReleasing 0x0000000800072b80 (new refcount 0)./nDeleting unused 0x0000000800072b80./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:55975/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:57 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = 'utf-8'/nClosed fd 4/n2021-09-19 16:47:57 ERROR 404: Not Found./n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55975/wrong_file' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55975/wrong_file' (UTF-8)/nStoring to dir/File4~/n--2021-09-19 16:47:57-- http://127.0.0.1:55975/wrong_file/nConnecting to 127.0.0.1:55975... connected./nCreated socket 4./nReleasing 0x0000000800072bf0 (new refcount 0)./nDeleting unused 0x0000000800072bf0./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:55975/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:57 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nLength: 5 [text/plain]/nSaving to: 'dir/File4~'/n/n 0K 100% 53.0K=0s/n/n2021-09-19 16:47:57 (53.0 KB/s) - 'dir/File4~' saved [5/5]/n/nComputing size for 'dir/File4~'/nFile size not declared. Skipping check./nComputing checksum for 'dir/File4~'/nDeclared hash: 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file 'dir/File4~'./nRemoving 'dir/File4~'./nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55975/File4' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55975/File4' (UTF-8)/nStoring to dir/File4~/n--2021-09-19 16:47:57-- http://127.0.0.1:55975/File4/nReusing existing connection to 127.0.0.1:55975./nReusing fd 4./n/n---request begin---/nGET /File4 HTTP/1.1/nHost: 127.0.0.1:55975/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:57 GMT/ncontent-type: text/plain/ncontent-length: 16/n/n---response end---/n200 OK/nLength: 16 [text/plain]/nSaving to: 'dir/File4~'/n/n 0K 100% 305K=0s/n/n2021-09-19 16:47:57 (305 KB/s) - 'dir/File4~' saved [16/16]/n/nComputing size for 'dir/File4~'/nFile size not declared. Skipping check./nComputing checksum for 'dir/File4~'/nDeclared hash: 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314/nComputed hash: 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314/nChecksum matches./nProcessing metalink file 'dir/~/File5'.../n/n Metalink/XML/n/n --trust-server-names true/n --directory-prefix ''/n/n Counted metalink file 2/n Planned metalink file 'dir/~/File5'/n Trusted metalink file 'dir/~/File5'/n Current metalink file 'dir/~/File5'/n Cleaned metalink file 'File5'/n Secured metalink file 'dir/~/File5'/n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55975/404' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55975/404' (UTF-8)/nStoring to dir/~/File5/n--2021-09-19 16:47:57-- http://127.0.0.1:55975/404/nReusing existing connection to 127.0.0.1:55975./nReusing fd 4./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:55975/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:57 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = 'utf-8'/nDisabling further reuse of socket 4./nClosed fd 4/n2021-09-19 16:47:57 ERROR 404: Not Found./n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55975/wrong_file' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55975/wrong_file' (UTF-8)/nStoring to dir/~/File5/n--2021-09-19 16:47:57-- http://127.0.0.1:55975/wrong_file/nConnecting to 127.0.0.1:55975... connected./nCreated socket 4./nReleasing 0x0000000800073400 (new refcount 0)./nDeleting unused 0x0000000800073400./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:55975/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:57 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nLength: 5 [text/plain]/nSaving to: 'dir/~/File5'/n/n 0K 100% 58.1K=0s/n/n2021-09-19 16:47:57 (58.1 KB/s) - 'dir/~/File5' saved [5/5]/n/nComputing size for 'dir/~/File5'/nFile size not declared. Skipping check./nComputing checksum for 'dir/~/File5'/nDeclared hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file 'dir/~/File5'./nRemoving 'dir/~/File5'./nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55975/File5' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55975/File5' (UTF-8)/nStoring to dir/~/File5/n--2021-09-19 16:47:57-- http://127.0.0.1:55975/File5/nReusing existing connection to 127.0.0.1:55975./nReusing fd 4./n/n---request begin---/nGET /File5 HTTP/1.1/nHost: 127.0.0.1:55975/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:57 GMT/ncontent-type: text/plain/ncontent-length: 12/n/n---response end---/n200 OK/nLength: 12 [text/plain]/nSaving to: 'dir/~/File5'/n/n 0K 100% 150K=0s/n/n2021-09-19 16:47:57 (150 KB/s) - 'dir/~/File5' saved [12/12]/n/nComputing size for 'dir/~/File5'/nFile size not declared. Skipping check./nComputing checksum for 'dir/~/File5'/nDeclared hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nComputed hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nChecksum matches./n"}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-metalink-xml-homepath-trust.py", line 97, in err = Meta.http_test ( File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/misc/metalinkv3_xml.py", line 111, in http_test err = http_test.begin () File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-metalink-xml-homepath-trust.py (exit status: 1) FAIL: Test-metalink-xml-prefix ============================== Setting --no-config (noconfig) to 1 Setting --directory-prefix (dirprefix) to dir Setting --input-metalink (inputmetalink) to test.metalink Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:47:59] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:47:59] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:47:59] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:59] "GET /File1 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:59] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:47:59] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:47:59] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:47:59] "GET /File5 HTTP/1.1" 200 - GNU Wget GNU GPL http://www.gnu.org/licenses/gpl.html Wget Test Files 1.2.3 Wget Test Files description 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File1_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File1 fac79f893bd735c6b6b2bd5ca9cf49df6145f65a64de55dfc902d98453ab4272 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File2_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File2 4c3dc628b80b607d747ae190aa7783298103cc4c7fa25d72305062469c3d8916 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File3_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File3 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File4_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File4 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File5_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File5 LocalFiles = ['test.metalink'] ServerFiles = [['wrong_file', 'File1_lowPref', 'File1', 'File2_lowPref', 'File2', 'File3_lowPref', 'File3', 'File4_lowPref', 'File4', 'File5_lowPref', 'File5']] ExpectedFiles = ['dir/test.metalink.#1', 'dir/test.metalink.#2', 'test.metalink'] Running Test Test-metalink-xml-prefix.py Running Test Test-metalink-xml-prefix.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config --directory-prefix dir --input-metalink test.metalink ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '--directory-prefix', 'dir', '--input-metalink', 'test.metalink'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-xml-prefix.py-test'} {'wget-log': {'content': "DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-xml-prefix.py-test/.wget-hsts/nRetrieving from Metalink 'test.metalink'/nProcessing metalink file 'subdir/File1'.../n/n Metalink/XML/n/n --trust-server-names false/n --directory-prefix 'dir'/n/n Counted metalink file 1/n Planned metalink file 'dir/subdir/File1'/n Trusted metalink file 'test.metalink.#1'/n Current metalink file 'dir/test.metalink.#1'/n Cleaned metalink file 'test.metalink.#1'/n Secured metalink file 'dir/test.metalink.#1'/n/n[--trust-server-names false, --directory-prefix='dir']/nPlanned metalink file: 'dir/subdir/File1'/nSecured metalink file: 'dir/test.metalink.#1'/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55980/404' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55980/404' (UTF-8)/nStoring to dir/test.metalink.#1/n--2021-09-19 16:47:59-- http://127.0.0.1:55980/404/nConnecting to 127.0.0.1:55980... connected./nCreated socket 4./nReleasing 0x0000000800072e10 (new refcount 0)./nDeleting unused 0x0000000800072e10./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:55980/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:59 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = 'utf-8'/nClosed fd 4/n2021-09-19 16:47:59 ERROR 404: Not Found./n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55980/wrong_file' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55980/wrong_file' (UTF-8)/nStoring to dir/test.metalink.#1/n--2021-09-19 16:47:59-- http://127.0.0.1:55980/wrong_file/nConnecting to 127.0.0.1:55980... connected./nCreated socket 4./nReleasing 0x0000000800072f40 (new refcount 0)./nDeleting unused 0x0000000800072f40./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:55980/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:59 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nLength: 5 [text/plain]/nSaving to: 'dir/test.metalink.#1'/n/n 0K 100% 77.6K=0s/n/n2021-09-19 16:47:59 (77.6 KB/s) - 'dir/test.metalink.#1' saved [5/5]/n/nComputing size for 'dir/test.metalink.#1'/nFile size not declared. Skipping check./nComputing checksum for 'dir/test.metalink.#1'/nDeclared hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file 'dir/test.metalink.#1'./nRemoving 'dir/test.metalink.#1'./nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55980/File1' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55980/File1' (UTF-8)/nStoring to dir/test.metalink.#1/n--2021-09-19 16:47:59-- http://127.0.0.1:55980/File1/nReusing existing connection to 127.0.0.1:55980./nReusing fd 4./n/n---request begin---/nGET /File1 HTTP/1.1/nHost: 127.0.0.1:55980/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:59 GMT/ncontent-type: text/plain/ncontent-length: 24/n/n---response end---/n200 OK/nLength: 24 [text/plain]/nSaving to: 'dir/test.metalink.#1'/n/n 0K 100% 297K=0s/n/n2021-09-19 16:47:59 (297 KB/s) - 'dir/test.metalink.#1' saved [24/24]/n/nComputing size for 'dir/test.metalink.#1'/nFile size not declared. Skipping check./nComputing checksum for 'dir/test.metalink.#1'/nDeclared hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nComputed hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nChecksum matches./nProcessing metalink file 'subdir/File5'.../n/n Metalink/XML/n/n --trust-server-names false/n --directory-prefix 'dir'/n/n Counted metalink file 2/n Planned metalink file 'dir/subdir/File5'/n Trusted metalink file 'test.metalink.#2'/n Current metalink file 'dir/test.metalink.#2'/n Cleaned metalink file 'test.metalink.#2'/n Secured metalink file 'dir/test.metalink.#2'/n/n[--trust-server-names false, --directory-prefix='dir']/nPlanned metalink file: 'dir/subdir/File5'/nSecured metalink file: 'dir/test.metalink.#2'/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55980/404' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55980/404' (UTF-8)/nStoring to dir/test.metalink.#2/n--2021-09-19 16:47:59-- http://127.0.0.1:55980/404/nReusing existing connection to 127.0.0.1:55980./nReusing fd 4./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:55980/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:59 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = 'utf-8'/nDisabling further reuse of socket 4./nClosed fd 4/n2021-09-19 16:47:59 ERROR 404: Not Found./n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55980/wrong_file' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55980/wrong_file' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to dir/test.metalink.#2/n--2021-09-19 16:47:59-- http://127.0.0.1:55980/wrong_file/nConnecting to 127.0.0.1:55980... connected./nCreated socket 4./nReleasing 0x0000000800073990 (new refcount 0)./nDeleting unused 0x0000000800073990./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:55980/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:59 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nLength: 5 [text/plain]/nSaving to: 'dir/test.metalink.#2'/n/n 0K 100% 69.0K=0s/n/n2021-09-19 16:47:59 (69.0 KB/s) - 'dir/test.metalink.#2' saved [5/5]/n/nComputing size for 'dir/test.metalink.#2'/nFile size not declared. Skipping check./nComputing checksum for 'dir/test.metalink.#2'/nDeclared hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file 'dir/test.metalink.#2'./nRemoving 'dir/test.metalink.#2'./nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55980/File5' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55980/File5' (UTF-8)/nStoring to dir/test.metalink.#2/n--2021-09-19 16:47:59-- http://127.0.0.1:55980/File5/nReusing existing connection to 127.0.0.1:55980./nReusing fd 4./n/n---request begin---/nGET /File5 HTTP/1.1/nHost: 127.0.0.1:55980/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:47:59 GMT/ncontent-type: text/plain/ncontent-length: 12/n/n---response end---/n200 OK/nLength: 12 [text/plain]/nSaving to: 'dir/test.metalink.#2'/n/n 0K 100% 140K=0s/n/n2021-09-19 16:47:59 (140 KB/s) - 'dir/test.metalink.#2' saved [12/12]/n/nComputing size for 'dir/test.metalink.#2'/nFile size not declared. Skipping check./nComputing checksum for 'dir/test.metalink.#2'/nDeclared hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nComputed hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nChecksum matches./n"}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-metalink-xml-prefix.py", line 96, in err = Meta.http_test ( File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/misc/metalinkv3_xml.py", line 111, in http_test err = http_test.begin () File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-metalink-xml-prefix.py (exit status: 1) FAIL: Test-metalink-xml-relprefix ================================= Setting --no-config (noconfig) to 1 Setting --directory-prefix (dirprefix) to ../dir Setting --input-metalink (inputmetalink) to test.metalink Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:48:01] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:48:01] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:48:01] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:48:01] "GET /File1 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:48:01] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:48:01] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:48:01] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:48:01] "GET /File5 HTTP/1.1" 200 - GNU Wget GNU GPL http://www.gnu.org/licenses/gpl.html Wget Test Files 1.2.3 Wget Test Files description 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File1_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File1 fac79f893bd735c6b6b2bd5ca9cf49df6145f65a64de55dfc902d98453ab4272 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File2_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File2 4c3dc628b80b607d747ae190aa7783298103cc4c7fa25d72305062469c3d8916 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File3_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File3 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File4_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File4 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File5_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File5 LocalFiles = ['test.metalink'] ServerFiles = [['wrong_file', 'File1_lowPref', 'File1', 'File2_lowPref', 'File2', 'File3_lowPref', 'File3', 'File4_lowPref', 'File4', 'File5_lowPref', 'File5']] ExpectedFiles = ['test.metalink.#1', 'test.metalink.#2', 'test.metalink'] Running Test Test-metalink-xml-relprefix.py Running Test Test-metalink-xml-relprefix.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config --directory-prefix ../dir --input-metalink test.metalink ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '--directory-prefix', '../dir', '--input-metalink', 'test.metalink'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-xml-relprefix.py-test'} {'wget-log': {'content': "DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-xml-relprefix.py-test/.wget-hsts/nRetrieving from Metalink 'test.metalink'/nProcessing metalink file 'subdir/File1'.../n/n Metalink/XML/n/n --trust-server-names false/n --directory-prefix '../dir'/n/n Counted metalink file 1/n Planned metalink file '../dir/subdir/File1'/n Trusted metalink file 'test.metalink.#1'/n Current metalink file '../dir/test.metalink.#1'/n Cleaned metalink file 'test.metalink.#1'/n Secured metalink file 'test.metalink.#1'/n/n[--trust-server-names false, --directory-prefix='../dir']/nPlanned metalink file: '../dir/subdir/File1'/nSecured metalink file: 'test.metalink.#1'/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55985/404' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55985/404' (UTF-8)/nStoring to test.metalink.#1/n--2021-09-19 16:48:01-- http://127.0.0.1:55985/404/nConnecting to 127.0.0.1:55985... connected./nCreated socket 5./nReleasing 0x0000000800072f10 (new refcount 0)./nDeleting unused 0x0000000800072f10./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:55985/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:01 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = 'utf-8'/nClosed fd 5/n2021-09-19 16:48:01 ERROR 404: Not Found./n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55985/wrong_file' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55985/wrong_file' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to test.metalink.#1/n--2021-09-19 16:48:01-- http://127.0.0.1:55985/wrong_file/nConnecting to 127.0.0.1:55985... connected./nCreated socket 5./nReleasing 0x0000000800073010 (new refcount 0)./nDeleting unused 0x0000000800073010./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:55985/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:01 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 5 for persistent reuse./nLength: 5 [text/plain]/nSaving to: 'test.metalink.#1'/n/n 0K 100% 61.3K=0s/n/n2021-09-19 16:48:01 (61.3 KB/s) - 'test.metalink.#1' saved [5/5]/n/nComputing size for 'test.metalink.#1'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#1'/nDeclared hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file 'test.metalink.#1'./nRemoving 'test.metalink.#1'./nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55985/File1' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55985/File1' (UTF-8)/nStoring to test.metalink.#1/n--2021-09-19 16:48:01-- http://127.0.0.1:55985/File1/nReusing existing connection to 127.0.0.1:55985./nReusing fd 5./n/n---request begin---/nGET /File1 HTTP/1.1/nHost: 127.0.0.1:55985/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:01 GMT/ncontent-type: text/plain/ncontent-length: 24/n/n---response end---/n200 OK/nLength: 24 [text/plain]/nSaving to: 'test.metalink.#1'/n/n 0K 100% 353K=0s/n/n2021-09-19 16:48:01 (353 KB/s) - 'test.metalink.#1' saved [24/24]/n/nComputing size for 'test.metalink.#1'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#1'/nDeclared hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nComputed hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nChecksum matches./nProcessing metalink file 'subdir/File5'.../n/n Metalink/XML/n/n --trust-server-names false/n --directory-prefix '../dir'/n/n Counted metalink file 2/n Planned metalink file '../dir/subdir/File5'/n Trusted metalink file 'test.metalink.#2'/n Current metalink file '../dir/test.metalink.#2'/n Cleaned metalink file 'test.metalink.#2'/n Secured metalink file 'test.metalink.#2'/n/n[--trust-server-names false, --directory-prefix='../dir']/nPlanned metalink file: '../dir/subdir/File5'/nSecured metalink file: 'test.metalink.#2'/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55985/404' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55985/404' (UTF-8)/nStoring to test.metalink.#2/n--2021-09-19 16:48:01-- http://127.0.0.1:55985/404/nReusing existing connection to 127.0.0.1:55985./nReusing fd 5./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:55985/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:01 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = 'utf-8'/nDisabling further reuse of socket 5./nClosed fd 5/n2021-09-19 16:48:01 ERROR 404: Not Found./n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55985/wrong_file' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55985/wrong_file' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to test.metalink.#2/n--2021-09-19 16:48:01-- http://127.0.0.1:55985/wrong_file/nConnecting to 127.0.0.1:55985... connected./nCreated socket 5./nReleasing 0x0000000800073a10 (new refcount 0)./nDeleting unused 0x0000000800073a10./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:55985/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:01 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 5 for persistent reuse./nLength: 5 [text/plain]/nSaving to: 'test.metalink.#2'/n/n 0K 100% 56.4K=0s/n/n2021-09-19 16:48:01 (56.4 KB/s) - 'test.metalink.#2' saved [5/5]/n/nComputing size for 'test.metalink.#2'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#2'/nDeclared hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file 'test.metalink.#2'./nRemoving 'test.metalink.#2'./nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55985/File5' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55985/File5' (UTF-8)/nStoring to test.metalink.#2/n--2021-09-19 16:48:01-- http://127.0.0.1:55985/File5/nReusing existing connection to 127.0.0.1:55985./nReusing fd 5./n/n---request begin---/nGET /File5 HTTP/1.1/nHost: 127.0.0.1:55985/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:01 GMT/ncontent-type: text/plain/ncontent-length: 12/n/n---response end---/n200 OK/nLength: 12 [text/plain]/nSaving to: 'test.metalink.#2'/n/n 0K 100% 152K=0s/n/n2021-09-19 16:48:01 (152 KB/s) - 'test.metalink.#2' saved [12/12]/n/nComputing size for 'test.metalink.#2'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#2'/nDeclared hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nComputed hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nChecksum matches./n"}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-metalink-xml-relprefix.py", line 96, in err = Meta.http_test ( File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/misc/metalinkv3_xml.py", line 111, in http_test err = http_test.begin () File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-metalink-xml-relprefix.py (exit status: 1) FAIL: Test-metalink-xml-absprefix ================================= Setting --no-config (noconfig) to 1 Setting --directory-prefix (dirprefix) to /dir Setting --input-metalink (inputmetalink) to test.metalink Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:48:03] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:48:03] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:48:03] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:48:03] "GET /File1 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:48:03] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:48:03] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:48:03] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:48:03] "GET /File5 HTTP/1.1" 200 - GNU Wget GNU GPL http://www.gnu.org/licenses/gpl.html Wget Test Files 1.2.3 Wget Test Files description 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File1_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File1 fac79f893bd735c6b6b2bd5ca9cf49df6145f65a64de55dfc902d98453ab4272 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File2_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File2 4c3dc628b80b607d747ae190aa7783298103cc4c7fa25d72305062469c3d8916 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File3_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File3 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File4_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File4 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File5_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File5 LocalFiles = ['test.metalink'] ServerFiles = [['wrong_file', 'File1_lowPref', 'File1', 'File2_lowPref', 'File2', 'File3_lowPref', 'File3', 'File4_lowPref', 'File4', 'File5_lowPref', 'File5']] ExpectedFiles = ['test.metalink.#1', 'test.metalink.#2', 'test.metalink'] Running Test Test-metalink-xml-absprefix.py Running Test Test-metalink-xml-absprefix.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config --directory-prefix /dir --input-metalink test.metalink ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '--directory-prefix', '/dir', '--input-metalink', 'test.metalink'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-xml-absprefix.py-test'} {'wget-log': {'content': "DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-xml-absprefix.py-test/.wget-hsts/nRetrieving from Metalink 'test.metalink'/nProcessing metalink file 'subdir/File1'.../n/n Metalink/XML/n/n --trust-server-names false/n --directory-prefix '/dir'/n/n Counted metalink file 1/n Planned metalink file '/dir/subdir/File1'/n Trusted metalink file 'test.metalink.#1'/n Current metalink file '/dir/test.metalink.#1'/n Cleaned metalink file 'test.metalink.#1'/n Secured metalink file 'test.metalink.#1'/n/n[--trust-server-names false, --directory-prefix='/dir']/nPlanned metalink file: '/dir/subdir/File1'/nSecured metalink file: 'test.metalink.#1'/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55990/404' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55990/404' (UTF-8)/nStoring to test.metalink.#1/n--2021-09-19 16:48:03-- http://127.0.0.1:55990/404/nConnecting to 127.0.0.1:55990... connected./nCreated socket 5./nReleasing 0x0000000800072f10 (new refcount 0)./nDeleting unused 0x0000000800072f10./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:55990/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:03 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = 'utf-8'/nClosed fd 5/n2021-09-19 16:48:03 ERROR 404: Not Found./n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55990/wrong_file' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55990/wrong_file' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to test.metalink.#1/n--2021-09-19 16:48:03-- http://127.0.0.1:55990/wrong_file/nConnecting to 127.0.0.1:55990... connected./nCreated socket 5./nReleasing 0x0000000800073010 (new refcount 0)./nDeleting unused 0x0000000800073010./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:55990/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:03 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 5 for persistent reuse./nLength: 5 [text/plain]/nSaving to: 'test.metalink.#1'/n/n 0K 100% 59.5K=0s/n/n2021-09-19 16:48:03 (59.5 KB/s) - 'test.metalink.#1' saved [5/5]/n/nComputing size for 'test.metalink.#1'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#1'/nDeclared hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file 'test.metalink.#1'./nRemoving 'test.metalink.#1'./nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55990/File1' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55990/File1' (UTF-8)/nStoring to test.metalink.#1/n--2021-09-19 16:48:03-- http://127.0.0.1:55990/File1/nReusing existing connection to 127.0.0.1:55990./nReusing fd 5./n/n---request begin---/nGET /File1 HTTP/1.1/nHost: 127.0.0.1:55990/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:03 GMT/ncontent-type: text/plain/ncontent-length: 24/n/n---response end---/n200 OK/nLength: 24 [text/plain]/nSaving to: 'test.metalink.#1'/n/n 0K 100% 445K=0s/n/n2021-09-19 16:48:03 (445 KB/s) - 'test.metalink.#1' saved [24/24]/n/nComputing size for 'test.metalink.#1'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#1'/nDeclared hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nComputed hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nChecksum matches./nProcessing metalink file 'subdir/File5'.../n/n Metalink/XML/n/n --trust-server-names false/n --directory-prefix '/dir'/n/n Counted metalink file 2/n Planned metalink file '/dir/subdir/File5'/n Trusted metalink file 'test.metalink.#2'/n Current metalink file '/dir/test.metalink.#2'/n Cleaned metalink file 'test.metalink.#2'/n Secured metalink file 'test.metalink.#2'/n/n[--trust-server-names false, --directory-prefix='/dir']/nPlanned metalink file: '/dir/subdir/File5'/nSecured metalink file: 'test.metalink.#2'/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55990/404' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55990/404' (UTF-8)/nStoring to test.metalink.#2/n--2021-09-19 16:48:03-- http://127.0.0.1:55990/404/nReusing existing connection to 127.0.0.1:55990./nReusing fd 5./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:55990/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:03 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = 'utf-8'/nDisabling further reuse of socket 5./nClosed fd 5/n2021-09-19 16:48:03 ERROR 404: Not Found./n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55990/wrong_file' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55990/wrong_file' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to test.metalink.#2/n--2021-09-19 16:48:03-- http://127.0.0.1:55990/wrong_file/nConnecting to 127.0.0.1:55990... connected./nCreated socket 5./nReleasing 0x0000000800073a10 (new refcount 0)./nDeleting unused 0x0000000800073a10./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:55990/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:03 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 5 for persistent reuse./nLength: 5 [text/plain]/nSaving to: 'test.metalink.#2'/n/n 0K 100% 113K=0s/n/n2021-09-19 16:48:03 (113 KB/s) - 'test.metalink.#2' saved [5/5]/n/nComputing size for 'test.metalink.#2'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#2'/nDeclared hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file 'test.metalink.#2'./nRemoving 'test.metalink.#2'./nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55990/File5' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55990/File5' (UTF-8)/nStoring to test.metalink.#2/n--2021-09-19 16:48:03-- http://127.0.0.1:55990/File5/nReusing existing connection to 127.0.0.1:55990./nReusing fd 5./n/n---request begin---/nGET /File5 HTTP/1.1/nHost: 127.0.0.1:55990/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:03 GMT/ncontent-type: text/plain/ncontent-length: 12/n/n---response end---/n200 OK/nLength: 12 [text/plain]/nSaving to: 'test.metalink.#2'/n/n 0K 100% 168K=0s/n/n2021-09-19 16:48:03 (168 KB/s) - 'test.metalink.#2' saved [12/12]/n/nComputing size for 'test.metalink.#2'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#2'/nDeclared hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nComputed hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nChecksum matches./n"}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-metalink-xml-absprefix.py", line 96, in err = Meta.http_test ( File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/misc/metalinkv3_xml.py", line 111, in http_test err = http_test.begin () File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-metalink-xml-absprefix.py (exit status: 1) FAIL: Test-metalink-xml-homeprefix ================================== Setting --no-config (noconfig) to 1 Setting --directory-prefix (dirprefix) to ~/dir Setting --input-metalink (inputmetalink) to test.metalink Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:48:05] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:48:05] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:48:05] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:48:05] "GET /File1 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:48:05] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:48:05] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:48:05] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:48:05] "GET /File5 HTTP/1.1" 200 - GNU Wget GNU GPL http://www.gnu.org/licenses/gpl.html Wget Test Files 1.2.3 Wget Test Files description 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File1_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File1 fac79f893bd735c6b6b2bd5ca9cf49df6145f65a64de55dfc902d98453ab4272 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File2_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File2 4c3dc628b80b607d747ae190aa7783298103cc4c7fa25d72305062469c3d8916 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File3_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File3 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File4_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File4 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File5_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File5 LocalFiles = ['test.metalink'] ServerFiles = [['wrong_file', 'File1_lowPref', 'File1', 'File2_lowPref', 'File2', 'File3_lowPref', 'File3', 'File4_lowPref', 'File4', 'File5_lowPref', 'File5']] ExpectedFiles = ['test.metalink.#1', 'test.metalink.#2', 'test.metalink'] Running Test Test-metalink-xml-homeprefix.py Running Test Test-metalink-xml-homeprefix.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config --directory-prefix ~/dir --input-metalink test.metalink ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '--directory-prefix', '~/dir', '--input-metalink', 'test.metalink'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-xml-homeprefix.py-test'} {'wget-log': {'content': "DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-xml-homeprefix.py-test/.wget-hsts/nRetrieving from Metalink 'test.metalink'/nProcessing metalink file 'subdir/File1'.../n/n Metalink/XML/n/n --trust-server-names false/n --directory-prefix '~/dir'/n/n Counted metalink file 1/n Planned metalink file '~/dir/subdir/File1'/n Trusted metalink file 'test.metalink.#1'/n Current metalink file '~/dir/test.metalink.#1'/n Cleaned metalink file 'test.metalink.#1'/n Secured metalink file 'test.metalink.#1'/n/n[--trust-server-names false, --directory-prefix='~/dir']/nPlanned metalink file: '~/dir/subdir/File1'/nSecured metalink file: 'test.metalink.#1'/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55995/404' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55995/404' (UTF-8)/nStoring to test.metalink.#1/n--2021-09-19 16:48:05-- http://127.0.0.1:55995/404/nConnecting to 127.0.0.1:55995... connected./nCreated socket 5./nReleasing 0x0000000800072f40 (new refcount 0)./nDeleting unused 0x0000000800072f40./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:55995/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:05 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = 'utf-8'/nClosed fd 5/n2021-09-19 16:48:05 ERROR 404: Not Found./n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55995/wrong_file' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55995/wrong_file' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to test.metalink.#1/n--2021-09-19 16:48:05-- http://127.0.0.1:55995/wrong_file/nConnecting to 127.0.0.1:55995... connected./nCreated socket 5./nReleasing 0x0000000800073040 (new refcount 0)./nDeleting unused 0x0000000800073040./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:55995/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:05 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 5 for persistent reuse./nLength: 5 [text/plain]/nSaving to: 'test.metalink.#1'/n/n 0K 100% 83.5K=0s/n/n2021-09-19 16:48:05 (83.5 KB/s) - 'test.metalink.#1' saved [5/5]/n/nComputing size for 'test.metalink.#1'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#1'/nDeclared hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file 'test.metalink.#1'./nRemoving 'test.metalink.#1'./nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55995/File1' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55995/File1' (UTF-8)/nStoring to test.metalink.#1/n--2021-09-19 16:48:05-- http://127.0.0.1:55995/File1/nReusing existing connection to 127.0.0.1:55995./nReusing fd 5./n/n---request begin---/nGET /File1 HTTP/1.1/nHost: 127.0.0.1:55995/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:05 GMT/ncontent-type: text/plain/ncontent-length: 24/n/n---response end---/n200 OK/nLength: 24 [text/plain]/nSaving to: 'test.metalink.#1'/n/n 0K 100% 291K=0s/n/n2021-09-19 16:48:05 (291 KB/s) - 'test.metalink.#1' saved [24/24]/n/nComputing size for 'test.metalink.#1'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#1'/nDeclared hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nComputed hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nChecksum matches./nProcessing metalink file 'subdir/File5'.../n/n Metalink/XML/n/n --trust-server-names false/n --directory-prefix '~/dir'/n/n Counted metalink file 2/n Planned metalink file '~/dir/subdir/File5'/n Trusted metalink file 'test.metalink.#2'/n Current metalink file '~/dir/test.metalink.#2'/n Cleaned metalink file 'test.metalink.#2'/n Secured metalink file 'test.metalink.#2'/n/n[--trust-server-names false, --directory-prefix='~/dir']/nPlanned metalink file: '~/dir/subdir/File5'/nSecured metalink file: 'test.metalink.#2'/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55995/404' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55995/404' (UTF-8)/nStoring to test.metalink.#2/n--2021-09-19 16:48:05-- http://127.0.0.1:55995/404/nReusing existing connection to 127.0.0.1:55995./nReusing fd 5./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:55995/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:05 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = 'utf-8'/nDisabling further reuse of socket 5./nClosed fd 5/n2021-09-19 16:48:05 ERROR 404: Not Found./n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55995/wrong_file' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55995/wrong_file' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to test.metalink.#2/n--2021-09-19 16:48:05-- http://127.0.0.1:55995/wrong_file/nConnecting to 127.0.0.1:55995... connected./nCreated socket 5./nReleasing 0x0000000800073a40 (new refcount 0)./nDeleting unused 0x0000000800073a40./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:55995/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:05 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 5 for persistent reuse./nLength: 5 [text/plain]/nSaving to: 'test.metalink.#2'/n/n 0K 100% 86.3K=0s/n/n2021-09-19 16:48:05 (86.3 KB/s) - 'test.metalink.#2' saved [5/5]/n/nComputing size for 'test.metalink.#2'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#2'/nDeclared hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file 'test.metalink.#2'./nRemoving 'test.metalink.#2'./nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:55995/File5' (ANSI_X3.4-1968) -> 'http://127.0.0.1:55995/File5' (UTF-8)/nStoring to test.metalink.#2/n--2021-09-19 16:48:05-- http://127.0.0.1:55995/File5/nReusing existing connection to 127.0.0.1:55995./nReusing fd 5./n/n---request begin---/nGET /File5 HTTP/1.1/nHost: 127.0.0.1:55995/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:05 GMT/ncontent-type: text/plain/ncontent-length: 12/n/n---response end---/n200 OK/nLength: 12 [text/plain]/nSaving to: 'test.metalink.#2'/n/n 0K 100% 148K=0s/n/n2021-09-19 16:48:05 (148 KB/s) - 'test.metalink.#2' saved [12/12]/n/nComputing size for 'test.metalink.#2'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#2'/nDeclared hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nComputed hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nChecksum matches./n"}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-metalink-xml-homeprefix.py", line 96, in err = Meta.http_test ( File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/misc/metalinkv3_xml.py", line 111, in http_test err = http_test.begin () File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-metalink-xml-homeprefix.py (exit status: 1) FAIL: Test-metalink-xml-prefix-trust ==================================== Setting --no-config (noconfig) to 1 Setting --trust-server-names (trustservernames) to 1 Setting --directory-prefix (dirprefix) to dir Setting --input-metalink (inputmetalink) to test.metalink Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:48:07] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:48:07] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:48:07] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:48:07] "GET /File1 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:48:07] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:48:07] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:48:07] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:48:08] "GET /File5 HTTP/1.1" 200 - GNU Wget GNU GPL http://www.gnu.org/licenses/gpl.html Wget Test Files 1.2.3 Wget Test Files description 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File1_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File1 fac79f893bd735c6b6b2bd5ca9cf49df6145f65a64de55dfc902d98453ab4272 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File2_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File2 4c3dc628b80b607d747ae190aa7783298103cc4c7fa25d72305062469c3d8916 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File3_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File3 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File4_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File4 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File5_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File5 LocalFiles = ['test.metalink'] ServerFiles = [['wrong_file', 'File1_lowPref', 'File1', 'File2_lowPref', 'File2', 'File3_lowPref', 'File3', 'File4_lowPref', 'File4', 'File5_lowPref', 'File5']] ExpectedFiles = ['dir/subdir/File1', 'dir/subdir/File5', 'test.metalink'] Running Test Test-metalink-xml-prefix-trust.py Running Test Test-metalink-xml-prefix-trust.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config --trust-server-names --directory-prefix dir --input-metalink test.metalink ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '--trust-server-names', '--directory-prefix', 'dir', '--input-metalink', 'test.metalink'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-xml-prefix-trust.py-test'} {'wget-log': {'content': "DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-xml-prefix-trust.py-test/.wget-hsts/nRetrieving from Metalink 'test.metalink'/nProcessing metalink file 'subdir/File1'.../n/n Metalink/XML/n/n --trust-server-names true/n --directory-prefix 'dir'/n/n Counted metalink file 1/n Planned metalink file 'dir/subdir/File1'/n Trusted metalink file 'subdir/File1'/n Current metalink file 'dir/subdir/File1'/n Cleaned metalink file 'File1'/n Secured metalink file 'dir/subdir/File1'/n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56000/404' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56000/404' (UTF-8)/nStoring to dir/subdir/File1/n--2021-09-19 16:48:07-- http://127.0.0.1:56000/404/nConnecting to 127.0.0.1:56000... connected./nCreated socket 4./nReleasing 0x0000000800072e90 (new refcount 0)./nDeleting unused 0x0000000800072e90./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:56000/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:07 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = 'utf-8'/nClosed fd 4/n2021-09-19 16:48:07 ERROR 404: Not Found./n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56000/wrong_file' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56000/wrong_file' (UTF-8)/nStoring to dir/subdir/File1/n--2021-09-19 16:48:07-- http://127.0.0.1:56000/wrong_file/nConnecting to 127.0.0.1:56000... connected./nCreated socket 4./nReleasing 0x0000000800072fc0 (new refcount 0)./nDeleting unused 0x0000000800072fc0./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:56000/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:07 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nLength: 5 [text/plain]/nSaving to: 'dir/subdir/File1'/n/n 0K 100% 53.2K=0s/n/n2021-09-19 16:48:07 (53.2 KB/s) - 'dir/subdir/File1' saved [5/5]/n/nComputing size for 'dir/subdir/File1'/nFile size not declared. Skipping check./nComputing checksum for 'dir/subdir/File1'/nDeclared hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file 'dir/subdir/File1'./nRemoving 'dir/subdir/File1'./nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56000/File1' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56000/File1' (UTF-8)/nStoring to dir/subdir/File1/n--2021-09-19 16:48:07-- http://127.0.0.1:56000/File1/nReusing existing connection to 127.0.0.1:56000./nReusing fd 4./n/n---request begin---/nGET /File1 HTTP/1.1/nHost: 127.0.0.1:56000/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:07 GMT/ncontent-type: text/plain/ncontent-length: 24/n/n---response end---/n200 OK/nLength: 24 [text/plain]/nSaving to: 'dir/subdir/File1'/n/n 0K 100% 269K=0s/n/n2021-09-19 16:48:07 (269 KB/s) - 'dir/subdir/File1' saved [24/24]/n/nComputing size for 'dir/subdir/File1'/nFile size not declared. Skipping check./nComputing checksum for 'dir/subdir/File1'/nDeclared hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nComputed hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nChecksum matches./nProcessing metalink file 'subdir/File5'.../n/n Metalink/XML/n/n --trust-server-names true/n --directory-prefix 'dir'/n/n Counted metalink file 2/n Planned metalink file 'dir/subdir/File5'/n Trusted metalink file 'subdir/File5'/n Current metalink file 'dir/subdir/File5'/n Cleaned metalink file 'File5'/n Secured metalink file 'dir/subdir/File5'/n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56000/404' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56000/404' (UTF-8)/nStoring to dir/subdir/File5/n--2021-09-19 16:48:07-- http://127.0.0.1:56000/404/nReusing existing connection to 127.0.0.1:56000./nReusing fd 4./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:56000/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:07 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = 'utf-8'/nDisabling further reuse of socket 4./nClosed fd 4/n2021-09-19 16:48:07 ERROR 404: Not Found./n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56000/wrong_file' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56000/wrong_file' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to dir/subdir/File5/n--2021-09-19 16:48:07-- http://127.0.0.1:56000/wrong_file/nConnecting to 127.0.0.1:56000... connected./nCreated socket 4./nReleasing 0x00000008000739a0 (new refcount 0)./nDeleting unused 0x00000008000739a0./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:56000/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:07 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nLength: 5 [text/plain]/nSaving to: 'dir/subdir/File5'/n/n 0K 100% 65.2K=0s/n/n2021-09-19 16:48:07 (65.2 KB/s) - 'dir/subdir/File5' saved [5/5]/n/nComputing size for 'dir/subdir/File5'/nFile size not declared. Skipping check./nComputing checksum for 'dir/subdir/File5'/nDeclared hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file 'dir/subdir/File5'./nRemoving 'dir/subdir/File5'./nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56000/File5' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56000/File5' (UTF-8)/nStoring to dir/subdir/File5/n--2021-09-19 16:48:07-- http://127.0.0.1:56000/File5/nReusing existing connection to 127.0.0.1:56000./nReusing fd 4./n/n---request begin---/nGET /File5 HTTP/1.1/nHost: 127.0.0.1:56000/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:08 GMT/ncontent-type: text/plain/ncontent-length: 12/n/n---response end---/n200 OK/nLength: 12 [text/plain]/nSaving to: 'dir/subdir/File5'/n/n 0K 100% 146K=0s/n/n2021-09-19 16:48:08 (146 KB/s) - 'dir/subdir/File5' saved [12/12]/n/nComputing size for 'dir/subdir/File5'/nFile size not declared. Skipping check./nComputing checksum for 'dir/subdir/File5'/nDeclared hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nComputed hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nChecksum matches./n"}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-metalink-xml-prefix-trust.py", line 96, in err = Meta.http_test ( File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/misc/metalinkv3_xml.py", line 111, in http_test err = http_test.begin () File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-metalink-xml-prefix-trust.py (exit status: 1) FAIL: Test-metalink-xml-relprefix-trust ======================================= Setting --no-config (noconfig) to 1 Setting --trust-server-names (trustservernames) to 1 Setting --directory-prefix (dirprefix) to ../dir Setting --input-metalink (inputmetalink) to test.metalink Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:48:10] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:48:10] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:48:10] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:48:10] "GET /File1 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:48:10] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:48:10] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:48:10] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:48:10] "GET /File5 HTTP/1.1" 200 - GNU Wget GNU GPL http://www.gnu.org/licenses/gpl.html Wget Test Files 1.2.3 Wget Test Files description 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File1_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File1 fac79f893bd735c6b6b2bd5ca9cf49df6145f65a64de55dfc902d98453ab4272 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File2_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File2 4c3dc628b80b607d747ae190aa7783298103cc4c7fa25d72305062469c3d8916 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File3_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File3 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File4_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File4 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File5_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File5 LocalFiles = ['test.metalink'] ServerFiles = [['wrong_file', 'File1_lowPref', 'File1', 'File2_lowPref', 'File2', 'File3_lowPref', 'File3', 'File4_lowPref', 'File4', 'File5_lowPref', 'File5']] ExpectedFiles = ['File1', 'File5', 'test.metalink'] Running Test Test-metalink-xml-relprefix-trust.py Running Test Test-metalink-xml-relprefix-trust.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config --trust-server-names --directory-prefix ../dir --input-metalink test.metalink ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '--trust-server-names', '--directory-prefix', '../dir', '--input-metalink', 'test.metalink'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-xml-relprefix-trust.py-test'} {'wget-log': {'content': "DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-xml-relprefix-trust.py-test/.wget-hsts/nRetrieving from Metalink 'test.metalink'/nProcessing metalink file 'subdir/File1'.../n/n Metalink/XML/n/n --trust-server-names true/n --directory-prefix '../dir'/n/n Counted metalink file 1/n Planned metalink file '../dir/subdir/File1'/n Trusted metalink file 'subdir/File1'/n Current metalink file '../dir/subdir/File1'/n Cleaned metalink file 'File1'/n Secured metalink file 'File1'/n/n[--trust-server-names true, --directory-prefix='../dir']/nPlanned metalink file: '../dir/subdir/File1'/nSecured metalink file: 'File1'/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56005/404' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56005/404' (UTF-8)/nStoring to File1/n--2021-09-19 16:48:10-- http://127.0.0.1:56005/404/nConnecting to 127.0.0.1:56005... connected./nCreated socket 5./nReleasing 0x0000000800072ee0 (new refcount 0)./nDeleting unused 0x0000000800072ee0./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:56005/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:10 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = 'utf-8'/nClosed fd 5/n2021-09-19 16:48:10 ERROR 404: Not Found./n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56005/wrong_file' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56005/wrong_file' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to File1/n--2021-09-19 16:48:10-- http://127.0.0.1:56005/wrong_file/nConnecting to 127.0.0.1:56005... connected./nCreated socket 5./nReleasing 0x0000000800072fe0 (new refcount 0)./nDeleting unused 0x0000000800072fe0./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:56005/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:10 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 5 for persistent reuse./nLength: 5 [text/plain]/nSaving to: 'File1'/n/n 0K 100% 74.0K=0s/n/n2021-09-19 16:48:10 (74.0 KB/s) - 'File1' saved [5/5]/n/nComputing size for 'File1'/nFile size not declared. Skipping check./nComputing checksum for 'File1'/nDeclared hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file 'File1'./nRemoving 'File1'./nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56005/File1' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56005/File1' (UTF-8)/nStoring to File1/n--2021-09-19 16:48:10-- http://127.0.0.1:56005/File1/nReusing existing connection to 127.0.0.1:56005./nReusing fd 5./n/n---request begin---/nGET /File1 HTTP/1.1/nHost: 127.0.0.1:56005/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:10 GMT/ncontent-type: text/plain/ncontent-length: 24/n/n---response end---/n200 OK/nLength: 24 [text/plain]/nSaving to: 'File1'/n/n 0K 100% 383K=0s/n/n2021-09-19 16:48:10 (383 KB/s) - 'File1' saved [24/24]/n/nComputing size for 'File1'/nFile size not declared. Skipping check./nComputing checksum for 'File1'/nDeclared hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nComputed hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nChecksum matches./nProcessing metalink file 'subdir/File5'.../n/n Metalink/XML/n/n --trust-server-names true/n --directory-prefix '../dir'/n/n Counted metalink file 2/n Planned metalink file '../dir/subdir/File5'/n Trusted metalink file 'subdir/File5'/n Current metalink file '../dir/subdir/File5'/n Cleaned metalink file 'File5'/n Secured metalink file 'File5'/n/n[--trust-server-names true, --directory-prefix='../dir']/nPlanned metalink file: '../dir/subdir/File5'/nSecured metalink file: 'File5'/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56005/404' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56005/404' (UTF-8)/nStoring to File5/n--2021-09-19 16:48:10-- http://127.0.0.1:56005/404/nReusing existing connection to 127.0.0.1:56005./nReusing fd 5./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:56005/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:10 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = 'utf-8'/nDisabling further reuse of socket 5./nClosed fd 5/n2021-09-19 16:48:10 ERROR 404: Not Found./n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56005/wrong_file' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56005/wrong_file' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to File5/n--2021-09-19 16:48:10-- http://127.0.0.1:56005/wrong_file/nConnecting to 127.0.0.1:56005... connected./nCreated socket 5./nReleasing 0x0000000800073970 (new refcount 0)./nDeleting unused 0x0000000800073970./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:56005/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:10 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 5 for persistent reuse./nLength: 5 [text/plain]/nSaving to: 'File5'/n/n 0K 100% 59.6K=0s/n/n2021-09-19 16:48:10 (59.6 KB/s) - 'File5' saved [5/5]/n/nComputing size for 'File5'/nFile size not declared. Skipping check./nComputing checksum for 'File5'/nDeclared hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file 'File5'./nRemoving 'File5'./nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56005/File5' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56005/File5' (UTF-8)/nStoring to File5/n--2021-09-19 16:48:10-- http://127.0.0.1:56005/File5/nReusing existing connection to 127.0.0.1:56005./nReusing fd 5./n/n---request begin---/nGET /File5 HTTP/1.1/nHost: 127.0.0.1:56005/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:10 GMT/ncontent-type: text/plain/ncontent-length: 12/n/n---response end---/n200 OK/nLength: 12 [text/plain]/nSaving to: 'File5'/n/n 0K 100% 187K=0s/n/n2021-09-19 16:48:10 (187 KB/s) - 'File5' saved [12/12]/n/nComputing size for 'File5'/nFile size not declared. Skipping check./nComputing checksum for 'File5'/nDeclared hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nComputed hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nChecksum matches./n"}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-metalink-xml-relprefix-trust.py", line 96, in err = Meta.http_test ( File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/misc/metalinkv3_xml.py", line 111, in http_test err = http_test.begin () File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-metalink-xml-relprefix-trust.py (exit status: 1) FAIL: Test-metalink-xml-absprefix-trust ======================================= Setting --no-config (noconfig) to 1 Setting --trust-server-names (trustservernames) to 1 Setting --directory-prefix (dirprefix) to /dir Setting --input-metalink (inputmetalink) to test.metalink Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:48:12] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:48:12] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:48:12] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:48:12] "GET /File1 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:48:12] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:48:12] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:48:12] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:48:12] "GET /File5 HTTP/1.1" 200 - GNU Wget GNU GPL http://www.gnu.org/licenses/gpl.html Wget Test Files 1.2.3 Wget Test Files description 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File1_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File1 fac79f893bd735c6b6b2bd5ca9cf49df6145f65a64de55dfc902d98453ab4272 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File2_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File2 4c3dc628b80b607d747ae190aa7783298103cc4c7fa25d72305062469c3d8916 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File3_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File3 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File4_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File4 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File5_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File5 LocalFiles = ['test.metalink'] ServerFiles = [['wrong_file', 'File1_lowPref', 'File1', 'File2_lowPref', 'File2', 'File3_lowPref', 'File3', 'File4_lowPref', 'File4', 'File5_lowPref', 'File5']] ExpectedFiles = ['File1', 'File5', 'test.metalink'] Running Test Test-metalink-xml-absprefix-trust.py Running Test Test-metalink-xml-absprefix-trust.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config --trust-server-names --directory-prefix /dir --input-metalink test.metalink ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '--trust-server-names', '--directory-prefix', '/dir', '--input-metalink', 'test.metalink'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-xml-absprefix-trust.py-test'} {'wget-log': {'content': "DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-xml-absprefix-trust.py-test/.wget-hsts/nRetrieving from Metalink 'test.metalink'/nProcessing metalink file 'subdir/File1'.../n/n Metalink/XML/n/n --trust-server-names true/n --directory-prefix '/dir'/n/n Counted metalink file 1/n Planned metalink file '/dir/subdir/File1'/n Trusted metalink file 'subdir/File1'/n Current metalink file '/dir/subdir/File1'/n Cleaned metalink file 'File1'/n Secured metalink file 'File1'/n/n[--trust-server-names true, --directory-prefix='/dir']/nPlanned metalink file: '/dir/subdir/File1'/nSecured metalink file: 'File1'/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56010/404' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56010/404' (UTF-8)/nStoring to File1/n--2021-09-19 16:48:12-- http://127.0.0.1:56010/404/nConnecting to 127.0.0.1:56010... connected./nCreated socket 5./nReleasing 0x0000000800072ee0 (new refcount 0)./nDeleting unused 0x0000000800072ee0./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:56010/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:12 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = 'utf-8'/nClosed fd 5/n2021-09-19 16:48:12 ERROR 404: Not Found./n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56010/wrong_file' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56010/wrong_file' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to File1/n--2021-09-19 16:48:12-- http://127.0.0.1:56010/wrong_file/nConnecting to 127.0.0.1:56010... connected./nCreated socket 5./nReleasing 0x0000000800072fe0 (new refcount 0)./nDeleting unused 0x0000000800072fe0./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:56010/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:12 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 5 for persistent reuse./nLength: 5 [text/plain]/nSaving to: 'File1'/n/n 0K 100% 83.6K=0s/n/n2021-09-19 16:48:12 (83.6 KB/s) - 'File1' saved [5/5]/n/nComputing size for 'File1'/nFile size not declared. Skipping check./nComputing checksum for 'File1'/nDeclared hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file 'File1'./nRemoving 'File1'./nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56010/File1' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56010/File1' (UTF-8)/nStoring to File1/n--2021-09-19 16:48:12-- http://127.0.0.1:56010/File1/nReusing existing connection to 127.0.0.1:56010./nReusing fd 5./n/n---request begin---/nGET /File1 HTTP/1.1/nHost: 127.0.0.1:56010/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:12 GMT/ncontent-type: text/plain/ncontent-length: 24/n/n---response end---/n200 OK/nLength: 24 [text/plain]/nSaving to: 'File1'/n/n 0K 100% 344K=0s/n/n2021-09-19 16:48:12 (344 KB/s) - 'File1' saved [24/24]/n/nComputing size for 'File1'/nFile size not declared. Skipping check./nComputing checksum for 'File1'/nDeclared hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nComputed hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nChecksum matches./nProcessing metalink file 'subdir/File5'.../n/n Metalink/XML/n/n --trust-server-names true/n --directory-prefix '/dir'/n/n Counted metalink file 2/n Planned metalink file '/dir/subdir/File5'/n Trusted metalink file 'subdir/File5'/n Current metalink file '/dir/subdir/File5'/n Cleaned metalink file 'File5'/n Secured metalink file 'File5'/n/n[--trust-server-names true, --directory-prefix='/dir']/nPlanned metalink file: '/dir/subdir/File5'/nSecured metalink file: 'File5'/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56010/404' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56010/404' (UTF-8)/nStoring to File5/n--2021-09-19 16:48:12-- http://127.0.0.1:56010/404/nReusing existing connection to 127.0.0.1:56010./nReusing fd 5./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:56010/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:12 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = 'utf-8'/nDisabling further reuse of socket 5./nClosed fd 5/n2021-09-19 16:48:12 ERROR 404: Not Found./n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56010/wrong_file' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56010/wrong_file' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to File5/n--2021-09-19 16:48:12-- http://127.0.0.1:56010/wrong_file/nConnecting to 127.0.0.1:56010... connected./nCreated socket 5./nReleasing 0x0000000800073970 (new refcount 0)./nDeleting unused 0x0000000800073970./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:56010/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:12 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 5 for persistent reuse./nLength: 5 [text/plain]/nSaving to: 'File5'/n/n 0K 100% 64.2K=0s/n/n2021-09-19 16:48:12 (64.2 KB/s) - 'File5' saved [5/5]/n/nComputing size for 'File5'/nFile size not declared. Skipping check./nComputing checksum for 'File5'/nDeclared hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file 'File5'./nRemoving 'File5'./nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56010/File5' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56010/File5' (UTF-8)/nStoring to File5/n--2021-09-19 16:48:12-- http://127.0.0.1:56010/File5/nReusing existing connection to 127.0.0.1:56010./nReusing fd 5./n/n---request begin---/nGET /File5 HTTP/1.1/nHost: 127.0.0.1:56010/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:12 GMT/ncontent-type: text/plain/ncontent-length: 12/n/n---response end---/n200 OK/nLength: 12 [text/plain]/nSaving to: 'File5'/n/n 0K 100% 199K=0s/n/n2021-09-19 16:48:12 (199 KB/s) - 'File5' saved [12/12]/n/nComputing size for 'File5'/nFile size not declared. Skipping check./nComputing checksum for 'File5'/nDeclared hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nComputed hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nChecksum matches./n"}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-metalink-xml-absprefix-trust.py", line 96, in err = Meta.http_test ( File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/misc/metalinkv3_xml.py", line 111, in http_test err = http_test.begin () File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-metalink-xml-absprefix-trust.py (exit status: 1) FAIL: Test-metalink-xml-homeprefix-trust ======================================== Setting --no-config (noconfig) to 1 Setting --trust-server-names (trustservernames) to 1 Setting --directory-prefix (dirprefix) to ~/dir Setting --input-metalink (inputmetalink) to test.metalink Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:48:14] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:48:14] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:48:14] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:48:14] "GET /File1 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:48:14] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:48:14] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:48:14] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:48:14] "GET /File5 HTTP/1.1" 200 - GNU Wget GNU GPL http://www.gnu.org/licenses/gpl.html Wget Test Files 1.2.3 Wget Test Files description 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File1_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File1 fac79f893bd735c6b6b2bd5ca9cf49df6145f65a64de55dfc902d98453ab4272 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File2_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File2 4c3dc628b80b607d747ae190aa7783298103cc4c7fa25d72305062469c3d8916 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File3_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File3 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File4_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File4 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File5_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File5 LocalFiles = ['test.metalink'] ServerFiles = [['wrong_file', 'File1_lowPref', 'File1', 'File2_lowPref', 'File2', 'File3_lowPref', 'File3', 'File4_lowPref', 'File4', 'File5_lowPref', 'File5']] ExpectedFiles = ['File1', 'File5', 'test.metalink'] Running Test Test-metalink-xml-homeprefix-trust.py Running Test Test-metalink-xml-homeprefix-trust.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config --trust-server-names --directory-prefix ~/dir --input-metalink test.metalink ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '--trust-server-names', '--directory-prefix', '~/dir', '--input-metalink', 'test.metalink'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-xml-homeprefix-trust.py-test'} {'wget-log': {'content': "DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-xml-homeprefix-trust.py-test/.wget-hsts/nRetrieving from Metalink 'test.metalink'/nProcessing metalink file 'subdir/File1'.../n/n Metalink/XML/n/n --trust-server-names true/n --directory-prefix '~/dir'/n/n Counted metalink file 1/n Planned metalink file '~/dir/subdir/File1'/n Trusted metalink file 'subdir/File1'/n Current metalink file '~/dir/subdir/File1'/n Cleaned metalink file 'File1'/n Secured metalink file 'File1'/n/n[--trust-server-names true, --directory-prefix='~/dir']/nPlanned metalink file: '~/dir/subdir/File1'/nSecured metalink file: 'File1'/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56017/404' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56017/404' (UTF-8)/nStoring to File1/n--2021-09-19 16:48:14-- http://127.0.0.1:56017/404/nConnecting to 127.0.0.1:56017... connected./nCreated socket 5./nReleasing 0x0000000800072ee0 (new refcount 0)./nDeleting unused 0x0000000800072ee0./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:56017/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:14 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = 'utf-8'/nClosed fd 5/n2021-09-19 16:48:14 ERROR 404: Not Found./n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56017/wrong_file' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56017/wrong_file' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to File1/n--2021-09-19 16:48:14-- http://127.0.0.1:56017/wrong_file/nConnecting to 127.0.0.1:56017... connected./nCreated socket 5./nReleasing 0x0000000800072fe0 (new refcount 0)./nDeleting unused 0x0000000800072fe0./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:56017/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:14 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 5 for persistent reuse./nLength: 5 [text/plain]/nSaving to: 'File1'/n/n 0K 100% 65.9K=0s/n/n2021-09-19 16:48:14 (65.9 KB/s) - 'File1' saved [5/5]/n/nComputing size for 'File1'/nFile size not declared. Skipping check./nComputing checksum for 'File1'/nDeclared hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file 'File1'./nRemoving 'File1'./nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56017/File1' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56017/File1' (UTF-8)/nStoring to File1/n--2021-09-19 16:48:14-- http://127.0.0.1:56017/File1/nReusing existing connection to 127.0.0.1:56017./nReusing fd 5./n/n---request begin---/nGET /File1 HTTP/1.1/nHost: 127.0.0.1:56017/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:14 GMT/ncontent-type: text/plain/ncontent-length: 24/n/n---response end---/n200 OK/nLength: 24 [text/plain]/nSaving to: 'File1'/n/n 0K 100% 411K=0s/n/n2021-09-19 16:48:14 (411 KB/s) - 'File1' saved [24/24]/n/nComputing size for 'File1'/nFile size not declared. Skipping check./nComputing checksum for 'File1'/nDeclared hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nComputed hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nChecksum matches./nProcessing metalink file 'subdir/File5'.../n/n Metalink/XML/n/n --trust-server-names true/n --directory-prefix '~/dir'/n/n Counted metalink file 2/n Planned metalink file '~/dir/subdir/File5'/n Trusted metalink file 'subdir/File5'/n Current metalink file '~/dir/subdir/File5'/n Cleaned metalink file 'File5'/n Secured metalink file 'File5'/n/n[--trust-server-names true, --directory-prefix='~/dir']/nPlanned metalink file: '~/dir/subdir/File5'/nSecured metalink file: 'File5'/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56017/404' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56017/404' (UTF-8)/nStoring to File5/n--2021-09-19 16:48:14-- http://127.0.0.1:56017/404/nReusing existing connection to 127.0.0.1:56017./nReusing fd 5./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:56017/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:14 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = 'utf-8'/nDisabling further reuse of socket 5./nClosed fd 5/n2021-09-19 16:48:14 ERROR 404: Not Found./n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56017/wrong_file' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56017/wrong_file' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to File5/n--2021-09-19 16:48:14-- http://127.0.0.1:56017/wrong_file/nConnecting to 127.0.0.1:56017... connected./nCreated socket 5./nReleasing 0x0000000800073970 (new refcount 0)./nDeleting unused 0x0000000800073970./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:56017/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:14 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 5 for persistent reuse./nLength: 5 [text/plain]/nSaving to: 'File5'/n/n 0K 100% 40.1K=0s/n/n2021-09-19 16:48:14 (40.1 KB/s) - 'File5' saved [5/5]/n/nComputing size for 'File5'/nFile size not declared. Skipping check./nComputing checksum for 'File5'/nDeclared hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file 'File5'./nRemoving 'File5'./nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56017/File5' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56017/File5' (UTF-8)/nStoring to File5/n--2021-09-19 16:48:14-- http://127.0.0.1:56017/File5/nReusing existing connection to 127.0.0.1:56017./nReusing fd 5./n/n---request begin---/nGET /File5 HTTP/1.1/nHost: 127.0.0.1:56017/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:14 GMT/ncontent-type: text/plain/ncontent-length: 12/n/n---response end---/n200 OK/nLength: 12 [text/plain]/nSaving to: 'File5'/n/n 0K 100% 151K=0s/n/n2021-09-19 16:48:14 (151 KB/s) - 'File5' saved [12/12]/n/nComputing size for 'File5'/nFile size not declared. Skipping check./nComputing checksum for 'File5'/nDeclared hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nComputed hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nChecksum matches./n"}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-metalink-xml-homeprefix-trust.py", line 96, in err = Meta.http_test ( File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/misc/metalinkv3_xml.py", line 111, in http_test err = http_test.begin () File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-metalink-xml-homeprefix-trust.py (exit status: 1) FAIL: Test-metalink-xml-emptyprefix-trust ========================================= Setting --no-config (noconfig) to 1 Setting --trust-server-names (trustservernames) to 1 Setting --directory-prefix (dirprefix) to Setting --input-metalink (inputmetalink) to test.metalink Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:48:16] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:48:16] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:48:16] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:48:16] "GET /File1 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:48:16] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:48:16] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:48:16] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:48:16] "GET /File5 HTTP/1.1" 200 - GNU Wget GNU GPL http://www.gnu.org/licenses/gpl.html Wget Test Files 1.2.3 Wget Test Files description 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File1_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File1 fac79f893bd735c6b6b2bd5ca9cf49df6145f65a64de55dfc902d98453ab4272 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File2_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File2 4c3dc628b80b607d747ae190aa7783298103cc4c7fa25d72305062469c3d8916 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File3_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File3 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File4_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File4 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File5_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File5 LocalFiles = ['test.metalink'] ServerFiles = [['wrong_file', 'File1_lowPref', 'File1', 'File2_lowPref', 'File2', 'File3_lowPref', 'File3', 'File4_lowPref', 'File4', 'File5_lowPref', 'File5']] ExpectedFiles = ['subdir/File1', 'subdir/File5', 'test.metalink'] Running Test Test-metalink-xml-emptyprefix-trust.py Running Test Test-metalink-xml-emptyprefix-trust.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config --trust-server-names --directory-prefix '' --input-metalink test.metalink ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '--trust-server-names', '--directory-prefix', '', '--input-metalink', 'test.metalink'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-xml-emptyprefix-trust.py-test'} {'wget-log': {'content': "DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-xml-emptyprefix-trust.py-test/.wget-hsts/nRetrieving from Metalink 'test.metalink'/nProcessing metalink file 'subdir/File1'.../n/n Metalink/XML/n/n --trust-server-names true/n --directory-prefix ''/n/n Counted metalink file 1/n Planned metalink file 'subdir/File1'/n Trusted metalink file 'subdir/File1'/n Current metalink file 'subdir/File1'/n Cleaned metalink file 'File1'/n Secured metalink file 'subdir/File1'/n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56022/404' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56022/404' (UTF-8)/nStoring to subdir/File1/n--2021-09-19 16:48:16-- http://127.0.0.1:56022/404/nConnecting to 127.0.0.1:56022... connected./nCreated socket 4./nReleasing 0x0000000800072db0 (new refcount 0)./nDeleting unused 0x0000000800072db0./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:56022/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:16 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = 'utf-8'/nClosed fd 4/n2021-09-19 16:48:16 ERROR 404: Not Found./n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56022/wrong_file' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56022/wrong_file' (UTF-8)/nStoring to subdir/File1/n--2021-09-19 16:48:16-- http://127.0.0.1:56022/wrong_file/nConnecting to 127.0.0.1:56022... connected./nCreated socket 4./nReleasing 0x0000000800072ee0 (new refcount 0)./nDeleting unused 0x0000000800072ee0./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:56022/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:16 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nLength: 5 [text/plain]/nSaving to: 'subdir/File1'/n/n 0K 100% 70.1K=0s/n/n2021-09-19 16:48:16 (70.1 KB/s) - 'subdir/File1' saved [5/5]/n/nComputing size for 'subdir/File1'/nFile size not declared. Skipping check./nComputing checksum for 'subdir/File1'/nDeclared hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file 'subdir/File1'./nRemoving 'subdir/File1'./nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56022/File1' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56022/File1' (UTF-8)/nStoring to subdir/File1/n--2021-09-19 16:48:16-- http://127.0.0.1:56022/File1/nReusing existing connection to 127.0.0.1:56022./nReusing fd 4./n/n---request begin---/nGET /File1 HTTP/1.1/nHost: 127.0.0.1:56022/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:16 GMT/ncontent-type: text/plain/ncontent-length: 24/n/n---response end---/n200 OK/nLength: 24 [text/plain]/nSaving to: 'subdir/File1'/n/n 0K 100% 153K=0s/n/n2021-09-19 16:48:16 (153 KB/s) - 'subdir/File1' saved [24/24]/n/nComputing size for 'subdir/File1'/nFile size not declared. Skipping check./nComputing checksum for 'subdir/File1'/nDeclared hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nComputed hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nChecksum matches./nProcessing metalink file 'subdir/File5'.../n/n Metalink/XML/n/n --trust-server-names true/n --directory-prefix ''/n/n Counted metalink file 2/n Planned metalink file 'subdir/File5'/n Trusted metalink file 'subdir/File5'/n Current metalink file 'subdir/File5'/n Cleaned metalink file 'File5'/n Secured metalink file 'subdir/File5'/n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56022/404' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56022/404' (UTF-8)/nStoring to subdir/File5/n--2021-09-19 16:48:16-- http://127.0.0.1:56022/404/nReusing existing connection to 127.0.0.1:56022./nReusing fd 4./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:56022/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:16 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = 'utf-8'/nDisabling further reuse of socket 4./nClosed fd 4/n2021-09-19 16:48:16 ERROR 404: Not Found./n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56022/wrong_file' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56022/wrong_file' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to subdir/File5/n--2021-09-19 16:48:16-- http://127.0.0.1:56022/wrong_file/nConnecting to 127.0.0.1:56022... connected./nCreated socket 4./nReleasing 0x00000008000737e0 (new refcount 0)./nDeleting unused 0x00000008000737e0./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:56022/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:16 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 4 for persistent reuse./nLength: 5 [text/plain]/nSaving to: 'subdir/File5'/n/n 0K 100% 93.9K=0s/n/n2021-09-19 16:48:16 (93.9 KB/s) - 'subdir/File5' saved [5/5]/n/nComputing size for 'subdir/File5'/nFile size not declared. Skipping check./nComputing checksum for 'subdir/File5'/nDeclared hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file 'subdir/File5'./nRemoving 'subdir/File5'./nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56022/File5' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56022/File5' (UTF-8)/nStoring to subdir/File5/n--2021-09-19 16:48:16-- http://127.0.0.1:56022/File5/nReusing existing connection to 127.0.0.1:56022./nReusing fd 4./n/n---request begin---/nGET /File5 HTTP/1.1/nHost: 127.0.0.1:56022/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:16 GMT/ncontent-type: text/plain/ncontent-length: 12/n/n---response end---/n200 OK/nLength: 12 [text/plain]/nSaving to: 'subdir/File5'/n/n 0K 100% 217K=0s/n/n2021-09-19 16:48:16 (217 KB/s) - 'subdir/File5' saved [12/12]/n/nComputing size for 'subdir/File5'/nFile size not declared. Skipping check./nComputing checksum for 'subdir/File5'/nDeclared hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nComputed hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nChecksum matches./n"}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-metalink-xml-emptyprefix-trust.py", line 96, in err = Meta.http_test ( File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/misc/metalinkv3_xml.py", line 111, in http_test err = http_test.begin () File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-metalink-xml-emptyprefix-trust.py (exit status: 1) FAIL: Test-metalink-xml-size ============================ Setting --no-config (noconfig) to 1 Setting --input-metalink (inputmetalink) to test.metalink Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:48:18] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:48:18] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:48:18] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:48:18] "GET /File1 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:48:18] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:48:18] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:48:18] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:48:18] "GET /File2 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:48:18] "GET /File2_lowPref HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:48:18] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:48:18] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:48:18] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:48:18] "GET /File3 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:48:18] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:48:18] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:48:18] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:48:18] "GET /File4 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:48:18] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:48:18] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:48:18] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:48:18] "GET /File5 HTTP/1.1" 200 - GNU Wget GNU GPL http://www.gnu.org/licenses/gpl.html Wget Test Files 1.2.3 Wget Test Files description 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File1_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File1 2 fac79f893bd735c6b6b2bd5ca9cf49df6145f65a64de55dfc902d98453ab4272 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File2_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File2 0 4c3dc628b80b607d747ae190aa7783298103cc4c7fa25d72305062469c3d8916 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File3_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File3 -5 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File4_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File4 12 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File5_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File5 LocalFiles = ['test.metalink'] ServerFiles = [['wrong_file', 'File1_lowPref', 'File1', 'File2_lowPref', 'File2', 'File3_lowPref', 'File3', 'File4_lowPref', 'File4', 'File5_lowPref', 'File5']] ExpectedFiles = ['test.metalink.#1', 'test.metalink.#3', 'test.metalink.#4', 'test.metalink.#5', 'test.metalink'] Running Test Test-metalink-xml-size.py Running Test Test-metalink-xml-size.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config --input-metalink test.metalink ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '--input-metalink', 'test.metalink'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-xml-size.py-test'} {'wget-log': {'content': "DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-xml-size.py-test/.wget-hsts/nRetrieving from Metalink 'test.metalink'/nProcessing metalink file 'File1'.../n/n Metalink/XML/n/n --trust-server-names false/n --directory-prefix ''/n/n Counted metalink file 1/n Planned metalink file 'File1'/n Trusted metalink file 'test.metalink.#1'/n Current metalink file 'test.metalink.#1'/n Cleaned metalink file 'test.metalink.#1'/n Secured metalink file 'test.metalink.#1'/n/n[--trust-server-names false, --directory-prefix='']/nPlanned metalink file: 'File1'/nSecured metalink file: 'test.metalink.#1'/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56027/404' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56027/404' (UTF-8)/nStoring to test.metalink.#1/n--2021-09-19 16:48:18-- http://127.0.0.1:56027/404/nConnecting to 127.0.0.1:56027... connected./nCreated socket 5./nReleasing 0x0000000800073c40 (new refcount 0)./nDeleting unused 0x0000000800073c40./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:56027/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:18 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = 'utf-8'/nClosed fd 5/n2021-09-19 16:48:18 ERROR 404: Not Found./n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56027/wrong_file' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56027/wrong_file' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to test.metalink.#1/n--2021-09-19 16:48:18-- http://127.0.0.1:56027/wrong_file/nConnecting to 127.0.0.1:56027... connected./nCreated socket 5./nReleasing 0x0000000800073d40 (new refcount 0)./nDeleting unused 0x0000000800073d40./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:56027/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:18 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 5 for persistent reuse./nLength: 5 [text/plain]/nSaving to: 'test.metalink.#1'/n/n 0K 100% 75.2K=0s/n/n2021-09-19 16:48:18 (75.2 KB/s) - 'test.metalink.#1' saved [5/5]/n/nComputing size for 'test.metalink.#1'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#1'/nDeclared hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file 'test.metalink.#1'./nRemoving 'test.metalink.#1'./nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56027/File1' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56027/File1' (UTF-8)/nStoring to test.metalink.#1/n--2021-09-19 16:48:18-- http://127.0.0.1:56027/File1/nReusing existing connection to 127.0.0.1:56027./nReusing fd 5./n/n---request begin---/nGET /File1 HTTP/1.1/nHost: 127.0.0.1:56027/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:18 GMT/ncontent-type: text/plain/ncontent-length: 24/n/n---response end---/n200 OK/nLength: 24 [text/plain]/nSaving to: 'test.metalink.#1'/n/n 0K 100% 26.1K=0.001s/n/n2021-09-19 16:48:18 (26.1 KB/s) - 'test.metalink.#1' saved [24/24]/n/nComputing size for 'test.metalink.#1'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#1'/nDeclared hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nComputed hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nChecksum matches./nProcessing metalink file 'File2'.../n/n Metalink/XML/n/n --trust-server-names false/n --directory-prefix ''/n/n Counted metalink file 2/n Planned metalink file 'File2'/n Trusted metalink file 'test.metalink.#2'/n Current metalink file 'test.metalink.#2'/n Cleaned metalink file 'test.metalink.#2'/n Secured metalink file 'test.metalink.#2'/n/n[--trust-server-names false, --directory-prefix='']/nPlanned metalink file: 'File2'/nSecured metalink file: 'test.metalink.#2'/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56027/404' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56027/404' (UTF-8)/nStoring to test.metalink.#2/n--2021-09-19 16:48:18-- http://127.0.0.1:56027/404/nReusing existing connection to 127.0.0.1:56027./nReusing fd 5./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:56027/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:18 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = 'utf-8'/nDisabling further reuse of socket 5./nClosed fd 5/n2021-09-19 16:48:18 ERROR 404: Not Found./n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56027/wrong_file' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56027/wrong_file' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to test.metalink.#2/n--2021-09-19 16:48:18-- http://127.0.0.1:56027/wrong_file/nConnecting to 127.0.0.1:56027... connected./nCreated socket 5./nReleasing 0x000000080006cdb0 (new refcount 0)./nDeleting unused 0x000000080006cdb0./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:56027/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:18 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 5 for persistent reuse./nLength: 5 [text/plain]/nSaving to: 'test.metalink.#2'/n/n 0K 100% 67.3K=0s/n/n2021-09-19 16:48:18 (67.3 KB/s) - 'test.metalink.#2' saved [5/5]/n/nComputing size for 'test.metalink.#2'/nDeclared size: 2/nComputed size: 5/nSize mismatch for file 'test.metalink.#2'./nRemoving 'test.metalink.#2'./nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56027/File2' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56027/File2' (UTF-8)/nStoring to test.metalink.#2/n--2021-09-19 16:48:18-- http://127.0.0.1:56027/File2/nReusing existing connection to 127.0.0.1:56027./nReusing fd 5./n/n---request begin---/nGET /File2 HTTP/1.1/nHost: 127.0.0.1:56027/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:18 GMT/ncontent-type: text/plain/ncontent-length: 21/n/n---response end---/n200 OK/nLength: 21 [text/plain]/nSaving to: 'test.metalink.#2'/n/n 0K 100% 305K=0s/n/n2021-09-19 16:48:18 (305 KB/s) - 'test.metalink.#2' saved [21/21]/n/nComputing size for 'test.metalink.#2'/nDeclared size: 2/nComputed size: 21/nSize mismatch for file 'test.metalink.#2'./nRemoving 'test.metalink.#2'./nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56027/File2_lowPref' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56027/File2_lowPref' (UTF-8)/nStoring to test.metalink.#2/n--2021-09-19 16:48:18-- http://127.0.0.1:56027/File2_lowPref/nReusing existing connection to 127.0.0.1:56027./nReusing fd 5./n/n---request begin---/nGET /File2_lowPref HTTP/1.1/nHost: 127.0.0.1:56027/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:18 GMT/ncontent-type: text/plain/ncontent-length: 16/n/n---response end---/n200 OK/nLength: 16 [text/plain]/nSaving to: 'test.metalink.#2'/n/n 0K 100% 225K=0s/n/n2021-09-19 16:48:18 (225 KB/s) - 'test.metalink.#2' saved [16/16]/n/nComputing size for 'test.metalink.#2'/nDeclared size: 2/nComputed size: 16/nSize mismatch for file 'test.metalink.#2'./nFile 'test.metalink.#2' retrieved but size does not match. /nRemoving 'test.metalink.#2'./nProcessing metalink file 'File3'.../n/n Metalink/XML/n/n --trust-server-names false/n --directory-prefix ''/n/n Counted metalink file 3/n Planned metalink file 'File3'/n Trusted metalink file 'test.metalink.#3'/n Current metalink file 'test.metalink.#3'/n Cleaned metalink file 'test.metalink.#3'/n Secured metalink file 'test.metalink.#3'/n/n[--trust-server-names false, --directory-prefix='']/nPlanned metalink file: 'File3'/nSecured metalink file: 'test.metalink.#3'/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56027/404' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56027/404' (UTF-8)/nStoring to test.metalink.#3/n--2021-09-19 16:48:18-- http://127.0.0.1:56027/404/nReusing existing connection to 127.0.0.1:56027./nReusing fd 5./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:56027/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:18 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = 'utf-8'/nDisabling further reuse of socket 5./nClosed fd 5/n2021-09-19 16:48:18 ERROR 404: Not Found./n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56027/wrong_file' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56027/wrong_file' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to test.metalink.#3/n--2021-09-19 16:48:18-- http://127.0.0.1:56027/wrong_file/nConnecting to 127.0.0.1:56027... connected./nCreated socket 5./nReleasing 0x000000080006bfd0 (new refcount 0)./nDeleting unused 0x000000080006bfd0./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:56027/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:18 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 5 for persistent reuse./nLength: 5 [text/plain]/nSaving to: 'test.metalink.#3'/n/n 0K 100% 122K=0s/n/n2021-09-19 16:48:18 (122 KB/s) - 'test.metalink.#3' saved [5/5]/n/nComputing size for 'test.metalink.#3'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#3'/nDeclared hash: 4c3dc628b80b607d747ae190aa7783298103cc4c7fa25d72305062469c3d8916/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file 'test.metalink.#3'./nRemoving 'test.metalink.#3'./nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56027/File3' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56027/File3' (UTF-8)/nStoring to test.metalink.#3/n--2021-09-19 16:48:18-- http://127.0.0.1:56027/File3/nReusing existing connection to 127.0.0.1:56027./nReusing fd 5./n/n---request begin---/nGET /File3 HTTP/1.1/nHost: 127.0.0.1:56027/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:18 GMT/ncontent-type: text/plain/ncontent-length: 21/n/n---response end---/n200 OK/nLength: 21 [text/plain]/nSaving to: 'test.metalink.#3'/n/n 0K 100% 96.1K=0s/n/n2021-09-19 16:48:18 (96.1 KB/s) - 'test.metalink.#3' saved [21/21]/n/nComputing size for 'test.metalink.#3'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#3'/nDeclared hash: 4c3dc628b80b607d747ae190aa7783298103cc4c7fa25d72305062469c3d8916/nComputed hash: 4c3dc628b80b607d747ae190aa7783298103cc4c7fa25d72305062469c3d8916/nChecksum matches./nProcessing metalink file 'File4'.../n/n Metalink/XML/n/n --trust-server-names false/n --directory-prefix ''/n/n Counted metalink file 4/n Planned metalink file 'File4'/n Trusted metalink file 'test.metalink.#4'/n Current metalink file 'test.metalink.#4'/n Cleaned metalink file 'test.metalink.#4'/n Secured metalink file 'test.metalink.#4'/n/n[--trust-server-names false, --directory-prefix='']/nPlanned metalink file: 'File4'/nSecured metalink file: 'test.metalink.#4'/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56027/404' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56027/404' (UTF-8)/nStoring to test.metalink.#4/n--2021-09-19 16:48:18-- http://127.0.0.1:56027/404/nReusing existing connection to 127.0.0.1:56027./nReusing fd 5./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:56027/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:18 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = 'utf-8'/nDisabling further reuse of socket 5./nClosed fd 5/n2021-09-19 16:48:18 ERROR 404: Not Found./n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56027/wrong_file' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56027/wrong_file' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to test.metalink.#4/n--2021-09-19 16:48:18-- http://127.0.0.1:56027/wrong_file/nConnecting to 127.0.0.1:56027... connected./nCreated socket 5./nReleasing 0x000000080006d110 (new refcount 0)./nDeleting unused 0x000000080006d110./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:56027/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:18 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 5 for persistent reuse./nLength: 5 [text/plain]/nSaving to: 'test.metalink.#4'/n/n 0K 100% 26.1K=0s/n/n2021-09-19 16:48:18 (26.1 KB/s) - 'test.metalink.#4' saved [5/5]/n/nComputing size for 'test.metalink.#4'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#4'/nDeclared hash: 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file 'test.metalink.#4'./nRemoving 'test.metalink.#4'./nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56027/File4' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56027/File4' (UTF-8)/nStoring to test.metalink.#4/n--2021-09-19 16:48:18-- http://127.0.0.1:56027/File4/nReusing existing connection to 127.0.0.1:56027./nReusing fd 5./n/n---request begin---/nGET /File4 HTTP/1.1/nHost: 127.0.0.1:56027/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:18 GMT/ncontent-type: text/plain/ncontent-length: 16/n/n---response end---/n200 OK/nLength: 16 [text/plain]/nSaving to: 'test.metalink.#4'/n/n 0K 100% 300K=0s/n/n2021-09-19 16:48:18 (300 KB/s) - 'test.metalink.#4' saved [16/16]/n/nComputing size for 'test.metalink.#4'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#4'/nDeclared hash: 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314/nComputed hash: 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314/nChecksum matches./nProcessing metalink file 'File5'.../n/n Metalink/XML/n/n --trust-server-names false/n --directory-prefix ''/n/n Counted metalink file 5/n Planned metalink file 'File5'/n Trusted metalink file 'test.metalink.#5'/n Current metalink file 'test.metalink.#5'/n Cleaned metalink file 'test.metalink.#5'/n Secured metalink file 'test.metalink.#5'/n/n[--trust-server-names false, --directory-prefix='']/nPlanned metalink file: 'File5'/nSecured metalink file: 'test.metalink.#5'/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56027/404' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56027/404' (UTF-8)/nStoring to test.metalink.#5/n--2021-09-19 16:48:18-- http://127.0.0.1:56027/404/nReusing existing connection to 127.0.0.1:56027./nReusing fd 5./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:56027/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:18 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = 'utf-8'/nDisabling further reuse of socket 5./nClosed fd 5/n2021-09-19 16:48:18 ERROR 404: Not Found./n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56027/wrong_file' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56027/wrong_file' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to test.metalink.#5/n--2021-09-19 16:48:18-- http://127.0.0.1:56027/wrong_file/nConnecting to 127.0.0.1:56027... connected./nCreated socket 5./nReleasing 0x000000080006bf60 (new refcount 0)./nDeleting unused 0x000000080006bf60./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:56027/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:18 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 5 for persistent reuse./nLength: 5 [text/plain]/nSaving to: 'test.metalink.#5'/n/n 0K 100% 62.3K=0s/n/n2021-09-19 16:48:18 (62.3 KB/s) - 'test.metalink.#5' saved [5/5]/n/nComputing size for 'test.metalink.#5'/nDeclared size: 12/nComputed size: 5/nSize mismatch for file 'test.metalink.#5'./nRemoving 'test.metalink.#5'./nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56027/File5' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56027/File5' (UTF-8)/nStoring to test.metalink.#5/n--2021-09-19 16:48:18-- http://127.0.0.1:56027/File5/nReusing existing connection to 127.0.0.1:56027./nReusing fd 5./n/n---request begin---/nGET /File5 HTTP/1.1/nHost: 127.0.0.1:56027/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:18 GMT/ncontent-type: text/plain/ncontent-length: 12/n/n---response end---/n200 OK/nLength: 12 [text/plain]/nSaving to: 'test.metalink.#5'/n/n 0K 100% 151K=0s/n/n2021-09-19 16:48:18 (151 KB/s) - 'test.metalink.#5' saved [12/12]/n/nComputing size for 'test.metalink.#5'/nDeclared size: 12/nComputed size: 12/nSize matches./nComputing checksum for 'test.metalink.#5'/nDeclared hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nComputed hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nChecksum matches./nCould not download all resources from 'test.metalink'./n"}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-metalink-xml-size.py", line 96, in err = Meta.http_test ( File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/misc/metalinkv3_xml.py", line 111, in http_test err = http_test.begin () File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-metalink-xml-size.py (exit status: 1) FAIL: Test-metalink-xml-nohash ============================== Setting --no-config (noconfig) to 1 Setting --input-metalink (inputmetalink) to test.metalink Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:48:20] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:48:20] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:48:20] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:48:20] "GET /File2 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:48:20] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:48:20] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:48:20] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:48:20] "GET /File4 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:48:20] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:48:20] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:48:20] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:48:21] "GET /File5 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:48:21] "GET /File5_lowPref HTTP/1.1" 200 - GNU Wget GNU GPL http://www.gnu.org/licenses/gpl.html Wget Test Files 1.2.3 Wget Test Files description http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File1_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File1 fac79f893bd735c6b6b2bd5ca9cf49df6145f65a64de55dfc902d98453ab4272 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File2_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File2 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File3_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File3 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File4_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File4 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File5_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File5 LocalFiles = ['test.metalink'] ServerFiles = [['wrong_file', 'File1_lowPref', 'File1', 'File2_lowPref', 'File2', 'File3_lowPref', 'File3', 'File4_lowPref', 'File4', 'File5_lowPref', 'File5']] ExpectedFiles = ['test.metalink.#2', 'test.metalink.#4', 'test.metalink'] Running Test Test-metalink-xml-nohash.py Running Test Test-metalink-xml-nohash.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config --input-metalink test.metalink ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '--input-metalink', 'test.metalink'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-xml-nohash.py-test'} {'wget-log': {'content': "DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-xml-nohash.py-test/.wget-hsts/nRetrieving from Metalink 'test.metalink'/nProcessing metalink file 'File1'.../n/n Metalink/XML/n/n --trust-server-names false/n --directory-prefix ''/n/n Counted metalink file 1/n Planned metalink file 'File1'/n Trusted metalink file 'test.metalink.#1'/n Current metalink file 'test.metalink.#1'/n Cleaned metalink file 'test.metalink.#1'/n Secured metalink file 'test.metalink.#1'/n/n[--trust-server-names false, --directory-prefix='']/nPlanned metalink file: 'File1'/nSecured metalink file: 'test.metalink.#1'/nNo checksums found./nFailed to download 'test.metalink.#1'. Skipping resource./nProcessing metalink file 'File2'.../n/n Metalink/XML/n/n --trust-server-names false/n --directory-prefix ''/n/n Counted metalink file 2/n Planned metalink file 'File2'/n Trusted metalink file 'test.metalink.#2'/n Current metalink file 'test.metalink.#2'/n Cleaned metalink file 'test.metalink.#2'/n Secured metalink file 'test.metalink.#2'/n/n[--trust-server-names false, --directory-prefix='']/nPlanned metalink file: 'File2'/nSecured metalink file: 'test.metalink.#2'/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56035/404' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56035/404' (UTF-8)/nStoring to test.metalink.#2/n--2021-09-19 16:48:20-- http://127.0.0.1:56035/404/nConnecting to 127.0.0.1:56035... connected./nCreated socket 5./nReleasing 0x0000000800073b30 (new refcount 0)./nDeleting unused 0x0000000800073b30./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:56035/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:20 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = 'utf-8'/nClosed fd 5/n2021-09-19 16:48:20 ERROR 404: Not Found./n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56035/wrong_file' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56035/wrong_file' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to test.metalink.#2/n--2021-09-19 16:48:20-- http://127.0.0.1:56035/wrong_file/nConnecting to 127.0.0.1:56035... connected./nCreated socket 5./nReleasing 0x0000000800073c30 (new refcount 0)./nDeleting unused 0x0000000800073c30./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:56035/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:20 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 5 for persistent reuse./nLength: 5 [text/plain]/nSaving to: 'test.metalink.#2'/n/n 0K 100% 18.8K=0s/n/n2021-09-19 16:48:20 (18.8 KB/s) - 'test.metalink.#2' saved [5/5]/n/nComputing size for 'test.metalink.#2'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#2'/nDeclared hash: fac79f893bd735c6b6b2bd5ca9cf49df6145f65a64de55dfc902d98453ab4272/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file 'test.metalink.#2'./nRemoving 'test.metalink.#2'./nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56035/File2' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56035/File2' (UTF-8)/nStoring to test.metalink.#2/n--2021-09-19 16:48:20-- http://127.0.0.1:56035/File2/nReusing existing connection to 127.0.0.1:56035./nReusing fd 5./n/n---request begin---/nGET /File2 HTTP/1.1/nHost: 127.0.0.1:56035/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:20 GMT/ncontent-type: text/plain/ncontent-length: 21/n/n---response end---/n200 OK/nLength: 21 [text/plain]/nSaving to: 'test.metalink.#2'/n/n 0K 100% 364K=0s/n/n2021-09-19 16:48:20 (364 KB/s) - 'test.metalink.#2' saved [21/21]/n/nComputing size for 'test.metalink.#2'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#2'/nDeclared hash: fac79f893bd735c6b6b2bd5ca9cf49df6145f65a64de55dfc902d98453ab4272/nComputed hash: fac79f893bd735c6b6b2bd5ca9cf49df6145f65a64de55dfc902d98453ab4272/nChecksum matches./nProcessing metalink file 'File3'.../n/n Metalink/XML/n/n --trust-server-names false/n --directory-prefix ''/n/n Counted metalink file 3/n Planned metalink file 'File3'/n Trusted metalink file 'test.metalink.#3'/n Current metalink file 'test.metalink.#3'/n Cleaned metalink file 'test.metalink.#3'/n Secured metalink file 'test.metalink.#3'/n/n[--trust-server-names false, --directory-prefix='']/nPlanned metalink file: 'File3'/nSecured metalink file: 'test.metalink.#3'/nNo checksums found./nFailed to download 'test.metalink.#3'. Skipping resource./nProcessing metalink file 'File4'.../n/n Metalink/XML/n/n --trust-server-names false/n --directory-prefix ''/n/n Counted metalink file 4/n Planned metalink file 'File4'/n Trusted metalink file 'test.metalink.#4'/n Current metalink file 'test.metalink.#4'/n Cleaned metalink file 'test.metalink.#4'/n Secured metalink file 'test.metalink.#4'/n/n[--trust-server-names false, --directory-prefix='']/nPlanned metalink file: 'File4'/nSecured metalink file: 'test.metalink.#4'/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56035/404' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56035/404' (UTF-8)/nStoring to test.metalink.#4/n--2021-09-19 16:48:20-- http://127.0.0.1:56035/404/nReusing existing connection to 127.0.0.1:56035./nReusing fd 5./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:56035/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:20 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = 'utf-8'/nDisabling further reuse of socket 5./nClosed fd 5/n2021-09-19 16:48:20 ERROR 404: Not Found./n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56035/wrong_file' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56035/wrong_file' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to test.metalink.#4/n--2021-09-19 16:48:20-- http://127.0.0.1:56035/wrong_file/nConnecting to 127.0.0.1:56035... connected./nCreated socket 5./nReleasing 0x000000080006bc60 (new refcount 0)./nDeleting unused 0x000000080006bc60./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:56035/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:20 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 5 for persistent reuse./nLength: 5 [text/plain]/nSaving to: 'test.metalink.#4'/n/n 0K 100% 69.6K=0s/n/n2021-09-19 16:48:20 (69.6 KB/s) - 'test.metalink.#4' saved [5/5]/n/nComputing size for 'test.metalink.#4'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#4'/nDeclared hash: 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file 'test.metalink.#4'./nRemoving 'test.metalink.#4'./nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56035/File4' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56035/File4' (UTF-8)/nStoring to test.metalink.#4/n--2021-09-19 16:48:20-- http://127.0.0.1:56035/File4/nReusing existing connection to 127.0.0.1:56035./nReusing fd 5./n/n---request begin---/nGET /File4 HTTP/1.1/nHost: 127.0.0.1:56035/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:20 GMT/ncontent-type: text/plain/ncontent-length: 16/n/n---response end---/n200 OK/nLength: 16 [text/plain]/nSaving to: 'test.metalink.#4'/n/n 0K 100% 204K=0s/n/n2021-09-19 16:48:20 (204 KB/s) - 'test.metalink.#4' saved [16/16]/n/nComputing size for 'test.metalink.#4'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#4'/nDeclared hash: 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314/nComputed hash: 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314/nChecksum matches./nProcessing metalink file 'File5'.../n/n Metalink/XML/n/n --trust-server-names false/n --directory-prefix ''/n/n Counted metalink file 5/n Planned metalink file 'File5'/n Trusted metalink file 'test.metalink.#5'/n Current metalink file 'test.metalink.#5'/n Cleaned metalink file 'test.metalink.#5'/n Secured metalink file 'test.metalink.#5'/n/n[--trust-server-names false, --directory-prefix='']/nPlanned metalink file: 'File5'/nSecured metalink file: 'test.metalink.#5'/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56035/404' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56035/404' (UTF-8)/nStoring to test.metalink.#5/n--2021-09-19 16:48:20-- http://127.0.0.1:56035/404/nReusing existing connection to 127.0.0.1:56035./nReusing fd 5./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:56035/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:20 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = 'utf-8'/nDisabling further reuse of socket 5./nClosed fd 5/n2021-09-19 16:48:20 ERROR 404: Not Found./n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56035/wrong_file' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56035/wrong_file' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to test.metalink.#5/n--2021-09-19 16:48:20-- http://127.0.0.1:56035/wrong_file/nConnecting to 127.0.0.1:56035... connected./nCreated socket 5./nReleasing 0x00000008000647e0 (new refcount 0)./nDeleting unused 0x00000008000647e0./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:56035/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:20 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 5 for persistent reuse./nLength: 5 [text/plain]/nSaving to: 'test.metalink.#5'/n/n 0K 100% 58.9K=0s/n/n2021-09-19 16:48:20 (58.9 KB/s) - 'test.metalink.#5' saved [5/5]/n/nComputing size for 'test.metalink.#5'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#5'/nDeclared hash: /nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file 'test.metalink.#5'./nRemoving 'test.metalink.#5'./nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56035/File5' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56035/File5' (UTF-8)/nStoring to test.metalink.#5/n--2021-09-19 16:48:20-- http://127.0.0.1:56035/File5/nReusing existing connection to 127.0.0.1:56035./nReusing fd 5./n/n---request begin---/nGET /File5 HTTP/1.1/nHost: 127.0.0.1:56035/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:21 GMT/ncontent-type: text/plain/ncontent-length: 12/n/n---response end---/n200 OK/nLength: 12 [text/plain]/nSaving to: 'test.metalink.#5'/n/n 0K 100% 147K=0s/n/n2021-09-19 16:48:21 (147 KB/s) - 'test.metalink.#5' saved [12/12]/n/nComputing size for 'test.metalink.#5'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#5'/nDeclared hash: /nComputed hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nChecksum mismatch for file 'test.metalink.#5'./nRemoving 'test.metalink.#5'./nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56035/File5_lowPref' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56035/File5_lowPref' (UTF-8)/nStoring to test.metalink.#5/n--2021-09-19 16:48:21-- http://127.0.0.1:56035/File5_lowPref/nReusing existing connection to 127.0.0.1:56035./nReusing fd 5./n/n---request begin---/nGET /File5_lowPref HTTP/1.1/nHost: 127.0.0.1:56035/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:21 GMT/ncontent-type: text/plain/ncontent-length: 15/n/n---response end---/n200 OK/nLength: 15 [text/plain]/nSaving to: 'test.metalink.#5'/n/n 0K 100% 211K=0s/n/n2021-09-19 16:48:21 (211 KB/s) - 'test.metalink.#5' saved [15/15]/n/nComputing size for 'test.metalink.#5'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#5'/nDeclared hash: /nComputed hash: 0b36f8e10bdb21252f1c8f8a3d8a4e2de33a34ea8d55d001ade8a49a311bb425/nChecksum mismatch for file 'test.metalink.#5'./nFile 'test.metalink.#5' retrieved but checksum does not match. /nRemoving 'test.metalink.#5'./nCould not download all resources from 'test.metalink'./n"}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-metalink-xml-nohash.py", line 96, in err = Meta.http_test ( File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/misc/metalinkv3_xml.py", line 111, in http_test err = http_test.begin () File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-metalink-xml-nohash.py (exit status: 1) FAIL: Test-metalink-xml-nourls ============================== Setting --no-config (noconfig) to 1 Setting --input-metalink (inputmetalink) to test.metalink Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:48:23] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:48:23] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:48:23] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:48:23] "GET /File1 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:48:23] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:48:23] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:48:23] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:48:23] "GET /File3 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:48:23] "GET /File4 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:48:23] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:48:23] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:48:23] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:48:23] "GET /File5 HTTP/1.1" 200 - GNU Wget GNU GPL http://www.gnu.org/licenses/gpl.html Wget Test Files 1.2.3 Wget Test Files description 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File1_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File1 fac79f893bd735c6b6b2bd5ca9cf49df6145f65a64de55dfc902d98453ab4272 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File2_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File2 4c3dc628b80b607d747ae190aa7783298103cc4c7fa25d72305062469c3d8916 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File3_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File3 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314 http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File4_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File4 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df http://{{SRV_HOST}}:{{SRV_PORT}}/wrong_file http://{{SRV_HOST}}:{{SRV_PORT}}/404 http://{{SRV_HOST}}:{{SRV_PORT}}/File5_lowPref http://{{SRV_HOST}}:{{SRV_PORT}}/File5 LocalFiles = ['test.metalink'] ServerFiles = [['wrong_file', 'File1_lowPref', 'File1', 'File2_lowPref', 'File2', 'File3_lowPref', 'File3', 'File4_lowPref', 'File4', 'File5_lowPref', 'File5']] ExpectedFiles = ['test.metalink.#1', 'test.metalink.#3', 'test.metalink.#4', 'test.metalink.#5', 'test.metalink'] Running Test Test-metalink-xml-nourls.py Running Test Test-metalink-xml-nourls.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config --input-metalink test.metalink ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '--input-metalink', 'test.metalink'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-xml-nourls.py-test'} {'wget-log': {'content': "DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-xml-nourls.py-test/.wget-hsts/nRetrieving from Metalink 'test.metalink'/nProcessing metalink file 'File1'.../n/n Metalink/XML/n/n --trust-server-names false/n --directory-prefix ''/n/n Counted metalink file 1/n Planned metalink file 'File1'/n Trusted metalink file 'test.metalink.#1'/n Current metalink file 'test.metalink.#1'/n Cleaned metalink file 'test.metalink.#1'/n Secured metalink file 'test.metalink.#1'/n/n[--trust-server-names false, --directory-prefix='']/nPlanned metalink file: 'File1'/nSecured metalink file: 'test.metalink.#1'/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56041/404' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56041/404' (UTF-8)/nStoring to test.metalink.#1/n--2021-09-19 16:48:23-- http://127.0.0.1:56041/404/nConnecting to 127.0.0.1:56041... connected./nCreated socket 5./nReleasing 0x0000000800073c40 (new refcount 0)./nDeleting unused 0x0000000800073c40./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:56041/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:23 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = 'utf-8'/nClosed fd 5/n2021-09-19 16:48:23 ERROR 404: Not Found./n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56041/wrong_file' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56041/wrong_file' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to test.metalink.#1/n--2021-09-19 16:48:23-- http://127.0.0.1:56041/wrong_file/nConnecting to 127.0.0.1:56041... connected./nCreated socket 5./nReleasing 0x0000000800073d40 (new refcount 0)./nDeleting unused 0x0000000800073d40./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:56041/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:23 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 5 for persistent reuse./nLength: 5 [text/plain]/nSaving to: 'test.metalink.#1'/n/n 0K 100% 76.3K=0s/n/n2021-09-19 16:48:23 (76.3 KB/s) - 'test.metalink.#1' saved [5/5]/n/nComputing size for 'test.metalink.#1'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#1'/nDeclared hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file 'test.metalink.#1'./nRemoving 'test.metalink.#1'./nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56041/File1' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56041/File1' (UTF-8)/nStoring to test.metalink.#1/n--2021-09-19 16:48:23-- http://127.0.0.1:56041/File1/nReusing existing connection to 127.0.0.1:56041./nReusing fd 5./n/n---request begin---/nGET /File1 HTTP/1.1/nHost: 127.0.0.1:56041/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:23 GMT/ncontent-type: text/plain/ncontent-length: 24/n/n---response end---/n200 OK/nLength: 24 [text/plain]/nSaving to: 'test.metalink.#1'/n/n 0K 100% 273K=0s/n/n2021-09-19 16:48:23 (273 KB/s) - 'test.metalink.#1' saved [24/24]/n/nComputing size for 'test.metalink.#1'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#1'/nDeclared hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nComputed hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nChecksum matches./nProcessing metalink file 'File2'.../n/n Metalink/XML/n/n --trust-server-names false/n --directory-prefix ''/n/n Counted metalink file 2/n Planned metalink file 'File2'/n Trusted metalink file 'test.metalink.#2'/n Current metalink file 'test.metalink.#2'/n Cleaned metalink file 'test.metalink.#2'/n Secured metalink file 'test.metalink.#2'/n/n[--trust-server-names false, --directory-prefix='']/nPlanned metalink file: 'File2'/nSecured metalink file: 'test.metalink.#2'/nResource type 'unknown' not supported, ignoring.../nResource type 'unknown' not supported, ignoring.../nResource type 'unknown' not supported, ignoring.../nResource type 'unknown' not supported, ignoring.../nFailed to download 'test.metalink.#2'. Skipping resource./nProcessing metalink file 'File3'.../n/n Metalink/XML/n/n --trust-server-names false/n --directory-prefix ''/n/n Counted metalink file 3/n Planned metalink file 'File3'/n Trusted metalink file 'test.metalink.#3'/n Current metalink file 'test.metalink.#3'/n Cleaned metalink file 'test.metalink.#3'/n Secured metalink file 'test.metalink.#3'/n/n[--trust-server-names false, --directory-prefix='']/nPlanned metalink file: 'File3'/nSecured metalink file: 'test.metalink.#3'/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56041/404' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56041/404' (UTF-8)/nStoring to test.metalink.#3/n--2021-09-19 16:48:23-- http://127.0.0.1:56041/404/nReusing existing connection to 127.0.0.1:56041./nReusing fd 5./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:56041/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:23 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = 'utf-8'/nDisabling further reuse of socket 5./nClosed fd 5/n2021-09-19 16:48:23 ERROR 404: Not Found./n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56041/wrong_file' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56041/wrong_file' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to test.metalink.#3/n--2021-09-19 16:48:23-- http://127.0.0.1:56041/wrong_file/nConnecting to 127.0.0.1:56041... connected./nCreated socket 5./nReleasing 0x000000080006d120 (new refcount 0)./nDeleting unused 0x000000080006d120./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:56041/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:23 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 5 for persistent reuse./nLength: 5 [text/plain]/nSaving to: 'test.metalink.#3'/n/n 0K 100% 75.6K=0s/n/n2021-09-19 16:48:23 (75.6 KB/s) - 'test.metalink.#3' saved [5/5]/n/nComputing size for 'test.metalink.#3'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#3'/nDeclared hash: 4c3dc628b80b607d747ae190aa7783298103cc4c7fa25d72305062469c3d8916/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file 'test.metalink.#3'./nRemoving 'test.metalink.#3'./nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56041/File3' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56041/File3' (UTF-8)/nStoring to test.metalink.#3/n--2021-09-19 16:48:23-- http://127.0.0.1:56041/File3/nReusing existing connection to 127.0.0.1:56041./nReusing fd 5./n/n---request begin---/nGET /File3 HTTP/1.1/nHost: 127.0.0.1:56041/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:23 GMT/ncontent-type: text/plain/ncontent-length: 21/n/n---response end---/n200 OK/nLength: 21 [text/plain]/nSaving to: 'test.metalink.#3'/n/n 0K 100% 407K=0s/n/n2021-09-19 16:48:23 (407 KB/s) - 'test.metalink.#3' saved [21/21]/n/nComputing size for 'test.metalink.#3'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#3'/nDeclared hash: 4c3dc628b80b607d747ae190aa7783298103cc4c7fa25d72305062469c3d8916/nComputed hash: 4c3dc628b80b607d747ae190aa7783298103cc4c7fa25d72305062469c3d8916/nChecksum matches./nProcessing metalink file 'File4'.../n/n Metalink/XML/n/n --trust-server-names false/n --directory-prefix ''/n/n Counted metalink file 4/n Planned metalink file 'File4'/n Trusted metalink file 'test.metalink.#4'/n Current metalink file 'test.metalink.#4'/n Cleaned metalink file 'test.metalink.#4'/n Secured metalink file 'test.metalink.#4'/n/n[--trust-server-names false, --directory-prefix='']/nPlanned metalink file: 'File4'/nSecured metalink file: 'test.metalink.#4'/nResource type 'unknown' not supported, ignoring.../nResource type 'unknown' not supported, ignoring.../nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56041/File4' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56041/File4' (UTF-8)/nStoring to test.metalink.#4/n--2021-09-19 16:48:23-- http://127.0.0.1:56041/File4/nReusing existing connection to 127.0.0.1:56041./nReusing fd 5./n/n---request begin---/nGET /File4 HTTP/1.1/nHost: 127.0.0.1:56041/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:23 GMT/ncontent-type: text/plain/ncontent-length: 16/n/n---response end---/n200 OK/nLength: 16 [text/plain]/nSaving to: 'test.metalink.#4'/n/n 0K 100% 146K=0s/n/n2021-09-19 16:48:23 (146 KB/s) - 'test.metalink.#4' saved [16/16]/n/nComputing size for 'test.metalink.#4'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#4'/nDeclared hash: 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314/nComputed hash: 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314/nChecksum matches./nProcessing metalink file 'File5'.../n/n Metalink/XML/n/n --trust-server-names false/n --directory-prefix ''/n/n Counted metalink file 5/n Planned metalink file 'File5'/n Trusted metalink file 'test.metalink.#5'/n Current metalink file 'test.metalink.#5'/n Cleaned metalink file 'test.metalink.#5'/n Secured metalink file 'test.metalink.#5'/n/n[--trust-server-names false, --directory-prefix='']/nPlanned metalink file: 'File5'/nSecured metalink file: 'test.metalink.#5'/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56041/404' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56041/404' (UTF-8)/nStoring to test.metalink.#5/n--2021-09-19 16:48:23-- http://127.0.0.1:56041/404/nReusing existing connection to 127.0.0.1:56041./nReusing fd 5./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:56041/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:23 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = 'utf-8'/nDisabling further reuse of socket 5./nClosed fd 5/n2021-09-19 16:48:23 ERROR 404: Not Found./n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56041/wrong_file' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56041/wrong_file' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to test.metalink.#5/n--2021-09-19 16:48:23-- http://127.0.0.1:56041/wrong_file/nConnecting to 127.0.0.1:56041... connected./nCreated socket 5./nReleasing 0x000000080006c890 (new refcount 0)./nDeleting unused 0x000000080006c890./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:56041/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:23 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 5 for persistent reuse./nLength: 5 [text/plain]/nSaving to: 'test.metalink.#5'/n/n 0K 100% 61.3K=0s/n/n2021-09-19 16:48:23 (61.3 KB/s) - 'test.metalink.#5' saved [5/5]/n/nComputing size for 'test.metalink.#5'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#5'/nDeclared hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file 'test.metalink.#5'./nRemoving 'test.metalink.#5'./nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56041/File5' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56041/File5' (UTF-8)/nStoring to test.metalink.#5/n--2021-09-19 16:48:23-- http://127.0.0.1:56041/File5/nReusing existing connection to 127.0.0.1:56041./nReusing fd 5./n/n---request begin---/nGET /File5 HTTP/1.1/nHost: 127.0.0.1:56041/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:23 GMT/ncontent-type: text/plain/ncontent-length: 12/n/n---response end---/n200 OK/nLength: 12 [text/plain]/nSaving to: 'test.metalink.#5'/n/n 0K 100% 248K=0s/n/n2021-09-19 16:48:23 (248 KB/s) - 'test.metalink.#5' saved [12/12]/n/nComputing size for 'test.metalink.#5'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#5'/nDeclared hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nComputed hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nChecksum matches./nCould not download all resources from 'test.metalink'./n"}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-metalink-xml-nourls.py", line 96, in err = Meta.http_test ( File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/misc/metalinkv3_xml.py", line 111, in http_test err = http_test.begin () File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-metalink-xml-nourls.py (exit status: 1) FAIL: Test-metalink-xml-urlbreak ================================ Setting --no-config (noconfig) to 1 Setting --input-metalink (inputmetalink) to test.metalink Redirecting output to 'wget-log'. 127.0.0.1 - - [19/Sep/2021 16:48:25] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:48:25] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:48:25] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:48:25] "GET /File1 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:48:25] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:48:25] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:48:25] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:48:25] "GET /File2 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:48:25] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:48:25] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:48:25] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:48:25] "GET /File3 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:48:25] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:48:25] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:48:25] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:48:25] "GET /File4 HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:48:25] code 404, message Not Found 127.0.0.1 - - [19/Sep/2021 16:48:25] "GET /404 HTTP/1.1" 404 - 127.0.0.1 - - [19/Sep/2021 16:48:25] "GET /wrong_file HTTP/1.1" 200 - 127.0.0.1 - - [19/Sep/2021 16:48:25] "GET /File5 HTTP/1.1" 200 - Running Test Test-metalink-xml-urlbreak.py Running Test Test-metalink-xml-urlbreak.py $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget --debug --no-config --input-metalink test.metalink ['$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/src/wget', '--debug', '--no-config', '--input-metalink', 'test.metalink'] {'HOME': '$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-xml-urlbreak.py-test'} {'wget-log': {'content': "DEBUG output created by Wget 1.21.2 on cygwin./n/nReading HSTS entries from $HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/build/testenv/Test-metalink-xml-urlbreak.py-test/.wget-hsts/nRetrieving from Metalink 'test.metalink'/nProcessing metalink file 'File1'.../n/n Metalink/XML/n/n --trust-server-names false/n --directory-prefix ''/n/n Counted metalink file 1/n Planned metalink file 'File1'/n Trusted metalink file 'test.metalink.#1'/n Current metalink file 'test.metalink.#1'/n Cleaned metalink file 'test.metalink.#1'/n Secured metalink file 'test.metalink.#1'/n/n[--trust-server-names false, --directory-prefix='']/nPlanned metalink file: 'File1'/nSecured metalink file: 'test.metalink.#1'/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56047/404' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56047/404' (UTF-8)/nStoring to test.metalink.#1/n--2021-09-19 16:48:25-- http://127.0.0.1:56047/404/nConnecting to 127.0.0.1:56047... connected./nCreated socket 5./nReleasing 0x00000008000734d0 (new refcount 0)./nDeleting unused 0x00000008000734d0./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:56047/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:25 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = 'utf-8'/nClosed fd 5/n2021-09-19 16:48:25 ERROR 404: Not Found./n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56047/wrong_file' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56047/wrong_file' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to test.metalink.#1/n--2021-09-19 16:48:25-- http://127.0.0.1:56047/wrong_file/nConnecting to 127.0.0.1:56047... connected./nCreated socket 5./nReleasing 0x00000008000735d0 (new refcount 0)./nDeleting unused 0x00000008000735d0./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:56047/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:25 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 5 for persistent reuse./nLength: 5 [text/plain]/nSaving to: 'test.metalink.#1'/n/n 0K 100% 57.4K=0s/n/n2021-09-19 16:48:25 (57.4 KB/s) - 'test.metalink.#1' saved [5/5]/n/nComputing size for 'test.metalink.#1'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#1'/nDeclared hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file 'test.metalink.#1'./nRemoving 'test.metalink.#1'./nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56047/File1' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56047/File1' (UTF-8)/nStoring to test.metalink.#1/n--2021-09-19 16:48:25-- http://127.0.0.1:56047/File1/nReusing existing connection to 127.0.0.1:56047./nReusing fd 5./n/n---request begin---/nGET /File1 HTTP/1.1/nHost: 127.0.0.1:56047/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:25 GMT/ncontent-type: text/plain/ncontent-length: 24/n/n---response end---/n200 OK/nLength: 24 [text/plain]/nSaving to: 'test.metalink.#1'/n/n 0K 100% 284K=0s/n/n2021-09-19 16:48:25 (284 KB/s) - 'test.metalink.#1' saved [24/24]/n/nComputing size for 'test.metalink.#1'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#1'/nDeclared hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nComputed hash: 8f4a392172bca148756f6c4d217e5f80714921314eee803df194ee688277a792/nChecksum matches./nProcessing metalink file 'File2'.../n/n Metalink/XML/n/n --trust-server-names false/n --directory-prefix ''/n/n Counted metalink file 2/n Planned metalink file 'File2'/n Trusted metalink file 'test.metalink.#2'/n Current metalink file 'test.metalink.#2'/n Cleaned metalink file 'test.metalink.#2'/n Secured metalink file 'test.metalink.#2'/n/n[--trust-server-names false, --directory-prefix='']/nPlanned metalink file: 'File2'/nSecured metalink file: 'test.metalink.#2'/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56047/404' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56047/404' (UTF-8)/nStoring to test.metalink.#2/n--2021-09-19 16:48:25-- http://127.0.0.1:56047/404/nReusing existing connection to 127.0.0.1:56047./nReusing fd 5./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:56047/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:25 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = 'utf-8'/nDisabling further reuse of socket 5./nClosed fd 5/n2021-09-19 16:48:25 ERROR 404: Not Found./n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56047/wrong_file' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56047/wrong_file' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to test.metalink.#2/n--2021-09-19 16:48:25-- http://127.0.0.1:56047/wrong_file/nConnecting to 127.0.0.1:56047... connected./nCreated socket 5./nReleasing 0x0000000800073e60 (new refcount 0)./nDeleting unused 0x0000000800073e60./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:56047/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:25 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 5 for persistent reuse./nLength: 5 [text/plain]/nSaving to: 'test.metalink.#2'/n/n 0K 100% 62.0K=0s/n/n2021-09-19 16:48:25 (62.0 KB/s) - 'test.metalink.#2' saved [5/5]/n/nComputing size for 'test.metalink.#2'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#2'/nDeclared hash: fac79f893bd735c6b6b2bd5ca9cf49df6145f65a64de55dfc902d98453ab4272/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file 'test.metalink.#2'./nRemoving 'test.metalink.#2'./nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56047/File2' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56047/File2' (UTF-8)/nStoring to test.metalink.#2/n--2021-09-19 16:48:25-- http://127.0.0.1:56047/File2/nReusing existing connection to 127.0.0.1:56047./nReusing fd 5./n/n---request begin---/nGET /File2 HTTP/1.1/nHost: 127.0.0.1:56047/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:25 GMT/ncontent-type: text/plain/ncontent-length: 21/n/n---response end---/n200 OK/nLength: 21 [text/plain]/nSaving to: 'test.metalink.#2'/n/n 0K 100% 358K=0s/n/n2021-09-19 16:48:25 (358 KB/s) - 'test.metalink.#2' saved [21/21]/n/nComputing size for 'test.metalink.#2'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#2'/nDeclared hash: fac79f893bd735c6b6b2bd5ca9cf49df6145f65a64de55dfc902d98453ab4272/nComputed hash: fac79f893bd735c6b6b2bd5ca9cf49df6145f65a64de55dfc902d98453ab4272/nChecksum matches./nProcessing metalink file 'File3'.../n/n Metalink/XML/n/n --trust-server-names false/n --directory-prefix ''/n/n Counted metalink file 3/n Planned metalink file 'File3'/n Trusted metalink file 'test.metalink.#3'/n Current metalink file 'test.metalink.#3'/n Cleaned metalink file 'test.metalink.#3'/n Secured metalink file 'test.metalink.#3'/n/n[--trust-server-names false, --directory-prefix='']/nPlanned metalink file: 'File3'/nSecured metalink file: 'test.metalink.#3'/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56047/404' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56047/404' (UTF-8)/nStoring to test.metalink.#3/n--2021-09-19 16:48:25-- http://127.0.0.1:56047/404/nReusing existing connection to 127.0.0.1:56047./nReusing fd 5./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:56047/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:25 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = 'utf-8'/nDisabling further reuse of socket 5./nClosed fd 5/n2021-09-19 16:48:25 ERROR 404: Not Found./n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56047/wrong_file' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56047/wrong_file' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to test.metalink.#3/n--2021-09-19 16:48:25-- http://127.0.0.1:56047/wrong_file/nConnecting to 127.0.0.1:56047... connected./nCreated socket 5./nReleasing 0x00000008000741b0 (new refcount 0)./nDeleting unused 0x00000008000741b0./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:56047/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:25 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 5 for persistent reuse./nLength: 5 [text/plain]/nSaving to: 'test.metalink.#3'/n/n 0K 100% 65.2K=0s/n/n2021-09-19 16:48:25 (65.2 KB/s) - 'test.metalink.#3' saved [5/5]/n/nComputing size for 'test.metalink.#3'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#3'/nDeclared hash: 4c3dc628b80b607d747ae190aa7783298103cc4c7fa25d72305062469c3d8916/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file 'test.metalink.#3'./nRemoving 'test.metalink.#3'./nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56047/File3' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56047/File3' (UTF-8)/nStoring to test.metalink.#3/n--2021-09-19 16:48:25-- http://127.0.0.1:56047/File3/nReusing existing connection to 127.0.0.1:56047./nReusing fd 5./n/n---request begin---/nGET /File3 HTTP/1.1/nHost: 127.0.0.1:56047/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:25 GMT/ncontent-type: text/plain/ncontent-length: 21/n/n---response end---/n200 OK/nLength: 21 [text/plain]/nSaving to: 'test.metalink.#3'/n/n 0K 100% 447K=0s/n/n2021-09-19 16:48:25 (447 KB/s) - 'test.metalink.#3' saved [21/21]/n/nComputing size for 'test.metalink.#3'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#3'/nDeclared hash: 4c3dc628b80b607d747ae190aa7783298103cc4c7fa25d72305062469c3d8916/nComputed hash: 4c3dc628b80b607d747ae190aa7783298103cc4c7fa25d72305062469c3d8916/nChecksum matches./nProcessing metalink file 'File4'.../n/n Metalink/XML/n/n --trust-server-names false/n --directory-prefix ''/n/n Counted metalink file 4/n Planned metalink file 'File4'/n Trusted metalink file 'test.metalink.#4'/n Current metalink file 'test.metalink.#4'/n Cleaned metalink file 'test.metalink.#4'/n Secured metalink file 'test.metalink.#4'/n/n[--trust-server-names false, --directory-prefix='']/nPlanned metalink file: 'File4'/nSecured metalink file: 'test.metalink.#4'/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56047/404' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56047/404' (UTF-8)/nStoring to test.metalink.#4/n--2021-09-19 16:48:25-- http://127.0.0.1:56047/404/nReusing existing connection to 127.0.0.1:56047./nReusing fd 5./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:56047/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:25 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = 'utf-8'/nDisabling further reuse of socket 5./nClosed fd 5/n2021-09-19 16:48:25 ERROR 404: Not Found./n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56047/wrong_file' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56047/wrong_file' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to test.metalink.#4/n--2021-09-19 16:48:25-- http://127.0.0.1:56047/wrong_file/nConnecting to 127.0.0.1:56047... connected./nCreated socket 5./nReleasing 0x0000000800073a90 (new refcount 0)./nDeleting unused 0x0000000800073a90./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:56047/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:25 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 5 for persistent reuse./nLength: 5 [text/plain]/nSaving to: 'test.metalink.#4'/n/n 0K 100% 80.8K=0s/n/n2021-09-19 16:48:25 (80.8 KB/s) - 'test.metalink.#4' saved [5/5]/n/nComputing size for 'test.metalink.#4'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#4'/nDeclared hash: 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file 'test.metalink.#4'./nRemoving 'test.metalink.#4'./nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56047/File4' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56047/File4' (UTF-8)/nStoring to test.metalink.#4/n--2021-09-19 16:48:25-- http://127.0.0.1:56047/File4/nReusing existing connection to 127.0.0.1:56047./nReusing fd 5./n/n---request begin---/nGET /File4 HTTP/1.1/nHost: 127.0.0.1:56047/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:25 GMT/ncontent-type: text/plain/ncontent-length: 16/n/n---response end---/n200 OK/nLength: 16 [text/plain]/nSaving to: 'test.metalink.#4'/n/n 0K 100% 184K=0s/n/n2021-09-19 16:48:25 (184 KB/s) - 'test.metalink.#4' saved [16/16]/n/nComputing size for 'test.metalink.#4'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#4'/nDeclared hash: 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314/nComputed hash: 13d1363f17ec2a5f3000b04a5f328cd0d0be1d5e4f234fd19999ac656ae62314/nChecksum matches./nProcessing metalink file 'File5'.../n/n Metalink/XML/n/n --trust-server-names false/n --directory-prefix ''/n/n Counted metalink file 5/n Planned metalink file 'File5'/n Trusted metalink file 'test.metalink.#5'/n Current metalink file 'test.metalink.#5'/n Cleaned metalink file 'test.metalink.#5'/n Secured metalink file 'test.metalink.#5'/n/n[--trust-server-names false, --directory-prefix='']/nPlanned metalink file: 'File5'/nSecured metalink file: 'test.metalink.#5'/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56047/404' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56047/404' (UTF-8)/nStoring to test.metalink.#5/n--2021-09-19 16:48:25-- http://127.0.0.1:56047/404/nReusing existing connection to 127.0.0.1:56047./nReusing fd 5./n/n---request begin---/nGET /404 HTTP/1.1/nHost: 127.0.0.1:56047/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 404 Not Found/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:25 GMT/nConnection: close/nContent-Type: text/html;charset=utf-8/nContent-Length: 447/n/n---response end---/n404 Not Found/nURI content encoding = 'utf-8'/nDisabling further reuse of socket 5./nClosed fd 5/n2021-09-19 16:48:25 ERROR 404: Not Found./n/nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56047/wrong_file' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56047/wrong_file' (UTF-8)/nPrevious resource failed, continue with next resource./nStoring to test.metalink.#5/n--2021-09-19 16:48:25-- http://127.0.0.1:56047/wrong_file/nConnecting to 127.0.0.1:56047... connected./nCreated socket 5./nReleasing 0x0000000800073a90 (new refcount 0)./nDeleting unused 0x0000000800073a90./n/n---request begin---/nGET /wrong_file HTTP/1.1/nHost: 127.0.0.1:56047/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:25 GMT/ncontent-type: text/plain/ncontent-length: 5/n/n---response end---/n200 OK/nRegistered socket 5 for persistent reuse./nLength: 5 [text/plain]/nSaving to: 'test.metalink.#5'/n/n 0K 100% 97.9K=0s/n/n2021-09-19 16:48:25 (97.9 KB/s) - 'test.metalink.#5' saved [5/5]/n/nComputing size for 'test.metalink.#5'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#5'/nDeclared hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nComputed hash: d9fab4ef975b0b403696047926dacaad9fddaf39c5f37c8c64cc841823d2ef39/nChecksum mismatch for file 'test.metalink.#5'./nRemoving 'test.metalink.#5'./nURI encoding = 'ANSI_X3.4-1968'/nconverted 'http://127.0.0.1:56047/File5' (ANSI_X3.4-1968) -> 'http://127.0.0.1:56047/File5' (UTF-8)/nStoring to test.metalink.#5/n--2021-09-19 16:48:25-- http://127.0.0.1:56047/File5/nReusing existing connection to 127.0.0.1:56047./nReusing fd 5./n/n---request begin---/nGET /File5 HTTP/1.1/nHost: 127.0.0.1:56047/nUser-Agent: Wget/1.21.2/nAccept: */*/nAccept-Encoding: identity/nConnection: Keep-Alive/n/n---request end---/nHTTP request sent, awaiting response... /n---response begin---/nHTTP/1.1 200 OK/nServer: BaseHTTP/0.6 Python/3.8.10/nDate: Sun, 19 Sep 2021 22:48:25 GMT/ncontent-type: text/plain/ncontent-length: 12/n/n---response end---/n200 OK/nLength: 12 [text/plain]/nSaving to: 'test.metalink.#5'/n/n 0K 100% 178K=0s/n/n2021-09-19 16:48:25 (178 KB/s) - 'test.metalink.#5' saved [12/12]/n/nComputing size for 'test.metalink.#5'/nFile size not declared. Skipping check./nComputing checksum for 'test.metalink.#5'/nDeclared hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nComputed hash: 55098aa7bff3458da8df2892abb80de2ab8e185009f26ad377b73a95e0fc28df/nChecksum matches./n"}} Error: Extra files downloaded.. Traceback (most recent call last): File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/Test-metalink-xml-urlbreak.py", line 234, in err = http_test.begin () File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/http_test.py", line 41, in begin self.do_test() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 198, in do_test self.post_hook_call() File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 217, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/test/base_test.py", line 207, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "$HOME/src/cygwin/wget/wget-1.21.2-1.x86_64/src/wget-1.21.2/testenv/conf/expected_files.py", line 58, in __call__ raise TestFailed('Extra files downloaded.') exc.test_failed.TestFailed: Extra files downloaded. FAIL Test-metalink-xml-urlbreak.py (exit status: 1)