Sonar metrics for OpenMRS Core Master

Build: #844 failed

Job: Sonar Full Analysis failed

Stages & jobs

  1. Sonar Analysis

Job result summary

Completed
Duration
7 minutes
Revision
0afea95902e4d43f5d1234076e57fd83c5b31225 0afea95902e4d43f5d1234076e57fd83c5b31225
Total tests
3207
Fixed in
#845 (Manual run by Daniel Kayiwa)

Tests

  • 3,207 tests in total
  • 5 tests failed
  • 5 failures are new
  • 31 tests were quarantined / skipped
  • 4 minutes taken in total.
New test failures 5
Status Test Duration
Collapse Failed ObsTest isDirty_shouldReturnFalseWhenNoChangeHasBeenMade History
< 1 sec
java.lang.InstantiationException: [Z
	at java.lang.Class.getConstructor0(Class.java:3082)
	at java.lang.Class.newInstance(Class.java:412)
	at org.openmrs.ObsTest.generateValue(ObsTest.java:127)
	at org.openmrs.ObsTest.setFieldValue(ObsTest.java:90)
	at org.openmrs.ObsTest.createObs(ObsTest.java:77)
	at org.openmrs.ObsTest.isDirty_shouldReturnFalseWhenNoChangeHasBeenMade(ObsTest.java:659)
Collapse Failed ObsTest isDirty_shouldReturnTrueWhenAnImmutableFieldIsChangedFromANonNullToANullValue History
< 1 sec
java.lang.InstantiationException: [Z
	at java.lang.Class.getConstructor0(Class.java:3082)
	at java.lang.Class.newInstance(Class.java:412)
	at org.openmrs.ObsTest.generateValue(ObsTest.java:127)
	at org.openmrs.ObsTest.setFieldValue(ObsTest.java:90)
	at org.openmrs.ObsTest.createObs(ObsTest.java:77)
	at org.openmrs.ObsTest.isDirty_shouldReturnTrueWhenAnImmutableFieldIsChangedFromANonNullToANullValue(ObsTest.java:726)
Collapse Failed ObsTest isDirty_shouldReturnTrueWhenAnyImmutableFieldHasBeenChanged History
< 1 sec
java.lang.InstantiationException: [Z
	at java.lang.Class.getConstructor0(Class.java:3082)
	at java.lang.Class.newInstance(Class.java:412)
	at org.openmrs.ObsTest.generateValue(ObsTest.java:127)
	at org.openmrs.ObsTest.setFieldValue(ObsTest.java:90)
	at org.openmrs.ObsTest.createObs(ObsTest.java:77)
	at org.openmrs.ObsTest.isDirty_shouldReturnTrueWhenAnyImmutableFieldHasBeenChanged(ObsTest.java:675)
Collapse Failed ObsTest setFormField_shouldMarkTheObsAsDirtyWhenTheValueHasBeenChanged History
< 1 sec
java.lang.InstantiationException: [Z
	at java.lang.Class.getConstructor0(Class.java:3082)
	at java.lang.Class.newInstance(Class.java:412)
	at org.openmrs.ObsTest.generateValue(ObsTest.java:127)
	at org.openmrs.ObsTest.setFieldValue(ObsTest.java:90)
	at org.openmrs.ObsTest.createObs(ObsTest.java:77)
	at org.openmrs.ObsTest.setFormField_shouldMarkTheObsAsDirtyWhenTheValueHasBeenChanged(ObsTest.java:761)
Collapse Failed ObsTest setFormField_shouldNotMarkTheObsAsDirtyWhenTheValueHasNotBeenChanged History
< 1 sec
java.lang.InstantiationException: [Z
	at java.lang.Class.getConstructor0(Class.java:3082)
	at java.lang.Class.newInstance(Class.java:412)
	at org.openmrs.ObsTest.generateValue(ObsTest.java:127)
	at org.openmrs.ObsTest.setFieldValue(ObsTest.java:90)
	at org.openmrs.ObsTest.createObs(ObsTest.java:77)
	at org.openmrs.ObsTest.setFormField_shouldNotMarkTheObsAsDirtyWhenTheValueHasNotBeenChanged(ObsTest.java:750)

Error summary

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

INFO 4/4/16 9:07 PM:liquibase: liquibase.xml is using schema version 1.9 rather than version 2.0
INFO 4/4/16 9:07 PM:liquibase: Reading from LIQUIBASECHANGELOG
INFO 4/4/16 9:07 PM:liquibase: Successfully acquired change log lock
INFO 4/4/16 9:07 PM:liquibase: liquibase.xml is using schema version 1.9 rather than version 2.0
INFO 4/4/16 9:07 PM:liquibase: Successfully released change log lock
INFO 4/4/16 9:07 PM:liquibase: liquibase.xml is using schema version 1.9 rather than version 2.0
INFO 4/4/16 9:07 PM:liquibase: Reading from LIQUIBASECHANGELOG
INFO 4/4/16 9:07 PM:liquibase: Successfully acquired change log lock
INFO 4/4/16 9:07 PM:liquibase: liquibase.xml is using schema version 1.9 rather than version 2.0
INFO 4/4/16 9:07 PM:liquibase: Successfully released change log lock
INFO 4/4/16 9:07 PM:liquibase: liquibase.xml is using schema version 1.9 rather than version 2.0
INFO 4/4/16 9:07 PM:liquibase: Reading from LIQUIBASECHANGELOG
INFO 4/4/16 9:07 PM:liquibase: Successfully acquired change log lock
INFO 4/4/16 9:07 PM:liquibase: liquibase.xml is using schema version 1.9 rather than version 2.0
INFO 4/4/16 9:07 PM:liquibase: Successfully released change log lock
INFO 4/4/16 9:07 PM:liquibase: liquibase.xml is using schema version 1.9 rather than version 2.0
INFO 4/4/16 9:07 PM:liquibase: Reading from LIQUIBASECHANGELOG
INFO 4/4/16 9:07 PM:liquibase: Successfully acquired change log lock
INFO 4/4/16 9:07 PM:liquibase: liquibase.xml is using schema version 1.9 rather than version 2.0
INFO 4/4/16 9:07 PM:liquibase: Successfully released change log lock
INFO 4/4/16 9:07 PM:liquibase: liquibase.xml is using schema version 1.9 rather than version 2.0
INFO 4/4/16 9:07 PM:liquibase: Reading from LIQUIBASECHANGELOG
INFO 4/4/16 9:07 PM:liquibase: Successfully acquired change log lock
INFO 4/4/16 9:07 PM:liquibase: liquibase.xml is using schema version 1.9 rather than version 2.0
INFO 4/4/16 9:07 PM:liquibase: Successfully released change log lock
INFO 4/4/16 9:07 PM:liquibase: liquibase.xml is using schema version 1.9 rather than version 2.0
INFO 4/4/16 9:07 PM:liquibase: Reading from LIQUIBASECHANGELOG
INFO 4/4/16 9:07 PM:liquibase: Successfully acquired change log lock
INFO 4/4/16 9:07 PM:liquibase: liquibase.xml is using schema version 1.9 rather than version 2.0
INFO 4/4/16 9:07 PM:liquibase: Successfully released change log lock
INFO 4/4/16 9:07 PM:liquibase: liquibase.xml is using schema version 1.9 rather than version 2.0
INFO 4/4/16 9:07 PM:liquibase: Reading from LIQUIBASECHANGELOG
INFO 4/4/16 9:07 PM:liquibase: Successfully acquired change log lock
INFO 4/4/16 9:07 PM:liquibase: liquibase.xml is using schema version 1.9 rather than version 2.0
INFO 4/4/16 9:07 PM:liquibase: Successfully released change log lock
INFO 4/4/16 9:07 PM:liquibase: liquibase.xml is using schema version 1.9 rather than version 2.0
INFO 4/4/16 9:07 PM:liquibase: Reading from LIQUIBASECHANGELOG
INFO 4/4/16 9:07 PM:liquibase: Successfully acquired change log lock
INFO 4/4/16 9:07 PM:liquibase: liquibase.xml is using schema version 1.9 rather than version 2.0
INFO 4/4/16 9:07 PM:liquibase: Successfully released change log lock
INFO 4/4/16 9:07 PM:liquibase: liquibase.xml is using schema version 1.9 rather than version 2.0
INFO 4/4/16 9:07 PM:liquibase: Reading from LIQUIBASECHANGELOG
INFO 4/4/16 9:07 PM:liquibase: Successfully acquired change log lock
INFO 4/4/16 9:07 PM:liquibase: liquibase.xml is using schema version 1.9 rather than version 2.0
INFO 4/4/16 9:07 PM:liquibase: Successfully released change log lock
INFO 4/4/16 9:07 PM:liquibase: liquibase.xml is using schema version 1.9 rather than version 2.0
INFO 4/4/16 9:07 PM:liquibase: Reading from LIQUIBASECHANGELOG
INFO 4/4/16 9:07 PM:liquibase: Successfully acquired change log lock
INFO 4/4/16 9:07 PM:liquibase: liquibase.xml is using schema version 1.9 rather than version 2.0
INFO 4/4/16 9:07 PM:liquibase: Successfully released change log lock
INFO 4/4/16 9:07 PM:liquibase: liquibase.xml is using schema version 1.9 rather than version 2.0
INFO 4/4/16 9:07 PM:liquibase: Reading from LIQUIBASECHANGELOG
INFO 4/4/16 9:07 PM:liquibase: Successfully acquired change log lock
INFO 4/4/16 9:07 PM:liquibase: liquibase.xml is using schema version 1.9 rather than version 2.0
INFO 4/4/16 9:07 PM:liquibase: Successfully released change log lock
INFO 4/4/16 9:07 PM:liquibase: liquibase.xml is using schema version 1.9 rather than version 2.0
INFO 4/4/16 9:07 PM:liquibase: Reading from LIQUIBASECHANGELOG
INFO 4/4/16 9:07 PM:liquibase: Successfully acquired change log lock
INFO 4/4/16 9:07 PM:liquibase: liquibase.xml is using schema version 1.9 rather than version 2.0
INFO 4/4/16 9:07 PM:liquibase: Successfully released change log lock
INFO 4/4/16 9:07 PM:liquibase: liquibase.xml is using schema version 1.9 rather than version 2.0
INFO 4/4/16 9:07 PM:liquibase: Reading from LIQUIBASECHANGELOG
INFO 4/4/16 9:07 PM:liquibase: Successfully acquired change log lock
INFO 4/4/16 9:07 PM:liquibase: liquibase.xml is using schema version 1.9 rather than version 2.0
INFO 4/4/16 9:07 PM:liquibase: Successfully released change log lock
INFO 4/4/16 9:07 PM:liquibase: liquibase.xml is using schema version 1.9 rather than version 2.0
INFO 4/4/16 9:07 PM:liquibase: Reading from LIQUIBASECHANGELOG
INFO 4/4/16 9:07 PM:liquibase: Successfully acquired change log lock
INFO 4/4/16 9:07 PM:liquibase: liquibase.xml is using schema version 1.9 rather than version 2.0
INFO 4/4/16 9:07 PM:liquibase: Successfully released change log lock
INFO 4/4/16 9:07 PM:liquibase: liquibase.xml is using schema version 1.9 rather than version 2.0
INFO 4/4/16 9:07 PM:liquibase: Reading from LIQUIBASECHANGELOG
INFO 4/4/16 9:07 PM:liquibase: Successfully acquired change log lock
INFO 4/4/16 9:07 PM:liquibase: liquibase.xml is using schema version 1.9 rather than version 2.0
INFO 4/4/16 9:07 PM:liquibase: Successfully released change log lock
INFO 4/4/16 9:07 PM:liquibase: liquibase.xml is using schema version 1.9 rather than version 2.0
INFO 4/4/16 9:07 PM:liquibase: Reading from LIQUIBASECHANGELOG
INFO 4/4/16 9:07 PM:liquibase: Successfully acquired change log lock
INFO 4/4/16 9:07 PM:liquibase: liquibase.xml is using schema version 1.9 rather than version 2.0
INFO 4/4/16 9:07 PM:liquibase: Successfully released change log lock
INFO 4/4/16 9:07 PM:liquibase: liquibase.xml is using schema version 1.9 rather than version 2.0
INFO 4/4/16 9:07 PM:liquibase: Reading from LIQUIBASECHANGELOG
INFO 4/4/16 9:07 PM:liquibase: Successfully acquired change log lock
INFO 4/4/16 9:07 PM:liquibase: liquibase.xml is using schema version 1.9 rather than version 2.0
INFO 4/4/16 9:07 PM:liquibase: Successfully released change log lock
INFO 4/4/16 9:07 PM:liquibase: liquibase.xml is using schema version 1.9 rather than version 2.0
INFO 4/4/16 9:07 PM:liquibase: Reading from LIQUIBASECHANGELOG
INFO 4/4/16 9:07 PM:liquibase: Successfully acquired change log lock
INFO 4/4/16 9:07 PM:liquibase: liquibase.xml is using schema version 1.9 rather than version 2.0
INFO 4/4/16 9:07 PM:liquibase: Successfully released change log lock
INFO 4/4/16 9:07 PM:liquibase: liquibase.xml is using schema version 1.9 rather than version 2.0
INFO 4/4/16 9:07 PM:liquibase: Reading from LIQUIBASECHANGELOG
INFO 4/4/16 9:07 PM:liquibase: Successfully acquired change log lock
INFO 4/4/16 9:07 PM:liquibase: liquibase.xml is using schema version 1.9 rather than version 2.0
INFO 4/4/16 9:07 PM:liquibase: Successfully released change log lock
INFO 4/4/16 9:07 PM:liquibase: liquibase.xml is using schema version 1.9 rather than version 2.0
INFO 4/4/16 9:07 PM:liquibase: Reading from LIQUIBASECHANGELOG
INFO 4/4/16 9:07 PM:liquibase: Successfully acquired change log lock
INFO 4/4/16 9:07 PM:liquibase: liquibase.xml is using schema version 1.9 rather than version 2.0
INFO 4/4/16 9:07 PM:liquibase: Successfully released change log lock