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

CI creates massive log files when it OSGi bundles can't resolve

    Details

      Description

      org.osgi.framework.BundleException: Could not resolve module: com.liferay.exportimport.resources.importer [414]
      [exec] Unresolved requirement: Import-Package: com.liferay.journal.configuration; version="[1.0.0,2.0.0)"
      [exec] -> Export-Package: com.liferay.journal.configuration; bundle-version="1.0.0"; bundle-symbolic-name="com.liferay.journal.service"; version="1.0.0"; uses:="aQute.bnd.annotation.metatype,com.liferay.portal.configuration.metatype.annotations,com.liferay.portal.kernel.configuration,com.liferay.portal.kernel.settings"
      [exec] com.liferay.journal.service [299]
      [exec] Unresolved requirement: Import-Package: com.liferay.dynamic.data.mapping.service.permission; version="[2.0.0,3.0.0)"
      [exec] -> Export-Package: com.liferay.dynamic.data.mapping.service.permission; bundle-version="2.0.0"; bundle-symbolic-name="com.liferay.dynamic.data.mapping.service"; version="2.0.0"; uses:="com.liferay.dynamic.data.mapping.model,com.liferay.dynamic.data.mapping.service,com.liferay.dynamic.data.mapping.util,com.liferay.osgi.service.tracker.collections.map,com.liferay.portal.kernel.exception,com.liferay.portal.kernel.security.permission,org.osgi.framework"
      [exec] com.liferay.dynamic.data.mapping.service [396]
      [exec] Unresolved requirement: Import-Package: com.liferay.dynamic.data.mapping.kernel; version="[1.1.0,1.2.0)"
      [exec]
      [exec] at org.eclipse.osgi.container.Module.start(Module.java:429)
      [exec] at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:402)
      [exec] at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1252)
      [exec] at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1224)
      [exec] at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:512)
      [exec] at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:361)
      [exec] at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:313)

      Tests keep trying to resolve things and it creates massive log files.

      The solution is to kill Tomcat if it finds these, but only in the CI env where we're running a lot of tests.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                4 years, 9 weeks, 5 days ago

                Packages

                Version Package
                7.0.0 CE RC1