[Testbot] Plone 5.2 - Python 3.6 - Build # 1115 - Failure!

jenkins at plone.org jenkins at plone.org
Fri Sep 25 15:00:38 UTC 2020


Plone 5.2 - Python 3.6 - Build # 1115 - Failure:

Check console output at https://jenkins.plone.org/job/plone-5.2-python-3.6/1115/ to view the results.


Plone 5.2 - Python 3.6 - Build # 1115 - Failure:

Check console output at https://jenkins.plone.org/job/plone-5.2-python-3.6/1115/ to view the results.

Test Results:

10 tests failed.
FAILED:  src.plone.api.tests.doctests.portal.rst

Error Message:
initial_value must be str or None, not bytes

Stack Trace:
initial_value must be str or None, not bytes

  File "/srv/python3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
    yield
  File "/srv/python3.6/lib/python3.6/unittest/case.py", line 605, in run
    testMethod()
  File "/home/jenkins/.buildout/eggs/cp36m/manuel-1.10.1-py3.6.egg/manuel/testing.py", line 43, in runTest
    self.regions.evaluate_with(self.manuel, self.globs)
  File "/home/jenkins/.buildout/eggs/cp36m/manuel-1.10.1-py3.6.egg/manuel/__init__.py", line 135, in evaluate_with
    evaluater(region, self, globs)
  File "/home/jenkins/.buildout/eggs/cp36m/manuel-1.10.1-py3.6.egg/manuel/codeblock.py", line 31, in execute_code_block
    exec(region.parsed.code, globs)
  File "/home/jenkins/workspace/plone-5.2-python-3.6/src/plone.api/src/plone/api/tests/doctests/portal.rst:217", line 6, in <module>
  File "/srv/python3.6/lib/python3.6/email/__init__.py", line 38, in message_from_string
    return Parser(*args, **kws).parsestr(s)
  File "/srv/python3.6/lib/python3.6/email/parser.py", line 67, in parsestr
    return self.parse(StringIO(text), headersonly=headersonly)


FAILED:  plone.api.tests.test_portal.TestPloneApiPortal.test_send_email

Error Message:
initial_value must be str or None, not bytes

Stack Trace:
initial_value must be str or None, not bytes

  File "/srv/python3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
    yield
  File "/srv/python3.6/lib/python3.6/unittest/case.py", line 605, in run
    testMethod()
  File "/home/jenkins/workspace/plone-5.2-python-3.6/src/plone.api/src/plone/api/tests/test_portal.py", line 231, in test_send_email
    msg = message_from_string(self.mailhost.messages[0])
  File "/srv/python3.6/lib/python3.6/email/__init__.py", line 38, in message_from_string
    return Parser(*args, **kws).parsestr(s)
  File "/srv/python3.6/lib/python3.6/email/parser.py", line 67, in parsestr
    return self.parse(StringIO(text), headersonly=headersonly)


FAILED:  plone.api.tests.test_portal.TestPloneApiPortal.test_send_email_with_config_in_registry

Error Message:
initial_value must be str or None, not bytes

Stack Trace:
initial_value must be str or None, not bytes

  File "/srv/python3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
    yield
  File "/srv/python3.6/lib/python3.6/unittest/case.py", line 605, in run
    testMethod()
  File "/home/jenkins/workspace/plone-5.2-python-3.6/src/plone.api/src/plone/api/tests/test_portal.py", line 331, in test_send_email_with_config_in_registry
    msg = message_from_string(self.mailhost.messages[0])
  File "/srv/python3.6/lib/python3.6/email/__init__.py", line 38, in message_from_string
    return Parser(*args, **kws).parsestr(s)
  File "/srv/python3.6/lib/python3.6/email/parser.py", line 67, in parsestr
    return self.parse(StringIO(text), headersonly=headersonly)


FAILED:  plone.app.contentrules.tests.test_action_mail.TestMailAction.testExecute

Error Message:
initial_value must be str or None, not bytes

Stack Trace:
initial_value must be str or None, not bytes

  File "/srv/python3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
    yield
  File "/srv/python3.6/lib/python3.6/unittest/case.py", line 605, in run
    testMethod()
  File "/home/jenkins/workspace/plone-5.2-python-3.6/src/plone.app.contentrules/plone/app/contentrules/tests/test_action_mail.py", line 128, in testExecute
    mail_sent_msg = message_from_string(mail_sent)
  File "/srv/python3.6/lib/python3.6/email/__init__.py", line 38, in message_from_string
    return Parser(*args, **kws).parsestr(s)
  File "/srv/python3.6/lib/python3.6/email/parser.py", line 67, in parsestr
    return self.parse(StringIO(text), headersonly=headersonly)


