Suggested fix: https://gerrit.ovirt.org/#/c/90376/
Waiting for OST result

On Tue, Apr 17, 2018 at 1:25 PM, Tal Nisan <[email protected]> wrote:

> 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
>
> On Tue, Apr 17, 2018 at 11:31 AM, Gal Ben Haim <[email protected]>
> 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-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.QosCommandBase.qosDao
>>      at 
>> org.ovirt.engine.core.bll.qos.QosCommandBase.qosDao(QosCommandBase.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.DefinitionException: 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(QosCommandBase.java:0)
>>   StackTrace
>>      at 
>> org.jboss.weld.bootstrap.Validator.validateInjectionPointForDefinitionErrors(Validator.java:295)
>>  [weld-core-impl-2.4.3.Final.jar:2.4.3.Final]
>>      at 
>> org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:281)
>>  [weld-core-impl-2.4.3.Final.jar:2.4.3.Final]
>>      at 
>> org.jboss.weld.bootstrap.Validator.validateProducer(Validator.java:400) 
>> [weld-core-impl-2.4.3.Final.jar:2.4.3.Final]
>>      at 
>> org.jboss.weld.injection.producer.InjectionTargetService.validateProducer(InjectionTargetService.java:36)
>>  [weld-core-impl-2.4.3.Final.jar:2.4.3.Final]
>>      at 
>> org.jboss.weld.manager.InjectionTargetFactoryImpl.validate(InjectionTargetFactoryImpl.java:135)
>>  [weld-core-impl-2.4.3.Final.jar:2.4.3.Final]
>>      at 
>> org.jboss.weld.manager.InjectionTargetFactoryImpl.createInjectionTarget(InjectionTargetFactoryImpl.java:79)
>>  [weld-core-impl-2.4.3.Final.jar:2.4.3.Final]
>>      at 
>> org.jboss.weld.manager.InjectionTargetFactoryImpl.createInjectionTarget(InjectionTargetFactoryImpl.java:69)
>>  [weld-core-impl-2.4.3.Final.jar:2.4.3.Final]
>>      at 
>> org.jboss.weld.manager.BeanManagerImpl.createInjectionTarget(BeanManagerImpl.java:1140)
>>  [weld-core-impl-2.4.3.Final.jar:2.4.3.Final]
>>      at 
>> org.jboss.weld.util.ForwardingBeanManager.createInjectionTarget(ForwardingBeanManager.java:201)
>>  [weld-core-impl-2.4.3.Final.jar:2.4.3.Final]
>>      at org.ovirt.engine.core.di.Injector.injectMembers(Injector.java:29) 
>> [vdsbroker.jar:]
>>      at 
>> org.ovirt.engine.core.bll.CommandsFactory.createCommand(CommandsFactory.java:100)
>>  [bll.jar:]
>>      at org.ovirt.engine.core.bll.Backend.runActionImpl(Backend.java:433) 
>> [bll.jar:]
>>      at org.ovirt.engine.core.bll.Backend.runAction(Backend.java:387) 
>> [bll.jar:]
>>      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
>> [rt.jar:1.8.0_161]
>>
>>
>> Link to all logs:
>>
>> http://jenkins.ovirt.org/job/ovirt-master_change-queue-tester/6839/artifact/exported-artifacts/basic-suit-master-el7/test_logs/basic-suite-master/
>>
>>
>>
>> --
>> *GAL bEN HAIM*
>> RHV DEVOPS
>>
>> _______________________________________________
>> Devel mailing list
>> [email protected]
>> http://lists.ovirt.org/mailman/listinfo/devel
>>
>
>
_______________________________________________
Devel mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/devel

Reply via email to