<div dir="ltr">Looking at it, seems like WELD doesn't allow injections of from generic declared types, will most likely revert the original patch as I can't think of an elegant solution for the problem</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 17, 2018 at 11:31 AM, Gal Ben Haim <span dir="ltr"><<a href="mailto:gbenhaim@redhat.com" target="_blank">gbenhaim@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>From last night, the Change Queue fails on every run because of "add_qos" test.</div><div><br></div><div>From the engine log:</div><div><br></div><div><pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap">2018-04-16 10:31:51,813-04 ERROR [org.ovirt.engine.core.bll.<wbr>CommandsFactory] (default task-30) [] An exception has occurred while trying to create a command object for command 'AddCpuQos' with parameters 'QosParametersBase:{commandId=<wbr>'ccb4d6f4-ca86-4706-921c-<wbr>f87439e0550f', user='null', commandType='Unknown'}': WELD-001407: Cannot declare an injection point with a type variable: [BackedAnnotatedField] @Inject private org.ovirt.engine.core.bll.qos.<wbr>QosCommandBase.qosDao
        at org.ovirt.engine.core.bll.qos.<wbr>QosCommandBase.qosDao(<wbr>QosCommandBase.java:0)</pre><pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap"><br></pre><pre style="word-wrap:break-word"><pre style="color:rgb(0,0,0);white-space:pre-wrap;word-wrap:break-word">2018-04-16 10:31:51,819-04 ERROR [org.ovirt.engine.core.bll.<wbr>CommandsFactory] (default task-30) [] Exception: org.jboss.weld.exceptions.<wbr>DefinitionException: WELD-001407: Cannot declare an injection point with a type variable: [BackedAnnotatedField] @Inject private org.ovirt.engine.core.bll.qos.<wbr>QosCommandBase.qosDao
        at org.ovirt.engine.core.bll.qos.<wbr>QosCommandBase.qosDao(<wbr>QosCommandBase.java:0)
StackTrace
        at org.jboss.weld.bootstrap.<wbr>Validator.<wbr>validateInjectionPointForDefin<wbr>itionErrors(Validator.java:<wbr>295) [weld-core-impl-2.4.3.Final.<wbr>jar:2.4.3.Final]
        at org.jboss.weld.bootstrap.<wbr>Validator.<wbr>validateInjectionPoint(<wbr>Validator.java:281) [weld-core-impl-2.4.3.Final.<wbr>jar:2.4.3.Final]
        at org.jboss.weld.bootstrap.<wbr>Validator.validateProducer(<wbr>Validator.java:400) [weld-core-impl-2.4.3.Final.<wbr>jar:2.4.3.Final]
        at org.jboss.weld.injection.<wbr>producer.<wbr>InjectionTargetService.<wbr>validateProducer(<wbr>InjectionTargetService.java:<wbr>36) [weld-core-impl-2.4.3.Final.<wbr>jar:2.4.3.Final]
        at org.jboss.weld.manager.<wbr>InjectionTargetFactoryImpl.<wbr>validate(<wbr>InjectionTargetFactoryImpl.<wbr>java:135) [weld-core-impl-2.4.3.Final.<wbr>jar:2.4.3.Final]
        at org.jboss.weld.manager.<wbr>InjectionTargetFactoryImpl.<wbr>createInjectionTarget(<wbr>InjectionTargetFactoryImpl.<wbr>java:79) [weld-core-impl-2.4.3.Final.<wbr>jar:2.4.3.Final]
        at org.jboss.weld.manager.<wbr>InjectionTargetFactoryImpl.<wbr>createInjectionTarget(<wbr>InjectionTargetFactoryImpl.<wbr>java:69) [weld-core-impl-2.4.3.Final.<wbr>jar:2.4.3.Final]
        at org.jboss.weld.manager.<wbr>BeanManagerImpl.<wbr>createInjectionTarget(<wbr>BeanManagerImpl.java:1140) [weld-core-impl-2.4.3.Final.<wbr>jar:2.4.3.Final]
        at org.jboss.weld.util.<wbr>ForwardingBeanManager.<wbr>createInjectionTarget(<wbr>ForwardingBeanManager.java:<wbr>201) [weld-core-impl-2.4.3.Final.<wbr>jar:2.4.3.Final]
        at org.ovirt.engine.core.di.<wbr>Injector.injectMembers(<wbr>Injector.java:29) [vdsbroker.jar:]
        at org.ovirt.engine.core.bll.<wbr>CommandsFactory.createCommand(<wbr>CommandsFactory.java:100) [bll.jar:]
        at org.ovirt.engine.core.bll.<wbr>Backend.runActionImpl(Backend.<wbr>java:433) [bll.jar:]
        at org.ovirt.engine.core.bll.<wbr>Backend.runAction(Backend.<wbr>java:387) [bll.jar:]
        at sun.reflect.<wbr>NativeMethodAccessorImpl.<wbr>invoke0(Native Method) [rt.jar:1.8.0_161]</pre><pre style="color:rgb(0,0,0);white-space:pre-wrap;word-wrap:break-word"><br></pre><pre style="color:rgb(0,0,0);white-space:pre-wrap;word-wrap:break-word">Link to all logs:</pre><pre style="word-wrap:break-word"><font color="#000000"><span style="white-space:pre-wrap"><a href="http://jenkins.ovirt.org/job/ovirt-master_change-queue-tester/6839/artifact/exported-artifacts/basic-suit-master-el7/test_logs/basic-suite-master/" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt-master_change-queue-<wbr>tester/6839/artifact/exported-<wbr>artifacts/basic-suit-master-<wbr>el7/test_logs/basic-suite-<wbr>master/</a><span class="HOEnZb"><font color="#888888"><br></font></span></span></font></pre><span class="HOEnZb"><font color="#888888"><pre style="color:rgb(0,0,0);white-space:pre-wrap;word-wrap:break-word"><br></pre></font></span></pre></div><span class="HOEnZb"><font color="#888888"><div><div><br></div>-- <br><div class="m_-2464092753096780469gmail_signature"><div dir="ltr"><font face="overpass, sans-serif" color="#000000" size="2"><span style="text-transform:uppercase"><b>GAL bEN HAIM</b></span></font><div><span style="color:rgb(0,0,0);font-family:overpass,sans-serif;text-transform:uppercase"><font size="2">RHV DEVOPS</font></span><br></div></div></div>
</div></font></span></div>
<br>______________________________<wbr>_________________<br>
Devel mailing list<br>
<a href="mailto:Devel@ovirt.org">Devel@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/devel</a><br></blockquote></div><br></div>