Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-23265

TestLink plugin indicates test case as "not run" and TestLink is not updated with build status

      version jenkins:1.565
      version testlink:1.9.10
      plugin testlink:3.10

      I just created a job to run an automated test, it allows you to run a file. ".bat" (display bonjour)

      when I run the build, it ends successfully but Testlink is not updated and testng-results.xml does not exist.

      I attached configuration Testlink and jenkins

        1. customer_field.png
          customer_field.png
          11 kB
        2. jenkins_console.png
          jenkins_console.png
          50 kB
        3. jenkins_results_testlink.png
          jenkins_results_testlink.png
          68 kB
        4. jenkins-conf1.png
          jenkins-conf1.png
          19 kB
        5. jenkins-conf2.png
          jenkins-conf2.png
          42 kB
        6. jenkins console.png
          jenkins console.png
          44 kB
        7. jenkins result.png
          jenkins result.png
          49 kB
        8. TEST-3200990b356a7000_samsung_GT-P5210.xml
          1 kB
        9. testlink.png
          testlink.png
          42 kB

          [JENKINS-23265] TestLink plugin indicates test case as "not run" and TestLink is not updated with build status

          Hi,
          I had the same problem.
          After updating Jenkins to 1.572 problem doesn't occur anymore.

          Robert Grzeskowiak added a comment - Hi, I had the same problem. After updating Jenkins to 1.572 problem doesn't occur anymore.

          Problem still exists on Jenkins 1.576.

          Robert Grzeskowiak added a comment - Problem still exists on Jenkins 1.576.

          Vincent Piet added a comment -

          Hi, if someone is looking for integrate testlink in a CI project, have a look to https://code.google.com/p/testlink-api-java-client/

          It have been developed by the same person than the jenkins plugin. You will have to parse your result file (a JUnit test suit one in my case), and to send the results to testlink. Anyway it will work in a matter of minutes.

          Vincent Piet added a comment - Hi, if someone is looking for integrate testlink in a CI project, have a look to https://code.google.com/p/testlink-api-java-client/ It have been developed by the same person than the jenkins plugin. You will have to parse your result file (a JUnit test suit one in my case), and to send the results to testlink. Anyway it will work in a matter of minutes.

          Jes Kammer added a comment - - edited

          Still seem to be an issue in Jenkins 1.617

          From JUnitCaseClassNameResultSeeker.java:

          // Here we update testlink with our findings
          for(Map.Entry<String, TestCaseWrapper> entry : classNameTestCase.entrySet()) {
          	super.handleResult(entry.getValue(), build, listener, testlink, suiteResult);
          }
          

          I am not sure this is the correct place, but is the code trying to update suiteResult. Should it be caseResult...

          Jes Kammer added a comment - - edited Still seem to be an issue in Jenkins 1.617 From JUnitCaseClassNameResultSeeker.java: // Here we update testlink with our findings for (Map.Entry< String , TestCaseWrapper> entry : classNameTestCase.entrySet()) { super .handleResult(entry.getValue(), build, listener, testlink, suiteResult); } I am not sure this is the correct place, but is the code trying to update suiteResult. Should it be caseResult...

          Hi Any solution to this issue?

          vishwamitra Mishra added a comment - Hi Any solution to this issue?

          Im seeing this issue also. Some of my test cases in Testlink are not being "run".

          Christopher Mata added a comment - Im seeing this issue also. Some of my test cases in Testlink are not being "run".

          is any solution for this error¿?

          sonia cepedano added a comment - is any solution for this error¿?

          Tushar Likhar added a comment -

          Same error i am facing, in console output everything is shown as correct but TestLink status is not run.

          Tushar Likhar added a comment - Same error i am facing, in console output everything is shown as correct but TestLink status is not run.

          Sobhit Sharma added a comment -

          I am also facing this issue. Any update on this ? kinow

           

          Sobhit Sharma added a comment - I am also facing this issue. Any update on this ? kinow  

          sharmasobhit9 not updates from my, sorry. I am not using the plug-in, nor is my current employer, and at spare time I am working on other open source projects right now, so not much time left to volunteer on this plug-in.

          But if anyone suggests a fix through a pull request, I'd be happy to have a look, review, merge, and release a new version. I put this plug-in up for adoption, so anybody willing to contribute for a longer time and would like to be the maintainer, just get in touch.

          If anybody's environment is broken, and a fix is desperately needed, CloudBees offers paid services to manage plug-ins.

          Cheers

          Bruno

          Bruno P. Kinoshita added a comment - sharmasobhit9 not updates from my, sorry. I am not using the plug-in, nor is my current employer, and at spare time I am working on other open source projects right now, so not much time left to volunteer on this plug-in. But if anyone suggests a fix through a pull request, I'd be happy to have a look, review, merge, and release a new version. I put this plug-in up for adoption, so anybody willing to contribute for a longer time and would like to be the maintainer, just get in touch. If anybody's environment is broken, and a fix is desperately needed, CloudBees offers paid services to manage plug-ins. Cheers Bruno

            kinow Bruno P. Kinoshita
            mirou mirou mirou
            Votes:
            5 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated: