Uploaded image for project: 'OpenMRS SDK'
  1. OpenMRS SDK
  2. SDK-297

SDK build failing

    XMLWordPrintable

Details

    • Bug
    • Status: Needs Assessment
    • TBD
    • Resolution: Unresolved
    • None
    • None
    • None
    • None
    • Undetermined

    Description

      Tests are failing. It looks like the frontend is not being built in integration tests.

       

      [ERROR] deploy_shouldUpgradeDistroFromDistroProperties(org.openmrs.maven.plugins.DeployIntegrationTest)  Time elapsed: 305.272 s  <<< FAILURE!
      25-Jan-2022 14:25:26 	java.lang.AssertionError: 
      25-Jan-2022 14:25:26 	Expected /home/bamboo-agent/bamboo-agent/xml-data/build-dir/SDK-SDK-JOB1/integration-tests/target/test-classes/integration-test/e11ac10a-9823-475d-95ec-60b8432765c1/frontend/index.html to be an existing file or directory
      25-Jan-2022 14:25:26 	Expected: an existing file or directory
      25-Jan-2022 14:25:26 	     but: does not exist
      25-Jan-2022 14:25:26 	        at org.openmrs.maven.plugins.DeployIntegrationTest.deploy_shouldUpgradeDistroFromDistroProperties(DeployIntegrationTest.java:124)
      25-Jan-2022 14:25:26 	
      25-Jan-2022 14:25:26 	[INFO] Running org.openmrs.maven.plugins.BuildIntegrationTest
      25-Jan-2022 14:27:12 	[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 106.768 s - in org.openmrs.maven.plugins.BuildIntegrationTest
      25-Jan-2022 14:27:12 	[INFO] Running org.openmrs.maven.plugins.FetchIntegrationTest
      25-Jan-2022 14:27:28 	[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.823 s - in org.openmrs.maven.plugins.FetchIntegrationTest
      25-Jan-2022 14:27:28 	[INFO] Running org.openmrs.maven.plugins.BuildDistroIntegrationTest
      25-Jan-2022 14:32:50 	[ERROR] Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 321.704 s <<< FAILURE! - in org.openmrs.maven.plugins.BuildDistroIntegrationTest
      25-Jan-2022 14:32:50 	[ERROR] testBuildDistroFromDistroFile(org.openmrs.maven.plugins.BuildDistroIntegrationTest)  Time elapsed: 297.361 s  <<< FAILURE!
      25-Jan-2022 14:32:50 	java.lang.AssertionError: 
      25-Jan-2022 14:32:50 	Expected /home/bamboo-agent/bamboo-agent/xml-data/build-dir/SDK-SDK-JOB1/integration-tests/target/test-classes/integration-test/target/web/frontend/index.html to be an existing file or directory
      25-Jan-2022 14:32:50 	Expected: an existing file or directory
      25-Jan-2022 14:32:50 	     but: does not exist
      25-Jan-2022 14:32:50 	        at org.openmrs.maven.plugins.BuildDistroIntegrationTest.testBuildDistroFromDistroFile(BuildDistroIntegrationTest.java:21)
      25-Jan-2022 14:32:50 	
      25-Jan-2022 14:32:50 	[INFO] Running org.openmrs.maven.plugins.CreateProjectIntegrationTest
      25-Jan-2022 14:33:12 	[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.185 s - in org.openmrs.maven.plugins.CreateProjectIntegrationTest
      25-Jan-2022 14:33:12 	[INFO] Running org.openmrs.maven.plugins.PullIntegrationTest
      25-Jan-2022 14:34:16 	[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 63.869 s - in org.openmrs.maven.plugins.PullIntegrationTest
      25-Jan-2022 14:34:16 	[INFO] Running org.openmrs.maven.plugins.SetupIntegrationTest
      25-Jan-2022 14:45:56 	[ERROR] Tests run: 12, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 699.489 s <<< FAILURE! - in org.openmrs.maven.plugins.SetupIntegrationTest
      25-Jan-2022 14:45:56 	[ERROR] setup_shouldInstallServerFromDistroPropertiesDir(org.openmrs.maven.plugins.SetupIntegrationTest)  Time elapsed: 282.404 s  <<< FAILURE!
      25-Jan-2022 14:45:56 	java.lang.AssertionError: 
      25-Jan-2022 14:45:56 	Expected /home/bamboo-agent/bamboo-agent/xml-data/build-dir/SDK-SDK-JOB1/integration-tests/target/test-classes/integration-test/5ffcfb32-979d-4658-a938-c14f407d8077/frontend/index.html to be an existing file or directory
      25-Jan-2022 14:45:56 	Expected: an existing file or directory
      25-Jan-2022 14:45:56 	     but: does not exist
      25-Jan-2022 14:45:56 	        at org.openmrs.maven.plugins.SetupIntegrationTest.setup_shouldInstallServerFromDistroPropertiesDir(SetupIntegrationTest.java:165)
      25-Jan-2022 14:45:56 	
      

      Gliffy Diagrams

        Attachments

          Activity

            People

              Unassigned Unassigned
              bistenes Brandon Istenes
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: