Ubuntu Pastebin

Paste from kyrofa at Tue, 14 Nov 2017 18:07:30 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
======================================================================
FAIL: test_failed_image_info_just_warns (snapcraft.tests.test_lxd.FailedImageInfoTestCase)
snapcraft.tests.test_lxd.FailedImageInfoTestCase.test_failed_image_info_just_warns (CalledProcessError)
----------------------------------------------------------------------
testtools.testresult.real._StringException: Empty attachments:
  pythonlogging:''-1
  pythonlogging:''-2

pythonlogging:'': {{{
Failed to get container image info: Command 'testcmd' returned non-zero exit status 1., output: test output
It will not be recorded in manifest.
}}}

Traceback (most recent call last):
  File "/tmp/autopkgtest.CriMwt/build.1eN/snapcraft/snapcraft/tests/test_lxd.py", line 669, in test_failed_image_info_just_warns
    self.assertEqual(self.fake_logger.output, self.expected_warn)
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 350, in assertEqual
    self.assertThat(observed, matcher, message)
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 435, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: !=:
reference = '''\
Failed to get container image info: Command 'testcmd' returned non-zero exit status 1., output: test output
It will not be recorded in manifest.
'''
actual    = '''\
Failed to get container image info: Command 'testcmd' returned non-zero exit status 1, output: test output
It will not be recorded in manifest.
'''


----------------------------------------------------------------------
Download as text