Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on sos-builder01 (lin) in workspace /builds/workspace/casper [WS-CLEANUP] Deleting project workspace... [WS-CLEANUP] Deferred wipeout is used... [WS-CLEANUP] Done No credentials specified Wiping out workspace first. Cloning the remote Git repository Cloning repository https://github.com/Spirals-Team/casper.git > git init /builds/workspace/casper # timeout=10 Fetching upstream changes from https://github.com/Spirals-Team/casper.git > git --version # timeout=10 > git fetch --tags --progress https://github.com/Spirals-Team/casper.git +refs/heads/*:refs/remotes/origin/* > git config remote.origin.url https://github.com/Spirals-Team/casper.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url https://github.com/Spirals-Team/casper.git # timeout=10 Fetching upstream changes from https://github.com/Spirals-Team/casper.git > git fetch --tags --progress https://github.com/Spirals-Team/casper.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 7d517b9b2cf83ce0ad6ef2119dfe1a431255ebac (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 7d517b9b2cf83ce0ad6ef2119dfe1a431255ebac Commit message: "Upgrade to spoon 7 and disable comments by default" > git rev-list --no-walk 7d517b9b2cf83ce0ad6ef2119dfe1a431255ebac # timeout=10 [casper] $ /bin/sh -xe /tmp/jenkins4743733612386992713.sh + mvn clean versions:use-latest-versions -DallowSnapshots=true -Dexcludes=org.ow2.asm:* Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for fr.inria.spirals:casper:jar:0.1 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 81, column 29 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building casper 0.1 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ casper --- [INFO] [INFO] --- versions-maven-plugin:2.4:use-latest-versions (default-cli) @ casper --- [INFO] Major version changes allowed [INFO] artifact org.mdkt.compiler:InMemoryJavaCompiler: checking for updates from gforge.inria.fr-snapshot [INFO] artifact org.mdkt.compiler:InMemoryJavaCompiler: checking for updates from central [INFO] Updated org.mdkt.compiler:InMemoryJavaCompiler:jar:1.2 to version 1.3.0 [INFO] Updated junit:junit:jar:4.11 to version 4.13 [INFO] Updated org.hamcrest:hamcrest-core:jar:1.3 to version 2.2 [INFO] artifact fr.inria.gforge.spoon:spoon-core: checking for updates from gforge.inria.fr-snapshot [INFO] Updated fr.inria.gforge.spoon:spoon-core:jar:7.0.0 to version 8.1.0-SNAPSHOT [INFO] artifact org.apache.commons:commons-lang3: checking for updates from gforge.inria.fr-snapshot [INFO] artifact org.apache.commons:commons-lang3: checking for updates from central [INFO] Updated org.apache.commons:commons-lang3:jar:3.0 to version 3.9 [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.540 s [INFO] Finished at: 2020-01-14T10:23:06+01:00 [INFO] Final Memory: 19M/174M [INFO] ------------------------------------------------------------------------ + mvn clean test Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for fr.inria.spirals:casper:jar:0.1 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 81, column 29 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building casper 0.1 [INFO] ------------------------------------------------------------------------ Downloading: http://maven.inria.fr/artifactory/spoon-public-snapshot/fr/inria/gforge/spoon/spoon-core/8.1.0-SNAPSHOT/maven-metadata.xml [WARNING] Could not apply configuration for gforge.inria.fr-snapshot to wagon org.apache.maven.wagon.providers.http.HttpWagon:Cannot find 'preferredAuthentications' in class org.apache.maven.wagon.providers.http.HttpWagon 1013/1013 B Downloaded: http://maven.inria.fr/artifactory/spoon-public-snapshot/fr/inria/gforge/spoon/spoon-core/8.1.0-SNAPSHOT/maven-metadata.xml (1013 B at 5.1 KB/sec) Downloading: http://maven.inria.fr/artifactory/spoon-public-snapshot/fr/inria/gforge/spoon/spoon-core/8.1.0-SNAPSHOT/spoon-core-8.1.0-20200113.234147-82.pom [WARNING] Could not apply configuration for gforge.inria.fr-snapshot to wagon org.apache.maven.wagon.providers.http.HttpWagon:Cannot find 'preferredAuthentications' in class org.apache.maven.wagon.providers.http.HttpWagon Downloaded: http://maven.inria.fr/artifactory/spoon-public-snapshot/fr/inria/gforge/spoon/spoon-core/8.1.0-SNAPSHOT/spoon-core-8.1.0-20200113.234147-82.pom (0 B at 0.0 KB/sec) Downloading: http://maven.inria.fr/artifactory/spoon-public-snapshot/fr/inria/gforge/spoon/spoon-core/8.1.0-SNAPSHOT/spoon-core-8.1.0-20200113.234147-82.jar [WARNING] Could not apply configuration for gforge.inria.fr-snapshot to wagon org.apache.maven.wagon.providers.http.HttpWagon:Cannot find 'preferredAuthentications' in class org.apache.maven.wagon.providers.http.HttpWagon Downloaded: http://maven.inria.fr/artifactory/spoon-public-snapshot/fr/inria/gforge/spoon/spoon-core/8.1.0-SNAPSHOT/spoon-core-8.1.0-20200113.234147-82.jar (0 B at 0.0 KB/sec) [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ casper --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ casper --- [WARNING] Using platform encoding (UTF8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /builds/workspace/casper/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ casper --- [INFO] Changes detected - recompiling the module! [WARNING] File encoding has not been set, using platform encoding UTF8, i.e. build is platform dependent! [INFO] Compiling 80 source files to /builds/workspace/casper/target/classes [INFO] /builds/workspace/casper/src/main/java/bcu/transformer/processors/FieldModifier.java: Some input files use or override a deprecated API. [INFO] /builds/workspace/casper/src/main/java/bcu/transformer/processors/FieldModifier.java: Recompile with -Xlint:deprecation for details. [INFO] /builds/workspace/casper/src/main/java/bcu/transformer/processors/TargetAdder.java: Some input files use unchecked or unsafe operations. [INFO] /builds/workspace/casper/src/main/java/bcu/transformer/processors/TargetAdder.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ casper --- [WARNING] Using platform encoding (UTF8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 1 resource [INFO] [INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ casper --- [INFO] Changes detected - recompiling the module! [WARNING] File encoding has not been set, using platform encoding UTF8, i.e. build is platform dependent! [INFO] Compiling 2 source files to /builds/workspace/casper/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ casper --- [INFO] Surefire report directory: /builds/workspace/casper/target/surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 Running casper.CasperTest 2-->6 foo5(null).f tab[0] array[1] array[2] array[1] array[2] TargetModifier -->6 (failed:0) 2b-->8 null createNullGhost() 1-->1 3-->1 4-->5 5-->3 compilation success: true class loading with final remover :FooCasper created null ghost class for FooCasper created null ghost class for FooCasper created null ghost class for FooCasper created null ghost class for FooCasper created null ghost class for FooCasper created null ghost class for FooCasper null inception: null initialized null (FooCasper.java:28) returned null in method foo2 (FooCasper.java:28) returned null in method foo (FooCasper.java:23) assigned null to g (FooCasper.java:14) assigned null to f (FooCasper.java:15) throws NPE at FooCasper.bug1(FooCasper.java:18) created null ghost class for FooCasper created null ghost class for FooCasper created null ghost class for FooCasper created null ghost class for FooCasper created null ghost class for FooCasper inception: assigned null to tab (FooCasper.java:87) throws NPE at FooCasper.literal2(FooCasper.java:88) FooCasper java.lang.Thread.getStackTrace(Thread.java:1559) 2-->6 foo5(null).f tab[0] array[1] array[2] array[1] array[2] TargetModifier -->6 (failed:0) 2b-->8 null createNullGhost() new bcornu.nullmode.DebugInfo() cannot resolve an assign 1-->2 3-->5 4-->5 5-->3 compilation success: true null inception: null initialized null (FooCasper.java:28) returned null in method foo2 (FooCasper.java:28) returned null in method foo (FooCasper.java:23) assigned null to g (FooCasper.java:14) assigned null to f (FooCasper.java:15) throws NPE at FooCasper.bug1(FooCasper.java:18) inception: assigned null to tab (FooCasper.java:87) throws NPE at FooCasper.literal2(FooCasper.java:88) class loading with final remover :casper.Foo created null ghost class for casper.Foo class loading with final remover :jav.lang.ObjectNullified Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.306 sec - in casper.CasperTest Results : Tests run: 3, Failures: 0, Errors: 0, Skipped: 0 [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 10.670 s [INFO] Finished at: 2020-01-14T10:23:18+01:00 [INFO] Final Memory: 25M/212M [INFO] ------------------------------------------------------------------------ Finished: SUCCESS