group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #04906
[Bug 1589779] Re: snap tests fail when executed in a platform that's not amd64
** Changed in: snapcraft
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1589779
Title:
snap tests fail when executed in a platform that's not amd64
Status in Snapcraft:
Fix Released
Status in snapcraft package in Ubuntu:
New
Status in snapcraft source package in Xenial:
Fix Released
Status in snapcraft source package in Yakkety:
New
Bug description:
The snaps test suite hardcodes amd64 in the expected snap name, so
when it is run in a different architecture it will fail.
ERROR: demos_tests.test_busybox.BusyBoxTestCase.test_busybox
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/adt-run.SFkaMi/build.WRd/real-tree/snaps_tests/demos_tests/test_busybox.py", line 26, in test_busybox
self.install_snap(self.snap_content_dir, 'busybox', '1.0')
File "/tmp/adt-run.SFkaMi/build.WRd/real-tree/snaps_tests/__init__.py", line 156, in install_snap
self.snappy_testbed.copy_file(snap_local_path, '/home/ubuntu')
File "/tmp/adt-run.SFkaMi/build.WRd/real-tree/snaps_tests/testbed.py", line 55, in copy_file
shutil.copy(src, dst)
File "/usr/lib/python3.5/shutil.py", line 235, in copy
copyfile(src, dst, follow_symlinks=follow_symlinks)
File "/usr/lib/python3.5/shutil.py", line 114, in copyfile
with open(src, 'rb') as fsrc:
FileNotFoundError: [Errno 2] No such file or directory: 'demos/busybox/busybox_1.0_amd64.snap'
[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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/snapcraft/+bug/1589779/+subscriptions