[JIRA] (JENKINS-50317) Pipeline job is failed with java.lang.StackOverflowError
Title: Message Title Basile Chandesris edited a comment on JENKINS-50317 Re: Pipeline job is failed with java.lang.StackOverflowError I also got this, while playing with environment variables (bindings) and pipeline/workflow environment section.java.lang.StackOverflowError at org.jenkinsci.plugins.workflow.cps.DSL.flattenGString(DSL.java:498) at org.jenkinsci.plugins.workflow.cps.DSL.flattenGString(DSL.java:503) at org.jenkinsci.plugins.workflow.cps.DSL.flattenGString(DSL.java:503) at org.jenkinsci.plugins.workflow.cps.DSL.flattenGString(DSL.java:503) at org.jenkinsci.plugins.workflow.cps.DSL.flattenGString(DSL.java:503) at org.jenkinsci.plugins.workflow.cps.DSL.flattenGString(DSL.java:503) at org.jenkinsci.plugins.workflow.cps.DSL.flattenGString(DSL.java:503)Jenkins 2.190.1, lastest plugin updates, multibranch , GNU/LInux . Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.189361.1521638313000.11178.1571566920370%40Atlassian.JIRA.
[JIRA] (JENKINS-50317) Pipeline job is failed with java.lang.StackOverflowError
Title: Message Title Basile Chandesris commented on JENKINS-50317 Re: Pipeline job is failed with java.lang.StackOverflowError I also got this, while playing with environment variables (bindings) and pipeline/workflow environment section. java.lang.StackOverflowError at org.jenkinsci.plugins.workflow.cps.DSL.flattenGString(DSL.java:498) at org.jenkinsci.plugins.workflow.cps.DSL.flattenGString(DSL.java:503) at org.jenkinsci.plugins.workflow.cps.DSL.flattenGString(DSL.java:503) at org.jenkinsci.plugins.workflow.cps.DSL.flattenGString(DSL.java:503) at org.jenkinsci.plugins.workflow.cps.DSL.flattenGString(DSL.java:503) at org.jenkinsci.plugins.workflow.cps.DSL.flattenGString(DSL.java:503) at org.jenkinsci.plugins.workflow.cps.DSL.flattenGString(DSL.java:503) Jenkins 2.190.1, lastest plugin updates, multibranch. Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.189361.1521638313000.11169.1571566800371%40Atlassian.JIRA.
[JIRA] (JENKINS-50317) Pipeline job is failed with java.lang.StackOverflowError
Title: Message Title Erik Miller commented on JENKINS-50317 Re: Pipeline job is failed with java.lang.StackOverflowError Happening for me as well. Update? Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50317) Pipeline job is failed with java.lang.StackOverflowError
Title: Message Title Vivek Pandey updated an issue Jenkins / JENKINS-50317 Pipeline job is failed with java.lang.StackOverflowError Change By: Vivek Pandey Labels: pipeline triaged-2018-11 windows Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50317) Pipeline job is failed with java.lang.StackOverflowError
Title: Message Title Andrew Bayer commented on JENKINS-50317 Re: Pipeline job is failed with java.lang.StackOverflowError Any update from your side, Aleksandr Gamoskin? Add Comment This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50317) Pipeline job is failed with java.lang.StackOverflowError
Title: Message Title Andrew Bayer commented on JENKINS-50317 Re: Pipeline job is failed with java.lang.StackOverflowError Ok, if it's not happening when you're not in parallel, then it's got to be something that's temporarily/briefly exposed in one of the parallel branches that Pipeline attempts to serialize when it reaches a safepoint on one of the other branches. Could be Gitea, could be something else - I really can't tell. The best I can advise is that you try to reproduce this as minimally as possible - starting with empty parallel branches and gradually adding bits and pieces until you can reproduce the error. Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50317) Pipeline job is failed with java.lang.StackOverflowError
Title: Message Title Andrew Bayer updated an issue Jenkins / JENKINS-50317 Pipeline job is failed with java.lang.StackOverflowError Change By: Andrew Bayer Priority: Critical Major Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50317) Pipeline job is failed with java.lang.StackOverflowError
Title: Message Title Aleksandr Gamoskin commented on JENKINS-50317 Re: Pipeline job is failed with java.lang.StackOverflowError Andrew Bayer I've remove parallel stages and problem does not occur for now. If you need I could send you new groovy files and pipeline. Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50317) Pipeline job is failed with java.lang.StackOverflowError
Title: Message Title Aleksandr Gamoskin commented on JENKINS-50317 Re: Pipeline job is failed with java.lang.StackOverflowError We use Gitea plugin. Could it be it's problem? It uses some notification mechanism. Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50317) Pipeline job is failed with java.lang.StackOverflowError
Title: Message Title Aleksandr Gamoskin commented on JENKINS-50317 Re: Pipeline job is failed with java.lang.StackOverflowError So I've changed utils.groovy to Jenkins Pipeline Shared Library(git repository). But problem occurs any way. Maybe do you need more detailed information? Switch trace log level? Is parallel mechanism is not so stable for now? it's just very useful thing. I'll try to moving build stages to non-parallel build stages. Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50317) Pipeline job is failed with java.lang.StackOverflowError
Title: Message Title Andrew Bayer commented on JENKINS-50317 Re: Pipeline job is failed with java.lang.StackOverflowError It appears that the error is happening when your debian-6 x64 debug stage's success post action is running. That said, I can't tell what was actually being serialized - anything that was in the state of your Pipeline at that point would be getting serialized. All I can be sure of is that the script step started and then everything blew up. I'm actually wondering if the withEnv without any actual body content in conan.groovy's success method might be the culprit somehow? Not sure. I'd suggest trying moving to non-parallel build stages to see if the same error shows up then. Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50317) Pipeline job is failed with java.lang.StackOverflowError
Title: Message Title Aleksandr Gamoskin commented on JENKINS-50317 Re: Pipeline job is failed with java.lang.StackOverflowError Andrew Bayer hello. Maybe do you have a temporary workaround for this problem?All our slaves hang in this situation and then I abort these jobs manualy. Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50317) Pipeline job is failed with java.lang.StackOverflowError
Title: Message Title Aleksandr Gamoskin commented on JENKINS-50317 Re: Pipeline job is failed with java.lang.StackOverflowError Andrew Bayer I see. So I'am sending one of the crashed builds. 111.zip Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50317) Pipeline job is failed with java.lang.StackOverflowError
Title: Message Title Aleksandr Gamoskin updated an issue Jenkins / JENKINS-50317 Pipeline job is failed with java.lang.StackOverflowError Change By: Aleksandr Gamoskin Attachment: 111.zip Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50317) Pipeline job is failed with java.lang.StackOverflowError
Title: Message Title Andrew Bayer commented on JENKINS-50317 Re: Pipeline job is failed with java.lang.StackOverflowError Aleksandr Gamoskin - I'm specifically looking for the build directory on the master - it'd be something like JENKINS_HOME/jobs/JOB_NAME/builds/BUILD_NUMBER, though if this is a multibranch job, it would be in JENKINS_HOME/jobs/MULTIBRANCH_NAME/jobs/BRANCH/builds/BUILD_NUMBER. In that directory, what we really care about is the workflow subdirectory, if the whole build directory is too large. Thanks! Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50317) Pipeline job is failed with java.lang.StackOverflowError
Title: Message Title Aleksandr Gamoskin commented on JENKINS-50317 Re: Pipeline job is failed with java.lang.StackOverflowError Hello Andrew, yes, I'am sending you utils.groovy. Also I could send you workspace subdirectory but we use conan io server, cmake etc. I look forward for your response. autoloader.zip utils.groovy ^^ Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50317) Pipeline job is failed with java.lang.StackOverflowError
Title: Message Title Aleksandr Gamoskin updated an issue Jenkins / JENKINS-50317 Pipeline job is failed with java.lang.StackOverflowError Change By: Aleksandr Gamoskin Attachment: autoloader.zip Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50317) Pipeline job is failed with java.lang.StackOverflowError
Title: Message Title Aleksandr Gamoskin updated an issue Jenkins / JENKINS-50317 Pipeline job is failed with java.lang.StackOverflowError Change By: Aleksandr Gamoskin Attachment: utils.groovy Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50317) Pipeline job is failed with java.lang.StackOverflowError
Title: Message Title Andrew Bayer commented on JENKINS-50317 Re: Pipeline job is failed with java.lang.StackOverflowError Can you attach your utils.groovy, please? It looks like something is going wrong specifically in serialization of the program state, and given that all your work seems to actually be in that utils.groovy script, I can't tell what's going on. Also, it'd be great if you could put together a minimal reproduction case or zip up the build directory for a build that's failing like this (specifically the workflow subdirectory) so that we can see where exactly the failure is happening. Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50317) Pipeline job is failed with java.lang.StackOverflowError
Title: Message Title Aleksandr Gamoskin commented on JENKINS-50317 Re: Pipeline job is failed with java.lang.StackOverflowError I'am using Jenkins Pipeline Shared Library but there is still this exception. It breaks our build flow. Please tell me what to do? Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50317) Pipeline job is failed with java.lang.StackOverflowError
Title: Message Title Aleksandr Gamoskin created an issue Jenkins / JENKINS-50317 Pipeline job is failed with java.lang.StackOverflowError Issue Type: Bug Assignee: Unassigned Attachments: Jenkinsfile, log.txt Components: pipeline Created: 2018-03-21 13:18 Environment: Jenkins Master WIndows Server 2012, Jenkins version 2.112, 2 slaves, Jenkins Slave Windows 10 and Jenkins Slave Debian 9.3(Stretch) Labels: pipeline windows Priority: Critical Reporter: Aleksandr Gamoskin We use Multi branch job. Sometimes pipeline job is failed with java.lang.StackOverflowError.I send you our Jenkinsfile and pipeline.log. Maybe is job name too long? Also sometimes parallel stages hang when one stage is failed(failFast true) via this exception but I think it's other bug. Please write if you need some additional logs or system information. Jenkinsfile log.txt