Plan for OpenMRS Core 2.0.x

Build: #56 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
10 minutes
Revision
e61d304865fa9b0bab7c281a0061095df2e93017 e61d304865fa9b0bab7c281a0061095df2e93017
Total tests
3191
Fixed in
#57 (Manual run by Daniel Kayiwa)

Tests

  • 3,191 tests in total
  • 5 tests failed
  • 5 failures are new
  • 31 tests were quarantined / skipped
  • 6 minutes taken in total.
New test failures 5
Status Test Duration
Collapse Failed ObsTest isDirty_shouldReturnFalseWhenNoChangeHasBeenMade History
< 1 sec
java.lang.IllegalAccessException: Can not set static final [Z field org.openmrs.Obs.$jacocoData to null value
	at sun.reflect.UnsafeFieldAccessorImpl.throwFinalFieldIllegalAccessException(UnsafeFieldAccessorImpl.java:76)
	at sun.reflect.UnsafeFieldAccessorImpl.throwFinalFieldIllegalAccessException(UnsafeFieldAccessorImpl.java:80)
	at sun.reflect.UnsafeQualifiedStaticObjectFieldAccessorImpl.set(UnsafeQualifiedStaticObjectFieldAccessorImpl.java:77)
	at java.lang.reflect.Field.set(Field.java:764)
	at org.openmrs.ObsTest.setFieldValue(ObsTest.java:97)
	at org.openmrs.ObsTest.createObs(ObsTest.java:77)
	at org.openmrs.ObsTest.isDirty_shouldReturnFalseWhenNoChangeHasBeenMade(ObsTest.java:663)
Collapse Failed ObsTest isDirty_shouldReturnTrueWhenAnImmutableFieldIsChangedFromANonNullToANullValue History
< 1 sec
java.lang.IllegalAccessException: Can not set static final [Z field org.openmrs.Obs.$jacocoData to null value
	at sun.reflect.UnsafeFieldAccessorImpl.throwFinalFieldIllegalAccessException(UnsafeFieldAccessorImpl.java:76)
	at sun.reflect.UnsafeFieldAccessorImpl.throwFinalFieldIllegalAccessException(UnsafeFieldAccessorImpl.java:80)
	at sun.reflect.UnsafeQualifiedStaticObjectFieldAccessorImpl.set(UnsafeQualifiedStaticObjectFieldAccessorImpl.java:77)
	at java.lang.reflect.Field.set(Field.java:764)
	at org.openmrs.ObsTest.setFieldValue(ObsTest.java:97)
	at org.openmrs.ObsTest.createObs(ObsTest.java:77)
	at org.openmrs.ObsTest.isDirty_shouldReturnTrueWhenAnImmutableFieldIsChangedFromANonNullToANullValue(ObsTest.java:730)
Collapse Failed ObsTest isDirty_shouldReturnTrueWhenAnyImmutableFieldHasBeenChanged History
< 1 sec
java.lang.IllegalAccessException: Can not set static final [Z field org.openmrs.Obs.$jacocoData to null value
	at sun.reflect.UnsafeFieldAccessorImpl.throwFinalFieldIllegalAccessException(UnsafeFieldAccessorImpl.java:76)
	at sun.reflect.UnsafeFieldAccessorImpl.throwFinalFieldIllegalAccessException(UnsafeFieldAccessorImpl.java:80)
	at sun.reflect.UnsafeQualifiedStaticObjectFieldAccessorImpl.set(UnsafeQualifiedStaticObjectFieldAccessorImpl.java:77)
	at java.lang.reflect.Field.set(Field.java:764)
	at org.openmrs.ObsTest.setFieldValue(ObsTest.java:97)
	at org.openmrs.ObsTest.createObs(ObsTest.java:77)
	at org.openmrs.ObsTest.isDirty_shouldReturnTrueWhenAnyImmutableFieldHasBeenChanged(ObsTest.java:679)
Collapse Failed ObsTest setFormField_shouldMarkTheObsAsDirtyWhenTheValueHasBeenChanged History
< 1 sec
java.lang.IllegalAccessException: Can not set static final [Z field org.openmrs.Obs.$jacocoData to null value
	at sun.reflect.UnsafeFieldAccessorImpl.throwFinalFieldIllegalAccessException(UnsafeFieldAccessorImpl.java:76)
	at sun.reflect.UnsafeFieldAccessorImpl.throwFinalFieldIllegalAccessException(UnsafeFieldAccessorImpl.java:80)
	at sun.reflect.UnsafeQualifiedStaticObjectFieldAccessorImpl.set(UnsafeQualifiedStaticObjectFieldAccessorImpl.java:77)
	at java.lang.reflect.Field.set(Field.java:764)
	at org.openmrs.ObsTest.setFieldValue(ObsTest.java:97)
	at org.openmrs.ObsTest.createObs(ObsTest.java:77)
	at org.openmrs.ObsTest.setFormField_shouldMarkTheObsAsDirtyWhenTheValueHasBeenChanged(ObsTest.java:765)
Collapse Failed ObsTest setFormField_shouldNotMarkTheObsAsDirtyWhenTheValueHasNotBeenChanged History
< 1 sec
java.lang.IllegalAccessException: Can not set static final [Z field org.openmrs.Obs.$jacocoData to null value
	at sun.reflect.UnsafeFieldAccessorImpl.throwFinalFieldIllegalAccessException(UnsafeFieldAccessorImpl.java:76)
	at sun.reflect.UnsafeFieldAccessorImpl.throwFinalFieldIllegalAccessException(UnsafeFieldAccessorImpl.java:80)
	at sun.reflect.UnsafeQualifiedStaticObjectFieldAccessorImpl.set(UnsafeQualifiedStaticObjectFieldAccessorImpl.java:77)
	at java.lang.reflect.Field.set(Field.java:764)
	at org.openmrs.ObsTest.setFieldValue(ObsTest.java:97)
	at org.openmrs.ObsTest.createObs(ObsTest.java:77)
	at org.openmrs.ObsTest.setFormField_shouldNotMarkTheObsAsDirtyWhenTheValueHasNotBeenChanged(ObsTest.java:754)

Error summary

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

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 4/4/16 12:20 PM:liquibase: Creating database history table with name: LIQUIBASECHANGELOG
INFO 4/4/16 12:20 PM:liquibase: Reading from LIQUIBASECHANGELOG
[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]]