You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Jason Dillon <ja...@planet57.com> on 2007/01/26 08:39:46 UTC

Weird artifact downloads from mvn

Anyone seeing weird artifact downloads, like:

<snip>
Downloading: http://repository.codehaus.org/junit/junit/3.8.1/ 
junit-3.8.1.jar
897b downloaded
[WARNING] *** CHECKSUM FAILED - Error retrieving checksum file for  
junit/junit/3.8.1/junit-3.8.1.jar - IGNORING
</snip>

This was from a build of server/branches/1.2...

And it should not have downloaded junit from the codehaus, but should  
have gotten this from central.  And for some reason whatever it  
downloaded from the 'haus was corrupt, or was corrupted when  
downloading.

Looks like these files contain something like:

----8<----
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head>
   <title>Index of /</title>
</head>
<body>
<h1>Index of /</h1>
<pre><img src="/icons/blank.gif" alt="Icon "> <a href="? 
C=N;O=D">Name</a>                    <a href="?C=M;O=A">Last  
modified</a>      <a href="?C=S;O=A">Size</a>  <a href="? 
C=D;O=A">Description</a><hr><img src="/icons/folder.gif" alt="[DIR]">  
<a href="com/">com/</a>                    04-Aug-2006 13:55    -
<img src="/icons/folder.gif" alt="[DIR]"> <a href="net/">net/</ 
a>                    24-Jul-2006 00:46    -
<img src="/icons/folder.gif" alt="[DIR]"> <a href="org/">org/</ 
a>                    23-Jan-2007 06:10    -
<img src="/icons/folder.gif" alt="[DIR]"> <a href="xstream/">xstream/ 
</a>                27-Nov-2006 15:45    -
<hr></pre>
<address>Apache/2.0.52 (Red Hat) Server at repository.codehaus.org  
Port 80</address>
</body></html>
---->8----

The above is for:

<snip>
Downloading: http://repository.codehaus.org/org/apache/geronimo/specs/ 
geronimo-j2ee-connector_1.5_spec/1.1/geronimo-j2ee- 
connector_1.5_spec-1.1.jar
897b downloaded
[WARNING] *** CHECKSUM FAILED - Error retrieving checksum file for  
org/apache/geronimo/specs/geronimo-j2ee-connector_1.5_spec/1.1/ 
geronimo-j2ee-connector_1.5_spec-1.1.jar - IGNORING
</snip>

But I suspect that all of these ~ 897b downloaded jars are about the  
same.

  * * *

This seems to be new behavior, or at least its starting to fail more  
an more.  Anyone else seeing similar strange mvn artifact downloads?

--jason

Re: Weird artifact downloads from mvn

Posted by Jason Dillon <ja...@planet57.com>.
This has been resolved, at least for now.  The 'haus folks setup an  
automatic redirect from repository.codehaus.org to ibibilo, but  
sometimes for an unknown reason, instead of redirecting to the  
mirror, some hits would redirect to "/", which could cause the  
problem below.

I talked to Ben yesterday for a little bit and he turned off the  
automatic redirect for the time being.  I believe he also found some  
logs showing the redirect to "/" too.

Since repository.codehaus.org gets mirrored to central and then to  
mirrors, I'm going to start removing references to  
repository.codehaus.org in our pom configurations.

--jason


On Jan 26, 2007, at 5:27 PM, Brett Porter wrote:

