Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DEV version of Jenkins (arm64) is not working #57

Open
gaugys opened this issue Nov 24, 2021 · 3 comments
Open

DEV version of Jenkins (arm64) is not working #57

gaugys opened this issue Nov 24, 2021 · 3 comments
Labels
area/arm64 Categorizes issue or PR as related to arm64. kind/support Categorizes issue as related to a support request.

Comments

@gaugys
Copy link

gaugys commented Nov 24, 2021

Hello,

I'm trying to launch DevOps tool on Kubesphere 3.2.0 based raspberry pi 4.
For this purpose I'm using this image :
kubespheredev/ks-jenkins:3.2.0-2.249.1-alpine-arm64

Picked up JAVA_TOOL_OPTIONS: -Xms512m -Xmx512m -XX:MaxRAM=2g -Dhudson.slaves.NodeProvisioner.initialDelay=20 -Dhudson.slaves.NodeProvisioner.MARGIN=50 -Dhudson.slaves.NodeProvisioner.MARGIN0=0.85 -Dhudson.model.LoadStatistics.clock=5000 -Dhudson.model.LoadStatistics.decay=0.2 -Dhudson.slaves.NodeProvisioner.recurrencePeriod=5000 -Dio.jenkins.plugins.casc.ConfigurationAsCode.initialDelay=10000 -verbose:gc -Xloggc:/var/jenkins_home/gc-%t.log -XX:NumberOfGCLogFiles=2 -XX:+UseGCLogFileRotation -XX:GCLogFileSize=100m -XX:+PrintGC -XX:+PrintGCDateStamps -XX:+PrintGCDetails -XX:+PrintHeapAtGC -XX:+PrintGCCause -XX:+PrintTenuringDistribution -XX:+PrintReferenceGC -XX:+PrintAdaptiveSizePolicy -XX:+UseG1GC -XX:+UseStringDeduplication -XX:+ParallelRefProcEnabled -XX:+DisableExplicitGC -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions 

Running from: /usr/share/jenkins/jenkins.war

webroot: EnvVars.masterEnvVars.get("JENKINS_HOME")

2021-11-24 18:37:25.099+0000 [id=1]	INFO	org.eclipse.jetty.util.log.Log#initialized: Logging initialized @870ms to org.eclipse.jetty.util.log.JavaUtilLog

2021-11-24 18:37:26.079+0000 [id=1]	INFO	winstone.Logger#logInternal: Beginning extraction from war file

2021-11-24 18:37:26.286+0000 [id=1]	WARNING	o.e.j.s.handler.ContextHandler#setContextPath: Empty contextPath

2021-11-24 18:37:26.796+0000 [id=1]	INFO	org.eclipse.jetty.server.Server#doStart: jetty-9.4.30.v20200611; built: 2020-06-11T12:34:51.929Z; git: 271836e4c1f4612f12b7bb13ef5a92a927634b0d; jvm 1.8.0_212-b04

2021-11-24 18:37:29.860+0000 [id=1]	INFO	o.e.j.w.StandardDescriptorProcessor#visitServlet: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet

2021-11-24 18:37:30.560+0000 [id=1]	INFO	o.e.j.s.s.DefaultSessionIdManager#doStart: DefaultSessionIdManager workerName=node0

2021-11-24 18:37:30.561+0000 [id=1]	INFO	o.e.j.s.s.DefaultSessionIdManager#doStart: No SessionScavenger set, using defaults

2021-11-24 18:37:30.577+0000 [id=1]	INFO	o.e.j.server.session.HouseKeeper#startScavenging: node0 Scavenging every 660000ms

2021-11-24 18:37:34.955+0000 [id=1]	INFO	hudson.WebAppMain#contextInitialized: Jenkins home directory: /var/jenkins_home found at: EnvVars.masterEnvVars.get("JENKINS_HOME")

2021-11-24 18:37:36.155+0000 [id=1]	INFO	o.e.j.s.handler.ContextHandler#doStart: Started w.@791d1f8b{Jenkins v2.249.1,/,file:///var/jenkins_home/war/,AVAILABLE}{/var/jenkins_home/war}

2021-11-24 18:37:36.559+0000 [id=1]	INFO	o.e.j.server.AbstractConnector#doStart: Started ServerConnector@1324409e{HTTP/1.1, (http/1.1)}{0.0.0.0:8080}

2021-11-24 18:37:36.562+0000 [id=1]	INFO	org.eclipse.jetty.server.Server#doStart: Started @12334ms

2021-11-24 18:37:36.565+0000 [id=21]	INFO	winstone.Logger#logInternal: Winstone Servlet Engine running: controlPort=disabled

2021-11-24 18:37:43.675+0000 [id=27]	INFO	jenkins.InitReactorRunner$1#onAttained: Started initialization

2021-11-24 18:37:52.754+0000 [id=28]	INFO	jenkins.InitReactorRunner$1#onAttained: Listed all plugins

2021-11-24 18:37:59.282+0000 [id=27]	INFO	ruby.RubyRuntimePlugin#start: Injecting JRuby into XStream

2021-11-24 18:40:06.173+0000 [id=28]	INFO	jenkins.InitReactorRunner$1#onAttained: Prepared all plugins

2021-11-24 18:40:28.170+0000 [id=27]	INFO	jenkins.InitReactorRunner$1#onAttained: Started all plugins

2021-11-24 18:40:30.265+0000 [id=27]	INFO	jenkins.InitReactorRunner$1#onAttained: Augmented all extensions

2021-11-24 18:40:37.548+0000 [id=27]	INFO	jenkins.model.Jenkins#setBuildsAndWorkspacesDir: Using non default workspaces directories: ${JENKINS_HOME}/workspace/${ITEM_FULLNAME}.

