Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to confirm Result of the upload.....Error parsing file

Pradeep Susarla January 15, 2020

Hi Guys,

We had the setup running fine and all of a sudden couple of days ago, we started seeing below error. I am not sure what file is it referring to and how to resolve .. is it the cucumber file ? if yes, then nothing has changed from our side which could have caused this... is there any way to resolve this ?

 

[2020-01-15T00:45:54.006Z] [CucumberReport] Using Cucumber Reports version 5.0.1
[2020-01-15T00:45:54.006Z] [CucumberReport] JSON report directory is ""
[2020-01-15T00:45:54.158Z] [CucumberReport] Copied 1 json files from workspace "C:\Users\jslave\jenkins_home\workspace\XP" to reports directory "/var/lib/jenkins/jobs/XP/builds/30/cucumber-html-reports/.cache"
[2020-01-15T00:45:54.255Z] [CucumberReport] Copied 0 properties files from workspace "C:\Users\jslave\jenkins_home\workspace\XP" to reports directory "/var/lib/jenkins/jobs/XP/builds/30/cucumber-html-reports/.cache"
[2020-01-15T00:45:54.255Z] [CucumberReport] Processing 1 json files:
[2020-01-15T00:45:54.255Z] [CucumberReport] /var/lib/jenkins/jobs/XP/builds/30/cucumber-html-reports/.cache/cucumber.json
[Pipeline] step
[2020-01-15T00:45:55.321Z] Starting import task...
[2020-01-15T00:45:55.322Z] ##########################################################
[2020-01-15T00:45:55.322Z] #### Importing the execution results to Xray ####
[2020-01-15T00:45:55.322Z] ##########################################################
[2020-01-15T00:45:55.724Z] File: C:\Users\jslave\jenkins_home\workspace\XP\cucumber.json
[2020-01-15T00:45:55.733Z] Starting to import results from cucumber.json
Error when executing always post condition:
hudson.AbortException: Unable to confirm Result of the upload..... Upload Failed! Status:400 Response:{"error":"Error parsing info file!"}
at com.xpandit.plugins.xrayjenkins.task.XrayImportBuilder.uploadResults(XrayImportBuilder.java:566)
at com.xpandit.plugins.xrayjenkins.task.XrayImportBuilder.perform(XrayImportBuilder.java:505)
at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:80)
at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:67)
at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

 

 

1 answer

1 accepted

0 votes
Answer accepted
Dario B
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 16, 2020

Hi @Pradeep Susarla ,

I can see that you opened this thread in the marketplace section, so I believe that it is related to an app/add-on you are using. However, you forgot to specify which one and this is decreasing the chances to get an answer. 

Looking at the logs I think you are using Xray Test Management for Jira but I am not sure about it.

Can you kindly let us know which app you are talking about so that I can add the proper tags to this thread increasing the chances for it to be seen?

 

Cheers,
Dario

CrazyAs5assin July 17, 2020

@Pradeep Susarla  hi I am facing the same error now. Any luck? 

CrazyAs5assin July 17, 2020

@Dario B  yes the issue is related to xray 

Dario B
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 17, 2020

Thanks for confirming @CrazyAs5assin , I have added the proper tag to the thread. 

However, since this question is now a bit dated, there are chances that it won't get on Xray's team radar.

Therefore, I would advise to get in touch with them by using the resources listed in the support tab of the markeplace page for the app:

Contact

 

I hope this helps.

 

Cheers,
Dario

Like # people like this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events