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

Invalid Zepher credentials Error occurs w/ valid credentials

      I am unable to use Jenkins to update test results due to an invalid credentials error. I have verified my username, password, and API keys are correct and I am still unable to login to Zepher.

      Things I have done to resolve the issue

      1. Regenerating my keys and using those as a way to resolve the issue and it still does not work.
      2. Restarted Jenkins
      3. Upgraded Jenkins
      4. Upgraded the Zepher plugin
      5. Downgraded the Zepher plugin
      6. Downgraded Jenkins
      7. Restarted the Jenkins Service
      8. Restarted computer to run a clean version of Jenkins

       

      Below is the following errors that occur after a test is run:

      java.lang.NullPointerException
      at java.lang.String.replace(Unknown Source)
      at com.thed.zephyr.jenkins.utils.rest.TestCaseUtil.fetchExecutionIdsZFJC(TestCaseUtil.java:986)
      at com.thed.zephyr.jenkins.utils.rest.TestCaseUtil.processTestCaseDetails(TestCaseUtil.java:682)
      at com.thed.zephyr.jenkins.reporter.ZfjReporter.perform(ZfjReporter.java:101)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741)
      at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
      at hudson.model.Build$BuildExecution.post2(Build.java:186)
      at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
      at hudson.model.Run.execute(Run.java:1843)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:97)
      at hudson.model.Executor.run(Executor.java:429)
      Build step 'Publish test result to Zephyr for JIRA' marked build as failure

       

          [JENKINS-58059] Invalid Zepher credentials Error occurs w/ valid credentials

          Tyler Pranger created issue -
          Tyler Pranger made changes -
          Environment Original: Windows 10
          Zephyr for JIRA Test Management: Version 1.4
          Jenkins Version: 2.176.1
          New: Windows 10
          Zephyr for JIRA Test Management: Version 1.4 & 1.5
          Jenkins Version: 2.176.1
          Tyler Pranger made changes -
          Description Original: I am unable to use Jenkins to update test results due to an invalid credentials error. I have verified my username, password, and API keys are correct and I am still unable to login to Zepher. I have tried regenerating my keys and using those as a way to resolve the issue and it still does not work. I have also tried to restart Jenkins. I get the following errors after a test is run:

          java.lang.NullPointerException
           at java.lang.String.replace(Unknown Source)
           at com.thed.zephyr.jenkins.utils.rest.TestCaseUtil.fetchExecutionIdsZFJC(TestCaseUtil.java:986)
           at com.thed.zephyr.jenkins.utils.rest.TestCaseUtil.processTestCaseDetails(TestCaseUtil.java:682)
           at com.thed.zephyr.jenkins.reporter.ZfjReporter.perform(ZfjReporter.java:101)
           at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
           at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741)
           at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
           at hudson.model.Build$BuildExecution.post2(Build.java:186)
           at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
           at hudson.model.Run.execute(Run.java:1843)
           at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
           at hudson.model.ResourceController.execute(ResourceController.java:97)
           at hudson.model.Executor.run(Executor.java:429)
          Build step 'Publish test result to Zephyr for JIRA' marked build as failure

           
          New: I am unable to use Jenkins to update test results due to an invalid credentials error. I have verified my username, password, and API keys are correct and I am still unable to login to Zepher.

          Things I have done to resolve the issue
           # Rgenerating my keys and using those as a way to resolve the issue and it still does not work.
           # Restarted Jenkins
           # Upgraded Jenkins
           # Upgraded the Zepher plugin
           # Downgraded the Zepher plugin
           # Downgraded Jenkins
           # Restarted the Jenkins Service
           # Restarted computer to run a clean version of Jenkins

           

          Below is the following errors that occur after a test is run:

          java.lang.NullPointerException
           at java.lang.String.replace(Unknown Source)
           at com.thed.zephyr.jenkins.utils.rest.TestCaseUtil.fetchExecutionIdsZFJC(TestCaseUtil.java:986)
           at com.thed.zephyr.jenkins.utils.rest.TestCaseUtil.processTestCaseDetails(TestCaseUtil.java:682)
           at com.thed.zephyr.jenkins.reporter.ZfjReporter.perform(ZfjReporter.java:101)
           at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
           at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741)
           at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
           at hudson.model.Build$BuildExecution.post2(Build.java:186)
           at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
           at hudson.model.Run.execute(Run.java:1843)
           at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
           at hudson.model.ResourceController.execute(ResourceController.java:97)
           at hudson.model.Executor.run(Executor.java:429)
           Build step 'Publish test result to Zephyr for JIRA' marked build as failure

           
          Tyler Pranger made changes -
          Summary Original: Invalid Zepher credentials New: Invalid Zepher credentials Error occurs w/ valid credentials
          Tyler Pranger made changes -
          Description Original: I am unable to use Jenkins to update test results due to an invalid credentials error. I have verified my username, password, and API keys are correct and I am still unable to login to Zepher.

          Things I have done to resolve the issue
           # Rgenerating my keys and using those as a way to resolve the issue and it still does not work.
           # Restarted Jenkins
           # Upgraded Jenkins
           # Upgraded the Zepher plugin
           # Downgraded the Zepher plugin
           # Downgraded Jenkins
           # Restarted the Jenkins Service
           # Restarted computer to run a clean version of Jenkins

           

          Below is the following errors that occur after a test is run:

          java.lang.NullPointerException
           at java.lang.String.replace(Unknown Source)
           at com.thed.zephyr.jenkins.utils.rest.TestCaseUtil.fetchExecutionIdsZFJC(TestCaseUtil.java:986)
           at com.thed.zephyr.jenkins.utils.rest.TestCaseUtil.processTestCaseDetails(TestCaseUtil.java:682)
           at com.thed.zephyr.jenkins.reporter.ZfjReporter.perform(ZfjReporter.java:101)
           at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
           at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741)
           at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
           at hudson.model.Build$BuildExecution.post2(Build.java:186)
           at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
           at hudson.model.Run.execute(Run.java:1843)
           at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
           at hudson.model.ResourceController.execute(ResourceController.java:97)
           at hudson.model.Executor.run(Executor.java:429)
           Build step 'Publish test result to Zephyr for JIRA' marked build as failure

           
          New: I am unable to use Jenkins to update test results due to an invalid credentials error. I have verified my username, password, and API keys are correct and I am still unable to login to Zepher.

          Things I have done to resolve the issue
           # Regenerating my keys and using those as a way to resolve the issue and it still does not work.
           # Restarted Jenkins
           # Upgraded Jenkins
           # Upgraded the Zepher plugin
           # Downgraded the Zepher plugin
           # Downgraded Jenkins
           # Restarted the Jenkins Service
           # Restarted computer to run a clean version of Jenkins

           

          Below is the following errors that occur after a test is run:

          java.lang.NullPointerException
           at java.lang.String.replace(Unknown Source)
           at com.thed.zephyr.jenkins.utils.rest.TestCaseUtil.fetchExecutionIdsZFJC(TestCaseUtil.java:986)
           at com.thed.zephyr.jenkins.utils.rest.TestCaseUtil.processTestCaseDetails(TestCaseUtil.java:682)
           at com.thed.zephyr.jenkins.reporter.ZfjReporter.perform(ZfjReporter.java:101)
           at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
           at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741)
           at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
           at hudson.model.Build$BuildExecution.post2(Build.java:186)
           at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
           at hudson.model.Run.execute(Run.java:1843)
           at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
           at hudson.model.ResourceController.execute(ResourceController.java:97)
           at hudson.model.Executor.run(Executor.java:429)
           Build step 'Publish test result to Zephyr for JIRA' marked build as failure

           

          Tyler Pranger added a comment -

          This has been resolved by Zephyr, I found out that you need to generate a API key for the password for the new plug-in.

          Tyler Pranger added a comment - This has been resolved by Zephyr, I found out that you need to generate a API key for the password for the new plug-in.

            zeedeveloper Zephyr Developer
            wpranger Tyler Pranger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: