Build: #1058 failed Changes by Wyclif Luyima

Stages & jobs

  1. Build and Test

  2. Deploy

  3. Release

    Requires a user to start manually

Build result summary

Details

Completed
Duration
20 minutes
Labels
None
Revisions
openmrs-core
c204dba1cdfcb39902fdb4cf2428f8a18b5b212f c204dba1cdfcb39902fdb4cf2428f8a18b5b212f
openmrs-standalone
41a2cffb1610c5fa8815db2d6173f99e68ad4f6d 41a2cffb1610c5fa8815db2d6173f99e68ad4f6d
Release scripts
a9c6b4741f415820e397e9b150cf80baca7f9368 a9c6b4741f415820e397e9b150cf80baca7f9368
Total tests
3148
Fixed in
#1059 (Changes by Wyclif Luyima)

Tests

Responsible

Code commits

openmrs-core
Author Commit Message Commit date
Wyclif Luyima Wyclif Luyima c204dba1cdfcb39902fdb4cf2428f8a18b5b212f c204dba1cdfcb39902fdb4cf2428f8a18b5b212f Merge pull request #1568 from ivange94/TRUNK-4752
TRUNK-4752: User password should be validated before changing it
Ivange Larry <ivangelarry@gmail.com> Ivange Larry <ivangelarry@gmail.com> 68ede20ab70d4ea39e20c99dbb9482e5e56be424 m 68ede20ab70d4ea39e20c99dbb9482e5e56be424 TRUNK-4752: Delegated password validation to, UserServiceImpl.changePassword(User u, String oldPassword, String newPassword)
removed unused imports

Tests

New test failures 6
Status Test View job Duration
Collapse Failed UserServiceTest changeHashedPassword_shouldChangeTheHashedPasswordForTheGivenUser History
Build and Test < 1 sec
org.openmrs.api.InvalidCharactersPasswordException: error.password.requireMixedCase
	at org.openmrs.util.OpenmrsUtil.validatePassword(OpenmrsUtil.java:2216)
	at org.openmrs.api.impl.UserServiceImpl.changePassword(UserServiceImpl.java:741)
	at org.openmrs.api.impl.UserServiceImpl.changePassword(UserServiceImpl.java:363)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
(25 more lines...)
Collapse Failed UserServiceTest changePassword_shouldMatchOnCorrectlyHashedSha1StoredPassword History
Build and Test < 1 sec
org.openmrs.api.ShortPasswordException: error.password.length
	at org.openmrs.util.OpenmrsUtil.validatePassword(OpenmrsUtil.java:2205)
	at org.openmrs.api.impl.UserServiceImpl.changePassword(UserServiceImpl.java:741)
	at org.openmrs.api.impl.UserServiceImpl.changePassword(UserServiceImpl.java:363)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
(25 more lines...)
Collapse Failed UserServiceTest changePassword_shouldMatchOnIncorrectlyHashedSha1StoredPassword History
Build and Test < 1 sec
org.openmrs.api.ShortPasswordException: error.password.length
	at org.openmrs.util.OpenmrsUtil.validatePassword(OpenmrsUtil.java:2205)
	at org.openmrs.api.impl.UserServiceImpl.changePassword(UserServiceImpl.java:741)
	at org.openmrs.api.impl.UserServiceImpl.changePassword(UserServiceImpl.java:363)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
(25 more lines...)
Collapse Failed UserServiceTest changePassword_shouldMatchOnSha512HashedPassword History
Build and Test < 1 sec
org.openmrs.api.ShortPasswordException: error.password.length
	at org.openmrs.util.OpenmrsUtil.validatePassword(OpenmrsUtil.java:2205)
	at org.openmrs.api.impl.UserServiceImpl.changePassword(UserServiceImpl.java:741)
	at org.openmrs.api.impl.UserServiceImpl.changePassword(UserServiceImpl.java:363)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
(25 more lines...)
Collapse Failed UserServiceTest changePassword_shouldBeAbleToUpdatePasswordMultipleTimes History
Build and Test < 1 sec
org.openmrs.api.ShortPasswordException: error.password.length
	at org.openmrs.util.OpenmrsUtil.validatePassword(OpenmrsUtil.java:2205)
	at org.openmrs.api.impl.UserServiceImpl.changePassword(UserServiceImpl.java:741)
	at org.openmrs.api.impl.UserServiceImpl.changePassword(UserServiceImpl.java:363)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
(25 more lines...)
Collapse Failed UserServiceTest changePassword_shouldChangePasswordForTheGivenUserAndPassword History
Build and Test < 1 sec
org.openmrs.api.InvalidCharactersPasswordException: error.password.requireMixedCase
	at org.openmrs.util.OpenmrsUtil.validatePassword(OpenmrsUtil.java:2216)
	at org.openmrs.api.impl.UserServiceImpl.changePassword(UserServiceImpl.java:741)
	at org.openmrs.api.impl.UserServiceImpl.changePassword(UserServiceImpl.java:363)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
(25 more lines...)

Jira issues

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