Linaro ubuntu-desktop rootfs fails to build with software-center from Ubuntu

Bug #1009838 reported by Botao
34
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Linaro CI
Fix Released
Critical
Fathi Boudra
Linaro Ubuntu
Fix Released
Critical
Fathi Boudra

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.

Revision history for this message
Botao (botao-sun) wrote :

Observed on LAVA job:

http://validation.linaro.org/lava-server/scheduler/job/21402

For Snowball board.

Revision history for this message
Fathi Boudra (fboudra) wrote : Re: [Bug 1009838] [NEW] Linaro ubuntu rootfs download failed by LAVA.

The file isn't available. It seems an issue with CI.

affects: linaro-ubuntu → linaro-ci
Changed in linaro-ci:
assignee: nobody → Fathi Boudra (fboudra)
milestone: none → 2012.06
importance: Undecided → Critical
status: New → Triaged
Revision history for this message
Fathi Boudra (fboudra) wrote : Re: Linaro ubuntu rootfs download failed by LAVA.

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.

Changed in linaro-ubuntu:
status: New → Triaged
importance: Undecided → Critical
assignee: nobody → Fathi Boudra (fboudra)
milestone: none → 12.06
summary: - Linaro ubuntu rootfs download failed by LAVA.
+ Linaro ubuntu-desktop rootfs fails to build with software-center from
+ Ubuntu
Revision history for this message
Deepti B. Kalakeri (deeptik) wrote : Re: [Bug 1009838] Re: Linaro ubuntu rootfs download failed by LAVA.
Download full text (4.3 KiB)

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
...

Read more...

Fathi Boudra (fboudra)
Changed in linaro-ci:
status: Triaged → Fix Committed
Changed in linaro-ubuntu:
status: Triaged → Fix Committed
Fathi Boudra (fboudra)
Changed in linaro-ubuntu:
status: Fix Committed → Fix Released
Revision history for this message
Paul Sokolovsky (pfalcon) wrote :

This was set as Fix Released in linaro-ubuntu by Fathi almost a month ago, closing in linaro-ci.

Changed in linaro-ci:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.