[
https://issues.jenkins-ci.org/browse/JENKINS-9162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=159374#comment-159374
]
Bruno P. Kinoshita commented on JENKINS-9162:
---------------------------------------------
Hi John,
> Could your plugin remove redundant attachments?
I will re-read the issue and your comment/e-mail tomorrow to try to understand
what's happening (just arrived from countryside, and my mind is not workin 100%
fine), but removing redundant attachments seems very do-able :-) But it's
*ours* plug-in ;)
Would you like to fill an issue? So we can discuss it there? BTW, although I'm
working on other issues, at same time I'm refactoring the code for your
previous issue (OutOfMemory). A new version will be ready in few days!
Thanks!
Bruno
> Uploading execution result causes errors?
> -----------------------------------------
>
> Key: JENKINS-9162
> URL: https://issues.jenkins-ci.org/browse/JENKINS-9162
> Project: Jenkins
> Issue Type: Bug
> Components: testlink
> Affects Versions: current
> Environment: Windows 2008, testlink 1.9.0 and 1.9.2
> Reporter: floreal
> Assignee: Bruno P. Kinoshita
> Attachments: TEST-navigation_vers_les_massifs.xml,
> testlink-hack01.jar, testsuites.xml, tree_Navigation.xml
>
>
> Build fails on uploading test results, vith this error.
> {code}
> Updating 2 test case(s) execution status.
> Updating automated test case Acceder par la liste with execution status
> Passed.
> Uploading test execution 34 attachment TEST-navigation_vers_les_massifs.xml.
> FATAL: Failed to update TestLink test results: (uploadAttachment) - Error
> inserting attachment on DB.
> br.eti.kinoshita.testlinkjavaapi.TestLinkAPIException: (uploadAttachment) -
> Error inserting attachment on DB
> at
> br.eti.kinoshita.testlinkjavaapi.BaseService.checkResponseError(BaseService.java:119)
> at
> br.eti.kinoshita.testlinkjavaapi.BaseService.executeXmlRpcCall(BaseService.java:92)
> at
> br.eti.kinoshita.testlinkjavaapi.MiscService.uploadAttachment(MiscService.java:255)
> at
> br.eti.kinoshita.testlinkjavaapi.TestLinkAPI.uploadAttachment(TestLinkAPI.java:279)
> at
> hudson.plugins.testlink.TestLinkService.updateTestCasesAndUploadAttachments(TestLinkService.java:184)
> at
> hudson.plugins.testlink.TestLinkBuilder.perform(TestLinkBuilder.java:538)
> at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
> at
> hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:644)
> at hudson.model.Build$RunnerImpl.build(Build.java:175)
> at hudson.model.Build$RunnerImpl.doRun(Build.java:137)
> at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:421)
> at hudson.model.Run.run(Run.java:1362)
> at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
> at hudson.model.ResourceController.execute(ResourceController.java:88)
> at hudson.model.Executor.run(Executor.java:145)
> ERROR: Failed to update TestLink test results: (uploadAttachment) - Error
> inserting attachment on DB.
> {code}
> On testlink side, I checked whether the files were missing, and... they are
> missing!
> I also checked whether the process owner was able to write into the
> directory, He has the rights.
> I only have a %UPLOAD_DIR%\executions\%build_number%\ empty directory.
> I suspect the problem to come from the Java TestLink API client or Testlink
> API Server?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira