Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-39332

ApiSlRuntimeErrors.UnsafeCode error during analysis

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Blocker Blocker

      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
      

        1. UncheckAllBoxesInResult.JPG
          UncheckAllBoxesInResult.JPG
          27 kB
        2. System Information [Jenkins].pdf
          91 kB
        3. SS4.JPG
          SS4.JPG
          93 kB
        4. SS3.JPG
          SS3.JPG
          18 kB
        5. SS2.JPG
          SS2.JPG
          58 kB
        6. SS1.JPG
          SS1.JPG
          190 kB
        7. screenshot-5.png
          screenshot-5.png
          211 kB
        8. screenshot-4.png
          screenshot-4.png
          210 kB
        9. screenshot-3.png
          screenshot-3.png
          22 kB
        10. screenshot-2.png
          screenshot-2.png
          14 kB
        11. screenshot-1.png
          screenshot-1.png
          11 kB
        12. props23022017071217048.txt
          6 kB
        13. lrr_templates.png
          lrr_templates.png
          84 kB
        14. lrr_reports.png
          lrr_reports.png
          67 kB
        15. log
          3 kB
        16. junitResult.xml
          0.2 kB
        17. jenkins_master_config.zip
          4 kB
        18. config.xml
          2 kB
        19. changelog.xml
          0.0 kB
        20. build.xml
          0.9 kB

            yafim_kazak Yafim Kazak
            ethanvaughn Ethan Vaughn
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: