========================================= wget 1.19.1: testenv/test-suite.log ========================================= # TOTAL: 39 # PASS: 38 # SKIP: 0 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 FAIL: Test-504 ============== Debugging support not compiled in. Ignoring --debug flag. --2018-03-02 10:58:56-- http://localhost:42821/File1 Resolving localhost... ::1, 127.0.0.1 Connecting to localhost|::1|:42821... failed: Connection refused. Connecting to localhost|127.0.0.1|:42821... connected. HTTP request sent, awaiting response... 504 Gateway Timeout Retrying. --2018-03-02 10:58:57-- (try: 2) http://localhost:42821/File1 Connecting to localhost|127.0.0.1|:42821... connected. HTTP request sent, awaiting response... 504 Gateway Timeout Giving up. --2018-03-02 10:58:57-- http://localhost:42821/File2 Reusing existing connection to localhost:42821. HTTP request sent, awaiting response... 200 No headers, assuming HTTP/0.9 Length: unspecified Saving to: 'File2' 0K 5.66K=0.04s 2018-03-02 11:13:57 (5.66 KB/s) - Read error at byte 241 (Connection timed out).Retrying. --2018-03-02 11:13:58-- (try: 2) http://localhost:42821/File2 Connecting to localhost|127.0.0.1|:42821... connected. HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable The file is already fully retrieved; nothing to do. 127.0.0.1 - - [02/Mar/2018 10:58:56] "GET /File1 HTTP/1.1" 504 - Traceback (most recent call last): File "/usr/lib64/python3.5/socketserver.py", line 313, in _handle_request_noblock self.process_request(request, client_address) File "/usr/lib64/python3.5/socketserver.py", line 341, in process_request self.finish_request(request, client_address) File "/usr/lib64/python3.5/socketserver.py", line 354, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib64/python3.5/socketserver.py", line 681, in __init__ self.handle() File "/usr/lib64/python3.5/http/server.py", line 424, in handle self.handle_one_request() File "/usr/lib64/python3.5/http/server.py", line 390, in handle_one_request self.raw_requestline = self.rfile.readline(65537) File "/usr/lib64/python3.5/socket.py", line 576, in readinto return self._sock.recv_into(b) ConnectionResetError: [Errno 104] Connection reset by peer 127.0.0.1 - - [02/Mar/2018 10:58:57] "GET /File1 HTTP/1.1" 504 - 127.0.0.1 - - [02/Mar/2018 10:58:57] "GET /File2 HTTP/1.1" 200 - 127.0.0.1 - - [02/Mar/2018 11:13:58] "GET /File2 HTTP/1.1" 416 - --- Actual +++ Expected @@ -1,209 +1,3 @@ -A -l -l - -h -a -p -p -y - -f -a -m -i -l -i -e -s - -a -r -e - -a -l -i -k -e -; - -E -a -c -h - -u -n -h -a -p -p -y - -f -a -m -i -l -y - -i -s - -u -n -h -a -p -p -y - -i -n - -i -t -s - -o -w -n - -w -a -y -H -T -T -P -/ -1 -. -1 - -2 -0 -0 - -O -K - -S -e -r -v -e -r -: - -B -a -s -e -H -T -T -P -/ -0 -. -6 - -P -y -t -h -o -n -/ -3 -. -5 -. -4 - -D -a -t -e -: - -F -r -i -, - -0 -2 - -M -a -r - -2 -0 -1 -8 - -1 -0 -: -5 -8 -: -5 -7 - -G -M -T - -c -o -n -t -e -n -t -- -l -e -n -g -t -h -: - -2 -9 - -c -o -n -t -e -n -t -- -t -y -p -e -: - -t -e -x -t -/ -p -l -a -i -n - - A n y Running Test Test-504.py /var/tmp/portage/net-misc/wget-1.19.1-r2/work/wget-1.19.1/src/wget --debug --no-config --tries=2 http://localhost:42821/File1 http://localhost:42821/File2 ['/var/tmp/portage/net-misc/wget-1.19.1-r2/work/wget-1.19.1/src/wget', '--debug', '--no-config', '--tries=2', 'http://localhost:42821/File1', 'http://localhost:42821/File2'] Custom Response code sent. ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 59818) ---------------------------------------- Custom Response code sent. Error: Contents of File2 do not match. Traceback (most recent call last): File "./Test-504.py", line 67, in post_hook=post_test File "/var/tmp/portage/net-misc/wget-1.19.1-r2/work/wget-1.19.1/testenv/test/http_test.py", line 41, in begin self.do_test() File "/var/tmp/portage/net-misc/wget-1.19.1-r2/work/wget-1.19.1/testenv/test/base_test.py", line 187, in do_test self.post_hook_call() File "/var/tmp/portage/net-misc/wget-1.19.1-r2/work/wget-1.19.1/testenv/test/base_test.py", line 206, in post_hook_call self.hook_call(self.post_configs, 'Post Test Function') File "/var/tmp/portage/net-misc/wget-1.19.1-r2/work/wget-1.19.1/testenv/test/base_test.py", line 196, in hook_call conf.find_conf(conf_name)(conf_arg)(self) File "/var/tmp/portage/net-misc/wget-1.19.1-r2/work/wget-1.19.1/testenv/conf/expected_files.py", line 47, in __call__ raise TestFailed('Contents of %s do not match' % file.name) exc.test_failed.TestFailed: Contents of File2 do not match FAIL Test-504.py (exit status: 1)