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

Analyse failure in SAML#ConfigureSAMLToImportUsersFromLDAP

    Details

    • Testing Type:
      Automation

      Description

      Analyse flakiness in SAML#ConfigureSAMLToImportUsersFromLDAP

      Jenkins console log:

        [exec]     ###
           [exec]     ### LocalFile.SAML#ConfigureSAMLToImportUsersFromLDAP
           [exec]     ###
           [exec] 
           [exec] 
           [exec] com.liferay.poshi.runner.PoshiRunner > test[LocalFile.SAML#ConfigureSAMLToImportUsersFromLDAP] STANDARD_ERROR
           [exec]     Starting ChromeDriver 2.37.544315 (730aa6a5fdba159ac9f4c1e8cbc59bf1b5ce12b7) on port 6222
           [exec]     Only local connections are allowed.
           [exec]     Apr 21, 2021 9:25:35 PM org.openqa.selenium.remote.ProtocolHandshake createSession
           [exec]     INFO: Detected dialect: OSS
           [exec] 
           [exec] com.liferay.poshi.runner.PoshiRunner > test[LocalFile.SAML#ConfigureSAMLToImportUsersFromLDAP] STANDARD_OUT
           [exec]     Configures Liferay SAML as the IdP
           [exec] 2021-04-22 04:26:41.092 INFO  [http-nio-8080-exec-9][FileSystemKeyStoreManagerImpl:67] Creating a new SAML keystore at /opt/dev/projects/github/liferay-portal/bundles/data/keystore.jks
           [exec]     Configures Liferay SAML as the SP.
           [exec] 2021-04-22 04:28:00.267 INFO  [http-nio-9080-exec-8][FileSystemKeyStoreManagerImpl:67] Creating a new SAML keystore at /opt/dev/projects/github/liferay-portal/bundles-1/data/keystore.jks
           [exec]     Connect SP and IdP.
           [exec]     Log out of Liferay Portal.
           [exec]     Log out of Liferay Portal.
           [exec]     Buildfile: /opt/dev/projects/github/liferay-portal/build-test.xml
           [exec]        [delete] Deleting: /opt/dev/projects/github/liferay-portal/null93790894.properties
           [exec] 
           [exec]     stop-app-server:
           [exec] 2021-04-22 04:31:19.832 WARN  [com.liferay.portal.se[email protected]30bacd84[-Xms256m -Xmx512m -Des.path.conf=/opt/dev/projects/github/liferay-portal/bundles/tomcat-9.0.43/temp/sidecar2427844444090991563/config -Des.networkaddress.cache.ttl=60 -Des.networkaddress.cache.negative.ttl=10 -Dlog4j.shutdownHookEnabled=false -Dlog4j2.disable.jmx=true -Dio.netty.allocator.type=unpooled -Dio.netty.allocator.numDirectArenas=0 -Dio.netty.noUnsafe=true -Dio.netty.noKeySetOptimization=true -Dio.netty.recycler.maxCapacityPerThread=0 -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/opt/dev/projects/github/liferay-portal/bundles/tomcat-9.0.43/temp/sidecar2427844444090991563 -Djava.security.policy=jar:file:/opt/dev/projects/github/liferay-portal/bundles/osgi/state/org.eclipse.osgi/189/0/bundleFile!/META-INF/sidecar.policy -Djna.nosys=true]-][Sidecar:624] Sidecar Elasticsearch process is aborted
           [exec] java.util.concurrent.ExecutionException: com.liferay.petra.process.TerminationProcessException: Subprocess terminated with exit code 137
           [exec] 	at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_121]
           [exec] 	at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_121]
           [exec] 	at com.liferay.portal.search.elasticsearch7.internal.sidecar.Sidecar$RestartFutureListener.complete(Sidecar.java:620) [bundleFile:?]
           [exec] 	at com.liferay.petra.concurrent.DefaultNoticeableFuture$OnceFutureListener.complete(DefaultNoticeableFuture.java:111) [com.liferay.petra.concurrent.jar:?]
           [exec] 	at com.liferay.petra.concurrent.DefaultNoticeableFuture.done(DefaultNoticeableFuture.java:85) [com.liferay.petra.concurrent.jar:?]
           [exec] 	at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:384) [?:1.8.0_121]
           [exec] 	at java.util.concurrent.FutureTask.setException(FutureTask.java:251) [?:1.8.0_121]
           [exec] 	at com.liferay.petra.concurrent.DefaultNoticeableFuture.setException(DefaultNoticeableFuture.java:79) [com.liferay.petra.concurrent.jar:?]
           [exec] 	at java.util.concurrent.FutureTask.run(FutureTask.java:271) [?:1.8.0_121]
           [exec] 	at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121]
           [exec] Caused by: com.liferay.petra.process.TerminationProcessException: Subprocess terminated with exit code 137
           [exec] 	at com.liferay.petra.process.local.LocalProcessExecutor$SubprocessReactor.call(LocalProcessExecutor.java:309) ~[com.liferay.petra.process.jar:?]
           [exec] 	at com.liferay.petra.process.local.LocalProcessExecutor$SubprocessReactor.call(LocalProcessExecutor.java:161) ~[com.liferay.petra.process.jar:?]
           [exec] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_121]
           [exec] 	... 1 more
           [exec] 2021-04-22 04:31:21.078 INFO  [com.liferay.portal.se[email protected]30bacd84[-Xms256m -Xmx512m -Des.path.conf=/opt/dev/projects/github/liferay-portal/bundles/tomcat-9.0.43/temp/sidecar2427844444090991563/config -Des.networkaddress.cache.ttl=60 -Des.networkaddress.cache.negative.ttl=10 -Dlog4j.shutdownHookEnabled=false -Dlog4j2.disable.jmx=true -Dio.netty.allocator.type=unpooled -Dio.netty.allocator.numDirectArenas=0 -Dio.netty.noUnsafe=true -Dio.netty.noKeySetOptimization=true -Dio.netty.recycler.maxCapacityPerThread=0 -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/opt/dev/projects/github/liferay-portal/bundles/tomcat-9.0.43/temp/sidecar2427844444090991563 -Djava.security.policy=jar:file:/opt/dev/projects/github/liferay-portal/bundles/osgi/state/org.eclipse.osgi/189/0/bundleFile!/META-INF/sidecar.policy -Djna.nosys=true]-][Sidecar:631] Restarting sidecar Elasticsearch process
           [exec] 2021-04-22 04:31:21.079 INFO  [com.liferay.portal.se[email protected]30bacd84[-Xms256m -Xmx512m -Des.path.conf=/opt/dev/projects/github/liferay-portal/bundles/tomcat-9.0.43/temp/sidecar2427844444090991563/config -Des.networkaddress.cache.ttl=60 -Des.networkaddress.cache.negative.ttl=10 -Dlog4j.shutdownHookEnabled=false -Dlog4j2.disable.jmx=true -Dio.netty.allocator.type=unpooled -Dio.netty.allocator.numDirectArenas=0 -Dio.netty.noUnsafe=true -Dio.netty.noKeySetOptimization=true -Dio.netty.recycler.maxCapacityPerThread=0 -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/opt/dev/projects/github/liferay-portal/bundles/tomcat-9.0.43/temp/sidecar2427844444090991563 -Djava.security.policy=jar:file:/opt/dev/projects/github/liferay-portal/bundles/osgi/state/org.eclipse.osgi/189/0/bundleFile!/META-INF/sidecar.policy -Djna.nosys=true]-][Sidecar:132] Stopping sidecar Elasticsearch
           [exec]     [beanshell] Securing standard error and out
           [exec] 2021-04-22 04:31:29.488 ERROR [com.liferay.portal.se[email protected]30bacd84[-Xms256m -Xmx512m -Des.path.conf=/opt/dev/projects/github/liferay-portal/bundles/tomcat-9.0.43/temp/sidecar2427844444090991563/config -Des.networkaddress.cache.ttl=60 -Des.networkaddress.cache.negative.ttl=10 -Dlog4j.shutdownHookEnabled=false -Dlog4j2.disable.jmx=true -Dio.netty.allocator.type=unpooled -Dio.netty.allocator.numDirectArenas=0 -Dio.netty.noUnsafe=true -Dio.netty.noKeySetOptimization=true -Dio.netty.recycler.maxCapacityPerThread=0 -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/opt/dev/projects/github/liferay-portal/bundles/tomcat-9.0.43/temp/sidecar2427844444090991563 -Djava.security.policy=jar:file:/opt/dev/projects/github/liferay-portal/bundles/osgi/state/org.eclipse.osgi/189/0/bundleFile!/META-INF/sidecar.policy -Djna.nosys=true]-][ElasticsearchConnectionManager:81] Elasticsearch sidecar could not be started. Search will be unavailable. Manual installation of Elasticsearch and activation of remote mode is recommended.
           [exec] java.util.concurrent.CancellationException: null
           [exec] 	at java.util.concurrent.FutureTask.report(FutureTask.java:121) ~[?:1.8.0_121]
           [exec] 	at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_121]
           [exec] 	at com.liferay.portal.search.elasticsearch7.internal.sidecar.Sidecar.waitForPublishedAddress(Sidecar.java:198) ~[bundleFile:?]
           [exec] 	at com.liferay.portal.search.elasticsearch7.internal.sidecar.Sidecar.startElasticsearch(Sidecar.java:337) ~[bundleFile:?]
           [exec] 	at com.liferay.portal.search.elasticsearch7.internal.sidecar.Sidecar.start(Sidecar.java:116) ~[bundleFile:?]
           [exec] 	at com.liferay.portal.search.elasticsearch7.internal.sidecar.SidecarManager.lambda$applyConfigurations$0(SidecarManager.java:135) ~[bundleFile:?]
           [exec] 	at com.liferay.portal.search.elasticsearch7.internal.connection.ElasticsearchConnection.connect(ElasticsearchConnection.java:61) ~[bundleFile:?]
           [exec] 	at com.liferay.portal.search.elasticsearch7.internal.connection.ElasticsearchConnectionManager.addElasticsearchConnection(ElasticsearchConnectionManager.java:75) [bundleFile:?]
           [exec] 	at com.liferay.portal.search.elasticsearch7.internal.sidecar.SidecarManager.applyConfigurations(SidecarManager.java:142) [bundleFile:?]
           [exec] 	at com.liferay.portal.search.elasticsearch7.internal.sidecar.Sidecar$RestartFutureListener.complete(Sidecar.java:634) [bundleFile:?]
           [exec] 	at com.liferay.petra.concurrent.DefaultNoticeableFuture$OnceFutureListener.complete(DefaultNoticeableFuture.java:111) [com.liferay.petra.concurrent.jar:?]
           [exec] 	at com.liferay.petra.concurrent.DefaultNoticeableFuture.done(DefaultNoticeableFuture.java:85) [com.liferay.petra.concurrent.jar:?]
           [exec] 	at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:384) [?:1.8.0_121]
           [exec] 	at java.util.concurrent.FutureTask.setException(FutureTask.java:251) [?:1.8.0_121]
           [exec] 	at com.liferay.petra.concurrent.DefaultNoticeableFuture.setException(DefaultNoticeableFuture.java:79) [com.liferay.petra.concurrent.jar:?]
           [exec] 	at java.util.concurrent.FutureTask.run(FutureTask.java:271) [?:1.8.0_121]
           [exec] 	at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121]
           [exec] 2021-04-22 04:31:29.487 WARN  [com.liferay.portal.se[email protected]722811fe[-Xms256m -Xmx512m -Des.path.conf=/opt/dev/projects/github/liferay-portal/bundles/tomcat-9.0.43/temp/sidecar2706455841234741515/config -Des.networkaddress.cache.ttl=60 -Des.networkaddress.cache.negative.ttl=10 -Dlog4j.shutdownHookEnabled=false -Dlog4j2.disable.jmx=true -Dio.netty.allocator.type=unpooled -Dio.netty.allocator.numDirectArenas=0 -Dio.netty.noUnsafe=true -Dio.netty.noKeySetOptimization=true -Dio.netty.recycler.maxCapacityPerThread=0 -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/opt/dev/projects/github/liferay-portal/bundles/tomcat-9.0.43/temp/sidecar2706455841234741515 -Djava.security.policy=jar:file:/opt/dev/projects/github/liferay-portal/bundles/osgi/state/org.eclipse.osgi/189/0/bundleFile!/META-INF/sidecar.policy -Djna.nosys=true]-][Sidecar:624] Sidecar Elasticsearch process is aborted
           [exec] java.util.concurrent.ExecutionException: com.liferay.petra.process.TerminationProcessException: Subprocess terminated with exit code 137
           [exec] 	at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_121]
           [exec] 	at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_121]
           [exec] 	at com.liferay.portal.search.elasticsearch7.internal.sidecar.Sidecar$RestartFutureListener.complete(Sidecar.java:620) [bundleFile:?]
           [exec] 	at com.liferay.petra.concurrent.DefaultNoticeableFuture$OnceFutureListener.complete(DefaultNoticeableFuture.java:111) [com.liferay.petra.concurrent.jar:?]
           [exec] 	at com.liferay.petra.concurrent.DefaultNoticeableFuture.done(DefaultNoticeableFuture.java:85) [com.liferay.petra.concurrent.jar:?]
           [exec] 	at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:384) [?:1.8.0_121]
           [exec] 	at java.util.concurrent.FutureTask.setException(FutureTask.java:251) [?:1.8.0_121]
           [exec] 	at com.liferay.petra.concurrent.DefaultNoticeableFuture.setException(DefaultNoticeableFuture.java:79) [com.liferay.petra.concurrent.jar:?]
           [exec] 	at java.util.concurrent.FutureTask.run(FutureTask.java:271) [?:1.8.0_121]
           [exec] 	at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121]
           [exec] Caused by: com.liferay.petra.process.TerminationProcessException: Subprocess terminated with exit code 137
           [exec] 	at com.liferay.petra.process.local.LocalProcessExecutor$SubprocessReactor.call(LocalProcessExecutor.java:309) ~[com.liferay.petra.process.jar:?]
           [exec] 	at com.liferay.petra.process.local.LocalProcessExecutor$SubprocessReactor.call(LocalProcessExecutor.java:161) ~[com.liferay.petra.process.jar:?]
           [exec] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_121]
           [exec] 	... 1 more
           [exec] 2021-04-22 04:31:30.945 INFO  [main][ThemeHotDeployListener:171] 1 theme for admin-theme was unregistered
           [exec] 2021-04-22 04:31:31.801 INFO  [main][ThemeHotDeployListener:171] 1 theme for classic-theme was unregistered
           [exec] 2021-04-22 04:31:33.172 INFO  [main][ThemeHotDeployListener:171] 1 theme for speedwell-theme was unregistered
           [exec] 2021-04-22 04:31:37.005 INFO  [main][ThemeHotDeployListener:171] 1 theme for minium-theme was unregistered
           [exec] 
           [exec]     BUILD SUCCESSFUL
           [exec]     Total time: 34 seconds
           [exec] 
           [exec]     BUILD FAILED: no such session
           [exec]       (Driver info: chromedriver=2.37.544315 (730aa6a5fdba159ac9f4c1e8cbc59bf1b5ce12b7),platform=Linux 4.14.138-rancher x86_64) (WARNING: The server did not provide any stacktrace information)
           [exec]     Command duration or timeout: 0 milliseconds
           [exec]     Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
           [exec]     System info: host: 'cloud-10-0-110-206.lax.liferay.com', ip: '127.0.0.1', os.name: 'Linux', os.arch: 'amd64', os.version: '4.14.138-rancher', java.version: '1.8.0_121'
           [exec]     Driver info: org.openqa.selenium.chrome.ChromeDriver
           [exec]     Capabilities {acceptInsecureCerts: false, acceptSslCerts: false, applicationCacheEnabled: false, browserConnectionEnabled: false, browserName: chrome, chrome: {chromedriverVersion: 2.37.544315 (730aa6a5fdba15..., userDataDir: /tmp/.org.chromium.Chromium...}, cssSelectorsEnabled: true, databaseEnabled: false, handlesAlerts: true, hasTouchScreen: false, javascriptEnabled: true, locationContextEnabled: true, mobileEmulationEnabled: false, nativeEvents: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: LINUX, platformName: LINUX, rotatable: false, setWindowRect: true, takesHeapSnapshot: true, takesScreenshot: true, unexpectedAlertBehaviour: , unhandledPromptBehavior: , version: 86.0.4240.111, webStorageEnabled: true}
           [exec]     Session ID: 72b0ef940e0537c441e24cf020e80dae
           [exec]     /opt/dev/projects/github/liferay-portal/portal-web/test/functional/com/liferay/portalweb/macros/Portlet.macro[shutdownServer]:356
           [exec]     /opt/dev/projects/github/liferay-portal/portal-web/test/functional/com/liferay/portalweb/tests/coreinfrastructureee/security/SAML.testcase[ConfigureSAMLToImportUsersFromLDAP]:845
           [exec] 
           [exec] 
           [exec] com.liferay.poshi.runner.PoshiRunner > test[LocalFile.SAML#ConfigureSAMLToImportUsersFromLDAP] STANDARD_ERROR
           [exec]     org.openqa.selenium.NoSuchSessionException: no such session
           [exec]       (Driver info: chromedriver=2.37.544315 (730aa6a5fdba159ac9f4c1e8cbc59bf1b5ce12b7),platform=Linux 4.14.138-rancher x86_64) (WARNING: The server did not provide any stacktrace information)
           [exec]     Command duration or timeout: 0 milliseconds
           [exec]     Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
           [exec]     System info: host: 'cloud-10-0-110-206.lax.liferay.com', ip: '127.0.0.1', os.name: 'Linux', os.arch: 'amd64', os.version: '4.14.138-rancher', java.version: '1.8.0_121'
           [exec]     Driver info: org.openqa.selenium.chrome.ChromeDriver
           [exec]     Capabilities {acceptInsecureCerts: false, acceptSslCerts: false, applicationCacheEnabled: false, browserConnectionEnabled: false, browserName: chrome, chrome: {chromedriverVersion: 2.37.544315 (730aa6a5fdba15..., userDataDir: /tmp/.org.chromium.Chromium...}, cssSelectorsEnabled: true, databaseEnabled: false, handlesAlerts: true, hasTouchScreen: false, javascriptEnabled: true, locationContextEnabled: true, mobileEmulationEnabled: false, nativeEvents: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: LINUX, platformName: LINUX, rotatable: false, setWindowRect: true, takesHeapSnapshot: true, takesScreenshot: true, unexpectedAlertBehaviour: , unhandledPromptBehavior: , version: 86.0.4240.111, webStorageEnabled: true}
           [exec]     Session ID: 72b0ef940e0537c441e24cf020e80dae
           [exec]     	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
           [exec]     	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
           [exec]     	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
           [exec]     	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
           [exec]     	at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:214)
           [exec]     	at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:166)
           [exec]     	at org.openqa.selenium.remote.http.JsonHttpResponseCodec.reconstructValue(JsonHttpResponseCodec.java:40)
           [exec]     	at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:80)
           [exec]     	at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:44)
           [exec]     	at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)
           [exec]     	at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
           [exec]     	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
           [exec]     	at org.openqa.selenium.remote.RemoteWebDriver$RemoteTargetLocator.window(RemoteWebDriver.java:903)
           [exec]     	at com.liferay.poshi.runner.selenium.BaseWebDriverImpl.assertJavaScriptErrors(BaseWebDriverImpl.java:420)
           [exec]     	at sun.reflect.GeneratedMethodAccessor4.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.poshi.runner.PoshiRunnerExecutor$1.call(PoshiRunnerExecutor.java:1192)
           [exec]     	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
           [exec]     	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
           [exec]     	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
           [exec]     	at java.lang.Thread.run(Thread.java:745)
           [exec] 
           [exec] com.liferay.poshi.runner.PoshiRunner > test[LocalFile.SAML#ConfigureSAMLToImportUsersFromLDAP] FAILED
           [exec]     org.openqa.selenium.NoSuchSessionException at NativeConstructorAccessorImpl.java:-2
      

        Attachments

          Activity

            People

            Assignee:
            support-qa Support QA
            Reporter:
            gabor.lovas Gábor Lovas
            Recent user:
            Nóra Szél
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:

                Packages

                Version Package