2021-11-24 18:40:44.471+0000 [id=27]	INFO	jenkins.InitReactorRunner$1#onAttained: System config loaded

Additional logs before fail:

021-11-24 18:46:02.779+0000 [id=1]	INFO	o.e.j.w.StandardDescriptorProcessor#visitServlet: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet
2021-11-24 18:46:03.467+0000 [id=1]	INFO	o.e.j.s.s.DefaultSessionIdManager#doStart: DefaultSessionIdManager workerName=node0
2021-11-24 18:46:03.468+0000 [id=1]	INFO	o.e.j.s.s.DefaultSessionIdManager#doStart: No SessionScavenger set, using defaults
2021-11-24 18:46:03.560+0000 [id=1]	INFO	o.e.j.server.session.HouseKeeper#startScavenging: node0 Scavenging every 600000ms
2021-11-24 18:46:08.047+0000 [id=1]	INFO	hudson.WebAppMain#contextInitialized: Jenkins home directory: /var/jenkins_home found at: EnvVars.masterEnvVars.get("JENKINS_HOME")
2021-11-24 18:46:09.367+0000 [id=1]	INFO	o.e.j.s.handler.ContextHandler#doStart: Started w.@791d1f8b{Jenkins v2.249.1,/,file:///var/jenkins_home/war/,AVAILABLE}{/var/jenkins_home/war}
2021-11-24 18:46:09.648+0000 [id=1]	INFO	o.e.j.server.AbstractConnector#doStart: Started ServerConnector@1324409e{HTTP/1.1, (http/1.1)}{0.0.0.0:8080}
2021-11-24 18:46:09.653+0000 [id=1]	INFO	org.eclipse.jetty.server.Server#doStart: Started @12425ms
2021-11-24 18:46:09.661+0000 [id=21]	INFO	winstone.Logger#logInternal: Winstone Servlet Engine running: controlPort=disabled
2021-11-24 18:46:16.461+0000 [id=28]	INFO	jenkins.InitReactorRunner$1#onAttained: Started initialization
2021-11-24 18:46:25.161+0000 [id=27]	INFO	jenkins.InitReactorRunner$1#onAttained: Listed all plugins




2021-11-24 18:46:33.369+0000 [id=27]	INFO	ruby.RubyRuntimePlugin#start: Injecting JRuby into XStream
2021-11-24 18:48:36.691+0000 [id=27]	INFO	jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
2021-11-24 18:48:53.866+0000 [id=27]	INFO	jenkins.InitReactorRunner$1#onAttained: Started all plugins
2021-11-24 18:48:56.164+0000 [id=27]	INFO	jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
2021-11-24 18:49:04.367+0000 [id=27]	INFO	jenkins.model.Jenkins#setBuildsAndWorkspacesDir: Using non default workspaces directories: ${JENKINS_HOME}/workspace/${ITEM_FULLNAME}.
2021-11-24 18:49:08.163+0000 [id=27]	INFO	jenkins.InitReactorRunner$1#onAttained: System config loaded
2021-11-24 18:49:14.765+0000 [id=27]	WARNING	i.j.p.casc.BaseConfigurator#createAttribute: Can't handle class org.csanchez.jenkins.plugins.kubernetes.PodTemplate#listener: type is abstract but not Describable.
2021-11-24 18:49:15.080+0000 [id=27]	WARNING	i.j.p.casc.BaseConfigurator#createAttribute: Can't handle class org.csanchez.jenkins.plugins.kubernetes.PodTemplate#listener: type is abstract but not Describable.
2021-11-24 18:49:15.348+0000 [id=27]	WARNING	i.j.p.casc.BaseConfigurator#createAttribute: Can't handle class org.csanchez.jenkins.plugins.kubernetes.PodTemplate#listener: type is abstract but not Describable.
2021-11-24 18:49:15.541+0000 [id=27]	WARNING	i.j.p.casc.BaseConfigurator#createAttribute: Can't handle class org.csanchez.jenkins.plugins.kubernetes.PodTemplate#listener: type is abstract but not Describable.
2021-11-24 18:49:15.676+0000 [id=27]	WARNING	i.j.p.casc.BaseConfigurator#createAttribute: Can't handle class org.csanchez.jenkins.plugins.kubernetes.PodTemplate#listener: type is abstract but not Describable.

Platform version: v3.2.0-27+f67e1baf34ac32

Any help , how to troubleshoot / resolve that issue?

Thanks

@LinuxSuRen LinuxSuRen added the area/arm64 Categorizes issue or PR as related to arm64. label Nov 25, 2021
@LinuxSuRen
Copy link
Member

hi @gaugys thanks for reaching out to us. It's pretty interesting that you are trying to use ks-devops on raspberry pi. I'm wondering if you are willing to submit a blog or article about this.

I don't have an environment of arm64. So, actually, I didn't have a chance to give it a try. After looking at the log output that you provided, I didn't see any useful information even any error logs. Is that possible to find any other logs of the Jenkins?

@LinuxSuRen LinuxSuRen changed the title DEV version Jenkins is not working DEV version of Jenkins (arm64) is not working Nov 25, 2021
@LinuxSuRen
Copy link
Member

/kind support

@ks-ci-bot ks-ci-bot added the kind/support Categorizes issue as related to a support request. label Nov 25, 2021
@LinuxSuRen
Copy link
Member

LinuxSuRen commented Dec 20, 2021

hi @gaugys , you can try Jenkins 2.319.1. The image path is: ghcr.io/kubesphere/ks-jenkins:master

#61

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/arm64 Categorizes issue or PR as related to arm64. kind/support Categorizes issue as related to a support request.
Projects
None yet
Development

No branches or pull requests

3 participants