unit tests in IsDirtyTestCase fail when executed in a platform that's not amd64
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
Medium
|
Leo Arias | ||
snapcraft (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned | ||
Yakkety |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The TestCase sets the project options architecture to amd64, so when it is run in a different architecture it will fail.
=======
FAIL: test_build_
-------
Traceback (most recent call last):
File "/tmp/adt-
'Build step was unexpectedly dirty')
AssertionError: True is not false : Build step was unexpectedly dirty
=======
FAIL: test_build_
-------
Traceback (most recent call last):
File "/usr/lib/
return func(*args, **keywargs)
File "/tmp/adt-
'Build step was unexpectedly dirty')
AssertionError: True is not false : Build step was unexpectedly dirty
=======
FAIL: test_pull_
-------
Traceback (most recent call last):
File "/tmp/adt-
'Pull step was unexpectedly dirty')
AssertionError: True is not false : Pull step was unexpectedly dirty
=======
FAIL: test_pull_
-------
Traceback (most recent call last):
File "/usr/lib/
return func(*args, **keywargs)
File "/tmp/adt-
'Pull step was unexpectedly dirty')
AssertionError: True is not false : Pull step was unexpectedly dirty
[Impact]
* No visible impact for users.
* Fixing this test will get us closer to have green executions in autopkgtests in all the platforms.
[Test Case]
* Run the autopkgtests in a platform that's not amd64,
[Regression Potential]
* This could make fail the tests in amd64. But as it's in an autopkgtest, any regression will block the new version to get to proposed.
Changed in snapcraft: | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Leo Arias (elopio) |
milestone: | none → 2.11 |
Changed in snapcraft: | |
milestone: | 2.12 → 2.11 |
status: | In Progress → Fix Committed |
Changed in snapcraft (Ubuntu Xenial): | |
milestone: | none → xenial-updates |
Changed in snapcraft: | |
status: | Fix Committed → Fix Released |
https:/ /github. com/ubuntu- core/snapcraft/ pull/553