-
Bug
-
Resolution: Unresolved
-
Minor
I downloaded the jenkins docker image from https://hub.docker.com/r/jenkins/jenkins/ to test something locally without using my company's instance, and when setting it up with the first admin account, it barfed with a stack trace:
(snipped version):
java.lang.IllegalArgumentException: Invalid indexed property '["password1",' on bean class 'class hudson.security.HudsonPrivateSecurityRealm$SignupInfo' Missing End Delimiter at org.apache.commons.beanutils.PropertyUtilsBean.getIndexedProperty(PropertyUtilsBean.java:397) at org.apache.commons.beanutils.PropertyUtilsBean.getNestedProperty(PropertyUtilsBean.java:768) at org.apache.commons.beanutils.BeanUtilsBean.getNestedProperty(BeanUtilsBean.java:715) at org.apache.commons.beanutils.BeanUtilsBean.getProperty(BeanUtilsBean.java:741) at org.apache.commons.beanutils.BeanUtils.getProperty(BeanUtils.java:382) at org.kohsuke.stapler.RequestImpl.fill(RequestImpl.java:580) at org.kohsuke.stapler.RequestImpl.bindParameters(RequestImpl.java:391) at org.kohsuke.stapler.RequestImpl.bindParameters(RequestImpl.java:383) at hudson.security.HudsonPrivateSecurityRealm$SignupInfo.<init>(HudsonPrivateSecurityRealm.java:566) at hudson.security.HudsonPrivateSecurityRealm.validateAccountCreationForm(HudsonPrivateSecurityRealm.java:399) at hudson.security.HudsonPrivateSecurityRealm.createAccountFromSetupWizard(HudsonPrivateSecurityRealm.java:319) at jenkins.install.SetupWizard.doCreateAdminUser(SetupWizard.java:257)
I feel like this was related to the password I was using, as the password i tried first had special characters in it:
U3yg&7o988a62}u8?>e>*%7@L>au7+
and didn't work, but when i used the password:
ilikegravy
It succeeded in creating the first admin user and took me to the dashboard
I also tried creating a user from the dashboard (manage jenkins -> manage users -> create user ) with the same password (the `U3yg&7o988a62}u8?>e>*%7@L>au7+` one) and it worked fine there, so I wonder if this is just a bug in the first time setup wizard
Attached is the output of the 'support core' plugin with all the checkboxes checked, and this is reproducible for me 100% (tried 3 times) so let me know if any other info is needed
Other info:
docker version info:
docker version Client: Version: 18.06.1-ce API version: 1.38 Go version: go1.10.3 Git commit: e68fc7a Built: Tue Aug 21 17:21:31 2018 OS/Arch: darwin/amd64 Experimental: falseServer: Engine: Version: 18.06.1-ce API version: 1.38 (minimum version 1.12) Go version: go1.10.3 Git commit: e68fc7a Built: Tue Aug 21 17:29:02 2018 OS/Arch: linux/amd64 Experimental: true
docker images:
[2018-10-25 14:11:04] markgrandi@Gypaetus:~$ docker images REPOSITORY TAG IMAGE ID CREATED SIZE jenkins/jenkins lts 9cff19ad8c8b 2 weeks ago 730MB
basic java / jenkins version info (see attached file for the rest):
* Version: `2.138.2` * Mode: WAR * Url: http://localhost:32773/ * Servlet container - Specification: 3.1 - Name: `jetty/9.4.z-SNAPSHOT` * Java - Home: `/usr/lib/jvm/java-8-openjdk-amd64/jre` - Vendor: Oracle Corporation - Version: 1.8.0_181 - Maximum memory: 444.50 MB (466092032) - Allocated memory: 256.50 MB (268959744) - Free memory: 155.70 MB (163267024) - In-use memory: 100.80 MB (105692720) - GC strategy: ParallelGC * Java Runtime Specification - Name: Java Platform API Specification - Vendor: Oracle Corporation - Version: 1.8 * JVM Specification - Name: Java Virtual Machine Specification - Vendor: Oracle Corporation - Version: 1.8 * JVM Implementation - Name: OpenJDK 64-Bit Server VM - Vendor: Oracle Corporation - Version: 25.181-b13 * Operating system - Name: Linux - Architecture: amd64 - Version: 4.9.93-linuxkit-aufs