[
https://issues.jboss.org/browse/JBIDE-21657?page=com.atlassian.jira.plugi...
]
Nick Boldt edited comment on JBIDE-21657 at 2/8/16 4:44 AM:
------------------------------------------------------------
Another limitation I just realized is that the PR builder needs to be more selective --
jobs set to build from master should only build from that branch or from master-based PRs,
or else deps will come from the wrong parent pom, component versions, and TP. Witness:
{code}
[INFO] Adding repository
http://download.jboss.org/jbosstools/targetplatforms/jbosstoolstarget/4.5...
[INFO] Fetching content.jar from
http://download.jboss.org/jbosstools/targetplatforms/jbosstoolstarget/4.5...
(0B of 668.79kB at 0B/s)
[INFO] Adding repository
http://download.jboss.org/jbosstools/updates/nightly/core/master
[INFO] Resolving dependencies of MavenProject:
org.jboss.tools:org.jboss.tools.site.central.earlyaccess:4.3.1-SNAPSHOT @
/mnt/hudson_workspace/workspace/jbosstools-build-sites.aggregate.child-sites__pull-request_master/jdk/jdk1.8/label_exp/(RHEL6||RHEL7||beaker||jboss-prod)&&!ia64&&!ppc64&&!rhts/projectName/earlyaccess/sources/aggregate/earlyaccess-site/pom.xml
[INFO] {osgi.os=macosx, osgi.ws=cocoa, org.eclipse.update.install.features=true,
osgi.arch=x86_64}
[ERROR] Cannot resolve project dependencies:
[ERROR] Software being installed: org.jboss.tools.site.central.earlyaccess
raw:4.3.1.'SNAPSHOT'/format(n[.n=0;[.n=0;[-S]]]):4.3.1-SNAPSHOT
[ERROR] Missing requirement: org.jboss.tools.foundation.ui
1.3.0.Alpha1-v20160126-2136-B879 requires 'bundle org.eclipse.ui.forms 3.7.0' but
it could not be found
[ERROR] Cannot satisfy dependency: org.jboss.ide.eclipse.as.ui
3.2.0.Alpha1-v20160203-2109-B913 depends on: bundle org.jboss.tools.foundation.ui 1.1.0
[ERROR] Cannot satisfy dependency: org.jboss.tools.arquillian.feature.feature.group
1.2.100.Alpha1-v20151213-0942-B361 depends on: org.jboss.tools.arquillian.ui
[1.2.100.Alpha1-v20151213-0942-B361]
[ERROR] Cannot satisfy dependency: org.jboss.tools.arquillian.ui
1.2.100.Alpha1-v20151213-0942-B361 depends on: bundle org.jboss.ide.eclipse.as.ui 2.4.0
[ERROR] Cannot satisfy dependency: org.jboss.tools.site.central.earlyaccess
raw:4.3.1.'SNAPSHOT'/format(n[.n=0;[.n=0;[-S]]]):4.3.1-SNAPSHOT depends on:
org.jboss.tools.arquillian.feature.feature.group 0.0.0
{code} --
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstools-build-site...
So need something like a filter/check for
https://api.github.com/repos/jbosstools/jbosstools-build-sites/pulls?stat...
vs.
https://api.github.com/repos/jbosstools/jbosstools-build-sites/pulls?stat...
was (Author: nickboldt):
Another limitation I just realized is that the PR builder needs to be more selective --
jobs set to build from master should only build from that branch or from master-based PRs,
or else deps will come from the wrong parent pom, component versions, and TP. Witness:
{code}
[INFO] Adding repository
http://download.jboss.org/jbosstools/targetplatforms/jbosstoolstarget/4.5...
[INFO] Fetching content.jar from
http://download.jboss.org/jbosstools/targetplatforms/jbosstoolstarget/4.5...
(0B of 668.79kB at 0B/s)
[INFO] Adding repository
http://download.jboss.org/jbosstools/updates/nightly/core/master
[INFO] Resolving dependencies of MavenProject:
org.jboss.tools:org.jboss.tools.site.central.earlyaccess:4.3.1-SNAPSHOT @
/mnt/hudson_workspace/workspace/jbosstools-build-sites.aggregate.child-sites__pull-request_master/jdk/jdk1.8/label_exp/(RHEL6||RHEL7||beaker||jboss-prod)&&!ia64&&!ppc64&&!rhts/projectName/earlyaccess/sources/aggregate/earlyaccess-site/pom.xml
[INFO] {osgi.os=macosx, osgi.ws=cocoa, org.eclipse.update.install.features=true,
osgi.arch=x86_64}
[ERROR] Cannot resolve project dependencies:
[ERROR] Software being installed: org.jboss.tools.site.central.earlyaccess
raw:4.3.1.'SNAPSHOT'/format(n[.n=0;[.n=0;[-S]]]):4.3.1-SNAPSHOT
[ERROR] Missing requirement: org.jboss.tools.foundation.ui
1.3.0.Alpha1-v20160126-2136-B879 requires 'bundle org.eclipse.ui.forms 3.7.0' but
it could not be found
[ERROR] Cannot satisfy dependency: org.jboss.ide.eclipse.as.ui
3.2.0.Alpha1-v20160203-2109-B913 depends on: bundle org.jboss.tools.foundation.ui 1.1.0
[ERROR] Cannot satisfy dependency: org.jboss.tools.arquillian.feature.feature.group
1.2.100.Alpha1-v20151213-0942-B361 depends on: org.jboss.tools.arquillian.ui
[1.2.100.Alpha1-v20151213-0942-B361]
[ERROR] Cannot satisfy dependency: org.jboss.tools.arquillian.ui
1.2.100.Alpha1-v20151213-0942-B361 depends on: bundle org.jboss.ide.eclipse.as.ui 2.4.0
[ERROR] Cannot satisfy dependency: org.jboss.tools.site.central.earlyaccess
raw:4.3.1.'SNAPSHOT'/format(n[.n=0;[.n=0;[-S]]]):4.3.1-SNAPSHOT depends on:
org.jboss.tools.arquillian.feature.feature.group 0.0.0
{code} --
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstools-build-site...
set up jobs to handle building from PRs
---------------------------------------
Key: JBIDE-21657
URL:
https://issues.jboss.org/browse/JBIDE-21657
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: build
Affects Versions: 4.3.1.Beta2, 4.4.0.Alpha1
Reporter: Nick Boldt
Assignee: Nick Boldt
Fix For: 4.3.1.CR1, 4.4.0.Alpha1
First experimental build:
https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstools-build-sit...
Output:
http://download.jboss.org/jbosstools/neon/snapshots/builds/jbosstools-bui...
{code}
"revision" : {
"HEAD" : "bfe76fb3f3c34d68b873d0acf715e2145e4cb805",
"currentBranch" : "HEAD",
"knownReferences" : [{
"name" : "origin",
"url" :
"git://github.com/jbosstools/jbosstools-build-sites.git",
"ref" : "pr/221/merge"
}]
},
{code}
http://download.jboss.org/jbosstools/neon/snapshots/builds/jbosstools-bui...
{code}
#Fri Feb 05 16:42:42 EST 2016
null\:merge=bfe76fb3f3c34d68b873d0acf715e2145e4cb805
HEAD=bfe76fb3f3c34d68b873d0acf715e2145e4cb805
{code}
build log:
{code}
Started by upstream project
"jbosstools-build-sites.aggregate.child-sites__pull-request_master" build number
1
originally caused by:
GitHub pull request #221 of commit 50c10ad83d250d2b86f5697c4581ba8f9cb4937d, no merge
conflicts.
...
Fetching upstream changes from
git://github.com/jbosstools/jbosstools-build-sites.git
> git -c core.askpass=true fetch --tags --progress
git://github.com/jbosstools/jbosstools-build-sites.git +refs/heads/*:refs/remotes/origin/*
+refs/pull/*:refs/remotes/origin/pr/*
Checking out Revision bfe76fb3f3c34d68b873d0acf715e2145e4cb805
(refs/remotes/origin/pr/221/merge)
> git config core.sparsecheckout # timeout=10
> git checkout -f bfe76fb3f3c34d68b873d0acf715e2145e4cb805
{code}
vars:
{code}
-DghprbActualCommit=50c10ad83d250d2b86f5697c4581ba8f9cb4937d
-DghprbPullId=221
-Dsha1=origin/pr/221/merge
"-DghprbPullDescription=GitHub pull request #221 of commit
50c10ad83d250d2b86f5697c4581ba8f9cb4937d, no merge conflicts."
-DghprbActualCommit=50c10ad83d250d2b86f5697c4581ba8f9cb4937d
{code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)