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

TFS polling exception

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • jira-plugin
    • Jenkins 2.89.3 LTS
      Java 1.8.0.162
      tfs-plugin 5.126.0

      TFS polling worked fine before, but after today's Jenkins plugins update (analysis-core, ant, apache-httpcomponents-client-4-api, bouncycastle-api, checkstyle, command-launcher, cucumber-reports, dry, extensible-choice-parameter, findbugs, git-client, jira, maven-plugin, pipeline-build-step, postbuildscript, ssh-slaves, translation, warnings, workflow-api, workflow-cps, workflow-durable-task-step, workflow-job, workflow-multibranch, workflow-support) TFS stopped polling TFS and show error at polling log for all TFS polled jobs.

      The same situation with older 5.121 TFS Plugin version.

      At the same tume polling works on clean Jenkins (the same version) installation with the same TFS Plugin (the same version) polling configuration.

      Seems like some plugins interfere it, but i can't test a much on production server.

      PS. Manually started job works fine, problem only with polling.

      Team Foundation Version Control (TFVC) Polling Log
      Started on Jan 29, 2018 6:27:00 PM ERROR: Failed to record SCM polling for hudson.model.FreeStyleProject@2e938f96[_TFS_test] java.lang.LinkageError: loader constraint violation: when resolving method "org.apache.http.nio.conn.ssl.SSLIOSessionStrategy.<init>(Ljavax/net/ssl/SSLContext;[Ljava/lang/String;[Ljava/lang/String;Lorg/apache/http/conn/ssl/X509HostnameVerifier;)V" the class loader (instance of hudson/ClassicPluginStrategy$AntClassLoader2) of the current class, com/atlassian/httpclient/apache/httpcomponents/ApacheAsyncHttpClient, and the class loader (instance of hudson/ClassicPluginStrategy$AntClassLoader2) for the method's defining class, org/apache/http/nio/conn/ssl/SSLIOSessionStrategy, have different Class objects for the type org/apache/http/conn/ssl/X509HostnameVerifier used in the signature at com.atlassian.httpclient.apache.httpcomponents.ApacheAsyncHttpClient.getRegistry(ApacheAsyncHttpClient.java:267) at com.atlassian.httpclient.apache.httpcomponents.ApacheAsyncHttpClient.<init>(ApacheAsyncHttpClient.java:178) at com.atlassian.httpclient.apache.httpcomponents.ApacheAsyncHttpClient.<init>(ApacheAsyncHttpClient.java:123) at com.atlassian.httpclient.apache.httpcomponents.DefaultHttpClientFactory.doCreate(DefaultHttpClientFactory.java:68) at com.atlassian.httpclient.apache.httpcomponents.DefaultHttpClientFactory.create(DefaultHttpClientFactory.java:35) at com.atlassian.jira.rest.client.internal.async.AsynchronousHttpClientFactory.createClient(AsynchronousHttpClientFactory.java:63) at com.atlassian.jira.rest.client.internal.async.AsynchronousJiraRestClientFactory.create(AsynchronousJiraRestClientFactory.java:35) at com.atlassian.jira.rest.client.internal.async.AsynchronousJiraRestClientFactory.createWithBasicHttpAuthentication(AsynchronousJiraRestClientFactory.java:42) at hudson.plugins.jira.JiraSite.createSession(JiraSite.java:303) at hudson.plugins.jira.JiraSite.getSession(JiraSite.java:278) at hudson.plugins.jira.JiraMailAddressResolver.findMailAddressFor(JiraMailAddressResolver.java:37) at hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:122) at hudson.tasks.Mailer$UserProperty.getAddress(Mailer.java:614) at hudson.plugins.tfs.model.TfsUserLookup.find(TfsUserLookup.java:40) at hudson.plugins.tfs.model.Project.convertServerChangeset(Project.java:60) at hudson.plugins.tfs.model.Project.getVCCHistory(Project.java:101) at hudson.plugins.tfs.model.Project.getLatestUncloakedChangeset(Project.java:182) at hudson.plugins.tfs.TeamFoundationServerScm.compareRemoteRevisionWith(TeamFoundationServerScm.java:732) at hudson.scm.SCM.compareRemoteRevisionWith(SCM.java:391) at hudson.scm.SCM.poll(SCM.java:408) at hudson.model.AbstractProject._poll(AbstractProject.java:1384) at hudson.model.AbstractProject.poll(AbstractProject.java:1287) at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:594) at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:640) at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:119) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)
      

            Unassigned Unassigned
            alexey_larsky Alexey Larsky
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: