-
Notifications
You must be signed in to change notification settings - Fork 61
Test Kubernetes Credentials Provider plugin update #5088
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
Test Kubernetes Credentials Provider plugin update #5088
Conversation
…-weekly (jenkinsci#5078)" Tests fail for kubernetes credentials provider plugin and possible others as a result of the API plugin upgrade. jenkinsci#5076 (comment) This reverts commit 7b9de21.
…tibility Blue Ocean Bitbucket plugin depends on this plugin and uses the BitbucketEndpointConfiguration.normalizeServerUrl method. Rather than require a new release of Blue Ocean, let's retain compatibility by restoring that method and marking it as deprecated. Detected in: * jenkinsci/bom#5076 * jenkinsci/bom#5088 Testing done: mvn -Dtest=BitbucketSCMNavigatorTest,BitbucketEndpointConfigurationTest,BitbucketServerEndpointTest,BitbucketSCMNavigatorTest clean verify
Restores the BitbucketEndpointConfiguration.normalizeServerUrl method for compatibility with the Blue Ocean Bitbucket plugin.
Jackson 2 API 2.19.0 seems to cause class loading issues in the kubernetes credentials provider tests. Pull request has been submitted that shows the issue: * jenkinsci/kubernetes-credentials-provider-plugin#115
I've requested a review from @basil because he may have better insights into a solution. |
Workaround to prevent plugin BOM tests from failing with Jackson 2 API 2.19.0. jenkinsci/bom#5076 (comment) provides some additional details. Incremental build will be tested with: * jenkinsci/bom#5088 Does not alter the runtime dependencies of the plugin, since the dependencies that have been added are test dependencies. Confirmed by comparing the MANIFEST.MF entries from the most recent plugin release and this change.
Confirmed to pass tests with: LINE=weekly PLUGINS=kubernetes-credentials-provider TEST=KubernetesCredentialsProviderTest#startWatchingForSecrets bash ./local-test.sh
I vaguely recall class loading issues with Jackson but I have no recollection of what they were. |
Resolved by the release of Kubernetes credentials provider plugin release 1.281.v331e3f5a_05a_9. That includes a dependency on openstack-cloud-plugin 1456.v1c7380506a_ed that removes its incorrect inclusion of the Jackson API library inside the plugin HPI file. Requires test exclusions until the 2.492.x line is dropped. Exclusion added in: Issue created to track the eventual removal of those exclusions: |
Test Kubernetes Credentials Provider plugin update
Tests fail for kubernetes credentials provider plugin as a result of the Jackson 2 API plugin upgrade.
#5076 (comment)
Issue opened to track the future removal of the exclusion:
Testing done
Found a workaround that can be released in the Kubernetes Credentials Provider plugin:
Submitter checklist