[Bug 37453] New: python 3.1.1: test_urllibnet failed
https://bugs.winehq.org/show_bug.cgi?id=37453 Bug ID: 37453 Summary: python 3.1.1: test_urllibnet failed Product: Wine Version: 1.7.28 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: litimetal(a)gmail.com Distribution: --- Created attachment 49823 --> https://bugs.winehq.org/attachment.cgi?id=49823 terminal output.txt 0. Download python from https://www.python.org/ftp/python/3.1.1/python-3.1.1.msi sha1sum python-3.1.1.msi dcf93cb7d5432aa6e47479351f3cbeefddb0bd62 python-3.1.1.msi 1. Install it 2. wine python.exe -m test.test_urllibnet -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=37453 super_man(a)post.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man(a)post.com --- Comment #1 from super_man(a)post.com --- Created attachment 52181 --> https://bugs.winehq.org/attachment.cgi?id=52181 1.7.50 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=37453 --- Comment #2 from super_man(a)post.com --- (In reply to super_man from comment #1)
Created attachment 52181 [details] 1.7.50
I would say that the test result is identical 1.9.6 and staging 1.9.6 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=37453 Jeff Zaroyko <jeffz(a)jeffz.name> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 URL| |https://www.python.org/ftp/ | |python/3.1.1/python-3.1.1.m | |si --- Comment #3 from Jeff Zaroyko <jeffz(a)jeffz.name> --- Confirming. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=37453 Jeff Zaroyko <jeffz(a)jeffz.name> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=37453 winetest(a)luukku.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest(a)luukku.com --- Comment #4 from winetest(a)luukku.com --- Look like no change wine 2.0rc5 and staging 2.0rc5. Both said 1 failure. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=37453 Andrew Nguyen <arethusa26@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|NEW |RESOLVED --- Comment #5 from Andrew Nguyen <arethusa26@gmail.com> --- Based on the provided debug output and contemporaneous testing of Python 3.1.1 with wine-11.0-rc2, I don't believe there was ever an issue with Wine. Instead, I suspect that the failing Python test case stopped passing even on Windows due to a change in the test environment it depends on. The test_geturl test case in test_urllibnet attempts to open a request for the URL "http://www.python.org/" to check the return value of the geturl() method. The Internet Archive search results for the Python website (https://web.archive.org/web/*/http://www.python.org/) show that when Python 3.1.1 was released in August 2009, the Python website accessed via HTTP did not redirect to HTTPS (e.g., https://web.archive.org/web/20090822164951/http://www.python.org/), so I believe running the test_urllibnet test cases would have succeeded at that time. However, by the time this bug report was created, it appears that the HTTP version of the Python website started redirecting to the HTTPS version, as it does today. This would explain the AssertionError captured in the debug output: Traceback (most recent call last): File "C:\Python31\lib\test\test_urllibnet.py", line 103, in test_geturl self.assertEqual(gotten_url, URL) AssertionError: 'https://www.python.org/' != 'http://www.python.org/' While running the same test case on Windows 10 generated different errors related to SSL, if I replace the URLs in the test with "http://test.winehq.org/" to avoid any redirection to a HTTPS URL, I can confirm that I see the same assertion failure both in Wine and Windows 10: Traceback (most recent call last): File "C:\Python31\lib\test\test_urllibnet.py", line 103, in test_geturl self.assertEqual(gotten_url, URL) AssertionError: 'http://test.winehq.org/data/' != 'http://test.winehq.org/' As there is no valid defect identified in Wine, I'm resolving this bug as invalid. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=37453 Gijs Vermeulen <gijsvrm@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #6 from Gijs Vermeulen <gijsvrm@gmail.com> --- Closing INVALID. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla