Skip to content
Failed

Console Output

Started by GitLab push by Mark Hoffmann
Running as SYSTEM
Building in workspace /var/jenkins_home/workspace/geckoMinio
using credential jenkins_gitlab
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://gitlab.com/gecko.io/geckominio.git # timeout=10
Cleaning workspace
 > git rev-parse --verify HEAD # timeout=10
Resetting working tree
 > git reset --hard # timeout=10
 > git clean -fdx # timeout=10
Fetching upstream changes from https://gitlab.com/gecko.io/geckominio.git
 > git --version # timeout=10
using GIT_ASKPASS to set credentials The Gitlab user for the jenkins
 > git fetch --tags --progress https://gitlab.com/gecko.io/geckominio.git +refs/heads/*:refs/remotes/origin/*
skipping resolution of commit e546d4acf56de8a0c7b6fdbacc5af97dbe7fd228, since it originates from another repository
 > git rev-parse refs/remotes/origin/develop^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/develop^{commit} # timeout=10
Checking out Revision e546d4acf56de8a0c7b6fdbacc5af97dbe7fd228 (refs/remotes/origin/develop)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f e546d4acf56de8a0c7b6fdbacc5af97dbe7fd228
Commit message: "docker compose"
 > git rev-list --no-walk 2ff05d515274661b253695f94adddd4f60c61c1a # timeout=10
[geckoMinio] $ /bin/sh -xe /tmp/jenkins7091785155515598418.sh
+ ./gradlew clean test build release
Starting a Gradle Daemon (subsequent builds will be faster)
> Task :org.gecko.minio:clean
> Task :org.gecko.minio.config:clean
> Task :org.gecko.minio.tests:clean
> Task :org.gecko.minio:compileJava
> Task :org.gecko.minio:processResources NO-SOURCE
> Task :org.gecko.minio:classes
> Task :org.gecko.minio:compileTestJava NO-SOURCE
> Task :org.gecko.minio:processTestResources NO-SOURCE
> Task :org.gecko.minio:testClasses UP-TO-DATE
> Task :org.gecko.minio:test NO-SOURCE
> Task :org.gecko.minio.config:compileJava NO-SOURCE
> Task :org.gecko.minio.config:processResources NO-SOURCE
> Task :org.gecko.minio.config:classes UP-TO-DATE
> Task :org.gecko.minio.config:compileTestJava NO-SOURCE
> Task :org.gecko.minio.config:processTestResources NO-SOURCE
> Task :org.gecko.minio.config:testClasses UP-TO-DATE
> Task :org.gecko.minio.config:test NO-SOURCE
> Task :org.gecko.minio:jar
> Task :org.gecko.minio.tests:compileJava
> Task :org.gecko.minio.tests:processResources NO-SOURCE
> Task :org.gecko.minio.tests:classes
> Task :org.gecko.minio.tests:compileTestJava NO-SOURCE
> Task :org.gecko.minio.tests:processTestResources NO-SOURCE
> Task :org.gecko.minio.tests:testClasses UP-TO-DATE
> Task :org.gecko.minio.tests:test NO-SOURCE
> Task :org.gecko.minio:assemble
> Task :org.gecko.minio:testOSGi SKIPPED
> Task :org.gecko.minio:check UP-TO-DATE
> Task :org.gecko.minio:build
> Task :org.gecko.minio.config:jar
> Task :org.gecko.minio.config:assemble
> Task :org.gecko.minio.config:testOSGi SKIPPED
> Task :org.gecko.minio.config:check UP-TO-DATE
> Task :org.gecko.minio.config:build
> Task :org.gecko.minio.tests:jar
> Task :org.gecko.minio.tests:assemble
TEST testUpload(org.gecko.minio.tests.ExampleIntegrationTest) <<< ERROR: expected:<404> but was:<-1>
java.lang.AssertionError: expected:<404> but was:<-1>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:834)
	at org.junit.Assert.assertEquals(Assert.java:645)
	at org.junit.Assert.assertEquals(Assert.java:631)
	at org.gecko.minio.tests.ExampleIntegrationTest.testUpload(ExampleIntegrationTest.java:106)
	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.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	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.mockito.internal.runners.JUnit45AndHigherRunnerImpl.run(JUnit45AndHigherRunnerImpl.java:37)
	at org.mockito.runners.MockitoJUnitRunner.run(MockitoJUnitRunner.java:62)
	at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:38)
	at junit.framework.TestSuite.runTest(TestSuite.java:252)
	at junit.framework.TestSuite.run(TestSuite.java:247)
	at aQute.junit.Activator.test(Activator.java:356)
	at aQute.junit.Activator.automatic(Activator.java:266)
	at aQute.junit.Activator.run(Activator.java:187)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at aQute.launcher.Launcher.launch(Launcher.java:412)
	at aQute.launcher.Launcher.run(Launcher.java:170)
	at aQute.launcher.Launcher.main(Launcher.java:148)
	at aQute.launcher.pre.EmbeddedLauncher.executeWithRunPath(EmbeddedLauncher.java:154)
	at aQute.launcher.pre.EmbeddedLauncher.findAndExecute(EmbeddedLauncher.java:119)
	at aQute.launcher.pre.EmbeddedLauncher.main(EmbeddedLauncher.java:48)
Tests run  : 2
Passed     : 1
Errors     : 1
Failures   : 0

> Task :org.gecko.minio.tests:testOSGi FAILED
error  : Exit code remote process 1: /usr/local/openjdk-8/jre/bin/java -cp /var/jenkins_home/workspace/geckoMinio/cnf/cache/5.0.1/bnd-cache/biz.aQute.launcher/biz.aQute.launcher.pre.jar -Dlauncher.properties=/var/jenkins_home/workspace/geckoMinio/org.gecko.minio.tests/generated/launch1603573090956960595.properties -ea -Dlauncher.runpath=/var/jenkins_home/.m2/repository/org/apache/felix/org.apache.felix.framework/6.0.1/org.apache.felix.framework-6.0.1.jar,/var/jenkins_home/workspace/geckoMinio/cnf/cache/5.0.1/bnd-cache/biz.aQute.launcher/biz.aQute.launcher-5.0.1.jar aQute.launcher.pre.EmbeddedLauncher

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':org.gecko.minio.tests:testOSGi'.
> /var/jenkins_home/workspace/geckoMinio/org.gecko.minio.tests/bnd.bnd test failure

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 11s
9 actionable tasks: 9 executed
Build step 'Execute shell' marked build as failure
Recording test results
Finished: FAILURE