Plan for OpenMRS Core 2.0.x

Build: #126 failed

Job: Build and Test failed

Stages & jobs

  1. Build and Test

  2. Deploy

  3. Release

    Requires a user to start manually

Job result summary

Completed
Duration
7 minutes
Revision
b6725e8d98ed34a0310c3caffc92461035afdd0a b6725e8d98ed34a0310c3caffc92461035afdd0a
Total tests
3231
Fixed in
#127 (Code changes detected)

Tests

  • 3,231 tests in total
  • 3 tests failed
  • 3 failures are new
  • 31 tests were quarantined / skipped
  • 4 minutes taken in total.
New test failures 3
Status Test Duration
Collapse Failed OrderEntryIntegrationTest shouldFailIfAnEditedOrderIsFlushed History
< 1 sec
java.lang.AssertionError: 
Expected: (an instance of org.openmrs.api.APIException and exception with message is "Editing some fields on Order is not allowed")
     but: exception with message is "Editing some fields on Order is not allowed" message was "Editing some fields: [instructions] on Order is not allowed"
Stacktrace was: org.openmrs.api.APIException: Editing some fields: [instructions] on Order is not allowed
 at org.openmrs.api.db.hibernate.ImmutableEntityInterceptor.onFlushDirty(ImmutableEntityInterceptor.java:111)
 at org.openmrs.api.db.hibernate.ChainingInterceptor.onFlushDirty(ChainingInterceptor.java:75)
 at org.hibernate.event.internal.DefaultFlushEntityEventListener.invokeInterceptor(DefaultFlushEntityEventListener.java:365)
 at org.hibernate.event.internal.DefaultFlushEntityEventListener.handleInterception(DefaultFlushEntityEventListener.java:342)
(152 more lines...)
Collapse Failed ImmutableEntityInterceptorTest onFlushDirty_shouldFailIfAnEntityHasAChangedProperty History
< 1 sec
java.lang.AssertionError: 
Expected: (an instance of org.openmrs.api.APIException and exception with message is "Editing some fields on Order is not allowed")
     but: exception with message is "Editing some fields on Order is not allowed" message was "Editing some fields: [immutable] on Order is not allowed"
Stacktrace was: org.openmrs.api.APIException: Editing some fields: [immutable] on Order is not allowed
 at org.openmrs.api.db.hibernate.ImmutableEntityInterceptor.onFlushDirty(ImmutableEntityInterceptor.java:111)
 at org.openmrs.api.db.hibernate.ImmutableEntityInterceptorTest.onFlushDirty_shouldFailIfAnEntityHasAChangedProperty(ImmutableEntityInterceptorTest.java:74)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
(104 more lines...)
Collapse Failed ImmutableEntityInterceptorTest onFlushDirty_shouldFailIfTheEditedObjectIsVoidedOrRetiredAndIgnoreIsSetToFalse History
< 1 sec
java.lang.AssertionError: 
Expected: (an instance of org.openmrs.api.APIException and exception with message is "Editing some fields on Order is not allowed")
     but: exception with message is "Editing some fields on Order is not allowed" message was "Editing some fields: [immutable] on Order is not allowed"
Stacktrace was: org.openmrs.api.APIException: Editing some fields: [immutable] on Order is not allowed
 at org.openmrs.api.db.hibernate.ImmutableEntityInterceptor.onFlushDirty(ImmutableEntityInterceptor.java:111)
 at org.openmrs.api.db.hibernate.ImmutableEntityInterceptorTest.onFlushDirty_shouldFailIfTheEditedObjectIsVoidedOrRetiredAndIgnoreIsSetToFalse(ImmutableEntityInterceptorTest.java:106)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
(104 more lines...)

Error summary

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

[Field error in object 'term' on field 'conceptReferenceTermMaps[1].termB': rejected value [weight term(WGT234)]; codes [ConceptReferenceTerm.termToTerm.alreadyMapped.term.conceptReferenceTermMaps[1].termB,ConceptReferenceTerm.termToTerm.alreadyMapped.term.conceptReferenceTermMaps.termB,ConceptReferenceTerm.termToTerm.alreadyMapped.conceptReferenceTermMaps[1].termB,ConceptReferenceTerm.termToTerm.alreadyMapped.conceptReferenceTermMaps.termB,ConceptReferenceTerm.termToTerm.alreadyMapped.termB,ConceptReferenceTerm.termToTerm.alreadyMapped.org.openmrs.ConceptReferenceTerm,ConceptReferenceTerm.termToTerm.alreadyMapped]; arguments []; default message [Cannot map a reference term multiple times to the same concept reference term]]
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/home/bamboo-agent-1/.m2/repository/org/slf4j/slf4j-log4j12/1.6.0/slf4j-log4j12-1.6.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/home/bamboo-agent-1/.m2/repository/org/slf4j/slf4j-log4j12/1.6.0/slf4j-log4j12-1.6.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
INFO 10/10/16 5:09 PM:liquibase: Creating database history table with name: LIQUIBASECHANGELOG
INFO 10/10/16 5:09 PM:liquibase: Reading from LIQUIBASECHANGELOG