Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,293,798
Community Members
 
Community Events
165
Community Groups

ERROR Step ‘Xray: Results Import: Upload failed! Status 302

Hi all,

 

Did the following:

 

On Jenkins server:

1) Imported the test results of a Neoload test by using the related Jenkins-plugin (Format JUnit XML)

 

Added the following post-build actions:

2) Archived the artifacts

3) Used XRay-plugin for Jenkins with the functionality "XRay Results import task"

 

When running this on the agent, Steps 1) and 2) were OK. On the agent on step 3) I got the following error:

"ERROR: Step ‘Xray: Results Import Task’ failed: Unable to confirm Result of the upload..... Upload Failed! Status:302 Response:"

 

The agent is a VMWare-machine.

Can you please help me ?

 

Regards

Christian

 

2 answers

Same error here:

AbortException: Unable to confirm Result of the upload..... Upload Failed! Status:302 Response:<html><head><title>302 Found</title></head><body><center><h1>302 Found</h1></center><hr><center>nginx/1.19.4</center></body></html>
2021-03-15 10:07:21.597 |   at com.xpandit.plugins.xrayjenkins.task.XrayImportBuilder.tryUploadResults(XrayImportBuilder.java:822)
2021-03-15 10:07:21.598 |   at com.xpandit.plugins.xrayjenkins.task.XrayImportBuilder.uploadResults(XrayImportBuilder.java:693)
2021-03-15 10:07:21.598 |   at com.xpandit.plugins.xrayjenkins.task.XrayImportBuilder.importResultsSequential(XrayImportBuilder.java:594)
2021-03-15 10:07:21.598 |   at com.xpandit.plugins.xrayjenkins.task.XrayImportBuilder.perform(XrayImportBuilder.java:565)
2021-03-15 10:07:21.598 |   at jenkins.tasks.SimpleBuildStep.perform(SimpleBuildStep.java:112)
2021-03-15 10:07:21.598 |   at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:116)
2021-03-15 10:07:21.598 |   at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:71)
2021-03-15 10:07:21.598 |   at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
2021-03-15 10:07:21.598 |   at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
2021-03-15 10:07:21.598 |   at java.util.concurrent.FutureTask.run(Unknown Source)
2021-03-15 10:07:21.598 |   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
2021-03-15 10:07:21.598 |   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
2021-03-15 10:07:21.598 |   at java.lang.Thread.run(Unknown Source)

Hi @gitcrashcourse 

The should be network/proxy related issue.

Usually means that the request is not reaching the Jira server, due to network/proxy rules.

If you need further help, please contact the Xray Support (http://xraysupport.xpand-it.com) so that we can request additional information and investigate further.

Kind regards,
Rogério Paiva [Xray Support Team]

0 votes

Hi Christian, 

To better understand and resolve the issue, please contact our Support

Best Regards, 

Team Xray.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

Marketplace Partner Spotlight: AppLiger

This month the spotlight is on AppLiger. We caught up with Pavel Pavlovsky, CEO and Product Manager, to learn how the company started and what fuels the team's creativity.    Atlassian:...

336 views 0 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you