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

Failure in ModuleSelfContainedDependencyClosureTest#testTestModuleSelfContainedDependencyClosure

    Description

    Steps to Reproduce:

    1. Compile portal with dxp profile and start Tomcat
    2. Add test.class.file.names.properties to your portal source root directory
    3. navigate to "modules" directory
    4. gw testIntegration -Dtest.class.group.index=0 -Dbuild.exclude.ant.plugins=true

    Testray

    Jenkins

      [exec] com.liferay.module.dependency.closure.test.ModuleSelfContainedDependencyClosureTest STANDARD_OUT
         [exec]     Loading jar:file:/opt/dev/projects/github/liferay-portal/bundles/tomcat-9.0.43/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/system.properties
         [exec]     Loading file:/opt/dev/projects/github/liferay-portal/bundles/tomcat-9.0.43/webapps/ROOT/WEB-INF/classes/system-ext.properties
         [exec] 
         [exec] com.liferay.module.dependency.closure.test.ModuleSelfContainedDependencyClosureTest > testTestModuleSelfContainedDependencyClosure STARTED
         [exec] 
         [exec] com.liferay.module.dependency.closure.test.ModuleSelfContainedDependencyClosureTest > testTestModuleSelfContainedDependencyClosure FAILED
         [exec]     java.lang.AssertionError: Test bundle com.liferay.portal.test_9.0.0 [1220] has a dependency closure [com.liferay.trash.test.util_5.0.0 [410], com.liferay.bookmarks.test.util_5.0.0 [1250], com.liferay.calendar.test.util_4.0.0 [968], com.liferay.user.associated.data.test.util_7.0.0 [980], com.liferay.change.tracking.test.util_2.0.0 [483], com.liferay.module.dependency.closure.test_1.0.0 [1343], com.liferay.subscription.test.util_3.0.0 [1132], com.liferay.social.activity.test.util_4.0.0 [877], com.liferay.commerce.product.type.virtual.test.util_4.0.0 [808], com.liferay.wiki.test.util_3.0.0 [1182], com.liferay.commerce.account.test.util_4.0.0 [1304], com.liferay.exportimport.test.util_4.0.0 [590], com.liferay.journal.test.util_8.0.0 [995], com.liferay.asset.test.util_4.0.0 [613], com.liferay.adaptive.media.test.util_4.0.0 [744], com.liferay.blogs.test.util_5.0.0 [867], com.liferay.commerce.test.util_12.0.0 [450], com.liferay.commerce.notification.test.util_4.0.0 [513], com.liferay.document.library.test.util_4.0.0 [912], com.liferay.external.data.source.test.controller.test_1.0.0 [1336], com.liferay.portal.security.permission.test.util_3.0.0 [431], com.liferay.portal.osgi.web.portlet.container.test.util_3.0.0 [1042], com.liferay.portal.cache.test.util_5.0.0 [370], com.liferay.layout.test.util_7.0.0 [551], com.liferay.portal.local.service.tree.test.util_3.0.0 [1114], com.liferay.commerce.currency.test.util_5.0.0 [1022], com.liferay.message.boards.test.util_4.0.0 [962], com.liferay.portal.verify.test.util_3.0.0 [347], com.liferay.commerce.product.test.util_7.0.0 [379], com.liferay.sharing.test.util_3.0.0 [478], com.liferay.portal.search.test.util_5.0.0 [407], com.liferay.portal.store.test.util_3.0.0 [939], com.liferay.portal.notifications.test.util_3.0.0 [888], com.liferay.dynamic.data.mapping.test.util_6.0.0 [1010], com.liferay.ratings.test.util_3.0.0 [384], com.liferay.portal.test_9.0.0 [1220], com.liferay.users.admin.test.util_5.0.0 [430], com.liferay.segments.test.util_3.0.0 [1217]] that is larger than self contained scope [com.liferay.trash.test.util_5.0.0 [410], com.liferay.sharing.test.util_3.0.0 [478], com.liferay.wiki.test.util_3.0.0 [1182], com.liferay.subscription.test.util_3.0.0 [1132], com.liferay.change.tracking.test.util_2.0.0 [483], com.liferay.portal.lpkg.deployer.test.util_5.0.0 [848], com.liferay.document.library.test.util_4.0.0 [912], com.liferay.portal.test_9.0.0 [1220], com.liferay.portal.security.permission.test.util_3.0.0 [431], com.liferay.ratings.test.util_3.0.0 [384], com.liferay.commerce.product.test.util_7.0.0 [379], com.liferay.commerce.payment.test.util_4.0.0 [313], org.apache.aries.jmx.api_1.1.5 [1337], com.liferay.commerce.test.util_12.0.0 [450], com.liferay.exportimport.test.util_4.0.0 [590], org.apache.aries.util_1.1.1 [1339], com.liferay.portal.store.test.util_3.0.0 [939], com.liferay.portal.verify.test.util_3.0.0 [347], com.liferay.portal.configuration.test.util_5.0.0 [743], com.liferay.message.boards.test.util_4.0.0 [962], com.liferay.commerce.product.type.virtual.test.util_4.0.0 [808], org.apache.aries.jmx.core_1.1.7 [1338], com.liferay.user.associated.data.test.util_7.0.0 [980], com.liferay.portal.cache.test.util_5.0.0 [370], com.liferay.calendar.test.util_4.0.0 [968], com.liferay.users.admin.test.util_5.0.0 [430], com.liferay.blogs.test.util_5.0.0 [867], com.liferay.portal.notifications.test.util_3.0.0 [888], com.liferay.commerce.account.test.util_4.0.0 [1304], com.liferay.layout.test.util_7.0.0 [551], com.liferay.social.activity.test.util_4.0.0 [877], com.liferay.segments.test.util_3.0.0 [1217], com.liferay.petra.test.util_3.0.0 [402], com.liferay.journal.test.util_8.0.0 [995], com.liferay.portal.local.service.tree.test.util_3.0.0 [1114], com.liferay.asset.test.util_4.0.0 [613], com.liferay.commerce.notification.test.util_4.0.0 [513], com.liferay.portal.search.test.util_5.0.0 [407], com.liferay.commerce.currency.test.util_5.0.0 [1022], com.liferay.module.dependency.closure.test_1.0.0 [1343], com.liferay.arquillian.extension.junit.bridge.connector_1.0.1 [367], com.liferay.dynamic.data.mapping.test.util_6.0.0 [1010], com.liferay.bookmarks.test.util_5.0.0 [1250], com.liferay.portal.osgi.web.portlet.container.test.util_3.0.0 [1042], com.liferay.adaptive.media.test.util_4.0.0 [744]]
         [exec]     	at org.junit.Assert.fail(Assert.java:89)
         [exec]     	at org.junit.Assert.assertTrue(Assert.java:42)
         [exec]     	at com.liferay.module.dependency.closure.test.ModuleSelfContainedDependencyClosureTest.testTestModuleSelfContainedDependencyClosure(ModuleSelfContainedDependencyClosureTest.java:70)
         [exec]     	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         [exec]     	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
         [exec]     	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         [exec]     	at java.lang.reflect.Method.invoke(Method.java:498)
         [exec]     	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable$3.evaluate(TestExecutorRunnable.java:353)
         [exec]     	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable$1.evaluate(TestExecutorRunnable.java:237)
         [exec]     	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable._execute(TestExecutorRunnable.java:316)
         [exec]     	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable.run(TestExecutorRunnable.java:95)
         [exec]     	at java.lang.Thread.run(Thread.java:745)
    

      Attachments

        Activity

          People

          Assignee:
          nicholas.kwon Nicholas Kwon
          Reporter:
          nicholas.kwon Nicholas Kwon
          Participants of an Issue:
          Recent user:
          Rafaela Nascimento
          Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

            Dates

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

              Packages

              Version Package
              7.4.0 CE GA1
              Master