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

JenkinsUtilsTest fails with IllegalArgument Cloud must have a unique non-empty name (regression in 2.403)

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • docker-plugin
    • Docker plugin tests run with mvn -Djenkins.version=2.414 verify

      The docker-plugin automated tests fail when run with Jenkins 2.414. They pass when run with Jenkins 2.401.3.

      I suspect a change in the cloud naming interface will need changes to the tests. I don't have any report of an issue with the docker plugin, only that a few of the automated tests are failing.

      The failing tests are:

      • getCloudByNameOrThrowGivenForeignCloudNameThenThrows
      • getCloudByNameOrThrowGivenUnknownNameThenThrows
      • getCloudByNameOrThrowGivenNameThenReturnsCloud

      I won't have time to investigate the failure for about a week. If someone else wants to investigate, they are welcome to do so.

          [JENKINS-71825] JenkinsUtilsTest fails with IllegalArgument Cloud must have a unique non-empty name (regression in 2.403)

          Mark Waite created issue -
          Basil Crow made changes -
          Summary Original: Docker plugin unit tests fail on Jenkins 2.414 but pass on 2.401.3 New: JenkinsUtilsTest fails with IllegalArgument Cloud must have a unique non-empty name
          Basil Crow made changes -
          Summary Original: JenkinsUtilsTest fails with IllegalArgument Cloud must have a unique non-empty name New: JenkinsUtilsTest fails with IllegalArgument Cloud must have a unique non-empty name (regression in 2.403)
          Basil Crow made changes -
          Labels New: regression
          Basil Crow made changes -
          Link New: This issue is caused by JENKINS-70729 [ JENKINS-70729 ]
          Mark Waite made changes -
          Assignee Original: Nicolas De Loof [ ndeloof ]
          Mark Waite made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Mark Waite made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Mark Waite made changes -
          Remote Link New: This issue links to "PR 1010 that drops support of docker clouds with an empty name (Web Link)" [ 28923 ]
          Mark Waite made changes -
          Assignee New: Mark Waite [ markewaite ]

            markewaite Mark Waite
            markewaite Mark Waite
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: