Hello everyone,
I am working to create an integrated test environment with AppMon + Jenkins + Maven.
Starting with the integration of Jenkins with dynaTrace, I can not make data (purepaths) are recorded. It does not display anything in Dashlet I created for the Test Automation. By consulting the rest service with the id generated, data is returned. In Jenkins, errors occur during execution of the plugin (attached).
Someone can give me help? Attached the logs Jenkins and build on Jenkins.
Log Build Jenkins
Iniciado pelo usuário anonymous
Construindo no workspace C:\Program Files (x86)\Jenkins\jobs\rhdemo-ci\workspace
Parsing POMs
[rhdemo] $ C:\jaguar615\java\/bin/java -cp "C:\Program Files (x86)\Jenkins\plugins\maven-plugin\WEB-INF\lib\maven3-agent-1.5.jar;C:\jaguar615\ferramentas\maven\boot\plexus-classworlds-2.4.jar" org.jvnet.hudson.maven3.agent.Maven3Main C:\jaguar615\ferramentas\maven "C:\Program Files (x86)\Jenkins\war\WEB-INF\lib\remoting-2.51.jar" "C:\Program Files (x86)\Jenkins\plugins\maven-plugin\WEB-INF\lib\maven3-interceptor-1.5.jar" "C:\Program Files (x86)\Jenkins\plugins\maven-plugin\WEB-INF\lib\maven3-interceptor-commons-1.5.jar" 60382
<===[JENKINS REMOTING CAPACITY]===>channel started
ERROR: [JENKINS-18403] JDK 5 not supported to run Maven; retrying with slave Java and setting compile/test properties to point to C:\jaguar615\java\
[rhdemo] $ "C:\Program Files (x86)\Jenkins\jre/bin/java" -cp "C:\Program Files (x86)\Jenkins\plugins\maven-plugin\WEB-INF\lib\maven3-agent-1.5.jar;C:\jaguar615\ferramentas\maven\boot\plexus-classworlds-2.4.jar" org.jvnet.hudson.maven3.agent.Maven3Main C:\jaguar615\ferramentas\maven "C:\Program Files (x86)\Jenkins\war\WEB-INF\lib\remoting-2.51.jar" "C:\Program Files (x86)\Jenkins\plugins\maven-plugin\WEB-INF\lib\maven3-interceptor-1.5.jar" "C:\Program Files (x86)\Jenkins\plugins\maven-plugin\WEB-INF\lib\maven3-interceptor-commons-1.5.jar" 60384
<===[JENKINS REMOTING CAPACITY]===>channel started
Executing Maven: -B -f C:\jaguar615\workspace\rhdemo\pom.xml -Dmaven.repo.local=C:\Program Files (x86)\Jenkins\jobs\rhdemo-ci\workspace\.repository clean install -Dbuild.number=66 -Dmaven.test.skip=false -o -Dexec.workingdir=C:\jaguar615\workspace\rhdemo -Dmaven.repo.local=C:\jaguar615\repositorio
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for powerlogic.jaguar.app:rhdemo:war:0.0.1-SNAPSHOT
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin powerlogic.jaguar.jcompany.maven:plc-maven-plugin @ line 1619, column 12
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building rhdemo 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ rhdemo ---
[INFO] Deleting C:\jaguar615\workspace\rhdemo\target
[INFO]
[INFO] --- buildnumber-maven-plugin:1.0-beta-4:create (default) @ rhdemo ---
[INFO] Storing buildNumber: 20150724100918 at timestamp: 1437743358821
[INFO] Executing: cmd.exe /X /C "svn --non-interactive info"
[INFO] Working directory: C:\jaguar615\workspace\rhdemo
[INFO] Storing buildScmBranch: UNKNOWN_BRANCH
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ rhdemo ---
[debug] execute contextualize
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 7 resources
[INFO]
[INFO] --- plc-maven-plugin:6.1.5:unpack (unpack Geral) @ rhdemo ---
[INFO] Copiando arquivo de contexto rhdemo.xml
[INFO] Descompactando dependencias War no diretório temporário de build:
[INFO] -> jcompany_view-6.1.5.war
[INFO] -> Projeto Principal
[INFO]
[INFO] --- plc-maven-plugin:6.1.5:add-sourcepath (add source path) @ rhdemo ---
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ rhdemo ---
[INFO] Compiling 45 source files to C:\jaguar615\workspace\rhdemo\target\classes
[INFO]
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ rhdemo ---
[debug] execute contextualize
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 4 resources
[INFO] Copying 7 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ rhdemo ---
[INFO] Compiling 3 source files to C:\jaguar615\workspace\rhdemo\target\test-classes
[INFO]
[INFO] --- dtAutomation:6.2:startTest (DT_StartTest_UnitTest) @ rhdemo ---
[INFO] Using version from pom <version> tag
[INFO] Setting Test Information for system profile: rhdemo-testing
version: 0.0.1.66 milestone: SNAPSHOT
category: performance
[INFO] Connection to dynaTrace Server via http://localhost:8020 with username admin
[INFO] Successfully connected to server (connectionURL: http://localhost:8020/rest/management/profiles/rhdemo-testing/testruns) with responseCode=201
[INFO] Setting property <dtTestrunID> to value <c86aa599-267a-4247-aca5-d15c71493dcc>. Remember to pass it to DT agent in <optionTestRunIdJava> parameter
[INFO]
[INFO] --- maven-surefire-plugin:2.7.1:test (default-test) @ rhdemo ---
[INFO] Surefire report directory: C:\jaguar615\workspace\rhdemo\target\surefire-reports
2015-07-24 10:09:28 [000001ac] info [native] [AgentOptions] bootstrap agent debug option: optionTestRunIdJava=c86aa599-267a-4247-aca5-d15c71493dcc
2015-07-24 10:09:28 [000001ac] info [native] Loading collector peer list from C:/Program Files/dynaTrace/dynaTrace 6.2/agent/conf/collectorlist.Test_rhdemo-testing
2015-07-24 10:09:28 [000001ac] info [native] 0 entries loaded
2015-07-24 10:09:28 [000001ac] info [native] dynaTrace Bootstrap Agent 6.2.0.1238
2015-07-24 10:09:28 [000001ac] info [native] Using C:/Program Files/dynaTrace/dynaTrace 6.2 as Agent storage
2015-07-24 10:09:28 [000001ac] info [native] Log file at C:/Program Files/dynaTrace/dynaTrace 6.2/log/dt_Test_rhdemo-testing_bootstrap_6208.0.log
2015-07-24 10:09:28 [000001ac] info [native] Trying to connect to Server/Collector for up to 20 seconds
2015-07-24 10:09:28 [000001ac] info [native] Connected to Server/Collector localhost:9998
2015-07-24 10:09:28 [000001ac] info [native] Server/Collector requests us to use Agent 6.2.0.1238 with a hash of ae9c06e8b2857f04831401d669169cb2
2015-07-24 10:09:28 [000001ac] info [native] Agent already available locally
2015-07-24 10:09:28 [000001ac] info [native] Interprocess lock acquired for C:/Program Files/dynaTrace/dynaTrace 6.2/agent/downloads/6.2.0.1238/native/windows-x86-32/dtagentcore.dll
2015-07-24 10:09:28 [000001ac] info [native] Agent already available locally
2015-07-24 10:09:28 [000001ac] info [native] Loading Agent C:/Program Files/dynaTrace/dynaTrace 6.2/agent/downloads/6.2.0.1238/native/windows-x86-32/dtagentcore.dll
2015-07-24 10:09:28 [0000029c] info [native] [AgentOptions] agent debug option: optionTestRunIdJava=c86aa599-267a-4247-aca5-d15c71493dcc
2015-07-24 10:09:28 [0000029c] info [native] Loading collector peer list from C:/Program Files/dynaTrace/dynaTrace 6.2/agent/conf/collectorlist.Test_rhdemo-testing
2015-07-24 10:09:28 [0000029c] info [native] 0 entries loaded
2015-07-24 10:09:28 [0000029c] info [native] Intel CPU 0x06 0x45 detected.
2015-07-24 10:09:28 [0000029c] info [native] ProcNum=0 MaxMhz=2601 CurrentMhz=2000 MhzLimit=1976 MaxIdleState=2 CurrentIdleState=2 hasInvariantTSC=true
2015-07-24 10:09:28 [0000029c] info [native] ProcNum=1 MaxMhz=2601 CurrentMhz=2000 MhzLimit=1976 MaxIdleState=2 CurrentIdleState=2 hasInvariantTSC=true
2015-07-24 10:09:28 [0000029c] info [native] ProcNum=2 MaxMhz=2601 CurrentMhz=2000 MhzLimit=1976 MaxIdleState=2 CurrentIdleState=2 hasInvariantTSC=true
2015-07-24 10:09:28 [0000029c] info [native] ProcNum=3 MaxMhz=2601 CurrentMhz=2000 MhzLimit=1976 MaxIdleState=2 CurrentIdleState=2 hasInvariantTSC=true
2015-07-24 10:09:28 [0000029c] info [native] Battery detected. Power management may adapt CPU speed. To ensure accurate timing, the hardware timer has been disabled.
2015-07-24 10:09:29 [0000029c] info [native] High-resolution Windows timer detected.
2015-07-24 10:09:29 [0000029c] info [native] ------------------------------------------------------------------------------------
2015-07-24 10:09:29 [0000029c] info [native] dynaTrace Agent for Java Copyright (C) 2004-2015 Dynatrace, http://www.dynatrace.com
2015-07-24 10:09:29 [0000029c] info [native] ------------------------------------------------------------------------------------
2015-07-24 10:09:29 [0000029c] info [native] Version ..................... 6.2.0.1238, build date Jun 22 2015 21:43:05, svn rev. 513564
2015-07-24 10:09:29 [0000029c] info [native] Command line is C:\jaguar615\java\bin\java.exe "-agentpath:C:\Program Files\dynaTrace\dynaTrace 6.2\agent\lib\dtagent.dll=name=Test_rhdemo-testing,server=localhost:9998,optionTestRunIdJava=c86aa599-267a-4247-aca5-d15c71493dcc" -jar C:\jaguar615\workspace\rhdemo\target\surefire\surefirebooter1351539566762574211.jar C:\jaguar615\workspace\rhdemo\target\surefire\surefire1043040783686659155tmp C:\jaguar615\workspace\rhdemo\target\surefire\surefire7136449582798880130tmp
2015-07-24 10:09:29 [0000029c] info [native] Build platform .............. Windows x86 32-bit
2015-07-24 10:09:29 [0000029c] info [native] Platform .................... Windows 8.1 6.3.9600 x64
2015-07-24 10:09:29 [0000029c] info [native] OS edition .................. Standard
2015-07-24 10:09:29 [0000029c] info [native] OS productId ................ Unknown
2015-07-24 10:09:29 [0000029c] info [native] Hyper-V friendly name ....... Unknown
2015-07-24 10:09:29 [0000029c] info [native] Bootstrap version ........... 6.2.0.1238
2015-07-24 10:09:29 [0000029c] info [native] Log level console ........... info
2015-07-24 10:09:29 [0000029c] info [native] Log level file .............. info
2015-07-24 10:09:29 [0000029c] info [native] Log file .................... C:/Program Files/dynaTrace/dynaTrace 6.2/log/dt_Test_rhdemo-testing_6208.0.log
2015-07-24 10:09:29 [0000029c] info [native] Agent host .................. NOT-FERNANDO
2015-07-24 10:09:29 [0000029c] info [native] Agent library ............... C:/Program Files/dynaTrace/dynaTrace 6.2/agent/downloads/6.2.0.1238/native/windows-x86-32/dtagentcore.dll
2015-07-24 10:09:29 [0000029c] info [native] Options string .............. name=Test_rhdemo-testing,server=localhost:9998,optionTestRunIdJava=c86aa599-267a-4247-aca5-d15c71493dcc
2015-07-24 10:09:29 [0000029c] info [native] Agent name .................. Test_rhdemo-testing
2015-07-24 10:09:29 [0000029c] info [native] Server/Collector ............ localhost:9998
2015-07-24 10:09:29 [0000029c] info [native] Interface type .............. JVMTI
2015-07-24 10:09:29 [0000029c] info [native] Process ID .................. 6208
2015-07-24 10:09:29 [0000029c] info [native] JVM name .................... Java HotSpot(TM) Client VM 11.0-b15
2015-07-24 10:09:29 [0000029c] info [native] JVM vendor .................. Sun Microsystems Inc.
2015-07-24 10:09:29 [0000029c] info [native] JVM info .................... mixed mode, sharing
2015-07-24 10:09:29 [0000029c] info [native] Detected application server: IBM WebSphere
2015-07-24 10:09:29 [0000029c] info [native] Reading LoadBalancing configuration from localhost:9998
2015-07-24 10:09:29 [0000029c] info [native] Storing collector peer list (0 entries) to C:/Program Files/dynaTrace/dynaTrace 6.2/agent/conf/collectorlist.Test_rhdemo-testing
2015-07-24 10:09:29 [0000029c] info [native] Trying to connect to Server/Collector for up to 20 seconds
2015-07-24 10:09:29 [0000029c] info [native] Instrumentation channel connected successfully
2015-07-24 10:09:29 [0000029c] info [native] Received instrumentation blacklist (8113 classes, 501 KiB)
2015-07-24 10:09:29 [0000029c] info [native] Connected to Server/Collector localhost:9998
2015-07-24 10:09:29 [0000029c] info [native] Agent classes defined successfully
2015-07-24 10:09:29 [0000029c] info [native] Platform .................... Windows Vista 6.2, x86
2015-07-24 10:09:29 [0000029c] info [java ] [AgentOptions] Successfully activated java option: optionTestRunIdJava=c86aa599-267a-4247-aca5-d15c71493dcc
2015-07-24 10:09:29 [0000029c] info [java ] Java Agent Version .......... 6.2.0.1238, Agent15
2015-07-24 10:09:29 [00000454] info [native] Control channel connected successfully
2015-07-24 10:09:29 [00000454] info [native] Agent ID .................... 43e779a6
2015-07-24 10:09:29 [00000454] info [native] Process ID .................. 6208
2015-07-24 10:09:29 [00000454] info [native] Recovery .................... enabled
2015-07-24 10:09:29 [00000454] info [native] Hot Sensor Placement ........ available
2015-07-24 10:09:29 [0000029c] info [native] Eventsender channel connected successfully
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running br.com.plc.rhdemo.jcompanyqa.UfTest
2015-07-24 10:09:29 [0000029c] info [native] Average transformation time for 1333 classes/modules was 0ms - maximum set to 60ms
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.028 sec
Results :
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
2015-07-24 10:09:29 [0000029c] info [native] Shutting down Controller
2015-07-24 10:09:29 [0000029c] info [native] Shutting down EventSender
2015-07-24 10:09:29 [0000029c] info [native] Shutting down Instrumentor
2015-07-24 10:09:29 [0000029c] info [native] Shutdown successful
[JENKINS] Gravando resultados de teste# Deploying the attached artifact {0}
log4j:WARN No appenders could be found for logger (org.apache.commons.beanutils.converters.BooleanConverter).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
[INFO]
[INFO] --- maven-war-plugin:2.1.1:war (default-war) @ rhdemo ---
[INFO] Packaging webapp
[INFO] Assembling webapp [rhdemo] in [C:\jaguar615\workspace\rhdemo\target\rhdemo]
[INFO] Processing war project
[INFO] Copying webapp resources [C:\jaguar615\workspace\rhdemo\src\main\webapp]
[INFO] Webapp assembled in [380 msecs]
[INFO] Building war: C:\jaguar615\workspace\rhdemo\target\rhdemo.war
[WARNING] Warning: selected war files include a WEB-INF/web.xml which will be ignored
(webxml attribute is missing from war task, or ignoreWebxml attribute is specified as 'true')
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ rhdemo ---
[INFO] Installing C:\jaguar615\workspace\rhdemo\target\rhdemo.war to C:\jaguar615\repositorio\powerlogic\jaguar\app\rhdemo\0.0.1-SNAPSHOT\rhdemo-0.0.1-SNAPSHOT.war
[INFO] Installing C:\jaguar615\workspace\rhdemo\pom.xml to C:\jaguar615\repositorio\powerlogic\jaguar\app\rhdemo\0.0.1-SNAPSHOT\rhdemo-0.0.1-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 20.231s
[INFO] Finished at: Fri Jul 24 10:09:36 BRT 2015
[INFO] Final Memory: 14M/34M
[INFO] ------------------------------------------------------------------------
Aguardando Jenkins terminar de coletar dados
[JENKINS] Archiving C:\jaguar615\workspace\rhdemo\pom.xml to powerlogic.jaguar.app/rhdemo/0.0.1-SNAPSHOT/rhdemo-0.0.1-SNAPSHOT.pom
[JENKINS] Archiving C:\jaguar615\workspace\rhdemo\target\rhdemo.war to powerlogic.jaguar.app/rhdemo/0.0.1-SNAPSHOT/rhdemo-0.0.1-SNAPSHOT.war
channel stopped
Sleeping for the configured delay of 10sec
Verify connection to dynaTrace Server REST interface ...
Connection successful, getting testruninfo for this build (66)
Fetching XML Report from server
For debugging: XML report from dynaTrace Server: <?xml version="1.0" encoding="utf-8"?>
<dashboardreport name="rhdemo-testing Test Automation" version="6.2.0.1238" reportdate="2015-07-24T10:09:48.378-03:00" description="">
<source name="rhdemo-testing" filtersummary=""></source>
<data></data>
</dashboardreport>
No testrun found for build id 66
Waiting for 10 more seconds to get test run info ID from dynaTrace... 0 try out of 6
Fetching XML Report from server
For debugging: XML report from dynaTrace Server: <?xml version="1.0" encoding="utf-8"?>
<dashboardreport name="rhdemo-testing Test Automation" version="6.2.0.1238" reportdate="2015-07-24T10:09:58.426-03:00" description="">
<source name="rhdemo-testing" filtersummary=""></source>
<data></data>
</dashboardreport>
No testrun found for build id 66
Waiting for 10 more seconds to get test run info ID from dynaTrace... 1 try out of 6
Fetching XML Report from server
For debugging: XML report from dynaTrace Server: <?xml version="1.0" encoding="utf-8"?>
<dashboardreport name="rhdemo-testing Test Automation" version="6.2.0.1238" reportdate="2015-07-24T10:10:08.490-03:00" description="">
<source name="rhdemo-testing" filtersummary=""></source>
<data></data>
</dashboardreport>
No testrun found for build id 66
Waiting for 10 more seconds to get test run info ID from dynaTrace... 2 try out of 6
Fetching XML Report from server
For debugging: XML report from dynaTrace Server: <?xml version="1.0" encoding="utf-8"?>
<dashboardreport name="rhdemo-testing Test Automation" version="6.2.0.1238" reportdate="2015-07-24T10:10:18.533-03:00" description="">
<source name="rhdemo-testing" filtersummary=""></source>
<data></data>
</dashboardreport>
No testrun found for build id 66
Waiting for 10 more seconds to get test run info ID from dynaTrace... 3 try out of 6
Fetching XML Report from server
For debugging: XML report from dynaTrace Server: <?xml version="1.0" encoding="utf-8"?>
<dashboardreport name="rhdemo-testing Test Automation" version="6.2.0.1238" reportdate="2015-07-24T10:10:28.561-03:00" description="">
<source name="rhdemo-testing" filtersummary=""></source>
<data></data>
</dashboardreport>
No testrun found for build id 66
Waiting for 10 more seconds to get test run info ID from dynaTrace... 4 try out of 6
Fetching XML Report from server
For debugging: XML report from dynaTrace Server: <?xml version="1.0" encoding="utf-8"?>
<dashboardreport name="rhdemo-testing Test Automation" version="6.2.0.1238" reportdate="2015-07-24T10:10:38.625-03:00" description="">
<source name="rhdemo-testing" filtersummary=""></source>
<data></data>
</dashboardreport>
No testrun found for build id 66
Waiting for 10 more seconds to get test run info ID from dynaTrace... 5 try out of 6
Fetching XML Report from server
For debugging: XML report from dynaTrace Server: <?xml version="1.0" encoding="utf-8"?>
<dashboardreport name="rhdemo-testing Test Automation" version="6.2.0.1238" reportdate="2015-07-24T10:10:48.678-03:00" description="">
<source name="rhdemo-testing" filtersummary=""></source>
<data></data>
</dashboardreport>
No testrun found for build id 66
No test run recorded by the configured dynaTrace server - skipping data collection
Finished: SUCCESS
Log Jenkins (with execution error)
jul 24, 2015 10:08:30 AM ADVERTÊNCIA hudson.model.AbstractBuild$AbstractBuildExecution reportError
Publisher 'dynaTrace Test Automation Results' aborted due to exception:
java.lang.InterruptedException: sleep interrupted
at java.lang.Thread.sleep(Native Method)
at com.dynatrace.jenkins.dashboard.TestAutomationRecorder.perform(TestAutomationRecorder.java:250)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:726)
at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:1037)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:671)
at hudson.model.Run.execute(Run.java:1766)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:529)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:381)
jul 24, 2015 10:09:10 AM ADVERTÊNCIA hudson.widgets.RenderOnDemandClosure$1 generateResponse
Failed to evaluate the template closure
org.apache.commons.jelly.JellyTagException: jar:file:/C:/Program%20Files%20(x86)/Jenkins/war/WEB-INF/lib/jenkins-core-1.620.jar!/lib/hudson/listScmBrowsers.jelly:43:77: <st:include> No page found 'config.jelly' for class hudson.scm.browsers.CvsFacadeRepositoryBrowser$CvsFacadeRepositoryBrowserDescriptor
at org.kohsuke.stapler.jelly.IncludeTag.doTag(IncludeTag.java:124)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:99)
at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161)
at org.apache.commons.jelly.tags.core.OtherwiseTag.doTag(OtherwiseTag.java:41)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161)
at org.apache.commons.jelly.tags.core.ChooseTag.doTag(ChooseTag.java:38)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:120)
at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:99)
at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:99)
at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:63)
at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:53)
at hudson.widgets.RenderOnDemandClosure$1.generateResponse(RenderOnDemandClosure.java:99)
at org.kohsuke.stapler.HttpResponseRenderer$Default.handleHttpResponse(HttpResponseRenderer.java:124)
at org.kohsuke.stapler.HttpResponseRenderer$Default.generateResponse(HttpResponseRenderer.java:69)
at org.kohsuke.stapler.Function.renderResponse(Function.java:113)
at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:98)
at org.kohsuke.stapler.MetaClass$JavaScriptProxyMethodDispatcher.doDispatch(MetaClass.java:490)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
at org.kohsuke.stapler.MetaClass$13.dispatch(MetaClass.java:411)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:813)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)
at org.kohsuke.stapler.Stapler.service(Stapler.java:199)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:686)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1494)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)
at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:123)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:49)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1474)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:499)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:533)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
at org.eclipse.jetty.server.Server.handle(Server.java:370)
at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)
at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:960)
at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1021)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)
at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
jul 24, 2015 10:09:37 AM GRAVE hudson.remoting.SynchronousCommandTransport$ReaderThread run
I/O error in channel Channel to Maven [C:\jaguar615\java\/bin/java, -cp, C:\Program Files (x86)\Jenkins\plugins\maven-plugin\WEB-INF\lib\maven3-agent-1.5.jar;C:\jaguar615\ferramentas\maven\boot\plexus-classworlds-2.4.jar, org.jvnet.hudson.maven3.agent.Maven3Main, C:\jaguar615\ferramentas\maven, C:\Program Files (x86)\Jenkins\war\WEB-INF\lib\remoting-2.51.jar, C:\Program Files (x86)\Jenkins\plugins\maven-plugin\WEB-INF\lib\maven3-interceptor-1.5.jar, C:\Program Files (x86)\Jenkins\plugins\maven-plugin\WEB-INF\lib\maven3-interceptor-commons-1.5.jar, 60382]
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(Unknown Source)
at java.net.SocketInputStream.read(Unknown Source)
at java.io.FilterInputStream.read(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at hudson.remoting.FlightRecorderInputStream.read(FlightRecorderInputStream.java:82)
at hudson.remoting.ChunkedInputStream.readHeader(ChunkedInputStream.java:72)
at hudson.remoting.ChunkedInputStream.readUntilBreak(ChunkedInputStream.java:103)
at hudson.remoting.ChunkedCommandTransport.readBlock(ChunkedCommandTransport.java:39)
at hudson.remoting.AbstractSynchronousByteArrayCommandTransport.read(AbstractSynchronousByteArrayCommandTransport.java:34)
at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)
jul 24, 2015 10:09:38 AM INFORMAÇÕES hudson.model.Run execute
rhdemo-ci #66 main build action completed: SUCCESS
jul 24, 2015 10:09:48 AM INFORMAÇÕES com.dynatrace.jenkins.dashboard.rest.DynaTraceServerRestConnection
Connecting to http://localhost:8020/rest/management/dashboard/rhdemo-testing%20Test%20Automation using username "admin"
jul 24, 2015 10:09:48 AM INFORMAÇÕES org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
basic authentication scheme selected
jul 24, 2015 10:09:48 AM INFORMAÇÕES com.dynatrace.jenkins.dashboard.rest.DynaTraceServerRestConnection validateConnection
Response from dynaTrace: code: 200, output: <?xml version="1.0" encoding="utf-8"?>
<dashboardreport name="rhdemo-testing Test Automation" version="6.2.0.1238" reportdate="2015-07-24T10:09:48.354-03:00" description="">
<source name="rhdemo-testing" filtersummary=""></source>
<data></data>
</dashboardreport>
jul 24, 2015 10:09:48 AM INFORMAÇÕES org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
basic authentication scheme selected
jul 24, 2015 10:09:58 AM INFORMAÇÕES org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
basic authentication scheme selected
jul 24, 2015 10:10:08 AM INFORMAÇÕES org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
basic authentication scheme selected
jul 24, 2015 10:10:18 AM INFORMAÇÕES org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
basic authentication scheme selected
jul 24, 2015 10:10:28 AM INFORMAÇÕES org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
basic authentication scheme selected
jul 24, 2015 10:10:38 AM INFORMAÇÕES org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
basic authentication scheme selected
jul 24, 2015 10:10:48 AM INFORMAÇÕES org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
basic authentication scheme selected
Thanks,
Fernando.
Answer by Andreas G. ·
What types of tests are you executing? Are these JUnit tests? If so - did you make sure to select "active and start PurePaths" for the JAva Test Sensor PAck? This is requried in order for dynatrace to start capturing PurePaths for JUnit-based tests. Once you have these PurePaths recorded the rest should also work
Answer by Fernando A. ·
Hi Andreas,
Yes, I had enabled the testing sensor for the agent.
From the moment that changed the native Jenkins for windows by WAR version, and using the Jenkins plugin version 1.0.20, I could already see the unit test information in dynaTrace.
However, dynaTrace plugin in Jenkins still does not display the graph of the tests, getting blank. At the end of my tasks I will try to find the reason for this behavior.
It is exciting to see all this information in the test!
Thank's for your time.
Fernando.
Answer by Wolfgang G. ·
Hi Fernando,
Is it possible that the dashboard you saved is pointing to a different system profile than your agent is reporting into? The report says rhdemo-testing, while your screenshot shows data in dt-testing?
Cheers,
Wolfgang
Answer by Markie S. ·
Hi Fernando,
I see this quesiton is a couple months old, I think Wolfgang is correct about your dashboard name. I also noticed that there are 2 different Build Numbers listed in the logs. In order for the Jenkins Plugin to work you must pass the Jenkins Build Number/ID to Dynatrace.
[INFO] Storing buildNumber: 20150724100918 at timestamp: 1437743358821
Verify connection to dynaTrace Server REST interface ...
Connection successful, getting testruninfo for this build (66)
Fetching XML Report from server
For debugging: XML report from dynaTrace Server: <?xml version="1.0" encoding="utf-8"?>
<dashboardreport name="rhdemo-testing Test Automation" version="6.2.0.1238" reportdate="2015-07-24T10:09:48.378-03:00" description="">
<source name="rhdemo-testing" filtersummary=""></source>
<data></data>
</dashboardreport>
No testrun found for build id 66
Are you using <
versionBuild
>${BUILD_ID}</
versionBuild>
to pass the build id to Dynatrace?
JANUARY 15, 3:00 PM GMT / 10:00 AM ET
Jenkins -- Jmeter -- Automation with Maven scripts
Borland SilkPerformer Integration
Dynatrace Test Result Trend in Jenkins is blank despite over a dozen runs
Support for the Intern testing tool in Test Automation feature of DT
Jenkins integration not working as expected - No testrun found for specified build