[Bug 1303879] Re: FTBFS/autopkgtest failure: FAIL: bzrlib.tests.test_email_message.TestEmailMessage

Launchpad Bug Tracker 1303879 at bugs.launchpad.net
Wed Apr 9 08:09:13 UTC 2014


** Branch linked: lp:~vila/bzr/1303879-py27-issues

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bzr in Ubuntu.
https://bugs.launchpad.net/bugs/1303879

Title:
  FTBFS/autopkgtest failure: FAIL:
  bzrlib.tests.test_email_message.TestEmailMessage

Status in “bzr” package in Ubuntu:
  Confirmed

Bug description:
  These three test have been failing on the last few autopkgtest runs.
  The also fail in Debian unstable.

  https://jenkins.qa.ubuntu.com/view/Trusty/view/AutoPkgTest/job/trusty-
  adt-bzr/25/ARCH=amd64,label=adt/console

  
  Interestingly, they aren't failing on upstream's trusty jenkins instance:

  http://babune.ladeuil.net:24842/job/selftest-chroot-trusty/


  FAIL: bzrlib.tests.test_email_message.TestEmailMessage.test_send
  ----------------------------------------------------------------------
  Traceback (most recent call last):
  _StringException: Empty attachments:
    log

  Traceback (most recent call last):
    File "/tmp/buildd/bzr-2.6.0+bzr6592/build/lib.linux-x86_64-2.7/bzrlib/tests/test_email_message.py", line 168, in test_send
      messages[0])
    File "/tmp/buildd/bzr-2.6.0+bzr6592/build/lib.linux-x86_64-2.7/bzrlib/tests/__init__.py", line 1380, in assertEqualDiff
      self._ndiff_strings(a, b))
  AssertionError: first string is missing a final newline.
    Content-Type: multipart/mixed; boundary="=====123456=="
    MIME-Version: 1.0
    From: from at from.com
    Subject: subject
    To: to at to.com
    User-Agent: Bazaar (2.7.0dev1)
    
    --=====123456==
    MIME-Version: 1.0
    Content-Type: text/plain; charset="us-ascii"
    Content-Transfer-Encoding: 7bit
    Content-Disposition: inline
    
    body
    --=====123456==
    MIME-Version: 1.0
    Content-Type: text/plain; charset="us-ascii"; name="lines.txt"
    Content-Transfer-Encoding: 7bit
    Content-Disposition: inline
    
    a
    b
    c
    d
    e
    
    --=====123456==--

  ======================================================================
  FAIL: bzrlib.tests.test_osutils.TestWin32Funcs.test_pathjoin
  ----------------------------------------------------------------------
  Traceback (most recent call last):
  _StringException: Empty attachments:
    log

  Traceback (most recent call last):
    File "/tmp/buildd/bzr-2.6.0+bzr6592/build/lib.linux-x86_64-2.7/bzrlib/tests/test_osutils.py", line 947, in test_pathjoin
      osutils._win32_pathjoin('C:/path/to/', '/foo'))
    File "/tmp/buildd/bzr-2.6.0+bzr6592/build/lib.linux-x86_64-2.7/bzrlib/tests/__init__.py", line 1360, in assertEqual
      pprint.pformat(a), pprint.pformat(b)))
  AssertionError: not equal:
  a = '/foo'
  b = 'C:/foo'

  ======================================================================
  FAIL: bzrlib.tests.test_email_message.TestEmailMessage.test_multipart_message
  ----------------------------------------------------------------------
  Traceback (most recent call last):
  _StringException: Empty attachments:
    log

  Traceback (most recent call last):
    File "/tmp/buildd/bzr-2.6.0+bzr6592/build/lib.linux-x86_64-2.7/bzrlib/tests/test_email_message.py", line 106, in test_multipart_message
      self.assertEqualDiff(SIMPLE_MULTIPART_MESSAGE, msg.as_string(BOUNDARY))
    File "/tmp/buildd/bzr-2.6.0+bzr6592/build/lib.linux-x86_64-2.7/bzrlib/tests/__init__.py", line 1380, in assertEqualDiff
      self._ndiff_strings(a, b))
  AssertionError: first string is missing a final newline.
    Content-Type: multipart/mixed; boundary="=====123456=="
    MIME-Version: 1.0
    From: from at from.com
    Subject: subject
    To: to at to.com
    User-Agent: Bazaar (2.7.0dev1)
    
    --=====123456==
    MIME-Version: 1.0
    Content-Type: text/plain; charset="us-ascii"
    Content-Transfer-Encoding: 7bit
    Content-Disposition: inline
    
    body
    --=====123456==--

  ----------------------------------------------------------------------
  Ran 28533 tests in 379.365s

  FAILED (failures=3, known_failure_count=59)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bzr/+bug/1303879/+subscriptions



More information about the foundations-bugs mailing list