[Gitea] do not publish assets due to source being no GiteaSCMSource [INFO] [INFO] ---< de.fhdw.gaming.ipspiel24:ipspiel24-tictactoe-strategy-minimax >---- [INFO] Building IP Spieltheorie 2024 Tic Tac Toe game: MiniMax strategy 1.0.0-SNAPSHOT [12/19] [INFO] from ipspiel24-tictactoe/ipspiel24-tictactoe-strategy-minimax/pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- clean:3.2.0:clean (default-clean) @ ipspiel24-tictactoe-strategy-minimax --- [INFO] [INFO] --- enforcer:3.4.1:enforce (enforce-versions) @ ipspiel24-tictactoe-strategy-minimax --- [INFO] [INFO] --- checkstyle:3.3.1:check (checkstyle) @ ipspiel24-tictactoe-strategy-minimax --- [INFO] You have 0 Checkstyle violations. [INFO] [INFO] --- jacoco:0.8.12:prepare-agent (jacoco-initialize) @ ipspiel24-tictactoe-strategy-minimax --- [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-tictactoe/ipspiel24-tictactoe-strategy-minimax/target/jacoco.exec [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ ipspiel24-tictactoe-strategy-minimax --- [INFO] Copying 1 resource from src/main/resources to target/classes [INFO] [INFO] --- compiler:3.13.0:compile (default-compile) @ ipspiel24-tictactoe-strategy-minimax --- [INFO] Recompiling the module because of changed dependency. [INFO] Compiling 3 source files with javac [debug release 17 module-path] to target/classes [WARNING] /var/lib/jenkins/home/jobs/ipspiel24/workspace/ipspiel24/ipspiel24-tictactoe/ipspiel24-tictactoe-strategy-minimax/src/main/java/module-info.java:[19,22] module name component ipspiel24 should avoid terminal digits [INFO] [INFO] >>> spotbugs:4.8.4.0:check (spotbugs) > :spotbugs @ ipspiel24-tictactoe-strategy-minimax >>> [INFO] [INFO] --- spotbugs:4.8.4.0:spotbugs (spotbugs) @ ipspiel24-tictactoe-strategy-minimax --- [INFO] Fork Value is true [INFO] Done SpotBugs Analysis.... [INFO] [INFO] <<< spotbugs:4.8.4.0:check (spotbugs) < :spotbugs @ ipspiel24-tictactoe-strategy-minimax <<< [INFO] [INFO] [INFO] --- spotbugs:4.8.4.0:check (spotbugs) @ ipspiel24-tictactoe-strategy-minimax --- [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-tictactoe-strategy-minimax --- [INFO] Copying 1 resource from src/test/resources to target/test-classes [INFO] [INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ ipspiel24-tictactoe-strategy-minimax --- [INFO] Recompiling the module because of changed dependency. [INFO] Compiling 1 source file with javac [debug release 17 module-path] to target/test-classes [INFO] [INFO] --- surefire:3.2.5:test (default-test) @ ipspiel24-tictactoe-strategy-minimax --- [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.ipspiel24.tictactoe.strategy.minimax.TicTacToeMinimaxStrategyTest OpponentTicTacToePlayer[name=O, type=O, state=PLAYING, outcome=Optional.empty] currentPLayer: TicTacToePlayer[name=X, type=X, state=PLAYING, outcome=Optional.empty] OpponentTicTacToePlayer[name=O, type=O, state=PLAYING, outcome=Optional.empty] currentPLayer: TicTacToePlayer[name=X, type=X, state=PLAYING, outcome=Optional.empty] OpponentTicTacToePlayer[name=X, type=X, state=PLAYING, outcome=Optional.empty] currentPLayer: TicTacToePlayer[name=O, type=O, state=PLAYING, outcome=Optional.empty] OpponentTicTacToePlayer[name=O, type=O, state=PLAYING, outcome=Optional.empty] currentPLayer: TicTacToePlayer[name=X, type=X, state=PLAYING, outcome=Optional.empty] OpponentTicTacToePlayer[name=O, type=O, state=PLAYING, outcome=Optional.empty] currentPLayer: TicTacToePlayer[name=X, type=X, state=PLAYING, outcome=Optional.empty] OpponentTicTacToePlayer[name=O, type=O, state=PLAYING, outcome=Optional.empty] currentPLayer: TicTacToePlayer[name=X, type=X, state=PLAYING, outcome=Optional.empty] [ERROR] Tests run: 4, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.319 s <<< FAILURE! -- in de.fhdw.gaming.ipspiel24.tictactoe.strategy.minimax.TicTacToeMinimaxStrategyTest [ERROR] de.fhdw.gaming.ipspiel24.tictactoe.strategy.minimax.TicTacToeMinimaxStrategyTest.testComputeNextMoveForcedWin -- Time elapsed: 0.043 s <<< FAILURE! org.opentest4j.AssertionFailedError: expected: but was: 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.ipspiel24.tictactoe.strategy.minimax@1.0.0-SNAPSHOT/de.fhdw.gaming.ipspiel24.tictactoe.strategy.minimax.TicTacToeMinimaxStrategyTest.testComputeNextMoveForcedWin(TicTacToeMinimaxStrategyTest.java:251) 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.ipspiel24.tictactoe.strategy.minimax.TicTacToeMinimaxStrategyTest.testComputeNextMoveWin -- Time elapsed: 0.011 s <<< FAILURE! org.opentest4j.AssertionFailedError: expected: but was: 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.AssertTrue.failNotTrue(AssertTrue.java:63) at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36) at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:31) at org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:183) at de.fhdw.gaming.ipspiel24.tictactoe.strategy.minimax@1.0.0-SNAPSHOT/de.fhdw.gaming.ipspiel24.tictactoe.strategy.minimax.TicTacToeMinimaxStrategyTest.testComputeNextMoveWin(TicTacToeMinimaxStrategyTest.java:76) 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] TicTacToeMinimaxStrategyTest.testComputeNextMoveForcedWin:251 expected: but was: [ERROR] TicTacToeMinimaxStrategyTest.testComputeNextMoveWin:76 expected: but was: [INFO] [ERROR] Tests run: 4, Failures: 2, Errors: 0, Skipped: 0 [INFO] [ERROR] There are test failures. Please refer to /var/lib/jenkins/home/jobs/ipspiel24/workspace/ipspiel24/ipspiel24-tictactoe/ipspiel24-tictactoe-strategy-minimax/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-tictactoe-strategy-minimax --- [INFO] Loading execution data file /var/lib/jenkins/home/jobs/ipspiel24/workspace/ipspiel24/ipspiel24-tictactoe/ipspiel24-tictactoe-strategy-minimax/target/jacoco.exec [INFO] Analyzed bundle 'IP Spieltheorie 2024 Tic Tac Toe game: MiniMax strategy' with 2 classes [INFO] [INFO] --- jar:3.4.1:jar (default-jar) @ ipspiel24-tictactoe-strategy-minimax --- [INFO] Building jar: /var/lib/jenkins/home/jobs/ipspiel24/workspace/ipspiel24/ipspiel24-tictactoe/ipspiel24-tictactoe-strategy-minimax/target/ipspiel24-tictactoe-strategy-minimax-1.0.0-SNAPSHOT.jar [INFO] [INFO] --- source:3.3.1:jar-no-fork (attach-sources) @ ipspiel24-tictactoe-strategy-minimax --- [INFO] Building jar: /var/lib/jenkins/home/jobs/ipspiel24/workspace/ipspiel24/ipspiel24-tictactoe/ipspiel24-tictactoe-strategy-minimax/target/ipspiel24-tictactoe-strategy-minimax-1.0.0-SNAPSHOT-sources.jar [INFO] [INFO] --- install:3.1.1:install (default-install) @ ipspiel24-tictactoe-strategy-minimax --- [INFO] Installing /var/lib/jenkins/home/jobs/ipspiel24/workspace/ipspiel24/ipspiel24-tictactoe/ipspiel24-tictactoe-strategy-minimax/pom.xml to /var/lib/jenkins/.m2/repository/de/fhdw/gaming/ipspiel24/ipspiel24-tictactoe-strategy-minimax/1.0.0-SNAPSHOT/ipspiel24-tictactoe-strategy-minimax-1.0.0-SNAPSHOT.pom [INFO] Installing /var/lib/jenkins/home/jobs/ipspiel24/workspace/ipspiel24/ipspiel24-tictactoe/ipspiel24-tictactoe-strategy-minimax/target/ipspiel24-tictactoe-strategy-minimax-1.0.0-SNAPSHOT.jar to /var/lib/jenkins/.m2/repository/de/fhdw/gaming/ipspiel24/ipspiel24-tictactoe-strategy-minimax/1.0.0-SNAPSHOT/ipspiel24-tictactoe-strategy-minimax-1.0.0-SNAPSHOT.jar [INFO] Installing /var/lib/jenkins/home/jobs/ipspiel24/workspace/ipspiel24/ipspiel24-tictactoe/ipspiel24-tictactoe-strategy-minimax/target/ipspiel24-tictactoe-strategy-minimax-1.0.0-SNAPSHOT-sources.jar to /var/lib/jenkins/.m2/repository/de/fhdw/gaming/ipspiel24/ipspiel24-tictactoe-strategy-minimax/1.0.0-SNAPSHOT/ipspiel24-tictactoe-strategy-minimax-1.0.0-SNAPSHOT-sources.jar [INFO] [INFO] --- site:4.0.0-M13:site (default-site) @ ipspiel24-tictactoe-strategy-minimax --- [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 [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-tictactoe/ipspiel24-tictactoe-strategy-minimax/target/site to /var/lib/jenkins/home/jobs/ipspiel24/workspace/ipspiel24/ipspiel24-tictactoe/ipspiel24-tictactoe-strategy-minimax@tmp/maven-reporters/moduleset/site/ipspiel24-tictactoe/ipspiel24-tictactoe-strategy-minimax