Comment 42 for bug 932088

Revision history for this message
Deepti B. Kalakeri (deeptik) wrote : Re: [Bug 932088] Re: Ubuntu EC2 package mirror intermitent failures

On Wed, Apr 25, 2012 at 8:15 PM, Ben Howard <email address hidden>wrote:

> Deepti...you are using the S3 bucket of:
> us-east-1.ec2.us-east-1.ec2.archive.ubuntu.com.s3.amazonaws.com
>
> Which should be:
> us-east-1.ec2.archive.ubuntu.com.s3.amazonaws.com
>
> Note the extra "us-east-1.ec2." in the URL's from the error logs. If you
> remove that, it should work for you.
>

Right, that is what I pointed in the comment #35.
This appears sometimes(intermittenlty) and when that appears it is obvious
it fails.
Do you know why we should get this malformed sometimes and not always.

> --
> You received this bug notification because you are subscribed to Linaro
> CI.
> https://bugs.launchpad.net/bugs/932088
>
> Title:
> Ubuntu EC2 package mirror intermitent failures
>
> Status in Linaro Android Infrastructure:
> In Progress
> Status in Linaro Continuous Integration:
> New
> Status in Ubuntu:
> Confirmed
>
> Bug description:
> Not too frequent, but regularly (say, once a month) https://android-
> build.linaro.org/ service, which is Jenkins with EC2 slaves, gets
> failures when initializing EC2 instances, which involves installing
> packages.
>
> The log looks like:
> Connecting to ec2-23-20-20-233.compute-1.amazonaws.com on port 22.
> Waiting for SSH to come up. Sleeping 5.
> Connecting to ec2-23-20-20-233.compute-1.amazonaws.com on port 22.
> Connected via SSH.
> Authenticating as ubuntu
> Connecting to ec2-23-20-20-233.compute-1.amazonaws.com on port 22.
> Connected via SSH.
> Executing init script
> + apt-get update
> Ign http://security.ubuntu.com natty-security InRelease
> Get:1 http://security.ubuntu.com natty-security Release.gpg [198 B]
> Get:2 http://security.ubuntu.com natty-security Release [39.8 kB]
> Ign http://us-east-1.ec2.archive.ubuntu.com natty InRelease
> Ign http://us-east-1.ec2.archive.ubuntu.com natty-updates InRelease
> Ign http://us-east-1.ec2.archive.ubuntu.com natty Release.gpg
> Ign http://us-east-1.ec2.archive.ubuntu.com natty-updates Release.gpg
> Ign http://us-east-1.ec2.archive.ubuntu.com natty Release
> Ign http://us-east-1.ec2.archive.ubuntu.com natty-updates Release
> Ign http://us-east-1.ec2.archive.ubuntu.com natty/main amd64
> Packages/DiffIndex
> Ign http://us-east-1.ec2.archive.ubuntu.com natty/universe amd64
> Packages/DiffIndex
> Ign http://us-east-1.ec2.archive.ubuntu.com natty/main TranslationIndex
> Ign http://us-east-1.ec2.archive.ubuntu.com natty/universe
> TranslationIndex
> Ign http://us-east-1.ec2.archive.ubuntu.com natty-updates/main amd64
> Packages/DiffIndex
> Ign http://us-east-1.ec2.archive.ubuntu.com natty-updates/universe amd64
> Packages/DiffIndex
> Ign http://us-east-1.ec2.archive.ubuntu.com natty-updates/main
> TranslationIndex
> Ign http://us-east-1.ec2.archive.ubuntu.com natty-updates/universe
> TranslationIndex
> Err http://us-east-1.ec2.archive.ubuntu.com natty/main Sources
> 403 Forbidden [IP: 10.210.205.172 80]
> Err http://us-east-1.ec2.archive.ubuntu.com natty/universe Sources
> 403 Forbidden [IP: 10.210.205.172 80]
> ...
>
>
> Trying to access a specific file manually shows that there're
> interleaving 404 and 403 responses for it (the file indeed doesn't exists).
> And generally situation look like 403 is being intermittently returned for
> any url (be it 200 or 404 one).
>
> ubuntu@ip-10-243-34-224:~$ wget
> http://us-east-1.ec2.archive.ubuntu.com/ubuntu/dists/natty/main/source/Sources
> --2012-02-14 13:42:12--
> http://us-east-1.ec2.archive.ubuntu.com/ubuntu/dists/natty/main/source/Sources
> Resolving us-east-1.ec2.archive.ubuntu.com... 10.250.142.223,
> 10.252.111.96, 10.202.26.15, ...
> Connecting to us-east-1.ec2.archive.ubuntu.com|10.250.142.223|:80...
> connected.
> HTTP request sent, awaiting response... 404 Not Found
> 2012-02-14 13:42:12 ERROR 404: Not Found.
>
> ubuntu@ip-10-243-34-224:~$ wget
> http://us-east-1.ec2.archive.ubuntu.com/ubuntu/dists/natty/main/source/Sources
> --2012-02-14 13:42:14--
> http://us-east-1.ec2.archive.ubuntu.com/ubuntu/dists/natty/main/source/Sources
> Resolving us-east-1.ec2.archive.ubuntu.com... 10.210.205.172,
> 10.250.142.223, 10.252.111.96, ...
> Connecting to us-east-1.ec2.archive.ubuntu.com|10.210.205.172|:80...
> connected.
> HTTP request sent, awaiting response... 403 Forbidden
> 2012-02-14 13:42:14 ERROR 403: Forbidden.
>
> ubuntu@ip-10-243-34-224:~$ wget
> http://us-east-1.ec2.archive.ubuntu.com/ubuntu/dists/natty/main/source/Sources
> --2012-02-14 13:42:16--
> http://us-east-1.ec2.archive.ubuntu.com/ubuntu/dists/natty/main/source/Sources
> Resolving us-east-1.ec2.archive.ubuntu.com... 10.202.26.15,
> 10.210.205.172, 10.250.142.223, ...
> Connecting to us-east-1.ec2.archive.ubuntu.com|10.202.26.15|:80...
> connected.
> HTTP request sent, awaiting response... 404 Not Found
> 2012-02-14 13:42:16 ERROR 404: Not Found.
>
> ubuntu@ip-10-243-34-224:~$ wget
> http://us-east-1.ec2.archive.ubuntu.com/ubuntu/dists/natty/main/source/Sources
> --2012-02-14 13:42:17--
> http://us-east-1.ec2.archive.ubuntu.com/ubuntu/dists/natty/main/source/Sources
> Resolving us-east-1.ec2.archive.ubuntu.com... 10.252.111.96,
> 10.202.26.15, 10.210.205.172, ...
> Connecting to us-east-1.ec2.archive.ubuntu.com|10.252.111.96|:80...
> connected.
> HTTP request sent, awaiting response... 404 Not Found
> 2012-02-14 13:42:17 ERROR 404: Not Found.
>
> ubuntu@ip-10-243-34-224:~$ wget
> http://us-east-1.ec2.archive.ubuntu.com/ubuntu/dists/natty/main/source/Sources
> --2012-02-14 13:42:18--
> http://us-east-1.ec2.archive.ubuntu.com/ubuntu/dists/natty/main/source/Sources
> Resolving us-east-1.ec2.archive.ubuntu.com... 10.250.142.223,
> 10.252.111.96, 10.202.26.15, ...
> Connecting to us-east-1.ec2.archive.ubuntu.com|10.250.142.223|:80...
> connected.
> HTTP request sent, awaiting response... 404 Not Found
> 2012-02-14 13:42:18 ERROR 404: Not Found.
>
> ubuntu@ip-10-243-34-224:~$ wget
> http://us-east-1.ec2.archive.ubuntu.com/ubuntu/dists/natty/main/source/Sources
> --2012-02-14 13:42:19--
> http://us-east-1.ec2.archive.ubuntu.com/ubuntu/dists/natty/main/source/Sources
> Resolving us-east-1.ec2.archive.ubuntu.com... 10.210.205.172,
> 10.250.142.223, 10.252.111.96, ...
> Connecting to us-east-1.ec2.archive.ubuntu.com|10.210.205.172|:80...
> connected.
> HTTP request sent, awaiting response... 403 Forbidden
> 2012-02-14 13:42:19 ERROR 403: Forbidden.
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/linaro-android-infrastructure/+bug/932088/+subscriptions
>

--
Thanks and Regards,
Deepti