On 01/19/2017 10:15 AM, Eyal Edri wrote: > > > On Thu, Jan 19, 2017 at 11:05 AM, Yedidyah Bar David <[email protected] > <mailto:[email protected]>> wrote: > > On Thu, Jan 19, 2017 at 9:54 AM, Code Review <[email protected] > <mailto:[email protected]>> wrote: > > From Jenkins CI: > > > > Jenkins CI has posted comments on this change. > > > > Change subject: packaging: Configure hosts for metrics: Fixes > > ...................................................................... > > > > > > Patch Set 2: > > > > Build Failed > > > > > > http://jenkins.ovirt.org/job/ovirt-engine_master_build-artifacts-fc24-x86_64/2115/ > > <http://jenkins.ovirt.org/job/ovirt-engine_master_build-artifacts-fc24-x86_64/2115/> > : FAILURE > > 07:33:58 [INFO] > ------------------------------------------------------------------------ > 07:33:58 [ERROR] Failed to execute goal > org.codehaus.mojo:exec-maven-plugin:1.4.0:java (generate-code) on > project restapi-definition: An exception occured while executing the > Java class. null: InvocationTargetException: NullPointerException -> > [Help 1] > > Any idea? > > > > We saw similar errors on check-patch fc25 job yesterday, > Maybe its a regression on running maven on fedora ? > > > Juan/Martin - can you help maybe understand where this error comes from? >
The error comes from the execution (the failed execution) of the API metamodel tool, the tool that automatically generates part of the code of the API from the model. I have seen this problem sporadically, but haven't been able to reproduce it. My suspicion is that the CDI container (Weld SE) that we use to run the tool somehow interferes with Maven. I think we can avoid that with the following patch: restapi: Fork to execute the metamodel tool https://gerrit.ovirt.org/70820 Note that I am not 100% sure about this, as I can't reproduce the original problem. > > > > > > > > > http://jenkins.ovirt.org/job/ovirt-engine_master_check-merged-fc24-x86_64/2434/ > > <http://jenkins.ovirt.org/job/ovirt-engine_master_check-merged-fc24-x86_64/2434/> > : FAILURE > > > > > > http://jenkins.ovirt.org/job/ovirt-engine_master_check-merged-el7-x86_64/3331/ > > <http://jenkins.ovirt.org/job/ovirt-engine_master_check-merged-el7-x86_64/3331/> > : SUCCESS > > > > > > http://jenkins.ovirt.org/job/ovirt-engine_master_build-artifacts-fc25-x86_64/298/ > > <http://jenkins.ovirt.org/job/ovirt-engine_master_build-artifacts-fc25-x86_64/298/> > : SUCCESS > > > > > > http://jenkins.ovirt.org/job/ovirt-engine_master_upgrade-from-4.1_el7_merged/389/ > > <http://jenkins.ovirt.org/job/ovirt-engine_master_upgrade-from-4.1_el7_merged/389/> > : SUCCESS > > > > > > http://jenkins.ovirt.org/job/ovirt-engine_master_build-artifacts-el7-x86_64/2414/ > > <http://jenkins.ovirt.org/job/ovirt-engine_master_build-artifacts-el7-x86_64/2414/> > : SUCCESS > > > > > > http://jenkins.ovirt.org/job/ovirt-engine_master_upgrade-from-3.6_el7_merged/1721/ > > <http://jenkins.ovirt.org/job/ovirt-engine_master_upgrade-from-3.6_el7_merged/1721/> > : SUCCESS > > > > > > http://jenkins.ovirt.org/job/ovirt-engine_master_check-merged-fc25-x86_64/288/ > > <http://jenkins.ovirt.org/job/ovirt-engine_master_check-merged-fc25-x86_64/288/> > : SUCCESS > > > > > > http://jenkins.ovirt.org/job/ovirt-engine_master_upgrade-from-master_el7_merged/3337/ > > <http://jenkins.ovirt.org/job/ovirt-engine_master_upgrade-from-master_el7_merged/3337/> > : SUCCESS > > > > > > http://jenkins.ovirt.org/job/ovirt-engine_master_upgrade-from-4.0_el7_merged/2863/ > > <http://jenkins.ovirt.org/job/ovirt-engine_master_upgrade-from-4.0_el7_merged/2863/> > : SUCCESS > > > > -- > > To view, visit https://gerrit.ovirt.org/70722 > > To unsubscribe, visit https://gerrit.ovirt.org/settings > <https://gerrit.ovirt.org/settings> > > > > Gerrit-MessageType: comment > > Gerrit-Change-Id: Ia665d1b127da5cec58d2b156954748eda0244fa6 > > Gerrit-PatchSet: 2 > > Gerrit-Project: ovirt-engine > > Gerrit-Branch: master > > Gerrit-Owner: Yedidyah Bar David <[email protected] > <mailto:[email protected]>> > > Gerrit-Reviewer: Jenkins CI > > Gerrit-Reviewer: Rafael Martins <[email protected] > <mailto:[email protected]>> > > Gerrit-Reviewer: Sandro Bonazzola <[email protected] > <mailto:[email protected]>> > > Gerrit-Reviewer: Yedidyah Bar David <[email protected] > <mailto:[email protected]>> > > Gerrit-Reviewer: gerrit-hooks <[email protected] > <mailto:[email protected]>> > > Gerrit-HasComments: No > > > > -- > Didi > _______________________________________________ > Infra mailing list > [email protected] <mailto:[email protected]> > http://lists.ovirt.org/mailman/listinfo/infra > <http://lists.ovirt.org/mailman/listinfo/infra> > > > > > > -- > Eyal Edri > Associate Manager > RHV DevOps > EMEA ENG Virtualization R&D > Red Hat Israel > > phone: +972-9-7692018 > irc: eedri (on #tlv #rhev-dev #rhev-integ) _______________________________________________ Infra mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/infra
