SuccessConsole 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/jenkins2137950483067072712.sh
+ rm -rf /builds/.m2/repository/fr/inria/gforge/spoon
[npefix] $ /bin/sh -xe /tmp/jenkins2429051106769820338.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 20190722
[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.1.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 1.16
[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: 4.411 s
[INFO] Finished at: 2020-03-14T05:24:09+01:00
[INFO] Final Memory: 24M/190M
[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.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
1017/1017 B   
              
Downloaded: http://maven.inria.fr/artifactory/spoon-public-snapshot/fr/inria/gforge/spoon/spoon-core/8.1.0-SNAPSHOT/maven-metadata.xml (1017 B at 7.9 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-20200313.234139-191.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.1.0-SNAPSHOT/spoon-core-8.1.0-20200313.234139-191.pom (8 KB at 277.3 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 134.8 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-20200313.234139-191.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/1732 KB   
8/1732 KB   
12/1732 KB   
13/1732 KB   
17/1732 KB   
21/1732 KB   
25/1732 KB   
29/1732 KB   
33/1732 KB   
37/1732 KB   
41/1732 KB   
42/1732 KB   
46/1732 KB   
50/1732 KB   
54/1732 KB   
58/1732 KB   
62/1732 KB   
66/1732 KB   
70/1732 KB   
74/1732 KB   
78/1732 KB   
82/1732 KB   
86/1732 KB   
90/1732 KB   
94/1732 KB   
98/1732 KB   
98/1732 KB   
102/1732 KB   
106/1732 KB   
110/1732 KB   
114/1732 KB   
118/1732 KB   
122/1732 KB   
126/1732 KB   
130/1732 KB   
134/1732 KB   
138/1732 KB   
142/1732 KB   
146/1732 KB   
150/1732 KB   
154/1732 KB   
158/1732 KB   
162/1732 KB   
166/1732 KB   
170/1732 KB   
174/1732 KB   
178/1732 KB   
182/1732 KB   
186/1732 KB   
190/1732 KB   
194/1732 KB   
198/1732 KB   
202/1732 KB   
206/1732 KB   
210/1732 KB   
214/1732 KB   
218/1732 KB   
222/1732 KB   
226/1732 KB   
230/1732 KB   
234/1732 KB   
238/1732 KB   
242/1732 KB   
246/1732 KB   
250/1732 KB   
254/1732 KB   
258/1732 KB   
262/1732 KB   
266/1732 KB   
270/1732 KB   
274/1732 KB   
278/1732 KB   
282/1732 KB   
286/1732 KB   
290/1732 KB   
294/1732 KB   
298/1732 KB   
302/1732 KB   
306/1732 KB   
310/1732 KB   
314/1732 KB   
318/1732 KB   
322/1732 KB   
326/1732 KB   
330/1732 KB   
334/1732 KB   
338/1732 KB   
342/1732 KB   
346/1732 KB   
350/1732 KB   
354/1732 KB   
358/1732 KB   
362/1732 KB   
366/1732 KB   
370/1732 KB   
374/1732 KB   
378/1732 KB   
382/1732 KB   
386/1732 KB   
390/1732 KB   
394/1732 KB   
398/1732 KB   
402/1732 KB   
406/1732 KB   
410/1732 KB   
414/1732 KB   
418/1732 KB   
422/1732 KB   
426/1732 KB   
430/1732 KB   
434/1732 KB   
438/1732 KB   
442/1732 KB   
446/1732 KB   
450/1732 KB   
454/1732 KB   
458/1732 KB   
462/1732 KB   
466/1732 KB   
470/1732 KB   
474/1732 KB   
478/1732 KB   
482/1732 KB   
486/1732 KB   
490/1732 KB   
494/1732 KB   
498/1732 KB   
502/1732 KB   
506/1732 KB   
510/1732 KB   
514/1732 KB   
518/1732 KB   
522/1732 KB   
526/1732 KB   
530/1732 KB   
534/1732 KB   
538/1732 KB   
542/1732 KB   
546/1732 KB   
550/1732 KB   
554/1732 KB   
558/1732 KB   
562/1732 KB   
566/1732 KB   
570/1732 KB   
574/1732 KB   
578/1732 KB   
582/1732 KB   
586/1732 KB   
590/1732 KB   
594/1732 KB   
598/1732 KB   
602/1732 KB   
606/1732 KB   
610/1732 KB   
614/1732 KB   
618/1732 KB   
622/1732 KB   
626/1732 KB   
630/1732 KB   
634/1732 KB   
638/1732 KB   
642/1732 KB   
646/1732 KB   
650/1732 KB   
654/1732 KB   
658/1732 KB   
662/1732 KB   
666/1732 KB   
670/1732 KB   
674/1732 KB   
678/1732 KB   
682/1732 KB   
686/1732 KB   
690/1732 KB   
694/1732 KB   
698/1732 KB   
702/1732 KB   
706/1732 KB   
710/1732 KB   
714/1732 KB   
718/1732 KB   
722/1732 KB   
726/1732 KB   
730/1732 KB   
734/1732 KB   
738/1732 KB   
742/1732 KB   
746/1732 KB   
750/1732 KB   
754/1732 KB   
758/1732 KB   
762/1732 KB   
766/1732 KB   
770/1732 KB   
774/1732 KB   
778/1732 KB   
782/1732 KB   
786/1732 KB   
790/1732 KB   
794/1732 KB   
798/1732 KB   
802/1732 KB   
806/1732 KB   
810/1732 KB   
814/1732 KB   
818/1732 KB   
822/1732 KB   
826/1732 KB   
830/1732 KB   
834/1732 KB   
838/1732 KB   
842/1732 KB   
846/1732 KB   
850/1732 KB   
854/1732 KB   
858/1732 KB   
862/1732 KB   
866/1732 KB   
870/1732 KB   
874/1732 KB   
878/1732 KB   
882/1732 KB   
886/1732 KB   
890/1732 KB   
894/1732 KB   
898/1732 KB   
902/1732 KB   
906/1732 KB   
910/1732 KB   
914/1732 KB   
918/1732 KB   
922/1732 KB   
926/1732 KB   
930/1732 KB   
934/1732 KB   
938/1732 KB   
942/1732 KB   
946/1732 KB   
950/1732 KB   
954/1732 KB   
958/1732 KB   
962/1732 KB   
966/1732 KB   
970/1732 KB   
974/1732 KB   
978/1732 KB   
982/1732 KB   
986/1732 KB   
990/1732 KB   
994/1732 KB   
998/1732 KB   
1002/1732 KB   
1006/1732 KB   
1010/1732 KB   
1014/1732 KB   
1018/1732 KB   
1022/1732 KB   
1026/1732 KB   
1030/1732 KB   
1034/1732 KB   
1038/1732 KB   
1042/1732 KB   
1046/1732 KB   
1050/1732 KB   
1054/1732 KB   
1058/1732 KB   
1062/1732 KB   
1066/1732 KB   
1070/1732 KB   
1074/1732 KB   
1078/1732 KB   
1082/1732 KB   
1086/1732 KB   
1090/1732 KB   
1094/1732 KB   
1098/1732 KB   
1102/1732 KB   
1106/1732 KB   
1110/1732 KB   
1114/1732 KB   
1118/1732 KB   
1122/1732 KB   
1126/1732 KB   
1130/1732 KB   
1134/1732 KB   
1138/1732 KB   
1142/1732 KB   
1146/1732 KB   
1150/1732 KB   
1154/1732 KB   
1158/1732 KB   
1162/1732 KB   
1166/1732 KB   
1170/1732 KB   
1174/1732 KB   
1178/1732 KB   
1180/1732 KB   
1184/1732 KB   
1188/1732 KB   
1192/1732 KB   
1196/1732 KB   
1198/1732 KB   
1202/1732 KB   
1206/1732 KB   
1210/1732 KB   
1214/1732 KB   
1218/1732 KB   
1221/1732 KB   
1225/1732 KB   
1229/1732 KB   
1233/1732 KB   
1237/1732 KB   
1241/1732 KB   
1245/1732 KB   
1249/1732 KB   
1253/1732 KB   
1257/1732 KB   
1261/1732 KB   
1265/1732 KB   
1269/1732 KB   
1273/1732 KB   
1277/1732 KB   
1281/1732 KB   
1285/1732 KB   
1289/1732 KB   
1293/1732 KB   
1297/1732 KB   
1301/1732 KB   
1305/1732 KB   
1309/1732 KB   
1313/1732 KB   
1317/1732 KB   
1321/1732 KB   
1325/1732 KB   
1329/1732 KB   
1333/1732 KB   
1337/1732 KB   
1341/1732 KB   
1345/1732 KB   
1349/1732 KB   
1353/1732 KB   
1357/1732 KB   
1361/1732 KB   
1365/1732 KB   
1369/1732 KB   
1373/1732 KB   
1377/1732 KB   
1381/1732 KB   
1385/1732 KB   
1389/1732 KB   
1393/1732 KB   
1397/1732 KB   
1401/1732 KB   
1405/1732 KB   
1409/1732 KB   
1413/1732 KB   
1417/1732 KB   
1421/1732 KB   
1425/1732 KB   
1429/1732 KB   
1433/1732 KB   
1437/1732 KB   
1441/1732 KB   
1445/1732 KB   
1449/1732 KB   
1453/1732 KB   
1457/1732 KB   
1461/1732 KB   
1465/1732 KB   
1469/1732 KB   
1473/1732 KB   
1477/1732 KB   
1481/1732 KB   
1485/1732 KB   
1489/1732 KB   
1493/1732 KB   
1497/1732 KB   
1501/1732 KB   
1505/1732 KB   
1509/1732 KB   
1513/1732 KB   
1517/1732 KB   
1521/1732 KB   
1525/1732 KB   
1529/1732 KB   
1533/1732 KB   
1537/1732 KB   
1541/1732 KB   
1545/1732 KB   
1549/1732 KB   
1553/1732 KB   
1557/1732 KB   
1561/1732 KB   
1565/1732 KB   
1569/1732 KB   
1573/1732 KB   
1577/1732 KB   
1581/1732 KB   
1585/1732 KB   
1589/1732 KB   
1593/1732 KB   
1597/1732 KB   
1601/1732 KB   
1605/1732 KB   
1609/1732 KB   
1613/1732 KB   
1617/1732 KB   
1621/1732 KB   
1625/1732 KB   
1629/1732 KB   
1633/1732 KB   
1637/1732 KB   
1641/1732 KB   
1645/1732 KB   
1649/1732 KB   
1653/1732 KB   
1657/1732 KB   
1661/1732 KB   
1665/1732 KB   
1669/1732 KB   
1673/1732 KB   
1677/1732 KB   
1681/1732 KB   
1685/1732 KB   
1689/1732 KB   
1693/1732 KB   
1697/1732 KB   
1701/1732 KB   
1705/1732 KB   
1709/1732 KB   
1713/1732 KB   
1717/1732 KB   
1721/1732 KB   
1725/1732 KB   
1729/1732 KB   
1732/1732 KB   
               
Downloaded: http://maven.inria.fr/artifactory/spoon-public-snapshot/fr/inria/gforge/spoon/spoon-core/8.1.0-SNAPSHOT/spoon-core-8.1.0-20200313.234139-191.jar (1732 KB at 6075.0 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 42ms
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.356 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.773 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.003 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 14ms
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.2 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 26ms
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.476 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 30ms
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.207 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 47ms
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.323 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 1ms
AddImplicitCastChecker --> 0 in 0ms
Assign --> 0 (failed: 0) in 0ms
VarInit --> 0 in 0ms
TryCatchRepair # Method: 4 in 13ms
ConstructorTryCatchRepair # Constructor: 0 in 1ms
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: 0.978 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.388 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.133 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.233 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.297 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.321 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.466 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 4ms
type = (element != null) ? element.getClass() : Object.class
CheckNotNull  in 13ms
ForceNullInit in 1ms
AddImplicitCastChecker --> 4 in 3ms
BeforeDeref --> 29 (failed:0) in 13ms
target--> 32 (failed:0) in 38ms
TryRegister # Try: 1 in 14ms
Assign --> 19 (failed: 0) in 32ms
VarInit --> 10 in 10ms
MethodEncapsulation # Method: 28 in 73ms
ConstructorEncapsulation # Constructor: 2 in 9ms
VariableFor in 4ms
NoStrat
FooClassTest#foo1Test
<No Strat> Status: Ko
FooClassTest#fooVariableLocalTest
<No Strat> Status: Ko
FooClassTest#fooVariableGlobalTest
<No Strat> Status: Ko
FooClassTest#fooTest
<No Strat> Status: Ko
FooClassTest#fooGlobalTest
<No Strat> Status: Ko
FooClassTest#returnVoidTest
<No Strat> Status: Ko
FooClassTest#fooLocalTest
<No Strat> Status: Ko
FooArrayAccessTest#fooTest2
<No Strat> Status: Ko
FooArrayAccessTest#fooTest1
<No Strat> Status: Ko
FooArrayAccessTest#fooTest
<No Strat> Status: Ko
Strat1A
FooClassTest#foo1Test
	1 Strat1A Foo:21 result
Status: Ko
FooClassTest#fooVariableLocalTest
	1 Strat1A Foo:49 Used empty
Status: Ko
FooClassTest#fooVariableGlobalTest
	1 Strat1A Foo:58 Used empty
Status: Ok
FooClassTest#fooTest
<No Strat> Status: Ko
FooClassTest#fooGlobalTest
<No Strat> Status: Ko
FooClassTest#returnVoidTest
<No Strat> Status: Ko
FooClassTest#fooLocalTest
<No Strat> Status: Ko
FooArrayAccessTest#fooTest2
<No Strat> Status: Ko
FooArrayAccessTest#fooTest1
<No Strat> Status: Ko
FooArrayAccessTest#fooTest
<No Strat> Status: Ko
Strat1B
FooClassTest#foo1Test
	1 Strat1B Foo:21 result
Status: Ko
FooClassTest#fooVariableLocalTest
	1 Strat1B Foo:49 Used empty
Status: Ko
FooClassTest#fooVariableGlobalTest
	1 Strat1B Foo:58 Used empty
Status: Ok
FooClassTest#fooTest
<No Strat> Status: Ko
FooClassTest#fooGlobalTest
<No Strat> Status: Ko
FooClassTest#returnVoidTest
<No Strat> Status: Ko
FooClassTest#fooLocalTest
<No Strat> Status: Ko
FooArrayAccessTest#fooTest2
<No Strat> Status: Ko
FooArrayAccessTest#fooTest1
<No Strat> Status: Ko
FooArrayAccessTest#fooTest
<No Strat> Status: Ko
Strat2A
FooClassTest#foo1Test
	1 Strat2A Foo:21 java.lang.Object()
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#fooTest
	1 Strat2A Foo:16 Used java.lang.String()
Status: Ok
FooClassTest#fooGlobalTest
	1 Strat2A Foo:31 Used java.lang.String()
Status: Ko
FooClassTest#returnVoidTest
	1 Strat2A Foo:67 Used java.lang.String()
Status: Ok
FooClassTest#fooLocalTest
	1 Strat2A Foo:31 Used java.lang.String()
Status: Ok
FooArrayAccessTest#fooTest2
<No Strat> Status: Ko
FooArrayAccessTest#fooTest1
<No Strat> Status: Ko
FooArrayAccessTest#fooTest
<No Strat> Status: Ko
Strat2B
FooClassTest#foo1Test
	1 Strat2B Foo:21 java.lang.Object()
Status: Ko
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#fooTest
	1 Strat2B Foo:16 Used java.lang.String()
Status: Ok
FooClassTest#fooGlobalTest
	1 Strat2B Foo:31 Used java.lang.String()
Status: Ok
FooClassTest#returnVoidTest
	1 Strat2B Foo:67 Used java.lang.String()
Status: Ok
FooClassTest#fooLocalTest
	1 Strat2B Foo:31 Used java.lang.String()
Status: Ko
FooArrayAccessTest#fooTest2
<No Strat> Status: Ko
FooArrayAccessTest#fooTest1
<No Strat> Status: Ko
FooArrayAccessTest#fooTest
<No Strat> Status: Ko
Strat3
FooClassTest#foo1Test
	1 Strat3 Foo:21 Used false
Status: Ok
FooClassTest#fooVariableLocalTest
	1 Strat3 Foo:49 Used false
Status: Ok
FooClassTest#fooVariableGlobalTest
	1 Strat3 Foo:58 Used false
Status: Ko
FooClassTest#fooTest
	1 Strat3 Foo:16 Used false
Status: Ok
FooClassTest#fooGlobalTest
	1 Strat3 Foo:31 Used false
Status: Ko
FooClassTest#returnVoidTest
	1 Strat3 Foo:67 Used false
Status: Ok
FooClassTest#fooLocalTest
	1 Strat3 Foo:31 Used false
Status: Ok
FooArrayAccessTest#fooTest2
<No Strat> Status: Ko
FooArrayAccessTest#fooTest1
<No Strat> Status: Ko
FooArrayAccessTest#fooTest
<No Strat> Status: Ko
Strat4 NULL
FooClassTest#foo1Test
	1 Strat4 NULL Foo:21 Used null
Status: Ok
FooClassTest#fooVariableLocalTest
	1 Strat4 NULL Foo:49 Used null
Status: Ko
FooClassTest#fooVariableGlobalTest
	1 Strat4 NULL Foo:58 Used null
Status: Ko
FooClassTest#fooTest
<No Strat> Status: Ko
FooClassTest#fooGlobalTest
	1 Strat4 NULL Foo:31 Used null
Status: Ko
FooClassTest#returnVoidTest
<No Strat> Status: Ko
FooClassTest#fooLocalTest
	1 Strat4 NULL Foo:31 Used null
Status: Ko
FooArrayAccessTest#fooTest2
<No Strat> Status: Ko
FooArrayAccessTest#fooTest1
<No Strat> Status: Ko
FooArrayAccessTest#fooTest
<No Strat> Status: Ko
Strat4 VAR
FooClassTest#foo1Test
	1 Strat4 VAR Foo:21 Used result
Status: Ok
FooClassTest#fooVariableLocalTest
	1 Strat4 VAR Foo:49 Used empty
Status: Ko
FooClassTest#fooVariableGlobalTest
	1 Strat4 VAR Foo:58 Used empty
Status: Ko
FooClassTest#fooTest
<No Strat> Status: Ko
FooClassTest#fooGlobalTest
<No Strat> Status: Ko
FooClassTest#returnVoidTest
<No Strat> Status: Ko
FooClassTest#fooLocalTest
<No Strat> Status: Ko
FooArrayAccessTest#fooTest2
<No Strat> Status: Ko
FooArrayAccessTest#fooTest1
<No Strat> Status: Ko
FooArrayAccessTest#fooTest
<No Strat> Status: Ko
Strat4 NEW
FooClassTest#foo1Test
	1 Strat4 NEW Foo:21 Used java.lang.Object()
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#fooTest
<No Strat> Status: Ko
FooClassTest#fooGlobalTest
	1 Strat4 NEW Foo:31 Used java.lang.String()
Status: Ok
FooClassTest#returnVoidTest
<No Strat> Status: Ko
FooClassTest#fooLocalTest
	1 Strat4 NEW Foo:31 Used java.lang.String()
Status: Ko
FooArrayAccessTest#fooTest2
<No Strat> Status: Ko
FooArrayAccessTest#fooTest1
<No Strat> Status: Ko
FooArrayAccessTest#fooTest
<No Strat> Status: Ko
Strat4 VOID
FooClassTest#foo1Test
<No Strat> Status: Ko
FooClassTest#fooVariableLocalTest
<No Strat> Status: Ko
FooClassTest#fooVariableGlobalTest
<No Strat> Status: Ko
FooClassTest#fooTest
	1 Strat4 VOID Foo:16 Used null
Status: Ok
FooClassTest#fooGlobalTest
<No Strat> Status: Ko
FooClassTest#returnVoidTest
	1 Strat4 VOID Foo:67 Used null
Status: Ok
FooClassTest#fooLocalTest
<No Strat> Status: Ko
FooArrayAccessTest#fooTest2
<No Strat> Status: Ko
FooArrayAccessTest#fooTest1
<No Strat> Status: Ko
FooArrayAccessTest#fooTest
<No Strat> Status: Ko
[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 12ms
ForceNullInit in 1ms
AddImplicitCastChecker --> 4 in 3ms
BeforeDeref --> 29 (failed:0) in 12ms
target--> 32 (failed:0) in 27ms
TryRegister # Try: 1 in 14ms
Assign --> 19 (failed: 0) in 20ms
VarInit --> 10 in 6ms
MethodEncapsulation # Method: 52 in 78ms
ConstructorEncapsulation # Constructor: 2 in 6ms
VariableFor in 2ms
ArrayReadReturnNull
FooClassTest#foo1Test
	1 ArrayReadReturnNull Foo:21 null
Status: Ko
FooClassTest#fooVariableLocalTest
	1 ArrayReadReturnNull Foo:49 null
Status: Ko
FooClassTest#fooVariableGlobalTest
	1 ArrayReadReturnNull Foo:58 null
Status: Ko
FooClassTest#fooTest
	1 ArrayReadReturnNull Foo:16 null
Status: Ko
FooClassTest#fooGlobalTest
	1 ArrayReadReturnNull Foo:31 null
Status: Ko
FooClassTest#returnVoidTest
	1 ArrayReadReturnNull Foo:67 null
Status: Ko
FooClassTest#fooLocalTest
	1 ArrayReadReturnNull Foo:31 null
Status: Ko
FooArrayAccessTest#fooTest2
<No Strat> Status: Ko
FooArrayAccessTest#fooTest1
<No Strat> Status: Ko
FooArrayAccessTest#fooTest
<No Strat> Status: Ko
[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 6ms
ForceNullInit in 0ms
AddImplicitCastChecker --> 4 in 2ms
BeforeDeref --> 29 (failed:0) in 9ms
target--> 32 (failed:0) in 21ms
TryRegister # Try: 1 in 5ms
Assign --> 19 (failed: 0) in 25ms
VarInit --> 10 in 10ms
MethodEncapsulation # Method: 76 in 84ms
ConstructorEncapsulation # Constructor: 2 in 8ms
VariableFor in 4ms
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.22 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: 20.996 s
[INFO] Finished at: 2020-03-14T05:24:31+01:00
[INFO] Final Memory: 29M/218M
[INFO] ------------------------------------------------------------------------
Finished: SUCCESS