There are 6 tests that assume they are not running in armhf.
The unittests should be agnostic, and run the same on all architectures.
======================================================================
FAIL: test_build_is_dirty_from_project (snapcraft.tests.test_pluginhandler.IsDirtyTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.5/unittest/mock.py", line 1157, in patched
return func(*args, **keywargs)
File "/tmp/autopkgtest.sdXxxA/build.Jjd/snapcraft/snapcraft/tests/test_pluginhandler.py", line 1530, in test_build_is_dirty_from_project
'Expected build step to be dirty')
AssertionError: False is not true : Expected build step to be dirty
======================================================================
FAIL: test_pull_is_dirty_from_project (snapcraft.tests.test_pluginhandler.IsDirtyTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.5/unittest/mock.py", line 1157, in patched
return func(*args, **keywargs)
File "/tmp/autopkgtest.sdXxxA/build.Jjd/snapcraft/snapcraft/tests/test_pluginhandler.py", line 1579, in test_pull_is_dirty_from_project
'Expected pull step to be dirty')
AssertionError: False is not true : Expected pull step to be dirty
======================================================================
FAIL: test_push_a_snap (snapcraft.tests.test_commands_push.PushCommandTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/autopkgtest.sdXxxA/build.Jjd/snapcraft/snapcraft/tests/test_commands_push.py", line 82, in test_push_a_snap
self.fake_logger.output)
AssertionError: "Uploading my-snap-name_0.1_amd64.snap.\nRevision 9 of 'my-snap-name' created." not found in "Created snapcraft.yaml.\nEdit the file to your liking or run `snapcraft` to get started\nPreparing to pull my-part \nPulling my-part \nPreparing to build my-part \nBuilding my-part \nStaging my-part \nPriming my-part \nSnapped my-snap-name_0.1_armhf.snap\nUploading my-snap-name_0.1_armhf.snap.\nRevision 9 of 'my-snap-name' created.\n"
======================================================================
FAIL: test_push_and_release_a_snap (snapcraft.tests.test_commands_push.PushCommandTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/autopkgtest.sdXxxA/build.Jjd/snapcraft/snapcraft/tests/test_commands_push.py", line 196, in test_push_and_release_a_snap
self.fake_logger.output)
AssertionError: "Uploading my-snap-name_0.1_amd64.snap.\nRevision 9 of 'my-snap-name' created." not found in "Created snapcraft.yaml.\nEdit the file to your liking or run `snapcraft` to get started\nPreparing to pull my-part \nPulling my-part \nPreparing to build my-part \nBuilding my-part \nStaging my-part \nPriming my-part \nSnapped my-snap-name_0.1_armhf.snap\nUploading my-snap-name_0.1_armhf.snap.\nRevision 9 of 'my-snap-name' created.\nThe 'beta' channel is now open.\n"
======================================================================
FAIL: test_push_and_release_a_snap_to_N_channels (snapcraft.tests.test_commands_push.PushCommandTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/autopkgtest.sdXxxA/build.Jjd/snapcraft/snapcraft/tests/test_commands_push.py", line 245, in test_push_and_release_a_snap_to_N_channels
self.fake_logger.output)
AssertionError: "Uploading my-snap-name_0.1_amd64.snap.\nRevision 9 of 'my-snap-name' created." not found in "Created snapcraft.yaml.\nEdit the file to your liking or run `snapcraft` to get started\nPreparing to pull my-part \nPulling my-part \nPreparing to build my-part \nBuilding my-part \nStaging my-part \nPriming my-part \nSnapped my-snap-name_0.1_armhf.snap\nUploading my-snap-name_0.1_armhf.snap.\nRevision 9 of 'my-snap-name' created.\nThe 'beta,edge,candidate' channel is now open.\n"
======================================================================
FAIL: test_upload_raises_deprecation_warning (snapcraft.tests.test_commands_push.PushCommandTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/autopkgtest.sdXxxA/build.Jjd/snapcraft/snapcraft/tests/test_commands_push.py", line 150, in test_upload_raises_deprecation_warning
self.fake_logger.output)
AssertionError: "Uploading my-snap-name_0.1_amd64.snap.\nRevision 9 of 'my-snap-name' created." not found in "Created snapcraft.yaml.\nEdit the file to your liking or run `snapcraft` to get started\nPreparing to pull my-part \nPulling my-part \nPreparing to build my-part \nBuilding my-part \nStaging my-part \nPriming my-part \nSnapped my-snap-name_0.1_armhf.snap\nDEPRECATED: Use `push` instead of `upload`\nUploading my-snap-name_0.1_armhf.snap.\nRevision 9 of 'my-snap-name' created.\n"
----------------------------------------------------------------------
https:/ /github. com/snapcore/ snapcraft/ pull/917