Skip to content
Unstable

Console Output

[Gitea] do not publish assets due to source being no GiteaSCMSource
[INFO] 
[INFO] -------------< de.fhdw.gaming.ipspiel24:ipspiel24-memory >--------------
[INFO] Building ipspiel24-memory 1.0.0-SNAPSHOT                          [4/19]
[INFO]   from ipspiel24-memory/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- clean:3.2.0:clean (default-clean) @ ipspiel24-memory ---
[INFO] 
[INFO] --- enforcer:3.4.1:enforce (enforce-versions) @ ipspiel24-memory ---
[INFO] 
[INFO] --- checkstyle:3.3.1:check (checkstyle) @ ipspiel24-memory ---
[WARNING] checkstyle:check violations detected but failOnViolation set to false
[INFO] You have 1 Checkstyle violation.
[INFO] 
[INFO] --- jacoco:0.8.12:prepare-agent (jacoco-initialize) @ ipspiel24-memory ---
[INFO] argLine set to -javaagent:/var/lib/jenkins/.m2/repository/org/jacoco/org.jacoco.agent/0.8.12/org.jacoco.agent-0.8.12-runtime.jar=destfile=/var/lib/jenkins/home/jobs/ipspiel24/workspace/ipspiel24/ipspiel24-memory/target/jacoco.exec
[INFO] 
[INFO] --- resources:3.3.1:resources (default-resources) @ ipspiel24-memory ---
[INFO] skip non existing resourceDirectory /var/lib/jenkins/home/jobs/ipspiel24/workspace/ipspiel24/ipspiel24-memory/src/main/resources
[INFO] 
[INFO] --- compiler:3.13.0:compile (default-compile) @ ipspiel24-memory ---
[INFO] Recompiling the module because of changed source code.
[INFO] Compiling 11 source files with javac [debug release 17 module-path] to target/classes
[INFO] 
[INFO] >>> spotbugs:4.8.4.0:check (spotbugs) > :spotbugs @ ipspiel24-memory >>>
[INFO] 
[INFO] --- spotbugs:4.8.4.0:spotbugs (spotbugs) @ ipspiel24-memory ---
[INFO] Fork Value is true
[INFO] Done SpotBugs Analysis....
[INFO] 
[INFO] <<< spotbugs:4.8.4.0:check (spotbugs) < :spotbugs @ ipspiel24-memory <<<
[INFO] 
[INFO] 
[INFO] --- spotbugs:4.8.4.0:check (spotbugs) @ ipspiel24-memory ---
[INFO] BugInstance size is 0
[INFO] Error size is 0
[INFO] No errors/warnings found
[INFO] 
[INFO] --- resources:3.3.1:testResources (default-testResources) @ ipspiel24-memory ---
[INFO] skip non existing resourceDirectory /var/lib/jenkins/home/jobs/ipspiel24/workspace/ipspiel24/ipspiel24-memory/src/test/resources
[INFO] 
[INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ ipspiel24-memory ---
[INFO] Recompiling the module because of changed dependency.
[INFO] Compiling 10 source files with javac [debug release 17 module-path] to target/test-classes
[INFO] 
[INFO] --- surefire:3.2.5:test (default-test) @ ipspiel24-memory ---
[INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running de.fhdw.gaming.memory.TestMemoryObserverFactoryImpl
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.135 s -- in de.fhdw.gaming.memory.TestMemoryObserverFactoryImpl
[INFO] Running de.fhdw.gaming.memory.TestMemoryObserverImpl
Game finished!
My view

Opponents view

Illegal move rejected! Illegal move reason
Game started!
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.208 s -- in de.fhdw.gaming.memory.TestMemoryObserverImpl
[INFO] Running de.fhdw.gaming.memory.TestMemoryKeyImpl
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.081 s -- in de.fhdw.gaming.memory.TestMemoryKeyImpl
[INFO] Running de.fhdw.gaming.memory.TestMemoryBrainImpl
[INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.194 s -- in de.fhdw.gaming.memory.TestMemoryBrainImpl
[INFO] Running de.fhdw.gaming.memory.TestMemoryShiftListImpl
[ERROR] Tests run: 11, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 0.108 s <<< FAILURE! -- in de.fhdw.gaming.memory.TestMemoryShiftListImpl
[ERROR] de.fhdw.gaming.memory.TestMemoryShiftListImpl.testPush -- Time elapsed: 0.021 s <<< FAILURE!
org.opentest4j.AssertionFailedError: expected: <Outcome: Optional[3.0], Move: MockMove, OppMove: MockOpponentMove> but was: <Outcome: Optional[3.0], Move: MockMove, OppMove: MockOpponentMove.>
	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
	at org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197)
	at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182)
	at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:177)
	at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1145)
	at de.fhdw.gaming.memory@1.0.0-SNAPSHOT/de.fhdw.gaming.memory.TestMemoryShiftListImpl.testPush(TestMemoryShiftListImpl.java:114)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)

[ERROR] de.fhdw.gaming.memory.TestMemoryShiftListImpl.testShowWithMove -- Time elapsed: 0.008 s <<< FAILURE!
org.opentest4j.AssertionFailedError: expected: <Outcome: Optional[1.0], Move: MockMove, OppMove: MockOpponentMove> but was: <Outcome: Optional[1.0], Move: MockMove, OppMove: MockOpponentMove.>
	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
	at org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197)
	at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182)
	at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:177)
	at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1145)
	at de.fhdw.gaming.memory@1.0.0-SNAPSHOT/de.fhdw.gaming.memory.TestMemoryShiftListImpl.testShowWithMove(TestMemoryShiftListImpl.java:218)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)

[ERROR] de.fhdw.gaming.memory.TestMemoryShiftListImpl.testPushLengthMinusOne -- Time elapsed: 0.007 s <<< FAILURE!
org.opentest4j.AssertionFailedError: expected: <Outcome: Optional[1.0], Move: MockMove, OppMove: MockOpponentMove> but was: <Outcome: Optional[1.0], Move: MockMove, OppMove: MockOpponentMove.>
	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
	at org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197)
	at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182)
	at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:177)
	at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1145)
	at de.fhdw.gaming.memory@1.0.0-SNAPSHOT/de.fhdw.gaming.memory.TestMemoryShiftListImpl.testPushLengthMinusOne(TestMemoryShiftListImpl.java:133)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)

[ERROR] de.fhdw.gaming.memory.TestMemoryShiftListImpl.testPushOptionalEmpty -- Time elapsed: 0.004 s <<< FAILURE!
org.opentest4j.AssertionFailedError: expected: <Outcome: Optional.empty, Move: MockMove, OppMove: MockOpponentMove> but was: <Outcome: Optional.empty, Move: MockMove, OppMove: MockOpponentMove.>
	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
	at org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197)
	at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182)
	at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:177)
	at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1145)
	at de.fhdw.gaming.memory@1.0.0-SNAPSHOT/de.fhdw.gaming.memory.TestMemoryShiftListImpl.testPushOptionalEmpty(TestMemoryShiftListImpl.java:150)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)

[INFO] Running de.fhdw.gaming.memory.TestMemoryPairImpl
[ERROR] Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.044 s <<< FAILURE! -- in de.fhdw.gaming.memory.TestMemoryPairImpl
[ERROR] de.fhdw.gaming.memory.TestMemoryPairImpl.testToString -- Time elapsed: 0.016 s <<< FAILURE!
org.opentest4j.AssertionFailedError: expected: <Outcome: Optional[5.0], Move: MockMove, OppMove: MockOpponentMove> but was: <Outcome: Optional[5.0], Move: MockMove, OppMove: MockOpponentMove.>
	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
	at org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197)
	at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182)
	at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:177)
	at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1145)
	at de.fhdw.gaming.memory@1.0.0-SNAPSHOT/de.fhdw.gaming.memory.TestMemoryPairImpl.testToString(TestMemoryPairImpl.java:127)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)

