• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • core
    • Linux redhat Server release 5.8 64 bit
      Apache Tomcat 6.0.18
      Jenkins 1.563

      After upgrade from 1.563 to 1.572, all my Jenkins userid in Uppercase are no longer visible and cannot log in (eg : userid like UL11244) . I can see only user in lowercase (admin). I use Jenkins own database.
      As a workaround, I have to rename directory in JENKINS_HOME/users folder, eg:
      mv /build/hudson/users/UL11251 /build/hudson/users/ul11251 and then modify config.xml to find and replace all UL11251 in ul11251.
      In this case user ul11251 can log in and work.
      But since I have lot of users, I have to rollback to 1.563.
      Thanks

          [JENKINS-23872] Jenkins users disappeared!

          e. cresta created issue -

          Franco Vitali added a comment - - edited

          Started to happen to us after rolling back to 1.570. Now some random user account simply "dissapear". We are using the simple permissions matrix and the selected permissions remain, but the user accounts needs to be created again.

          Windows Server 2012 R2
          Jenkins 1.570

          Franco Vitali added a comment - - edited Started to happen to us after rolling back to 1.570. Now some random user account simply "dissapear". We are using the simple permissions matrix and the selected permissions remain, but the user accounts needs to be created again. Windows Server 2012 R2 Jenkins 1.570

          This is nothing to do with the credentials plugin

          Stephen Connolly added a comment - This is nothing to do with the credentials plugin
          Stephen Connolly made changes -
          Component/s New: core [ 15593 ]
          Component/s Original: credentials [ 16523 ]
          Assignee Original: Stephen Connolly [ stephenconnolly ]

          Daniel Beck added a comment -

          Would be interesting to know what the first Jenkins version to break was. If you're affected, could you please try to determine this?

          Given the range, 1.566 seems like a likely candidate (JENKINS-22247).

          This line looks suspicious:
          https://github.com/jenkinsci/jenkins/compare/jenkins-1.565...jenkins-1.566#diff-fb790d926ccb14a63b5c55893f64d31dR144

          Still, weird that it affects Windows according to the report.

          Daniel Beck added a comment - Would be interesting to know what the first Jenkins version to break was. If you're affected, could you please try to determine this? Given the range, 1.566 seems like a likely candidate ( JENKINS-22247 ). This line looks suspicious: https://github.com/jenkinsci/jenkins/compare/jenkins-1.565...jenkins-1.566#diff-fb790d926ccb14a63b5c55893f64d31dR144 Still, weird that it affects Windows according to the report.

          e. cresta added a comment -

          ok. I can confirm that the problem start from 1.566

          e. cresta added a comment - ok. I can confirm that the problem start from 1.566
          Daniel Beck made changes -
          Labels New: regression

          Daniel Beck added a comment -

          What is the output in Script Console of the following command?

          Jenkins.getInstance().getExtensionList(hudson.model.User.CanonicalIdResolver)

          What is the output in Script Console of the following command?

          User.all

          Daniel Beck added a comment - What is the output in Script Console of the following command? Jenkins.getInstance().getExtensionList(hudson.model.User.CanonicalIdResolver) What is the output in Script Console of the following command? User.all

          Daniel Beck added a comment -

          What is the output in Script Console of the following command?

          println User.getConfigFileFor('UL11251')
          println User.getConfigFileFor('UL11251').exists()

          Daniel Beck added a comment - What is the output in Script Console of the following command? println User.getConfigFileFor( 'UL11251' ) println User.getConfigFileFor( 'UL11251' ).exists()

          e. cresta added a comment -

          Test with 1.574

          println User.getConfigFileFor('UL11251') /build/hudson/users/ul11251/config.xml
          println User.getConfigFileFor('UL11251').exists() false

          Jenkins.getInstance().getExtensionList(hudson.model.User.CanonicalIdResolver)
          Result: [hudson.model.User$FullNameIdResolver@7870a27b, jenkins.model.DefaultUserCanonicalIdResolver@2abb7703]

          User.all
          Result: [admin, , builder2, readonly, U801841, U803881, U808691, U813361, U814241, U821261, U824001, UEL0WG1, UEL1IM1, UEL1Y11, UEL26G1, UEL2ER1, UEL2ES1, UL07371, UL09891, UL10251, UL10891, UL11131, UL11151, UL11231, UL11241, UL11251, UL11261, UL11281, FRANCESCO FORTUNATO DONATO, UL11421, UL11441, UL11451, UL11461, UL11481, UL11551, UL11571, UL11581, UL11601, UL11611, UL11621, UL11661, UL11751, UL11761, UL11771, UL11791, UL11891, VW05581]

          e. cresta added a comment - Test with 1.574 println User.getConfigFileFor('UL11251') /build/hudson/users/ul11251/config.xml println User.getConfigFileFor('UL11251').exists() false Jenkins.getInstance().getExtensionList(hudson.model.User.CanonicalIdResolver) Result: [hudson.model.User$FullNameIdResolver@7870a27b, jenkins.model.DefaultUserCanonicalIdResolver@2abb7703] User.all Result: [admin, , builder2, readonly, U801841, U803881, U808691, U813361, U814241, U821261, U824001, UEL0WG1, UEL1IM1, UEL1Y11, UEL26G1, UEL2ER1, UEL2ES1, UL07371, UL09891, UL10251, UL10891, UL11131, UL11151, UL11231, UL11241, UL11251, UL11261, UL11281, FRANCESCO FORTUNATO DONATO, UL11421, UL11441, UL11451, UL11461, UL11481, UL11551, UL11571, UL11581, UL11601, UL11611, UL11621, UL11661, UL11751, UL11761, UL11771, UL11791, UL11891, VW05581]

            stephenconnolly Stephen Connolly
            ecresta e. cresta
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: