Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,460,737
Community Members
 
Community Events
176
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

Atlassian Community Events