Console Output

Gestartet durch vorgelagertes Projekt „ANONVPNlib“, Build 80
Ursprünglich gestartet durch:
 Gestartet durch Benutzer sk13
[EnvInject] - Loading node environment variables.
Baue in Arbeitsbereich /var/lib/jenkins/jobs/ANONVPNlib/workspace/MAVEN_PROFILE/anon-cc-dev-android
Cleaning local Directory .
Checking out https://anon.inf.tu-dresden.de/svn/ANONVPNlib/ANONVPNlib/trunk at revision '2018-01-13T19:31:30.951 +0100'
A         src
A         src/main
A         src/main/java
A         src/main/java/anonvpn
A         src/main/java/anonvpn/anon_next
A         src/main/java/anonvpn/anon_next/core
A         src/main/java/anonvpn/anon_next/core/entities
A         src/main/java/anonvpn/anon_next/core/entities/IPv4Packet.java
A         src/main/java/anonvpn/anon_next/core/gui
A         src/main/java/anonvpn/anon_next/core/gui/IVPNInterface.java
A         src/main/java/anonvpn/anon_next/core/gui/IVPNInterfaceFactory.java
A         src/main/java/anonvpn/anon_next/core/networking
A         src/main/java/anonvpn/anon_next/core/networking/TcpSocks
A         src/main/java/anonvpn/anon_next/core/networking/TcpSocks/AnonTcpChannelDummy.java
A         src/main/java/anonvpn/anon_next/core/networking/TcpSocks/BitUtils.java
A         src/main/java/anonvpn/anon_next/core/networking/TcpSocks/DNSResolver.java
A         src/main/java/anonvpn/anon_next/core/networking/TcpSocks/Packet.java
A         src/main/java/anonvpn/anon_next/core/networking/TcpSocks/TcpStream.java
A         src/main/java/anonvpn/anon_next/core/networking/TcpSocks/TcpStreamManager.java
A         src/main/java/anonvpn/anon_next/core/networking/TcpSocks/UdpStream.java
A         src/main/java/anonvpn/anon_next/core/networking/TcpSocks/UdpStreamManager.java
A         src/main/java/anonvpn/anon_next/core/networking/TcpSocks/UdpTimer.java
A         src/main/java/anonvpn/anon_next/core/networking/AbstractTunnelingDevice.java
A         src/main/java/anonvpn/anon_next/core/networking/IInternetSocket.java
A         src/main/java/anonvpn/anon_next/core/networking/INetworkFactory.java
A         src/main/java/anonvpn/anon_next/core/networking/ITunneling.java
A         src/main/java/anonvpn/anon_next/core/networking/ReceiverThread.java
A         src/main/java/anonvpn/anon_next/core/networking/RegularHTTPClientSocketFactory.java
A         src/main/java/anonvpn/anon_next/core/networking/SenderThread.java
A         src/main/java/anonvpn/anon_next/core/notification
A         src/main/java/anonvpn/anon_next/core/notification/Event.java
A         src/main/java/anonvpn/anon_next/core/notification/Notification.java
A         src/main/java/anonvpn/anon_next/core/notification/NotificationDispatcher.java
A         src/main/java/anonvpn/anon_next/core/notification/Observer.java
A         src/main/java/anonvpn/anon_next/core/persistence
A         src/main/java/anonvpn/anon_next/core/persistence/IConfig.java
A         src/main/java/anonvpn/anon_next/core/persistence/IPersistenceFactory.java
A         src/main/java/anonvpn/anon_next/core/ANONVPNService.java
A         src/main/java/anonvpn/anon_next/core/CascadeConnectionManager.java
A         src/main/java/anonvpn/anon_next/core/CoreBuildConfig.java
A         src/main/java/anonvpn/anon_next/core/InfoService.java
A         src/main/java/anonvpn/anon_next/core/Statistics.java
A         src/main/java/pcap
A         src/main/java/pcap/PCAPTUNDevice.java
A         src/main/java/pcap/PCAPWriter.java
A         src/test
A         src/test/java
A         src/test/java/anonvpn
A         src/test/java/anonvpn/anon_next
A         src/test/java/anonvpn/anon_next/networking
A         src/test/java/anonvpn/anon_next/networking/mocks
A         src/test/java/anonvpn/anon_next/networking/mocks/TestConfig.java
A         src/test/java/anonvpn/anon_next/networking/mocks/TestHTTPClientSocketFactory.java
A         src/test/java/anonvpn/anon_next/networking/mocks/TestInternetSocket.java
A         src/test/java/anonvpn/anon_next/networking/mocks/TestNetworkFactory.java
A         src/test/java/anonvpn/anon_next/networking/mocks/TestSocket.java
A         src/test/java/anonvpn/anon_next/networking/mocks/TestTunnelingInterface.java
A         src/test/java/anonvpn/anon_next/networking/mocks/TestVPNInterface.java
A         src/test/java/anonvpn/anon_next/networking/mocks/TestVPNInterfaceFactory.java
A         src/test/java/anonvpn/anon_next/networking/ANONVPNServiceTest.java
A         src/test/java/anonvpn/anon_next/networking/CascadeConnectionManagerTest.java
A         src/test/java/anonvpn/anon_next/networking/InfoServiceTest.java
A         src/test/java/anonvpn/anon_next/networking/SenderThreadTest.java
A         .classpath
A         .project
A         pom.xml
 U        .
