dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #00443
test errors on build
Hi
I just did a clean rebuild of the latest source code and I'm picking
up some test failures on the dhis-service-reporting - details
attached. Haven't looked into the cause of the test failures yet but
just flagging the issue for now. Perhaps the tests have got out of
synch with the code developments:
Bob
[INFO] ------------------------------------------------------------------------
[INFO] Building DHIS Reporting Service
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] [resources:resources]
[INFO] Using encoding: 'UTF-8' to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 42 source files to /home/bobj/src/dhis2/dhis2/dhis-2/dhis-services/dhis-service-reporting/target/classes
[INFO] [resources:testResources]
[INFO] Using encoding: 'UTF-8' to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Compiling 18 source files to /home/bobj/src/dhis2/dhis2/dhis-2/dhis-services/dhis-service-reporting/target/test-classes
[INFO] [surefire:test]
[INFO] Surefire report directory: /home/bobj/src/dhis2/dhis2/dhis-2/dhis-services/dhis-service-reporting/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.hisp.dhis.reporttable.ReportTableStoreTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.651 sec
Running org.hisp.dhis.report.ReportManagerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.587 sec
Running org.hisp.dhis.completeness.DataSetCompletenessServiceTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 39.628 sec
Running org.hisp.dhis.completeness.DataSetCompletenessInternalProcessTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.3 sec
Running org.hisp.dhis.reporttable.ReportTableStatementTest
Tests run: 6, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 25.451 sec <<< FAILURE!
Running org.hisp.dhis.reporttable.ReportTableTest
Tests run: 12, Failures: 12, Errors: 0, Skipped: 0, Time elapsed: 49.09 sec <<< FAILURE!
Running org.hisp.dhis.report.ReportStoreTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.658 sec
Running org.hisp.dhis.olap.OlapURLServiceTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.849 sec
Running org.hisp.dhis.olap.OlapURLStoreTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.856 sec
Running org.hisp.dhis.reporttable.ReportTableManagerTest
Tests run: 6, Failures: 0, Errors: 5, Skipped: 0, Time elapsed: 24.775 sec <<< FAILURE!
Running org.hisp.dhis.document.DocumentStoreTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.369 sec
Running org.hisp.dhis.chart.ChartStoreTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.878 sec
Running org.hisp.dhis.chart.ChartServiceTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 21.089 sec
Running org.hisp.dhis.workbook.WorkbookServiceTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.05 sec
Running org.hisp.dhis.document.DocumentServiceTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.095 sec
Running org.hisp.dhis.pdf.PdfServiceTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.348 sec
Running org.hisp.dhis.reporttable.ReportTableCreatorTest
Tests run: 12, Failures: 0, Errors: 12, Skipped: 0, Time elapsed: 50.665 sec <<< FAILURE!
Results :
Failed tests:
testIndicatorReportTableA(org.hisp.dhis.reporttable.ReportTableTest)
testIndicatorReportTableB(org.hisp.dhis.reporttable.ReportTableTest)
testIndicatorReportTableC(org.hisp.dhis.reporttable.ReportTableTest)
testDataElementReportTableA(org.hisp.dhis.reporttable.ReportTableTest)
testDataElementReportTableB(org.hisp.dhis.reporttable.ReportTableTest)
testDataElementReportTableC(org.hisp.dhis.reporttable.ReportTableTest)
testDataElementWithCategoryOptionReportTableA(org.hisp.dhis.reporttable.ReportTableTest)
testDataElementWithCategoryOptionReportTableB(org.hisp.dhis.reporttable.ReportTableTest)
testDataElementWithCategoryOptionReportTableC(org.hisp.dhis.reporttable.ReportTableTest)
testDataSetReportTableA(org.hisp.dhis.reporttable.ReportTableTest)
testDataSetReportTableB(org.hisp.dhis.reporttable.ReportTableTest)
testDataSetReportTableC(org.hisp.dhis.reporttable.ReportTableTest)
Tests in error:
testGetReportTableDataStatementIndicatorsMode(org.hisp.dhis.reporttable.ReportTableStatementTest)
testGetReportTableDataStatementDataElementsModeWithCategoryOptionCombos(org.hisp.dhis.reporttable.ReportTableStatementTest)
testGetReportTableDataStatementDataElementsMode(org.hisp.dhis.reporttable.ReportTableStatementTest)
testGetReportTableDataStatementDataSetsMode(org.hisp.dhis.reporttable.ReportTableStatementTest)
testCreateReportTable(org.hisp.dhis.reporttable.ReportTableManagerTest)
testGetAggregatedValueMapForIndicator(org.hisp.dhis.reporttable.ReportTableManagerTest)
testGetAggregatedValueForDataElement(org.hisp.dhis.reporttable.ReportTableManagerTest)
testGetAggregatedValueForDataElementWithCategoryOptionCombo(org.hisp.dhis.reporttable.ReportTableManagerTest)
testGetAggregatedValueForDataSet(org.hisp.dhis.reporttable.ReportTableManagerTest)
testCreateDataElementReportTableA(org.hisp.dhis.reporttable.ReportTableCreatorTest)
testCreateDataElementReportTableB(org.hisp.dhis.reporttable.ReportTableCreatorTest)
testCreateDataElementReportTableC(org.hisp.dhis.reporttable.ReportTableCreatorTest)
testCreateDataElementWithCategoryOptionComboReportTableA(org.hisp.dhis.reporttable.ReportTableCreatorTest)
testCreateDataElementWithCategoryOptionComboReportTableB(org.hisp.dhis.reporttable.ReportTableCreatorTest)
testCreateDataElementWithCategoryOptionComboReportTableC(org.hisp.dhis.reporttable.ReportTableCreatorTest)
testCreateIndicatorReportTableA(org.hisp.dhis.reporttable.ReportTableCreatorTest)
testCreateIndicatorReportTableB(org.hisp.dhis.reporttable.ReportTableCreatorTest)
testCreateIndicatorReportTableC(org.hisp.dhis.reporttable.ReportTableCreatorTest)
testCreateDataSetReportTableA(org.hisp.dhis.reporttable.ReportTableCreatorTest)
testCreateDataSetReportTableB(org.hisp.dhis.reporttable.ReportTableCreatorTest)
testCreateDataSetReportTableC(org.hisp.dhis.reporttable.ReportTableCreatorTest)
Tests run: 82, Failures: 12, Errors: 21, Skipped: 0
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.
Follow ups