group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #04890
[Bug 1589779] Re: snap tests fail when executed in a platform that's not amd64
This bug was fixed in the package snapcraft - 2.11
---------------
snapcraft (2.11) xenial; urgency=medium
[ Leo Arias ]
* Make the lxd unit test pass in architectures other than amd64. (#552)
(LP: #1589747)
* Support running the snaps tests in multiple architectures (#554)
(LP: #1589779)
* Make the IsDirty unit test case pass in architectures other than
amd64. (#553) (LP: #1589752)
[ Didier Roche ]
* Reenable get and set tourdir unit tests (#551) (LP: #1589782)
* Add finale tour examples and tests (#558) (LP: #1590903)
* Reenable tour command (#559) (LP: #1590906)
[ Sergio Schvezov ]
* Fix or address lintian errors and warnings (#561) (LP: #1588980)
-- Sergio Schvezov <sergio.schvezov@xxxxxxxxxx> Thu, 09 Jun 2016
18:46:22 -0300
** Changed in: snapcraft (Ubuntu Xenial)
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 Committed
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