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. build.xml
          0.9 kB
          Ed B
        2. changelog.xml
          0.0 kB
          Ed B
        3. config.xml
          2 kB
          Ed B
        4. junitResult.xml
          0.2 kB
          Ed B
        5. log
          3 kB
          Ed B
        6. lrr_reports.png
          67 kB
          Ethan Vaughn
        7. lrr_templates.png
          84 kB
          Ethan Vaughn
        8. props23022017071217048.txt
          6 kB
          Ed B
        9. screenshot-1.png
          11 kB
          Yafim Kazak
        10. screenshot-2.png
          14 kB
          Yafim Kazak
        11. screenshot-3.png
          22 kB
          Yafim Kazak
        12. screenshot-4.png
          210 kB
          Gary Chen
        13. screenshot-5.png
          211 kB
          Gary Chen
        14. SS1.JPG
          190 kB
          Ed B
        15. SS2.JPG
          58 kB
          Ed B
        16. SS3.JPG
          18 kB
          Ed B
        17. SS4.JPG
          93 kB
          Ed B
        18. System Information [Jenkins].pdf
          91 kB
          Ethan Vaughn
        19. UncheckAllBoxesInResult.JPG
          27 kB
          Yafim Kazak

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

              Created:
              Updated:
              Resolved: