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

LPD-16334 Unauthorized access to workflow definition via API #1187

Closed

Conversation

pedro-oliveira446
Copy link
Collaborator

@pedro-oliveira446 pedro-oliveira446 commented Jul 1, 2024

@liferay-continuous-integration
Copy link
Collaborator

CI is automatically triggering the following test suites:

  •     ci:test:sf

@pedro-oliveira446
Copy link
Collaborator Author

ci:test:relevant

@pedro-oliveira446
Copy link
Collaborator Author

ci:test:workflow

@liferay-continuous-integration
Copy link
Collaborator

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

Click here for more details.

Base Branch:

Branch Name: master
Branch GIT ID: 2637a44b79e58461042a8dd0639b3f9b019306d6

Sender Branch:

Branch Name: LPD-16334-3
Branch GIT ID: 4f370b79e414d928c07818444b3b761376453394

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

@liferay-continuous-integration
Copy link
Collaborator

❌ ci:test:workflow - 0 out of 1 jobs passed in 20 minutes

Click here for more details.

Base Branch:

Branch Name: master
Branch GIT ID: 2637a44b79e58461042a8dd0639b3f9b019306d6

Upstream Comparison:

Branch GIT ID: 83e7b2275cf0102afa2ce809aab95901286166c2
Jenkins Build URL: EE Development Acceptance (master) - 632 - 2024-07-01[08:39:43]

ci:test:workflow - 0 out of 1 jobs PASSED
For more details click here.

Failures unique to this pull:

  1. test-portal-acceptance-pullrequest(master)
    Job Results:

    0 Jobs Passed.
    1 Job Failed.

         [exec] * Where:
         [exec] Build file '/opt/dev/projects/github/liferay-portal/modules/apps/portal-search-elasticsearch7/portal-search-elasticsearch7-impl/build.gradle' line: 205
         [exec] 
         [exec] * What went wrong:
         [exec] Execution failed for task ':apps:portal-search-elasticsearch7:portal-search-elasticsearch7-impl:installPluginAnalysisIcu71721Zip'.
         [exec] > javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake
         [exec] 
         [exec] * Try:
         [exec] > Run with --info or --debug option to get more log output.
         [exec] > Get more help at https://help.gradle.org.
         [exec] 
         [exec] * Exception is:
         [exec] org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':apps:portal-search-elasticsearch7:portal-search-elasticsearch7-impl:installPluginAnalysisIcu71721Zip'.
         [exec]   at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda\$executeIfValid\$1(ExecuteActionsTaskExecuter.java:148)
         [exec]   at org.gradle.internal.Try\$Failure.ifSuccessfulOrElse(Try.java:282)
         [exec]   at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:146)
         [exec]   at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:134)
         [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:51)
         [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:74)
         [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)

For upstream results, click here.

Test bundle downloads:

@liferay-continuous-integration
Copy link
Collaborator

@liferay-continuous-integration
Copy link
Collaborator

@liferay-continuous-integration
Copy link
Collaborator

❌ ci:test:stable - 28 out of 31 jobs passed

❌ ci:test:relevant - 64 out of 76 jobs passed in 1 hour 58 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:1367401_6417

Base Branch:

Branch Name: master
Branch GIT ID: 2637a44b79e58461042a8dd0639b3f9b019306d6

Upstream Comparison:

Branch GIT ID: 83e7b2275cf0102afa2ce809aab95901286166c2
Jenkins Build URL: EE Development Acceptance (master) - 632 - 2024-07-01[08:39:43]

ci:test:stable - 28 out of 31 jobs PASSED

3 Failed Jobs:

28 Successful Jobs:
    ci:test:relevant - 64 out of 76 jobs PASSED

    12 Failed Jobs:

    64 Successful Jobs:
      For more details click here.

      Failures unique to this pull:

      1. functional-upgrade-tomcat90-mysql57-jdk8_stable/0/0
             [exec] c7ba1d834e04   test-1-32-63.lax.liferay.com_mysql    0.04%     384.5MiB / 62.52GiB   0.60%     4.96MB / 9.51MB   2.04MB / 1.16GB   33
             [exec] 2b47202f0436   test-1-32-64.lax.liferay.com_chrome   0.09%     154.1MiB / 62.52GiB   0.24%     1.15kB / 0B       0B / 61.4kB       70
             [exec] 6a7f5047b641   test-1-32-64.lax.liferay.com_mysql    0.04%     232.3MiB / 62.52GiB   0.36%     1.22kB / 0B       0B / 375MB        28
             [exec] ad1d5904dafe   cadvisor                              1.52%     1.125GiB / 62.52GiB   1.80%     229kB / 0B        12.7GB / 0B       33
             [exec] 8b3ee8928457   test-1-32-64                          0.56%     11.62GiB / 24GiB      48.43%    5.49TB / 6.11TB   17.7TB / 13TB     58
             [exec] 044340f21893   test-1-32-63                          108.68%   13.93GiB / 24GiB      58.06%    6.14TB / 6.29TB   17.6TB / 12.6TB   137
             [exec] 84fcbde45228   clamd                                 0.00%     16.96MiB / 62.52GiB   0.03%     2.67GB / 826kB    667MB / 0B        3
        [stopwatch] [test.execution.duration: 15:47.077 sec]
        [stopwatch] [run.batch.test.action: 16:17.494 sec]
             [echo] The following error occurred while executing this line:
             [echo] /opt/dev/projects/github/liferay-portal/build-test-batch.xml:373: The following error occurred while executing this line:
             [echo] /opt/dev/projects/github/liferay-portal/build-test-batch.xml:1685: /opt/dev/projects/github/liferay-portal/build-test-batch.xml:1689: The following error occurred while executing this line:
             [echo] /opt/dev/projects/github/liferay-portal/build-test-tomcat.xml:38: 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.xml:16002: The following error occurred while executing this line:
             [echo] /opt/dev/projects/github/liferay-portal/build-test.xml:17038: Timeout: killed the sub-process
              [get] Getting: \$\{dependencies.url\}/archive/test-1-32/test-portal-acceptance-pullrequest-downstream(master)/1036663consoleText
              [get] To: /opt/dev/projects/github/liferay-portal/20240701144749285.txt
           [delete] Deleting: /opt/dev/projects/github/liferay-portal/20240701144749285.txt
           [delete] Deleting: /opt/dev/projects/github/liferay-portal/null3788068.properties
      2. functional-upgrade-tomcat90-mysql57-jdk8_stable/0/4
             [echo] 
             [echo] docker stats --no-stream
             [echo] 
             [exec] CONTAINER ID   NAME                                 CPU %     MEM USAGE / LIMIT     MEM %     NET I/O           BLOCK I/O         PIDS
             [exec] d94d3eba94a3   test-1-37-8.lax.liferay.com_chrome   0.35%     154.4MiB / 62.52GiB   0.24%     1.26kB / 0B       0B / 61.4kB       70
             [exec] 5e564d841df9   test-1-37-8.lax.liferay.com_mysql    0.15%     420.2MiB / 62.52GiB   0.66%     5.12MB / 9.67MB   0B / 1.15GB       36
             [exec] 0693130d0ffe   cadvisor                             12.51%    51.69MiB / 62.52GiB   0.08%     607kB / 17.2MB    14.5MB / 0B       32
             [exec] 2f03d9609ab9   test-1-37-8                          1.12%     11.38GiB / 24GiB      47.43%    537GB / 519GB     1.78TB / 1.39TB   83
             [exec] 75e9a666f060   test-1-37-7                          0.52%     12.18GiB / 24GiB      50.74%    620GB / 644GB     2.03TB / 1.39TB   38
             [exec] 10e873ef2608   clamd                                0.00%     1.221GiB / 62.52GiB   1.95%     3.81MB / 0B       251MB / 0B        3
        [stopwatch] [test.execution.duration: 15:45.666 sec]
        [stopwatch] [run.batch.test.action: 16:15.761 sec]
             [echo] The following error occurred while executing this line:
             [echo] /opt/dev/projects/github/liferay-portal/build-test-batch.xml:373: The following error occurred while executing this line:
             [echo] /opt/dev/projects/github/liferay-portal/build-test-batch.xml:1685: /opt/dev/projects/github/liferay-portal/build-test-batch.xml:1689: The following error occurred while executing this line:
             [echo] /opt/dev/projects/github/liferay-portal/build-test-tomcat.xml:38: 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.xml:16002: The following error occurred while executing this line:
             [echo] /opt/dev/projects/github/liferay-portal/build-test.xml:17038: Timeout: killed the sub-process
              [get] Getting: \$\{dependencies.url\}/archive/test-1-37/test-portal-acceptance-pullrequest-downstream(master)/1147021consoleText
              [get] To: /opt/dev/projects/github/liferay-portal/20240701144330166.txt
           [delete] Deleting: /opt/dev/projects/github/liferay-portal/20240701144330166.txt
           [delete] Deleting: /opt/dev/projects/github/liferay-portal/null2106155666.properties
      3. ...
      Test bundle downloads:

      @liferay-continuous-integration
      Copy link
      Collaborator

      @pedro-oliveira446
      Copy link
      Collaborator Author

      ci:test:workflow

      @liferay-continuous-integration
      Copy link
      Collaborator

      ❌ ci:test:workflow - 375 out of 394 jobs passed in 2 hours

      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:1277401_12220

      Base Branch:

      Branch Name: master
      Branch GIT ID: f87fa5dd559e0c59e48bd53e9f6f0209e7c6e043

      Upstream Comparison:

      Branch GIT ID: 193930dce40abfdcd3c2c4370db8821b4e029e1d
      Jenkins Build URL: EE Development Acceptance (master) - 646 - 2024-07-05[00:38:33]

      ci:test:workflow - 375 out of 394 jobs PASSED

      19 Failed Jobs:

      375 Successful Jobs:
        For more details click here.

        Failures unique to this pull:

        1. ...

        For upstream results, click here.

        Test bundle downloads:

        @liferay-continuous-integration
        Copy link
        Collaborator

        @liferay-continuous-integration
        Copy link
        Collaborator

        ✔️ 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: 2728273d7f02cf083fb27d0ba040b0d4892b4ee8

        Sender Branch:

        Branch Name: LPD-16334-3
        Branch GIT ID: 1af2970f60f5119c3aa455ca98455397298c2414

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

        @liferay-continuous-integration
        Copy link
        Collaborator

        @liferay-continuous-integration
        Copy link
        Collaborator

        ❌ ci:test:workflow - 371 out of 394 jobs passed in 1 hour 60 minutes

        Click here for more details.

        Base Branch:

        Branch Name: master
        Branch GIT ID: 2728273d7f02cf083fb27d0ba040b0d4892b4ee8

        Upstream Comparison:

        Branch GIT ID: 105f946f10df429c9d38e8ae6ca74f9ed067e434
        Jenkins Build URL: EE Development Acceptance (master) - 659 - 2024-07-09[04:38:39]

        ci:test:workflow - 371 out of 394 jobs PASSED

        23 Failed Jobs:

        371 Successful Jobs:
          For more details click here.

          Failures unique to this pull:

          1. functional-tomcat90-mysql57-jdk8/7/15
            [beanshell] Average thread duration: 221ms
            [beanshell] Busy slaves:0
            [beanshell] Finished slaves:1
            [beanshell] Target slaves:1
            [beanshell] Total duration: 222
            [beanshell] Remote execution completed in 223ms.
            [beanshell] Executing commands: rsync -aqz --chmod=go=rx "/opt/dev/projects/github/liferay-jenkins-ee/testray/prepared_rsync_logs"/* "test-1-25::testray-results/production/logs/"
            [beanshell] Uploaded https://testray.liferay.com/reports/production/logs/2024-07/test-1-40/test-portal-acceptance-pullrequest(master)/10287/functional-tomcat90-mysql57-jdk8/7/15/jenkins-console.txt.gz
            [beanshell] INFO: Using GOOGLE_APPLICATION_CREDENTIALS=/root/.gcloud/ci-testray.json
            [beanshell] Unable to delete because file does not exist /opt/dev/projects/github/liferay-jenkins-ee/testray/prepared_s3_logs
            [beanshell] Created S3 Object https://storage.cloud.google.com/testray-results/2024-07/test-1-40/test-portal-acceptance-pullrequest(master)/10287/functional-tomcat90-mysql57-jdk8/7/15/jenkins-console.txt.gz in 264 ms
            [stopwatch] [run.current.job: 5:17.271 sec]
            [beanshell] Created cache file in /tmp/jenkins-cached-files/-1127950652.txt
            

            BUILD FAILED
            /opt/dev/projects/github/liferay-jenkins-ee/commands/build-common.xml:15424: The following error occurred while executing this line:
            /opt/dev/projects/github/liferay-jenkins-ee/commands/build-common.xml:16297: Sourced file: inline evaluation of: import com.liferay.jenkins.results.parser.BuildDatabase; import com . . . '' : TargetError : at Line: 149 : in file: inline evaluation of: import com.liferay.jenkins.results.parser.BuildDatabase; import com . . . '' : throw exception ;

            Target exception: com.liferay.jenkins.results.parser.GitWorkingDirectory$GitWorkingDirectoryRuntimeException: Runtime exception occurred in liferay-portal
            Unable to fetch remote Git ref LPD-16334-3 after 2 minutes
            error: object file .git/objects/61/060aa04d6de62fe9983e32684525a30eaf1353 is empty
            error: object file .git/objects/61/060aa04d6de62fe9983e32684525a30eaf1353 is empty
            error: object file .git/objects/d1/f40d095ee9a3d2aa988a6d22a3dea0802846cd is empty
            fatal: cannot read existing object info d1f40d095ee9a3d2aa988a6d22a3dea0802846cd
            fatal: fetch-pack: invalid index-pack output

          2. ...

          For upstream results, click here.

          Test bundle downloads:

          @liferay-continuous-integration
          Copy link
          Collaborator

          @liferay-continuous-integration
          Copy link
          Collaborator

          ✔️ ci:test:stable - 31 out of 31 jobs passed

          ❌ ci:test:relevant - 91 out of 99 jobs passed in 2 hours 37 minutes

          Click here for more details.

          Base Branch:

          Branch Name: master
          Branch GIT ID: 2728273d7f02cf083fb27d0ba040b0d4892b4ee8

          Upstream Comparison:

          Branch GIT ID: 105f946f10df429c9d38e8ae6ca74f9ed067e434
          Jenkins Build URL: EE Development Acceptance (master) - 659 - 2024-07-09[04:38:39]

          ci:test:stable - 31 out of 31 jobs PASSED
          31 Successful Jobs:
            ci:test:relevant - 91 out of 99 jobs PASSED

            8 Failed Jobs:

            91 Successful Jobs:
              For more details click here.

              Failures unique to this pull:

              1. modules-integration-mysql57-jdk8/0/3
                [beanshell] Buildfile: /opt/dev/projects/github/liferay-portal/build-common.xml
                [beanshell]    [delete] Deleting: /opt/dev/projects/github/liferay-portal/null1394732055.properties
                [beanshell] 
                [beanshell] generate-backend-batch-junit-report-modules:
                [beanshell] 
                [beanshell] BUILD SUCCESSFUL
                [beanshell] Total time: 0 seconds
                [beanshell] ant -Dtest.class.name="com.liferay.commerce.price.list.pricing.test.CommercePriceListHierarchyDiscoveryTest" -f build-common.xml generate-backend-batch-junit-report-modules
                [beanshell] Buildfile: /opt/dev/projects/github/liferay-portal/build-common.xml
                [beanshell]    [delete] Deleting: /opt/dev/projects/github/liferay-portal/null1428597620.properties
                [beanshell] 
                [beanshell] generate-backend-batch-junit-report-modules:
                [beanshell] 
                [beanshell] BUILD SUCCESSFUL
                [beanshell] Total time: 0 seconds
                [stopwatch] [run.batch.test.action: 6:53.491 sec]
                     [echo] The following error occurred while executing this line:
                     [echo] /opt/dev/projects/github/liferay-portal/build-test-batch.xml:373: The following error occurred while executing this line:
                     [echo] /opt/dev/projects/github/liferay-portal/build-test-batch.xml:2439: The following error occurred while executing this line:
                     [echo] /opt/dev/projects/github/liferay-portal/build-test-batch.xml:2620: Sourced file: inline evaluation of: ``                        import com.liferay.jenkins.results.parser.AntUtil;             import com . . . '' : Typed variable declaration : Method Invocation JenkinsResultsParserUtil.getFileFromPathSnippet : at Line: 119 : in file: inline evaluation of: ``                        import com.liferay.jenkins.results.parser.AntUtil;             import com . . . '' : JenkinsResultsParserUtil .getFileFromPathSnippet ( projectDir , testClass ) 
                     [echo] 
                     [echo] Target exception: java.lang.RuntimeException: java.nio.file.NoSuchFileException: /opt/dev/projects/github/liferay-portal/bundles/data/elasticsearch7/indices/nodes/0/indices/54iCbtcRQfSWBCuD_ppTng/0/index/pending_segments_3
                      [get] Getting: \$\{dependencies.url\}/archive/test-1-36/test-portal-acceptance-pullrequest-downstream(master)/986821consoleText
                      [get] To: /opt/dev/projects/github/liferay-portal/20240709114755737.txt
                   [delete] Deleting: /opt/dev/projects/github/liferay-portal/20240709114755737.txt
                   [delete] Deleting: /opt/dev/projects/github/liferay-portal/null235737028.properties
                1. com.liferay.commerce.payment.service.persistence.test.CommercePaymentMethodGroupRelPersistenceTest - Failed 0 of last 21
                2. com.liferay.commerce.price.list.pricing.test.CommercePriceListHierarchyDiscoveryTest - Failed 0 of last 20
                3. com.liferay.commerce.payment.internal.servlet.test.CommercePaymentServletTest - Failed 0 of last 21
                4. ...
              2. modules-integration-mysql57-jdk8/1/20
                1. com.liferay.password.policies.admin.internal.exportimport.data.handler.test.PasswordPolicyPortletDataHandlerTest.testAddDefaultData - UNTESTED
                2. com.liferay.password.policies.admin.internal.exportimport.data.handler.test.PasswordPolicyPortletDataHandlerTest.testDataLevel - UNTESTED
                3. com.liferay.password.policies.admin.internal.exportimport.data.handler.test.PasswordPolicyPortletDataHandlerTest.testDeleteData - UNTESTED
                4. ...

              Failures in common with acceptance upstream results at 105f946:
              1. ...
              Test bundle downloads:

              @liferay-continuous-integration
              Copy link
              Collaborator

              Copy link
              Collaborator

              @MarinhoFeliphe MarinhoFeliphe left a comment

              Choose a reason for hiding this comment

              The reason will be displayed to describe this comment to others. Learn more.

              LGTM!! 🎉

              @pedro-oliveira446
              Copy link
              Collaborator Author

              ci:forward:force

              @liferay-continuous-integration
              Copy link
              Collaborator

              CI is automatically triggering the following test suites:

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

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

              •     ci:test:relevant
              •     ci:test:sf
                AND If the following test suites pass:
              •     ci:test:stable

              @liferay-continuous-integration
              Copy link
              Collaborator

              Skipping previously completed test suites:

              • ci:test:relevant
              • ci:test:sf
                AND Skipping previously passed test suites:
              • ci:test:stable

              @liferay-continuous-integration
              Copy link
              Collaborator

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

              @liferay-continuous-integration
              Copy link
              Collaborator

              Pull request has been successfully forwarded to brianchandotcom#152232
              Console

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