Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-32851

Gerrit Connection Breaks on Jenkins 1.609.2 LTS

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Duplicate
    • sonar-gerrit-plugin
    • None
    • Jenkins 1.609.2 LTS
      sonar-gerrit 1.0.6
      gerrit trigger 2.18.3

    Description

      I recently installed sonar-gerrit plugin on Jenkins 1.609.2 LTS - due to plug-in dependency gerrit-trigger plugin upgraded from 2.16.0 to 2.18.3 version. After successful Jenkins restart, "Jenkins to Gerrit" connection breaks (No Git/Gerrit actions can be performed from Jenkins). However, from sonar-gerrit plug-in homepage, sonar-gerrit plug-in will work from Jenkins 1.580.1 onwards.

      Could you please investigate why gerrit connection breaks when we install sonar-gerrit 1.0.6 & gerrit trigger 2.18.3 on Jenkins 1.609.2 LTS?

      Do let me know if any other information is required.

      Attachments

        Issue Links

          Activity

            flooows Florent D. added a comment -

            Hello. I have the same issue but I have no proxy setting up. My full description is explained on http://stackoverflow.com/q/40157708/2394026

            How can I investigate myself and where can I see error logs of the plugin ? Jenkins is installed on Windows server.

            Jenkins version 2.19.1 - Gerrit 2.13.2 - Plugin SonarGerrit 1.0.6 - Plugin Gerrit Trigger 2.21.1

            flooows Florent D. added a comment - Hello. I have the same issue but I have no proxy setting up. My full description is explained on http://stackoverflow.com/q/40157708/2394026 How can I investigate myself and where can I see error logs of the plugin ? Jenkins is installed on Windows server. Jenkins version 2.19.1 - Gerrit 2.13.2 - Plugin SonarGerrit 1.0.6 - Plugin Gerrit Trigger 2.21.1
            aquarellian Tatiana Didik added a comment -

            Florent D.

            Does it work with section "post score?" unchecked?
            What category do you use for score posting? (Have you created it in Gerrit?)

            aquarellian Tatiana Didik added a comment - Florent D. Does it work with section "post score?" unchecked? What category do you use for score posting? (Have you created it in Gerrit?)
            flooows Florent D. added a comment -

            Thanks for your fast answer.
            It doesn't work without posting score. I still have the message "Unable to post review: Request failed." in analysis logs. Nothing changed on Gerrit UI and there is no messages in httpd_log log file (Gerrit server side).

            I use the default "Code-Review" for posting score. It is already created in Gerrit.

            Is there a way to add traces in a file to get more information about what doesn't work ?

            flooows Florent D. added a comment - Thanks for your fast answer. It doesn't work without posting score. I still have the message "Unable to post review: Request failed." in analysis logs. Nothing changed on Gerrit UI and there is no messages in httpd_log log file (Gerrit server side). I use the default "Code-Review" for posting score. It is already created in Gerrit. Is there a way to add traces in a file to get more information about what doesn't work ?
            aquarellian Tatiana Didik added a comment -

            Florent,
            Extra logging will be available in the 1.0.7 release (see JENKINS-33892). It should be published shortly.

            aquarellian Tatiana Didik added a comment - Florent, Extra logging will be available in the 1.0.7 release (see JENKINS-33892 ). It should be published shortly.

            Closing as duplicate since all issues have been moved to https://github.com/jenkinsci/sonar-gerrit-plugin/issues .

            reda_alaoui Réda Housni Alaoui added a comment - Closing as duplicate since all issues have been moved to https://github.com/jenkinsci/sonar-gerrit-plugin/issues .

            People

              aquarellian Tatiana Didik
              dhruva_kumar Dhruva Kumar
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: