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

ConfigurationPersistenceManagerTest inconsistently failing

    Details

      Description

      Fails regularly, but not every time.

      History: https://testray.liferay.com/home/-/testray/cases/439284572

       [exec] Note: /opt/dev/projects/github/liferay-portal-7.2.x-private/modules/apps/static/portal-configuration/portal-configuration-persistence-test/src/testIntegration/java/com/liferay/portal/configuration/persistence/test/ConfigurationPersistenceManagerTest.java uses unchecked or unsafe operations.
           [exec] Note: Recompile with -Xlint:unchecked for details.
           [exec] 
           [exec] > Task :apps:static:portal-configuration:portal-configuration-persistence-test:compileTestIntegrationJava
           [exec] 
           [exec] > Task :apps:static:portal-configuration:portal-configuration-persistence-test:processTestIntegrationResources NO-SOURCE
           [exec] > Task :apps:static:portal-configuration:portal-configuration-persistence-test:testIntegrationClasses
           [exec] 
           [exec] > Task :apps:static:portal-configuration:portal-configuration-persistence-test:testIntegration
           [exec] 
           [exec] com.liferay.portal.configuration.persistence.listener.test.ConfigurationModelListenerTest STANDARD_OUT
           [exec]     Loading jar:file:/opt/dev/projects/github/liferay-portal-7.2.x-private/bundles/tomcat-9.0.17/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/system.properties
           [exec]     Loading file:/opt/dev/projects/github/liferay-portal-7.2.x-private/bundles/tomcat-9.0.17/webapps/ROOT/WEB-INF/classes/system-ext.properties
           [exec] 
           [exec] 10:32:49,768 INFO  [Arquillian-Connector-Thread][BundleStartStopLogger:39] STARTED com.liferay.portal.configuration.persistence.test_1.0.0 [1165]
           [exec] 10:32:50,091 INFO  [Arquillian-Connector-Thread][BundleStartStopLogger:42] STOPPED com.liferay.portal.configuration.persistence.test_1.0.0 [1165]
           [exec] 
           [exec] 8 tests completed, 2 failed
           [exec] 
           [exec] > Task :apps:static:portal-configuration:portal-configuration-persistence-test:testIntegration
           [exec] 
           [exec] com.liferay.portal.configuration.persistence.listener.test.ConfigurationModelListenerTest > testOnAfterDelete STARTED
           [exec] 
           [exec] com.liferay.portal.configuration.persistence.listener.test.ConfigurationModelListenerTest > testOnAfterDelete PASSED
           [exec] 
           [exec] com.liferay.portal.configuration.persistence.listener.test.ConfigurationModelListenerTest > testOnAfterSave STARTED
           [exec] 
           [exec] com.liferay.portal.configuration.persistence.listener.test.ConfigurationModelListenerTest > testOnAfterSave PASSED
           [exec] 
           [exec] com.liferay.portal.configuration.persistence.listener.test.ConfigurationModelListenerTest > testOnBeforeDelete STARTED
           [exec] 
           [exec] com.liferay.portal.configuration.persistence.listener.test.ConfigurationModelListenerTest > testOnBeforeDelete PASSED
           [exec] 
           [exec] com.liferay.portal.configuration.persistence.listener.test.ConfigurationModelListenerTest > testOnBeforeSave STARTED
           [exec] 
           [exec] com.liferay.portal.configuration.persistence.listener.test.ConfigurationModelListenerTest > testOnBeforeSave PASSED
           [exec] 
           [exec] com.liferay.portal.configuration.persistence.test.ConfigurationPersistenceManagerTest > testConfigurationPersistenceManager STARTED
           [exec] 
           [exec] com.liferay.portal.configuration.persistence.test.ConfigurationPersistenceManagerTest > testConfigurationPersistenceManager PASSED
           [exec] 
           [exec] com.liferay.portal.configuration.persistence.test.ConfigurationPersistenceManagerTest > testCreateFactoryConfiguration STARTED
           [exec] 
           [exec] com.liferay.portal.configuration.persistence.test.ConfigurationPersistenceManagerTest > testCreateFactoryConfiguration FAILED
           [exec]     java.lang.AssertionError
           [exec]         at org.junit.Assert.fail(Assert.java:86)
           [exec]         at org.junit.Assert.assertTrue(Assert.java:41)
           [exec]         at org.junit.Assert.assertFalse(Assert.java:64)
           [exec]         at org.junit.Assert.assertFalse(Assert.java:74)
           [exec]         at com.liferay.portal.configuration.persistence.test.ConfigurationPersistenceManagerTest.assertConfiguration(ConfigurationPersistenceManagerTest.java:138)
           [exec]         at com.liferay.portal.configuration.persistence.test.ConfigurationPersistenceManagerTest.testCreateFactoryConfiguration(ConfigurationPersistenceManagerTest.java:87)
           [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$2.evaluate(TestExecutorRunnable.java:206)
           [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.arquillian.extension.junit.bridge.server.TestExecutorRunnable$1.evaluate(TestExecutorRunnable.java:143)
           [exec]         at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable._execute(TestExecutorRunnable.java:181)
           [exec]         at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable.run(TestExecutorRunnable.java:95)
           [exec]         at java.lang.Thread.run(Thread.java:745)
           [exec] 
           [exec] com.liferay.portal.configuration.persistence.test.ConfigurationPersistenceManagerTest > testExists STARTED
           [exec] 
           [exec] com.liferay.portal.configuration.persistence.test.ConfigurationPersistenceManagerTest > testExists PASSED
           [exec] 
           [exec] com.liferay.portal.configuration.persistence.test.ConfigurationPersistenceManagerTest > testGetConfiguration STARTED
           [exec] 
           [exec] com.liferay.portal.configuration.persistence.test.ConfigurationPersistenceManagerTest > testGetConfiguration FAILED
           [exec]     java.lang.AssertionError
           [exec]         at org.junit.Assert.fail(Assert.java:86)
           [exec]         at org.junit.Assert.assertTrue(Assert.java:41)
           [exec]         at org.junit.Assert.assertFalse(Assert.java:64)
           [exec]         at org.junit.Assert.assertFalse(Assert.java:74)
           [exec]         at com.liferay.portal.configuration.persistence.test.ConfigurationPersistenceManagerTest.assertConfiguration(ConfigurationPersistenceManagerTest.java:138)
           [exec]         at com.liferay.portal.configuration.persistence.test.ConfigurationPersistenceManagerTest.testGetConfiguration(ConfigurationPersistenceManagerTest.java:107)
           [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$2.evaluate(TestExecutorRunnable.java:206)
           [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.arquillian.extension.junit.bridge.server.TestExecutorRunnable$1.evaluate(TestExecutorRunnable.java:143)
           [exec]         at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable._execute(TestExecutorRunnable.java:181)
           [exec]         at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable.run(TestExecutorRunnable.java:95)
           [exec]         at java.lang.Thread.run(Thread.java:745)
           [exec] There were failing tests. See the report at: file:///opt/dev/projects/github/liferay-portal-7.2.x-private/modules/apps/static/portal-configuration/portal-configuration-persistence-test/build/reports/tests/testIntegration/index.html
           [exec] 10:33:12,663 INFO  [main][ThemeHotDeployListener:171] 1 theme for admin-theme was unregistered
           [exec] 10:33:15,907 INFO  [main][ThemeHotDeployListener:171] 1 theme for classic-theme was unregistered
           [exec] 
           [exec] > Task :apps:static:portal-configuration:portal-configuration-persistence-test:stopTestableTomcat
           [exec] 
           [exec] (Omitting 5 exception(s) at the start of this list)
           [exec] de.schlichtherle.io.ArchiveWarningException: /opt/dev/projects/github/liferay-portal-7.2.x-private/bundles/tomcat-9.0.17/temp/3af808de-daf2-c0ca-ad72-7240d153d2cc.zip (couldn't preserve last modification time)
           [exec] 	at de.schlichtherle.io.UpdatingArchiveController.update(UpdatingArchiveController.java:914)
           [exec] 	at de.schlichtherle.io.UpdatingArchiveController.umount0(UpdatingArchiveController.java:704)
           [exec] 	at de.schlichtherle.io.UpdatingArchiveController.umount(UpdatingArchiveController.java:642)
           [exec] 	at de.schlichtherle.io.ArchiveControllers.umount(ArchiveControllers.java:312)
           [exec] 	at de.schlichtherle.io.ArchiveControllers$ShutdownHook.run(ArchiveControllers.java:416)
           [exec] Followed, but not caused by:
           [exec] de.schlichtherle.io.ArchiveWarningException: /opt/dev/projects/github/liferay-portal-7.2.x-private/bundles/tomcat-9.0.17/temp/32c95452-d8b7-fc08-db16-06b8330aa50b.zip (couldn't preserve last modification time)
           [exec] 	at de.schlichtherle.io.UpdatingArchiveController.update(UpdatingArchiveController.java:914)
           [exec] 	at de.schlichtherle.io.UpdatingArchiveController.umount0(UpdatingArchiveController.java:704)
           [exec] 	at de.schlichtherle.io.UpdatingArchiveController.umount(UpdatingArchiveController.java:642)
           [exec] 	at de.schlichtherle.io.ArchiveControllers.umount(ArchiveControllers.java:312)
           [exec] 	at de.schlichtherle.io.ArchiveControllers$ShutdownHook.run(ArchiveControllers.java:416)
           [exec] Followed, but not caused by:
           [exec] de.schlichtherle.io.ArchiveWarningException: /opt/dev/projects/github/liferay-portal-7.2.x-private/bundles/tomcat-9.0.17/temp/26ce91f7-33eb-0efc-44cd-300e742cc2c8.zip (couldn't preserve last modification time)
           [exec] 	at de.schlichtherle.io.UpdatingArchiveController.update(UpdatingArchiveController.java:914)
           [exec] 	at de.schlichtherle.io.UpdatingArchiveController.umount0(UpdatingArchiveController.java:704)
           [exec] 	at de.schlichtherle.io.UpdatingArchiveController.umount(UpdatingArchiveController.java:642)
           [exec] 	at de.schlichtherle.io.ArchiveControllers.umount(ArchiveControllers.java:312)
           [exec] 	at de.schlichtherle.io.ArchiveControllers$ShutdownHook.run(ArchiveControllers.java:416)
      

        Attachments

          Activity

            People

            • Assignee:
              brian.chan Brian Chan
              Reporter:
              victor.ware Victor Ware
              Recent user:
              Clarissa Velazquez
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                7.1.10 DXP FP14
                7.1.X
                7.2.X
                Master