Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-120061

ModulesStructureTest failed on 'Incorrect configuration of dependency'

    Details

    • Story Points:
      1

      Description

      ModulesStructureTest failed on central-requirements-jdk8/0 batch

      Error:

       [junit] Testcase: testScanGradleFiles(com.liferay.portal.modules.ModulesStructureTest):	FAILED
          [junit] Incorrect configuration of dependency {compileOnly group: "com.github.ignaciotcrespo", name: "frutilla", version: "0.7.1"} in modules/apps/commerce/commerce-product-type-virtual-order-test/build.gradle, use one of these instead: "testIntegrationCompile", "testIntegrationRuntime"
          [junit] junit.framework.AssertionFailedError: Incorrect configuration of dependency {compileOnly group: "com.github.ignaciotcrespo", name: "frutilla", version: "0.7.1"} in modules/apps/commerce/commerce-product-type-virtual-order-test/build.gradle, use one of these instead: "testIntegrationCompile", "testIntegrationRuntime"
          [junit] 	at com.liferay.portal.modules.ModulesStructureTest._testGradleFile(ModulesStructureTest.java:1442)
          [junit] 	at com.liferay.portal.modules.ModulesStructureTest.access$800(ModulesStructureTest.java:66)
          [junit] 	at com.liferay.portal.modules.ModulesStructureTest$3.visitFile(ModulesStructureTest.java:355)
          [junit] 	at com.liferay.portal.modules.ModulesStructureTest$3.visitFile(ModulesStructureTest.java:326)
          [junit] 	at java.nio.file.Files.walkFileTree(Files.java:2670)
          [junit] 	at java.nio.file.Files.walkFileTree(Files.java:2742)
          [junit] 	at com.liferay.portal.modules.ModulesStructureTest.testScanGradleFiles(ModulesStructureTest.java:324)
          [junit] 
          [junit] 
          [junit] Test com.liferay.portal.modules.ModulesStructureTest FAILED
      

      Full console log:
      https://testray.liferay.com/reports/production/logs/test-1-6/1598824949533/test-portal-acceptance-pullrequest(7.2.x)/398/central-requirements-jdk8/0/jenkins-console.txt.gz

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              della.wang Della Wang (Inactive)
              Reporter:
              della.wang Della Wang (Inactive)
              Participants of an Issue:
              Recent user:
              Della Wang (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 11 weeks, 2 days ago

                  Packages

                  Version Package