FAILED:  plone.app.contentrules.tests.test_action_mail.TestMailAction.testExecuteExcludeActor

Error Message:
initial_value must be str or None, not bytes

Stack Trace:
initial_value must be str or None, not bytes

  File "/srv/python3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
    yield
  File "/srv/python3.6/lib/python3.6/unittest/case.py", line 605, in run
    testMethod()
  File "/home/jenkins/workspace/plone-5.2-python-3.6/src/plone.app.contentrules/plone/app/contentrules/tests/test_action_mail.py", line 232, in testExecuteExcludeActor
    mailSent = message_from_string(dummyMailHost.messages[0])
  File "/srv/python3.6/lib/python3.6/email/__init__.py", line 38, in message_from_string
    return Parser(*args, **kws).parsestr(s)
  File "/srv/python3.6/lib/python3.6/email/parser.py", line 67, in parsestr
    return self.parse(StringIO(text), headersonly=headersonly)


FAILED:  plone.app.contentrules.tests.test_action_mail.TestMailAction.testExecuteMultiRecipients

Error Message:
a bytes-like object is required, not 'str'

Stack Trace:
a bytes-like object is required, not 'str'

  File "/srv/python3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
    yield
  File "/srv/python3.6/lib/python3.6/unittest/case.py", line 605, in run
    testMethod()
  File "/home/jenkins/workspace/plone-5.2-python-3.6/src/plone.app.contentrules/plone/app/contentrules/tests/test_action_mail.py", line 200, in testExecuteMultiRecipients
    if 'bar at foo.be' in msg:


FAILED:  plone.app.contentrules.tests.test_action_mail.TestMailAction.testExecuteNoSource

Error Message:
initial_value must be str or None, not bytes

Stack Trace:
initial_value must be str or None, not bytes

  File "/srv/python3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
    yield
  File "/srv/python3.6/lib/python3.6/unittest/case.py", line 605, in run
    testMethod()
  File "/home/jenkins/workspace/plone-5.2-python-3.6/src/plone.app.contentrules/plone/app/contentrules/tests/test_action_mail.py", line 177, in testExecuteNoSource
    mailSent = message_from_string(dummyMailHost.messages[0])
  File "/srv/python3.6/lib/python3.6/email/__init__.py", line 38, in message_from_string
    return Parser(*args, **kws).parsestr(s)
  File "/srv/python3.6/lib/python3.6/email/parser.py", line 67, in parsestr
    return self.parse(StringIO(text), headersonly=headersonly)


FAILED:  plone.app.discussion.tests.test_notifications.TestModeratorNotificationUnit.test_notify_moderator

Error Message:
a bytes-like object is required, not 'str'

Stack Trace:
a bytes-like object is required, not 'str'

  File "/srv/python3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
    yield
  File "/srv/python3.6/lib/python3.6/unittest/case.py", line 605, in run
    testMethod()
  File "/home/jenkins/workspace/plone-5.2-python-3.6/src/plone.app.discussion/plone/app/discussion/tests/test_notifications.py", line 210, in test_notify_moderator
    self.assertTrue('To: portal at plone.test' in msg)


FAILED:  plone.app.discussion.tests.test_notifications.TestModeratorNotificationUnit.test_notify_moderator_specific_address

Error Message:
'bytes' object has no attribute 'mto'

Stack Trace:
'bytes' object has no attribute 'mto'

  File "/srv/python3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
    yield
  File "/srv/python3.6/lib/python3.6/unittest/case.py", line 605, in run
    testMethod()
  File "/home/jenkins/workspace/plone-5.2-python-3.6/src/plone.app.discussion/plone/app/discussion/tests/test_notifications.py", line 248, in test_notify_moderator_specific_address
    self.assertTrue('test at example.com' in msg.mto)


FAILED:  plone.app.discussion.tests.test_notifications.TestUserNotificationUnit.test_notify_user

Error Message:
False is not true

Stack Trace:
False is not true

  File "/srv/python3.6/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
    yield
  File "/srv/python3.6/lib/python3.6/unittest/case.py", line 605, in run
    testMethod()
  File "/home/jenkins/workspace/plone-5.2-python-3.6/src/plone.app.discussion/plone/app/discussion/tests/test_notifications.py", line 74, in test_notify_user
    in msg)
  File "/srv/python3.6/lib/python3.6/unittest/case.py", line 682, in assertTrue
    raise self.failureException(msg)


More information about the Testbot mailing list