[jbosstools-issues] [JBoss JIRA] (JBIDE-18876) Improve TP publishing so changes released to git or deployed to nexus would not break developer local builds

Nick Boldt (JIRA) issues at jboss.org
Wed May 6 15:55:45 EDT 2015


    [ https://issues.jboss.org/browse/JBIDE-18876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13066010#comment-13066010 ] 

Nick Boldt edited comment on JBIDE-18876 at 5/6/15 3:55 PM:
------------------------------------------------------------

Current Beta1-SNAPSHOT (as of build #407) is also failing in Jenkins with this error:

{code}Downloaded: https://repository.jboss.org/nexus/content/groups/developer/org/jboss/tools/targetplatforms/jbosstools-multiple/4.50.0.Beta1-SNAPSHOT/jbosstools-multiple-4.50.0.Beta1-20150506.172830-8-jbosstools-multiple.target (34 KB at 81.0 KB/sec)
[INFO] 
[INFO] --- build-helper-maven-plugin:1.3:attach-artifact (attach-artifacts) @ jbosstools-unified ---
[INFO] 
[INFO] --- target-platform-validation-plugin:0.22.0:validate-target-platform (default) @ jbosstools-unified ---

[INFO] Validating /mnt/hudson_workspace/workspace/jbosstoolstargetplatforms-matrix/3cc13d4f/jbosstools/unified/target/jbosstools-unified.target...
[INFO] Adding repository http://download.jboss.org/jbosstools/targetplatforms/jbosstoolstarget/4.50.0.Beta1-SNAPSHOT/REPO

[INFO] Fetching content.jar from http://download.jboss.org/jbosstools/targetplatforms/jbosstoolstarget/4.50.0.Beta1-SNAPSHOT/REPO/ (0B of 610.35kB at 0B/s)
[INFO] Failed, see Error log below
[ERROR] Validation found errors in 1 .target files:
Could not resolve content of jbosstools-unified.target

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9.413 s
[INFO] Finished at: 2015-05-06T13:36:15-04:00
[INFO] Final Memory: 23M/301M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eclipse.tycho.extras:target-platform-validation-plugin:0.22.0:validate-target-platform (default) on project jbosstools-unified: Validation found errors in 1 .target files:
[ERROR] Could not resolve content of jbosstools-unified.target{code}

{code}Downloaded: https://repository.jboss.org/nexus/content/groups/developer/org/jboss/tools/targetplatforms/jbdevstudio-multiple/4.50.0.Beta1-SNAPSHOT/jbdevstudio-multiple-4.50.0.Beta1-20150506.172619-8-jbdevstudio-multiple.target (32 KB at 80.0 KB/sec)
[INFO] 
[INFO] --- build-helper-maven-plugin:1.3:attach-artifact (attach-artifacts) @ jbdevstudio-unified ---
[INFO] 
[INFO] --- target-platform-validation-plugin:0.22.0:validate-target-platform (default) @ jbdevstudio-unified ---

[INFO] Validating /mnt/hudson_workspace/workspace/jbosstoolstargetplatforms-matrix/a022b385/jbdevstudio/unified/target/jbdevstudio-unified.target...
[INFO] Adding repository http://download.jboss.org/jbosstools/targetplatforms/jbdevstudiotarget/4.50.0.Beta1-SNAPSHOT/REPO
[INFO] Failed, see Error log below
[ERROR] Validation found errors in 1 .target files:
Could not resolve content of jbdevstudio-unified.target

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.290 s
[INFO] Finished at: 2015-05-06T13:31:21-04:00
[INFO] Final Memory: 23M/475M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eclipse.tycho.extras:target-platform-validation-plugin:0.22.0:validate-target-platform (default) on project jbdevstudio-unified: Validation found errors in 1 .target files:
[ERROR] Could not resolve content of jbdevstudio-unified.target{code}

Everything was fine on Apr 22. 

Only one commit since then:

https://github.com/jbosstools/jbosstools-target-platforms/commits/4.50.x

And these build config changes:

* use rsync.sh instead of publish.sh to push bits to download.jboss.org, www.qa, and devstudio.redhat.com
* switch to use short workspaces (in support of generation of composite*.xml files that point into REPO/ folders (used to be done by publish.sh)



was (Author: nickboldt):
Current Beta1-SNAPSHOT is also failing in Jenkins with this error:

{code}Downloaded: https://repository.jboss.org/nexus/content/groups/developer/org/jboss/tools/targetplatforms/jbosstools-multiple/4.50.0.Beta1-SNAPSHOT/jbosstools-multiple-4.50.0.Beta1-20150506.172830-8-jbosstools-multiple.target (34 KB at 81.0 KB/sec)
[INFO] 
[INFO] --- build-helper-maven-plugin:1.3:attach-artifact (attach-artifacts) @ jbosstools-unified ---
[INFO] 
[INFO] --- target-platform-validation-plugin:0.22.0:validate-target-platform (default) @ jbosstools-unified ---

[INFO] Validating /mnt/hudson_workspace/workspace/jbosstoolstargetplatforms-matrix/3cc13d4f/jbosstools/unified/target/jbosstools-unified.target...
[INFO] Adding repository http://download.jboss.org/jbosstools/targetplatforms/jbosstoolstarget/4.50.0.Beta1-SNAPSHOT/REPO

[INFO] Fetching content.jar from http://download.jboss.org/jbosstools/targetplatforms/jbosstoolstarget/4.50.0.Beta1-SNAPSHOT/REPO/ (0B of 610.35kB at 0B/s)
[INFO] Failed, see Error log below
[ERROR] Validation found errors in 1 .target files:
Could not resolve content of jbosstools-unified.target

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9.413 s
[INFO] Finished at: 2015-05-06T13:36:15-04:00
[INFO] Final Memory: 23M/301M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eclipse.tycho.extras:target-platform-validation-plugin:0.22.0:validate-target-platform (default) on project jbosstools-unified: Validation found errors in 1 .target files:
[ERROR] Could not resolve content of jbosstools-unified.target{code}

{code}Downloaded: https://repository.jboss.org/nexus/content/groups/developer/org/jboss/tools/targetplatforms/jbdevstudio-multiple/4.50.0.Beta1-SNAPSHOT/jbdevstudio-multiple-4.50.0.Beta1-20150506.172619-8-jbdevstudio-multiple.target (32 KB at 80.0 KB/sec)
[INFO] 
[INFO] --- build-helper-maven-plugin:1.3:attach-artifact (attach-artifacts) @ jbdevstudio-unified ---
[INFO] 
[INFO] --- target-platform-validation-plugin:0.22.0:validate-target-platform (default) @ jbdevstudio-unified ---

[INFO] Validating /mnt/hudson_workspace/workspace/jbosstoolstargetplatforms-matrix/a022b385/jbdevstudio/unified/target/jbdevstudio-unified.target...
[INFO] Adding repository http://download.jboss.org/jbosstools/targetplatforms/jbdevstudiotarget/4.50.0.Beta1-SNAPSHOT/REPO
[INFO] Failed, see Error log below
[ERROR] Validation found errors in 1 .target files:
Could not resolve content of jbdevstudio-unified.target

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.290 s
[INFO] Finished at: 2015-05-06T13:31:21-04:00
[INFO] Final Memory: 23M/475M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eclipse.tycho.extras:target-platform-validation-plugin:0.22.0:validate-target-platform (default) on project jbdevstudio-unified: Validation found errors in 1 .target files:
[ERROR] Could not resolve content of jbdevstudio-unified.target{code}

> Improve TP publishing so changes released to git or deployed to nexus would not break developer local builds
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-18876
>                 URL: https://issues.jboss.org/browse/JBIDE-18876
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 4.3.0.Alpha1
>            Reporter: Denis Golovin
>            Assignee: Denis Golovin
>            Priority: Minor
>             Fix For: 4.3.x
>
>
> Latest Thym update is 'good' example for this problem. I was in the middle of testing some changes in parent/pom.xml and suddenly build start to fail with Thym resolution problem. IMO what happened is TP .target files were published to nexus before actual p2-repos appeared online. Building from latest revision didn't help ether because of the same problem. I had to revert to previous revision to continue my task.
> So it would be good if TP builds publish binaries first and then release TP sources to git and deploy to nexus. 
> Please note, that when sftp/rsync for unified TP binaries is finished it doesn't mean p2-repos are available from download.jboss.org right away.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jbosstools-issues mailing list