Skip to content
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

Bump matrix-auth from 3.1.5 to 3.1.6 in /bom-weekly #1633

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 8, 2022

Bumps matrix-auth from 3.1.5 to 3.1.6.

Release notes

Sourced from matrix-auth's releases.

Version 3.1.6

Commits
  • 6d72156 [maven-release-plugin] prepare release matrix-auth-3.1.6
  • c07416b [JENKINS-70231] Fix tooltips on 2.379+ (#130)
  • b738a49 [JENKINS-68581] Improve Javadoc (#128)
  • 4e72dcc Use HTTPS SCM URL (#131)
  • acf5fcc Update core dependency, plugin dependencies, parent POM (#129)
  • edd6565 [maven-release-plugin] prepare for next development iteration
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

Dependabot will merge this PR once CI passes on it, as requested by @MarkEWaite.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [matrix-auth](https://github.com/jenkinsci/matrix-auth-plugin) from 3.1.5 to 3.1.6.
- [Release notes](https://github.com/jenkinsci/matrix-auth-plugin/releases)
- [Changelog](https://github.com/jenkinsci/matrix-auth-plugin/blob/master/CHANGELOG.md)
- [Commits](jenkinsci/matrix-auth-plugin@matrix-auth-3.1.5...matrix-auth-3.1.6)

---
updated-dependencies:
- dependency-name: org.jenkins-ci.plugins:matrix-auth
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Dec 8, 2022
@dependabot dependabot bot requested a review from jglick December 8, 2022 22:05
Copy link
Contributor

@MarkEWaite MarkEWaite left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot squash and merge

@jglick
Copy link
Member

jglick commented Dec 12, 2022

java.lang.NoClassDefFoundError: org/jenkinsci/plugins/configfiles/GlobalConfigFiles
	at javaposse.jobdsl.plugin.JenkinsDslScriptLoader.extractGeneratedItems(JenkinsDslScriptLoader.java:25)

whatever that is about.

@MarkEWaite
Copy link
Contributor

java.lang.NoClassDefFoundError: org/jenkinsci/plugins/configfiles/GlobalConfigFiles
	at javaposse.jobdsl.plugin.JenkinsDslScriptLoader.extractGeneratedItems(JenkinsDslScriptLoader.java:25)

whatever that is about.

I'll investigate the issue within the next 3 days.

I think that the issue was introduced in matrix-auth plugin 3.1.6. I need to understand the precise change that introduced the problem. I'll use the search techniques that @basil illustrated when he showed me the BOM/PCT related problem that was introduced in git plugin 4.14.2.

#1623 (comment) is the comment from @basil that shows the process he used to do the investigation. My doing the investigation will assure that I've understood the technique.

@basil
Copy link
Member

basil commented Dec 12, 2022

At first glance this just looks like a repeat of #1435 (comment) which was fixed in jenkinsci/text-finder-plugin#133.

MarkEWaite added a commit to MarkEWaite/matrix-auth-plugin that referenced this pull request Dec 13, 2022
Tests run successfully without this dependency when executed from the
usual Apache Maven command line as in:

$ `mvn clean verify`

Tests fail when run in the BOM evaluation as in
jenkinsci/bom#1633 .  They report that a class
from the config file provider plugin could not be found.

jenkinsci/bom#1633 (comment)
provides details.

Testing performed:

Duplicated the problem by checking out
jenkinsci/bom#1633 and compiling the megawar in
the bom directory with:

```
PLUGINS=matrix-auth TEST=InjectedTest bash local-test.sh
```

Then built the matrix-auth plugin with this command line

```
BOM_DIR=/home/mwaite/hub/core/bom
mvn -Denforcer.skip=true -Djenkins.version=2.381 \
-Djth.jenkins-war.path=$BOM_DIR/target/local-test/megawar.war \
-DoverrideWar=$BOM_DIR/target/local-test/megawar.war \
-DoverrideWarAdditions=true -DuseUpperBounds=true \
-DupperBoundsExcludes=javax.servlet:servlet-api \
-Dtest=ImportTest \
clean verify
```

That shows the failure in the matrix-auth 3.1.6 release.

Then modified the matrix-auth pom.xml file as noted in this commit and
ran the same code again.  The test passed.

The additional test dependency does not modify the production code.
It will allow the next release of the matrix-auth plugin to be included
in the Jenkins plugin bill of materials.
@MarkEWaite
Copy link
Contributor

Investigation is complete. @basil was exactly correct. The config file provider plugin dependency that was needed in text finder plugin was also needed here.

jenkinsci/matrix-auth-plugin#133 has been submitted to address the issue. A new release of matrix-auth plugin will be required. Closing this pull request.

@MarkEWaite MarkEWaite closed this Dec 13, 2022
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 13, 2022

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@MarkEWaite MarkEWaite deleted the dependabot/maven/bom-weekly/org.jenkins-ci.plugins-matrix-auth-3.1.6 branch December 13, 2022 03:50
@basil basil mentioned this pull request Mar 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants