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

Layout import failed for StagingLocalizationTest

    Description

    Testray

    Jenkins

          [exec] com.liferay.staging.test.StagingLocalizationTest > testRemoveSupportedLocale FAILED
         [exec]     java.lang.Exception: Unexpected exception, expected<com.liferay.portal.kernel.exception.LocaleException> but was<java.lang.AssertionError>
         [exec]     	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable._processExpectedException(TestExecutorRunnable.java:416)
         [exec]     	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable.access$400(TestExecutorRunnable.java:66)
         [exec]     	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable$3.evaluate(TestExecutorRunnable.java:380)
         [exec]     	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
         [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
         [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
         [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
         [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
         [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
         [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
         [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
         [exec]     	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
         [exec]     	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable$1.evaluate(TestExecutorRunnable.java:237)
         [exec]     	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
         [exec]     	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
         [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
         [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
         [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
         [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
         [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
         [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
         [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
         [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
         [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
         [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
         [exec]     	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
         [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)
         [exec]     Caused by: java.lang.AssertionError: {level=ERROR, loggerName=com.liferay.exportimport.internal.lifecycle.LoggerExportImportLifecycleListener, message=Layout import failed for group 47892
         [exec]     	at com.liferay.portal.test.rule.LogAssertionTestRule$LogAppender.append(LogAssertionTestRule.java:330)
         [exec]     	at org.apache.logging.log4j.core.config.AppenderControl.tryCallAppender(AppenderControl.java:156)
         [exec]     	at org.apache.logging.log4j.core.config.AppenderControl.callAppender0(AppenderControl.java:129)
         [exec]     	at org.apache.logging.log4j.core.config.AppenderControl.callAppenderPreventRecursion(AppenderControl.java:120)
         [exec]     	at org.apache.logging.log4j.core.config.AppenderControl.callAppender(AppenderControl.java:84)
         [exec]     	at org.apache.logging.log4j.core.config.LoggerConfig.callAppenders(LoggerConfig.java:540)
         [exec]     	at org.apache.logging.log4j.core.config.LoggerConfig.processLogEvent(LoggerConfig.java:498)
         [exec]     	at org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:481)
         [exec]     	at org.apache.logging.log4j.core.config.LoggerConfig.logParent(LoggerConfig.java:531)
         [exec]     	at org.apache.logging.log4j.core.config.LoggerConfig.processLogEvent(LoggerConfig.java:500)
         [exec]     	at org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:481)
         [exec]     	at org.apache.logging.log4j.core.config.LoggerConfig.logParent(LoggerConfig.java:531)
         [exec]     	at org.apache.logging.log4j.core.config.LoggerConfig.processLogEvent(LoggerConfig.java:500)
         [exec]     	at org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:481)
         [exec]     	at org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:456)
         [exec]     	at org.apache.logging.log4j.core.config.AwaitCompletionReliabilityStrategy.log(AwaitCompletionReliabilityStrategy.java:82)
         [exec]     	at org.apache.logging.log4j.core.Logger.log(Logger.java:161)
         [exec]     	at org.apache.logging.log4j.spi.AbstractLogger.tryLogMessage(AbstractLogger.java:2205)
         [exec]     	at org.apache.logging.log4j.spi.AbstractLogger.logMessageTrackRecursion(AbstractLogger.java:2159)
         [exec]     	at org.apache.logging.log4j.spi.AbstractLogger.logMessageSafely(AbstractLogger.java:2142)
         [exec]     	at org.apache.logging.log4j.spi.AbstractLogger.logMessage(AbstractLogger.java:1994)
         [exec]     	at org.apache.logging.log4j.spi.AbstractLogger.logIfEnabled(AbstractLogger.java:1852)
         [exec]     	at com.liferay.portal.log.Log4jLogImpl.error(Log4jLogImpl.java:58)
         [exec]     	at com.liferay.portal.kernel.log.LogWrapper.error(LogWrapper.java:69)
         [exec]     	at com.liferay.portal.log.LogContextLogWrapper.error(LogContextLogWrapper.java:61)
         [exec]     	at com.liferay.exportimport.internal.lifecycle.LoggerExportImportLifecycleListener.onLayoutImportFailed(LoggerExportImportLifecycleListener.java:114)
         [exec]     	at com.liferay.exportimport.lifecycle.DefaultEventAwareExportImportLifecycleListener.onLayoutImportFailed(DefaultEventAwareExportImportLifecycleListener.java:356)
         [exec]     	at com.liferay.exportimport.lifecycle.DefaultEventAwareExportImportLifecycleListener.callEventHandlers(DefaultEventAwareExportImportLifecycleListener.java:88)
         [exec]     	at com.liferay.exportimport.lifecycle.DefaultEventAwareExportImportLifecycleListener.onExportImportLifecycleEvent(DefaultEventAwareExportImportLifecycleListener.java:55)
         [exec]     	at com.liferay.exportimport.lifecycle.BaseExportImportLifecycleMessageListener.doReceive(BaseExportImportLifecycleMessageListener.java:45)
         [exec]     	at com.liferay.portal.kernel.messaging.BaseMessageListener.doReceive(BaseMessageListener.java:48)
         [exec]     	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:34)
         [exec]     	at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:74)
         [exec]     	at com.liferay.portal.messaging.internal.SynchronousDestination.send(SynchronousDestination.java:46)
         [exec]     	at com.liferay.portal.messaging.internal.DefaultMessageBus.sendMessage(DefaultMessageBus.java:281)
         [exec]     	at com.liferay.exportimport.lifecycle.ExportImportLifecycleManagerImpl.fireExportImportLifecycleEvent(ExportImportLifecycleManagerImpl.java:99)
         [exec]     	at com.liferay.exportimport.lifecycle.ExportImportLifecycleManagerImpl.fireExportImportLifecycleEvent(ExportImportLifecycleManagerImpl.java:57)
         [exec]     	at com.liferay.exportimport.internal.controller.LayoutImportController.importFile(LayoutImportController.java:237)
         [exec]     	at com.liferay.portlet.exportimport.service.impl.ExportImportLocalServiceImpl.importLayouts(ExportImportLocalServiceImpl.java:189)
         [exec]     	at sun.reflect.GeneratedMethodAccessor1454.invoke(Unknown Source)
         [exec]     	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         [exec]     	at java.lang.reflect.Method.invoke(Method.java:498)
         [exec]     	at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:50)
         [exec]     	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:69)
         [exec]     	at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57)
         [exec]     	at com.liferay.change.tracking.internal.aop.CTTransactionAdvice.invoke(CTTransactionAdvice.java:80)
         [exec]     	at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57)
         [exec]     	at com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:49)
         [exec]     	at com.sun.proxy.$Proxy104.importLayouts(Unknown Source)
         [exec]     	at com.liferay.exportimport.kernel.service.ExportImportLocalServiceUtil.importLayouts(ExportImportLocalServiceUtil.java:107)
         [exec]     	at com.liferay.staging.test.StagingLocalizationTest.testUpdateLocales(StagingLocalizationTest.java:204)
         [exec]     	at com.liferay.staging.test.StagingLocalizationTest.testRemoveSupportedLocale(StagingLocalizationTest.java:141)
         [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]     	... 26 more
         [exec]     Caused by: com.liferay.portal.kernel.exception.LocaleException
         [exec]     	at com.liferay.exportimport.internal.controller.LayoutImportController.validateFile(LayoutImportController.java:1232)
         [exec]     	at com.liferay.exportimport.internal.controller.LayoutImportController.doImportFile(LayoutImportController.java:406)
         [exec]     	at com.liferay.exportimport.internal.controller.LayoutImportController.importFile(LayoutImportController.java:221)
         [exec]     	... 45 more
         [exec] 
    

      Attachments

        Issue Links

          Activity

            People

            Assignee:
            tamas.molnar Tamas Molnar
            Reporter:
            nicholas.kwon Nicholas Kwon
            Participants of an Issue:
            Recent user:
            Raven Song
            Engineering Assignee:
            Tamas Molnar
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              4 weeks, 2 days ago

                Packages

                Version Package
                Master