[JIRA] Created: (JENKINS-9162) Uploading execution result causes errors?

classic Classic list List threaded Threaded
23 messages Options
12
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] Created: (JENKINS-9162) Uploading execution result causes errors?

JIRA noreply@jenkins-ci.org
Uploading execution result causes errors?
-----------------------------------------

                 Key: JENKINS-9162
                 URL: http://issues.jenkins-ci.org/browse/JENKINS-9162
             Project: Jenkins
          Issue Type: Bug
          Components: testlink
    Affects Versions: current
         Environment: Windows 2008, testlink 1.9.2
            Reporter: floreal
            Assignee: kinow


Build fails on uploading test results, vith this error.
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.

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.
The problem may come from the Java TestLink client API or Testlink Server API?

--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] Updated: (JENKINS-9162) Uploading execution result causes errors?

JIRA noreply@jenkins-ci.org

     [ http://issues.jenkins-ci.org/browse/JENKINS-9162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

floreal updated JENKINS-9162:
-----------------------------

    Description:
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.
The problem may come from the Java TestLink client API or Testlink Server API?

  was:
Build fails on uploading test results, vith this error.
{quote}
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.
{quote}
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.
The problem may come from the Java TestLink client API or Testlink Server API?


> Uploading execution result causes errors?
> -----------------------------------------
>
>                 Key: JENKINS-9162
>                 URL: http://issues.jenkins-ci.org/browse/JENKINS-9162
>             Project: Jenkins
>          Issue Type: Bug
>          Components: testlink
>    Affects Versions: current
>         Environment: Windows 2008, testlink 1.9.2
>            Reporter: floreal
>            Assignee: kinow
>
> 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.
> The problem may come from the Java TestLink client API or Testlink Server API?

--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] Updated: (JENKINS-9162) Uploading execution result causes errors?

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

     [ http://issues.jenkins-ci.org/browse/JENKINS-9162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

floreal updated JENKINS-9162:
-----------------------------

    Description:
Build fails on uploading test results, vith this error.
{quote}
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.
{quote}
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.
The problem may come from the Java TestLink client API or Testlink Server API?

  was:
Build fails on uploading test results, vith this error.
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.

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.
The problem may come from the Java TestLink client API or Testlink Server API?


> Uploading execution result causes errors?
> -----------------------------------------
>
>                 Key: JENKINS-9162
>                 URL: http://issues.jenkins-ci.org/browse/JENKINS-9162
>             Project: Jenkins
>          Issue Type: Bug
>          Components: testlink
>    Affects Versions: current
>         Environment: Windows 2008, testlink 1.9.2
>            Reporter: floreal
>            Assignee: kinow
>
> Build fails on uploading test results, vith this error.
> {quote}
> 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.
> {quote}
> 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.
> The problem may come from the Java TestLink client API or Testlink Server API?

--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] Updated: (JENKINS-9162) Uploading execution result causes errors?

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

     [ http://issues.jenkins-ci.org/browse/JENKINS-9162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

floreal updated JENKINS-9162:
-----------------------------

    Environment: Windows 2008, testlink 1.9.0 and 1.9.2  (was: Windows 2008, testlink 1.9.2)

> Uploading execution result causes errors?
> -----------------------------------------
>
>                 Key: JENKINS-9162
>                 URL: http://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: kinow
>
> 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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] Updated: (JENKINS-9162) Uploading execution result causes errors?

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

     [ http://issues.jenkins-ci.org/browse/JENKINS-9162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

floreal updated JENKINS-9162:
-----------------------------

    Description:
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?

  was:
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.
The problem may come from the Java TestLink client API or Testlink Server API?


> Uploading execution result causes errors?
> -----------------------------------------
>
>                 Key: JENKINS-9162
>                 URL: http://issues.jenkins-ci.org/browse/JENKINS-9162
>             Project: Jenkins
>          Issue Type: Bug
>          Components: testlink
>    Affects Versions: current
>         Environment: Windows 2008, testlink 1.9.2
>            Reporter: floreal
>            Assignee: kinow
>
> 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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] Work started: (JENKINS-9162) Uploading execution result causes errors?

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

     [ http://issues.jenkins-ci.org/browse/JENKINS-9162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on JENKINS-9162 started by kinow.

> Uploading execution result causes errors?
> -----------------------------------------
>
>                 Key: JENKINS-9162
>                 URL: http://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: kinow
>
> 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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] Commented: (JENKINS-9162) Uploading execution result causes errors?

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

    [ http://issues.jenkins-ci.org/browse/JENKINS-9162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=147214#comment-147214 ]

kinow commented on JENKINS-9162:
--------------------------------

Hi Flóreal,

Thank you for reporting this issue :-) Let's work on it.

Could you send me the test project, if it doesn't have any confidential data and if its size is not too big, please?

