This is caused by this change, that didn't take into account that we run tests in all the architectures:
https://github.com/snapcore/snapcraft/pull/1148/files
======================================================================
FAIL: test_build_verbose_with_kconfigfile (snapcraft.tests.plugins.test_kernel.KernelPluginTestCase)
snapcraft.tests.plugins.test_kernel.KernelPluginTestCase.test_build_verbose_with_kconfigfile
----------------------------------------------------------------------
testtools.testresult.real._StringException: Empty attachments:
pythonlogging:''-1
pythonlogging:'': {{{
Generating driver initrd for kernel release: 4.4.2
initrd mime_type: temporary-directory/squashfs-root/usr/lib/ubuntu-core-generic-initrd/initrd.img-core application/gzip
}}}
Traceback (most recent call last):
File "/tmp/autopkgtest.hRA5Ne/build.yqr/snapcraft/snapcraft/tests/plugins/test_kernel.py", line 429, in test_build_verbose_with_kconfigfile
plugin.installdir, 'lib', 'firmware'))])
File "/usr/lib/python3.5/unittest/mock.py", line 824, in assert_has_calls
) from cause
AssertionError: Calls not found.
Expected: [call(['make', '-j2', 'V=1', 'bzImage', 'modules']), call(['make', '-j2', 'V=1', 'CONFIG_PREFIX=/tmp/tmprjje0lnz/parts/test-part/install', 'modules_install', 'INSTALL_MOD_PATH=/tmp/tmprjje0lnz/parts/test-part/install', 'firmware_install', 'INSTALL_FW_PATH=/tmp/tmprjje0lnz/parts/test-part/install/lib/firmware'])]
Actual: [call(['make', '-j2', 'V=1', 'bzImage', 'modules', 'dtbs']),
call(['make', '-j2', 'V=1', 'CONFIG_PREFIX=/tmp/tmprjje0lnz/parts/test-part/install', 'modules_install', 'INSTALL_MOD_PATH=/tmp/tmprjje0lnz/parts/test-part/install', 'dtbs_install', 'INSTALL_DTBS_PATH=/tmp/tmprjje0lnz/parts/test-part/install/dtbs', 'firmware_install', 'INSTALL_FW_PATH=/tmp/tmprjje0lnz/parts/test-part/install/lib/firmware'])]
======================================================================
FAIL: test_build_with_defconfig_and_kconfigs (snapcraft.tests.plugins.test_kernel.KernelPluginTestCase)
snapcraft.tests.plugins.test_kernel.KernelPluginTestCase.test_build_with_defconfig_and_kconfigs
----------------------------------------------------------------------
testtools.testresult.real._StringException: Empty attachments:
pythonlogging:''
Traceback (most recent call last):
File "/tmp/autopkgtest.hRA5Ne/build.yqr/snapcraft/snapcraft/tests/plugins/test_kernel.py", line 529, in test_build_with_defconfig_and_kconfigs
plugin.installdir, 'lib', 'firmware'))])
File "/usr/lib/python3.5/unittest/mock.py", line 824, in assert_has_calls
) from cause
AssertionError: Calls not found.
Expected: [call(['make', '-j1', 'defconfig']), call(['make', '-j2', 'bzImage', 'modules']), call(['make', '-j2', 'CONFIG_PREFIX=/tmp/tmpn3rrxo27/parts/test-part/install', 'modules_install', 'INSTALL_MOD_PATH=/tmp/tmpn3rrxo27/parts/test-part/install', 'firmware_install', 'INSTALL_FW_PATH=/tmp/tmpn3rrxo27/parts/test-part/install/lib/firmware'])]
Actual: [call(['make', '-j1', 'defconfig']),
call(['make', '-j2', 'bzImage', 'modules', 'dtbs']),
call(['make', '-j2', 'CONFIG_PREFIX=/tmp/tmpn3rrxo27/parts/test-part/install', 'modules_install', 'INSTALL_MOD_PATH=/tmp/tmpn3rrxo27/parts/test-part/install', 'dtbs_install', 'INSTALL_DTBS_PATH=/tmp/tmpn3rrxo27/parts/test-part/install/dtbs', 'firmware_install', 'INSTALL_FW_PATH=/tmp/tmpn3rrxo27/parts/test-part/install/lib/firmware'])]
======================================================================
FAIL: test_build_with_kconfigfile (snapcraft.tests.plugins.test_kernel.KernelPluginTestCase)
snapcraft.tests.plugins.test_kernel.KernelPluginTestCase.test_build_with_kconfigfile
----------------------------------------------------------------------
testtools.testresult.real._StringException: Empty attachments:
pythonlogging:''
Traceback (most recent call last):
File "/tmp/autopkgtest.hRA5Ne/build.yqr/snapcraft/snapcraft/tests/plugins/test_kernel.py", line 373, in test_build_with_kconfigfile
plugin.installdir, 'lib', 'firmware'))])
File "/usr/lib/python3.5/unittest/mock.py", line 824, in assert_has_calls
) from cause
AssertionError: Calls not found.
Expected: [call(['make', '-j2', 'bzImage', 'modules']), call(['make', '-j2', 'CONFIG_PREFIX=/tmp/tmp_jkrmyjn/parts/test-part/install', 'modules_install', 'INSTALL_MOD_PATH=/tmp/tmp_jkrmyjn/parts/test-part/install', 'firmware_install', 'INSTALL_FW_PATH=/tmp/tmp_jkrmyjn/parts/test-part/install/lib/firmware'])]
Actual: [call(['make', '-j2', 'bzImage', 'modules', 'dtbs']),
call(['make', '-j2', 'CONFIG_PREFIX=/tmp/tmp_jkrmyjn/parts/test-part/install', 'modules_install', 'INSTALL_MOD_PATH=/tmp/tmp_jkrmyjn/parts/test-part/install', 'dtbs_install', 'INSTALL_DTBS_PATH=/tmp/tmp_jkrmyjn/parts/test-part/install/dtbs', 'firmware_install', 'INSTALL_FW_PATH=/tmp/tmp_jkrmyjn/parts/test-part/install/lib/firmware'])]
======================================================================
FAIL: test_build_with_kconfigfile_and_firmware (snapcraft.tests.plugins.test_kernel.KernelPluginTestCase)
snapcraft.tests.plugins.test_kernel.KernelPluginTestCase.test_build_with_kconfigfile_and_firmware
----------------------------------------------------------------------
testtools.testresult.real._StringException: Empty attachments:
pythonlogging:''
Traceback (most recent call last):
File "/tmp/autopkgtest.hRA5Ne/build.yqr/snapcraft/snapcraft/tests/plugins/test_kernel.py", line 745, in test_build_with_kconfigfile_and_firmware
plugin.installdir, 'lib', 'firmware'))])
File "/usr/lib/python3.5/unittest/mock.py", line 824, in assert_has_calls
) from cause
AssertionError: Calls not found.
Expected: [call(['make', '-j2', 'bzImage', 'modules']), call(['make', '-j2', 'CONFIG_PREFIX=/tmp/tmpsx894c7e/parts/test-part/install', 'modules_install', 'INSTALL_MOD_PATH=/tmp/tmpsx894c7e/parts/test-part/install', 'firmware_install', 'INSTALL_FW_PATH=/tmp/tmpsx894c7e/parts/test-part/install/lib/firmware'])]
Actual: [call(['make', '-j2', 'bzImage', 'modules', 'dtbs']),
call(['make', '-j2', 'CONFIG_PREFIX=/tmp/tmpsx894c7e/parts/test-part/install', 'modules_install', 'INSTALL_MOD_PATH=/tmp/tmpsx894c7e/parts/test-part/install', 'dtbs_install', 'INSTALL_DTBS_PATH=/tmp/tmpsx894c7e/parts/test-part/install/dtbs', 'firmware_install', 'INSTALL_FW_PATH=/tmp/tmpsx894c7e/parts/test-part/install/lib/firmware'])]
======================================================================
FAIL: test_build_with_kconfigfile_and_kconfigs (snapcraft.tests.plugins.test_kernel.KernelPluginTestCase)
snapcraft.tests.plugins.test_kernel.KernelPluginTestCase.test_build_with_kconfigfile_and_kconfigs
----------------------------------------------------------------------
testtools.testresult.real._StringException: Empty attachments:
pythonlogging:''
Traceback (most recent call last):
File "/tmp/autopkgtest.hRA5Ne/build.yqr/snapcraft/snapcraft/tests/plugins/test_kernel.py", line 471, in test_build_with_kconfigfile_and_kconfigs
plugin.installdir, 'lib', 'firmware'))])
File "/usr/lib/python3.5/unittest/mock.py", line 824, in assert_has_calls
) from cause
AssertionError: Calls not found.
Expected: [call(['make', '-j2', 'bzImage', 'modules']), call(['make', '-j2', 'CONFIG_PREFIX=/tmp/tmpg1eqcunb/parts/test-part/install', 'modules_install', 'INSTALL_MOD_PATH=/tmp/tmpg1eqcunb/parts/test-part/install', 'firmware_install', 'INSTALL_FW_PATH=/tmp/tmpg1eqcunb/parts/test-part/install/lib/firmware'])]
Actual: [call(['make', '-j2', 'bzImage', 'modules', 'dtbs']),
call(['make', '-j2', 'CONFIG_PREFIX=/tmp/tmpg1eqcunb/parts/test-part/install', 'modules_install', 'INSTALL_MOD_PATH=/tmp/tmpg1eqcunb/parts/test-part/install', 'dtbs_install', 'INSTALL_DTBS_PATH=/tmp/tmpg1eqcunb/parts/test-part/install/dtbs', 'firmware_install', 'INSTALL_FW_PATH=/tmp/tmpg1eqcunb/parts/test-part/install/lib/firmware'])]
======================================================================
FAIL: test_build_with_kconfigfile_and_modules (snapcraft.tests.plugins.test_kernel.KernelPluginTestCase)
snapcraft.tests.plugins.test_kernel.KernelPluginTestCase.test_build_with_kconfigfile_and_modules
----------------------------------------------------------------------
testtools.testresult.real._StringException: Empty attachments:
pythonlogging:''
Traceback (most recent call last):
File "/tmp/autopkgtest.hRA5Ne/build.yqr/snapcraft/snapcraft/tests/plugins/test_kernel.py", line 690, in test_build_with_kconfigfile_and_modules
plugin.installdir, 'lib', 'firmware'))])
File "/usr/lib/python3.5/unittest/mock.py", line 824, in assert_has_calls
) from cause
AssertionError: Calls not found.
Expected: [call(['make', '-j2', 'bzImage', 'modules']), call(['make', '-j2', 'CONFIG_PREFIX=/tmp/tmpbsopnisr/parts/test-part/install', 'modules_install', 'INSTALL_MOD_PATH=/tmp/tmpbsopnisr/parts/test-part/install', 'firmware_install', 'INSTALL_FW_PATH=/tmp/tmpbsopnisr/parts/test-part/install/lib/firmware'])]
Actual: [call(['make', '-j2', 'bzImage', 'modules', 'dtbs']),
call(['make', '-j2', 'CONFIG_PREFIX=/tmp/tmpbsopnisr/parts/test-part/install', 'modules_install', 'INSTALL_MOD_PATH=/tmp/tmpbsopnisr/parts/test-part/install', 'dtbs_install', 'INSTALL_DTBS_PATH=/tmp/tmpbsopnisr/parts/test-part/install/dtbs', 'firmware_install', 'INSTALL_FW_PATH=/tmp/tmpbsopnisr/parts/test-part/install/lib/firmware'])]
======================================================================
FAIL: test_build_with_kconfigfile_and_no_firmware (snapcraft.tests.plugins.test_kernel.KernelPluginTestCase)
snapcraft.tests.plugins.test_kernel.KernelPluginTestCase.test_build_with_kconfigfile_and_no_firmware
----------------------------------------------------------------------
testtools.testresult.real._StringException: Empty attachments:
pythonlogging:''
Traceback (most recent call last):
File "/tmp/autopkgtest.hRA5Ne/build.yqr/snapcraft/snapcraft/tests/plugins/test_kernel.py", line 783, in test_build_with_kconfigfile_and_no_firmware
'INSTALL_MOD_PATH={}'.format(plugin.installdir)]),
File "/usr/lib/python3.5/unittest/mock.py", line 824, in assert_has_calls
) from cause
AssertionError: Calls not found.
Expected: [call(['make', '-j2', 'bzImage', 'modules']), call(['make', '-j2', 'CONFIG_PREFIX=/tmp/tmpvibvxboz/parts/test-part/install', 'modules_install', 'INSTALL_MOD_PATH=/tmp/tmpvibvxboz/parts/test-part/install'])]
Actual: [call(['make', '-j2', 'bzImage', 'modules', 'dtbs']),
call(['make', '-j2', 'CONFIG_PREFIX=/tmp/tmpvibvxboz/parts/test-part/install', 'modules_install', 'INSTALL_MOD_PATH=/tmp/tmpvibvxboz/parts/test-part/install', 'dtbs_install', 'INSTALL_DTBS_PATH=/tmp/tmpvibvxboz/parts/test-part/install/dtbs'])]
======================================================================
FAIL: test_build_with_two_defconfigs (snapcraft.tests.plugins.test_kernel.KernelPluginTestCase)
snapcraft.tests.plugins.test_kernel.KernelPluginTestCase.test_build_with_two_defconfigs
----------------------------------------------------------------------
testtools.testresult.real._StringException: Empty attachments:
pythonlogging:''
Traceback (most recent call last):
File "/tmp/autopkgtest.hRA5Ne/build.yqr/snapcraft/snapcraft/tests/plugins/test_kernel.py", line 582, in test_build_with_two_defconfigs
plugin.installdir, 'lib', 'firmware'))])
File "/usr/lib/python3.5/unittest/mock.py", line 824, in assert_has_calls
) from cause
AssertionError: Calls not found.
Expected: [call(['make', '-j1', 'defconfig', 'defconfig2']), call(['make', '-j2', 'bzImage', 'modules']), call(['make', '-j2', 'CONFIG_PREFIX=/tmp/tmp26y0z7hv/parts/test-part/install', 'modules_install', 'INSTALL_MOD_PATH=/tmp/tmp26y0z7hv/parts/test-part/install', 'firmware_install', 'INSTALL_FW_PATH=/tmp/tmp26y0z7hv/parts/test-part/install/lib/firmware'])]
Actual: [call(['make', '-j1', 'defconfig', 'defconfig2']),
call(['make', '-j2', 'bzImage', 'modules', 'dtbs']),
call(['make', '-j2', 'CONFIG_PREFIX=/tmp/tmp26y0z7hv/parts/test-part/install', 'modules_install', 'INSTALL_MOD_PATH=/tmp/tmp26y0z7hv/parts/test-part/install', 'dtbs_install', 'INSTALL_DTBS_PATH=/tmp/tmp26y0z7hv/parts/test-part/install/dtbs', 'firmware_install', 'INSTALL_FW_PATH=/tmp/tmp26y0z7hv/parts/test-part/install/lib/firmware'])]
Setting priority to critical because this will block landings to the archive.