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

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

      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.

          [JENKINS-34705] Infinite loop in PluginSetupWizard.js::checkConnectivity() on a custom UpdateSite

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

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

              Created:
              Updated:
              Resolved: