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/jenkins4822553793670946765.sh
+ rm -rf /builds/.m2/repository/fr/inria/gforge/spoon
[npefix] $ /bin/sh -xe /tmp/jenkins354941177356601017.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: 4.709 s
[INFO] Finished at: 2020-06-27T05:24:12+02:00
[INFO] Final Memory: 24M/189M
[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-20200626.232841-175.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-20200626.232841-175.pom (8 KB at 189.0 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 159.7 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-20200626.232841-175.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   
102/1738 KB   
106/1738 KB   
110/1738 KB   
114/1738 KB   
118/1738 KB   
122/1738 KB   
126/1738 KB   
130/1738 KB   
134/1738 KB   
138/1738 KB   
142/1738 KB   
146/1738 KB   
150/1738 KB   
154/1738 KB   
158/1738 KB   
162/1738 KB   
166/1738 KB   
170/1738 KB   
174/1738 KB   
178/1738 KB   
182/1738 KB   
186/1738 KB   
190/1738 KB   
194/1738 KB   
198/1738 KB   
202/1738 KB   
206/1738 KB   
210/1738 KB   
214/1738 KB   
218/1738 KB   
222/1738 KB   
226/1738 KB   
230/1738 KB   
234/1738 KB   
238/1738 KB   
242/1738 KB   
246/1738 KB   
250/1738 KB   
254/1738 KB   
258/1738 KB   
262/1738 KB   
266/1738 KB   
270/1738 KB   
274/1738 KB   
278/1738 KB   
282/1738 KB   
286/1738 KB   
290/1738 KB   
294/1738 KB   
298/1738 KB   
302/1738 KB   
306/1738 KB   
310/1738 KB   
314/1738 KB   
318/1738 KB   
322/1738 KB   
326/1738 KB   
330/1738 KB   
334/1738 KB   
338/1738 KB   
342/1738 KB   
346/1738 KB   
350/1738 KB   
354/1738 KB   
358/1738 KB   
362/1738 KB   
366/1738 KB   
370/1738 KB   
374/1738 KB   
378/1738 KB   
382/1738 KB   
386/1738 KB   
390/1738 KB   
394/1738 KB   
398/1738 KB   
402/1738 KB   
406/1738 KB   
410/1738 KB   
414/1738 KB   
418/1738 KB   
422/1738 KB   
426/1738 KB   
430/1738 KB   
434/1738 KB   
438/1738 KB   
442/1738 KB   
446/1738 KB   
450/1738 KB   
454/1738 KB   
458/1738 KB   
462/1738 KB   
466/1738 KB   
470/1738 KB   
474/1738 KB   
478/1738 KB   
482/1738 KB   
486/1738 KB   
490/1738 KB   
494/1738 KB   
498/1738 KB   
502/1738 KB   
506/1738 KB   
510/1738 KB   
514/1738 KB   
518/1738 KB   
522/1738 KB   
526/1738 KB   
530/1738 KB   
534/1738 KB   
538/1738 KB   
542/1738 KB   
546/1738 KB   
550/1738 KB   
554/1738 KB   
558/1738 KB   
562/1738 KB   
566/1738 KB   
570/1738 KB   
574/1738 KB   
578/1738 KB   
582/1738 KB   
586/1738 KB   
590/1738 KB   
594/1738 KB   
598/1738 KB   
602/1738 KB   
606/1738 KB   
610/1738 KB   
614/1738 KB   
618/1738 KB   
622/1738 KB   
626/1738 KB   
630/1738 KB   
634/1738 KB   
638/1738 KB   
642/1738 KB   
646/1738 KB   
650/1738 KB   
654/1738 KB   
658/1738 KB   
662/1738 KB   
666/1738 KB   
670/1738 KB   
674/1738 KB   
678/1738 KB   
682/1738 KB   
686/1738 KB   
690/1738 KB   
694/1738 KB   
698/1738 KB   
702/1738 KB   
706/1738 KB   
710/1738 KB   
714/1738 KB   
718/1738 KB   
722/1738 KB   
726/1738 KB   
730/1738 KB   
734/1738 KB   
738/1738 KB   
742/1738 KB   
746/1738 KB   
750/1738 KB   
754/1738 KB   
758/1738 KB   
762/1738 KB   
766/1738 KB   
770/1738 KB   
774/1738 KB   
778/1738 KB   
782/1738 KB   
786/1738 KB   
790/1738 KB   
794/1738 KB   
798/1738 KB   
802/1738 KB   
806/1738 KB   
810/1738 KB   
814/1738 KB   
818/1738 KB   
822/1738 KB   
826/1738 KB   
830/1738 KB   
834/1738 KB   
838/1738 KB   
842/1738 KB   
846/1738 KB   
850/1738 KB   
854/1738 KB   
858/1738 KB   
862/1738 KB   
866/1738 KB   
870/1738 KB   
874/1738 KB   
878/1738 KB   
882/1738 KB   
886/1738 KB   
890/1738 KB   
894/1738 KB   
898/1738 KB   
902/1738 KB   
906/1738 KB   
910/1738 KB   
914/1738 KB   
918/1738 KB   
922/1738 KB   
926/1738 KB   
930/1738 KB   
934/1738 KB   
938/1738 KB   
942/1738 KB   
946/1738 KB   
950/1738 KB   
954/1738 KB   
958/1738 KB   
962/1738 KB   
966/1738 KB   
970/1738 KB   
974/1738 KB   
978/1738 KB   
982/1738 KB   
986/1738 KB   
990/1738 KB   
994/1738 KB   
998/1738 KB   
1002/1738 KB   
1006/1738 KB   
1010/1738 KB   
1014/1738 KB   
1018/1738 KB   
1022/1738 KB   
1026/1738 KB   
1030/1738 KB   
1034/1738 KB   
1038/1738 KB   
1042/1738 KB   
1046/1738 KB   
1050/1738 KB   
1054/1738 KB   
1058/1738 KB   
1062/1738 KB   
1066/1738 KB   
1070/1738 KB   
1074/1738 KB   
1078/1738 KB   
1082/1738 KB   
1086/1738 KB   
1090/1738 KB   
1094/1738 KB   
1098/1738 KB   
1102/1738 KB   
1106/1738 KB   
1110/1738 KB   
1114/1738 KB   
1118/1738 KB   
1122/1738 KB   
1126/1738 KB   
1130/1738 KB   
1134/1738 KB   
1138/1738 KB   
1142/1738 KB   
1146/1738 KB   
1150/1738 KB   
1154/1738 KB   
1158/1738 KB   
1162/1738 KB   
1166/1738 KB   
1170/1738 KB   
1174/1738 KB   
1178/1738 KB   
1182/1738 KB   
1186/1738 KB   
1190/1738 KB   
1194/1738 KB   
1198/1738 KB   
1202/1738 KB   
1206/1738 KB   
1210/1738 KB   
1214/1738 KB   
1218/1738 KB   
1222/1738 KB   
1226/1738 KB   
1230/1738 KB   
1234/1738 KB   
1238/1738 KB   
1242/1738 KB   
1246/1738 KB   
1250/1738 KB   
1254/1738 KB   
1258/1738 KB   
1262/1738 KB   
1266/1738 KB   
1270/1738 KB   
1274/1738 KB   
1278/1738 KB   
1282/1738 KB   
1286/1738 KB   
1290/1738 KB   
1294/1738 KB   
1298/1738 KB   
1302/1738 KB   
1306/1738 KB   
1310/1738 KB   
1314/1738 KB   
1318/1738 KB   
1322/1738 KB   
1326/1738 KB   
1330/1738 KB   
1334/1738 KB   
1338/1738 KB   
1342/1738 KB   
1346/1738 KB   
1350/1738 KB   
1354/1738 KB   
1358/1738 KB   
1362/1738 KB   
1366/1738 KB   
1370/1738 KB   
1374/1738 KB   
1378/1738 KB   
1382/1738 KB   
1386/1738 KB   
1390/1738 KB   
1394/1738 KB   
1398/1738 KB   
1402/1738 KB   
1406/1738 KB   
1410/1738 KB   
1414/1738 KB   
1418/1738 KB   
1422/1738 KB   
1426/1738 KB   
1430/1738 KB   
1434/1738 KB   
1438/1738 KB   
1442/1738 KB   
1446/1738 KB   
1450/1738 KB   
1454/1738 KB   
1458/1738 KB   
1462/1738 KB   
1466/1738 KB   
1470/1738 KB   
1474/1738 KB   
1478/1738 KB   
1482/1738 KB   
1486/1738 KB   
1490/1738 KB   
1494/1738 KB   
1498/1738 KB   
1502/1738 KB   
1506/1738 KB   
1510/1738 KB   
1514/1738 KB   
1518/1738 KB   
1522/1738 KB   
1526/1738 KB   
1530/1738 KB   
1534/1738 KB   
1538/1738 KB   
1542/1738 KB   
1546/1738 KB   
1550/1738 KB   
1554/1738 KB   
1558/1738 KB   
1562/1738 KB   
1566/1738 KB   
1570/1738 KB   
1574/1738 KB   
1578/1738 KB   
1582/1738 KB   
1586/1738 KB   
1590/1738 KB   
1594/1738 KB   
1598/1738 KB   
1602/1738 KB   
1606/1738 KB   
1610/1738 KB   
1614/1738 KB   
1618/1738 KB   
1622/1738 KB   
1626/1738 KB   
1630/1738 KB   
1634/1738 KB   
1638/1738 KB   
1642/1738 KB   
1646/1738 KB   
1650/1738 KB   
1654/1738 KB   
1658/1738 KB   
1662/1738 KB   
1666/1738 KB   
1670/1738 KB   
1674/1738 KB   
1678/1738 KB   
1682/1738 KB   
1686/1738 KB   
1690/1738 KB   
1694/1738 KB   
1698/1738 KB   
1702/1738 KB   
1706/1738 KB   
1710/1738 KB   
1714/1738 KB   
1718/1738 KB   
1722/1738 KB   
1726/1738 KB   
1730/1738 KB   
1734/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-20200626.232841-175.jar (1738 KB at 3930.6 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 38ms
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.026 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.871 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.005 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 10ms
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.279 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 25ms
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.446 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 25ms
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.232 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 38ms
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.287 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 8ms
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.015 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.307 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.132 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.177 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.339 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.256 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.088 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 9ms
type = (element != null) ? element.getClass() : Object.class
CheckNotNull  in 19ms
ForceNullInit in 1ms
AddImplicitCastChecker --> 4 in 2ms
BeforeDeref --> 29 (failed:0) in 13ms
target--> 32 (failed:0) in 30ms
TryRegister # Try: 1 in 13ms
Assign --> 19 (failed: 0) in 23ms
VarInit --> 10 in 6ms
MethodEncapsulation # Method: 28 in 74ms
ConstructorEncapsulation # Constructor: 2 in 7ms
VariableFor in 3ms
NoStrat
FooArrayAccessTest#fooTest
<No Strat> Status: Ko
FooArrayAccessTest#fooTest1
<No Strat> Status: Ko
FooArrayAccessTest#fooTest2
<No Strat> Status: Ko
FooClassTest#fooLocalTest
<No Strat> Status: Ko
FooClassTest#foo1Test
<No Strat> Status: Ko
FooClassTest#fooTest
<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
Strat1A
FooArrayAccessTest#fooTest
<No Strat> Status: Ko
FooArrayAccessTest#fooTest1
<No Strat> Status: Ko
FooArrayAccessTest#fooTest2
<No Strat> Status: Ko
FooClassTest#fooLocalTest
<No Strat> Status: Ko
FooClassTest#foo1Test
	1 Strat1A Foo:21 result
Status: Ko
FooClassTest#fooTest
<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
Strat1B
FooArrayAccessTest#fooTest
<No Strat> Status: Ko
FooArrayAccessTest#fooTest1
<No Strat> Status: Ko
FooArrayAccessTest#fooTest2
<No Strat> Status: Ko
FooClassTest#fooLocalTest
<No Strat> Status: Ko
FooClassTest#foo1Test
	1 Strat1B Foo:21 result
Status: Ko
FooClassTest#fooTest
<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
Strat2A
FooArrayAccessTest#fooTest
<No Strat> Status: Ko
FooArrayAccessTest#fooTest1
<No Strat> Status: Ko
FooArrayAccessTest#fooTest2
<No Strat> Status: Ko
FooClassTest#fooLocalTest
	1 Strat2A Foo:31 Used java.lang.String()
Status: Ok
FooClassTest#foo1Test
	1 Strat2A Foo:21 java.lang.Object()
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#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
Strat2B
FooArrayAccessTest#fooTest
<No Strat> Status: Ko
FooArrayAccessTest#fooTest1
<No Strat> Status: Ko
FooArrayAccessTest#fooTest2
<No Strat> Status: Ko
FooClassTest#fooLocalTest
	1 Strat2B Foo:31 Used java.lang.String()
Status: Ko
FooClassTest#foo1Test
	1 Strat2B Foo:21 java.lang.Object()
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#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
Strat3
FooArrayAccessTest#fooTest
<No Strat> Status: Ko
FooArrayAccessTest#fooTest1
<No Strat> Status: Ko
FooArrayAccessTest#fooTest2
<No Strat> Status: Ko
FooClassTest#fooLocalTest
	1 Strat3 Foo:31 Used false
Status: Ok
FooClassTest#foo1Test
	1 Strat3 Foo:21 Used false
Status: Ok
FooClassTest#fooTest
	1 Strat3 Foo:16 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
Strat4 NULL
FooArrayAccessTest#fooTest
<No Strat> Status: Ko
FooArrayAccessTest#fooTest1
<No Strat> Status: Ko
FooArrayAccessTest#fooTest2
<No Strat> Status: Ko
FooClassTest#fooLocalTest
	1 Strat4 NULL Foo:31 Used null
Status: Ko
FooClassTest#foo1Test
	1 Strat4 NULL Foo:21 Used null
Status: Ok
FooClassTest#fooTest
<No Strat> 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
Strat4 VAR
FooArrayAccessTest#fooTest
<No Strat> Status: Ko
FooArrayAccessTest#fooTest1
<No Strat> Status: Ko
FooArrayAccessTest#fooTest2
<No Strat> Status: Ko
FooClassTest#fooLocalTest
<No Strat> Status: Ko
FooClassTest#foo1Test
	1 Strat4 VAR Foo:21 Used result
Status: Ok
FooClassTest#fooTest
<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
Strat4 NEW
FooArrayAccessTest#fooTest
<No Strat> Status: Ko
FooArrayAccessTest#fooTest1
<No Strat> Status: Ko
FooArrayAccessTest#fooTest2
<No Strat> Status: Ko
FooClassTest#fooLocalTest
	1 Strat4 NEW Foo:31 Used java.lang.String()
Status: Ko
FooClassTest#foo1Test
	1 Strat4 NEW Foo:21 Used java.lang.Object()
Status: Ok
FooClassTest#fooTest
<No Strat> 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
Strat4 VOID
FooArrayAccessTest#fooTest
<No Strat> Status: Ko
FooArrayAccessTest#fooTest1
<No Strat> Status: Ko
FooArrayAccessTest#fooTest2
<No Strat> Status: Ko
FooClassTest#fooLocalTest
<No Strat> Status: Ko
FooClassTest#foo1Test
<No Strat> Status: Ko
FooClassTest#fooTest
	1 Strat4 VOID Foo:16 Used null
Status: Ok
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
[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 10ms
ForceNullInit in 1ms
AddImplicitCastChecker --> 4 in 4ms
BeforeDeref --> 29 (failed:0) in 13ms
target--> 32 (failed:0) in 33ms
TryRegister # Try: 1 in 12ms
Assign --> 19 (failed: 0) in 18ms
VarInit --> 10 in 6ms
MethodEncapsulation # Method: 52 in 65ms
ConstructorEncapsulation # Constructor: 2 in 9ms
VariableFor in 6ms
ArrayReadReturnNull
FooArrayAccessTest#fooTest
<No Strat> Status: Ko
FooArrayAccessTest#fooTest1
<No Strat> Status: Ko
FooArrayAccessTest#fooTest2
<No Strat> Status: Ko
FooClassTest#fooLocalTest
	1 ArrayReadReturnNull Foo:31 null
Status: Ko
FooClassTest#foo1Test
	1 ArrayReadReturnNull Foo:21 null
Status: Ko
FooClassTest#fooTest
	1 ArrayReadReturnNull Foo:16 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
[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 1ms
AddImplicitCastChecker --> 4 in 2ms
BeforeDeref --> 29 (failed:0) in 10ms
target--> 32 (failed:0) in 22ms
TryRegister # Try: 1 in 6ms
Assign --> 19 (failed: 0) in 17ms
VarInit --> 10 in 5ms
MethodEncapsulation # Method: 76 in 69ms
ConstructorEncapsulation # Constructor: 2 in 6ms
VariableFor in 3ms
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.104 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.255 s
[INFO] Finished at: 2020-06-27T05:24:34+02:00
[INFO] Final Memory: 29M/216M
[INFO] ------------------------------------------------------------------------
Finished: SUCCESS