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

Scheduled builds crash after running for more than 8 hours

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I am using VS online, TFS plugin 4.1.

      I have scheduled builds (every 5 minutes) which checkcode code using the TFS plugin. After 1 or 2 days the builds start failing and I need to restart jenkins.

      From my initial searches, I believe this is an issue with how the plugin interacts with the TFS Java sdk.

      https://social.msdn.microsoft.com/Forums/vstudio/en-US/2ace3851-8e1c-4aee-8e2d-192b0810213a/tfs-sdk-leak?forum=tee

      The workaround is to close the TFSConfigurationServer first and then close the TFSTeamProjectCollection. Future versions of the TFS SDK will take care of closing the TFSConfigurationServer AND throw an exception if you close them the other way around.

      Here is the log:

      FATAL: null
      java.lang.StackOverflowError
      at com.microsoft.tfs.util.listeners.Comparators$IdentityComparator.compare(Comparators.java:57)
      at com.microsoft.tfs.util.listeners.StandardListenerList$ListenerNode.addListener(StandardListenerList.java:330)
      at com.microsoft.tfs.util.listeners.StandardListenerList$ListenerNode.addListener(StandardListenerList.java:343)
      at com.microsoft.tfs.util.listeners.StandardListenerList$ListenerNode.addListener(StandardListenerList.java:343)
      at com.microsoft.tfs.util.listeners.StandardListenerList$ListenerNode.addListener(StandardListenerList.java:343)
      at com.microsoft.tfs.util.listeners.StandardListenerList$ListenerNode.addListener(StandardListenerList.java:343)

        Attachments

          Activity

            People

            Assignee:
            jpricketmsft Jason Prickett
            Reporter:
            albertchu albert chu
            Votes:
            12 Vote for this issue
            Watchers:
            14 Start watching this issue

              Dates

              Created:
              Updated: