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

Octane Cucumber test reporter plugin fails previous passed build after Jenkins restarts

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor

      Hi,

      I am currently having issue with "Octane Cucumber test reporter" plugin which could be reproduced as below steps:

      Steps:

      1. Create a Maven project using cucumber framework and "com.hpe.alm.octane.OctaneGherkinFormatter:target
        gherkin-results
        ManualRunnerTest_OctaneGherkinResults.xml" plugin.
      2. Create a freestyle Jenkins job for above maven project and add the "Octane Cucumber test reporter" and "Publish Thucydides Test Reports" to Post-build Actions.
      3. Create an Octane pipeline job that links to Jenkins job above.
      4. Build the job and ensure the result is passed.
      5. Validate the HTML report is published in Jenkins and ManualRunnerTest_OctaneGherkinResults.xml is generated in Jenkins workspace\target\gherkin-results.
      6. Restart Jenkins

      Expected:

      • Job status is still passed.
      • HTML Report is still accessible.

      Actual:

      • Job status is turned to failed.
      • HTML Report is removed.

      Please see attached the screenshots of the job status before and after Jenkins restart, console output log, and octane pipeline status.

          [JENKINS-59866] Octane Cucumber test reporter plugin fails previous passed build after Jenkins restarts

          Minh Tran created issue -
          Minh Tran made changes -
          Environment Original: Jenkins version: 2.190.1 LTS.
          Java version: JDK 1.8.0_181
          Jenkins host: WS2012 R2 Standard No service pack.
          Plugin: Micro Focus Application Automation Tools’ plugin version 5.9.
          ALM Octane version: 12.60 (CP10).
          ALM Octane O/S: Windows 2016
          ALM Octane setup: Clustered environment.
          ALM Octane: Using TLS 1.2 (Port 8443).
          Octane API: API Access is successfully generated.

          New: Jenkins version: 2.190.1 LTS (Windows Installer).
          Java version: JDK 1.8.0_181
          Jenkins host: WS2012 R2 Standard No service pack.
          Plugin: Micro Focus Application Automation Tools’ plugin version 5.9.
          ALM Octane version: 12.60 (CP10).
          ALM Octane O/S: Windows 2016
          ALM Octane setup: Clustered environment.
          ALM Octane: Using TLS 1.2 (Port 8443).
          Octane API: API Access is successfully generated.

          Minh Tran made changes -
          Attachment Original: After_Jenkins_Restart.png [ 49218 ]
          Minh Tran made changes -
          Attachment New: After_Jenkins_Restart.png [ 49223 ]
          Minh Tran made changes -
          Description Original: Hi,

          I am currently having issue with "Octane Cucumber test reporter" plugin which could be reproduced as below steps:

          Steps:
           # Create a Maven project using cucumber framework and "com.hpe.alm.octane.OctaneGherkinFormatter:target\\gherkin-results\\ManualRunnerTest_OctaneGherkinResults.xml" plugin.
           # Create a freestyle Jenkins job for above maven project and add the "Octane Cucumber test reporter" and "Publish Thucydides Test Reports" to Post-build Actions.
           # Create an Octane pipeline job that links to Jenkins job above.
           # Build the job and ensure the result is passed.
           # Validate the HTML report is published in Jenkins and ManualRunnerTest_OctaneGherkinResults.xml is generated in Jenkins workspace\target\gherkin-results.
           # Restart Jenkins

          Expected:
           * Job status is still passed.
           * HTML Report is still accessible.

          Actual:
           * Job status is turned to failed.
           * HTML Report is inaccessible.

          Please see attached the screenshots of the job status before and after Jenkins restart, console output log, and octane pipeline status.
          New: Hi,

          I am currently having issue with "Octane Cucumber test reporter" plugin which could be reproduced as below steps:

          Steps:
           # Create a Maven project using cucumber framework and "com.hpe.alm.octane.OctaneGherkinFormatter:target\\gherkin-results
          ManualRunnerTest_OctaneGherkinResults.xml" plugin.
           # Create a freestyle Jenkins job for above maven project and add the "Octane Cucumber test reporter" and "Publish Thucydides Test Reports" to Post-build Actions.
           # Create an Octane pipeline job that links to Jenkins job above.
           # Build the job and ensure the result is passed.
           # Validate the HTML report is published in Jenkins and ManualRunnerTest_OctaneGherkinResults.xml is generated in Jenkins workspace\target\gherkin-results.
           # Restart Jenkins

          Expected:
           * Job status is still passed.
           * HTML Report is still accessible.

          Actual:
           * Job status is turned to failed.
           * HTML Report is removed.

          Please see attached the screenshots of the job status before and after Jenkins restart, console output log, and octane pipeline status.
          Maria Narcisa Galan made changes -
          Assignee Original: Maria Narcisa Galan [ narcisamgalan ] New: Radi Berkovich [ radislavb ]

          We found some issue with gherkin publisher that were fixed in v5.9.1-beta

          Its available here : 

          http://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/hp-application-automation-tools-plugin/5.9.1-beta/hp-application-automation-tools-plugin-5.9.1-beta.hpi

           Please try and update if it fix your issue.

           

           

          Radi Berkovich added a comment - We found some issue with gherkin publisher that were fixed in v5.9.1-beta Its available here :  http://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/hp-application-automation-tools-plugin/5.9.1-beta/hp-application-automation-tools-plugin-5.9.1-beta.hpi  Please try and update if it fix your issue.    
          Maria Narcisa Galan made changes -
          Labels Original: hp-application-automation-tools New: Octane

          Minh Tran added a comment -

          Thanks. The issue is now fixed in version 5.9.1-beta.

          Minh Tran added a comment - Thanks. The issue is now fixed in version 5.9.1-beta.
          Minh Tran made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]

            radislavb Radi Berkovich
            lambdaway Minh Tran
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: