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

thirdPartyAudit failures in repository-gcs and repository-hdfs #38868

Closed
talevy opened this issue Feb 13, 2019 · 6 comments
Closed

thirdPartyAudit failures in repository-gcs and repository-hdfs #38868

talevy opened this issue Feb 13, 2019 · 6 comments
Labels
:Delivery/Build Build or test infrastructure Team:Delivery Meta label for Delivery team >test-failure Triaged test failures from CI

Comments

@talevy
Copy link
Contributor

talevy commented Feb 13, 2019

num occurrences: 21 times thus far in 2019

failure message

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.

* What went wrong:
Execution failed for task ':plugins:repository-gcs:thirdPartyAudit'.
> Third party audit task is not configured correctly

2: Task failed with an exception.

* What went wrong:
Execution failed for task ':plugins:repository-hdfs:thirdPartyAudit'.
> Third party audit task is not configured correctly

what seem to be relevant log lines:

Unnecessary exclusions, following classes have no violations:
   * org.apache.hadoop.crypto.CryptoStreamUtils
  * org.apache.hadoop.hdfs.shortcircuit.ShortCircuitShm$Slot

> Task :plugins:repository-hdfs:thirdPartyAudit
  * org.apache.hadoop.io.FastByteComparisons$LexicographicalComparerHolder$UnsafeComparer
  * org.apache.hadoop.io.FastByteComparisons$LexicographicalComparerHolder$UnsafeComparer$1
  * org.apache.hadoop.io.nativeio.NativeIO
  * org.apache.hadoop.security.SecurityUtil$QualifiedHostResolver
  * org.apache.hadoop.util.SignalLogger$Handler

...

Unnecessary exclusions, following classes are not missing:
> Task :x-pack:plugin:sql:jdbc:checkstyleMain
   * com.google.appengine.api.urlfetch.HTTPRequest
  * com.google.appengine.api.urlfetch.URLFetchService
  * com.google.appengine.api.urlfetch.URLFetchServiceFactory
  * javax.servlet.ServletContextEvent
  * javax.servlet.ServletContextListener
  * org.apache.avalon.framework.logger.Logger

attached logs: thirdpartyaudit.txt.zip

@talevy talevy added :Delivery/Build Build or test infrastructure >test-failure Triaged test failures from CI labels Feb 13, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra

@andyb-elastic
Copy link
Contributor

I wasn't able to reproduce this on a9178b3, which is the last-good-commit from the log attached

it was this 7.x build https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+7.x+multijob-unix-compatibility/os=opensuse/14/console

I did notice that it looks like a few other thirdPartyAudit tasks in there that didn't fail the build (or at least didn't show up in the build scan) had similar messages https://scans.gradle.com/s/pkfvnjzyuqugq/console-log?type=org.elasticsearch.gradle.precommit.ThirdPartyAuditTask

@talevy
Copy link
Contributor Author

talevy commented Feb 14, 2019

also happened with

:x-pack:plugin:sql:sql-client:thirdPartyAudit

Unnecessary exclusions, following classes are not missing:
   * org.apache.sshd.server.Signal

in 7.0: https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+7.0+multijob-unix-compatibility/os=opensuse/14/console

@droberts195
Copy link
Contributor

There was also a failure of thirdPartyAudit in the discovery-ec2 and discovery-gcs plugins in
https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+6.6+multijob-unix-compatibility/os=opensuse/114/console

09:53:16 1: Task failed with an exception.
09:53:16 -----------
09:53:16 * What went wrong:
09:53:16 Execution failed for task ':plugins:discovery-ec2:thirdPartyAudit'.
09:53:16 > Invalid exclusions, nothing is wrong with these classes:   * org.apache.log.Hierarchy
09:53:16     * org.apache.log.Logger
09:53:16     * software.amazon.ion.system.IonBinaryWriterBuilder
09:53:16     * software.amazon.ion.system.IonSystemBuilder
09:53:16     * software.amazon.ion.system.IonTextWriterBuilder
09:53:16 
09:53:16 * Try:
09:53:16 Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. Run with --scan to get full insights.
09:53:16 ==============================================================================
09:53:16 
09:53:16 2: Task failed with an exception.
09:53:16 -----------
09:53:16 * What went wrong:
09:53:16 Execution failed for task ':plugins:repository-gcs:thirdPartyAudit'.
09:53:16 > Invalid exclusions, nothing is wrong with these classes:   * com.google.common.util.concurrent.AbstractFuture$UnsafeAtomicHelper
09:53:16     * org.apache.log.Hierarchy
09:53:16     * org.apache.log.Logger
09:53:16 
09:53:16 * Try:
09:53:16 Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. Run with --scan to get full insights.
09:53:16 ==============================================================================

These don't reproduce locally using the exact commit that that build used (352aa7c), so I assume the problem is some sort of flakiness in the build system rather than an actual violation of 3rd party code policy.

@alpar-t
Copy link
Contributor

alpar-t commented Feb 14, 2019

This is an infra issue on some of the older non ephemeral workers

@alpar-t alpar-t closed this as completed Feb 14, 2019
@jkakavas
Copy link
Member

@mark-vieira mark-vieira added the Team:Delivery Meta label for Delivery team label Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Delivery/Build Build or test infrastructure Team:Delivery Meta label for Delivery team >test-failure Triaged test failures from CI
Projects
None yet
Development

No branches or pull requests

7 participants