fails tests with python 3.6
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
High
|
Sergio Schvezov | ||
snapcraft (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Like so:
=======
ERROR: test_parts_
snapcraft.
-------
testtools.
pythonlogging:''
Traceback (most recent call last):
File "/usr/lib/
return func(*args, **keywargs)
File "/<<BUILDDIR>
config = project_
File "/<<BUILDDIR>
self.
File "/<<BUILDDIR>
self.
File "/<<BUILDDIR>
self.
File "/<<BUILDDIR>
definitions
File "/<<BUILDDIR>
definitions
File "/<<BUILDDIR>
self.ubuntudir = os.path.
File "/usr/lib/
a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not MagicMock
=======
FAIL: test_wait_
snapcraft.
-------
testtools.
pythonlogging:''
Traceback (most recent call last):
File "/<<BUILDDIR>
"Command '['my-cmd']' returned non-zero exit status -1")
File "/usr/lib/
self.
File "/usr/lib/
raise mismatch_error
testtools.
reference = "Command '['my-cmd']' died with <Signals.SIGHUP: 1>."
actual = "Command '['my-cmd']' returned non-zero exit status -1"
=======
FAIL: test_wait_
snapcraft.
-------
testtools.
pythonlogging:''
traceback-1: {{{
Traceback (most recent call last):
File "/<<BUILDDIR>
"Command '['my-cmd']' returned non-zero exit status -1")
File "/usr/lib/
self.
File "/usr/lib/
raise mismatch_error
testtools.
reference = "Command '['my-cmd']' died with <Signals.SIGHUP: 1>."
actual = "Command '['my-cmd']' returned non-zero exit status -1"
}}}
=======
FAIL: test_wait_
snapcraft.
-------
testtools.
pythonlogging:''
traceback-2: {{{
Traceback (most recent call last):
File "/<<BUILDDIR>
"Command '['my-cmd']' returned non-zero exit status -1")
File "/usr/lib/
self.
File "/usr/lib/
raise mismatch_error
testtools.
reference = "Command '['my-cmd']' died with <Signals.SIGHUP: 1>."
actual = "Command '['my-cmd']' returned non-zero exit status -1"
}}}
You'll need to fix this to get the next version into artful.
tags: | added: ftbfs python3.6 |
Changed in snapcraft: | |
status: | In Progress → Fix Committed |
Changed in snapcraft: | |
status: | Fix Committed → Fix Released |
https:/ /github. com/snapcore/ snapcraft/ pull/1398