-
Notifications
You must be signed in to change notification settings - Fork 180
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
DDF-5324 Upgrades Guava to 25.1 and forces OpenSAML to use the same version #5379
Conversation
d2b5ff9
to
a0734dc
Compare
a0734dc
to
c2c647b
Compare
Build now. |
Internal build has been scheduled, your results will be available at build completion. |
@@ -225,6 +225,7 @@ | |||
</Export-Package> | |||
<Import-Package> | |||
org.opensaml.xmlsec.signature.support.provider, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we have a version here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Next chance I get, I'll spin up a container and see what version is being wired up here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Strange. It's getting wired up correctly without the range.
Import-Package =
org.opensaml.xmlsec.signature.support.provider,
org.opensaml.core.config;version=3.3.0,
...
Probably because this is the only consumer. I think this will be fine. We're trying to get rid of opensaml anyway.
Refer to this link for build results (access rights to CI server needed): Failed Tests: 0❌ JOB FAILURE |
c2c647b
to
a8f83bb
Compare
Build now. |
Internal build has been scheduled, your results will be available at build completion. |
Refer to this link for build results (access rights to CI server needed): Failed Tests: 1DDF-Jobs/pr/Linux/ddf.catalog.core:catalog-core-directorymonitor: 1❌ JOB FAILURE |
Build now. |
Internal build has been scheduled, your results will be available at build completion. |
Refer to this link for build results (access rights to CI server needed): |
🎉 Hero build was successful! 🎉
|
build now |
Internal build has been scheduled, your results will be available at build completion. |
Refer to this link for build results (access rights to CI server needed): |
Build now. |
Internal build has been scheduled, your results will be available at build completion. |
Refer to this link for build results (access rights to CI server needed): |
|
Build now. |
Internal build has been scheduled, your results will be available at build completion. |
Refer to this link for build results (access rights to CI server needed): |
I'm not sure how the poms can be invalid. They are fine locally.
|
|
a8f83bb
to
df2e45a
Compare
Build now. |
1 similar comment
Build now. |
Internal build has been scheduled, your results will be available at build completion. |
Refer to this link for build results (access rights to CI server needed): Build result: FAILURE[...truncated 14.70 MB...][INFO] BUILD FAILURE[INFO] ------------------------------------------------------------------------[INFO] Total time: 10:24 min[INFO] Finished at: 2019-10-04T07:00:55+00:00[INFO] Final Memory: 427M/2121M[INFO] ------------------------------------------------------------------------[ERROR] Failed to execute goal org.owasp:dependency-check-maven:3.1.1:check (default) on project ddf: One or more exceptions occurred during dependency-check analysis: One or more exceptions occurred during dependency-check analysis[ERROR] The download was interrupted; unable to complete the update[ERROR] -> [Help 1][ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.[ERROR] Re-run Maven using the -X switch to enable full debug logging.[ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles:[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionExceptionBuild step 'Invoke top-level Maven targets' marked build as failureNew run name is 'PR 5379'Taking single-use slave mesos-jenkins-e12506a4-linux-large offline.+ echo ERROR: dockerd exited, or diedArchiving artifactsAdding one-line test results to commit status...Setting status of df2e45a to FAILURE with url https://jenkins.codice.org/job/DDF-Jobs/job/pr/job/Linux/7480/ and message: 'JOB FAILURE: https://jenkins.codice.org/job/DDF-Jobs/job/pr/job/Linux/7480/ 15538 tests run, 86 skipped, 0 failed.'Using context: Internal CI Pipeline❌ JOB FAILURE |
df2e45a
to
3f71fb5
Compare
Build now. |
Internal build has been scheduled, your results will be available at build completion. |
Refer to this link for build results (access rights to CI server needed): Build result: FAILURE[...truncated 5.84 MB...][INFO] --- jacoco-maven-plugin:0.8.2:prepare-agent (default-prepare-agent) @ test ---[INFO] Skipping JaCoCo execution because property jacoco.skip is set.[INFO] jacoco.argline set to empty[INFO] [INFO] --- gmavenplus-plugin:1.5:compile (default) @ test ---[INFO] No sources specified for compilation. Skipping.[INFO] [INFO] --- gmavenplus-plugin:1.5:testCompile (default) @ test ---[INFO] No sources specified for compilation. Skipping.[INFO] [INFO] --- jacoco-maven-plugin:0.8.2:report (default-report) @ test ---[INFO] Skipping JaCoCo execution because property jacoco.skip is set.[INFO] [INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ test ---[INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (check-artifact-size) @ test ---[INFO] Unsupported package type pom. Skipping artifact size enforcement.[INFO] [INFO] --- jacoco-maven-plugin:0.8.2:check (default-check) @ test ---[INFO] Skipping JaCoCo execution because property jacoco.skip is set.[INFO] [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ test ---[INFO] Installing /jenkins/workspace/DDF-Jobs/pr/Linux/distribution/test/pom.xml to /root/.m2/repository/ddf/test/test/2.20.0-SNAPSHOT/test-2.20.0-SNAPSHOT.pom[JENKINS] Archiving disabled❌ JOB FAILURE |
Build now. |
Internal build has been scheduled, your results will be available at build completion. |
Refer to this link for build results (access rights to CI server needed): |
What does this PR do?
Upgrades the Guava version used by DDF code and OpenSAML code to
25.1-jre
.Who is reviewing it?
@ryeats
@mojogitoverhere
@brianfelix
Select relevant component teams:
@codice/security
Ask 2 committers to review/merge the PR and tag them here.
@bdeining
@stustison
How should this be tested?
Any background context you want to provide?
There are several areas of the code where impls are leaking through APIs and, in an OSGi context, are causing unrelated components to inherit problems from their transitive dependencies. This means that the version of Guava that we use and the version of Guava that OpenSAML uses needs to be upgraded in lockstep. The immediate follow-on to this PR will be the following:
What are the relevant tickets?
Fixes: #5324
Checklist:
Notes on Review Process
Please see Notes on Review Process for further guidance on requirements for merging and abbreviated reviews.
Review Comment Legend: