This problem only occurs on my Cygwin build slave, which has a special configuration with additional directories and soft-links to get the Cygwin and Windows paths to match. That configuration has changed a bit since the above error message, here's another one when I tried this again yesterday:

TAP Reports Processing: START
Looking for TAP results report in workspace using pattern: src/**/O.cygwin-x86_64/*.tap
Saving reports...
java.io.IOException: Failed to copy \home\jenkins\cyg64-1\workspace\epics-base-3.14-cyg64\src\db\test\O.cygwin-x86_64\callbackTest.tap to /home/jenkins/cyg64-1/workspace/epics-base-3.14-cyg64/src/db/test/O.cygwin-x86_64/callbackTest.tap
	at hudson.FilePath.copyTo(FilePath.java:1788)
	at org.tap4j.plugin.TapPublisher.saveReports(TapPublisher.java:350)
	at org.tap4j.plugin.TapPublisher.perform(TapPublisher.java:237)
	at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:32)
	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804)
	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:776)
	at hudson.model.Build$BuildExecution.post2(Build.java:183)
	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:725)
	at hudson.model.Run.execute(Run.java:1695)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
	at hudson.model.ResourceController.execute(ResourceController.java:88)
	at hudson.model.Executor.run(Executor.java:231)
Caused by: java.io.FileNotFoundException: /home/jenkins/cyg64-1/workspace/epics-base-3.14-cyg64/src/db/test/O.cygwin-x86_64/callbackTest.tap (No such file or directory)
	at java.io.FileOutputStream.open(Native Method)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:212)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:160)
	at hudson.FilePath.write(FilePath.java:1683)
	at hudson.FilePath.copyTo(FilePath.java:1781)
	... 11 more
Failed to save TAP reports

It appears that the plugin is using absolute file paths, if it were possible to use only relative paths that might help fix the problem, but I have no idea whether that would be feasible at all.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to