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

Performance Report not working with Jenkins installed on Kubernetes

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • performance-plugin
    • None
    • GCP Kubernetes Engine, Docker

      Steps:

      Issue: 500 (Internal Server Error) returned.

      I've tried to run the following Script Console:
      System.setProperty("java.awt.headless", "true");
      but reports are still not working.

      Please inspect attachments.

       

      Stack trace: https://pastebin.com/sgF85KHe

       

        1. PerformanceKube01.PNG
          PerformanceKube01.PNG
          81 kB
        2. PerformanceKube02.PNG
          PerformanceKube02.PNG
          69 kB
        3. PerformanceKube03.PNG
          PerformanceKube03.PNG
          147 kB
        4. PerformanceKube04.PNG
          PerformanceKube04.PNG
          51 kB

          [JENKINS-56497] Performance Report not working with Jenkins installed on Kubernetes

          Ronald van de Kuil added a comment - - edited

          We have a similar thing on the jenkins/jenkins:lts image in IBM Cloud Private's Kubernetes with the slave being on jenkins/jnlp-slave:3.27-1.

           

          There Jenkins reports:

          Performance test: Checking global bzt installation...
          [rebuild-temperature-converter] $ bzt --help
          Performance test: You don't have global bzt installed on this Jenkins host. Installing it globally will speed up job. Run 'sudo pip install bzt' to install it.
          Performance test: Checking virtualenv tool availability...
          [rebuild-temperature-converter] $ virtualenv --help
          Performance test: No virtualenv found on this Jenkins host. Install it with '*sudo pip install virtualen*v'.
          Cannot run program "virtualenv" (in directory "/home/jenkins/workspace/rebuild-temperature-converter"): error=2, No such file or directoryBuild step 'Run Performance Test' changed build result to FAILURE

           

          Any suggestions?

           

          Ronald van de Kuil added a comment - - edited We have a similar thing on the jenkins/jenkins:lts image in IBM Cloud Private's Kubernetes with the slave being on jenkins/jnlp-slave:3.27-1.   There Jenkins reports: Performance test: Checking global bzt installation... [rebuild-temperature-converter] $ bzt --help Performance test: You don't have global bzt installed on this Jenkins host. Installing it globally will speed up job. Run ' sudo pip install bzt ' to install it. Performance test: Checking virtualenv tool availability... [rebuild-temperature-converter] $ virtualenv --help Performance test: No virtualenv found on this Jenkins host. Install it with '*sudo pip install virtualen*v'. Cannot run program "virtualenv" (in directory "/home/jenkins/workspace/rebuild-temperature-converter"): error=2, No such file or directoryBuild step 'Run Performance Test' changed build result to FAILURE   Any suggestions?  

            undera Andrey Pokhilko
            paulcosma Paul Cosma
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: