When running bin/test with the -vv option everything works smoothly except for 
these tests:

test_rejecting_pipeline 
(mailman.core.tests.test_pipelines.TestPostingPipeline)/usr/local/mm3/mailman/src/mailman/core/pipelines.py:73:
 DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
  message_id, pipeline_name, handler.name, error.message))
/usr/local/mm3/mailman/src/mailman/app/bounces.py:84: DeprecationWarning: 
BaseException.message has been deprecated as of Python 2.6
  notice = _(error.message)

 test_rfc2369_headers (mailman.core.tests.test_pipelines.TestPostingPipeline)
 test_crash_event 
(mailman.core.tests.test_runner.TestRunner)/usr/local/mm3/mailman/src/mailman/core/tests/test_runner.py:84:
 DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
  self.assertEqual(event.error.message, 'borked')

 test_one_precedence_header (mailman.email.tests.test_message.TestMessage)
 test_bad_action 
(mailman.handlers.tests.test_mimedel.TestDispose)/usr/local/mm3/mailman/src/mailman/handlers/tests/test_mimedel.py:209:
 DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
  self.assertEqual(error.message, 'bad action')

 test_dispose_bounce 
(mailman.handlers.tests.test_mimedel.TestDispose)/usr/local/mm3/mailman/src/mailman/handlers/tests/test_mimedel.py:92:
 DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
  self.assertEqual(error.message, 'rejecting')

 test_dispose_discard 
(mailman.handlers.tests.test_mimedel.TestDispose)/usr/local/mm3/mailman/src/mailman/handlers/tests/test_mimedel.py:80:
 DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
  self.assertEqual(error.message, 'discarding')

 test_dispose_forward 
(mailman.handlers.tests.test_mimedel.TestDispose)/usr/local/mm3/mailman/src/mailman/handlers/tests/test_mimedel.py:112:
 DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
  self.assertEqual(error.message, 'forwarding')

 test_dispose_non_preservable 
(mailman.handlers.tests.test_mimedel.TestDispose)/usr/local/mm3/mailman/src/mailman/handlers/tests/test_mimedel.py:163:
 DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
  self.assertEqual(error.message, 'not preserved')

 test_dispose_preservable 
(mailman.handlers.tests.test_mimedel.TestDispose)/usr/local/mm3/mailman/src/mailman/handlers/tests/test_mimedel.py:185:
 DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
  self.assertEqual(error.message, 'preserved')


and the error that I was saying about appears here: 

Running mailman.testing.layers.SMTPLayer tests:
  Tear down mailman.testing.layers.LMTPLayer in 0.009 seconds.
  Set up mailman.testing.layers.SMTPLayer Traceback (most recent call last):
  File 
"/usr/local/mm3/mailman/eggs/zope.testrunner-4.0.4-py2.6.egg/zope/testrunner/runner.py",
 line 380, in run_layer
    setup_layer(options, layer, setup_layers)
  File 
"/usr/local/mm3/mailman/eggs/zope.testrunner-4.0.4-py2.6.egg/zope/testrunner/runner.py",
 line 672, in setup_layer
    layer.setUp()
  File "/usr/local/mm3/mailman/src/mailman/testing/layers.py", line 254, in 
setUp
    cls.smtpd.start()
  File "/usr/local/mm3/mailman/src/mailman/testing/mta.py", line 197, in start
    QueueController.start(self)
  File 
"/usr/local/mm3/mailman/eggs/lazr.smtptest-1.3-py2.6.egg/lazr/smtptest/controller.py",
 line 69, in start
    smtpd = self._connect()
  File 
"/usr/local/mm3/mailman/eggs/lazr.smtptest-1.3-py2.6.egg/lazr/smtptest/controller.py",
 line 60, in _connect
    smtpd.connect(self._server.host, self._server.port)
  File "/usr/lib/python2.6/smtplib.py", line 295, in connect
    self.sock = self._get_socket(host, port, self.timeout)
  File "/usr/lib/python2.6/smtplib.py", line 273, in _get_socket
    return socket.create_connection((port, host), timeout)
  File "/usr/lib/python2.6/socket.py", line 514, in create_connection
    raise error, msg
error: [Errno 111] Connection refused


Thanks again for you help!
Emanuel Danci

________________________________
 From: Mark Sapiro <m...@msapiro.net>
To: Danci Emanuel <danci_eman...@yahoo.com> 
Sent: Monday, June 11, 2012 8:50 PM
Subject: Re: [Mailman-Users] smtp error - [Errno 111] Connection refused - when 
trying to install MM 3.0
 
On 6/11/2012 10:29 AM, Danci Emanuel wrote:
> 
> I have opened the port and also I made sure that it is not used,
> but I get the same error. 


What is the exact test that fails. If you don't see it, run bin/test
with the -vv option.

-- 
Mark Sapiro <m...@msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan
------------------------------------------------------
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to