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

Broken jobs after upgrade to 1.651.2 security update

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • github-oauth-plugin
    • Ubuntu 14.04, 15.04, 15.10
      Windows Server 2012 R2

      After upgrading to 1.651.2 security update, jobs are getting this error:

      FATAL: org.acegisecurity.providers.UsernamePasswordAuthenticationToken cannot be cast to org.jenkinsci.plugins.GithubAuthenticationToken
      java.lang.ClassCastException: org.acegisecurity.providers.UsernamePasswordAuthenticationToken cannot be cast to org.jenkinsci.plugins.GithubAuthenticationToken
      	at org.jenkinsci.plugins.GithubSecurityRealm.loadUserByUsername(GithubSecurityRealm.java:644)
      	at hudson.model.User$UserIDCanonicalIdResolver.resolveCanonicalId(User.java:1049)
      	at hudson.model.User.get(User.java:395)
      	at hudson.model.User.get(User.java:364)
      	at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:374)
      	at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:435)
      	at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:350)
      	at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:346)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:672)
      	at hudson.model.Run.execute(Run.java:1763)
      	at hudson.matrix.MatrixRun.run(MatrixRun.java:146)
      	at hudson.model.ResourceController.execute(ResourceController.java:98)
      	at hudson.model.Executor.run(Executor.java:410)
      

      Also, in the "Manage Old Data" section, I see very suspicious stuff:

      hudson.matrix.MatrixRun	   Team » carbon-c-relay » precise #2	1.653	
      hudson.matrix.MatrixBuild  Team » proj #22	1.653	
      hudson.model.FreeStyleBuild	Team » other #255	1.653
      

      Why is there any data in 1.653 format if I'm using 1.651.2 (and upgraded from 1.651.1)?

      Is there any archive with old debian packages to be able to downgrade? All our jobs are broken now. Thanks!

          [JENKINS-34775] Broken jobs after upgrade to 1.651.2 security update

          Leandro Lucarella created issue -
          Marco Krikke made changes -
          Component/s New: ghprb-plugin [ 17227 ]
          Christopher Orr made changes -
          Labels New: security-243
          Christopher Orr made changes -
          Component/s New: google-oauth-plugin [ 18743 ]
          Component/s Original: core [ 15593 ]
          Component/s Original: ghprb-plugin [ 17227 ]
          Christopher Orr made changes -
          Assignee New: Andrey Stroilov [ astroilov ]
          James Nord made changes -
          Component/s New: github-oauth-plugin [ 15900 ]
          Component/s Original: google-oauth-plugin [ 18743 ]
          Christopher Orr made changes -
          Assignee Original: Andrey Stroilov [ astroilov ] New: Sam Gleske [ sag47 ]
          Sorin Sbarnea made changes -
          Environment Original: Ubuntu 14.04 New: Ubuntu 14.04, 15.04, 15.10
          Shawn Baker made changes -
          Environment Original: Ubuntu 14.04, 15.04, 15.10 New: Ubuntu 14.04, 15.04, 15.10
          Windows Server 2012 R2
          Sam Gleske made changes -
          Link New: This issue is related to JENKINS-34894 [ JENKINS-34894 ]
          James Nord made changes -
          Link New: This issue is related to SECURITY-243 [ SECURITY-243 ]
          James Nord made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

            sag47 Sam Gleske
            lucasocio Leandro Lucarella
            Votes:
            26 Vote for this issue
            Watchers:
            44 Start watching this issue

              Created:
              Updated:
              Resolved: