You are viewing a plain text version of this content. The canonical link for it is here.
Posted to builds@apache.org by Oleg Kalnichevski <ol...@apache.org> on 2018/01/16 08:42:23 UTC

Intermittent build failure: Plugin org.apache.felix:maven-bundle-plugin:3.3.0 or one of its dependencies could not be resolved

Folks

I apologize if I am about to ask something trivial / obvious.

All our builds have been failing intermittently due to a failure to
resolve maven-bundle-plugin 3.3.0. 

I am unable to figure out what might be causing it given that it only
happens when building with ASF Jenkins and only intermittently without
any apparent pattern. 

Could someone be so kind as to help me figure out the cause of the
problem?

Thank you.

Oleg

-------- Forwarded Message --------
From: Apache Jenkins Server <je...@builds.apache.org>
Reply-to: "HttpComponents Project" <de...@hc.apache.org>
To: commits@hc.apache.org
Subject: Build failed in Jenkins: httpcomponents-client-4.6.x #68
Date: Tue, 16 Jan 2018 08:32:01 +0000 (UTC)

See <https://builds.apache.org/job/httpcomponents-client-4.6.x/68/displ
ay/redirect?page=changes>

Changes:

[olegk] Upgraded HttpCore dependency to version 4.4.9

------------------------------------------
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on beam8 (beam) in workspace <https://builds.apache.o
rg/job/httpcomponents-client-4.6.x/ws/>
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://git-wip-us.apache.org/repos/asf
/httpcomponents-client.git # timeout=10
Fetching upstream changes from https://git-wip-us.apache.org/repos/asf/
httpcomponents-client.git
 > git --version # timeout=10
 > git fetch --tags --progress https://git-wip-us.apache.org/repos/asf/
httpcomponents-client.git +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/4.6.x^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/4.6.x^{commit} # timeout=10
Checking out Revision 0b1662c881459b7c7e0a3b3cc4c227ebd78bbd1b
(refs/remotes/origin/4.6.x)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 0b1662c881459b7c7e0a3b3cc4c227ebd78bbd1b
Commit message: "Upgraded HttpCore dependency to version
4.4.9"intermitently
 > git rev-list 95c4bcd035db051e58250ae4227930f2d88d18f2 # timeout=10
Parsing POMs
Modules changed, recalculating dependency graph
Established TCP socket on 34649
maven33-agent.jar already up to date
maven33-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[httpcomponents-client-4.6.x] $
/home/jenkins/tools/java/latest1.8/bin/java -Xmx2g -Xms256m -cp
/home/jenkins/jenkins-slave/maven33-
agent.jar:/home/jenkins/tools/maven/apache-maven-3.3.9/boot/plexus-
classworlds-2.5.2.jar:/home/jenkins/tools/maven/apache-maven-
3.3.9/conf/logging jenkins.maven3.agent.Maven33Main
/home/jenkins/tools/maven/apache-maven-3.3.9 /home/jenkins/jenkins-
slave/slave.jar /home/jenkins/jenkins-slave/maven33-interceptor.jar
/home/jenkins/jenkins-slave/maven3-interceptor-commons.jar 34649
<===[JENKINS REMOTING CAPACITY]===>   channel started
Executing Maven:  -B -f <https://builds.apache.org/job/httpcomponents-c
lient-4.6.x/ws/pom.xml> -Dmaven.repo.local=/home/jenkins/jenkins-
slave/maven-repositories/0 clean install -P-lax-doclint
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the
POMs:
[ERROR] Unresolveable build extension: Plugin org.apache.felix:maven-
bundle-plugin:3.3.0 or one of its dependencies could not be resolved:
Failure to find org.apache.felix:maven-bundle-plugin:jar:3.3.0 in https
://repo.maven.apache.org/maven2 was cached in the local repository,
resolution will not be reattempted until the update interval of central
has elapsed or updates are forced @ 
[ERROR] Unknown packaging: bundle @
org.apache.httpcomponents:httpclient-osgi:[unknown-version], <https://b
uilds.apache.org/job/httpcomponents-client-4.6.x/ws/httpclient-
osgi/pom.xml,> line 40, column 14
 @ 
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]   
[ERROR]   The project org.apache.httpcomponents:httpclient-osgi:4.6.0-
alpha1-SNAPSHOT (<https://builds.apache.org/job/httpcomponents-client-4
.6.x/ws/httpclient-osgi/pom.xml)> has 2 errors
[ERROR]     Unresolveable build extension: Plugin
org.apache.felix:maven-bundle-plugin:3.3.0 or one of its dependencies
could not be resolved: Failure to find org.apache.felix:maven-bundle-
plugin:jar:3.3.0 in https://repo.maven.apache.org/maven2 was cached in
the local repository, resolution will not be reattempted until the
update interval of central has elapsed or updates are forced -> [Help
2]
[ERROR]     Unknown packaging: bundle @
org.apache.httpcomponents:httpclient-osgi:[unknown-version], <https://b
uilds.apache.org/job/httpcomponents-client-4.6.x/ws/httpclient-
osgi/pom.xml,> line 40, column 14
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with
the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/Proje
ctBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/Plugi
nManagerException
channel stopped

