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

com.liferay.portal.modules.ModulesStructureTest.testScanIgnoreFiles missing files fix

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 7.0.0 DXP FP4
    • Fix Version/s: 7.0.0 DXP FP5
    • Component/s: Fault Tolerance
    • Labels:
      None

      Description

      Missing git files are causing com.liferay.portal.modules.ModulesStructureTest to fail:

      [junit] Testcase: testScanIgnoreFiles(com.liferay.portal.modules.ModulesStructureTest): FAILED
      [junit] Missing modules/apps/web-experience/journal/.gitignore
      [junit] junit.framework.AssertionFailedError: Missing modules/apps/web-experience/journal/.gitignore
      [junit] at com.liferay.portal.modules.ModulesStructureTest._testGitRepoIgnoreFiles(ModulesStructureTest.java:500)
      [junit] at com.liferay.portal.modules.ModulesStructureTest.access$400(ModulesStructureTest.java:49)
      [junit] at com.liferay.portal.modules.ModulesStructureTest$2.preVisitDirectory(ModulesStructureTest.java:173)
      [junit] at com.liferay.portal.modules.ModulesStructureTest$2.preVisitDirectory(ModulesStructureTest.java:159)
      [junit] at java.nio.file.Files.walkFileTree(Files.java:2677)
      [junit] at java.nio.file.Files.walkFileTree(Files.java:2742)
      [junit] at com.liferay.portal.modules.ModulesStructureTest.testScanIgnoreFiles(ModulesStructureTest.java:157)
      [junit]
      [junit]
      [junit] Testcase: testScanBuildScripts(com.liferay.portal.modules.ModulesStructureTest): FAILED
      [junit] Missing modules/private/apps/portal-search-elasticsearch-shield/.gitattributes
      [junit] junit.framework.AssertionFailedError: Missing modules/private/apps/portal-search-elasticsearch-shield/.gitattributes
      [junit] at com.liferay.portal.modules.ModulesStructureTest._testGitRepoBuildScripts(ModulesStructureTest.java:483)
      [junit] at com.liferay.portal.modules.ModulesStructureTest.access$100(ModulesStructureTest.java:49)
      [junit] at com.liferay.portal.modules.ModulesStructureTest$1.preVisitDirectory(ModulesStructureTest.java:102)
      [junit] at com.liferay.portal.modules.ModulesStructureTest$1.preVisitDirectory(ModulesStructureTest.java:79)
      [junit] at java.nio.file.Files.walkFileTree(Files.java:2677)
      [junit] at java.nio.file.Files.walkFileTree(Files.java:2742)
      [junit] at com.liferay.portal.modules.ModulesStructureTest.testScanBuildScripts(ModulesStructureTest.java:77)

        Attachments

          Activity

            People

            Assignee:
            peter.fellwock Peter Fellwock (Inactive)
            Reporter:
            peter.fellwock Peter Fellwock (Inactive)
            Participants of an Issue:
            Recent user:
            Esther Sanz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              5 years, 16 weeks, 5 days ago

                Packages

                Version Package
                7.0.0 DXP FP5