Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LPS-134960 Test Autom. Different Assets Categorization #1377

Closed

Conversation

Luizcarlosqueiroz
Copy link
Collaborator

@Luizcarlosqueiroz Luizcarlosqueiroz commented Jul 7, 2021

JIRA Ticket:
LPS-134960
LPS-119705

Motivation:
Test Automation for "As a portlet developer, I want to decide whether internal categories show in the categories selector or not"

@liferay-continuous-integration

To conserve resources, the PR Tester does not automatically run for every pull.

If your code changes were already tested in another pull, reference that pull in this pull so the test results can be analyzed.

If your pull was never tested, comment "ci:test" to run the PR Tester for this pull.

@Luizcarlosqueiroz
Copy link
Collaborator Author

@CarlosBrichete

@CarlosBrichete
Copy link
Collaborator

ci:test:tango

@liferay-continuous-integration

❌ ci:test:tango - 3 out of 8 jobs passed in 1 hour 52 minutes

Click here for more details.

Base Branch:

Branch Name: master
Branch GIT ID: 3ff9d993bd4f832b06fd1b780db0de552c9ceee1

Upstream Comparison:

Branch GIT ID: 3ff9d993bd4f832b06fd1b780db0de552c9ceee1
Jenkins Build URL: Acceptance Upstream DXP (master) #2087

ci:test:tango - 3 out of 8 jobs PASSED
3 Successful Jobs:
For more details click here.

