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

XRay for JIRA: Results import Task does not support Jenkins slaves

Edited

Problem was solved by updating to newest version.

 

XRay for JIRA: Results import Task was not able to read the output.xml generated by Robot Framework tests when run on a Jenkins slave (error message below). There was no problem when running on master.

Could this be fixed to support Jenkins slaves?

 

ERROR: File path is a directory or the file doesn't exist
ERROR: Step ‘Xray: Results Import Task’ aborted due to exception: 
java.io.IOException: File path is a directory or the file doesn't exist
	at com.xpandit.plugins.xrayjenkins.task.XrayImportBuilder.getReportFile(XrayImportBuilder.java:130)
	at com.xpandit.plugins.xrayjenkins.task.XrayImportBuilder.perform(XrayImportBuilder.java:190)
Caused: java.io.IOException
	at com.xpandit.plugins.xrayjenkins.task.XrayImportBuilder.perform(XrayImportBuilder.java:220)
	at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:79)
	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:1840)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:97)
	at hudson.model.Executor.run(Executor.java:429)
Finished: FAILURE

 

1 answer

1 accepted

0 votes
Answer accepted
José Domingues [Xray]
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
Oct 24, 2019 • edited

Hi Anssi,

 

Can you please open a ticket in our Support?

We need more information to help you.

 

Best regards,

Team Xray

Build step 'Execute Windows batch command' marked build as failure
Starting XRAY: Results Import Task...
##########################################################
####     Xray is importing the execution results      ####
##########################################################
ERROR: Step ‘Xray: Results Import Task’ aborted due to exception: 
java.io.IOException: \\exportfoldername does not exist.
 at hudson.FilePath.glob(FilePath.java:1975)
 at hudson.FilePath.access$3400(FilePath.java:212)
 at hudson.FilePath$ListGlob.invoke(FilePath.java:1949)
 at hudson.FilePath$ListGlob.invoke(FilePath.java:1937)
 at hudson.FilePath.act(FilePath.java:1076)
 at hudson.FilePath.act(FilePath.java:1059)
 at hudson.FilePath.list(FilePath.java:1935)
 at com.xpandit.plugins.xrayjenkins.Utils.FileUtils.getFiles(FileUtils.java:157)
 at com.xpandit.plugins.xrayjenkins.task.XrayImportBuilder.perform(XrayImportBuilder.java:488)
 at jenkins.tasks.SimpleBuildStep.perform(SimpleBuildStep.java:123)
 at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:80)
 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804)
 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:753)
 at hudson.model.Build$BuildExecution.post2(Build.java:177)
 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:698)
 at hudson.model.Run.execute(Run.java:1919)
 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
 at hudson.model.ResourceController.execute(ResourceController.java:97)
 at hudson.model.Executor.run(Executor.java:428)
Finished: FAILURE

I have the same issue. How I can resolve it?

Rogério Paiva - Xray Xporter
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Dec 06, 2021 • edited

Hi @Motsar, Daria 

It should be an error caused by some mistake in the configuration of the file's directory/folder.

For additional help, please get in touch with Xray Support (http://Xraysupport.getXray.app); we would gladly assist you.

Thank you.

Kind regards,
Rogerio Paiva [Xray Support Team]

Hi @Motsar, Daria 

As stated at the start of my original post, this issue was resolved by updating to the latest Xray version. We somehow had a link to some early version of Xray and had used it at our Jenkins slaves.

Best Regards
Anssi

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events