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/*
> 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/*
> git rev-parse refs/remotes/origin/master^{commit} # timeout=10
> git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision 8d7b6ba9358d6f6c08f44dd80e49c5c3f733b7fe (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 8d7b6ba9358d6f6c08f44dd80e49c5c3f733b7fe
Commit message: "fix travis CI"
> git rev-list --no-walk 8d7b6ba9358d6f6c08f44dd80e49c5c3f733b7fe # timeout=10
[npefix] $ /bin/sh -xe /tmp/jenkins721960161131581869.sh
+ rm -rf /builds/.m2/repository/fr/inria/gforge/spoon
[npefix] $ /bin/sh -xe /tmp/jenkins6908029470987406013.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-SNAPSHOT
[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.15
[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.000 s
[INFO] Finished at: 2019-12-07T05:24:08+01:00
[INFO] Final Memory: 23M/188M
[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/junit/junit/4.13-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
Downloading: http://maven.inria.fr/artifactory/spoon-public-snapshot/fr/inria/gforge/spoon/spoon-core/8.1.0-SNAPSHOT/maven-metadata.xml
[WARNING] Could not apply configuration for gforge.inria.fr-snapshot to wagon org.apache.maven.wagon.providers.http.HttpWagon:Cannot find 'preferredAuthentications' in class org.apache.maven.wagon.providers.http.HttpWagon
1013/1013 B
Downloaded: http://maven.inria.fr/artifactory/spoon-public-snapshot/fr/inria/gforge/spoon/spoon-core/8.1.0-SNAPSHOT/maven-metadata.xml (1013 B at 25.4 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-20191206.234134-35.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/7 KB
7/7 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-20191206.234134-35.pom (7 KB at 237.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 180.6 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-20191206.234134-35.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/1710 KB
5/1710 KB
9/1710 KB
13/1710 KB
14/1710 KB
16/1710 KB
17/1710 KB
21/1710 KB
23/1710 KB
27/1710 KB
27/1710 KB
31/1710 KB
34/1710 KB
37/1710 KB
41/1710 KB
41/1710 KB
45/1710 KB
48/1710 KB
52/1710 KB
55/1710 KB
58/1710 KB
62/1710 KB
65/1710 KB
67/1710 KB
71/1710 KB
72/1710 KB
74/1710 KB
78/1710 KB
81/1710 KB
85/1710 KB
85/1710 KB
89/1710 KB
91/1710 KB
92/1710 KB
96/1710 KB
98/1710 KB
101/1710 KB
102/1710 KB
106/1710 KB
110/1710 KB
112/1710 KB
116/1710 KB
120/1710 KB
124/1710 KB
128/1710 KB
131/1710 KB
133/1710 KB
136/1710 KB
140/1710 KB
140/1710 KB
144/1710 KB
145/1710 KB
149/1710 KB
150/1710 KB
154/1710 KB
156/1710 KB
159/1710 KB
162/1710 KB
166/1710 KB
166/1710 KB
170/1710 KB
170/1710 KB
174/1710 KB
174/1710 KB
178/1710 KB
180/1710 KB
183/1710 KB
187/1710 KB
187/1710 KB
191/1710 KB
195/1710 KB
196/1710 KB
200/1710 KB
201/1710 KB
203/1710 KB
207/1710 KB
208/1710 KB
212/1710 KB
214/1710 KB
218/1710 KB
222/1710 KB
223/1710 KB
227/1710 KB
228/1710 KB
232/1710 KB
234/1710 KB
238/1710 KB
242/1710 KB
242/1710 KB
246/1710 KB
249/1710 KB
251/1710 KB
252/1710 KB
256/1710 KB
259/1710 KB
263/1710 KB
266/1710 KB
270/1710 KB
272/1710 KB
273/1710 KB
277/1710 KB
279/1710 KB
283/1710 KB
285/1710 KB
286/1710 KB
290/1710 KB
293/1710 KB
297/1710 KB
297/1710 KB
301/1710 KB
302/1710 KB
304/1710 KB
307/1710 KB
309/1710 KB
313/1710 KB
316/1710 KB
320/1710 KB
322/1710 KB
326/1710 KB
328/1710 KB
331/1710 KB
332/1710 KB
336/1710 KB
338/1710 KB
341/1710 KB
345/1710 KB
349/1710 KB
352/1710 KB
355/1710 KB
358/1710 KB
362/1710 KB
363/1710 KB
367/1710 KB
369/1710 KB
373/1710 KB
374/1710 KB
376/1710 KB
377/1710 KB
379/1710 KB
383/1710 KB
384/1710 KB
388/1710 KB
392/1710 KB
393/1710 KB
397/1710 KB
397/1710 KB
401/1710 KB
401/1710 KB
405/1710 KB
407/1710 KB
411/1710 KB
414/1710 KB
415/1710 KB
419/1710 KB
420/1710 KB
423/1710 KB
425/1710 KB
429/1710 KB
431/1710 KB
435/1710 KB
437/1710 KB
441/1710 KB
441/1710 KB
445/1710 KB
448/1710 KB
449/1710 KB
452/1710 KB
456/1710 KB
460/1710 KB
461/1710 KB
465/1710 KB
468/1710 KB
472/1710 KB
475/1710 KB
479/1710 KB
481/1710 KB
485/1710 KB
485/1710 KB
488/1710 KB
492/1710 KB
495/1710 KB
496/1710 KB
500/1710 KB
504/1710 KB
508/1710 KB
509/1710 KB
513/1710 KB
517/1710 KB
521/1710 KB
525/1710 KB
529/1710 KB
533/1710 KB
537/1710 KB
541/1710 KB
545/1710 KB
546/1710 KB
550/1710 KB
552/1710 KB
556/1710 KB
560/1710 KB
560/1710 KB
564/1710 KB
567/1710 KB
571/1710 KB
574/1710 KB
578/1710 KB
580/1710 KB
584/1710 KB
588/1710 KB
589/1710 KB
593/1710 KB
596/1710 KB
600/1710 KB
603/1710 KB
607/1710 KB
611/1710 KB
611/1710 KB
615/1710 KB
615/1710 KB
617/1710 KB
621/1710 KB
623/1710 KB
624/1710 KB
628/1710 KB
632/1710 KB
636/1710 KB
640/1710 KB
640/1710 KB
644/1710 KB
647/1710 KB
650/1710 KB
654/1710 KB
656/1710 KB
660/1710 KB
664/1710 KB
664/1710 KB
668/1710 KB
671/1710 KB
675/1710 KB
678/1710 KB
682/1710 KB
686/1710 KB
687/1710 KB
691/1710 KB
693/1710 KB
694/1710 KB
698/1710 KB
700/1710 KB
701/1710 KB
705/1710 KB
708/1710 KB
712/1710 KB
714/1710 KB
715/1710 KB
719/1710 KB
721/1710 KB
722/1710 KB
726/1710 KB
729/1710 KB
733/1710 KB
736/1710 KB
740/1710 KB
742/1710 KB
745/1710 KB
749/1710 KB
749/1710 KB
751/1710 KB
753/1710 KB
757/1710 KB
759/1710 KB
760/1710 KB
764/1710 KB
766/1710 KB
768/1710 KB
772/1710 KB
773/1710 KB
777/1710 KB
780/1710 KB
784/1710 KB
787/1710 KB
789/1710 KB
793/1710 KB
796/1710 KB
800/1710 KB
803/1710 KB
807/1710 KB
810/1710 KB
814/1710 KB
817/1710 KB
821/1710 KB
824/1710 KB
828/1710 KB
830/1710 KB
831/1710 KB
835/1710 KB
838/1710 KB
842/1710 KB
845/1710 KB
849/1710 KB
852/1710 KB
856/1710 KB
859/1710 KB
861/1710 KB
865/1710 KB
868/1710 KB
872/1710 KB
875/1710 KB
876/1710 KB
880/1710 KB
882/1710 KB
886/1710 KB
888/1710 KB
892/1710 KB
895/1710 KB
899/1710 KB
900/1710 KB
904/1710 KB
908/1710 KB
910/1710 KB
914/1710 KB
916/1710 KB
919/1710 KB
923/1710 KB
924/1710 KB
928/1710 KB
930/1710 KB
933/1710 KB
937/1710 KB
939/1710 KB
941/1710 KB
944/1710 KB
948/1710 KB
950/1710 KB
951/1710 KB
955/1710 KB
957/1710 KB
961/1710 KB
963/1710 KB
964/1710 KB
967/1710 KB
968/1710 KB
972/1710 KB
974/1710 KB
977/1710 KB
980/1710 KB
984/1710 KB
987/1710 KB
991/1710 KB
994/1710 KB
998/1710 KB
1001/1710 KB
1004/1710 KB
1006/1710 KB
1010/1710 KB
1012/1710 KB
1014/1710 KB
1018/1710 KB
1018/1710 KB
1021/1710 KB
1025/1710 KB
1026/1710 KB
1028/1710 KB
1032/1710 KB
1035/1710 KB
1039/1710 KB
1040/1710 KB
1044/1710 KB
1048/1710 KB
1052/1710 KB
1056/1710 KB
1060/1710 KB
1063/1710 KB
1067/1710 KB
1071/1710 KB
1075/1710 KB
1079/1710 KB
1083/1710 KB
1087/1710 KB
1091/1710 KB
1095/1710 KB
1099/1710 KB
1103/1710 KB
1107/1710 KB
1111/1710 KB
1115/1710 KB
1119/1710 KB
1123/1710 KB
1127/1710 KB
1131/1710 KB
1135/1710 KB
1136/1710 KB
1140/1710 KB
1144/1710 KB
1148/1710 KB
1151/1710 KB
1155/1710 KB
1158/1710 KB
1162/1710 KB
1165/1710 KB
1169/1710 KB
1171/1710 KB
1175/1710 KB
1178/1710 KB
1182/1710 KB
1185/1710 KB
1189/1710 KB
1190/1710 KB
1192/1710 KB
1196/1710 KB
1196/1710 KB
1199/1710 KB
1203/1710 KB
1206/1710 KB
1207/1710 KB
1211/1710 KB
1212/1710 KB
1216/1710 KB
1217/1710 KB
1219/1710 KB
1223/1710 KB
1223/1710 KB
1227/1710 KB
1231/1710 KB
1231/1710 KB
1235/1710 KB
1239/1710 KB
1240/1710 KB
1244/1710 KB
1244/1710 KB
1247/1710 KB
1251/1710 KB
1253/1710 KB
1254/1710 KB
1255/1710 KB
1259/1710 KB
1261/1710 KB
1263/1710 KB
1267/1710 KB
1271/1710 KB
1275/1710 KB
1279/1710 KB
1283/1710 KB
1287/1710 KB
1291/1710 KB
1295/1710 KB
1295/1710 KB
1298/1710 KB
1302/1710 KB
1302/1710 KB
1306/1710 KB
1306/1710 KB
1310/1710 KB
1311/1710 KB
1315/1710 KB
1319/1710 KB
1319/1710 KB
1323/1710 KB
1325/1710 KB
1328/1710 KB
1332/1710 KB
1335/1710 KB
1339/1710 KB
1342/1710 KB
1346/1710 KB
1349/1710 KB
1353/1710 KB
1356/1710 KB
1360/1710 KB
1363/1710 KB
1367/1710 KB
1370/1710 KB
1374/1710 KB
1376/1710 KB
1380/1710 KB
1381/1710 KB
1385/1710 KB
1388/1710 KB
1390/1710 KB
1394/1710 KB
1395/1710 KB
1399/1710 KB
1403/1710 KB
1407/1710 KB
1410/1710 KB
1414/1710 KB
1417/1710 KB
1421/1710 KB
1421/1710 KB
1425/1710 KB
1429/1710 KB
1429/1710 KB
1433/1710 KB
1435/1710 KB
1438/1710 KB
1442/1710 KB
1444/1710 KB
1448/1710 KB
1448/1710 KB
1451/1710 KB
1452/1710 KB
1453/1710 KB
1457/1710 KB
1458/1710 KB
1461/1710 KB
1465/1710 KB
1468/1710 KB
1472/1710 KB
1476/1710 KB
1476/1710 KB
1480/1710 KB
1482/1710 KB
1486/1710 KB
1489/1710 KB
1493/1710 KB
1493/1710 KB
1494/1710 KB
1498/1710 KB
1500/1710 KB
1504/1710 KB
1506/1710 KB
1507/1710 KB
1511/1710 KB
1514/1710 KB
1516/1710 KB
1517/1710 KB
1521/1710 KB
1524/1710 KB
1528/1710 KB
1528/1710 KB
1531/1710 KB
1535/1710 KB
1537/1710 KB
1538/1710 KB
1542/1710 KB
1545/1710 KB
1549/1710 KB
1552/1710 KB
1556/1710 KB
1560/1710 KB
1562/1710 KB
1566/1710 KB
1568/1710 KB
1572/1710 KB
1575/1710 KB
1579/1710 KB
1581/1710 KB
1584/1710 KB
1588/1710 KB
1591/1710 KB
1592/1710 KB
1596/1710 KB
1599/1710 KB
1603/1710 KB
1606/1710 KB
1610/1710 KB
1612/1710 KB
1616/1710 KB
1616/1710 KB
1620/1710 KB
1620/1710 KB
1624/1710 KB
1625/1710 KB
1629/1710 KB
1630/1710 KB
1632/1710 KB
1636/1710 KB
1636/1710 KB
1639/1710 KB
1643/1710 KB
1643/1710 KB
1644/1710 KB
1648/1710 KB
1652/1710 KB
1656/1710 KB
1660/1710 KB
1664/1710 KB
1668/1710 KB
1672/1710 KB
1676/1710 KB
1680/1710 KB
1684/1710 KB
1688/1710 KB
1692/1710 KB
1696/1710 KB
1700/1710 KB
1704/1710 KB
1708/1710 KB
1710/1710 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-20191206.234134-35.jar (1710 KB at 5873.4 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
ConstructorEncapsulation # Constructor: 2 in 33ms
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.759 sec - in fr.inria.spirals.npefix.transformer.processors.ConstructorEncapsulationTest
Running fr.inria.spirals.npefix.transformer.processors.ArrayAccessTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.676 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.007 sec - in fr.inria.spirals.npefix.transformer.processors.BeforeDerefAdderTest
Running fr.inria.spirals.npefix.transformer.processors.TernarySplitterTest
TernarySplitter in 7ms
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.226 sec - in fr.inria.spirals.npefix.transformer.processors.TernarySplitterTest
Running fr.inria.spirals.npefix.transformer.processors.ImplicitCastCheckerTest
AddImplicitCastChecker --> 4 in 10ms
BeforeDeref --> 31 (failed:0) in 31ms
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.505 sec - in fr.inria.spirals.npefix.transformer.processors.ImplicitCastCheckerTest
Running fr.inria.spirals.npefix.transformer.processors.CheckNotNullTest
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.217 sec - in fr.inria.spirals.npefix.transformer.processors.CheckNotNullTest
Running fr.inria.spirals.npefix.transformer.processors.TargetModifierTest
target--> 29 (failed:0) in 37ms
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.254 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
CheckNotNull in 0ms
ForceNullInit in 1ms
AddImplicitCastChecker --> 0 in 1ms
Assign --> 0 (failed: 0) in 1ms
VarInit --> 0 in 0ms
TryCatchRepair # Method: 4 in 8ms
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: 1.045 sec - in fr.inria.spirals.npefix.transformer.TryCatchRepairModelTest
Running fr.inria.spirals.npefix.patchTemplate.ReplaceGlobalTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.333 sec - in fr.inria.spirals.npefix.patchTemplate.ReplaceGlobalTest
Running fr.inria.spirals.npefix.patchTemplate.VariableFinderTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.086 sec - in fr.inria.spirals.npefix.patchTemplate.VariableFinderTest
Running fr.inria.spirals.npefix.patchTemplate.SkipLineTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.153 sec - in fr.inria.spirals.npefix.patchTemplate.SkipLineTest
Running fr.inria.spirals.npefix.patchTemplate.SkipMethodReturnTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.231 sec - in fr.inria.spirals.npefix.patchTemplate.SkipMethodReturnTest
Running fr.inria.spirals.npefix.patchTemplate.ReplaceLocalTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.319 sec - in fr.inria.spirals.npefix.patchTemplate.ReplaceLocalTest
Running fr.inria.spirals.npefix.patch.PatchesGeneratorTest
--- 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());
+ }
}
--- 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;
+ }
}
--- 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) {
--- 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()) {
+
+ }
+ }
}
--- 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) {
--- 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) {
--- 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;
+ }
+ }
}
--- 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;
+ }
+ }
}
--- 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: 0.995 sec - in fr.inria.spirals.npefix.patch.PatchesGeneratorTest
Running fr.inria.spirals.npefix.main.all.LauncherTest
TernarySplitter in 3ms
type = (element != null) ? element.getClass() : Object.class
CheckNotNull in 11ms
ForceNullInit in 2ms
AddImplicitCastChecker --> 4 in 3ms
BeforeDeref --> 29 (failed:0) in 8ms
target--> 32 (failed:0) in 22ms
TryRegister # Try: 1 in 12ms
Assign --> 19 (failed: 0) in 16ms
VarInit --> 10 in 5ms
MethodEncapsulation # Method: 28 in 34ms
ConstructorEncapsulation # Constructor: 2 in 6ms
VariableFor in 4ms
NoStrat
FooArrayAccessTest#fooTest
<No Strat> Status: Ko
FooArrayAccessTest#fooTest1
<No Strat> Status: Ko
FooArrayAccessTest#fooTest2
<No Strat> Status: Ko
FooClassTest#fooVariableLocalTest
<No Strat> Status: Ko
FooClassTest#fooTest
<No Strat> Status: Ko
FooClassTest#foo1Test
<No Strat> Status: Ko
FooClassTest#fooLocalTest
<No Strat> Status: Ko
FooClassTest#fooGlobalTest
<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#fooVariableLocalTest
1 Strat1A Foo:49 Used empty
Status: Ko
FooClassTest#fooTest
<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#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#fooVariableLocalTest
1 Strat1B Foo:49 Used empty
Status: Ko
FooClassTest#fooTest
<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#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#fooVariableLocalTest
1 Strat2A Foo:49 Used java.lang.String()
Status: Ko
FooClassTest#fooTest
1 Strat2A Foo:16 Used java.lang.String()
Status: Ok
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#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#fooVariableLocalTest
1 Strat2B Foo:49 Used java.lang.String()
Status: Ko
FooClassTest#fooTest
1 Strat2B Foo:16 Used java.lang.String()
Status: Ok
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#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#fooVariableLocalTest
1 Strat3 Foo:49 Used false
Status: Ok
FooClassTest#fooTest
1 Strat3 Foo:16 Used false
Status: Ok
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#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#fooVariableLocalTest
1 Strat4 NULL Foo:49 Used null
Status: Ko
FooClassTest#fooTest
<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#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#fooVariableLocalTest
1 Strat4 VAR Foo:49 Used empty
Status: Ko
FooClassTest#fooTest
<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#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#fooVariableLocalTest
1 Strat4 NEW Foo:49 Used java.lang.String()
Status: Ko
FooClassTest#fooTest
<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#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#fooVariableLocalTest
<No Strat> Status: Ko
FooClassTest#fooTest
1 Strat4 VOID Foo:16 Used null
Status: Ok
FooClassTest#foo1Test
<No Strat> Status: Ko
FooClassTest#fooLocalTest
<No Strat> Status: Ko
FooClassTest#fooGlobalTest
<No Strat> Status: Ko
FooClassTest#fooVariableGlobalTest
<No Strat> Status: Ko
FooClassTest#returnVoidTest
1 Strat4 VOID Foo:67 Used null
Status: Ok
TernarySplitter in 2ms
type = (element != null) ? element.getClass() : Object.class
CheckNotNull in 8ms
ForceNullInit in 1ms
AddImplicitCastChecker --> 4 in 2ms
BeforeDeref --> 29 (failed:0) in 7ms
target--> 32 (failed:0) in 15ms
TryRegister # Try: 1 in 7ms
Assign --> 19 (failed: 0) in 12ms
VarInit --> 10 in 5ms
MethodEncapsulation # Method: 52 in 26ms
ConstructorEncapsulation # Constructor: 2 in 5ms
VariableFor in 2ms
ArrayReadReturnNull
FooArrayAccessTest#fooTest
<No Strat> Status: Ko
FooArrayAccessTest#fooTest1
<No Strat> Status: Ko
FooArrayAccessTest#fooTest2
<No Strat> Status: Ko
FooClassTest#fooVariableLocalTest
1 ArrayReadReturnNull Foo:49 null
Status: Ko
FooClassTest#fooTest
1 ArrayReadReturnNull Foo:16 null
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#fooVariableGlobalTest
1 ArrayReadReturnNull Foo:58 null
Status: Ko
FooClassTest#returnVoidTest
1 ArrayReadReturnNull Foo:67 null
Status: Ko
TernarySplitter in 3ms
type = (element != null) ? element.getClass() : Object.class
CheckNotNull in 7ms
ForceNullInit in 1ms
AddImplicitCastChecker --> 4 in 2ms
BeforeDeref --> 29 (failed:0) in 7ms
target--> 32 (failed:0) in 14ms
TryRegister # Try: 1 in 4ms
Assign --> 19 (failed: 0) in 11ms
VarInit --> 10 in 4ms
MethodEncapsulation # Method: 76 in 28ms
ConstructorEncapsulation # Constructor: 2 in 5ms
VariableFor in 3ms
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.716 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.003 s
[INFO] Finished at: 2019-12-07T05:24:31+01:00
[INFO] Final Memory: 29M/215M
[INFO] ------------------------------------------------------------------------
No mail will be sent out, as 'npefix #1042' does not have a result yet. Please make sure you set a proper result in case of pipeline/build scripts.
Finished: SUCCESS