nepp1d0 / sagrada

Final project for Software Engineering course
0 stars 0 forks source link

Compilation issue #3

Closed michele-bertoni closed 6 years ago

michele-bertoni commented 6 years ago

Last successful compilation was 13 days ago: here it's the console output:

Started by user Niccolò Izzo
Started by user Niccolò Izzo
Building in workspace /var/jenkins_home/workspace/LM31
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://github.com/NicoBrunello/sagrada.git # timeout=10
Fetching upstream changes from https://github.com/NicoBrunello/sagrada.git
 > git --version # timeout=10
using GIT_ASKPASS to set credentials 
 > git fetch --tags --progress https://github.com/NicoBrunello/sagrada.git +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision c237a50424283353f8a2f5efc794beb858b5ac78 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f c237a50424283353f8a2f5efc794beb858b5ac78
Commit message: "Merge remote-tracking branch 'origin/master'"
 > git rev-list --no-walk c237a50424283353f8a2f5efc794beb858b5ac78 # timeout=10
Parsing POMs
Established TCP socket on 33895
[LM31] $ /var/jenkins_home/tools/hudson.model.JDK/bin/java -Dmaven.test.failure.ignore=true -cp /var/jenkins_home/plugins/maven-plugin/WEB-INF/lib/maven35-agent-1.12-alpha-1.jar:/var/jenkins_home/tools/hudson.tasks.Maven_MavenInstallation/Maven/boot/plexus-classworlds-2.5.2.jar:/var/jenkins_home/tools/hudson.tasks.Maven_MavenInstallation/Maven/conf/logging jenkins.maven3.agent.Maven35Main /var/jenkins_home/tools/hudson.tasks.Maven_MavenInstallation/Maven /var/jenkins_home/war/WEB-INF/lib/remoting-3.19.jar /var/jenkins_home/plugins/maven-plugin/WEB-INF/lib/maven35-interceptor-1.12-alpha-1.jar /var/jenkins_home/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.12-alpha-1.jar 33895
<===[JENKINS REMOTING CAPACITY]===>channel started
Executing Maven:  -B -f /var/jenkins_home/workspace/LM31/pom.xml clean org.jacoco:jacoco-maven-plugin:prepare-agent package
[INFO] Scanning for projects...
[INFO] 
[INFO] ------------------------< it.polimi.ingsw:LM31 >------------------------
[INFO] Building LM31 1.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ LM31 ---
[INFO] Deleting /var/jenkins_home/workspace/LM31/target
[INFO] 
[INFO] --- jacoco-maven-plugin:0.8.1:prepare-agent (default-cli) @ LM31 ---
[INFO] argLine set to -javaagent:/var/jenkins_home/.m2/repository/org/jacoco/org.jacoco.agent/0.8.1/org.jacoco.agent-0.8.1-runtime.jar=destfile=/var/jenkins_home/workspace/LM31/target/jacoco.exec
[INFO] 
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ LM31 ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 24 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ LM31 ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 56 source files to /var/jenkins_home/workspace/LM31/target/classes
[INFO] /var/jenkins_home/workspace/LM31/src/main/java/it/polimi/ingsw/ui/CLI.java: /var/jenkins_home/workspace/LM31/src/main/java/it/polimi/ingsw/ui/CLI.java uses unchecked or unsafe operations.
[INFO] /var/jenkins_home/workspace/LM31/src/main/java/it/polimi/ingsw/ui/CLI.java: Recompile with -Xlint:unchecked for details.
[INFO] -------------------------------------------------------------
[WARNING] COMPILATION WARNING : 
[INFO] -------------------------------------------------------------
[WARNING] /var/jenkins_home/workspace/LM31/src/main/java/it/polimi/ingsw/network/server/RMIServer.java:[10,18] sun.applet.Main is internal proprietary API and may be removed in a future release
[INFO] 1 warning
[INFO] -------------------------------------------------------------
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /var/jenkins_home/workspace/LM31/src/main/java/it/polimi/ingsw/network/server/MainServer.java:[3,29] package com.sun.security.ntlm does not exist
[INFO] 1 error
[INFO] -------------------------------------------------------------
[WARNING] Attempt to (de-)serialize anonymous class hudson.maven.reporters.MavenArtifactArchiver$2; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/
[WARNING] Attempt to (de-)serialize anonymous class hudson.maven.reporters.MavenFingerprinter$1; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.646 s
[INFO] Finished at: 2018-06-18T20:37:15Z
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project LM31: Compilation failure
[ERROR] /var/jenkins_home/workspace/LM31/src/main/java/it/polimi/ingsw/network/server/MainServer.java:[3,29] package com.sun.security.ntlm does not exist
[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

[JENKINS] Archiving /var/jenkins_home/workspace/LM31/pom.xml to it.polimi.ingsw/LM31/1.0-SNAPSHOT/LM31-1.0-SNAPSHOT.pom
channel stopped
Finished: FAILURE
nepp1d0 commented 6 years ago

Should be resolved

michele-bertoni commented 6 years ago

Fixed. (Now there are some errors in the tests, I'll open a new issue)

michele-bertoni commented 6 years ago

Started by user Michele Bertoni Building in workspace /var/jenkins_home/workspace/LM31

git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository git config remote.origin.url https://github.com/NicoBrunello/sagrada.git # timeout=10 Fetching upstream changes from https://github.com/NicoBrunello/sagrada.git git --version # timeout=10 using GIT_ASKPASS to set credentials git fetch --tags --progress https://github.com/NicoBrunello/sagrada.git +refs/heads/:refs/remotes/origin/ git rev-parse refs/remotes/origin/master^{commit} # timeout=10 git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10 Checking out Revision 101e41ce4fb707bb6ae7b53226ab97c1d49ced95 (refs/remotes/origin/master) git config core.sparsecheckout # timeout=10 git checkout -f 101e41ce4fb707bb6ae7b53226ab97c1d49ced95 Commit message: "removed unused method" git rev-list --no-walk 1496db92f7a013eb4ccc202a1674c749439370b6 # timeout=10 Parsing POMs Established TCP socket on 41735 [LM31] $ /var/jenkins_home/tools/hudson.model.JDK/bin/java -Dmaven.test.failure.ignore=true -cp /var/jenkins_home/plugins/maven-plugin/WEB-INF/lib/maven35-agent-1.12-alpha-1.jar:/var/jenkins_home/tools/hudson.tasks.Maven_MavenInstallation/Maven/boot/plexus-classworlds-2.5.2.jar:/var/jenkins_home/tools/hudson.tasks.Maven_MavenInstallation/Maven/conf/logging jenkins.maven3.agent.Maven35Main /var/jenkins_home/tools/hudson.tasks.Maven_MavenInstallation/Maven /var/jenkins_home/war/WEB-INF/lib/remoting-3.19.jar /var/jenkins_home/plugins/maven-plugin/WEB-INF/lib/maven35-interceptor-1.12-alpha-1.jar /var/jenkins_home/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.12-alpha-1.jar 41735 <===[JENKINS REMOTING CAPACITY]===>channel started Executing Maven: -B -f /var/jenkins_home/workspace/LM31/pom.xml clean org.jacoco:jacoco-maven-plugin:prepare-agent package [INFO] Scanning for projects... [INFO] [INFO] ------------------------< it.polimi.ingsw:LM31 >------------------------ [INFO] Building LM31 1.0-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ LM31 --- [INFO] Deleting /var/jenkins_home/workspace/LM31/target [INFO] [INFO] --- jacoco-maven-plugin:0.8.1:prepare-agent (default-cli) @ LM31 --- [INFO] argLine set to -javaagent:/var/jenkins_home/.m2/repository/org/jacoco/org.jacoco.agent/0.8.1/org.jacoco.agent-0.8.1-runtime.jar=destfile=/var/jenkins_home/workspace/LM31/target/jacoco.exec [INFO] [INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ LM31 --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 25 resources [INFO] [INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ LM31 --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 88 source files to /var/jenkins_home/workspace/LM31/target/classes [INFO] /var/jenkins_home/workspace/LM31/src/main/java/it/polimi/ingsw/ui/CLI.java: /var/jenkins_home/workspace/LM31/src/main/java/it/polimi/ingsw/ui/CLI.java uses unchecked or unsafe operations. [INFO] /var/jenkins_home/workspace/LM31/src/main/java/it/polimi/ingsw/ui/CLI.java: Recompile with -Xlint:unchecked for details. [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /var/jenkins_home/workspace/LM31/src/main/java/it/polimi/ingsw/ui/CLI.java:[199,37] cannot find symbol symbol: method toCLI() location: variable d of type it.polimi.ingsw.model.Die [ERROR] /var/jenkins_home/workspace/LM31/src/main/java/it/polimi/ingsw/ui/CLI.java:[319,58] cannot find symbol symbol: method toCLI() location: variable d of type it.polimi.ingsw.model.Die [ERROR] /var/jenkins_home/workspace/LM31/src/main/java/it/polimi/ingsw/ui/CLI.java:[403,64] cannot find symbol symbol: method toCLI() location: class it.polimi.ingsw.model.Die [INFO] 3 errors [INFO] ------------------------------------------------------------- [WARNING] Attempt to (de-)serialize anonymous class hudson.maven.reporters.MavenArtifactArchiver$2; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/ [WARNING] Attempt to (de-)serialize anonymous class hudson.maven.reporters.MavenFingerprinter$1; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/ [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3.802 s [INFO] Finished at: 2018-06-29T11:42:27Z [INFO] ------------------------------------------------------------------------ Waiting for Jenkins to finish collecting data [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project LM31: Compilation failure: Compilation failure: [ERROR] /var/jenkins_home/workspace/LM31/src/main/java/it/polimi/ingsw/ui/CLI.java:[199,37] cannot find symbol [ERROR] symbol: method toCLI() [ERROR] location: variable d of type it.polimi.ingsw.model.Die [ERROR] /var/jenkins_home/workspace/LM31/src/main/java/it/polimi/ingsw/ui/CLI.java:[319,58] cannot find symbol [ERROR] symbol: method toCLI() [ERROR] location: variable d of type it.polimi.ingsw.model.Die [ERROR] /var/jenkins_home/workspace/LM31/src/main/java/it/polimi/ingsw/ui/CLI.java:[403,64] cannot find symbol [ERROR] symbol: method toCLI() [ERROR] location: class it.polimi.ingsw.model.Die [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 [JENKINS] Archiving /var/jenkins_home/workspace/LM31/pom.xml to it.polimi.ingsw/LM31/1.0-SNAPSHOT/LM31-1.0-SNAPSHOT.pom Finished: FAILURE

8549 commented 6 years ago

Fixed this, I forgot to commit some other file.

valerio-castelli commented 6 years ago

You have a new compilation issue:

[ERROR] /var/jenkins_home/workspace/LM31/src/main/java/it/polimi/ingsw/network/server/ClientObject.java:[3,50] package com.sun.xml.internal.ws.policy.privateutil does not exist

Please remove all references to internal sun packages!

nepp1d0 commented 6 years ago

fixed

nepp1d0 commented 6 years ago

@valerio-castelli Hello, We have fixed the issue days ago, is it possible to close it in order to not to have opened issue at the final day?

ingconti commented 6 years ago

seems fine:

Tests run: 187, Failures: 0, Errors: 0, Skipped: 0

[JENKINS] Recording test results

[INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 14.774 s [INFO] Finished at: 2018-07-07T20:08:30Z [INFO] ------------------------------------------------------------------------ Waiting for Jenkins to finish collecting data [JENKINS] Archiving /var/jenkins_home/workspace/LM31/pom.xml to it.polimi.ingsw/LM31/1.0-SNAPSHOT/LM31-1.0-SNAPSHOT.pom [JENKINS] Archiving /var/jenkins_home/workspace/LM31/target/LM31-1.0-SNAPSHOT.jar to it.polimi.ingsw/LM31/1.0-SNAPSHOT/LM31-1.0-SNAPSHOT.jar channel stopped Finished: SUCCESS