Comment 4 for bug 1009838

Revision history for this message
Deepti B. Kalakeri (deeptik) wrote : Re: [Bug 1009838] Re: Linaro ubuntu rootfs download failed by LAVA.

On Thu, Jun 7, 2012 at 11:53 AM, Fathi Boudra <email address hidden>wrote:

> It happens since build 194. The build fails with:
> ERROR:root:DebFileApplication import
> Traceback (most recent call last):
> File "/usr/share/software-center/softwarecenter/db/__init__.py", line 3,
> in <module>
> from debfile import DebFileApplication
> File "/usr/share/software-center/softwarecenter/db/debfile.py", line 25,
> in <module>
> from softwarecenter.db.application import Application, AppDetails
> File "/usr/share/software-center/softwarecenter/db/application.py", line
> 28, in <module>
> from softwarecenter.backend.channel import is_channel_available
> File "/usr/share/software-center/softwarecenter/backend/channel.py", line
> 25, in <module>
> from softwarecenter.distro import get_distro
> File "/usr/share/software-center/softwarecenter/distro/__init__.py", line
> 194, in <module>
> distro_instance = _get_distro()
> File "/usr/share/software-center/softwarecenter/distro/__init__.py", line
> 169, in _get_distro
> module = __import__(distro_id, globals(), locals(), [], -1)
> ImportError: No module named Linaro
> Traceback (most recent call last):
> File "/usr/sbin/update-apt-xapian-index", line 101, in <module>
> if not indexer.setupIndexing(force=opts.force, system=opts.pkgfile is
> None):
> File "/usr/lib/python2.7/dist-packages/axi/indexer.py", line 466, in
> setupIndexing
> self.plugins = Plugins(progress=self.progress, system=system)
> File "/usr/lib/python2.7/dist-packages/axi/indexer.py", line 89, in
> __init__
> addon = Addon(fullname, **kw)
> File "/usr/lib/python2.7/dist-packages/axi/indexer.py", line 49, in
> __init__
> self.module = imp.load_source("axi.plugin_" + self.name, fname)
> File "/usr/share/apt-xapian-index/plugins/software-center.py", line 13,
> in <module>
> from softwarecenter.db.update import index_name
> File "/usr/share/software-center/softwarecenter/db/update.py", line 33,
> in <module>
> from softwarecenter.distro import get_distro
> File "/usr/share/software-center/softwarecenter/distro/__init__.py", line
> 194, in <module>
> distro_instance = _get_distro()
> File "/usr/share/software-center/softwarecenter/distro/__init__.py", line
> 169, in _get_distro
> module = __import__(distro_id, globals(), locals(), [], -1)
> ImportError: No module named Linaro
>
> software-center has received an update and doesn't pull linaro version,
> causing the build failure.
>

In that case, the build jobs should have given notification of the failure
instead of going ahead and succeeding.
This error comes from make, we should resort to the conditional execution
and also include "set - e" debug statement in the Jobs Execute shell.
Also, it would be good to include all these commands in a script and just
run the script.

>
> ** Also affects: linaro-ubuntu
> Importance: Undecided
> Status: New
>
> ** Changed in: linaro-ubuntu
> Status: New => Triaged
>
> ** Changed in: linaro-ubuntu
> Importance: Undecided => Critical
>
> ** Changed in: linaro-ubuntu
> Assignee: (unassigned) => Fathi Boudra (fboudra)
>
> ** Changed in: linaro-ubuntu
> Milestone: None => 12.06
>
> ** Summary changed:
>
> - Linaro ubuntu rootfs download failed by LAVA.
> + Linaro ubuntu-desktop rootfs fails to build with software-center from
> Ubuntu
>
> --
> You received this bug notification because you are subscribed to Linaro
> CI.
> https://bugs.launchpad.net/bugs/1009838
>
> Title:
> Linaro ubuntu-desktop rootfs fails to build with software-center from
> Ubuntu
>
> Status in Linaro Continuous Integration:
> Triaged
> Status in Linaro Ubuntu Evaluation Builds:
> Triaged
>
> Bug description:
> On LAVA job:
>
> http://validation.linaro.org/lava-server/scheduler/job/21400/
>
> The Linaro ubuntu rootfs download failed:
>
> http://validation.linaro.org/lava-server/scheduler/job/21400/log_file
>
> <LAVA_DISPATCHER>2012-06-05 10:04:13 AM ERROR: download
> 'http://snapshots.linaro.org/precise/images/ubuntu-desktop/200/linaro-
> precise-ubuntu-desktop-20120605-200.tar.gz' failed
>
> Therefore, it blocks all tests after that. I also tried to access this
> link in my browser, it shows 404 Not Found.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/linaro-ci/+bug/1009838/+subscriptions
>

--
Thanks and Regards,
Deepti