> Codehaus have recently changed some config - better check with them.
>
> On 26/01/2007, at 6:39 PM, Jason Dillon wrote:
>
>> Anyone seeing weird artifact downloads, like:
>>
>> <snip>
>> Downloading: http://repository.codehaus.org/junit/junit/3.8.1/ 
>> junit-3.8.1.jar
>> 897b downloaded
>> [WARNING] *** CHECKSUM FAILED - Error retrieving checksum file for  
>> junit/junit/3.8.1/junit-3.8.1.jar - IGNORING
>> </snip>
>>
>> This was from a build of server/branches/1.2...
>>
>> And it should not have downloaded junit from the codehaus, but  
>> should have gotten this from central.  And for some reason  
>> whatever it downloaded from the 'haus was corrupt, or was  
>> corrupted when downloading.
>>
>> Looks like these files contain something like:
>>
>> ----8<----
>> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
>> <html>
>> <head>
>>   <title>Index of /</title>
>> </head>
>> <body>
>> <h1>Index of /</h1>
>> <pre><img src="/icons/blank.gif" alt="Icon "> <a href="? 
>> C=N;O=D">Name</a>                    <a href="?C=M;O=A">Last  
>> modified</a>      <a href="?C=S;O=A">Size</a>  <a href="? 
>> C=D;O=A">Description</a><hr><img src="/icons/folder.gif"  
>> alt="[DIR]"> <a href="com/">com/</a>                    04- 
>> Aug-2006 13:55    -
>> <img src="/icons/folder.gif" alt="[DIR]"> <a href="net/">net/</ 
>> a>                    24-Jul-2006 00:46    -
>> <img src="/icons/folder.gif" alt="[DIR]"> <a href="org/">org/</ 
>> a>                    23-Jan-2007 06:10    -
>> <img src="/icons/folder.gif" alt="[DIR]"> <a  
>> href="xstream/">xstream/</a>                27-Nov-2006 15:45    -
>> <hr></pre>
>> <address>Apache/2.0.52 (Red Hat) Server at repository.codehaus.org  
>> Port 80</address>
>> </body></html>
>> ---->8----
>>
>> The above is for:
>>
>> <snip>
>> Downloading: http://repository.codehaus.org/org/apache/geronimo/ 
>> specs/geronimo-j2ee-connector_1.5_spec/1.1/geronimo-j2ee- 
>> connector_1.5_spec-1.1.jar
>> 897b downloaded
>> [WARNING] *** CHECKSUM FAILED - Error retrieving checksum file for  
>> org/apache/geronimo/specs/geronimo-j2ee-connector_1.5_spec/1.1/ 
>> geronimo-j2ee-connector_1.5_spec-1.1.jar - IGNORING
>> </snip>
>>
>> But I suspect that all of these ~ 897b downloaded jars are about  
>> the same.
>>
>>  * * *
>>
>> This seems to be new behavior, or at least its starting to fail  
>> more an more.  Anyone else seeing similar strange mvn artifact  
>> downloads?
>>
>> --jason
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>> For additional commands, e-mail: dev-help@maven.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: Weird artifact downloads from mvn

Posted by Jason Dillon <ja...@planet57.com>.
This has been resolved, at least for now.  The 'haus folks setup an  
automatic redirect from repository.codehaus.org to ibibilo, but  
sometimes for an unknown reason, instead of redirecting to the  
mirror, some hits would redirect to "/", which could cause the  
problem below.

I talked to Ben yesterday for a little bit and he turned off the  
automatic redirect for the time being.  I believe he also found some  
logs showing the redirect to "/" too.

Since repository.codehaus.org gets mirrored to central and then to  
mirrors, I'm going to start removing references to  
repository.codehaus.org in our pom configurations.

--jason


On Jan 26, 2007, at 5:27 PM, Brett Porter wrote:

> Codehaus have recently changed some config - better check with them.
>
> On 26/01/2007, at 6:39 PM, Jason Dillon wrote:
>
>> Anyone seeing weird artifact downloads, like:
>>
>> <snip>
>> Downloading: http://repository.codehaus.org/junit/junit/3.8.1/ 
>> junit-3.8.1.jar
>> 897b downloaded
>> [WARNING] *** CHECKSUM FAILED - Error retrieving checksum file for  
>> junit/junit/3.8.1/junit-3.8.1.jar - IGNORING
>> </snip>
>>
>> This was from a build of server/branches/1.2...
>>
>> And it should not have downloaded junit from the codehaus, but  
>> should have gotten this from central.  And for some reason  
>> whatever it downloaded from the 'haus was corrupt, or was  
>> corrupted when downloading.
>>
>> Looks like these files contain something like:
>>
>> ----8<----
>> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
>> <html>
>> <head>
>>   <title>Index of /</title>
>> </head>
>> <body>
>> <h1>Index of /</h1>
>> <pre><img src="/icons/blank.gif" alt="Icon "> <a href="? 
>> C=N;O=D">Name</a>                    <a href="?C=M;O=A">Last  
>> modified</a>      <a href="?C=S;O=A">Size</a>  <a href="? 
>> C=D;O=A">Description</a><hr><img src="/icons/folder.gif"  
>> alt="[DIR]"> <a href="com/">com/</a>                    04- 
>> Aug-2006 13:55    -
>> <img src="/icons/folder.gif" alt="[DIR]"> <a href="net/">net/</ 
>> a>                    24-Jul-2006 00:46    -
>> <img src="/icons/folder.gif" alt="[DIR]"> <a href="org/">org/</ 
>> a>                    23-Jan-2007 06:10    -
>> <img src="/icons/folder.gif" alt="[DIR]"> <a  
>> href="xstream/">xstream/</a>                27-Nov-2006 15:45    -
>> <hr></pre>
>> <address>Apache/2.0.52 (Red Hat) Server at repository.codehaus.org  
>> Port 80</address>
>> </body></html>
>> ---->8----
>>
>> The above is for:
>>
>> <snip>
>> Downloading: http://repository.codehaus.org/org/apache/geronimo/ 
>> specs/geronimo-j2ee-connector_1.5_spec/1.1/geronimo-j2ee- 
>> connector_1.5_spec-1.1.jar
>> 897b downloaded
>> [WARNING] *** CHECKSUM FAILED - Error retrieving checksum file for  
>> org/apache/geronimo/specs/geronimo-j2ee-connector_1.5_spec/1.1/ 
>> geronimo-j2ee-connector_1.5_spec-1.1.jar - IGNORING
>> </snip>
>>
>> But I suspect that all of these ~ 897b downloaded jars are about  
>> the same.
>>
>>  * * *
>>
>> This seems to be new behavior, or at least its starting to fail  
>> more an more.  Anyone else seeing similar strange mvn artifact  
>> downloads?
>>
>> --jason
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>> For additional commands, e-mail: dev-help@maven.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>


Re: Weird artifact downloads from mvn

Posted by Brett Porter <br...@apache.org>.
Codehaus have recently changed some config - better check with them.

On 26/01/2007, at 6:39 PM, Jason Dillon wrote:

> Anyone seeing weird artifact downloads, like:
>
> <snip>
> Downloading: http://repository.codehaus.org/junit/junit/3.8.1/ 
> junit-3.8.1.jar
> 897b downloaded
> [WARNING] *** CHECKSUM FAILED - Error retrieving checksum file for  
> junit/junit/3.8.1/junit-3.8.1.jar - IGNORING
> </snip>
>
> This was from a build of server/branches/1.2...
>
> And it should not have downloaded junit from the codehaus, but  
> should have gotten this from central.  And for some reason whatever  
> it downloaded from the 'haus was corrupt, or was corrupted when  
> downloading.
>
> Looks like these files contain something like:
>
> ----8<----
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
> <html>
> <head>
>   <title>Index of /</title>
> </head>
> <body>
> <h1>Index of /</h1>
> <pre><img src="/icons/blank.gif" alt="Icon "> <a href="? 
> C=N;O=D">Name</a>                    <a href="?C=M;O=A">Last  
> modified</a>      <a href="?C=S;O=A">Size</a>  <a href="? 
> C=D;O=A">Description</a><hr><img src="/icons/folder.gif"  
> alt="[DIR]"> <a href="com/">com/</a>                    04-Aug-2006  
> 13:55    -
> <img src="/icons/folder.gif" alt="[DIR]"> <a href="net/">net/</ 
> a>                    24-Jul-2006 00:46    -
> <img src="/icons/folder.gif" alt="[DIR]"> <a href="org/">org/</ 
> a>                    23-Jan-2007 06:10    -
> <img src="/icons/folder.gif" alt="[DIR]"> <a  
> href="xstream/">xstream/</a>                27-Nov-2006 15:45    -
> <hr></pre>
> <address>Apache/2.0.52 (Red Hat) Server at repository.codehaus.org  
> Port 80</address>
> </body></html>
> ---->8----
>
> The above is for:
>
> <snip>
> Downloading: http://repository.codehaus.org/org/apache/geronimo/ 
> specs/geronimo-j2ee-connector_1.5_spec/1.1/geronimo-j2ee- 
> connector_1.5_spec-1.1.jar
> 897b downloaded
> [WARNING] *** CHECKSUM FAILED - Error retrieving checksum file for  
> org/apache/geronimo/specs/geronimo-j2ee-connector_1.5_spec/1.1/ 
> geronimo-j2ee-connector_1.5_spec-1.1.jar - IGNORING
> </snip>
>
> But I suspect that all of these ~ 897b downloaded jars are about  
> the same.
>
>  * * *
>
> This seems to be new behavior, or at least its starting to fail  
> more an more.  Anyone else seeing similar strange mvn artifact  
> downloads?
>
> --jason
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: Weird artifact downloads from mvn

Posted by Kevan Miller <ke...@gmail.com>.
On Jan 26, 2007, at 2:39 AM, Jason Dillon wrote:

> Anyone seeing weird artifact downloads, like:
>
> <snip>
> Downloading: http://repository.codehaus.org/junit/junit/3.8.1/ 
> junit-3.8.1.jar
> 897b downloaded
> [WARNING] *** CHECKSUM FAILED - Error retrieving checksum file for  
> junit/junit/3.8.1/junit-3.8.1.jar - IGNORING
> </snip>
>
> This was from a build of server/branches/1.2...
>
> And it should not have downloaded junit from the codehaus, but  
> should have gotten this from central.  And for some reason whatever  
> it downloaded from the 'haus was corrupt, or was corrupted when  
> downloading.
>
> Looks like these files contain something like:
>
> ----8<----
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
> <html>
> <head>
>   <title>Index of /</title>
> </head>
> <body>
> <h1>Index of /</h1>
> <pre><img src="/icons/blank.gif" alt="Icon "> <a href="? 
> C=N;O=D">Name</a>                    <a href="?C=M;O=A">Last  
> modified</a>      <a href="?C=S;O=A">Size</a>  <a href="? 
> C=D;O=A">Description</a><hr><img src="/icons/folder.gif"  
> alt="[DIR]"> <a href="com/">com/</a>                    04-Aug-2006  
> 13:55    -
> <img src="/icons/folder.gif" alt="[DIR]"> <a href="net/">net/</ 
> a>                    24-Jul-2006 00:46    -
> <img src="/icons/folder.gif" alt="[DIR]"> <a href="org/">org/</ 
> a>                    23-Jan-2007 06:10    -
> <img src="/icons/folder.gif" alt="[DIR]"> <a  
> href="xstream/">xstream/</a>                27-Nov-2006 15:45    -
> <hr></pre>
> <address>Apache/2.0.52 (Red Hat) Server at repository.codehaus.org  
> Port 80</address>
> </body></html>
> ---->8----
>
> The above is for:
>
> <snip>
> Downloading: http://repository.codehaus.org/org/apache/geronimo/ 
> specs/geronimo-j2ee-connector_1.5_spec/1.1/geronimo-j2ee- 
> connector_1.5_spec-1.1.jar
> 897b downloaded
> [WARNING] *** CHECKSUM FAILED - Error retrieving checksum file for  
> org/apache/geronimo/specs/geronimo-j2ee-connector_1.5_spec/1.1/ 
> geronimo-j2ee-connector_1.5_spec-1.1.jar - IGNORING
> </snip>
>
> But I suspect that all of these ~ 897b downloaded jars are about  
> the same.

Yep. I hit a ton of those, last night. All of the ones that I tracked  
down came from codehaus and in all of these, the codehaus server  
should have returned a 404 (the requested resource doesn't exist on  
codehaus). However, on occasion it seems to be returning that html,  
which looks an awful lot like the content at: http:// 
repository.codehaus.org/

I've pinged #codehaus...

--kevan