Skip to content

Instantly share code, notes, and snippets.

@jortkoopmans
Created August 7, 2018 14:56
Show Gist options
  • Save jortkoopmans/259e0735a1c5ba2c75ece462fe649e0d to your computer and use it in GitHub Desktop.
Save jortkoopmans/259e0735a1c5ba2c75ece462fe649e0d to your computer and use it in GitHub Desktop.
DependencyCheck
[DependencyCheck] OWASP Dependency-Check Plugin v3.3.1
[DependencyCheck] Executing Dependency-Check with the following options:
[DependencyCheck] -name = default
[DependencyCheck] -scanPath = /home/jenkins/workspace/MyProject_default-WZADJBOCM467O2ZXO4MBC4DXMSNGDSYZA4BS7EKGKKJOZOPX4ECA
[DependencyCheck] -outputDirectory = /home/jenkins/workspace/MyProject_default-WZADJBOCM467O2ZXO4MBC4DXMSNGDSYZA4BS7EKGKKJOZOPX4ECA/report
[DependencyCheck] -dataDirectory = /home/jenkins/workspace/MyProject_default-WZADJBOCM467O2ZXO4MBC4DXMSNGDSYZA4BS7EKGKKJOZOPX4ECA/dependency-check-data
[DependencyCheck] -suppressionFile = /home/jenkins/workspace/MyProject_default-WZADJBOCM467O2ZXO4MBC4DXMSNGDSYZA4BS7EKGKKJOZOPX4ECA/assembly/cep-owasp-supression.xml
[DependencyCheck] -dataMirroringType = none
[DependencyCheck] -isQuickQueryTimestampEnabled = true
[DependencyCheck] -jarAnalyzerEnabled = true
[DependencyCheck] -nodePackageAnalyzerEnabled = true
[DependencyCheck] -nspAnalyzerEnabled = true
[DependencyCheck] -retireJsAnalyzerEnabled = true
[DependencyCheck] -composerLockAnalyzerEnabled = true
[DependencyCheck] -pythonDistributionAnalyzerEnabled = true
[DependencyCheck] -pythonPackageAnalyzerEnabled = true
[DependencyCheck] -rubyBundlerAuditAnalyzerEnabled = true
[DependencyCheck] -rubyGemAnalyzerEnabled = true
[DependencyCheck] -cocoaPodsAnalyzerEnabled = true
[DependencyCheck] -swiftPackageManagerAnalyzerEnabled = true
[DependencyCheck] -archiveAnalyzerEnabled = true
[DependencyCheck] -assemblyAnalyzerEnabled = true
[DependencyCheck] -msBuildProjectAnalyzerEnabled = true
[DependencyCheck] -nuGetConfigAnalyzerEnabled = true
[DependencyCheck] -nuspecAnalyzerEnabled = true
[DependencyCheck] -centralAnalyzerEnabled = true
[DependencyCheck] -nexusAnalyzerEnabled = false
[DependencyCheck] -artifactoryAnalyzerEnabled = false
[DependencyCheck] -autoconfAnalyzerEnabled = true
[DependencyCheck] -cmakeAnalyzerEnabled = true
[DependencyCheck] -opensslAnalyzerEnabled = true
[DependencyCheck] -showEvidence = true
[DependencyCheck] -formats = XML HTML
[DependencyCheck] -autoUpdate = true
[DependencyCheck] -updateOnly = false
[DependencyCheck] WARNING: Suppression file does not exist. Omitting.
[DependencyCheck] Output directory created
[DependencyCheck] Data directory created
[DependencyCheck] Scanning: /home/jenkins/workspace/MyProject_default-WZADJBOCM467O2ZXO4MBC4DXMSNGDSYZA4BS7EKGKKJOZOPX4ECA
[DependencyCheck] Analyzing Dependencies
[DependencyCheck] One or more exceptions were thrown while executing Dependency-Check
[DependencyCheck] Exception Caught: org.owasp.dependencycheck.data.update.exception.UpdateException
[DependencyCheck] Cause: Connection reset
[DependencyCheck] Message: Failed to initialize the RetireJS repo
[DependencyCheck] org.owasp.dependencycheck.data.update.exception.UpdateException: Failed to initialize the RetireJS repo
[DependencyCheck] at org.owasp.dependencycheck.data.update.RetireJSDataSource.initializeRetireJsRepo(RetireJSDataSource.java:171)
[DependencyCheck] at org.owasp.dependencycheck.data.update.RetireJSDataSource.update(RetireJSDataSource.java:99)
[DependencyCheck] at org.owasp.dependencycheck.Engine.doUpdates(Engine.java:899)
[DependencyCheck] at org.owasp.dependencycheck.Engine.initializeAndUpdateDatabase(Engine.java:716)
[DependencyCheck] at org.owasp.dependencycheck.Engine.analyzeDependencies(Engine.java:642)
[DependencyCheck] at org.jenkinsci.plugins.DependencyCheck.DependencyCheckExecutor.executeDependencyCheck(DependencyCheckExecutor.java:172)
[DependencyCheck] at org.jenkinsci.plugins.DependencyCheck.DependencyCheckExecutor.call(DependencyCheckExecutor.java:103)
[DependencyCheck] at org.jenkinsci.plugins.DependencyCheck.DependencyCheckExecutor.call(DependencyCheckExecutor.java:46)
[DependencyCheck] at hudson.remoting.UserRequest.perform(UserRequest.java:212)
[DependencyCheck] at hudson.remoting.UserRequest.perform(UserRequest.java:54)
[DependencyCheck] at hudson.remoting.Request$2.run(Request.java:369)
[DependencyCheck] at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
[DependencyCheck] at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[DependencyCheck] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[DependencyCheck] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[DependencyCheck] at java.lang.Thread.run(Thread.java:748)
[DependencyCheck] Caused by: java.net.SocketException: Connection reset
[DependencyCheck] at java.net.SocketInputStream.read(SocketInputStream.java:210)
[DependencyCheck] at java.net.SocketInputStream.read(SocketInputStream.java:141)
[DependencyCheck] at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)
[DependencyCheck] at sun.security.ssl.InputRecord.read(InputRecord.java:503)
[DependencyCheck] at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:983)
[DependencyCheck] at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1385)
[DependencyCheck] at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1413)
[DependencyCheck] at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1397)
[DependencyCheck] at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559)
[DependencyCheck] at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
[DependencyCheck] at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1564)
[DependencyCheck] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492)
[DependencyCheck] at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
[DependencyCheck] at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:347)
[DependencyCheck] at org.owasp.dependencycheck.data.update.RetireJSDataSource.initializeRetireJsRepo(RetireJSDataSource.java:157)
[DependencyCheck] ... 15 more
[DependencyCheck]
[DependencyCheck] Exception Caught: org.owasp.dependencycheck.exception.InitializationException
[DependencyCheck] Cause: /home/jenkins/workspace/MyProject_default-WZADJBOCM467O2ZXO4MBC4DXMSNGDSYZA4BS7EKGKKJOZOPX4ECA/dependency-check-data/jsrepository.json (No such file or directory)
[DependencyCheck] Message: Failed to initialize the RetireJS repo
[DependencyCheck] org.owasp.dependencycheck.exception.InitializationException: Failed to initialize the RetireJS repo
[DependencyCheck] at org.owasp.dependencycheck.analyzer.RetireJsAnalyzer.prepareFileTypeAnalyzer(RetireJsAnalyzer.java:178)
[DependencyCheck] at org.owasp.dependencycheck.analyzer.AbstractFileTypeAnalyzer.prepareAnalyzer(AbstractFileTypeAnalyzer.java:83)
[DependencyCheck] at org.owasp.dependencycheck.analyzer.AbstractAnalyzer.prepare(AbstractAnalyzer.java:107)
[DependencyCheck] at org.owasp.dependencycheck.Engine.initializeAnalyzer(Engine.java:825)
[DependencyCheck] at org.owasp.dependencycheck.Engine.analyzeDependencies(Engine.java:662)
[DependencyCheck] at org.jenkinsci.plugins.DependencyCheck.DependencyCheckExecutor.executeDependencyCheck(DependencyCheckExecutor.java:172)
[DependencyCheck] at org.jenkinsci.plugins.DependencyCheck.DependencyCheckExecutor.call(DependencyCheckExecutor.java:103)
[DependencyCheck] at org.jenkinsci.plugins.DependencyCheck.DependencyCheckExecutor.call(DependencyCheckExecutor.java:46)
[DependencyCheck] at hudson.remoting.UserRequest.perform(UserRequest.java:212)
[DependencyCheck] at hudson.remoting.UserRequest.perform(UserRequest.java:54)
[DependencyCheck] at hudson.remoting.Request$2.run(Request.java:369)
[DependencyCheck] at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
[DependencyCheck] at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[DependencyCheck] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[DependencyCheck] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[DependencyCheck] at java.lang.Thread.run(Thread.java:748)
[DependencyCheck] Caused by: java.io.FileNotFoundException: /home/jenkins/workspace/MyProject_default-WZADJBOCM467O2ZXO4MBC4DXMSNGDSYZA4BS7EKGKKJOZOPX4ECA/dependency-check-data/jsrepository.json (No such file or directory)
[DependencyCheck] at java.io.FileInputStream.open0(Native Method)
[DependencyCheck] at java.io.FileInputStream.open(FileInputStream.java:195)
[DependencyCheck] at java.io.FileInputStream.<init>(FileInputStream.java:138)
[DependencyCheck] at org.owasp.dependencycheck.analyzer.RetireJsAnalyzer.prepareFileTypeAnalyzer(RetireJsAnalyzer.java:173)
[DependencyCheck] ... 15 more
[DependencyCheck]
[Pipeline] dependencyCheckPublisher
[DependencyCheck] Skipping publisher since build result is FAILURE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment