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

LibraryReferenceTests are failing in 7.1.x due to missing reference

    Details

      Description

      The following tests are failing in Testray:
      LibraryReferenceTest#testLibJarsInEclipse
      LibraryReferenceTest#testLibJarsInNetBeans
      LibraryReferenceTest#testLibJarsInVersions

      [junit] Testcase: testLibJarsInEclipse(com.liferay.portal.library.LibraryReferenceTest):	FAILED
          [junit] .classpath is missing a reference to lib/development/osgi-annotation-versioning.jar
          [junit] junit.framework.AssertionFailedError: .classpath is missing a reference to lib/development/osgi-annotation-versioning.jar
          [junit] 	at com.liferay.portal.library.LibraryReferenceTest.testMissingJarReferences(LibraryReferenceTest.java:248)
          [junit] 	at com.liferay.portal.library.LibraryReferenceTest.testLibJarsInEclipse(LibraryReferenceTest.java:164)
          [junit] 
          [junit] 
          [junit] Testcase: testLibJarsInNetBeans(com.liferay.portal.library.LibraryReferenceTest):	FAILED
          [junit] nbproject/project.properties is missing a reference to lib/development/osgi-annotation-versioning.jar
          [junit] junit.framework.AssertionFailedError: nbproject/project.properties is missing a reference to lib/development/osgi-annotation-versioning.jar
          [junit] 	at com.liferay.portal.library.LibraryReferenceTest.testMissingJarReferences(LibraryReferenceTest.java:248)
          [junit] 	at com.liferay.portal.library.LibraryReferenceTest.testLibJarsInNetBeans(LibraryReferenceTest.java:169)
          [junit] 
          [junit] 
          [junit] Testcase: testLibJarsInVersions(com.liferay.portal.library.LibraryReferenceTest):	FAILED
          [junit] lib/versions.xml is missing a reference to lib/development/osgi-annotation-versioning.jar
          [junit] junit.framework.AssertionFailedError: lib/versions.xml is missing a reference to lib/development/osgi-annotation-versioning.jar
          [junit] 	at com.liferay.portal.library.LibraryReferenceTest.testMissingJarReferences(LibraryReferenceTest.java:248)
          [junit] 	at com.liferay.portal.library.LibraryReferenceTest.testLibJarsInVersions(LibraryReferenceTest.java:174)
      

        Attachments

          Activity

            People

            Assignee:
            caroline.moreschi Caroline Moreschi
            Reporter:
            caroline.moreschi Caroline Moreschi
            Participants of an Issue:
            Recent user:
            Yunlin "Steven" Sun
            Engineering Assignee:
            Matthew Tambara
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              1 year, 23 weeks ago

                Packages

                Version Package
                7.1.10 DXP FP18
                7.1.10.5 SP5
                7.1.X