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

Infinite loop in PluginSetupWizard.js::checkConnectivity() on a custom UpdateSite

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      UpdateSite in Jenkins can return null from getConnectionCheckUrl() in order to indicate that the connection check should be skipped.

      In Jenkins 2.2 there is no special status for the "SKIPPED" connection check. UpdateCenter::doCheckConnection() returns

      {"internet": "UNCHECKED"}

      in such case.

      When PluginSetupWizard.js::checkConnectivity() receives such UNCHECKED result, it tries to query Jenkins again with 100ms timeout. Actually it leads to the infinite loop, because Jenkins UpdateCenter returns "UNCHECKED" forever.

        Attachments

          Activity

          oleg_nenashev Oleg Nenashev created issue -
          oleg_nenashev Oleg Nenashev made changes -
          Field Original Value New Value
          Assignee Oleg Nenashev [ oleg_nenashev ]
          oleg_nenashev Oleg Nenashev made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          oleg_nenashev Oleg Nenashev made changes -
          Labels installation updateCenter
          oleg_nenashev Oleg Nenashev made changes -
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Resolved [ 5 ]
          oleg_nenashev Oleg Nenashev made changes -
          Labels installation updateCenter installation lts-candidate updateCenter
          olivergondza Oliver Gondža made changes -
          Labels installation lts-candidate updateCenter 1.651.3-rejected installation lts-candidate updateCenter
          olivergondza Oliver Gondža made changes -
          Labels 1.651.3-rejected installation lts-candidate updateCenter 1.651.3-rejected installation updateCenter
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 170884 ] JNJira + In-Review [ 198968 ]

            People

            Assignee:
            oleg_nenashev Oleg Nenashev
            Reporter:
            oleg_nenashev Oleg Nenashev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: