Runs unit test and deploys artifacts to artifactory. More details of the release in https://wiki.openmrs.org/x/i4DTAw

Build: #2 failed Changes by Wyclif Luyima and Darius Jazayeri

Stages & jobs

  1. Test module

  2. Release

    Requires a user to start manually

Build result summary

Details

Completed
Duration
56 seconds
Labels
None
Revisions
Git
21ec19a66539667147dca89147db5e2bedc7106d 21ec19a66539667147dca89147db5e2bedc7106d
Release scripts
8ad880e0b0c21a2d094411a51f7951e0b9148c4a 8ad880e0b0c21a2d094411a51f7951e0b9148c4a
Total tests
56
Fixed in
#4 (Changes by Wyclif Luyima)

Tests

Responsible

Code commits

Git
Author Commit Message Commit date
Darius Jazayeri Darius Jazayeri 21ec19a66539667147dca89147db5e2bedc7106d 21ec19a66539667147dca89147db5e2bedc7106d Bamboo was unable to extract changes between revision d83f3afc108053dd2173394036fddf45c047b6b8 and 21ec19a66539667147dca89147db5e2bedc7106d.
Wyclif Luyima Wyclif Luyima 21ec19a66539667147dca89147db5e2bedc7106d 21ec19a66539667147dca89147db5e2bedc7106d Changed interceptor logic to use the passed in state to get the encounter type
Changed interceptor logic to use the passed in state to get the encounter type

Configuration changes

Plan configuration has changed since the last successful build. See the plan audit log for more details.

Tests

New test failures 2
Status Test View job Duration
Collapse Failed DataFilterInterceptorTest onLoad_shouldFailWithAnExceptionIfTheAuthenticatedUserIsNotAllowedToViewThePrivilegedObsGettingLoaded History
Build and test Module < 1 sec
java.lang.AssertionError: Expected test to throw (an instance of org.openmrs.api.context.ContextAuthenticationException and exception with message "Illegal Record Access")
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.rules.ExpectedException.failDueToMissingException(ExpectedException.java:263)
	at org.junit.rules.ExpectedException.access$200(ExpectedException.java:106)
	at org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:245)
	at org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl$PowerMockJUnit47MethodRunner.evaluateStatement(PowerMockJUnit47RunnerDelegateImpl.java:107)
	at org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl$PowerMockJUnit47MethodRunner.executeTest(PowerMockJUnit47RunnerDelegateImpl.java:82)
	at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl$PowerMockJUnit44MethodRunner.runBeforesThenTestThenAfters(PowerMockJUnit44RunnerDelegateImpl.java:288)
(23 more lines...)
Collapse Failed DataFilterInterceptorTest onLoad_shouldFailWithAnExceptionIfTheAuthenticatedUserIsNotAllowedToViewThePrivilegedEncounterGettingLoaded History
Build and test Module < 1 sec
java.lang.AssertionError: Expected test to throw (an instance of org.openmrs.api.context.ContextAuthenticationException and exception with message "Illegal Record Access")
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.rules.ExpectedException.failDueToMissingException(ExpectedException.java:263)
	at org.junit.rules.ExpectedException.access$200(ExpectedException.java:106)
	at org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:245)
	at org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl$PowerMockJUnit47MethodRunner.evaluateStatement(PowerMockJUnit47RunnerDelegateImpl.java:107)
	at org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl$PowerMockJUnit47MethodRunner.executeTest(PowerMockJUnit47RunnerDelegateImpl.java:82)
	at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl$PowerMockJUnit44MethodRunner.runBeforesThenTestThenAfters(PowerMockJUnit44RunnerDelegateImpl.java:288)
(23 more lines...)