[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #62110] HSTS broken on 32 bit big endian devices
From: |
Michal Ruprich |
Subject: |
[bug #62110] HSTS broken on 32 bit big endian devices |
Date: |
Tue, 15 Mar 2022 03:58:28 -0400 (EDT) |
Follow-up Comment #3, bug #62110 (project wget):
Hi,
when building new wget for i686, Test-hsts.py is the only test that fails.
Seems to me that there is something wrong with the server in this test:
Reading HSTS entries from
/root/rpmbuild/BUILD/wget-1.21.3/testenv/.wget-hsts-testenv
URI encoding = 'ANSI_X3.4-1968'
converted 'http://localhost:46041/hw' (ANSI_X3.4-1968) ->
'http://localhost:46041/hw' (UTF-8)
Converted file name 'hw' (UTF-8) -> 'hw' (ANSI_X3.4-1968)
--2022-03-15 03:48:20-- http://localhost:46041/hw
Resolving localhost (localhost)... ::1, 127.0.0.1
Caching localhost => ::1 127.0.0.1
Connecting to localhost (localhost)|::1|:46041... Closed fd 3
failed: Connection refused.
Connecting to localhost (localhost)|127.0.0.1|:46041... connected.
Created socket 3.
Releasing 0x572d4340 (new refcount 1).
Then there is a bunch of failed connects:
---request begin---
GET /hw HTTP/1.1^M
Host: localhost:46041^M
User-Agent: Wget/1.21.3^M
Accept: */*^M
Accept-Encoding: identity^M
Connection: Keep-Alive^M
^M
---request end---
HTTP request sent, awaiting response... Read error (Connection reset by peer)
in headers.
Closed fd 3
Retrying.
This goes on for a while until it ends up with the actual test:
---request end---
HTTP request sent, awaiting response... Read error (Connection reset by peer)
in headers.
Closed fd 3
Giving up.
Running Test Test-hsts.py
/root/rpmbuild/BUILD/wget-1.21.3/src/wget --debug --no-config
--hsts-file=/root/rpmbuild/BUILD/wget-1.21.3/testenv/.wget-hsts-testenv
--ca-certificate=/root/rpmbuild/BUILD/wget-1.21.3/testenv/certs/ca-cert.pem
http://localhost:46041/hw
['/root/rpmbuild/BUILD/wget-1.21.3/src/wget', '--debug', '--no-config',
'--hsts-file=/root/rpmbuild/BUILD/wget-1.21.3/testenv/.wget-hsts-testenv',
'--ca-certificate=/root/rpmbuild/BUILD/wget-1.21.3/testenv/certs/ca-cert.pem',
'http://localhost:46041/hw']
{'HOME': '/root/rpmbuild/BUILD/wget-1.21.3/testenv/Test-hsts.py-test'}
Error: Expected file hw not found..
Traceback (most recent call last):
File "/root/rpmbuild/BUILD/wget-1.21.3/testenv/./Test-hsts.py", line 79, in
<module>
err = test.begin()
File "/root/rpmbuild/BUILD/wget-1.21.3/testenv/test/http_test.py", line 41,
in begin
self.do_test()
File "/root/rpmbuild/BUILD/wget-1.21.3/testenv/test/base_test.py", line 198,
in do_test
self.post_hook_call()
File "/root/rpmbuild/BUILD/wget-1.21.3/testenv/test/base_test.py", line 217,
in post_hook_call
self.hook_call(self.post_configs, 'Post Test Function')
File "/root/rpmbuild/BUILD/wget-1.21.3/testenv/test/base_test.py", line 207,
in hook_call
conf.find_conf(conf_name)(conf_arg)(self)
File "/root/rpmbuild/BUILD/wget-1.21.3/testenv/conf/expected_files.py", line
55, in __call__
raise TestFailed('Expected file %s not found.' % file.name)
exc.test_failed.TestFailed: Expected file hw not found.
FAIL Test-hsts.py (exit status: 1)
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62110>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug #62110] HSTS broken on 32 bit big endian devices, Michal Ruprich, 2022/03/11
- [bug #62110] HSTS broken on 32 bit big endian devices, martian, 2022/03/11
- [bug #62110] HSTS broken on 32 bit big endian devices,
Michal Ruprich <=
- [bug #62110] HSTS broken on 32 bit big endian devices, Michal Ruprich, 2022/03/15
- [bug #62110] HSTS broken on 32 bit big endian devices, Michal Ruprich, 2022/03/16
- [bug #62110] HSTS broken on 32 bit big endian devices, martian, 2022/03/16
- [bug #62110] HSTS broken on 32 bit big endian devices, Petr Pisar, 2022/03/17
- [bug #62110] HSTS broken on 32 bit big endian devices, Michal Ruprich, 2022/03/17
- [bug #62110] HSTS broken on 32 bit big endian devices, Petr Pisar, 2022/03/17
- [bug #62110] HSTS broken on 32 bit big endian devices, martian, 2022/03/17
- [bug #62110] HSTS broken on 32 bit big endian devices, Petr Pisar, 2022/03/18
- [bug #62110] HSTS broken on 32 bit big endian devices, Tim Ruehsen, 2022/03/20
- [bug #62110] HSTS broken on 32 bit big endian devices, Tim Ruehsen, 2022/03/20