Receiving the following error when running the plugin. The scenario completes, but the analysis fails. I'm using version 4.5.0 of the plugin.
starting analysis launcher
creating analysis COM object
creating analysis session
Loader Manager initialization failed.
at Analysis.ApiSL.ApiSlRuntimeErrors.Throw(Int32 aErrorCode, ApiException aException)
at Analysis.ApiSL.ApiSlRuntimeErrors.UnsafeCode(UnsafeCodeHandlerBool aHandler, Int32 aLraErrorCode)
at Analysis.Api.Session.CreateWithTemplateFile(String aSessionName, String aResultFileName, String aTemplateFileName)
at LRAnalysisLauncher.Program.Main(String[] args)
time passed: 00::00:00:01
Error: Error during Analysis run. See output console for details
analysis report generator finished
Error(s) summary:
0 ignored , 0 errors
This same Jenkins job worked on a different LR controller host (as a Jenkins slave), but is failing on this host. I get the same error when running at the command prompt.
After the error occurs, the LRA and LRR dirs get created, but the HTML does not. Here are the contents:
9eb25c\ LRA\ LRA.mdb LRR\ log\ validate_10.log sum_data\ graph_0-5.dat sum_dat.ini 9eb25c\ LRA\ LRA.mdb LRR\ log\ validate_10.log sum_data\ graph_0-5.dat sum_dat.ini _t_rep.eve 1 KB api1_script_1.cfg 3 KB <- "api1_script" is the name api1_script_1.cfg.bak 3 KB of my LR script. api1_script_1.usp 4 KB collate.txt 1 KB collateLog.txt 1 KB crossvusertrans_error_report.txt 0 KB ei669vwin_1.eve.gzl 4 KB <- "ei669vwin" is the name ei669vwin.map 4 KB of the load generator host. LRR.lrr 1 KB offline.dat 0 KB output.mdb 528 KB read_eve.log 1 KB remote_results.txt 1 KB SLAConfiguration.xml 4 KB
[JENKINS-39332] ApiSlRuntimeErrors.UnsafeCode error during analysis
Description |
Original:
Receiving the following error when running the plugin. The scenario completes, but the analysis fails. I'm using version 4.5.0 of the plugin. {quote} starting analysis launcher creating analysis COM object creating analysis session Loader Manager initialization failed. at Analysis.ApiSL.ApiSlRuntimeErrors.Throw(Int32 aErrorCode, ApiException aException) at Analysis.ApiSL.ApiSlRuntimeErrors.UnsafeCode(UnsafeCodeHandlerBool aHandler, Int32 aLraErrorCode) at Analysis.Api.Session.CreateWithTemplateFile(String aSessionName, String aResultFileName, String aTemplateFileName) at LRAnalysisLauncher.Program.Main(String[] args) time passed: 00::00:00:01 Error: Error during Analysis run. See output console for details analysis report generator finished Error(s) summary: 0 ignored , 0 errors {quote} This same Jenkins job worked on a different LR controller host (as a Jenkins slave), but is failing on this host. I get the same error when running at the command prompt. |
New:
Receiving the following error when running the plugin. The scenario completes, but the analysis fails. I'm using version 4.5.0 of the plugin. {quote} starting analysis launcher creating analysis COM object creating analysis session Loader Manager initialization failed. at Analysis.ApiSL.ApiSlRuntimeErrors.Throw(Int32 aErrorCode, ApiException aException) at Analysis.ApiSL.ApiSlRuntimeErrors.UnsafeCode(UnsafeCodeHandlerBool aHandler, Int32 aLraErrorCode) at Analysis.Api.Session.CreateWithTemplateFile(String aSessionName, String aResultFileName, String aTemplateFileName) at LRAnalysisLauncher.Program.Main(String[] args) time passed: 00::00:00:01 Error: Error during Analysis run. See output console for details analysis report generator finished Error(s) summary: 0 ignored , 0 errors {quote} This same Jenkins job worked on a different LR controller host (as a Jenkins slave), but is failing on this host. I get the same error when running at the command prompt. After the error occurs, the LRA and LRR dirs get created, but the HTML does not. Here are the contents: {code:none} 9eb25c\ LRA\ LRA.mdb LRR\ log\ validate_10.log sum_data\ graph_0-5.dat sum_dat.ini 9eb25c\ LRA\ LRA.mdb LRR\ log\ validate_10.log sum_data\ graph_0-5.dat sum_dat.ini _t_rep.eve 1 KB api1_script_1.cfg 3 KB <- "api1_script" is the name api1_script_1.cfg.bak 3 KB of my LR script. api1_script_1.usp 4 KB collate.txt 1 KB collateLog.txt 1 KB crossvusertrans_error_report.txt 0 KB ei669vwin_1.eve.gzl 4 KB <- "ei669vwin" is the name ei669vwin.map 4 KB of the load generator host. LRR.lrr 1 KB offline.dat 0 KB output.mdb 528 KB read_eve.log 1 KB remote_results.txt 1 KB SLAConfiguration.xml 4 KB {code} |
Assignee | Original: Ofir Shaked [ ofirshaked ] | New: Yafim Kazak [ yafim_kazak ] |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Labels | Original: jenkins plugin plugins slave windows | New: LoadRunner LrAnalysisLauncher slave windows |
Attachment | New: jenkins_master_config.tgz [ 34648 ] |
Attachment | Original: jenkins_master_config.tgz [ 34648 ] |
Attachment | New: jenkins_master_config.zip [ 34649 ] |
Hi,
Please post the following so we can work on reproducing and tracing the issue:
C:\Jenkins\jjobs\<Job Name>\config.xml, c:\Jenkins\jobs\<job name>\builds\<failed build id>\log,build.xml.
From first impression it seems as if something has changed in your Analysis settings and default HTML report template that is used to create the HTML report published to Jenkins doesn't exist.