Failures unique to this pull:

  1. test-portal-acceptance-pullrequest-batch(master)/functional-tomcat90-mysql57-jdk8/3
    Job Results:

    0 Tests Passed.
    3 Tests Failed.

    1. AXIS_VARIABLE=0,label_exp=!master #230
           [exec]  ---> 6ac088b72b78
           [exec] Step 14/16 : ENV LABEL_BUILD_DATE=${LABEL_BUILD_DATE}
           [exec]  ---> Running in aaf836ab7a12
           [exec] Removing intermediate container aaf836ab7a12
           [exec]  ---> 055ed7877c50
           [exec] Step 15/16 : ENV LABEL_VCS_REF=${LABEL_VCS_REF}
           [exec]  ---> Running in 59d10f61ea33
           [exec] Removing intermediate container 59d10f61ea33
           [exec]  ---> c030189f49e4
           [exec] Step 16/16 : COPY --from=builder /builder/application .
           [exec]  ---> a46dc4bc5295
           [exec] 
           [exec] Successfully built a46dc4bc5295
           [exec] Successfully tagged com-liferay-osb-asah-private_osbasahbackend:latest
           [exec] /bin/bash: ./gradlew: No such file or directory
      [stopwatch] [run.batch.test.action: 8:57.045 sec]
           [echo] The following error occurred while executing this line:
           [echo] /opt/dev/projects/github/liferay-portal/build-test-batch.xml:365: The following error occurred while executing this line:
           [echo] /opt/dev/projects/github/liferay-portal/build-test-batch.xml:1626: /opt/dev/projects/github/liferay-portal/build-test-batch.xml:1630: The following error occurred while executing this line:
           [echo] /opt/dev/projects/github/liferay-portal/build-test-tomcat.xml:50: The following error occurred while executing this line:
           [echo] /opt/dev/projects/github/liferay-portal/build-test-tomcat.xml:62: The following error occurred while executing this line:
           [echo] /opt/dev/projects/github/liferay-portal/build-test.xml:14089: The following error occurred while executing this line:
           [echo] /opt/dev/projects/github/liferay-portal/build-test-analytics-cloud.xml:211: The following error occurred while executing this line:
           [echo] /opt/dev/projects/github/liferay-portal/build-test-analytics-cloud.xml:142: The following error occurred while executing this line:
           [echo] /opt/dev/projects/github/liferay-portal/build-common.xml:521: The following error occurred while executing this line:
           [echo] /opt/dev/projects/github/liferay-portal/build-common.xml:640: exec returned: 127
            [get] Getting: http://test-1-27/job/test-portal-acceptance-pullrequest-batch(master)/AXIS_VARIABLE=0,label_exp=!master/230//consoleText
            [get] To: /opt/dev/projects/github/liferay-portal/20210708022343505.txt
         [delete] Deleting: /opt/dev/projects/github/liferay-portal/20210708022343505.txt
         [delete] Deleting: /opt/dev/projects/github/liferay-portal/null1921693353.properties
    2. AXIS_VARIABLE=1,label_exp=!master #230
           [exec]  ---> ab35ea076618
           [exec] Step 14/16 : ENV LABEL_BUILD_DATE=${LABEL_BUILD_DATE}
           [exec]  ---> Running in 605719c3e000
           [exec] Removing intermediate container 605719c3e000
           [exec]  ---> 7e77957ae45e
           [exec] Step 15/16 : ENV LABEL_VCS_REF=${LABEL_VCS_REF}
           [exec]  ---> Running in 356234fb2dd4
           [exec] Removing intermediate container 356234fb2dd4
           [exec]  ---> 743e371a6b8c
           [exec] Step 16/16 : COPY --from=builder /builder/application .
           [exec]  ---> 04af56da5792
           [exec] 
           [exec] Successfully built 04af56da5792
           [exec] Successfully tagged com-liferay-osb-asah-private_osbasahbackend:latest
           [exec] /bin/bash: ./gradlew: No such file or directory
      [stopwatch] [run.batch.test.action: 9:25.725 sec]
           [echo] The following error occurred while executing this line:
           [echo] /opt/dev/projects/github/liferay-portal/build-test-batch.xml:365: The following error occurred while executing this line:
           [echo] /opt/dev/projects/github/liferay-portal/build-test-batch.xml:1626: /opt/dev/projects/github/liferay-portal/build-test-batch.xml:1630: The following error occurred while executing this line:
           [echo] /opt/dev/projects/github/liferay-portal/build-test-tomcat.xml:50: The following error occurred while executing this line:
           [echo] /opt/dev/projects/github/liferay-portal/build-test-tomcat.xml:62: The following error occurred while executing this line:
           [echo] /opt/dev/projects/github/liferay-portal/build-test.xml:14089: The following error occurred while executing this line:
           [echo] /opt/dev/projects/github/liferay-portal/build-test-analytics-cloud.xml:211: The following error occurred while executing this line:
           [echo] /opt/dev/projects/github/liferay-portal/build-test-analytics-cloud.xml:142: The following error occurred while executing this line:
           [echo] /opt/dev/projects/github/liferay-portal/build-common.xml:521: The following error occurred while executing this line:
           [echo] /opt/dev/projects/github/liferay-portal/build-common.xml:640: exec returned: 127
            [get] Getting: http://test-1-27/job/test-portal-acceptance-pullrequest-batch(master)/AXIS_VARIABLE=1,label_exp=!master/230//consoleText
            [get] To: /opt/dev/projects/github/liferay-portal/20210708022431180.txt
         [delete] Deleting: /opt/dev/projects/github/liferay-portal/20210708022431180.txt
         [delete] Deleting: /opt/dev/projects/github/liferay-portal/null1645082519.properties
    3. AXIS_VARIABLE=2,label_exp=!master #230
           [exec]  ---> 576d9ff9521a
           [exec] Step 14/16 : ENV LABEL_BUILD_DATE=${LABEL_BUILD_DATE}
           [exec]  ---> Running in b1646e6b33f0
           [exec] Removing intermediate container b1646e6b33f0
           [exec]  ---> f27770604726
           [exec] Step 15/16 : ENV LABEL_VCS_REF=${LABEL_VCS_REF}
           [exec]  ---> Running in 52ff47bc89aa
           [exec] Removing intermediate container 52ff47bc89aa
           [exec]  ---> fcbb3b478bc3
           [exec] Step 16/16 : COPY --from=builder /builder/application .
           [exec]  ---> 1a567182bfdd
           [exec] 
           [exec] Successfully built 1a567182bfdd
           [exec] Successfully tagged com-liferay-osb-asah-private_osbasahbackend:latest
           [exec] /bin/bash: ./gradlew: No such file or directory
      [stopwatch] [run.batch.test.action: 9:25.788 sec]
           [echo] The following error occurred while executing this line:
           [echo] /opt/dev/projects/github/liferay-portal/build-test-batch.xml:365: The following error occurred while executing this line:
           [echo] /opt/dev/projects/github/liferay-portal/build-test-batch.xml:1626: /opt/dev/projects/github/liferay-portal/build-test-batch.xml:1630: The following error occurred while executing this line:
           [echo] /opt/dev/projects/github/liferay-portal/build-test-tomcat.xml:50: The following error occurred while executing this line:
           [echo] /opt/dev/projects/github/liferay-portal/build-test-tomcat.xml:62: The following error occurred while executing this line:
           [echo] /opt/dev/projects/github/liferay-portal/build-test.xml:14089: The following error occurred while executing this line:
           [echo] /opt/dev/projects/github/liferay-portal/build-test-analytics-cloud.xml:211: The following error occurred while executing this line:
           [echo] /opt/dev/projects/github/liferay-portal/build-test-analytics-cloud.xml:142: The following error occurred while executing this line:
           [echo] /opt/dev/projects/github/liferay-portal/build-common.xml:521: The following error occurred while executing this line:
           [echo] /opt/dev/projects/github/liferay-portal/build-common.xml:640: exec returned: 127
            [get] Getting: http://test-1-27/job/test-portal-acceptance-pullrequest-batch(master)/AXIS_VARIABLE=2,label_exp=!master/230//consoleText
            [get] To: /opt/dev/projects/github/liferay-portal/20210708022435605.txt
         [delete] Deleting: /opt/dev/projects/github/liferay-portal/20210708022435605.txt
         [delete] Deleting: /opt/dev/projects/github/liferay-portal/null1597933101.properties
  2. test-portal-acceptance-pullrequest-batch(master)/js-unit-jdk8/0
    Job Results:

    0 Tests Passed.
    1 Test Failed.

    1. AXIS_VARIABLE=0,label_exp=!master #18697
           [exec] * What went wrong:
           [exec] Execution failed for task ':apps:frontend-js:frontend-js-a11y-web:packageRunTest'.
           [exec] > Process 'command '/opt/dev/projects/github/liferay-portal/build/node/bin/node'' finished with non-zero exit value 1
           [exec] 
           [exec] * Try:
           [exec] Run with --info or --debug option to get more log output. Run with --scan to get full insights.
           [exec] 
           [exec] * Exception is:
           [exec] org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':apps:frontend-js:frontend-js-a11y-web:packageRunTest'.
           [exec] 	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda$executeIfValid$1(ExecuteActionsTaskExecuter.java:208)
           [exec] 	at org.gradle.internal.Try$Failure.ifSuccessfulOrElse(Try.java:263)
           [exec] 	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:206)
           [exec] 	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:187)
           [exec] 	at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:114)
           [exec] 	at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)
           [exec] 	at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:62)
           [exec] 	at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)
           [exec] 	at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:56)
           [exec] 	at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)
           [exec] 	at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77)
           [exec] 	at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55)
           [exec] 	at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)
           [exec] 	at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:409)

