Regular problem with "apt-get install default-jre" on both oneiric_cloud and precise_cloud

Bug #962014 reported by Paul Sokolovsky
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro CI
Fix Released
High
Deepti B. Kalakeri

Bug Description

It's observed for more than a week, and spotted for both precise_cloud slaves (subjectively happens more frequently), and precise_cloud. E.g.:

https://ci.linaro.org/jenkins/computer/i-81cd9be5/log (will likely become unavailable as URL later, but accessible on FS):

Get:49 http://archive.ubuntu.com oneiric-updates/restricted Translation-en [508 B]
Get:50 http://archive.ubuntu.com oneiric-updates/universe Translation-en [62.9 kB]
Fetched 17.1 MB in 11s (1517 kB/s)
Reading package lists...
+ apt-get install --force-yes -y default-jre
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package default-jre
Verifying that java exists
bash: java: command not found

Revision history for this message
Paul Sokolovsky (pfalcon) wrote :

https://ci.linaro.org/jenkins/computer/i-911041f5/log

Get:33 http://archive.ubuntu.com precise-updates/restricted Translation-en [14 B]
Get:34 http://archive.ubuntu.com precise-updates/universe Translation-en [14 B]
Fetched 16.8 MB in 8s (2072 kB/s)
Reading package lists...
+ apt-get install --force-yes -y default-jre
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package default-jre
Verifying that java exists
bash: java: command not found

Changed in linaro-ci:
importance: Undecided → High
assignee: nobody → Paul Sokolovsky (pfalcon)
status: New → Confirmed
milestone: none → 2012.03
Revision history for this message
Paul Sokolovsky (pfalcon) wrote :

I logged in into such broken instance, tried "apt-get install default-jre", it failed as in log. Tried "apt-get update", it finished with

Fetched 22 MB in 8s (2072 kB/s)

So, it appears that apt-get update may not pick up some repos on the first run. Suggested workaround is to run it twice (with small delay inbetween),

Revision history for this message
Paul Sokolovsky (pfalcon) wrote :

This of course leaves question open why it at all goes to http://archive.ubuntu.com , instead of EC2 mirror (and I saw both of them used!)

Revision history for this message
Paul Sokolovsky (pfalcon) wrote :

Added:

sleep 2
apt-get update

for both oneiric_cloud and precise_cloud, let's see how it goes.

Revision history for this message
Paul Sokolovsky (pfalcon) wrote :

I didn't see big issues since that.

Changed in linaro-ci:
status: Confirmed → Fix Committed
Revision history for this message
Paul Sokolovsky (pfalcon) wrote :

Well, not quite fixed. Today a new wave of broken slaves, this time it more reminds of the issues happened on android-build:

https://ci.linaro.org/jenkins/computer/i-9e2732fa/log

Hit http://security.ubuntu.com precise-security/universe Translation-en
Fetched 5,995 kB in 2s (2,745 kB/s)
W: Failed to fetch bzip2:/var/lib/apt/lists/partial/us-east-1.ec2.archive.ubuntu.com_ubuntu_dists_precise_main_source_Sources Hash Sum mismatch

W: Failed to fetch bzip2:/var/lib/apt/lists/partial/us-east-1.ec2.archive.ubuntu.com_ubuntu_dists_precise_universe_source_Sources Hash Sum mismatch

E: Some index files failed to download. They have been ignored, or old ones used instead.

https://ci.linaro.org/jenkins/computer/i-982732fc/log

Hit http://security.ubuntu.com precise-security/universe Translation-en
Fetched 5,995 kB in 2s (2,244 kB/s)
W: Failed to fetch bzip2:/var/lib/apt/lists/partial/us-east-1.ec2.archive.ubuntu.com_ubuntu_dists_precise_main_source_Sources Hash Sum mismatch

W: Failed to fetch bzip2:/var/lib/apt/lists/partial/us-east-1.ec2.archive.ubuntu.com_ubuntu_dists_precise_universe_source_Sources Hash Sum mismatch

E: Some index files failed to download. They have been ignored, or old ones used instead.

https://ci.linaro.org/jenkins/computer/i-a4d4c1c0/log

Hit http://security.ubuntu.com precise-security/universe Translation-en
Fetched 5,995 kB in 2s (2,072 kB/s)
W: Failed to fetch bzip2:/var/lib/apt/lists/partial/us-east-1.ec2.archive.ubuntu.com_ubuntu_dists_precise_main_source_Sources Hash Sum mismatch

W: Failed to fetch bzip2:/var/lib/apt/lists/partial/us-east-1.ec2.archive.ubuntu.com_ubuntu_dists_precise_universe_source_Sources Hash Sum mismatch

E: Some index files failed to download. They have been ignored, or old ones used instead.

Changed in linaro-ci:
status: Fix Committed → Confirmed
David Zinman (dzinman)
Changed in linaro-ci:
milestone: 2012.03 → 2012.04
Revision history for this message
Tran Van (quannv-vp) wrote :

Fetched 12,3 MB in 1min 54s (108 kB/s)
W: Failed to fetch bzip2:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_precise_main_source_Sources Hash Sum mismatch

W: Failed to fetch bzip2:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_precise_universe_binary-i386_Packages Hash Sum mismatch

How to fix that issue?

Revision history for this message
Paul Sokolovsky (pfalcon) wrote :

Unassigning from myself, someone from maintenance subteam, or maybe Deepti should look into this.

Changed in linaro-ci:
assignee: Paul Sokolovsky (pfalcon) → nobody
David Zinman (dzinman)
Changed in linaro-ci:
milestone: 2012.04 → 2012.05
Changed in linaro-ci:
assignee: nobody → Deepti B. Kalakeri (deeptik)
Revision history for this message
Deepti B. Kalakeri (deeptik) wrote :

I have not seen the E: Unable to locate package default-jre error after May15th.
Paul/Fathi,
Have you seen this lately ? Please point me the slave log which has this error if any.

Changed in linaro-ci:
milestone: 2012.05 → 2012.06
Revision history for this message
Fathi Boudra (fboudra) wrote : Re: [Bug 962014] Re: Regular problem with "apt-get install default-jre" on both oneiric_cloud and precise_cloud

On 31 May 2012 15:45, Deepti B. Kalakeri wrote:
> I have not seen the E: Unable to locate package default-jre error after May15th.
> Paul/Fathi,
> Have you seen this lately ? Please point me the slave log which has this error if any.

I haven't seen the issue recently (since we refactored init script to use fifo)

Revision history for this message
Deepti B. Kalakeri (deeptik) wrote :

I have not seen this error for almost a month now, hence closing this bug.
We can re open the bug, if the problem re occurs.

Thanks!!!
Deepti.

Changed in linaro-ci:
status: Confirmed → Fix Committed
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.

Other bug subscribers

Remote bug watches

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