Re: Intermittent build failure: Plugin org.apache.felix:maven-bundle-plugin:3.3.0 or one of its dependencies could not be resolved

Posted by Oleg Kalnichevski <ol...@apache.org>.
On Tue, 2018-01-16 at 23:31 -0800, Chris Lambertus wrote:
> > On Jan 16, 2018, at 12:42 AM, Oleg Kalnichevski <ol...@apache.org>
> > wrote:
> > 
> > Folks
> > 
> > I apologize if I am about to ask something trivial / obvious.
> > 
> > All our builds have been failing intermittently due to a failure to
> > resolve maven-bundle-plugin 3.3.0.
> > 
> > [ERROR] Unknown packaging: bundle @
> > org.apache.httpcomponents:httpclient-osgi:[unknown-version],
> > <https://b
> > uilds.apache.org/job/httpcomponents-client-4.6.x/ws/httpclient-
> > osgi/pom.xml,> line 40, column 14
> >  @
> > [ERROR] The build could not read 1 project -> [Help 1]
> 
> 
> 
> Have you looked into this error?
> 
> 

What error exactly are you referring to? "Unknown packaging: bundle"?
Of course, I have. I do not understand why bundle packaging is fine
with some Jenkins runs (or nodes) and is not supported with others.

Oleg

Re: Intermittent build failure: Plugin org.apache.felix:maven-bundle-plugin:3.3.0 or one of its dependencies could not be resolved

Posted by Chris Lambertus <cm...@apache.org>.

> On Jan 16, 2018, at 12:42 AM, Oleg Kalnichevski <ol...@apache.org> wrote:
> 
> Folks
> 
> I apologize if I am about to ask something trivial / obvious.
> 
> All our builds have been failing intermittently due to a failure to
> resolve maven-bundle-plugin 3.3.0.
> 
> [ERROR] Unknown packaging: bundle @
> org.apache.httpcomponents:httpclient-osgi:[unknown-version], <https://b
> uilds.apache.org/job/httpcomponents-client-4.6.x/ws/httpclient-
> osgi/pom.xml,> line 40, column 14
>  @
> [ERROR] The build could not read 1 project -> [Help 1]



Have you looked into this error?



Re: Intermittent build failure: Plugin org.apache.felix:maven-bundle-plugin:3.3.0 or one of its dependencies could not be resolved

Posted by sebb <se...@gmail.com>.
There is not much history visible on Jenkins, but the two that failed
ran on beam8.

Probably best to exclude that node in future.

On 16 January 2018 at 08:42, Oleg Kalnichevski <ol...@apache.org> wrote:
> Folks
>
> I apologize if I am about to ask something trivial / obvious.
>
> All our builds have been failing intermittently due to a failure to
> resolve maven-bundle-plugin 3.3.0.
>
> I am unable to figure out what might be causing it given that it only
> happens when building with ASF Jenkins and only intermittently without
> any apparent pattern.
>
> Could someone be so kind as to help me figure out the cause of the
> problem?
>
> Thank you.
>
> Oleg
>
> -------- Forwarded Message --------
> From: Apache Jenkins Server <je...@builds.apache.org>
> Reply-to: "HttpComponents Project" <de...@hc.apache.org>
> To: commits@hc.apache.org
> Subject: Build failed in Jenkins: httpcomponents-client-4.6.x #68
> Date: Tue, 16 Jan 2018 08:32:01 +0000 (UTC)
>
> See <https://builds.apache.org/job/httpcomponents-client-4.6.x/68/displ
> ay/redirect?page=changes>
>
> Changes:
>
> [olegk] Upgraded HttpCore dependency to version 4.4.9
>
> ------------------------------------------
> Started by an SCM change
> [EnvInject] - Loading node environment variables.
> Building remotely on beam8 (beam) in workspace <https://builds.apache.o
> rg/job/httpcomponents-client-4.6.x/ws/>
>  > git rev-parse --is-inside-work-tree # timeout=10
> Fetching changes from the remote Git repository
>  > git config remote.origin.url https://git-wip-us.apache.org/repos/asf
> /httpcomponents-client.git # timeout=10
> Fetching upstream changes from https://git-wip-us.apache.org/repos/asf/
> httpcomponents-client.git
>  > git --version # timeout=10
>  > git fetch --tags --progress https://git-wip-us.apache.org/repos/asf/
> httpcomponents-client.git +refs/heads/*:refs/remotes/origin/*
>  > git rev-parse refs/remotes/origin/4.6.x^{commit} # timeout=10
>  > git rev-parse refs/remotes/origin/origin/4.6.x^{commit} # timeout=10
> Checking out Revision 0b1662c881459b7c7e0a3b3cc4c227ebd78bbd1b
> (refs/remotes/origin/4.6.x)
>  > git config core.sparsecheckout # timeout=10
>  > git checkout -f 0b1662c881459b7c7e0a3b3cc4c227ebd78bbd1b
> Commit message: "Upgraded HttpCore dependency to version
> 4.4.9"intermitently
>  > git rev-list 95c4bcd035db051e58250ae4227930f2d88d18f2 # timeout=10
> Parsing POMs
> Modules changed, recalculating dependency graph
> Established TCP socket on 34649
> maven33-agent.jar already up to date
> maven33-interceptor.jar already up to date
> maven3-interceptor-commons.jar already up to date
> [httpcomponents-client-4.6.x] $
> /home/jenkins/tools/java/latest1.8/bin/java -Xmx2g -Xms256m -cp
> /home/jenkins/jenkins-slave/maven33-
> agent.jar:/home/jenkins/tools/maven/apache-maven-3.3.9/boot/plexus-
> classworlds-2.5.2.jar:/home/jenkins/tools/maven/apache-maven-
> 3.3.9/conf/logging jenkins.maven3.agent.Maven33Main
> /home/jenkins/tools/maven/apache-maven-3.3.9 /home/jenkins/jenkins-
> slave/slave.jar /home/jenkins/jenkins-slave/maven33-interceptor.jar
> /home/jenkins/jenkins-slave/maven3-interceptor-commons.jar 34649
> <===[JENKINS REMOTING CAPACITY]===>   channel started
> Executing Maven:  -B -f <https://builds.apache.org/job/httpcomponents-c
> lient-4.6.x/ws/pom.xml> -Dmaven.repo.local=/home/jenkins/jenkins-
> slave/maven-repositories/0 clean install -P-lax-doclint
> [INFO] Scanning for projects...
> [ERROR] [ERROR] Some problems were encountered while processing the
> POMs:
> [ERROR] Unresolveable build extension: Plugin org.apache.felix:maven-
> bundle-plugin:3.3.0 or one of its dependencies could not be resolved:
> Failure to find org.apache.felix:maven-bundle-plugin:jar:3.3.0 in https
> ://repo.maven.apache.org/maven2 was cached in the local repository,
> resolution will not be reattempted until the update interval of central
> has elapsed or updates are forced @
> [ERROR] Unknown packaging: bundle @
> org.apache.httpcomponents:httpclient-osgi:[unknown-version], <https://b
> uilds.apache.org/job/httpcomponents-client-4.6.x/ws/httpclient-
> osgi/pom.xml,> line 40, column 14
>  @
> [ERROR] The build could not read 1 project -> [Help 1]
> [ERROR]
> [ERROR]   The project org.apache.httpcomponents:httpclient-osgi:4.6.0-
> alpha1-SNAPSHOT (<https://builds.apache.org/job/httpcomponents-client-4
> .6.x/ws/httpclient-osgi/pom.xml)> has 2 errors
> [ERROR]     Unresolveable build extension: Plugin
> org.apache.felix:maven-bundle-plugin:3.3.0 or one of its dependencies
> could not be resolved: Failure to find org.apache.felix:maven-bundle-
> plugin:jar:3.3.0 in https://repo.maven.apache.org/maven2 was cached in
> the local repository, resolution will not be reattempted until the
> update interval of central has elapsed or updates are forced -> [Help
> 2]
> [ERROR]     Unknown packaging: bundle @
> org.apache.httpcomponents:httpclient-osgi:[unknown-version], <https://b
> uilds.apache.org/job/httpcomponents-client-4.6.x/ws/httpclient-
> osgi/pom.xml,> line 40, column 14
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with
> the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/Proje
> ctBuildingException
> [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/Plugi
> nManagerException
> channel stopped

Re: Intermittent build failure: Plugin org.apache.felix:maven-bundle-plugin:3.3.0 or one of its dependencies could not be resolved

Posted by Robert Munteanu <ro...@apache.org>.
Hi Oleg,

On Tue, 2018-01-16 at 09:42 +0100, Oleg Kalnichevski wrote:
> Folks
> 
> I apologize if I am about to ask something trivial / obvious.
> 
> All our builds have been failing intermittently due to a failure to
> resolve maven-bundle-plugin 3.3.0. 

A long shot, but maybe it's related to

  https://issues.apache.org/jira/browse/INFRA-15815

?

Robert

> 
> I am unable to figure out what might be causing it given that it only
> happens when building with ASF Jenkins and only intermittently
> without
> any apparent pattern. 
> 
> Could someone be so kind as to help me figure out the cause of the
> problem?
> 
> Thank you.
> 
> Oleg
> 
> -------- Forwarded Message --------
> From: Apache Jenkins Server <je...@builds.apache.org>
> Reply-to: "HttpComponents Project" <de...@hc.apache.org>
> To: commits@hc.apache.org
> Subject: Build failed in Jenkins: httpcomponents-client-4.6.x #68
> Date: Tue, 16 Jan 2018 08:32:01 +0000 (UTC)
> 
> See <https://builds.apache.org/job/httpcomponents-client-4.6.x/68/dis
> pl
> ay/redirect?page=changes>
> 
> Changes:
> 
> [olegk] Upgraded HttpCore dependency to version 4.4.9
> 
> ------------------------------------------
> Started by an SCM change
> [EnvInject] - Loading node environment variables.
> Building remotely on beam8 (beam) in workspace <https://builds.apache
> .o
> rg/job/httpcomponents-client-4.6.x/ws/>
>  > git rev-parse --is-inside-work-tree # timeout=10
> Fetching changes from the remote Git repository
>  > git config remote.origin.url https://git-wip-us.apache.org/repos/a
> sf
> /httpcomponents-client.git # timeout=10
> Fetching upstream changes from https://git-wip-us.apache.org/repos/as
> f/
> httpcomponents-client.git
>  > git --version # timeout=10
>  > git fetch --tags --progress https://git-wip-us.apache.org/repos/as
> f/
> httpcomponents-client.git +refs/heads/*:refs/remotes/origin/*
>  > git rev-parse refs/remotes/origin/4.6.x^{commit} # timeout=10
>  > git rev-parse refs/remotes/origin/origin/4.6.x^{commit} #
> timeout=10
> Checking out Revision 0b1662c881459b7c7e0a3b3cc4c227ebd78bbd1b
> (refs/remotes/origin/4.6.x)
>  > git config core.sparsecheckout # timeout=10
>  > git checkout -f 0b1662c881459b7c7e0a3b3cc4c227ebd78bbd1b
> Commit message: "Upgraded HttpCore dependency to version
> 4.4.9"intermitently
>  > git rev-list 95c4bcd035db051e58250ae4227930f2d88d18f2 # timeout=10
> Parsing POMs
> Modules changed, recalculating dependency graph
> Established TCP socket on 34649
> maven33-agent.jar already up to date
> maven33-interceptor.jar already up to date
> maven3-interceptor-commons.jar already up to date
> [httpcomponents-client-4.6.x] $
> /home/jenkins/tools/java/latest1.8/bin/java -Xmx2g -Xms256m -cp
> /home/jenkins/jenkins-slave/maven33-
> agent.jar:/home/jenkins/tools/maven/apache-maven-3.3.9/boot/plexus-
> classworlds-2.5.2.jar:/home/jenkins/tools/maven/apache-maven-
> 3.3.9/conf/logging jenkins.maven3.agent.Maven33Main
> /home/jenkins/tools/maven/apache-maven-3.3.9 /home/jenkins/jenkins-
> slave/slave.jar /home/jenkins/jenkins-slave/maven33-interceptor.jar
> /home/jenkins/jenkins-slave/maven3-interceptor-commons.jar 34649
> <===[JENKINS REMOTING CAPACITY]===>   channel started
> Executing Maven:  -B -f <https://builds.apache.org/job/httpcomponents
> -c
> lient-4.6.x/ws/pom.xml> -Dmaven.repo.local=/home/jenkins/jenkins-
> slave/maven-repositories/0 clean install -P-lax-doclint
> [INFO] Scanning for projects...
> [ERROR] [ERROR] Some problems were encountered while processing the
> POMs:
> [ERROR] Unresolveable build extension: Plugin org.apache.felix:maven-
> bundle-plugin:3.3.0 or one of its dependencies could not be resolved:
> Failure to find org.apache.felix:maven-bundle-plugin:jar:3.3.0 in
> https
> ://repo.maven.apache.org/maven2 was cached in the local repository,
> resolution will not be reattempted until the update interval of
> central
> has elapsed or updates are forced @ 
> [ERROR] Unknown packaging: bundle @
> org.apache.httpcomponents:httpclient-osgi:[unknown-version],
> <https://b
> uilds.apache.org/job/httpcomponents-client-4.6.x/ws/httpclient-
> osgi/pom.xml,> line 40, column 14
>  @ 
> [ERROR] The build could not read 1 project -> [Help 1]
> [ERROR]   
> [ERROR]   The project org.apache.httpcomponents:httpclient-
> osgi:4.6.0-
> alpha1-SNAPSHOT (<https://builds.apache.org/job/httpcomponents-client
> -4
> .6.x/ws/httpclient-osgi/pom.xml)> has 2 errors
> [ERROR]     Unresolveable build extension: Plugin
> org.apache.felix:maven-bundle-plugin:3.3.0 or one of its dependencies
> could not be resolved: Failure to find org.apache.felix:maven-bundle-
> plugin:jar:3.3.0 in https://repo.maven.apache.org/maven2 was cached
> in
> the local repository, resolution will not be reattempted until the
> update interval of central has elapsed or updates are forced -> [Help
> 2]
> [ERROR]     Unknown packaging: bundle @
> org.apache.httpcomponents:httpclient-osgi:[unknown-version],
> <https://b
> uilds.apache.org/job/httpcomponents-client-4.6.x/ws/httpclient-
> osgi/pom.xml,> line 40, column 14
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with
> the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug
> logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/Pro
> je
> ctBuildingException
> [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/Plu
> gi
> nManagerException
> channel stopped