TeamCity failed to initialize DSL plugins.

Answered

I runs  Team City server and agent in clean docker images. TeamCity Professional 2019.2.1 (build 71758)
And i get message 'TeamCity failed to initialize DSL plugins.' every time.
Some time after the start of the build my team city server shut down with error #137.

I have few logs:

[2020-02-19 14:06:47,444] ERROR [SL files provided by plugins 1] - r.configs.dsl.DslPluginManager - DSL plugin compilation failed
teamcity_server | exit code: 137
teamcity_server | [2020-02-19 14:06:47,515] ERROR [SL files provided by plugins 1] - r.configs.dsl.DslPluginManager - Error while compiling generated Kotlin DSL
teamcity_server | java.lang.RuntimeException: DSL plugin compilation failed
teamcity_server | exit code: 137
teamcity_server | at jetbrains.buildServer.configs.dsl.DslPluginManager.runCompiler(DslPluginManager.java:771)
teamcity_server | at jetbrains.buildServer.configs.dsl.DslPluginManager.compileGeneratedKotlin(DslPluginManager.java:618)
teamcity_server | at jetbrains.buildServer.configs.dsl.DslPluginManager.compileAndGenerateDocs(DslPluginManager.java:263)
teamcity_server | at jetbrains.buildServer.configs.dsl.DslPluginManager.initDslInternal(DslPluginManager.java:231)
teamcity_server | at jetbrains.buildServer.serverSide.impl.BaseAccessChecker.runWithDisabledCheck(BaseAccessChecker.java:28)
teamcity_server | at jetbrains.buildServer.serverSide.impl.SecondaryNodeSecurityManager.executeSafeCommandLine(SecondaryNodeSecurityManager.java:15)
teamcity_server | at jetbrains.buildServer.serverSide.ReadOnlyRestrictor.doReadOnlyCommandLine(ReadOnlyRestrictor.java:6)
teamcity_server | at jetbrains.buildServer.configs.dsl.RestrictorImpl.doReadOnlyCommandLine(RestrictorImpl.java:18)
teamcity_server | at jetbrains.buildServer.configs.dsl.DslPluginManager.initPlugins(DslPluginManager.java:203)
teamcity_server | at jetbrains.buildServer.configs.dsl.DslPluginManager.lambda$initPluginsAsync$0(DslPluginManager.java:170)
teamcity_server | at java.lang.Thread.run(Thread.java:748)
teamcity_server | [2020-02-19 14:06:47,525] ERROR [SL files provided by plugins 1] - r.configs.dsl.DslPluginManager - Error while registering dsl plugin jars
teamcity_server | java.lang.RuntimeException: DSL plugin compilation failed
teamcity_server | exit code: 137

 

I tried to remove 'search' folder in cache directory  but in next time i get this error message again: ''TeamCity failed to initialize DSL plugins.''.

Can you help me?

2 comments
Comment actions Permalink

[2020-02-19 15:55:02,910] ERROR [SL files provided by plugins 1] - r.configs.dsl.DslPluginManager - DSL plugin compilation failed
teamcity_server | exit code: 137
teamcity_server | [2020-02-19 15:55:03,079] ERROR [SL files provided by plugins 1] - r.configs.dsl.DslPluginManager - Error while compiling generated Kotlin DSL
teamcity_server | java.lang.RuntimeException: DSL plugin compilation failed
teamcity_server | exit code: 137

0
Comment actions Permalink

Hi,

 

exit code 137 is typically issued when the process has been killed externally, either manually or due to an out of memory error. Could you check that there is enough memory for the process and that no external application is killing the process?

0

Please sign in to leave a comment.