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 problemOn Tue, Apr 17, 2018 at 11:31 AM, Gal Ben Haim <gbenhaim@redhat.com> wrote:______________________________Hi,From last night, the Change Queue fails on every run because of "add_qos" test.From the engine log:2018-04-16 10:31:51,813-04 ERROR [org.ovirt.engine.core.bll.CommandsFactory] (default task-30) [] An exception has occurred while trying to create a command object for command 'AddCpuQos' with parameters 'QosParametersBase:{commandId= 'ccb4d6f4-ca86-4706-921c-f8743 9e0550f', user='null', commandType='Unknown'}': WELD-001407: Cannot declare an injection point with a type variable: [BackedAnnotatedField] @Inject private org.ovirt.engine.core.bll.qos. QosCommandBase.qosDao at org.ovirt.engine.core.bll.qos. QosCommandBase.qosDao(QosComma ndBase.java:0) 2018-04-16 10:31:51,819-04 ERROR [org.ovirt.engine.core.bll.CommandsFactory] (default task-30) [] Exception: org.jboss.weld.exceptions.Defi nitionException: WELD-001407: Cannot declare an injection point with a type variable: [BackedAnnotatedField] @Inject private org.ovirt.engine.core.bll.qos. QosCommandBase.qosDao at org.ovirt.engine.core.bll.qos. QosCommandBase.qosDao(QosComma ndBase.java:0) StackTrace at org.jboss.weld.bootstrap.Valid ator.validateInjectionPointFor DefinitionErrors(Validator. java:295) [weld-core-impl-2.4.3.Final.ja r:2.4.3.Final] at org.jboss.weld.bootstrap.Valid ator.validateInjectionPoint(Va lidator.java:281) [weld-core-impl-2.4.3.Final.ja r:2.4.3.Final] at org.jboss.weld.bootstrap.Valid ator.validateProducer(Validato r.java:400) [weld-core-impl-2.4.3.Final.ja r:2.4.3.Final] at org.jboss.weld.injection.produ cer.InjectionTargetService.val idateProducer(InjectionTargetS ervice.java:36) [weld-core-impl-2.4.3.Final.ja r:2.4.3.Final] at org.jboss.weld.manager.Injecti onTargetFactoryImpl.validate(I njectionTargetFactoryImpl.java :135) [weld-core-impl-2.4.3.Final.ja r:2.4.3.Final] at org.jboss.weld.manager.Injecti onTargetFactoryImpl.createInje ctionTarget(InjectionTargetFac toryImpl.java:79) [weld-core-impl-2.4.3.Final.ja r:2.4.3.Final] at org.jboss.weld.manager.Injecti onTargetFactoryImpl.createInje ctionTarget(InjectionTargetFac toryImpl.java:69) [weld-core-impl-2.4.3.Final.ja r:2.4.3.Final] at org.jboss.weld.manager.BeanMan agerImpl.createInjectionTarget (BeanManagerImpl.java:1140) [weld-core-impl-2.4.3.Final.ja r:2.4.3.Final] at org.jboss.weld.util.Forwarding BeanManager.createInjectionTar get(ForwardingBeanManager. java:201) [weld-core-impl-2.4.3.Final.ja r:2.4.3.Final] at org.ovirt.engine.core.di.Injec tor.injectMembers(Injector. java:29) [vdsbroker.jar:] at org.ovirt.engine.core.bll.Comm andsFactory.createCommand(Comm andsFactory.java:100) [bll.jar:] at org.ovirt.engine.core.bll.Back end.runActionImpl(Backend.java :433) [bll.jar:] at org.ovirt.engine.core.bll.Back end.runAction(Backend.java: 387) [bll.jar:] at sun.reflect.NativeMethodAccess orImpl.invoke0(Native Method) [rt.jar:1.8.0_161] Link to all logs:http://jenkins.ovirt.org/job/o
virt-master_change-queue-teste r/6839/artifact/exported-artif acts/basic-suit-master-el7/ test_logs/basic-suite-master/ --GAL bEN HAIMRHV DEVOPS_________________
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel