You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The question was asked in the project's Gitter chat
Jenkins version
Plugin version
OS
Reproduction steps
Description
casc config is not working after using latest jenkins:lts-alpine docker image (as base image)
Error
2023-07-25 10:21:26.325+0000 [id=31] SEVERE jenkins.InitReactorRunner$1#onTaskFailed: Failed ConfigurationAsCode.init
io.jenkins.plugins.casc.ConfiguratorException: Invalid configuration: '/var/jenkins_home/casc_configs/configuration-as-code-production' isn't a valid path.
at io.jenkins.plugins.casc.ConfigurationAsCode.configs(ConfigurationAsCode.java:681)
at io.jenkins.plugins.casc.ConfigurationAsCode.appendSources(ConfigurationAsCode.java:281)
at io.jenkins.plugins.casc.ConfigurationAsCode.getStandardConfigSources(ConfigurationAsCode.java:322)
at io.jenkins.plugins.casc.ConfigurationAsCode.configure(ConfigurationAsCode.java:314)
at io.jenkins.plugins.casc.ConfigurationAsCode.init(ConfigurationAsCode.java:306)
Caused: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:109)
Caused: java.lang.Error
at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:115)
at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:185)
at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:305)
at jenkins.model.Jenkins$5.runTask(Jenkins.java:1164)
at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:221)
at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:120)
at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:68)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
2023-07-25 10:21:26.327+0000 [id=22] SEVERE hudson.util.BootFailure#publish: Failed to initialize Jenkins
io.jenkins.plugins.casc.ConfiguratorException: Invalid configuration: '/var/jenkins_home/casc_configs/configuration-as-code-production' isn't a valid path.
at io.jenkins.plugins.casc.ConfigurationAsCode.configs(ConfigurationAsCode.java:681)
at io.jenkins.plugins.casc.ConfigurationAsCode.appendSources(ConfigurationAsCode.java:281)
at io.jenkins.plugins.casc.ConfigurationAsCode.getStandardConfigSources(ConfigurationAsCode.java:322)
at io.jenkins.plugins.casc.ConfigurationAsCode.configure(ConfigurationAsCode.java:314)
at io.jenkins.plugins.casc.ConfigurationAsCode.init(ConfigurationAsCode.java:306)
Caused: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:109)
Caused: java.lang.Error
at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:115)
at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:185)
at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:305)
at jenkins.model.Jenkins$5.runTask(Jenkins.java:1164)
at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:221)
at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:120)
at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:68)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
Caused: org.jvnet.hudson.reactor.ReactorException
at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:290)
at jenkins.InitReactorRunner.run(InitReactorRunner.java:49)
at jenkins.model.Jenkins.executeReactor(Jenkins.java:1199)
at jenkins.model.Jenkins.(Jenkins.java:987)
at hudson.model.Hudson.(Hudson.java:86)
at hudson.model.Hudson.(Hudson.java:82)
at hudson.WebAppMain$3.run(WebAppMain.java:247)
Caused: hudson.util.HudsonFailedToLoad
at hudson.WebAppMain$3.run(WebAppMain.java:264)
Your checklist for this issue
🚨 Please review the Support Policy
Description
casc config is not working after using latest
jenkins:lts-alpine
docker image (as base image)Error
2023-07-25 10:21:26.325+0000 [id=31] SEVERE jenkins.InitReactorRunner$1#onTaskFailed: Failed ConfigurationAsCode.init
io.jenkins.plugins.casc.ConfiguratorException: Invalid configuration: '/var/jenkins_home/casc_configs/configuration-as-code-production' isn't a valid path.
at io.jenkins.plugins.casc.ConfigurationAsCode.configs(ConfigurationAsCode.java:681)
at io.jenkins.plugins.casc.ConfigurationAsCode.appendSources(ConfigurationAsCode.java:281)
at io.jenkins.plugins.casc.ConfigurationAsCode.getStandardConfigSources(ConfigurationAsCode.java:322)
at io.jenkins.plugins.casc.ConfigurationAsCode.configure(ConfigurationAsCode.java:314)
at io.jenkins.plugins.casc.ConfigurationAsCode.init(ConfigurationAsCode.java:306)
Caused: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:109)
Caused: java.lang.Error
at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:115)
at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:185)
at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:305)
at jenkins.model.Jenkins$5.runTask(Jenkins.java:1164)
at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:221)
at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:120)
at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:68)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
2023-07-25 10:21:26.327+0000 [id=22] SEVERE hudson.util.BootFailure#publish: Failed to initialize Jenkins
io.jenkins.plugins.casc.ConfiguratorException: Invalid configuration: '/var/jenkins_home/casc_configs/configuration-as-code-production' isn't a valid path.
at io.jenkins.plugins.casc.ConfigurationAsCode.configs(ConfigurationAsCode.java:681)
at io.jenkins.plugins.casc.ConfigurationAsCode.appendSources(ConfigurationAsCode.java:281)
at io.jenkins.plugins.casc.ConfigurationAsCode.getStandardConfigSources(ConfigurationAsCode.java:322)
at io.jenkins.plugins.casc.ConfigurationAsCode.configure(ConfigurationAsCode.java:314)
at io.jenkins.plugins.casc.ConfigurationAsCode.init(ConfigurationAsCode.java:306)
Caused: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:109)
Caused: java.lang.Error
at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:115)
at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:185)
at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:305)
at jenkins.model.Jenkins$5.runTask(Jenkins.java:1164)
at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:221)
at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:120)
at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:68)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
Caused: org.jvnet.hudson.reactor.ReactorException
at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:290)
at jenkins.InitReactorRunner.run(InitReactorRunner.java:49)
at jenkins.model.Jenkins.executeReactor(Jenkins.java:1199)
at jenkins.model.Jenkins.(Jenkins.java:987)
at hudson.model.Hudson.(Hudson.java:86)
at hudson.model.Hudson.(Hudson.java:82)
at hudson.WebAppMain$3.run(WebAppMain.java:247)
Caused: hudson.util.HudsonFailedToLoad
at hudson.WebAppMain$3.run(WebAppMain.java:264)
Version - Jenkins 2.401.2
OS - linux
Plugins file has below plugin -
ansicolor:1.0.2
antisamy-markup-formatter:159.v25b_c67cd35fb_
allure-jenkins-plugin:2.30.2
artifactory:3.15.4
authorize-project:1.4.0
basic-branch-build-strategies:1.3.2
blueocean:1.25.8
checkmarx:2022.4.3
cloudbees-folder:6.815.v0dd5a_cb_40e0e
code-coverage-api:3.1.0
command-launcher:84.v4a_97f2027398
configuration-as-code-secret-ssm:1.0.1
configuration-as-code:1647.ve39ca_b_829b_42
cucumber-reports:5.7.3
credentials-binding:604.vb_64480b_c56ca_
docker-commons:1.21
docker-workflow:521.v1a_a_dd2073b_2e
jira:3.8
blueocean-jira:1.25.8
external-monitor-job:192.ve979ca_8b_3ccd
git-server:1.11
git:5.2.0
github-branch-source:1694.vd46793a_c4a_57
github:1.35.0
htmlpublisher:1.31
jaxb:2.3.8-1
jdk-tool:55.v1b_32b_6ca_f9ca
job-dsl:1.81
junit:1202.v79a_986785076
kubernetes:3883.v4d70a_a_a_df034
ldap:2.12
matrix-auth:2.6.11
matrix-project:789.v57a_725b_63c79
oic-auth:2.5
pam-auth:1.10
pipeline-model-definition:2.2131.vb_9788088fdb_5
pipeline-stage-view:2.31
pipeline-utility-steps:2.15.0
plot:2.1.12
plugin-util-api:3.2.1
postbuild-task:1.9
role-strategy:3.2.0
saml:4.352.vb_722786ea_79d
snakeyaml-api:1.33-95.va_b_a_e3e47b_fa_4
sonar:2.14
slack:631.v40deea_40323b
ssh-credentials:305.v8f4381501156
sshd:3.249.v2dc2ea_416e33
templating-engine:2.5.2
versionnumber:1.10
windows-slaves:1.8.1
workflow-aggregator:590.v6a_d052e5a_a_b_5
workflow-basic-steps:1010.vf7a_b_98e847c1
workflow-job:1308.v58d48a_763b_31
ws-cleanup:0.43
The text was updated successfully, but these errors were encountered: