You are viewing a plain text version of this content. The canonical link for it is here.
Posted to builds@apache.org by Benson Margulies <bi...@gmail.com> on 2011/01/23 01:01:24 UTC

M3 and hudson

Looks like the M3 installation isn't sitting in the right place, or
something else is wrong.

Unpacking https://www.apache.org/dist/maven/binaries/apache-maven-3.0-bin.tar.gz
to /export/home/hudson/hudson-slave/tools/Maven_3.0 on solaris1
ERROR: Failed to parse POMs
hudson.util.IOException2: Failed to install
https://www.apache.org/dist/maven/binaries/apache-maven-3.0-bin.tar.gz
to /export/home/hudson/hudson-slave/tools/Maven_3.0
	at hudson.FilePath.installIfNecessaryFrom(FilePath.java:645)
	at hudson.tools.ZipExtractionInstaller.performInstallation(ZipExtractionInstaller.java:82)
	at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:61)
	at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:99)
	at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:149)
	at hudson.tasks.Maven$MavenInstallation.forNode(Maven.java:510)
	at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:493)
	at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:420)
	at hudson.model.Run.run(Run.java:1362)
	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:405)
	at hudson.model.ResourceController.execute(ResourceController.java:88)
	at hudson.model.Executor.run(Executor.java:145)
Caused by: java.io.FileNotFoundException:
https://www.apache.org/dist/maven/binaries/apache-maven-3.0-bin.tar.gz
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
	at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1496)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1490)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1144)
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234)
	at hudson.FilePath.installIfNecessaryFrom(FilePath.java:631)
	... 11 more
Caused by: java.io.FileNotFoundException:
https://www.apache.org/dist/maven/binaries/apache-maven-3.0-bin.tar.gz
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1439)
	at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:2301)
	at java.net.HttpURLConnection.getHeaderFieldDate(HttpURLConnection.java:450)
	at java.net.URLConnection.getLastModified(URLConnection.java:532)
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getLastModified(HttpsURLConnectionImpl.java:398)
	at hudson.FilePath.installIfNecessaryFrom(FilePath.java:616)
	... 11 more
Sending e-mails to: dev@ws.apache.org
Finished: FAILURE

Re: M3 and hudson

Posted by Niklas Gustavsson <ni...@protocol7.com>.
On Mon, Jan 24, 2011 at 3:40 PM, Jesse Glick <je...@oracle.com> wrote:
> Might be a Hudson bug - the tool auto-installer might not correctly clean up
> the tool directory if the first installation attempt failed. Please report
> it in Hudson's tracker and CC jglick.

It was a configuration error where we've not configured the expanded
directory name. After setting that. the M3 autoinstall now works fine.

/niklas

Re: M3 and hudson

Posted by Jesse Glick <je...@oracle.com>.
On 01/23/2011 12:04 PM, Benson Margulies wrote:
>> I've fixed the download URL, please try again.
>
> Now we get the following ... which thinks that it's hudson's fault.
>
> java.lang.IllegalArgumentException: /home/hudson/hudson-slave/tools/Maven_3.0 without lib directory
> 	at hudson.maven.MavenEmbedderUtils.buildClassRealm(MavenEmbedderUtils.java:81)

Might be a Hudson bug - the tool auto-installer might not correctly clean up the tool directory if the first installation attempt failed. Please report it in Hudson's 
tracker and CC jglick.

Re: M3 and hudson

Posted by Benson Margulies <bi...@gmail.com>.
thanks.

On Jan 23, 2011, at 2:48 PM, Niklas Gustavsson <ni...@protocol7.com> wrote:

> On Sun, Jan 23, 2011 at 6:04 PM, Benson Margulies <bi...@gmail.com> wrote:
>> Now we get the following ... which thinks that it's hudson's fault.
>
> Should be working now. You're build is running as we speak.
>
> /niklas

Re: M3 and hudson

Posted by Niklas Gustavsson <ni...@protocol7.com>.
On Sun, Jan 23, 2011 at 6:04 PM, Benson Margulies <bi...@gmail.com> wrote:
> Now we get the following ... which thinks that it's hudson's fault.

Should be working now. You're build is running as we speak.

/niklas

Re: M3 and hudson

Posted by Benson Margulies <bi...@gmail.com>.
Now we get the following ... which thinks that it's hudson's fault.

no change for https://svn.apache.org/repos/asf/webservices/xmlschema/trunk
since the previous build
Unpacking https://archive.apache.org/dist/maven/binaries/apache-maven-3.0.2-bin.tar.gz
to /home/hudson/hudson-slave/tools/Maven_3.0 on ubuntu1
ERROR: Processing failed due to a bug in the code. Please report this
to hudson-users@googlegroups.com
java.lang.IllegalArgumentException:
/home/hudson/hudson-slave/tools/Maven_3.0 without lib directory
	at hudson.maven.MavenEmbedderUtils.buildClassRealm(MavenEmbedderUtils.java:81)
	at hudson.maven.MavenEmbedderUtils.getMavenVersion(MavenEmbedderUtils.java:170)
	at hudson.maven.MavenVersionCallable.call(MavenVersionCallable.java:56)
	at hudson.maven.MavenVersionCallable.call(MavenVersionCallable.java:40)
	at hudson.remoting.UserRequest.perform(UserRequest.java:114)
	at hudson.remoting.UserRequest.perform(UserRequest.java:48)
	at hudson.remoting.Request$2.run(Request.java:270)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
	at java.lang.Thread.run(Thread.java:636)
project=hudson.maven.MavenModuleSet@4f54cc7c[xmlschema-new-trunk-jdk15-native-m3]
project.getModules()=[]
project.getRootModule()=null
FATAL: /home/hudson/hudson-slave/tools/Maven_3.0 without lib directory
java.lang.IllegalArgumentException:
/home/hudson/hudson-slave/tools/Maven_3.0 without lib directory
	at hudson.maven.MavenEmbedderUtils.buildClassRealm(MavenEmbedderUtils.java:81)
	at hudson.maven.MavenEmbedderUtils.getMavenVersion(MavenEmbedderUtils.java:170)
	at hudson.maven.MavenVersionCallable.call(MavenVersionCallable.java:56)
	at hudson.maven.MavenVersionCallable.call(MavenVersionCallable.java:40)
	at hudson.remoting.UserRequest.perform(UserRequest.java:114)
	at hudson.remoting.UserRequest.perform(UserRequest.java:48)
	at hudson.remoting.Request$2.run(Request.java:270)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
	at java.lang.Thread.run(Thread.java:636)


On Sun, Jan 23, 2011 at 11:39 AM, Niklas Gustavsson
<ni...@protocol7.com> wrote:
> On Sun, Jan 23, 2011 at 1:01 AM, Benson Margulies <bi...@gmail.com> wrote:
>> Looks like the M3 installation isn't sitting in the right place, or
>> something else is wrong.
>>
>> Unpacking https://www.apache.org/dist/maven/binaries/apache-maven-3.0-bin.tar.gz
>
> I've fixed the download URL, please try again.
>
> /niklas
>

Re: M3 and hudson

Posted by Niklas Gustavsson <ni...@protocol7.com>.
On Sun, Jan 23, 2011 at 1:01 AM, Benson Margulies <bi...@gmail.com> wrote:
> Looks like the M3 installation isn't sitting in the right place, or
> something else is wrong.
>
> Unpacking https://www.apache.org/dist/maven/binaries/apache-maven-3.0-bin.tar.gz

I've fixed the download URL, please try again.

/niklas