SuccessConsole Output

Started by timer
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on sos-builder01 (lin) in workspace /builds/workspace/cocospoon
[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/SpoonLabs/CoCoSpoon.git
 > git init /builds/workspace/cocospoon # timeout=10
Fetching upstream changes from https://github.com/SpoonLabs/CoCoSpoon.git
 > git --version # timeout=10
 > git fetch --tags --progress https://github.com/SpoonLabs/CoCoSpoon.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://github.com/SpoonLabs/CoCoSpoon.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://github.com/SpoonLabs/CoCoSpoon.git # timeout=10
Fetching upstream changes from https://github.com/SpoonLabs/CoCoSpoon.git
 > git fetch --tags --progress https://github.com/SpoonLabs/CoCoSpoon.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 5fa074ff31f36b438829ba57910bc727f8cb765b (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 5fa074ff31f36b438829ba57910bc727f8cb765b # timeout=10
Commit message: "move ui in this repo"
 > git rev-list --no-walk 5fa074ff31f36b438829ba57910bc727f8cb765b # timeout=10
[cocospoon] $ /bin/sh -xe /tmp/jenkins7865454671788868944.sh
+ mvn versions:use-latest-versions -DallowSnapshots=true
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building CocoSpoon 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- versions-maven-plugin:2.4:use-latest-versions (default-cli) @ CocoSpoon ---
[INFO] Major version changes allowed
[INFO] artifact fr.inria.gforge.spoon:spoon-core: checking for updates from sonatype-oss-public
[INFO] artifact fr.inria.gforge.spoon:spoon-core: checking for updates from gforge.inria.fr-snapshot
[INFO] artifact fr.inria.gforge.spoon:spoon-core: checking for updates from central
[INFO] Updated fr.inria.gforge.spoon:spoon-core:jar:6.2.0 to version 8.1.0-SNAPSHOT
[INFO] artifact org.apache.commons:commons-lang3: checking for updates from sonatype-oss-public
[INFO] Updated org.apache.commons:commons-lang3:jar:3.4 to version 3.9
[INFO] artifact junit:junit: checking for updates from sonatype-oss-public
[INFO] Updated junit:junit:jar:4.12 to version 5.0-SNAPSHOT
[INFO] artifact org.easytesting:fest-assert: checking for updates from sonatype-oss-public
[INFO] artifact org.easytesting:fest-assert: checking for updates from gforge.inria.fr-snapshot
[INFO] artifact org.easytesting:fest-assert: checking for updates from central
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.401 s
[INFO] Finished at: 2020-02-21T17:36:08+01:00
[INFO] Final Memory: 19M/173M
[INFO] ------------------------------------------------------------------------
+ mvn test
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building CocoSpoon 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: http://maven.inria.fr/artifactory/spoon-public-snapshot/fr/inria/gforge/spoon/spoon-core/8.1.0-SNAPSHOT/maven-metadata.xml
Downloading: https://oss.sonatype.org/content/groups/public/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 4.7 KB/sec)
              
Downloading: https://oss.sonatype.org/content/groups/public/fr/inria/gforge/spoon/spoon-core/8.1.0-SNAPSHOT/spoon-core-8.1.0-20200221.122544-147.pom
              
Downloading: http://maven.inria.fr/artifactory/spoon-public-snapshot/fr/inria/gforge/spoon/spoon-core/8.1.0-SNAPSHOT/spoon-core-8.1.0-20200221.122544-147.pom
[WARNING] Could not apply configuration for gforge.inria.fr-snapshot to wagon org.apache.maven.wagon.providers.http.HttpWagon:Cannot find 'preferredAuthentications' in class org.apache.maven.wagon.providers.http.HttpWagon
              
Downloaded: http://maven.inria.fr/artifactory/spoon-public-snapshot/fr/inria/gforge/spoon/spoon-core/8.1.0-SNAPSHOT/spoon-core-8.1.0-20200221.122544-147.pom (0 B at 0.0 KB/sec)
Downloading: https://oss.sonatype.org/content/groups/public/junit/junit/5.0-SNAPSHOT/maven-metadata.xml
Downloading: http://maven.inria.fr/artifactory/spoon-public-snapshot/junit/junit/5.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
              
2/2 KB        
         
Downloaded: https://oss.sonatype.org/content/groups/public/junit/junit/5.0-SNAPSHOT/maven-metadata.xml (2 KB at 2.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-20200221.122544-147.jar
[WARNING] Could not apply configuration for gforge.inria.fr-snapshot to wagon org.apache.maven.wagon.providers.http.HttpWagon:Cannot find 'preferredAuthentications' in class org.apache.maven.wagon.providers.http.HttpWagon
         
Downloaded: http://maven.inria.fr/artifactory/spoon-public-snapshot/fr/inria/gforge/spoon/spoon-core/8.1.0-SNAPSHOT/spoon-core-8.1.0-20200221.122544-147.jar (0 B at 0.0 KB/sec)
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ CocoSpoon ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource to instrumenting
[INFO] 
[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ CocoSpoon ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 20 source files to /builds/workspace/cocospoon/target/classes
[INFO] /builds/workspace/cocospoon/src/main/java/fil/iagl/opl/cocospoon/insert/impl/SwitchInsert.java: /builds/workspace/cocospoon/src/main/java/fil/iagl/opl/cocospoon/insert/impl/SwitchInsert.java uses unchecked or unsafe operations.
[INFO] /builds/workspace/cocospoon/src/main/java/fil/iagl/opl/cocospoon/insert/impl/SwitchInsert.java: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ CocoSpoon ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /builds/workspace/cocospoon/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ CocoSpoon ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 23 source files to /builds/workspace/cocospoon/target/test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ CocoSpoon ---
[INFO] Surefire report directory: /builds/workspace/cocospoon/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
Running fil.iagl.opl.cocospoon.CocoSpoonTest
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
maMethode
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.379 sec - in fil.iagl.opl.cocospoon.CocoSpoonTest
Running fil.iagl.opl.cocospoon.processors.WhileInsertTest
public class WhileSample {
    public static void main(java.lang.String[] args) {
        int i = 0;
        TO BE INSERT;
        while (i < 10) {
            java.lang.System.out.println("mon while");
            i++;
        } 
        TO BE INSERT;
        while (true) {
            java.lang.System.out.println("mon while sans block");
        } 
    }
}
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.152 sec - in fil.iagl.opl.cocospoon.processors.WhileInsertTest
Running fil.iagl.opl.cocospoon.processors.ConstructorInsertTest
public class ConstructorSample {
    private java.lang.String foo;

    private java.lang.String bar;

    public ConstructorSample() {
        super();
        TO BE INSERT;
    }

    public ConstructorSample(java.lang.String foo) {
        this();
        TO BE INSERT;
        this.foo = foo;
    }

    public ConstructorSample(java.lang.String foo, java.lang.String bar) {
        this(foo);
        TO BE INSERT;
        this.bar = bar;
    }
}
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.131 sec - in fil.iagl.opl.cocospoon.processors.ConstructorInsertTest
Running fil.iagl.opl.cocospoon.processors.DoInsertTest
public class DoSample {
    public static void main(java.lang.String[] args) {
        int i = 10;
        do {
            TO BE INSERT;
            i--;
        } while (i > 10 );
        do {
            TO BE INSERT;
            i++;
        } while (i < 10 );
    }
}
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.138 sec - in fil.iagl.opl.cocospoon.processors.DoInsertTest
Running fil.iagl.opl.cocospoon.processors.BeforeInsertTest
public class BeforeSample {
    public static void main(java.lang.String[] args) {
        for (int i = 0; i < args.length; i++) {
            TO BE INSERT;
            continue;
        }
        switch (args.length) {
            case 1 :
                TO BE INSERT;
                break;
        }
        TO BE INSERT;
        throw new java.lang.RuntimeException();
    }

    public int nonVoidMethod() {
        TO BE INSERT;
        return 1;
    }
}
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.094 sec - in fil.iagl.opl.cocospoon.processors.BeforeInsertTest
Running fil.iagl.opl.cocospoon.processors.TryInsertTest
public class TrySample {
    public static void main(java.lang.String[] args) {
        TO BE INSERT;
        try {
            java.lang.System.out.println("test");
            java.lang.System.out.println("test");
            java.lang.System.out.println("test");
        } catch (java.lang.Exception e) {
            java.lang.System.out.println("exception");
        } catch (java.lang.IllegalAccessError e) {
            java.lang.System.out.println("exception");
        }
    }
}
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.112 sec - in fil.iagl.opl.cocospoon.processors.TryInsertTest
Running fil.iagl.opl.cocospoon.processors.CatchInsertTest
public class TrySample {
    public static void main(java.lang.String[] args) {
        try {
            java.lang.System.out.println("test");
            java.lang.System.out.println("test");
            java.lang.System.out.println("test");
        } catch (java.lang.Exception e) {
            TO BE INSERT;
            java.lang.System.out.println("exception");
        } catch (java.lang.IllegalAccessError e) {
            TO BE INSERT;
            java.lang.System.out.println("exception");
        }
    }
}
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.13 sec - in fil.iagl.opl.cocospoon.processors.CatchInsertTest
Running fil.iagl.opl.cocospoon.processors.IfInsertTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.09 sec - in fil.iagl.opl.cocospoon.processors.IfInsertTest
Running fil.iagl.opl.cocospoon.processors.SwitchInsertTest
public class SwitchSample {
    public static void main(java.lang.String[] args) {
        int i = 0;
        TO BE INSERT;
        switch (i) {
            case 1 :
                break;
            case 2 :
                break;
            case 3 :
                break;
            default :
        }
        TO BE INSERT;
        switch (i) {
            case 1 :
                {
                    break;
                }
            case 2 :
                {
                    break;
                }
            case 3 :
                {
                    break;
                }
            default :
                {
                }
        }
    }
}
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.112 sec - in fil.iagl.opl.cocospoon.processors.SwitchInsertTest
Running fil.iagl.opl.cocospoon.processors.SynchronizedInsertTest
public class SynchronizedSample {
    public static void main(java.lang.String[] args) {
        synchronized(args) {
            TO BE INSERT;
            java.lang.System.out.println("foo");
        }
        synchronized(args) {
            TO BE INSERT;
            java.lang.System.out.println("bar");
        }
    }
}
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.132 sec - in fil.iagl.opl.cocospoon.processors.SynchronizedInsertTest
Running fil.iagl.opl.cocospoon.processors.MethodInsertTest
public class MethodSample {
    public MethodSample() {
        fil.iagl.opl.cocospoon.samples.MethodSample.main(new java.lang.String[]{  });
    }

    public static void main(java.lang.String[] args) {
        TO BE INSERT;
        java.lang.System.out.println("maMethode");
    }
}
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.114 sec - in fil.iagl.opl.cocospoon.processors.MethodInsertTest
Running fil.iagl.opl.cocospoon.processors.ForInsertTest
public class ForSample {
    public static void main(java.lang.String[] args) {
        for (int i = 0; i < 10; i++) {
            TO BE INSERT;
            java.lang.System.out.println(i);
        }
        for (int i = 0; i < 10; i++) {
            TO BE INSERT;
            java.lang.System.out.println(i);
        }
        for (int i : java.util.Arrays.asList(1, 2, 3)) {
            TO BE INSERT;
            java.lang.System.out.println(i);
        }
        for (int i : java.util.Arrays.asList(1, 2, 3)) {
            TO BE INSERT;
            java.lang.System.out.println(i);
        }
    }
}
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.096 sec - in fil.iagl.opl.cocospoon.processors.ForInsertTest
Running fil.iagl.opl.cocospoon.processors.CaseInsertTest
public class SwitchSample {
    public static void main(java.lang.String[] args) {
        int i = 0;
        switch (i) {
            case 1 :
                TO BE INSERT;
                break;
            case 2 :
                TO BE INSERT;
                break;
            case 3 :
                TO BE INSERT;
                break;
            default :
                TO BE INSERT;
        }
        switch (i) {
            case 1 :
                TO BE INSERT;
                {
                    break;
                }
            case 2 :
                TO BE INSERT;
                {
                    break;
                }
            case 3 :
                TO BE INSERT;
                {
                    break;
                }
            default :
                TO BE INSERT;
                {
                }
        }
    }
}
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.075 sec - in fil.iagl.opl.cocospoon.processors.CaseInsertTest

Results :

Tests run: 13, Failures: 0, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13.676 s
[INFO] Finished at: 2020-02-21T17:36:23+01:00
[INFO] Final Memory: 22M/195M
[INFO] ------------------------------------------------------------------------
Finished: SUCCESS