When you tested with TestLink 1.9.2, did you use a fresh installation or an upgraded one? Do you remember having any customization done in this version? Any configuration regarding the attachments?

Bruno

> Uploading execution result causes errors?
> -----------------------------------------
>
>                 Key: JENKINS-9162
>                 URL: http://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: kinow
>
> 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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] Issue Comment Edited: (JENKINS-9162) Uploading execution result causes errors?

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

    [ http://issues.jenkins-ci.org/browse/JENKINS-9162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=147215#comment-147215 ]

floreal edited comment on JENKINS-9162 at 3/26/11 12:01 AM:
------------------------------------------------------------

Hello,
I'll attach it as soon as I'm back at work Monday. there is nothing confidential in this project.
I used an upgraded one from 1.9.0. and of course, I had some customisation:
- Added a LDAP authentication
- mantis integration
- some cosmetic changes

I also think the guy worked on this installation before me added somme custom Execiution Result Status, yet, I need to check this.
Floréal

      was (Author: floreal):
    Hello,
I'll attach it as soon as I'm back at work Monday. there is nothing confidential in this project.
I used an upgraded one from 1.9.0. and of course, I had some customisation:
- Added a LDAP authentication
- mantis integration
- some cosmetic changes
I also think the guy worked on this installation before me added somme custom Execiution Result Status, yet, I need to check this.
Floréal
 

> Uploading execution result causes errors?
> -----------------------------------------
>
>                 Key: JENKINS-9162
>                 URL: http://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: kinow
>
> 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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] Commented: (JENKINS-9162) Uploading execution result causes errors?

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

    [ http://issues.jenkins-ci.org/browse/JENKINS-9162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=147215#comment-147215 ]

floreal commented on JENKINS-9162:
----------------------------------

Hello,
I'll attach it as soon as I'm back at work Monday. there is nothing confidential in this project.
I used an upgraded one from 1.9.0. and of course, I had some customisation:
- Added a LDAP authentication
- mantis integration
- some cosmetic changes
I also think the guy worked on this installation before me added somme custom Execiution Result Status, yet, I need to check this.
Floréal

> Uploading execution result causes errors?
> -----------------------------------------
>
>                 Key: JENKINS-9162
>                 URL: http://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: kinow
>
> 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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] Updated: (JENKINS-9162) Uploading execution result causes errors?

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

     [ http://issues.jenkins-ci.org/browse/JENKINS-9162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

floreal updated JENKINS-9162:
-----------------------------

    Attachment: testsuites.xml
                tree_Navigation.xml

Here is the automated testsuite and the test plan. Do you need more stuff?

> Uploading execution result causes errors?
> -----------------------------------------
>
>                 Key: JENKINS-9162
>                 URL: http://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: kinow
>         Attachments: 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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] Updated: (JENKINS-9162) Uploading execution result causes errors?

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

     [ http://issues.jenkins-ci.org/browse/JENKINS-9162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

kinow updated JENKINS-9162:
---------------------------

    Attachment: testlink-hack01.jar

Hi Floréal. I imported your configuration into TestLink and configured a sample Job in Jenkins using the plug-in. It worked out correctly. If you check the plug-in's Wiki, I updated it using your configuration as base :-) http://wiki.jenkins-ci.org/display/JENKINS/TestLink+Plugin

Let's test this issue using the TestLink Java API and TestLink. It will delimitate our problem. Download this jar and execute like following:

java -jar testlink-hack01.jar http://<address>:<port>/lib/api/xmlrpc.php <devkey> <execution_id>

Replace address and port with TestLink installation data, devkey with your developer key and execution_id with the id of the execution.

If you see the logs, there's a message that starts with "Uploading test execution <execution_id> attachment ...". You can use this execution_id to test it ;-)

In the end, if everything works, go to your test execution and verify if there is a new attachment, with the text "Café" inside it.

> Uploading execution result causes errors?
> -----------------------------------------
>
>                 Key: JENKINS-9162
>                 URL: http://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: kinow
>         Attachments: 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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] Issue Comment Edited: (JENKINS-9162) Uploading execution result causes errors?

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

    [ http://issues.jenkins-ci.org/browse/JENKINS-9162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=147317#comment-147317 ]

floreal edited comment on JENKINS-9162 at 3/29/11 7:15 AM:
-----------------------------------------------------------

Hello,
It says
{quote}OK!{quote}
But i may have forget to tell you, both tests resulted in a failure state.
Floréal

      was (Author: floreal):
    Hello,
It says
  OK!
But i may have forget to tell you, both tests resulted in a failure state.
Floréal
 

> Uploading execution result causes errors?
> -----------------------------------------
>
>                 Key: JENKINS-9162
>                 URL: http://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: kinow
>         Attachments: 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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] Commented: (JENKINS-9162) Uploading execution result causes errors?

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

    [ http://issues.jenkins-ci.org/browse/JENKINS-9162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=147317#comment-147317 ]

floreal commented on JENKINS-9162:
----------------------------------

Hello,
It says
  OK!
But i may have forget to tell you, both tests resulted in a failure state.
Floréal

> Uploading execution result causes errors?
> -----------------------------------------
>
>                 Key: JENKINS-9162
>                 URL: http://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: kinow
>         Attachments: 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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] Updated: (JENKINS-9162) Uploading execution result causes errors?

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

     [ http://issues.jenkins-ci.org/browse/JENKINS-9162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

floreal updated JENKINS-9162:
-----------------------------

    Attachment: TEST-navigation_vers_les_massifs.xml

Here are the report files... but I can see that they do not contain failure or errors..., I have to check this out.

> Uploading execution result causes errors?
> -----------------------------------------
>
>                 Key: JENKINS-9162
>                 URL: http://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: kinow
>         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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] Commented: (JENKINS-9162) Uploading execution result causes errors?

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

    [ http://issues.jenkins-ci.org/browse/JENKINS-9162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=147320#comment-147320 ]

floreal commented on JENKINS-9162:
----------------------------------

Ok, I found out what was wrong, and it was my build configuration in hudson: I should have deleted my JUnit reports, but I didn't. So, appologies.
However, my testsuite report sucesses... I have to check the JUnit formater for cucumber I wrote (Or use the regular one as now it is possible to run a single command test)

> Uploading execution result causes errors?
> -----------------------------------------
>
>                 Key: JENKINS-9162
>                 URL: http://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: kinow
>         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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] Commented: (JENKINS-9162) Uploading execution result causes errors?

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

    [ http://issues.jenkins-ci.org/browse/JENKINS-9162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=147321#comment-147321 ]

kinow commented on JENKINS-9162:
--------------------------------

No worries Floréal, I'm closing this issue, but we can work on another issue if you need assistante running your custom JUnit formatter with the plug-in.

Thank you!

> Uploading execution result causes errors?
> -----------------------------------------
>
>                 Key: JENKINS-9162
>                 URL: http://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: kinow
>         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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] Closed: (JENKINS-9162) Uploading execution result causes errors?

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

     [ http://issues.jenkins-ci.org/browse/JENKINS-9162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

kinow closed JENKINS-9162.
--------------------------


> Uploading execution result causes errors?
> -----------------------------------------
>
>                 Key: JENKINS-9162
>                 URL: http://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: kinow
>         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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] Resolved: (JENKINS-9162) Uploading execution result causes errors?

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

     [ http://issues.jenkins-ci.org/browse/JENKINS-9162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

kinow resolved JENKINS-9162.
----------------------------

    Resolution: Not A Defect

> Uploading execution result causes errors?
> -----------------------------------------
>
>                 Key: JENKINS-9162
>                 URL: http://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: kinow
>         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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] Work stopped: (JENKINS-9162) Uploading execution result causes errors?

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

     [ http://issues.jenkins-ci.org/browse/JENKINS-9162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on JENKINS-9162 stopped by kinow.

> Uploading execution result causes errors?
> -----------------------------------------
>
>                 Key: JENKINS-9162
>                 URL: http://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: kinow
>         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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-9162) Uploading execution result causes errors?

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

    [ https://issues.jenkins-ci.org/browse/JENKINS-9162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=159355#comment-159355 ]

John Sillers commented on JENKINS-9162:
---------------------------------------

I am seeing what appears to be the same issue:

FATAL: (uploadExecutionAttachment) - Error inserting attachment on DB
br.eti.kinoshita.testlinkjavaapi.TestLinkAPIException: (uploadExecutionAttachment) - 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.TestCaseService.uploadExecutionAttachment(TestCaseService.java:541)
        at br.eti.kinoshita.testlinkjavaapi.TestLinkAPI.uploadExecutionAttachment(TestLinkAPI.java:1062)
        at hudson.plugins.testlink.TestLinkSite.updateTestCases(TestLinkSite.java:181)
        at hudson.plugins.testlink.TestLinkBuilder.perform(TestLinkBuilder.java:200)
        at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
        at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:700)
        at hudson.model.Build$RunnerImpl.build(Build.java:178)
        at hudson.model.Build$RunnerImpl.doRun(Build.java:139)
        at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:470)
        at hudson.model.Run.run(Run.java:1409)
        at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
        at hudson.model.ResourceController.execute(ResourceController.java:88)
        at hudson.model.Executor.run(Executor.java:238)
ERROR: Failed to update TestLink test results: (uploadExecutionAttachment) - Error inserting attachment on DB.
Finished: FAILURE

I am trying to use the attached jar file (testlink-hack01.jar) to determine what is going on.
               

> 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

       
12
Loading...