Build: #47 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

  2. Release

    Requires a user to start manually

Job result summary

Completed
Duration
37 seconds
Revision
770f8bf92a4301f8dbfdc5c9428e4812f544a30f 770f8bf92a4301f8dbfdc5c9428e4812f544a30f
Total tests
33
Fixed in
#48 (Code changes detected)

Tests

  • 33 tests in total
  • 3 tests failed
  • 3 failures are new
  • 24 seconds taken in total.
New test failures 3
Status Test Duration
Collapse Failed UpdaterTest runUpdate_shouldCreateItemForEachConceptAndMapping History
< 1 sec
Wanted but not invoked:  Wanted but not invoked: updateService.saveItems(     (a collection containing uuid is "1001AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" and a collection containing uuid is "1002AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" and a collection containing uuid is "1003AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA") ); -> at org.openmrs.module.openconceptlab.updater.UpdaterTest.runUpdate_shouldCreateItemForEachConceptAndMapping(UpdaterTest.java:162) Actually, there were zero interactions with this mock. 
Wanted but not invoked:
updateService.saveItems(
    (a collection containing uuid is "1001AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" and a collection containing uuid is "1002AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" and a collection containing uuid is "1003AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA")
);
-> at org.openmrs.module.openconceptlab.updater.UpdaterTest.runUpdate_shouldCreateItemForEachConceptAndMapping(UpdaterTest.java:162)
Actually, there were zero interactions with this mock.

(32 more lines...)
Collapse Failed UpdaterTest runUpdate_shouldStartFirstUpdateWithResponseDate History
< 1 sec
Wanted but not invoked:  Wanted but not invoked: updateService.updateOclDateStarted(     <any>,     Tue Jan 12 12:14:31 UTC 2016 ); -> at org.openmrs.module.openconceptlab.updater.UpdaterTest.runUpdate_shouldStartFirstUpdateWithResponseDate(UpdaterTest.java:88) Actually, there were zero interactions with this mock. 
Wanted but not invoked:
updateService.updateOclDateStarted(
    <any>,
    Tue Jan 12 12:14:31 UTC 2016
);
-> at org.openmrs.module.openconceptlab.updater.UpdaterTest.runUpdate_shouldStartFirstUpdateWithResponseDate(UpdaterTest.java:88)
Actually, there were zero interactions with this mock.
(33 more lines...)
Collapse Failed UpdaterTest runUpdate_shouldStartNextUpdateWithUpdatedSince History
< 1 sec
Wanted but not invoked:  Wanted but not invoked: updateService.updateOclDateStarted(     <any>,     Tue Jan 12 12:14:31 UTC 2016 ); -> at org.openmrs.module.openconceptlab.updater.UpdaterTest.runUpdate_shouldStartNextUpdateWithUpdatedSince(UpdaterTest.java:113) Actually, there were zero interactions with this mock. 
Wanted but not invoked:
updateService.updateOclDateStarted(
    <any>,
    Tue Jan 12 12:14:31 UTC 2016
);
-> at org.openmrs.module.openconceptlab.updater.UpdaterTest.runUpdate_shouldStartNextUpdateWithUpdatedSince(UpdaterTest.java:113)
Actually, there were zero interactions with this mock.
(33 more lines...)

Error summary

The build generated some errors. See the full build log for more details.

Exception in thread "Thread-0" org.openmrs.api.APIException: contextDAO is null
        at org.openmrs.api.context.Context.getContextDAO(Context.java:169)
        at org.openmrs.api.context.Context.closeSession(Context.java:733)
        at org.openmrs.api.context.Daemon$5.run(Daemon.java:258)
Exception in thread "Thread-1" org.openmrs.api.APIException: contextDAO is null
        at org.openmrs.api.context.Context.getContextDAO(Context.java:169)
        at org.openmrs.api.context.Context.closeSession(Context.java:733)
        at org.openmrs.api.context.Daemon$5.run(Daemon.java:258)
Exception in thread "Thread-2" org.openmrs.api.APIException: contextDAO is null
        at org.openmrs.api.context.Context.getContextDAO(Context.java:169)
        at org.openmrs.api.context.Context.closeSession(Context.java:733)
        at org.openmrs.api.context.Daemon$5.run(Daemon.java:258)