[INFO] [INFO] --< org.eclipse.sphinx.examples:org.eclipse.sphinx.examples.tests.perf >-- [INFO] Building org.eclipse.sphinx.examples.tests.perf 0.13.1-SNAPSHOT [78/148] [INFO] from /home/jenkins/agent/workspace/build/examples/org.eclipse.sphinx.examples.tests.perf/pom.xml [INFO] ------------------------[ eclipse-test-plugin ]------------------------- [INFO] [INFO] --- tycho-packaging:2.7.0:build-qualifier (default-build-qualifier) @ org.eclipse.sphinx.examples.tests.perf --- [INFO] The project's OSGi version is 0.13.1.202407020617 [INFO] [INFO] --- tycho-packaging:2.7.0:validate-id (default-validate-id) @ org.eclipse.sphinx.examples.tests.perf --- [INFO] [INFO] --- tycho-packaging:2.7.0:validate-version (default-validate-version) @ org.eclipse.sphinx.examples.tests.perf --- [INFO] [INFO] --- target-platform-configuration:2.7.0:target-platform (default-target-platform) @ org.eclipse.sphinx.examples.tests.perf --- [INFO] [INFO] --- tycho-compiler:2.7.0:validate-classpath (default-validate-classpath) @ org.eclipse.sphinx.examples.tests.perf --- [INFO] Resolving class path of org.eclipse.sphinx.examples.tests.perf... [WARNING] Bundle-ClassPath entry tools.jar does not exist in /home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.jdt.debug/3.16.0.v20200828-0821/org.eclipse.jdt.debug-3.16.0.v20200828-0821.jar [INFO] Fetching org.eclipse.core.net.win32.x86_64_1.1.500.v20190925-1337.jar.pack.gz from http://download.eclipse.org/eclipse/updates/4.17/R-4.17-202009021800/plugins/ (33.44kB) [INFO] Fetching org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.1300.v20200819-0940.jar.pack.gz from http://download.eclipse.org/eclipse/updates/4.17/R-4.17-202009021800/plugins/ (39.64kB) [INFO] Fetching org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.1300.v20200819-0940.jar.pack.gz from http://download.eclipse.org/eclipse/updates/4.17/R-4.17-202009021800/plugins/ (81.96kB) [INFO] Fetching org.eclipse.core.net.linux.x86_64_1.2.400.v20190924-1023.jar.pack.gz from http://download.eclipse.org/eclipse/updates/4.17/R-4.17-202009021800/plugins/ (93.41kB) [INFO] Fetching org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.1300.v20200819-0940.jar.pack.gz from http://download.eclipse.org/eclipse/updates/4.17/R-4.17-202009021800/plugins/ (69.69kB) [INFO] [INFO] --- resources:2.6:resources (default-resources) @ org.eclipse.sphinx.examples.tests.perf --- [INFO] Using 'ISO-8859-1' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/build/examples/org.eclipse.sphinx.examples.tests.perf/src/main/resources [INFO] [INFO] --- tycho-compiler:2.7.0:compile (default-compile) @ org.eclipse.sphinx.examples.tests.perf --- [INFO] Compiling 4 source files to /home/jenkins/agent/workspace/build/examples/org.eclipse.sphinx.examples.tests.perf/target/classes [INFO] [INFO] --- resources:2.6:testResources (default-testResources) @ org.eclipse.sphinx.examples.tests.perf --- [INFO] Using 'ISO-8859-1' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/build/examples/org.eclipse.sphinx.examples.tests.perf/src/test/resources [INFO] [INFO] --- tycho-packaging:2.7.0:update-consumer-pom (default-update-consumer-pom) @ org.eclipse.sphinx.examples.tests.perf --- [INFO] [INFO] --- tycho-source:2.7.0:plugin-source (plugin-source) @ org.eclipse.sphinx.examples.tests.perf --- [INFO] Building jar: /home/jenkins/agent/workspace/build/examples/org.eclipse.sphinx.examples.tests.perf/target/org.eclipse.sphinx.examples.tests.perf-0.13.1-SNAPSHOT-sources.jar [INFO] [INFO] --- tycho-packaging:2.7.0:package-plugin (default-package-plugin) @ org.eclipse.sphinx.examples.tests.perf --- [INFO] Building jar: /home/jenkins/agent/workspace/build/examples/org.eclipse.sphinx.examples.tests.perf/target/org.eclipse.sphinx.examples.tests.perf-0.13.1-SNAPSHOT.jar [INFO] [INFO] --- tycho-p2:2.7.0:p2-metadata-default (default-p2-metadata-default) @ org.eclipse.sphinx.examples.tests.perf --- [INFO] [INFO] --- tycho-source-feature:2.7.0:source-feature (source-feature) @ org.eclipse.sphinx.examples.tests.perf --- [WARNING] Goal 'source-feature' is deprecated: this mojo is replaced by the tycho-source-plugin with execution feature-source which offers equivalent and even enhanced functionality [WARNING] Mojo tycho-source-feature-plugin:source-feature is replaced by the tycho-source-plugin:feature-source which offers equivalent and even enhanced functionality [INFO] [INFO] --- tycho-p2:2.7.0:p2-metadata (attach-p2-metadata) @ org.eclipse.sphinx.examples.tests.perf --- [INFO] [INFO] --- tycho-surefire:2.7.0:test (default-test) @ org.eclipse.sphinx.examples.tests.perf --- [INFO] Could not find the Toolchain, using java from JAVA_HOME instead [INFO] Executing Test Runtime with timeout 0, logs (if any) will be placed at: /home/jenkins/agent/workspace/build/examples/org.eclipse.sphinx.examples.tests.perf/target/work/data/.metadata/.log [INFO] Command line: [/opt/tools/java/temurin/jdk-11/latest/bin/java, -Dosgi.noShutdown=false, -Dosgi.os=linux, -Dosgi.ws=gtk, -Dosgi.arch=x86_64, -Dosgi.debug=.options, -Dosgi.clean=true, -jar, /home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.equinox.launcher/1.5.800.v20200727-1323/org.eclipse.equinox.launcher-1.5.800.v20200727-1323.jar, -data, /home/jenkins/agent/workspace/build/examples/org.eclipse.sphinx.examples.tests.perf/target/work/data, -install, /home/jenkins/agent/workspace/build/examples/org.eclipse.sphinx.examples.tests.perf/target/work, -configuration, /home/jenkins/agent/workspace/build/examples/org.eclipse.sphinx.examples.tests.perf/target/work/configuration, -application, org.eclipse.tycho.surefire.osgibooter.headlesstest, -testproperties, /home/jenkins/agent/workspace/build/examples/org.eclipse.sphinx.examples.tests.perf/target/surefire.properties] Configuration location: file:/home/jenkins/agent/workspace/build/examples/org.eclipse.sphinx.examples.tests.perf/target/work/configuration/ Configuration file: file:/home/jenkins/agent/workspace/build/examples/org.eclipse.sphinx.examples.tests.perf/target/work/configuration/config.ini loaded Install location: file:/home/jenkins/agent/workspace/build/examples/org.eclipse.sphinx.examples.tests.perf/target/work/ Framework located: file:/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.osgi/3.16.0.v20200828-0759/org.eclipse.osgi-3.16.0.v20200828-0759.jar Framework classpath: file:/home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.osgi/3.16.0.v20200828-0759/org.eclipse.osgi-3.16.0.v20200828-0759.jar Debug options: file:/home/jenkins/agent/workspace/build/examples/org.eclipse.sphinx.examples.tests.perf/.options loaded Running org.eclipse.sphinx.examples.tests.perf.ExamplePerformanceJUnitTest ################### Performance report testMethod1: ------------------------------------------------------- | + Context: Global Running time: [ 1 s:13 ms ] | - Event: InsideSampleMethod1_part1 | - Blame object: Param2 | - CPU running time: [ 234 ms ] | - Event: InsideSampleMethod1_part2 | - Blame object: Param2 | - CPU running time: [ 678 ms ] | - Event: InsideSampleMethod1_part3 | - Blame object: Param2 | - CPU running time: [ 101 ms ] ------------------------------------------------------- ################### Events in time failure state for testMethod1: Check if there is events with time failure state. : true The list of all the events with time failure state. :[EventStat: InsideSampleMethod1_part1 [Param2], CPU running time: [ 234 ms ]] ################### Performance report testMethod1: + Context: Method2 Running time: [ 6 s:300 ms ] - Event: InsideSampleMethod2 - Blame object: Param3 - CPU running time: [ 1 s ] | + Context: Call Method3 from Method2 Running time: [ 5 s:300 ms ] | - Event: InsideSampleMethod3 | - Blame object: Param3 other blame object | - CPU running time: [ 3 s ] | - Event: InsideSampleMethod3 | - Blame object: Param3 | - CPU running time: [ 2 s:300 ms ] | - Run count: 2 ################### Performance report testMethod2 for context 'Call Method3 from Method2': + Context: Call Method3 from Method2 Running time: [ 5 s:300 ms ] - Event: InsideSampleMethod3 - Blame object: Param3 other blame object - CPU running time: [ 3 s ] - Event: InsideSampleMethod3 - Blame object: Param3 - CPU running time: [ 2 s:300 ms ] - Run count: 2 ################### Events with time failure state for testMethod2: Check if there is events with time failure state. : true The list of all the events with time failure state. :[EventStat: InsideSampleMethod2 [Param3], CPU running time: [ 1 s ], EventStat: InsideSampleMethod3 [Param3 other blame object], CPU running time: [ 3 s ], EventStat: InsideSampleMethod3 [Param3], CPU runnning time: [ 2 s:300 ms ], RunCount: 2] ################### Performance report testMethod3: ------------------------------------------------------- | + Context: Global Running time: [ 5 s:300 ms ] | - Event: InsideSampleMethod3 | - Blame object: Param4 | - CPU running time: [ 2 s:300 ms ] | - Run count: 2 | - Event: InsideSampleMethod3 | - Blame object: Param4 other blame object | - CPU running time: [ 3 s ] ------------------------------------------------------- ################### Performance report testAllMethods: ------------------------------------------------------- | + Context: All Methods call Running time: [ 7 s:314 ms ] | - Event: InsideSampleMethod1_part1 | - Blame object: Param1 | - CPU running time: [ 234 ms ] | - Event: InsideSampleMethod1_part2 | - Blame object: Param1 | - CPU running time: [ 678 ms ] | - Event: InsideSampleMethod1_part3 | - Blame object: Param1 | - CPU running time: [ 101 ms ] | | + Context: Method2 Running time: [ 6 s:301 ms ] | | - Event: InsideSampleMethod2 | | - Blame object: Param1 | | - CPU running time: [ 1 s ] | | | + Context: Call Method3 from Method2 Running time: [ 5 s:301 ms ] | | | - Event: InsideSampleMethod3 | | | - Blame object: Param1 other blame object | | | - CPU running time: [ 3 s:1 ms ] | | | - Event: InsideSampleMethod3 | | | - Blame object: Param1 | | | - CPU running time: [ 2 s:300 ms ] | | | - Run count: 2 ------------------------------------------------------- ------------------------------------------------------- | + Context: All Methods Running time: [ 8 s:114 ms ] | - Event: InsideAllMethod | - Blame object: Param1 After call | - CPU running time: [ 300 ms ] | - Event: InsideAllMethod | - Blame object: Param1 Before call | - CPU running time: [ 500 ms ] | | + Context: All Methods call Running time: [ 7 s:314 ms ] | | - Event: InsideSampleMethod1_part1 | | - Blame object: Param1 | | - CPU running time: [ 234 ms ] | | - Event: InsideSampleMethod1_part2 | | - Blame object: Param1 | | - CPU running time: [ 678 ms ] | | - Event: InsideSampleMethod1_part3 | | - Blame object: Param1 | | - CPU running time: [ 101 ms ] | | | + Context: Method2 Running time: [ 6 s:301 ms ] | | | - Event: InsideSampleMethod2 | | | - Blame object: Param1 | | | - CPU running time: [ 1 s ] | | | | + Context: Call Method3 from Method2 Running time: [ 5 s:301 ms ] | | | | - Event: InsideSampleMethod3 | | | | - Blame object: Param1 other blame object | | | | - CPU running time: [ 3 s:1 ms ] | | | | - Event: InsideSampleMethod3 | | | | - Blame object: Param1 | | | | - CPU running time: [ 2 s:300 ms ] | | | | - Run count: 2 ------------------------------------------------------- Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 21.163 s - in org.eclipse.sphinx.examples.tests.perf.ExamplePerformanceJUnitTest testMethod1(org.eclipse.sphinx.examples.tests.perf.ExamplePerformanceJUnitTest) Time elapsed: 1.075 s testMethod2(org.eclipse.sphinx.examples.tests.perf.ExamplePerformanceJUnitTest) Time elapsed: 6.378 s testMethod3(org.eclipse.sphinx.examples.tests.perf.ExamplePerformanceJUnitTest) Time elapsed: 5.361 s testAllMethods(org.eclipse.sphinx.examples.tests.perf.ExamplePerformanceJUnitTest) Time elapsed: 8.205 s Results: Tests run: 4, Failures: 0, Errors: 0, Skipped: 0 [INFO] All tests passed! [JENKINS] Recording test results