[Testbot] Plone 6.0 - Python 3.6 - Build # 111 - Failure!

jenkins at plone.org jenkins at plone.org
Fri Sep 25 17:57:56 UTC 2020


Plone 6.0 - Python 3.6 - Build # 111 - Failure:

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


Plone 6.0 - Python 3.6 - Build # 111 - Failure:

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

Test Results:

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

Error Message:
'str' object has no attribute 'decode'

Stack Trace:
'str' object has no attribute 'decode'

  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-6.0-python-3.6/src/plone.app.contentrules/plone/app/contentrules/tests/test_action_mail.py", line 134, in testExecute
    mail_sent_msg = message_from_bytes(mail_sent)
  File "/srv/python3.6/lib/python3.6/email/__init__.py", line 46, in message_from_bytes
    return BytesParser(*args, **kws).parsebytes(s)
  File "/srv/python3.6/lib/python3.6/email/parser.py", line 122, in parsebytes
    text = text.decode('ASCII', errors='surrogateescape')


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

Error Message:
'str' object has no attribute 'decode'

Stack Trace:
'str' object has no attribute 'decode'

  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-6.0-python-3.6/src/plone.app.contentrules/plone/app/contentrules/tests/test_action_mail.py", line 238, in testExecuteExcludeActor
    mailSent = message_from_bytes(dummyMailHost.messages[0])
  File "/srv/python3.6/lib/python3.6/email/__init__.py", line 46, in message_from_bytes
    return BytesParser(*args, **kws).parsebytes(s)
  File "/srv/python3.6/lib/python3.6/email/parser.py", line 122, in parsebytes
    text = text.decode('ASCII', errors='surrogateescape')


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

Error Message:
'in <string>' requires string as left operand, not bytes

Stack Trace:
'in <string>' requires string as left operand, 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-6.0-python-3.6/src/plone.app.contentrules/plone/app/contentrules/tests/test_action_mail.py", line 206, in testExecuteMultiRecipients
    if b'bar at foo.be' in msg:


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

Error Message:
'str' object has no attribute 'decode'

Stack Trace:
'str' object has no attribute 'decode'

  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-6.0-python-3.6/src/plone.app.contentrules/plone/app/contentrules/tests/test_action_mail.py", line 183, in testExecuteNoSource
    mailSent = message_from_bytes(dummyMailHost.messages[0])
  File "/srv/python3.6/lib/python3.6/email/__init__.py", line 46, in message_from_bytes
    return BytesParser(*args, **kws).parsebytes(s)
  File "/srv/python3.6/lib/python3.6/email/parser.py", line 122, in parsebytes
    text = text.decode('ASCII', errors='surrogateescape')


More information about the Testbot mailing list