[INFO] 
[INFO] Results:
[INFO] 
[ERROR] Failures: 
[ERROR]   TestMemoryPairImpl.testToString:127 expected: <Outcome: Optional[5.0], Move: MockMove, OppMove: MockOpponentMove> but was: <Outcome: Optional[5.0], Move: MockMove, OppMove: MockOpponentMove.>
[ERROR]   TestMemoryShiftListImpl.testPush:114 expected: <Outcome: Optional[3.0], Move: MockMove, OppMove: MockOpponentMove> but was: <Outcome: Optional[3.0], Move: MockMove, OppMove: MockOpponentMove.>
[ERROR]   TestMemoryShiftListImpl.testPushLengthMinusOne:133 expected: <Outcome: Optional[1.0], Move: MockMove, OppMove: MockOpponentMove> but was: <Outcome: Optional[1.0], Move: MockMove, OppMove: MockOpponentMove.>
[ERROR]   TestMemoryShiftListImpl.testPushOptionalEmpty:150 expected: <Outcome: Optional.empty, Move: MockMove, OppMove: MockOpponentMove> but was: <Outcome: Optional.empty, Move: MockMove, OppMove: MockOpponentMove.>
[ERROR]   TestMemoryShiftListImpl.testShowWithMove:218 expected: <Outcome: Optional[1.0], Move: MockMove, OppMove: MockOpponentMove> but was: <Outcome: Optional[1.0], Move: MockMove, OppMove: MockOpponentMove.>
[INFO] 
[ERROR] Tests run: 45, Failures: 5, Errors: 0, Skipped: 0
[INFO] 
[ERROR] There are test failures.

