======================================================================
ERROR: test_snap (test_snap.SnapTestCase)
test_snap.SnapTestCase.test_snap
----------------------------------------------------------------------
testtools.testresult.real._StringException: Traceback (most recent call last):
File "/tmp/adt-run.P9uO28/build.8Gs/snapcraft-2.2/integration_tests/test_snap.py", line 51, in test_snap
snap_file_path = 'assemble_1.0_{}.snap'.format(_get_deb_arch())
File "/tmp/adt-run.P9uO28/build.8Gs/snapcraft-2.2/integration_tests/test_snap.py", line 32, in _get_deb_arch
return _run_dpkg_architecture('-qDEB_BUILD_ARCH')
File "/tmp/adt-run.P9uO28/build.8Gs/snapcraft-2.2/integration_tests/test_snap.py", line 41, in _run_dpkg_architecture
['dpkg-architecture', arg], universal_newlines=True).strip()
File "/usr/lib/python3.5/subprocess.py", line 626, in check_output
**kwargs).stdout
File "/usr/lib/python3.5/subprocess.py", line 693, in run
with Popen(*popenargs, **kwargs) as process:
File "/usr/lib/python3.5/subprocess.py", line 947, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.5/subprocess.py", line 1541, in _execute_child
raise child_exception_type(errno_num, err_msg)
FileNotFoundError: [Errno 2] No such file or directory: 'dpkg-architecture'
https:/ /github. com/ubuntu- core/snapcraft/ pull/314