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

Jenkins Jobs Hanging while running junit tests

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: ant-plugin
    • Labels:
      None
    • Environment:
      Jboss server/Ant build/Junit test
    • Similar Issues:

      Description

      When jobs runs its building java classes and test classes. Test started running. After 19-20 min, its stuck always. When comment particular class, it's stuck again in another test class at same 19-20 min time.

        Attachments

          Activity

          Hide
          pankajbisht700 pankaj bisht added a comment -

          We also seem to be stuck with this same issue.

          • We are using Jenkins to run our tests which are written in Robot Framework. When Jenkins executes web based tests (using remote webdriver/grid) , it often hangs forever after executing a few tests. And we need to abort it to stop the job. But, when we run the same tests on the same slave with the same environment(without Jenkins), then all the tests run smoothly.
          • As an observation, when it gets stuck, I see (on remote test machine) that the browser remains kind of freezed on last opened web page(during test) as if waiting for the next instruction.

          Also, please let me know if I need to post threaddump logs here. Any help would be greatly appreciated.

          Jenkins Version : 1.651.1 (Scientific Linux 6.7)

          Show
          pankajbisht700 pankaj bisht added a comment - We also seem to be stuck with this same issue. We are using Jenkins to run our tests which are written in Robot Framework. When Jenkins executes web based tests (using remote webdriver/grid) , it often hangs forever after executing a few tests. And we need to abort it to stop the job. But, when we run the same tests on the same slave with the same environment(without Jenkins), then all the tests run smoothly. As an observation, when it gets stuck, I see (on remote test machine) that the browser remains kind of freezed on last opened web page(during test) as if waiting for the next instruction. Also, please let me know if I need to post threaddump logs here. Any help would be greatly appreciated. Jenkins Version : 1.651.1 (Scientific Linux 6.7)
          Hide
          pankajbisht700 pankaj bisht added a comment -

          Still waiting for any help on this issue. Or is there any work around like upgrading Jenkins etc?

          Show
          pankajbisht700 pankaj bisht added a comment - Still waiting for any help on this issue. Or is there any work around like upgrading Jenkins etc?
          Hide
          pankajbisht700 pankaj bisht added a comment -

          @George Kraft :

          Could you please provide following info :

          • which Fedora and Jenkins version you are using ?
          • You have used Fedora machine only for Master Jenkins or slave VMs as well?

          Thanks in advance.

          Show
          pankajbisht700 pankaj bisht added a comment - @George Kraft : Could you please provide following info : which Fedora and Jenkins version you are using ? You have used Fedora machine only for Master Jenkins or slave VMs as well? Thanks in advance.
          Hide
          lokeshpathrabe Lokesh Pathrabe added a comment -

          Hi All,

          I am also facing this issue on my Selenium test cases. My application works on JBOSS server. Jenkins v1.559 is running on windows machine. The selenium tests use Junit with ANT. I have a suite of around 1500 tests. The script gets stucks randomly on any test case and times out. If this issue is in Jenkins, could this please be escalated. Please let us know any workaround if available.

          Show
          lokeshpathrabe Lokesh Pathrabe added a comment - Hi All, I am also facing this issue on my Selenium test cases. My application works on JBOSS server. Jenkins v1.559 is running on windows machine. The selenium tests use Junit with ANT. I have a suite of around 1500 tests. The script gets stucks randomly on any test case and times out. If this issue is in Jenkins, could this please be escalated. Please let us know any workaround if available.
          Hide
          pankajbisht700 pankaj bisht added a comment -

          Our issue got resolved without having to change the OS. We found that one java process was apparently dying out during the execution (leading to the communication issues with the remote host), so that seemed to create the issue. So after handling that, stuck issue no more there.

          Show
          pankajbisht700 pankaj bisht added a comment - Our issue got resolved without having to change the OS. We found that one java process was apparently dying out during the execution (leading to the communication issues with the remote host), so that seemed to create the issue. So after handling that, stuck issue no more there.

            People

            • Assignee:
              Unassigned
              Reporter:
              kmeaswar Easwar Muthu
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated: