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

Build: #1137 failed Changes by Daniel Kayiwa

Stages & jobs

  1. Default Stage

  2. Release

    Requires a user to start manually

Build result summary

Details

Completed
Queue duration
10 seconds
Duration
3 minutes
Labels
None
Revisions
Git
77dbfb1c70bc28f0d20fe7ceb433a5f2c687be74 77dbfb1c70bc28f0d20fe7ceb433a5f2c687be74
Release scripts
f6c02a34b1f29cd954ec9f741a461ee3ca59078f f6c02a34b1f29cd954ec9f741a461ee3ca59078f
Total tests
17
Fixed in
#1138 (Changes by Daniel Kayiwa)

Tests

Responsible

Code commits

Git
Author Commit Message Commit date
Daniel Kayiwa Daniel Kayiwa 77dbfb1c70bc28f0d20fe7ceb433a5f2c687be74 77dbfb1c70bc28f0d20fe7ceb433a5f2c687be74 Fixing privilege required exception when run on 1.11 - TRUNK-4536

Tests

New test failures 3
Status Test View job Duration
Collapse Failed LoginPageControllerTest post_shouldRedirectTheUserToTheHomePageIfTheRedirectUrlIsTheLoginPage History
Default Job < 1 sec
org.openmrs.api.APIException: A user context must first be passed to setUserContext()...use Context.openSession() (and closeSession() to prevent memory leaks!) before using the API
	at org.openmrs.api.context.Context.getUserContext(Context.java:241)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:622)
	at org.powermock.api.mockito.internal.invocation.MockitoMethodInvocationControl$1.invoke(MockitoMethodInvocationControl.java:242)
	at org.powermock.api.mockito.internal.invocation.MockitoMethodInvocationControl.performIntercept(MockitoMethodInvocationControl.java:260)
(41 more lines...)
Collapse Failed LoginPageControllerTest post_shouldSendTheUserBackToTheLoginPageIfAnInvalidLocationIsSelected History
Default Job < 1 sec
org.openmrs.api.APIException: A user context must first be passed to setUserContext()...use Context.openSession() (and closeSession() to prevent memory leaks!) before using the API
	at org.openmrs.api.context.Context.getUserContext(Context.java:241)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:622)
	at org.powermock.api.mockito.internal.invocation.MockitoMethodInvocationControl$1.invoke(MockitoMethodInvocationControl.java:242)
	at org.powermock.api.mockito.internal.invocation.MockitoMethodInvocationControl.performIntercept(MockitoMethodInvocationControl.java:260)
(41 more lines...)
Collapse Failed LoginPageControllerTest post_shouldRedirectTheUserBackToTheRedirectUrlIfAny History
Default Job < 1 sec
org.openmrs.api.APIException: A user context must first be passed to setUserContext()...use Context.openSession() (and closeSession() to prevent memory leaks!) before using the API
	at org.openmrs.api.context.Context.getUserContext(Context.java:241)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:622)
	at org.powermock.api.mockito.internal.invocation.MockitoMethodInvocationControl$1.invoke(MockitoMethodInvocationControl.java:242)
	at org.powermock.api.mockito.internal.invocation.MockitoMethodInvocationControl.performIntercept(MockitoMethodInvocationControl.java:260)
(41 more lines...)

Jira issues

IssueDescriptionStatus
Unknown Issue TypeTRUNK-4536Could not obtain issue details from Jira