Failures in common with acceptance upstream results at 3ff9d99:
  1. test-portal-acceptance-pullrequest-batch(master)/modules-integration-mysql57-jdk8/0
    Job Results:

    877 Tests Passed.
    2 Tests Failed.

    1. AXIS_VARIABLE=0,label_exp=!master #476260
      1. com.liferay.portal.log.assertor.PortalLogAssertorTest.testScanOSGiLog
        junit.framework.AssertionFailedError: 
        Portal log assert failure, OSGi log found: /opt/dev/projects/github/liferay-portal/bundles/osgi/state/1625735975901.log:
        !SESSION 2021-07-08 09:20:39.092 -----------------------------------------------
        eclipse.buildId=unknown
        java.version=1.8.0_121
        java.vendor=Oracle Corporation
        BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
        

        !ENTRY org.apache.felix.scr 4 0 2021-07-08 09:20:39.093
        !MESSAGE bundle org.apache.felix.scr:2.1.14.LIFERAY-PATCHED-5 (67)Circular reference detected trying to get service {com.liferay.portal.search.web.portlet.shared.search.PortletSharedSearchRequest}={service.id=6414, service.bundleid=273, service.scope=bundle, component.name=com.liferay.portal.search.web.internal.portlet.shared.search.PortletSharedSearchRequestImpl, component.id=5433}
        stack of references: ServiceReference: {javax.portlet.Portlet}={com.liferay.portlet.css-class-wrapper=portlet-category-facet, service.scope=bundle, javax.portlet.init-param.template-path=/META-INF/resources/, com.liferay.portlet.restore-current-view=false, com.liferay.portlet.display-category=category.search, javax.portlet.expiration-cache=0, com.liferay.portlet.layout-cacheable=true, javax.portlet.display-name=Category Facet, component.name=com.liferay.portal.search.web.internal.category.facet.portlet.CategoryFacetPortlet, com.liferay.portlet.instanceable=true, com.liferay.portlet.header-portlet-css=/css/main.css, service.id=6416, service.bundleid=273, com.lifera...

      2. com.liferay.portal.log.assertor.PortalLogAssertorTest.testScanXMLLog
        junit.framework.AssertionFailedError:
        bundle org.apache.felix.scr:2.1.14.LIFERAY-PATCHED-5 (67)Circular reference detected trying to get service {com.liferay.portal.search.web.portlet.shared.search.PortletSharedSearchRequest}={service.id=6414, service.bundleid=273, service.scope=bundle, component.name=com.liferay.portal.search.web.internal.portlet.shared.search.PortletSharedSearchRequestImpl, component.id=5433}
        stack of references: ServiceReference: {javax.portlet.Portlet}={com.liferay.portlet.css-class-wrapper=portlet-category-facet, service.scope=bundle, javax.portlet.init-param.template-path=/META-INF/resources/, com.liferay.portlet.restore-current-view=false, com.liferay.portlet.display-category=category.search, javax.portlet.expiration-cache=0, com.liferay.portlet.layout-cacheable=true, javax.portlet.display-name=Category Facet, component.name=com.liferay.portal.search.web.internal.category.facet.portlet.CategoryFacetPortlet, com.liferay.portlet.instanceable=true, com.liferay.portlet.header-portlet-css=/css/main.css, service.id=6416, service.bundleid=273, com.liferay.portlet.preferences-owned-by-group=true, com.liferay.portlet.private-request-attributes=false, com.liferay.portlet.icon=/icons/search.png, component.id=5395, javax.portlet.init-param.view-template=/category/facet/view.jsp, com.liferay.portlet.private-session-attributes=false, javax.portlet.security-role-ref=guest,power-user,user, javax.portlet.name=com_liferay_portal_search_web_category_facet_portlet_Ca...

@liferay-continuous-integration

@CarlosBrichete
Copy link
Collaborator

ci:forward

@liferay-continuous-integration

CI is automatically triggering the following test suites:

  •     ci:test:relevant
  •     ci:test:sf

The pull request will automatically be forwarded to the user brianchandotcom if the following test suites pass:

  •     ci:test:relevant
  •     ci:test:sf
  •     ci:test:stable

@liferay-continuous-integration

✔️ ci:test:sf - 1 out of 1 jobs passed in 3 minutes

Click here for more details.

Base Branch:

Branch Name: master
Branch GIT ID: 3ff9d993bd4f832b06fd1b780db0de552c9ceee1

Sender Branch:

Branch Name: LPS-134960-TA
Branch GIT ID: f015d3bc54e49a78e8ff4714d71fdbfc266717d9

1 out of 1jobs PASSED
1 Successful Jobs:
For more details click here.

@liferay-continuous-integration

All required test suite(s) passed.
Forwarding pull request to brianchandotcom.
Console

@liferay-continuous-integration

Pull request has been successfully forwarded to brianchandotcom#104070
Console

@liferay-continuous-integration

@liferay-continuous-integration

This pull request already has open forwarded pull request(s):
brianchandotcom#104070

Pull request will not be forwarded to brianchandotcom.
Console

@liferay-continuous-integration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants