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-145565 Test fix for ContentPerformance tests using Display Page Template #2099

Closed

Conversation

Luizcarlosqueiroz
Copy link
Collaborator

@Luizcarlosqueiroz Luizcarlosqueiroz commented Jan 19, 2022

Ticket:
LPS-145565

Failing Test:

  • ContentPerformance#MetricsUserWithoutPermissionsDPT
  • ContentPerformance#MetricsWithEditPermissions
  • ContentPerformance#MetricsWithEditPermissionsNotEditPage
  • ContentPerformance#MetricsWithoutEditPermissionsYesEditPage

Motivation:

  • Tests are failing due to 'java.lang.Exception: FAIL. Cannot find structureId.' , but are working locally. Did some refactor that might solve the issue at CI.

@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

ci:test:sf

@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: 3fdbf3e31039413072b01252e20afb856c2941f4

Sender Branch:

Branch Name: LPS-145565-Fix
Branch GIT ID: 4dfcbb31cd60abbb00d79654a655b995d39267bd

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

@Luizcarlosqueiroz
Copy link
Collaborator Author

ci:test:tango-analytics-cloud

@liferay-continuous-integration

@liferay-continuous-integration

❌ ci:test:tango-analytics-cloud - 0 out of 2 jobs passed in 1 hour 45 minutes

Click here for more details.

Base Branch:

Branch Name: master
Branch GIT ID: 3fdbf3e31039413072b01252e20afb856c2941f4

Upstream Comparison:

Branch GIT ID: 3fdbf3e31039413072b01252e20afb856c2941f4
Jenkins Build URL: Acceptance Upstream DXP (master) #2831

ci:test:tango-analytics-cloud - 0 out of 2 jobs PASSED
For more details click here.

Failures unique to this pull:

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

    12 Tests Passed.
    1 Test Failed.

    1. AXIS_VARIABLE=10 #23969
           [exec] Removing volume com-liferay-osb-asah-private_esdata1
           [exec] Removing volume com-liferay-osb-asah-private_export
           [exec] Removing volume com-liferay-osb-asah-private_faro
           [exec] Removing volume com-liferay-osb-asah-private_hive-metastore
           [exec] Removing volume com-liferay-osb-asah-private_kibanadata
           [exec] Removing volume com-liferay-osb-asah-private_temp
           [exec] Total reclaimed space: 0B
           [exec] Total reclaimed space: 0B
           [exec] Total reclaimed space: 0B
      [stopwatch] [run.batch.test.action: 47:05.639 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:1662: /opt/dev/projects/github/liferay-portal/build-test-batch.xml:1666: 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:13536: The following error occurred while executing this line:
           [echo] /opt/dev/projects/github/liferay-portal/build-test-analytics-cloud.xml:377: The following error occurred while executing this line:
           [echo] /opt/dev/projects/github/liferay-portal/build-test-analytics-cloud.xml:318: Task [sequential] failed after [3] attempts; giving up.
           [echo] Error messages:
           [echo] Failed to start analytics cloud with error code 143
           [echo] Failed to start analytics cloud with error code 143
           [echo] Failed to start analytics cloud with error code 143
           [echo] Failed to start analytics cloud with error code 143
            [get] Getting: http://test-1-25/job/test-portal-acceptance-pullrequest-batch(master)/AXIS_VARIABLE=10/23969//consoleText
            [get] To: /opt/dev/projects/github/liferay-portal/20220119110114558.txt
         [delete] Deleting: /opt/dev/projects/github/liferay-portal/20220119110114558.txt
         [delete] Deleting: /opt/dev/projects/github/liferay-portal/null132282281.properties
    2. ...
    Click here for more failures.

For upstream results, click here.

@liferay-continuous-integration

@Luizcarlosqueiroz Luizcarlosqueiroz self-assigned this Jan 20, 2022
@Luizcarlosqueiroz
Copy link
Collaborator Author

ci:test:tango-analytics-cloud

@liferay-continuous-integration

❌ ci:test:tango-analytics-cloud - 0 out of 2 jobs passed in 1 hour 27 minutes

Click here for more details.

This pull is eligible for reevaluation. When this upstream build has completed, using the following CI command will compare this pull request result against a more recent upstream result:

ci:reevaluate:1357401_579

Base Branch:

Branch Name: master
Branch GIT ID: 6ab4a795e72a48fce8675afb4195bf0e72ecac3f

Upstream Comparison:

Branch GIT ID: dcf4a95c5f180d3d13e30b3c567d7d76d3a1d963
Jenkins Build URL: Acceptance Upstream DXP (master) #2838

ci:test:tango-analytics-cloud - 0 out of 2 jobs PASSED
For more details click here.

Failures unique to this pull:

For upstream results, click here.

@liferay-continuous-integration

@Luizcarlosqueiroz
Copy link
Collaborator Author

Hey @CarlosBrichete ! When using the UI, all those tests pass.

@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

Build started.

Jenkins is currently running tests in the relevant test suite.

Base Branch:

Branch Name: master

Job Summary:

Job Link: test-portal-acceptance-pullrequest(master)

For more details click here.

@liferay-continuous-integration

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

Click here for more details.

Base Branch:

Branch Name: master
Branch GIT ID: 80c82960e52fab0a5998509f8fd92933904698fe

Sender Branch:

Branch Name: LPS-145565-Fix
Branch GIT ID: 161fce03b6fc0569ace682e2f27697c1694f5452

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#112523
Console

@liferay-continuous-integration

@liferay-continuous-integration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment