test_not_enough_parameters hangs on OS X

Bug #1157854 reported by Barry Warsaw
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNU Mailman
Invalid
Undecided
Unassigned

Bug Description

test_not_enough_parameters (mailman.rest.tests.test_users.TestLogin)

This test hangs completely on OS X 10.6.8 and 10.8.2. It does not hang on Ubuntu 13.04 AFAICT. Commenting out this test allows the rest of the test suite to run to completion, although I get three test failures (on OS X 10.8.2).

test_cannot_create_duplicate_list (mailman.rest.tests.test_lists.TestLists)
test_cannot_create_list_in_missing_domain (mailman.rest.tests.test_lists.TestLists)
test_existing_user_error (mailman.rest.tests.test_users.TestUsers)

Further, C-c leaves the RESTRunner running.

Tags: mailman3
Revision history for this message
Barry Warsaw (barry) wrote :

Tracing down, this hang happens in the cgi.FieldStorage.__init__() in Python 2.7's cgi.py module. Line 497 says:

            self.read_urlencoded()

so something weird on OS X is probably causing the file read to block because there's not enough data there.

Revision history for this message
Barry Warsaw (barry) wrote :

Mark reports that it also hangs on Ubuntu 12.04.2

Revision history for this message
Barry Warsaw (barry) wrote :

Full test passes for me on OS X 10.9 and 10.10. Marking as no longer valid, but please do re-open if you have a problem on modern OS X again.

Changed in mailman:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.