Skip to content

Console Output

Started by timer
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on sos-builder01 (lin) in workspace /builds/workspace/npefix
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] Done
No credentials specified
Cloning the remote Git repository
Cloning repository https://github.com/Spirals-Team/npefix.git
 > git init /builds/workspace/npefix # timeout=10
Fetching upstream changes from https://github.com/Spirals-Team/npefix.git
 > git --version # timeout=10
 > git fetch --tags --progress https://github.com/Spirals-Team/npefix.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://github.com/Spirals-Team/npefix.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/npefix.git # timeout=10
Fetching upstream changes from https://github.com/Spirals-Team/npefix.git
 > git fetch --tags --progress https://github.com/Spirals-Team/npefix.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision 80cfc38d4c3d5244c1a74c86e285193bb2670ea6 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 80cfc38d4c3d5244c1a74c86e285193bb2670ea6 # timeout=10
Commit message: "Update README.md"
 > git rev-list --no-walk 80cfc38d4c3d5244c1a74c86e285193bb2670ea6 # timeout=10
[npefix] $ /bin/sh -xe /tmp/jenkins5675905941629278228.sh
+ rm -rf /builds/.m2/repository/fr/inria/gforge/spoon
[npefix] $ /bin/sh -xe /tmp/jenkins2067459442526191067.sh
+ mvn versions:use-latest-versions -DallowSnapshots=true
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[INFO] Scanning for projects...
[INFO] Inspecting build with total of 1 modules...
[INFO] Installing Nexus Staging features:
[INFO]   ... total of 1 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building npefix 0.8-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- versions-maven-plugin:2.4:use-latest-versions (default-cli) @ npefix ---
[INFO] Major version changes allowed
[INFO] artifact junit:junit: checking for updates from gforge.inria.fr-snapshot
[INFO] Updated junit:junit:jar:4.11 to version 4.13
[INFO] artifact org.json:json: checking for updates from gforge.inria.fr-snapshot
[INFO] artifact org.json:json: checking for updates from central
[INFO] Updated org.json:json:jar:20160212 to version 20200518
[INFO] artifact org.hamcrest:hamcrest-core: checking for updates from gforge.inria.fr-snapshot
[INFO] artifact org.hamcrest:hamcrest-core: checking for updates from central
[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.5.0-SNAPSHOT to version 8.2.0-SNAPSHOT
[INFO] artifact org.slf4j:slf4j-simple: checking for updates from gforge.inria.fr-snapshot
[INFO] artifact org.slf4j:slf4j-simple: checking for updates from central
[INFO] Updated org.slf4j:slf4j-simple:jar:1.7.6 to version 2.0.0-alpha1
[INFO] artifact log4j:log4j: checking for updates from gforge.inria.fr-snapshot
[INFO] artifact log4j:log4j: checking for updates from central
[INFO] artifact com.cloudbees:diff4j: checking for updates from gforge.inria.fr-snapshot
[INFO] artifact com.cloudbees:diff4j: checking for updates from central
[INFO] Updated com.cloudbees:diff4j:jar:1.2 to version 1.3
[INFO] artifact org.eclipse.core:org.eclipse.core.runtime: checking for updates from gforge.inria.fr-snapshot
[INFO] artifact org.eclipse.core:org.eclipse.core.runtime: checking for updates from central
[INFO] Updated org.eclipse.core:org.eclipse.core.runtime:jar:3.6.0.v20100505 to version 3.7.0
[INFO] artifact org.eclipse.core:org.eclipse.core.resources: checking for updates from gforge.inria.fr-snapshot
[INFO] artifact org.eclipse.core:org.eclipse.core.resources: checking for updates from central
[INFO] Updated org.eclipse.core:org.eclipse.core.resources:jar:3.6.0.v20100526-0737 to version 3.7.100
[INFO] artifact org.glassfish.tyrus.bundles:tyrus-standalone-client: checking for updates from gforge.inria.fr-snapshot
[INFO] artifact org.glassfish.tyrus.bundles:tyrus-standalone-client: checking for updates from central
[INFO] Updated org.glassfish.tyrus.bundles:tyrus-standalone-client:jar:1.13.1 to version 2.0.0-M2
[INFO] artifact org.apache.maven:maven-model: checking for updates from gforge.inria.fr-snapshot
[INFO] artifact org.apache.maven:maven-model: checking for updates from central
[INFO] Updated org.apache.maven:maven-model:jar:3.5.0 to version 3.6.3
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.998 s
[INFO] Finished at: 2020-06-30T05:24:13+02:00
[INFO] Final Memory: 23M/186M
[INFO] ------------------------------------------------------------------------
+ mvn test
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[INFO] Scanning for projects...
[INFO] Inspecting build with total of 1 modules...
[INFO] Installing Nexus Staging features:
[INFO]   ... total of 1 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building npefix 0.8-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: http://maven.inria.fr/artifactory/spoon-public-snapshot/fr/inria/gforge/spoon/spoon-core/8.2.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
1017/1017 B   
              
Downloaded: http://maven.inria.fr/artifactory/spoon-public-snapshot/fr/inria/gforge/spoon/spoon-core/8.2.0-SNAPSHOT/maven-metadata.xml (1017 B at 7.8 KB/sec)
Downloading: http://maven.inria.fr/artifactory/spoon-public-snapshot/fr/inria/gforge/spoon/spoon-core/8.2.0-SNAPSHOT/spoon-core-8.2.0-20200628.224149-177.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
4/8 KB        
8/8 KB   
8/8 KB   
         
Downloaded: http://maven.inria.fr/artifactory/spoon-public-snapshot/fr/inria/gforge/spoon/spoon-core/8.2.0-SNAPSHOT/spoon-core-8.2.0-20200628.224149-177.pom (8 KB at 242.1 KB/sec)
Downloading: http://maven.inria.fr/artifactory/spoon-public-snapshot/fr/inria/gforge/spoon/spoon-pom/1.0/spoon-pom-1.0.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
         
Downloading: https://repo.maven.apache.org/maven2/fr/inria/gforge/spoon/spoon-pom/1.0/spoon-pom-1.0.pom
2/21 KB   
3/21 KB   
5/21 KB   
6/21 KB   
7/21 KB   
9/21 KB   
10/21 KB   
11/21 KB   
13/21 KB   
14/21 KB   
15/21 KB   
17/21 KB   
18/21 KB   
19/21 KB   
21/21 KB   
21/21 KB   
           
Downloaded: https://repo.maven.apache.org/maven2/fr/inria/gforge/spoon/spoon-pom/1.0/spoon-pom-1.0.pom (21 KB at 114.1 KB/sec)
Downloading: http://maven.inria.fr/artifactory/spoon-public-snapshot/fr/inria/gforge/spoon/spoon-core/8.2.0-SNAPSHOT/spoon-core-8.2.0-20200628.224149-177.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
4/1738 KB   
8/1738 KB   
12/1738 KB   
13/1738 KB   
17/1738 KB   
21/1738 KB   
25/1738 KB   
29/1738 KB   
33/1738 KB   
37/1738 KB   
41/1738 KB   
42/1738 KB   
46/1738 KB   
50/1738 KB   
54/1738 KB   
58/1738 KB   
62/1738 KB   
66/1738 KB   
70/1738 KB   
74/1738 KB   
78/1738 KB   
82/1738 KB   
86/1738 KB   
90/1738 KB   
94/1738 KB   
98/1738 KB   
98/1738 KB   
100/1738 KB   
104/1738 KB   
108/1738 KB   
112/1738 KB   
116/1738 KB   
120/1738 KB   
124/1738 KB   
128/1738 KB   
132/1738 KB   
136/1738 KB   
140/1738 KB   
144/1738 KB   
148/1738 KB   
152/1738 KB   
156/1738 KB   
160/1738 KB   
164/1738 KB   
168/1738 KB   
172/1738 KB   
176/1738 KB   
180/1738 KB   
184/1738 KB   
188/1738 KB   
192/1738 KB   
196/1738 KB   
200/1738 KB   
204/1738 KB   
208/1738 KB   
212/1738 KB   
216/1738 KB   
220/1738 KB   
224/1738 KB   
228/1738 KB   
232/1738 KB   
236/1738 KB   
240/1738 KB   
244/1738 KB   
248/1738 KB   
252/1738 KB   
256/1738 KB   
260/1738 KB   
264/1738 KB   
268/1738 KB   
272/1738 KB   
276/1738 KB   
280/1738 KB   
284/1738 KB   
288/1738 KB   
292/1738 KB   
296/1738 KB   
300/1738 KB   
304/1738 KB   
308/1738 KB   
312/1738 KB   
316/1738 KB   
320/1738 KB   
324/1738 KB   
328/1738 KB   
332/1738 KB   
336/1738 KB   
340/1738 KB   
344/1738 KB   
348/1738 KB   
352/1738 KB   
356/1738 KB   
360/1738 KB   
364/1738 KB   
368/1738 KB   
372/1738 KB   
376/1738 KB   
380/1738 KB   
384/1738 KB   
388/1738 KB   
392/1738 KB   
396/1738 KB   
400/1738 KB   
404/1738 KB   
408/1738 KB   
412/1738 KB   
416/1738 KB   
420/1738 KB   
424/1738 KB   
428/1738 KB   
432/1738 KB   
436/1738 KB   
440/1738 KB   
444/1738 KB   
448/1738 KB   
452/1738 KB   
456/1738 KB   
460/1738 KB   
464/1738 KB   
468/1738 KB   
472/1738 KB   
476/1738 KB   
480/1738 KB   
484/1738 KB   
488/1738 KB   
492/1738 KB   
496/1738 KB   
500/1738 KB   
504/1738 KB   
508/1738 KB   
512/1738 KB   
516/1738 KB   
520/1738 KB   
524/1738 KB   
528/1738 KB   
532/1738 KB   
536/1738 KB   
540/1738 KB   
544/1738 KB   
548/1738 KB   
552/1738 KB   
556/1738 KB   
560/1738 KB   
564/1738 KB   
568/1738 KB   
572/1738 KB   
576/1738 KB   
580/1738 KB   
584/1738 KB   
588/1738 KB   
592/1738 KB   
596/1738 KB   
600/1738 KB   
604/1738 KB   
608/1738 KB   
612/1738 KB   
616/1738 KB   
620/1738 KB   
624/1738 KB   
628/1738 KB   
632/1738 KB   
636/1738 KB   
640/1738 KB   
644/1738 KB   
648/1738 KB   
652/1738 KB   
656/1738 KB   
660/1738 KB   
664/1738 KB   
668/1738 KB   
672/1738 KB   
676/1738 KB   
680/1738 KB   
684/1738 KB   
688/1738 KB   
692/1738 KB   
696/1738 KB   
700/1738 KB   
704/1738 KB   
708/1738 KB   
712/1738 KB   
716/1738 KB   
720/1738 KB   
724/1738 KB   
728/1738 KB   
732/1738 KB   
736/1738 KB   
740/1738 KB   
744/1738 KB   
748/1738 KB   
752/1738 KB   
756/1738 KB   
760/1738 KB   
764/1738 KB   
768/1738 KB   
772/1738 KB   
776/1738 KB   
780/1738 KB   
784/1738 KB   
788/1738 KB   
792/1738 KB   
796/1738 KB   
800/1738 KB   
804/1738 KB   
808/1738 KB   
812/1738 KB   
816/1738 KB   
820/1738 KB   
824/1738 KB   
828/1738 KB   
832/1738 KB   
836/1738 KB   
840/1738 KB   
844/1738 KB   
848/1738 KB   
852/1738 KB   
856/1738 KB   
860/1738 KB   
864/1738 KB   
868/1738 KB   
872/1738 KB   
876/1738 KB   
880/1738 KB   
884/1738 KB   
888/1738 KB   
892/1738 KB   
896/1738 KB   
900/1738 KB   
904/1738 KB   
908/1738 KB   
912/1738 KB   
916/1738 KB   
920/1738 KB   
924/1738 KB   
928/1738 KB   
932/1738 KB   
936/1738 KB   
940/1738 KB   
944/1738 KB   
948/1738 KB   
952/1738 KB   
956/1738 KB   
960/1738 KB   
964/1738 KB   
968/1738 KB   
972/1738 KB   
976/1738 KB   
980/1738 KB   
984/1738 KB   
988/1738 KB   
992/1738 KB   
996/1738 KB   
1000/1738 KB   
1004/1738 KB   
1008/1738 KB   
1012/1738 KB   
1016/1738 KB   
1020/1738 KB   
1024/1738 KB   
1028/1738 KB   
1032/1738 KB   
1036/1738 KB   
1040/1738 KB   
1044/1738 KB   
1048/1738 KB   
1052/1738 KB   
1056/1738 KB   
1060/1738 KB   
1064/1738 KB   
1068/1738 KB   
1072/1738 KB   
1076/1738 KB   
1080/1738 KB   
1084/1738 KB   
1088/1738 KB   
1092/1738 KB   
1096/1738 KB   
1100/1738 KB   
1104/1738 KB   
1108/1738 KB   
1112/1738 KB   
1116/1738 KB   
1120/1738 KB   
1124/1738 KB   
1128/1738 KB   
1132/1738 KB   
1136/1738 KB   
1140/1738 KB   
1144/1738 KB   
1148/1738 KB   
1152/1738 KB   
1156/1738 KB   
1160/1738 KB   
1164/1738 KB   
1168/1738 KB   
1172/1738 KB   
1176/1738 KB   
1180/1738 KB   
1184/1738 KB   
1188/1738 KB   
1192/1738 KB   
1196/1738 KB   
1200/1738 KB   
1204/1738 KB   
1208/1738 KB   
1212/1738 KB   
1216/1738 KB   
1220/1738 KB   
1224/1738 KB   
1228/1738 KB   
1232/1738 KB   
1236/1738 KB   
1240/1738 KB   
1244/1738 KB   
1248/1738 KB   
1252/1738 KB   
1256/1738 KB   
1260/1738 KB   
1264/1738 KB   
1268/1738 KB   
1272/1738 KB   
1276/1738 KB   
1280/1738 KB   
1284/1738 KB   
1288/1738 KB   
1292/1738 KB   
1296/1738 KB   
1300/1738 KB   
1304/1738 KB   
1308/1738 KB   
1312/1738 KB   
1316/1738 KB   
1320/1738 KB   
1324/1738 KB   
1328/1738 KB   
1332/1738 KB   
1336/1738 KB   
1340/1738 KB   
1344/1738 KB   
1348/1738 KB   
1352/1738 KB   
1356/1738 KB   
1360/1738 KB   
1364/1738 KB   
1368/1738 KB   
1372/1738 KB   
1376/1738 KB   
1380/1738 KB   
1384/1738 KB   
1388/1738 KB   
1392/1738 KB   
1396/1738 KB   
1400/1738 KB   
1404/1738 KB   
1408/1738 KB   
1412/1738 KB   
1416/1738 KB   
1420/1738 KB   
1424/1738 KB   
1428/1738 KB   
1432/1738 KB   
1436/1738 KB   
1440/1738 KB   
1444/1738 KB   
1448/1738 KB   
1452/1738 KB   
1456/1738 KB   
1460/1738 KB   
1464/1738 KB   
1468/1738 KB   
1472/1738 KB   
1476/1738 KB   
1480/1738 KB   
1484/1738 KB   
1488/1738 KB   
1492/1738 KB   
1496/1738 KB   
1500/1738 KB   
1504/1738 KB   
1508/1738 KB   
1512/1738 KB   
1516/1738 KB   
1520/1738 KB   
1524/1738 KB   
1528/1738 KB   
1532/1738 KB   
1536/1738 KB   
1540/1738 KB   
1544/1738 KB   
1548/1738 KB   
1552/1738 KB   
1556/1738 KB   
1560/1738 KB   
1564/1738 KB   
1568/1738 KB   
1572/1738 KB   
1576/1738 KB   
1580/1738 KB   
1584/1738 KB   
1588/1738 KB   
1592/1738 KB   
1596/1738 KB   
1600/1738 KB   
1604/1738 KB   
1608/1738 KB   
1612/1738 KB   
1616/1738 KB   
1620/1738 KB   
1624/1738 KB   
1628/1738 KB   
1632/1738 KB   
1636/1738 KB   
1640/1738 KB   
1644/1738 KB   
1648/1738 KB   
1652/1738 KB   
1656/1738 KB   
1660/1738 KB   
1664/1738 KB   
1668/1738 KB   
1672/1738 KB   
1676/1738 KB   
1680/1738 KB   
1684/1738 KB   
1688/1738 KB   
1692/1738 KB   
1696/1738 KB   
1700/1738 KB   
1704/1738 KB   
1708/1738 KB   
1712/1738 KB   
1716/1738 KB   
1720/1738 KB   
1724/1738 KB   
1728/1738 KB   
1732/1738 KB   
1736/1738 KB   
1738/1738 KB   
               
Downloaded: http://maven.inria.fr/artifactory/spoon-public-snapshot/fr/inria/gforge/spoon/spoon-core/8.2.0-SNAPSHOT/spoon-core-8.2.0-20200628.224149-177.jar (1738 KB at 6605.8 KB/sec)
[INFO] 
[INFO] --- jacoco-maven-plugin:0.7.5.201505241946:prepare-agent (default) @ npefix ---
[INFO] argLine set to -javaagent:/builds/.m2/repository/org/jacoco/org.jacoco.agent/0.7.5.201505241946/org.jacoco.agent-0.7.5.201505241946-runtime.jar=destfile=/builds/workspace/npefix/target/jacoco.exec
[INFO] 
[INFO] --- build-helper-maven-plugin:1.7:add-source (add-source) @ npefix ---
[INFO] Source directory: /builds/workspace/npefix/src/evaluation/java added.
[INFO] Source directory: /builds/workspace/npefix/src/main/java added.
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ npefix ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ npefix ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 185 source files to /builds/workspace/npefix/target/classes
[INFO] /builds/workspace/npefix/src/main/java/fr/inria/spirals/npefix/main/all/Launcher.java: Some input files use or override a deprecated API.
[INFO] /builds/workspace/npefix/src/main/java/fr/inria/spirals/npefix/main/all/Launcher.java: Recompile with -Xlint:deprecation for details.
[INFO] /builds/workspace/npefix/src/main/java/fr/inria/spirals/npefix/transformer/processors/ProcessorUtility.java: Some input files use unchecked or unsafe operations.
[INFO] /builds/workspace/npefix/src/main/java/fr/inria/spirals/npefix/transformer/processors/ProcessorUtility.java: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ npefix ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 9 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @ npefix ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 17 source files to /builds/workspace/npefix/target/test-classes
[INFO] /builds/workspace/npefix/src/test/java/fr/inria/spirals/npefix/patch/PatchesGeneratorTest.java: Some input files use unchecked or unsafe operations.
[INFO] /builds/workspace/npefix/src/test/java/fr/inria/spirals/npefix/patch/PatchesGeneratorTest.java: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ npefix ---
[INFO] Surefire report directory: /builds/workspace/npefix/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
Running fr.inria.spirals.npefix.transformer.processors.ConstructorEncapsulationTest
[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
ConstructorEncapsulation # Constructor: 2 in 27ms
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.113 sec - in fr.inria.spirals.npefix.transformer.processors.ConstructorEncapsulationTest
Running fr.inria.spirals.npefix.transformer.processors.ArrayAccessTest
[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.937 sec - in fr.inria.spirals.npefix.transformer.processors.ArrayAccessTest
Running fr.inria.spirals.npefix.transformer.processors.BeforeDerefAdderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.002 sec - in fr.inria.spirals.npefix.transformer.processors.BeforeDerefAdderTest
Running fr.inria.spirals.npefix.transformer.processors.TernarySplitterTest
[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
TernarySplitter  in 8ms
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.306 sec - in fr.inria.spirals.npefix.transformer.processors.TernarySplitterTest
Running fr.inria.spirals.npefix.transformer.processors.ImplicitCastCheckerTest
[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
AddImplicitCastChecker --> 4 in 7ms
BeforeDeref --> 31 (failed:0) in 24ms
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.549 sec - in fr.inria.spirals.npefix.transformer.processors.ImplicitCastCheckerTest
Running fr.inria.spirals.npefix.transformer.processors.CheckNotNullTest
[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
java.lang.String local = (field == null) ? "" : field
return field == null ? "" : field
field = (parm == null) ? "" : parm
java.lang.Class type = (array != null) ? array.getClass() : element != null ? element.getClass() : java.lang.Object.class
java.lang.Class type = (array != null) ? array.getClass() : element != null ? element.getClass() : java.lang.Object.class
CheckNotNull  in 37ms
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.229 sec - in fr.inria.spirals.npefix.transformer.processors.CheckNotNullTest
Running fr.inria.spirals.npefix.transformer.processors.TargetModifierTest
[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
target--> 29 (failed:0) in 55ms
public void multiCatch() {
    try {
    } catch (java.lang.IllegalArgumentException | java.lang.NullPointerException e) {
        e.printStackTrace();
    }
}
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.349 sec - in fr.inria.spirals.npefix.transformer.processors.TargetModifierTest
Running fr.inria.spirals.npefix.transformer.TryCatchRepairModelTest
/builds/workspace/npefix/target/test-classes/foo/src
RMI Selector (Host: 127.0.0.1, Port: 10000): KO
[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
CheckNotNull  in 0ms
ForceNullInit in 0ms
AddImplicitCastChecker --> 0 in 0ms
Assign --> 0 (failed: 0) in 0ms
VarInit --> 0 in 1ms
TryCatchRepair # Method: 4 in 11ms
ConstructorTryCatchRepair # Constructor: 0 in 0ms
VariableFor in 1ms
ConeflowerTest#test1
	1 Strat4 NULL Coneflower:15 Used null
Status: Ko
ConeflowerTest#test2
	1 Strat4 NULL Coneflower:11 Used null
Status: Ko
ConeflowerTest#test3
	1 Strat4 NULL Coneflower:7 Used null
Status: Ko
Multirun 4/1500 0%
ConeflowerTest#test1
	1 Strat4 NULL Coneflower:11 Used null
Status: Ko
ConeflowerTest#test2
	1 Strat4 NULL Coneflower:7 Used null
Status: Ko
Multirun 8/1500 0%
ConeflowerTest#test1
	1 Strat4 NULL Coneflower:7 Used null
Status: Ko
Multirun 12/1500 0%
ConeflowerTest#testThrowException
	1 Strat4 VAR Coneflower:19 Used i
Status: Ok
Multirun 4/1500 0%
ConeflowerTest#test1
	1 Strat4 NEW Coneflower:15 Used java.lang.String()
Status: Ko
ConeflowerTest#test2
	1 Strat4 NEW Coneflower:11 Used java.lang.String()
Status: Ko
ConeflowerTest#test3
	1 Strat4 NEW Coneflower:7 Used java.lang.String()
Status: Ok
ConeflowerTest#testThrowException
	1 Strat4 NEW Coneflower:19 Used 0
Status: Ok
Multirun 4/1500 0%
ConeflowerTest#test1
	1 Strat4 NEW Coneflower:11 Used java.lang.String()
Status: Ko
ConeflowerTest#test2
	1 Strat4 NEW Coneflower:7 Used java.lang.String()
Status: Ok
ConeflowerTest#testThrowException
	1 Strat4 NEW Coneflower:19 Used -1
Status: Ko
Multirun 8/1500 0%
ConeflowerTest#test1
	1 Strat4 NEW Coneflower:7 Used java.lang.String()
Status: Ok
ConeflowerTest#testThrowException
	1 Strat4 NEW Coneflower:19 Used 1
Status: Ko
Multirun 12/1500 0%
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.113 sec - in fr.inria.spirals.npefix.transformer.TryCatchRepairModelTest
Running fr.inria.spirals.npefix.patchTemplate.ReplaceGlobalTest
[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.433 sec - in fr.inria.spirals.npefix.patchTemplate.ReplaceGlobalTest
Running fr.inria.spirals.npefix.patchTemplate.VariableFinderTest
[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
Tests run: 2, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.088 sec - in fr.inria.spirals.npefix.patchTemplate.VariableFinderTest
Running fr.inria.spirals.npefix.patchTemplate.SkipLineTest
[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.209 sec - in fr.inria.spirals.npefix.patchTemplate.SkipLineTest
Running fr.inria.spirals.npefix.patchTemplate.SkipMethodReturnTest
[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.361 sec - in fr.inria.spirals.npefix.patchTemplate.SkipMethodReturnTest
Running fr.inria.spirals.npefix.patchTemplate.ReplaceLocalTest
[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.346 sec - in fr.inria.spirals.npefix.patchTemplate.ReplaceLocalTest
Running fr.inria.spirals.npefix.patch.PatchesGeneratorTest
[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
--- a/target/test-classes/foo/src/main/java/Foo.java
+++ b/target/test-classes/foo/src/main/java/Foo.java
@@ -105,3 +105,7 @@
     public void  multiDecisionLine() {
-        Arrays.asList(field.toString(), field.toString());
+        if (field == null) {
+            Arrays.asList( new String().toString(), new String().toString());
+        } else {
+            Arrays.asList(field.toString(), field.toString());
+        }
     }

[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
--- a/target/test-classes/foo/src/main/java/Foo.java
+++ b/target/test-classes/foo/src/main/java/Foo.java
@@ -20,6 +20,8 @@
         String result = "";
-        for (String element : array) {
-            result += element.toString();
-            if(element == null) {
-                return null;
+        if (array != null) {
+            for (String element : array) {
+                result += element.toString();
+                if(element == null) {
+                    return null;
+                }
             }

[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
--- a/src/main/java/Foo.java
+++ b/src/main/java/Foo.java
@@ -20,2 +20,5 @@
         String result = "";
+        if (array == null) {
+            return new Object();
+        }
         for (String element : array) {

[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
--- a/target/test-classes/foo/src/main/java/Foo.java
+++ b/target/test-classes/foo/src/main/java/Foo.java
@@ -111,4 +111,12 @@
 
-        } else if (array[0].isEmpty()) {
-
+        } else {
+            if (array[0] == null) {
+                if ( new String().isEmpty()) {
+                    
+                }
+            } else {
+                if (array[0].isEmpty()) {
+                    
+                }
+            }
         }

[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
--- a/target/test-classes/foo/src/main/java/Foo.java
+++ b/target/test-classes/foo/src/main/java/Foo.java
@@ -20,2 +20,5 @@
         String result = "";
+        if (array == null) {
+            return new Object();
+        }
         for (String element : array) {

[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
--- a/target/test-classes/foo/src/main/java/Foo.java
+++ b/target/test-classes/foo/src/main/java/Foo.java
@@ -20,2 +20,5 @@
         String result = "";
+        if (array == null) {
+            return result;
+        }
         for (String element : array) {
@@ -30,3 +33,5 @@
     public String fooLocal() {
-        System.out.print(field.toLowerCase());
+        if (field != null) {
+            System.out.print(field.toLowerCase());
+        }
         if(field == null) {

[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
--- a/target/test-classes/foo/src/main/java/Foo.java
+++ b/target/test-classes/foo/src/main/java/Foo.java
@@ -20,7 +20,16 @@
         String result = "";
-        for (String element : array) {
-            result += element.toString();
-            if(element == null) {
-                return null;
+        if (array == null) {
+            for (String element : result) {
+                result += element.toString();
+                if(element == null) {
+                    return null;
+                }
             }
+        } else {
+            for (String element : array) {
+                result += element.toString();
+                if(element == null) {
+                    return null;
+                }
+            }
         }

[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
--- a/target/test-classes/foo/src/main/java/Foo.java
+++ b/target/test-classes/foo/src/main/java/Foo.java
@@ -20,7 +20,16 @@
         String result = "";
-        for (String element : array) {
-            result += element.toString();
-            if(element == null) {
-                return null;
+        if (array == null) {
+            for (String element : new String[0]) {
+                result += element.toString();
+                if(element == null) {
+                    return null;
+                }
             }
+        } else {
+            for (String element : array) {
+                result += element.toString();
+                if(element == null) {
+                    return null;
+                }
+            }
         }

[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
--- a/target/test-classes/foo/src/main/java/Foo.java
+++ b/target/test-classes/foo/src/main/java/Foo.java
@@ -20,2 +20,5 @@
         String result = "";
+        if (array == null) {
+            array = new String[0];
+        }
         for (String element : array) {

Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.332 sec - in fr.inria.spirals.npefix.patch.PatchesGeneratorTest
Running fr.inria.spirals.npefix.main.all.LauncherTest
[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
TernarySplitter  in 8ms
type = (element != null) ? element.getClass() : Object.class
CheckNotNull  in 18ms
ForceNullInit in 1ms
AddImplicitCastChecker --> 4 in 5ms
BeforeDeref --> 29 (failed:0) in 20ms
target--> 32 (failed:0) in 52ms
TryRegister # Try: 1 in 15ms
Assign --> 19 (failed: 0) in 30ms
VarInit --> 10 in 8ms
MethodEncapsulation # Method: 28 in 83ms
ConstructorEncapsulation # Constructor: 2 in 11ms
VariableFor in 5ms
NoStrat
FooArrayAccessTest#fooTest
<No Strat> Status: Ko
FooArrayAccessTest#fooTest1
<No Strat> Status: Ko
FooArrayAccessTest#fooTest2
<No Strat> Status: Ko
FooClassTest#foo1Test
<No Strat> Status: Ko
FooClassTest#fooLocalTest
<No Strat> Status: Ko
FooClassTest#fooGlobalTest
<No Strat> Status: Ko
FooClassTest#fooVariableLocalTest
<No Strat> Status: Ko
FooClassTest#fooVariableGlobalTest
<No Strat> Status: Ko
FooClassTest#returnVoidTest
<No Strat> Status: Ko
FooClassTest#fooTest
<No Strat> Status: Ko
Strat1A
FooArrayAccessTest#fooTest
<No Strat> Status: Ko
FooArrayAccessTest#fooTest1
<No Strat> Status: Ko
FooArrayAccessTest#fooTest2
<No Strat> Status: Ko
FooClassTest#foo1Test
	1 Strat1A Foo:21 result
Status: Ko
FooClassTest#fooLocalTest
<No Strat> Status: Ko
FooClassTest#fooGlobalTest
<No Strat> Status: Ko
FooClassTest#fooVariableLocalTest
	1 Strat1A Foo:49 Used empty
Status: Ko
FooClassTest#fooVariableGlobalTest
	1 Strat1A Foo:58 Used empty
Status: Ok
FooClassTest#returnVoidTest
<No Strat> Status: Ko
FooClassTest#fooTest
<No Strat> Status: Ko
Strat1B
FooArrayAccessTest#fooTest
<No Strat> Status: Ko
FooArrayAccessTest#fooTest1
<No Strat> Status: Ko
FooArrayAccessTest#fooTest2
<No Strat> Status: Ko
FooClassTest#foo1Test
	1 Strat1B Foo:21 result
Status: Ko
FooClassTest#fooLocalTest
<No Strat> Status: Ko
FooClassTest#fooGlobalTest
<No Strat> Status: Ko
FooClassTest#fooVariableLocalTest
	1 Strat1B Foo:49 Used empty
Status: Ko
FooClassTest#fooVariableGlobalTest
	1 Strat1B Foo:58 Used empty
Status: Ok
FooClassTest#returnVoidTest
<No Strat> Status: Ko
FooClassTest#fooTest
<No Strat> Status: Ko
Strat2A
FooArrayAccessTest#fooTest
<No Strat> Status: Ko
FooArrayAccessTest#fooTest1
<No Strat> Status: Ko
FooArrayAccessTest#fooTest2
<No Strat> Status: Ko
FooClassTest#foo1Test
	1 Strat2A Foo:21 java.lang.Object()
Status: Ko
FooClassTest#fooLocalTest
	1 Strat2A Foo:31 Used java.lang.String()
Status: Ok
FooClassTest#fooGlobalTest
	1 Strat2A Foo:31 Used java.lang.String()
Status: Ko
FooClassTest#fooVariableLocalTest
	1 Strat2A Foo:49 Used java.lang.String()
Status: Ko
FooClassTest#fooVariableGlobalTest
	1 Strat2A Foo:58 Used java.lang.String()
Status: Ko
FooClassTest#returnVoidTest
	1 Strat2A Foo:67 Used java.lang.String()
Status: Ok
FooClassTest#fooTest
	1 Strat2A Foo:16 Used java.lang.String()
Status: Ok
Strat2B
FooArrayAccessTest#fooTest
<No Strat> Status: Ko
FooArrayAccessTest#fooTest1
<No Strat> Status: Ko
FooArrayAccessTest#fooTest2
<No Strat> Status: Ko
FooClassTest#foo1Test
	1 Strat2B Foo:21 java.lang.Object()
Status: Ko
FooClassTest#fooLocalTest
	1 Strat2B Foo:31 Used java.lang.String()
Status: Ko
FooClassTest#fooGlobalTest
	1 Strat2B Foo:31 Used java.lang.String()
Status: Ok
FooClassTest#fooVariableLocalTest
	1 Strat2B Foo:49 Used java.lang.String()
Status: Ko
FooClassTest#fooVariableGlobalTest
	1 Strat2B Foo:58 Used java.lang.String()
Status: Ko
FooClassTest#returnVoidTest
	1 Strat2B Foo:67 Used java.lang.String()
Status: Ok
FooClassTest#fooTest
	1 Strat2B Foo:16 Used java.lang.String()
Status: Ok
Strat3
FooArrayAccessTest#fooTest
<No Strat> Status: Ko
FooArrayAccessTest#fooTest1
<No Strat> Status: Ko
FooArrayAccessTest#fooTest2
<No Strat> Status: Ko
FooClassTest#foo1Test
	1 Strat3 Foo:21 Used false
Status: Ok
FooClassTest#fooLocalTest
	1 Strat3 Foo:31 Used false
Status: Ok
FooClassTest#fooGlobalTest
	1 Strat3 Foo:31 Used false
Status: Ko
FooClassTest#fooVariableLocalTest
	1 Strat3 Foo:49 Used false
Status: Ok
FooClassTest#fooVariableGlobalTest
	1 Strat3 Foo:58 Used false
Status: Ko
FooClassTest#returnVoidTest
	1 Strat3 Foo:67 Used false
Status: Ok
FooClassTest#fooTest
	1 Strat3 Foo:16 Used false
Status: Ok
Strat4 NULL
FooArrayAccessTest#fooTest
<No Strat> Status: Ko
FooArrayAccessTest#fooTest1
<No Strat> Status: Ko
FooArrayAccessTest#fooTest2
<No Strat> Status: Ko
FooClassTest#foo1Test
	1 Strat4 NULL Foo:21 Used null
Status: Ok
FooClassTest#fooLocalTest
	1 Strat4 NULL Foo:31 Used null
Status: Ko
FooClassTest#fooGlobalTest
	1 Strat4 NULL Foo:31 Used null
Status: Ko
FooClassTest#fooVariableLocalTest
	1 Strat4 NULL Foo:49 Used null
Status: Ko
FooClassTest#fooVariableGlobalTest
	1 Strat4 NULL Foo:58 Used null
Status: Ko
FooClassTest#returnVoidTest
<No Strat> Status: Ko
FooClassTest#fooTest
<No Strat> Status: Ko
Strat4 VAR
FooArrayAccessTest#fooTest
<No Strat> Status: Ko
FooArrayAccessTest#fooTest1
<No Strat> Status: Ko
FooArrayAccessTest#fooTest2
<No Strat> Status: Ko
FooClassTest#foo1Test
	1 Strat4 VAR Foo:21 Used result
Status: Ok
FooClassTest#fooLocalTest
<No Strat> Status: Ko
FooClassTest#fooGlobalTest
<No Strat> Status: Ko
FooClassTest#fooVariableLocalTest
	1 Strat4 VAR Foo:49 Used empty
Status: Ko
FooClassTest#fooVariableGlobalTest
	1 Strat4 VAR Foo:58 Used empty
Status: Ko
FooClassTest#returnVoidTest
<No Strat> Status: Ko
FooClassTest#fooTest
<No Strat> Status: Ko
Strat4 NEW
FooArrayAccessTest#fooTest
<No Strat> Status: Ko
FooArrayAccessTest#fooTest1
<No Strat> Status: Ko
FooArrayAccessTest#fooTest2
<No Strat> Status: Ko
FooClassTest#foo1Test
	1 Strat4 NEW Foo:21 Used java.lang.Object()
Status: Ok
FooClassTest#fooLocalTest
	1 Strat4 NEW Foo:31 Used java.lang.String()
Status: Ko
FooClassTest#fooGlobalTest
	1 Strat4 NEW Foo:31 Used java.lang.String()
Status: Ok
FooClassTest#fooVariableLocalTest
	1 Strat4 NEW Foo:49 Used java.lang.String()
Status: Ko
FooClassTest#fooVariableGlobalTest
	1 Strat4 NEW Foo:58 Used java.lang.String()
Status: Ko
FooClassTest#returnVoidTest
<No Strat> Status: Ko
FooClassTest#fooTest
<No Strat> Status: Ko
Strat4 VOID
FooArrayAccessTest#fooTest
<No Strat> Status: Ko
FooArrayAccessTest#fooTest1
<No Strat> Status: Ko
FooArrayAccessTest#fooTest2
<No Strat> Status: Ko
FooClassTest#foo1Test
<No Strat> Status: Ko
FooClassTest#fooLocalTest
<No Strat> Status: Ko
FooClassTest#fooGlobalTest
<No Strat> Status: Ko
FooClassTest#fooVariableLocalTest
<No Strat> Status: Ko
FooClassTest#fooVariableGlobalTest
<No Strat> Status: Ko
FooClassTest#returnVoidTest
	1 Strat4 VOID Foo:67 Used null
Status: Ok
FooClassTest#fooTest
	1 Strat4 VOID Foo:16 Used null
Status: Ok
[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
TernarySplitter  in 4ms
type = (element != null) ? element.getClass() : Object.class
CheckNotNull  in 8ms
ForceNullInit in 2ms
AddImplicitCastChecker --> 4 in 3ms
BeforeDeref --> 29 (failed:0) in 10ms
target--> 32 (failed:0) in 23ms
TryRegister # Try: 1 in 6ms
Assign --> 19 (failed: 0) in 16ms
VarInit --> 10 in 5ms
MethodEncapsulation # Method: 52 in 51ms
ConstructorEncapsulation # Constructor: 2 in 11ms
VariableFor in 6ms
ArrayReadReturnNull
FooArrayAccessTest#fooTest
<No Strat> Status: Ko
FooArrayAccessTest#fooTest1
<No Strat> Status: Ko
FooArrayAccessTest#fooTest2
<No Strat> Status: Ko
FooClassTest#foo1Test
	1 ArrayReadReturnNull Foo:21 null
Status: Ko
FooClassTest#fooLocalTest
	1 ArrayReadReturnNull Foo:31 null
Status: Ko
FooClassTest#fooGlobalTest
	1 ArrayReadReturnNull Foo:31 null
Status: Ko
FooClassTest#fooVariableLocalTest
	1 ArrayReadReturnNull Foo:49 null
Status: Ko
FooClassTest#fooVariableGlobalTest
	1 ArrayReadReturnNull Foo:58 null
Status: Ko
FooClassTest#returnVoidTest
	1 ArrayReadReturnNull Foo:67 null
Status: Ko
FooClassTest#fooTest
	1 ArrayReadReturnNull Foo:16 null
Status: Ko
[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
TernarySplitter  in 7ms
type = (element != null) ? element.getClass() : Object.class
CheckNotNull  in 8ms
ForceNullInit in 1ms
AddImplicitCastChecker --> 4 in 2ms
BeforeDeref --> 29 (failed:0) in 9ms
target--> 32 (failed:0) in 23ms
TryRegister # Try: 1 in 5ms
Assign --> 19 (failed: 0) in 16ms
VarInit --> 10 in 6ms
MethodEncapsulation # Method: 76 in 44ms
ConstructorEncapsulation # Constructor: 2 in 6ms
VariableFor in 10ms
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.995 sec - in fr.inria.spirals.npefix.main.all.LauncherTest

Results :

Tests run: 29, Failures: 0, Errors: 0, Skipped: 2

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 21.343 s
[INFO] Finished at: 2020-06-30T05:24:36+02:00
[INFO] Final Memory: 29M/218M
[INFO] ------------------------------------------------------------------------
Finished: SUCCESS