-
Bug
-
Resolution: Unresolved
-
Major
-
Windows 10
Zephyr for JIRA Test Management: Version 1.4 & 1.5
Jenkins Version: 2.176.1
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
[JENKINS-58059] Invalid Zepher credentials Error occurs w/ valid credentials
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 |
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 |
Summary | Original: Invalid Zepher credentials | New: Invalid Zepher credentials Error occurs w/ valid credentials |
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 |
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.