At revision 76
[anon-cc-dev-android] $ /opt/maven/bin/mvn -DMAVEN_PROFILE=anon-cc-dev-android -Panon-cc-dev-android deploy
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building ANONVPNlib 00.01.055-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ ANONVPNlib ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /var/lib/jenkins/jobs/ANONVPNlib/workspace/MAVEN_PROFILE/anon-cc-dev-android/src/main/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ ANONVPNlib ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 32 source files to /var/lib/jenkins/jobs/ANONVPNlib/workspace/MAVEN_PROFILE/anon-cc-dev-android/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ ANONVPNlib ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /var/lib/jenkins/jobs/ANONVPNlib/workspace/MAVEN_PROFILE/anon-cc-dev-android/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ ANONVPNlib ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 12 source files to /var/lib/jenkins/jobs/ANONVPNlib/workspace/MAVEN_PROFILE/anon-cc-dev-android/target/test-classes
[WARNING] /var/lib/jenkins/jobs/ANONVPNlib/workspace/MAVEN_PROFILE/anon-cc-dev-android/src/test/java/anonvpn/anon_next/networking/CascadeConnectionManagerTest.java: /var/lib/jenkins/jobs/ANONVPNlib/workspace/MAVEN_PROFILE/anon-cc-dev-android/src/test/java/anonvpn/anon_next/networking/CascadeConnectionManagerTest.java uses or overrides a deprecated API.
[WARNING] /var/lib/jenkins/jobs/ANONVPNlib/workspace/MAVEN_PROFILE/anon-cc-dev-android/src/test/java/anonvpn/anon_next/networking/CascadeConnectionManagerTest.java: Recompile with -Xlint:deprecation for details.
[INFO] 
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ ANONVPNlib ---
[INFO] Surefire report directory: /var/lib/jenkins/jobs/ANONVPNlib/workspace/MAVEN_PROFILE/anon-cc-dev-android/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running anonvpn.anon_next.networking.SenderThreadTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.067 sec
Running anonvpn.anon_next.networking.InfoServiceTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.163 sec
Running anonvpn.anon_next.networking.CascadeConnectionManagerTest
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.05 sec <<< FAILURE!
testChannelInteraction(anonvpn.anon_next.networking.CascadeConnectionManagerTest)  Time elapsed: 0.036 sec  <<< ERROR!
java.lang.NoClassDefFoundError: mybouncycastle/org/bouncycastle/crypto/CipherParameters
	at anon.infoservice.MixInfo.<init>(MixInfo.java:431)
	at anon.infoservice.MixCascade.<init>(MixCascade.java:472)
	at anon.infoservice.MixCascade.<init>(MixCascade.java:253)
	at anonvpn.anon_next.networking.CascadeConnectionManagerTest.getDummyCascade(CascadeConnectionManagerTest.java:397)
	at anonvpn.anon_next.networking.CascadeConnectionManagerTest.testChannelInteraction(CascadeConnectionManagerTest.java:231)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
	at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
Caused by: java.lang.ClassNotFoundException: mybouncycastle.org.bouncycastle.crypto.CipherParameters
	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	... 34 more

testCascadeSetup(anonvpn.anon_next.networking.CascadeConnectionManagerTest)  Time elapsed: 0.013 sec  <<< ERROR!
java.lang.NoClassDefFoundError: mybouncycastle/org/bouncycastle/crypto/CipherParameters
	at anon.infoservice.MixInfo.<init>(MixInfo.java:431)
	at anon.infoservice.MixCascade.<init>(MixCascade.java:472)
	at anon.infoservice.MixCascade.<init>(MixCascade.java:253)
	at anonvpn.anon_next.networking.CascadeConnectionManagerTest.getDummyCascade(CascadeConnectionManagerTest.java:397)
	at anonvpn.anon_next.networking.CascadeConnectionManagerTest.testCascadeSetup(CascadeConnectionManagerTest.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
	at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
Caused by: java.lang.ClassNotFoundException: mybouncycastle.org.bouncycastle.crypto.CipherParameters
	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	... 34 more

Running anonvpn.anon_next.networking.ANONVPNServiceTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec

Results :

Tests in error: 
  testChannelInteraction(anonvpn.anon_next.networking.CascadeConnectionManagerTest): mybouncycastle/org/bouncycastle/crypto/CipherParameters
  testCascadeSetup(anonvpn.anon_next.networking.CascadeConnectionManagerTest): mybouncycastle/org/bouncycastle/crypto/CipherParameters

Tests run: 7, Failures: 0, Errors: 2, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.845 s
[INFO] Finished at: 2018-01-13T19:31:56+01:00
[INFO] Final Memory: 15M/186M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project ANONVPNlib: There are test failures.
[ERROR] 
[ERROR] Please refer to /var/lib/jenkins/jobs/ANONVPNlib/workspace/MAVEN_PROFILE/anon-cc-dev-android/target/surefire-reports for the individual test results.
[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
Build step 'Maven Goals aufrufen' marked build as failure
Finished: FAILURE