Please refer to /var/lib/jenkins/home/jobs/ipspiel24/workspace/ipspiel24/ipspiel24-memory/target/surefire-reports for the individual test results.
Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[JENKINS] Recording test results
[INFO] 
[INFO] --- jacoco:0.8.12:report (jacoco-site) @ ipspiel24-memory ---
[INFO] Loading execution data file /var/lib/jenkins/home/jobs/ipspiel24/workspace/ipspiel24/ipspiel24-memory/target/jacoco.exec
[INFO] Analyzed bundle 'ipspiel24-memory' with 6 classes
[INFO] 
[INFO] --- jar:3.4.1:jar (default-jar) @ ipspiel24-memory ---
[INFO] Building jar: /var/lib/jenkins/home/jobs/ipspiel24/workspace/ipspiel24/ipspiel24-memory/target/ipspiel24-memory-1.0.0-SNAPSHOT.jar
[INFO] 
[INFO] --- source:3.3.1:jar-no-fork (attach-sources) @ ipspiel24-memory ---
[INFO] Building jar: /var/lib/jenkins/home/jobs/ipspiel24/workspace/ipspiel24/ipspiel24-memory/target/ipspiel24-memory-1.0.0-SNAPSHOT-sources.jar
[INFO] 
[INFO] --- install:3.1.1:install (default-install) @ ipspiel24-memory ---
[INFO] Installing /var/lib/jenkins/home/jobs/ipspiel24/workspace/ipspiel24/ipspiel24-memory/pom.xml to /var/lib/jenkins/.m2/repository/de/fhdw/gaming/ipspiel24/ipspiel24-memory/1.0.0-SNAPSHOT/ipspiel24-memory-1.0.0-SNAPSHOT.pom
[INFO] Installing /var/lib/jenkins/home/jobs/ipspiel24/workspace/ipspiel24/ipspiel24-memory/target/ipspiel24-memory-1.0.0-SNAPSHOT.jar to /var/lib/jenkins/.m2/repository/de/fhdw/gaming/ipspiel24/ipspiel24-memory/1.0.0-SNAPSHOT/ipspiel24-memory-1.0.0-SNAPSHOT.jar
[INFO] Installing /var/lib/jenkins/home/jobs/ipspiel24/workspace/ipspiel24/ipspiel24-memory/target/ipspiel24-memory-1.0.0-SNAPSHOT-sources.jar to /var/lib/jenkins/.m2/repository/de/fhdw/gaming/ipspiel24/ipspiel24-memory/1.0.0-SNAPSHOT/ipspiel24-memory-1.0.0-SNAPSHOT-sources.jar
[INFO] 
[INFO] --- site:4.0.0-M13:site (default-site) @ ipspiel24-memory ---
[INFO] Rendering site for default locale
[INFO] Configuring report plugin maven-project-info-reports-plugin:3.5.0
[INFO] Detected 15 reports for maven-project-info-reports-plugin:3.5.0: ci-management, dependencies, dependency-info, dependency-management, distribution-management, index, issue-management, licenses, mailing-lists, modules, plugin-management, plugins, scm, summary, team
[WARNING] No project URL defined - site links will not be relativized!
[INFO] Rendering content with org.apache.maven.skins:maven-fluido-skin:jar:2.0.0-M8 skin
[INFO] Rendering 11 report documents
[INFO] Generating "Dependencies" report         --- maven-project-info-reports-plugin:3.5.0:dependencies
[WARNING] Failed to build parent project for org.openjfx:javafx-base:jar:22.0.1
[WARNING] Failed to build parent project for org.openjfx:javafx-base:jar:22.0.1
[WARNING] Failed to build parent project for org.openjfx:javafx-base:jar:22.0.1
[WARNING] Failed to build parent project for org.openjfx:javafx-base:jar:22.0.1
[WARNING] Failed to build parent project for org.openjfx:javafx-controls:jar:22.0.1
[WARNING] Failed to build parent project for org.openjfx:javafx-controls:jar:22.0.1
[WARNING] Failed to build parent project for org.openjfx:javafx-controls:jar:22.0.1
[WARNING] Failed to build parent project for org.openjfx:javafx-controls:jar:22.0.1
[WARNING] Failed to build parent project for org.openjfx:javafx-fxml:jar:22.0.1
[WARNING] Failed to build parent project for org.openjfx:javafx-fxml:jar:22.0.1
[WARNING] Failed to build parent project for org.openjfx:javafx-fxml:jar:22.0.1
[WARNING] Failed to build parent project for org.openjfx:javafx-fxml:jar:22.0.1
[WARNING] Failed to build parent project for org.openjfx:javafx-graphics:jar:22.0.1
[WARNING] Failed to build parent project for org.openjfx:javafx-graphics:jar:22.0.1
[WARNING] Failed to build parent project for org.openjfx:javafx-graphics:jar:22.0.1
[WARNING] Failed to build parent project for org.openjfx:javafx-graphics:jar:22.0.1
[WARNING] Failed to build parent project for org.openjfx:javafx-swing:jar:22.0.1
[WARNING] Failed to build parent project for org.openjfx:javafx-swing:jar:22.0.1
[WARNING] Failed to build parent project for org.openjfx:javafx-swing:jar:22.0.1
[WARNING] Failed to build parent project for org.openjfx:javafx-swing:jar:22.0.1
[INFO] Unable to create Maven project from repository for artifact 'xml-apis:xml-apis-ext:jar:1.3.04', for more information run with -X
[WARNING] Failed to build parent project for org.openjfx:javafx-controls:jar:22.0.1
[WARNING] Failed to build parent project for org.openjfx:javafx-controls:jar:22.0.1
[WARNING] Failed to build parent project for org.openjfx:javafx-graphics:jar:22.0.1
[WARNING] Failed to build parent project for org.openjfx:javafx-graphics:jar:22.0.1
[WARNING] Failed to build parent project for org.openjfx:javafx-base:jar:22.0.1
[WARNING] Failed to build parent project for org.openjfx:javafx-base:jar:22.0.1
[WARNING] Failed to build parent project for org.openjfx:javafx-fxml:jar:22.0.1
[WARNING] Failed to build parent project for org.openjfx:javafx-fxml:jar:22.0.1
[WARNING] Failed to build parent project for org.openjfx:javafx-swing:jar:22.0.1
[WARNING] Failed to build parent project for org.openjfx:javafx-swing:jar:22.0.1
[INFO] Unable to create Maven project from repository for artifact 'xml-apis:xml-apis-ext:jar:1.3.04', for more information run with -X
[INFO] Generating "Dependency Information" report --- maven-project-info-reports-plugin:3.5.0:dependency-info
[INFO] Generating "Dependency Management" report --- maven-project-info-reports-plugin:3.5.0:dependency-management
[INFO] Generating "Distribution Management" report --- maven-project-info-reports-plugin:3.5.0:distribution-management
[INFO] Generating "About" report                --- maven-project-info-reports-plugin:3.5.0:index
[INFO] Generating "Licenses" report             --- maven-project-info-reports-plugin:3.5.0:licenses
[INFO] Generating "Plugin Management" report    --- maven-project-info-reports-plugin:3.5.0:plugin-management
[INFO] Generating "Plugins" report              --- maven-project-info-reports-plugin:3.5.0:plugins
[INFO] Generating "Source Code Management" report --- maven-project-info-reports-plugin:3.5.0:scm
[INFO] Generating "Summary" report              --- maven-project-info-reports-plugin:3.5.0:summary
[INFO] Generating "Project Information" report  --- maven-site-plugin:4.0.0-M13:project-info
[JENKINS] Archiving site from /var/lib/jenkins/home/jobs/ipspiel24/workspace/ipspiel24/ipspiel24-memory/target/site to /var/lib/jenkins/home/jobs/ipspiel24/workspace/ipspiel24/ipspiel24-memory@tmp/maven-reporters/moduleset/site/ipspiel24-memory