struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Jenkins Server <jenk...@builds.apache.org>
Subject Build failed in Jenkins: Struts-master-JDK7-dependency-check #44
Date Sun, 25 Feb 2018 22:40:38 GMT
See <https://builds.apache.org/job/Struts-master-JDK7-dependency-check/44/display/redirect?page=changes>

Changes:

[lukaszlenart] Cleans up suppression file and uses full path

------------------------------------------
[...truncated 1.30 MB...]
2018-02-25 22:40:22,436 INFO  [main] profiling.UtilTimerStack (UtilTimerStack.java:385) -
[1ms] - execute: 
  [1ms] - invoke: 
    [1ms] - interceptorMapping: staticParams
      [1ms] - invoke: 
        [1ms] - interceptorMapping: modelDriven
          [1ms] - invoke: 
            [1ms] - interceptorMapping: params
              [0ms] - invoke: 
                [0ms] - invokeAction: WildCardInput
                [0ms] - executeResult: input

2018-02-25 22:40:22,436 INFO  [main] profiling.UtilTimerStack (UtilTimerStack.java:385) -
[0ms] - create DefaultActionProxy: 
  [0ms] - actionCreate: WildCardError

2018-02-25 22:40:22,436 INFO  [main] profiling.UtilTimerStack (UtilTimerStack.java:385) -
[0ms] - execute: 
  [0ms] - invoke: 
    [0ms] - interceptorMapping: staticParams
      [0ms] - invoke: 
        [0ms] - interceptorMapping: modelDriven
          [0ms] - invoke: 
            [0ms] - interceptorMapping: params
              [0ms] - invoke: 
                [0ms] - invokeAction: WildCardError
                [0ms] - executeResult: error

org.testng.TestNGException: 
Failure in JUnit mode for class org.apache.struts2.views.jsp.AbstractUITagTest: could not
create/run JUnit test suite: 
Cannot find JUnit method class junit.framework.TestSuite$1.warning
	at org.testng.junit.JUnitTestRunner.runFailed(JUnitTestRunner.java:237)
	at org.testng.junit.JUnitTestRunner.start(JUnitTestRunner.java:230)
	at org.testng.junit.JUnitTestRunner.run(JUnitTestRunner.java:211)
	at org.testng.TestRunner$1.run(TestRunner.java:659)
	at org.testng.TestRunner.runWorkers(TestRunner.java:1147)
	at org.testng.TestRunner.privateRunJUnit(TestRunner.java:690)
	at org.testng.TestRunner.run(TestRunner.java:597)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:317)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:312)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:274)
	at org.testng.SuiteRunner.run(SuiteRunner.java:223)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1039)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:964)
	at org.testng.TestNG.run(TestNG.java:900)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:135)
	at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:198)
	at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:94)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:146)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:373)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:334)
	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:119)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:407)
2018-02-25 22:40:23,655 INFO  [main] profiling.UtilTimerStack (UtilTimerStack.java:385) -
[0ms] - create DefaultActionProxy: 
  [0ms] - actionCreate: hello

2018-02-25 22:40:23,655 INFO  [main] profiling.UtilTimerStack (UtilTimerStack.java:385) -
[0ms] - actionCreate: hello

2018-02-25 22:40:23,777 WARN  [main] components.ServletUrlRenderer (ServletUrlRenderer.java:264)
- Unknown value for includeParams parameter to URL tag: unknown
2018-02-25 22:40:24,286 INFO  [main] profiling.UtilTimerStack (UtilTimerStack.java:385) -
[1ms] - create DefaultActionProxy: 
  [1ms] - actionCreate: MyBean

2018-02-25 22:40:24,286 INFO  [main] interceptor.LoggingInterceptor (LoggingInterceptor.java:86)
- Starting execution stack for action MyBean
2018-02-25 22:40:24,291 INFO  [main] interceptor.LoggingInterceptor (LoggingInterceptor.java:86)
- Finishing execution stack for action MyBean
2018-02-25 22:40:24,291 INFO  [main] interceptor.TimerInterceptor (TimerInterceptor.java:205)
- Executed action [MyBean!execute] took 5 ms.
2018-02-25 22:40:24,291 INFO  [main] profiling.UtilTimerStack (UtilTimerStack.java:385) -
[5ms] - execute: 
  [5ms] - invoke: 
    [5ms] - interceptorMapping: timer
      [5ms] - invoke: 
        [5ms] - interceptorMapping: logger
          [5ms] - invoke: 
            [5ms] - interceptorMapping: staticParams
              [5ms] - invoke: 
                [5ms] - interceptorMapping: modelDriven
                  [5ms] - invoke: 
                    [5ms] - interceptorMapping: params
                      [0ms] - invoke: 
                        [0ms] - invokeAction: MyBean
                        [0ms] - executeResult: success

2018-02-25 22:40:24,315 INFO  [main] profiling.UtilTimerStack (UtilTimerStack.java:385) -
[0ms] - create DefaultActionProxy: 
  [0ms] - actionCreate: MyBean

2018-02-25 22:40:24,315 INFO  [main] interceptor.LoggingInterceptor (LoggingInterceptor.java:86)
- Starting execution stack for action MyBean
2018-02-25 22:40:24,320 INFO  [main] interceptor.LoggingInterceptor (LoggingInterceptor.java:86)
- Finishing execution stack for action MyBean
2018-02-25 22:40:24,320 INFO  [main] interceptor.TimerInterceptor (TimerInterceptor.java:205)
- Executed action [MyBean!execute] took 5 ms.
2018-02-25 22:40:24,320 INFO  [main] profiling.UtilTimerStack (UtilTimerStack.java:385) -
[5ms] - execute: 
  [5ms] - invoke: 
    [5ms] - interceptorMapping: timer
      [5ms] - invoke: 
        [5ms] - interceptorMapping: logger
          [4ms] - invoke: 
            [4ms] - interceptorMapping: staticParams
              [4ms] - invoke: 
                [4ms] - interceptorMapping: modelDriven
                  [4ms] - invoke: 
                    [4ms] - interceptorMapping: params
                      [0ms] - invoke: 
                        [0ms] - invokeAction: MyBean
                        [0ms] - executeResult: success

[INFO] Tests run: 1790, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 85.288 s - in TestSuite
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 1790, Failures: 0, Errors: 0, Skipped: 0
[INFO] 
[INFO] 
[INFO] --- apache-rat-plugin:0.11:check (default) @ struts2-core ---
[INFO] 51 implicit excludes (use -debug for more details).
[INFO] Exclude: src/main/resources/org/apache/struts2/static/domTT.js
[INFO] Exclude: src/site/resources/tags/**/*.html
[INFO] Exclude: src/main/resources/*LICENSE.txt
[INFO] Exclude: src/test/resources/**/*.txt
[INFO] Exclude: src/main/webapp/**/*.css
[INFO] Exclude: src/main/webapp/**/*.map
[INFO] Exclude: src/main/webapp/**/*.js
[INFO] Exclude: src/main/webapp/**/*.svg
[INFO] Exclude: src/main/webapp/**/*.txt
[INFO] Exclude: src/main/resources/**/sitegraph-usage.txt
[INFO] Exclude: src/main/resources/**/docs-urls.txt
[INFO] Exclude: src/etc/header.txt
[INFO] Exclude: src/main/resources/static/css/**/*.css
[INFO] Exclude: src/main/resources/static/js/**/*.js
[INFO] Exclude: src/main/resources/docs.cfg
[INFO] Exclude: src/main/webapp/fonts/**/*
[INFO] 1580 resources included (use -debug for more details)
[INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 generated: 0 approved: 1573 licence.
[INFO] 
[INFO] --- maven-jar-plugin:3.0.0:jar (default-jar) @ struts2-core ---
[INFO] Building jar: <https://builds.apache.org/job/Struts-master-JDK7-dependency-check/ws/core/target/struts2-core-2.6-SNAPSHOT.jar>
[INFO] 
[INFO] >>> maven-source-plugin:3.0.0:jar (attach-sources) > generate-sources @
struts2-core >>>
[INFO] 
[INFO] <<< maven-source-plugin:3.0.0:jar (attach-sources) < generate-sources @
struts2-core <<<
[INFO] 
[INFO] 
[INFO] --- maven-source-plugin:3.0.0:jar (attach-sources) @ struts2-core ---
[INFO] Building jar: <https://builds.apache.org/job/Struts-master-JDK7-dependency-check/ws/core/target/struts2-core-2.6-SNAPSHOT-sources.jar>
[INFO] 
[INFO] --- maven-site-plugin:3.5.1:attach-descriptor (attach-descriptor) @ struts2-core ---
[INFO] 
[INFO] --- dependency-check-maven:3.1.1:check (default) @ struts2-core ---
[INFO] Checking for updates
[INFO] Skipping NVD check since last check was within 4 hours.
[INFO] Check for updates complete (201 ms)
[INFO] Analysis Started
[INFO] Finished Archive Analyzer (0 seconds)
[INFO] Finished File Name Analyzer (0 seconds)
[INFO] Finished Jar Analyzer (0 seconds)
[INFO] Finished Central Analyzer (0 seconds)
[INFO] Finished Dependency Merging Analyzer (0 seconds)
[INFO] Finished Version Filter Analyzer (0 seconds)
[INFO] Finished Hint Analyzer (0 seconds)
[INFO] Created CPE Index (1 seconds)
[INFO] Skipping CPE Analysis for npm
[INFO] Finished CPE Analyzer (2 seconds)
[INFO] Finished False Positive Analyzer (0 seconds)
[WARNING] Suppression file '<https://builds.apache.org/job/Struts-master-JDK7-dependency-check/ws/core/src/etc/project-suppression.xml'>
does not exist
[ERROR] Exception occurred initializing Cpe Suppression Analyzer.
[INFO] Finished Cpe Suppression Analyzer (0 seconds)
[INFO] Finished NVD CVE Analyzer (0 seconds)
[WARNING] Suppression file '<https://builds.apache.org/job/Struts-master-JDK7-dependency-check/ws/core/src/etc/project-suppression.xml'>
does not exist
[ERROR] Exception occurred initializing Vulnerability Suppression Analyzer.
[INFO] Finished Vulnerability Suppression Analyzer (0 seconds)
[INFO] Finished Dependency Bundling Analyzer (0 seconds)
[INFO] Analysis Complete (5 seconds)
[WARNING] 

One or more dependencies were identified with known vulnerabilities in Struts 2 Core:

struts-core-1.3.8.jar (org.apache.struts:struts-core:1.3.8, cpe:/a:apache:struts:1.3.8) :
CVE-2016-1181, CVE-2016-1182, CVE-2014-0114, CVE-2015-0899
struts-tiles-1.3.8.jar (cpe:/a:apache:tiles:1.3.8, org.apache.struts:struts-tiles:1.3.8, cpe:/a:apache:struts:1.3.8)
: CVE-2016-1181, CVE-2016-1182, CVE-2014-0114, CVE-2015-0899
struts-annotations-1.0.6.jar (cpe:/a:apache:struts:1.0.6, org.apache.struts:struts-annotations:1.0.6)
: CVE-2006-1548, CVE-2006-1547, CVE-2006-1546
bsh-2.0b4.jar (org.beanshell:bsh:2.0b4, cpe:/a:beanshell_project:beanshell:2.0.b4) : CVE-2016-2510


See the dependency-check report for more details.


[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Struts 2 Bill of Materials ......................... SUCCESS [  2.196 s]
[INFO] Struts 2 ........................................... SUCCESS [09:53 min]
[INFO] Struts 2 Core ...................................... FAILURE [02:07 min]
[INFO] Struts Plugins ..................................... SKIPPED
[INFO] Struts 2 Configuration Browser Plugin .............. SKIPPED
[INFO] Struts 2 Sitemesh Plugin ........................... SKIPPED
[INFO] Struts 2 Tiles Plugin .............................. SKIPPED
[INFO] Struts 2 DWR Plugin ................................ SKIPPED
[INFO] Struts 2 Spring Plugin ............................. SKIPPED
[INFO] Struts 2 Convention Plugin ......................... SKIPPED
[INFO] Struts 2 JUnit Plugin .............................. SKIPPED
[INFO] Struts 2 JSON Plugin ............................... SKIPPED
[INFO] Struts 2 Bean Validation Plugin .................... SKIPPED
[INFO] Struts 2 Webapps ................................... SKIPPED
[INFO] Struts 2 Showcase Webapp ........................... SKIPPED
[INFO] Struts 2 REST Plugin ............................... SKIPPED
[INFO] Struts 2 Rest Showcase Webapp ...................... SKIPPED
[INFO] Struts 2 CDI Plugin ................................ SKIPPED
[INFO] Struts 2 Embedded JSP Plugin ....................... SKIPPED
[INFO] Struts 2 GXP Plugin ................................ SKIPPED
[INFO] Struts 2 Jasper Reports Plugin ..................... SKIPPED
[INFO] Struts 2 Java Templates Plugin ..................... SKIPPED
[INFO] Struts 2 JFreeChart Plugin ......................... SKIPPED
[INFO] Struts 2 OSGi Plugin ............................... SKIPPED
[INFO] Struts 2 OVal Plugin ............................... SKIPPED
[INFO] Struts 2 Pell Multipart Plugin ..................... SKIPPED
[INFO] Struts 2 Plexus Plugin ............................. SKIPPED
[INFO] Struts 2 Portlet Plugin ............................ SKIPPED
[INFO] Struts 2 Portlet Tiles Plugin ...................... SKIPPED
[INFO] DEPRECATED: Struts 2 Sitegraph Plugin .............. SKIPPED
[INFO] Struts 2 TestNG Plugin ............................. SKIPPED
[INFO] Struts OSGi Bundles ................................ SKIPPED
[INFO] Struts 2 OSGi Admin Bundle ......................... SKIPPED
[INFO] Struts 2 OSGi Demo Bundle .......................... SKIPPED
[INFO] Struts 2 Assembly .................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12:06 min
[INFO] Finished at: 2018-02-25T22:40:36Z
[INFO] Final Memory: 61M/1894M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.owasp:dependency-check-maven:3.1.1:check (default) on project
struts2-core: 
[ERROR] 
[ERROR] One or more dependencies were identified with vulnerabilities that have a CVSS score
greater than or equal to '7.0': 
[ERROR] 
[ERROR] struts-core-1.3.8.jar: CVE-2014-0114
[ERROR] struts-tiles-1.3.8.jar: CVE-2014-0114
[ERROR] struts-annotations-1.0.6.jar: CVE-2006-1547, CVE-2006-1546
[ERROR] 
[ERROR] See the dependency-check report for more details.
[ERROR] 
[ERROR] 
[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/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :struts2-core
Build step 'Execute shell' marked build as failure
[locks-and-latches] Releasing all the locks
[locks-and-latches] All the locks released
Setting MAVEN_3_LATEST__HOME=/home/jenkins/tools/maven/latest3/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message