Should be fixed now on master as those patches were just merged:

  • https://gerrit.ovirt.org/#/c/65738/ - "Move InjectorRule to VdsBroker": aligns the InjectorRule's package with the Injector so it can essentially be used wherever the Injector is used [+12, -4]
  • https://gerrit.ovirt.org/#/c/65739 - "InjectorRule: override injector anyway": Fixes a bug in InjectorRule where the Injector is only mocked if you call InjectorRule.bind [+6, -1]
  • https://gerrit.ovirt.org/#/c/65740 - "core: InjectorRule for injecting members": Fixes a bug in InjectorRule to allow using Injector.injectMembers when using it [+18, -5]
  • https://gerrit.ovirt.org/#/c/65725 - "core: Fix AuditLogging": The actual fix. Basically, goes over all the places that create an AuditLoggableBase that needs injecting and take care of it [+155, -160]


  • On Wed, Oct 26, 2016 at 10:04 AM, Nadav Goldin <ngoldin@redhat.com> wrote:
    Hi,
    We have new failure on OST from patches merged to master yesterday,
    the failure started after the merge of [1], but as there were quite a
    few patches merged quickly I can't make sure it is the one causing
    it(OST aren't ran per-patch).
    The test that fails is [2] when attempting to start the VM.

    The error from the API side:

    RequestError:
    status: 500
    reason: Internal Server Error
    detail: javax.ejb.EJBException: java.lang.NullPointerException
        at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleExceptionInNoTx(CMTTxInterceptor.java:213)
        at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInNoTx(CMTTxInterceptor.java:265)
        at org.jboss.as.ejb3.tx.CMTTxInterceptor.supports(CMTTxInterceptor.java:374)
        at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:243)
        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    ....

    In the engine logs there are a few 'java.lang.NullPointerException' errors:

    2016-10-25 11:53:52,845 INFO
    [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogableBase]
    (org.ovirt.thread.pool-6-thread-2) [5e6a88be] Failed to get vds
    'd60db21f-95f0-487b-9f17-44861e2610a7', error: null
    2016-10-25 11:53:52,864 DEBUG
    [org.ovirt.engine.core.utils.timer.FixedDelayJobListener]
    (DefaultQuartzScheduler5) [] Rescheduling
    DEFAULT.org.ovirt.engine.core.bll.tasks.AsyncTaskManager.timerElapsed#-9223372036854775787
    as there is no unfired trigger.
    ...
    2016-10-25 11:53:52,845 DEBUG
    [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogableBase]
    (org.ovirt.thread.pool-6-thread-2) [5e6a88be] Exception:
    java.lang.NullPointerException
            at org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogableBase.getVdsStatic(AuditLogableBase.java:633)
    [dal.jar:]
            at org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogableBase.getVdsName(AuditLogableBase.java:504)
    [dal.jar:]
    ...
    2016-10-25 11:53:52,837 INFO
    [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogableBase]
    (org.ovirt.thread.pool-6-thread-2) [5e6a88be] Failed to get vds
    'd60db21f-95f0-487b-9f17-44861e2610a7', error: null
    2016-10-25 11:53:52,837 DEBUG
    [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogableBase]
    (org.ovirt.thread.pool-6-thread-2) [5e6a88be] Exception:
    java.lang.NullPointerException
            at org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogableBase.getVdsStatic(AuditLogableBase.java:633)
    [dal.jar:]
            at org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogableBase.getVdsName(AuditLogableBase.java:504)
    [dal.jar:]
    ...

    The full engine logs can be found here[3] and the entire test suite
    logs here[4].

    Can anyone have a look?

    Thanks,
    Nadav.


    [1] https://gerrit.ovirt.org/#/c/65198/
    [2] https://github.com/oVirt/ovirt-system-tests/blob/master/basic_suite_master/test-scenarios/004_basic_sanity.py#L322
    [3] http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_master/2759/artifact/exported-artifacts/basic_suite_master.sh-fc24/exported-artifacts/test_logs/basic_suite_master/post-004_basic_sanity.py/*zip*/post-004_basic_sanity.py.zip
    [4] http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_master/2759/artifact/exported-artifacts/basic_suite_master.sh-fc24/exported-artifacts/
    _______________________________________________
    Devel mailing list
    Devel@ovirt.org
    http://lists.ovirt.org/mailman/listinfo/devel