You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Star Guo <st...@ceph.me> on 2015/03/06 06:56:17 UTC

Compile CloudStack 4.4.2

Hi, 

When I compile CloudStack 4.4.2 on CentOS 6.6 x86_64, and the log show as
below and waiting for long time: 

###########################################################################
[INFO] 
[INFO] --- maven-jar-plugin:2.5:jar (default-jar) @
cloud-plugin-hypervisor-xenserver ---
[INFO] Building jar:
/root/.hudson/jobs/cloudstack-master/workspace/plugins/hypervisors/xenserver
/target/cloud-plugin-hypervisor-xenserver-4.6.0-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @
cloud-plugin-hypervisor-xenserver ---
[INFO]

[INFO]
------------------------------------------------------------------------
[INFO] Building Apache CloudStack Plugin - Hypervisor KVM 4.6.0-SNAPSHOT
[INFO]
------------------------------------------------------------------------
Downloading:
http://libvirt.org/maven2/joda-time/joda-time/maven-metadata.xml
Mar 06, 2015 1:47:47 PM
org.apache.maven.wagon.providers.http.httpclient.impl.client.DefaultRequestD
irector tryExecute
INFO: I/O exception (java.net.SocketException) caught when processing
request: Connection reset
Mar 06, 2015 1:47:47 PM
org.apache.maven.wagon.providers.http.httpclient.impl.client.DefaultRequestD
irector tryExecute
INFO: Retrying request

Downloading:
http://libvirt.org/maven2/org/libvirt/libvirt/0.5.1/libvirt-0.5.1.pom

Downloading:
http://ceph.com/maven/org/libvirt/libvirt/0.5.1/libvirt-0.5.1.pom

###########################################################################

I find http://libvirt.org/maven2/org/libvirt/libvirt/0.5.1/libvirt-0.5.1.pom
is not found, and http://libvirt.org/maven2/org/libvirt/libvirt/0.5.1/ is
OK.
And http://ceph.com/maven/org/libvirt/libvirt/0.5.1/libvirt-0.5.1.pom is not
found.

How to fix this problem ? Thanks.

Best Regards
Star Guo



Re: Compile CloudStack 4.4.2

Posted by Laszlo Hornyak <la...@gmail.com>.
Star Guo, could you check if this solves your problem?
https://github.com/apache/cloudstack/pull/100

Thank you,
Laszlo

On Fri, Mar 6, 2015 at 6:56 AM, Star Guo <st...@ceph.me> wrote:

> Hi,
>
> When I compile CloudStack 4.4.2 on CentOS 6.6 x86_64, and the log show as
> below and waiting for long time:
>
> ###########################################################################
> [INFO]
> [INFO] --- maven-jar-plugin:2.5:jar (default-jar) @
> cloud-plugin-hypervisor-xenserver ---
> [INFO] Building jar:
>
> /root/.hudson/jobs/cloudstack-master/workspace/plugins/hypervisors/xenserver
> /target/cloud-plugin-hypervisor-xenserver-4.6.0-SNAPSHOT.jar
> [INFO]
> [INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @
> cloud-plugin-hypervisor-xenserver ---
> [INFO]
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Apache CloudStack Plugin - Hypervisor KVM 4.6.0-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> Downloading:
> http://libvirt.org/maven2/joda-time/joda-time/maven-metadata.xml
> Mar 06, 2015 1:47:47 PM
>
> org.apache.maven.wagon.providers.http.httpclient.impl.client.DefaultRequestD
> irector tryExecute
> INFO: I/O exception (java.net.SocketException) caught when processing
> request: Connection reset
> Mar 06, 2015 1:47:47 PM
>
> org.apache.maven.wagon.providers.http.httpclient.impl.client.DefaultRequestD
> irector tryExecute
> INFO: Retrying request
>
> Downloading:
> http://libvirt.org/maven2/org/libvirt/libvirt/0.5.1/libvirt-0.5.1.pom
>
> Downloading:
> http://ceph.com/maven/org/libvirt/libvirt/0.5.1/libvirt-0.5.1.pom
>
> ###########################################################################
>
> I find
> http://libvirt.org/maven2/org/libvirt/libvirt/0.5.1/libvirt-0.5.1.pom
> is not found, and http://libvirt.org/maven2/org/libvirt/libvirt/0.5.1/ is
> OK.
> And http://ceph.com/maven/org/libvirt/libvirt/0.5.1/libvirt-0.5.1.pom is
> not
> found.
>
> How to fix this problem ? Thanks.
>
> Best Regards
> Star Guo
>
>
>


-- 

EOF

Re: Compile CloudStack 4.4.2

Posted by Laszlo Hornyak <la...@gmail.com>.
I too ran into this a couple of days before. libvirt.org server is
misbehaving and while the only artifact hosted there is the libvirt jar.
The snapshots should be disabled.

CLOUDSTACK-8304

Changing to releases-only will not 100% solve the problem, but after a
single succesful download it will not fail the build when it is down, so
most likely you will not see it again.
On longer term it would be great to resolve all dependencies from the
central repository. That would more likely be a solution.


On Fri, Mar 6, 2015 at 6:56 AM, Star Guo <st...@ceph.me> wrote:

> Hi,
>
> When I compile CloudStack 4.4.2 on CentOS 6.6 x86_64, and the log show as
> below and waiting for long time:
>
> ###########################################################################
> [INFO]
> [INFO] --- maven-jar-plugin:2.5:jar (default-jar) @
> cloud-plugin-hypervisor-xenserver ---
> [INFO] Building jar:
>
> /root/.hudson/jobs/cloudstack-master/workspace/plugins/hypervisors/xenserver
> /target/cloud-plugin-hypervisor-xenserver-4.6.0-SNAPSHOT.jar
> [INFO]
> [INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @
> cloud-plugin-hypervisor-xenserver ---
> [INFO]
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Apache CloudStack Plugin - Hypervisor KVM 4.6.0-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> Downloading:
> http://libvirt.org/maven2/joda-time/joda-time/maven-metadata.xml
> Mar 06, 2015 1:47:47 PM
>
> org.apache.maven.wagon.providers.http.httpclient.impl.client.DefaultRequestD
> irector tryExecute
> INFO: I/O exception (java.net.SocketException) caught when processing
> request: Connection reset
> Mar 06, 2015 1:47:47 PM
>
> org.apache.maven.wagon.providers.http.httpclient.impl.client.DefaultRequestD
> irector tryExecute
> INFO: Retrying request
>
> Downloading:
> http://libvirt.org/maven2/org/libvirt/libvirt/0.5.1/libvirt-0.5.1.pom
>
> Downloading:
> http://ceph.com/maven/org/libvirt/libvirt/0.5.1/libvirt-0.5.1.pom
>
> ###########################################################################
>
> I find
> http://libvirt.org/maven2/org/libvirt/libvirt/0.5.1/libvirt-0.5.1.pom
> is not found, and http://libvirt.org/maven2/org/libvirt/libvirt/0.5.1/ is
> OK.
> And http://ceph.com/maven/org/libvirt/libvirt/0.5.1/libvirt-0.5.1.pom is
> not
> found.
>
> How to fix this problem ? Thanks.
>
> Best Regards
> Star Guo
>
>
>


-- 

EOF