stack trace in configure system (docker, plugin development)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

stack trace in configure system (docker, plugin development)

Ewelina Wilkosz
I'm working on dockerizing Configuration as Code plugin, which means I create a docker image, based on jenkins:2.60.3, I build the plugin and I install it in a Dockerfile: https://github.com/jenkinsci/configuration-as-code-plugin/blob/praqma/dev/Dockerfile

It seems to be working, but I get stack trace in Configure System:
org.apache.commons.jelly.JellyTagException: jar:file:/var/jenkins_home/war/WEB-INF/lib/jenkins-core-2.60.3.jar!/jenkins/model/Jenkins/configure.jelly:59:84: <st:include> org.kohsuke.stapler.ScriptLoadException: org.apache.commons.jelly.JellyException: Could not parse Jelly script : jar:file:/var/jenkins_home/plugins/configuration-as-code/WEB-INF/lib/configuration-as-code.jar!/org/jenkinsci/plugins/casc/ConfigurationAsCode/index.jelly
	at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:726)
	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:281)
	at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:99)
	at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91)
(...)
So I attached to docker container and checked /var/jenkins_home/plugins/configuration-as-code/WEB-INF/lib/configuration-as-code.jar!/org/jenkinsci/plugins/casc/ConfigurationAsCode/index.jelly, and in it I can see:

<<<<<<< HEAD

    <h4 id="${c.extensionpoint.simpleName}-${c.name}">${c.name}</h4>

    <j:if test="${c.extensionpoint != c.target}">

      Implementation of ${c.extensionpoint.simpleName}

=======

    <h4 id="${c.extensionPoint.simpleName}-${c.name}">${c.name}</h4>

    <j:if test="${c.extensionPoint != c.target}">

      Implementation of <a href="https://jenkins.io/doc/developer/extensions/${c.extensionSource}/#${c.extensionPoint.simpleName.toLowerCase()}">${c.extensionPoint.simpleName}</a>

>>>>>>> fork/master


And I don't understand where it comes from... Complete newbie here. Anyone willing to help with troubleshooting?

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/3cb870c9-4e69-413d-a4d2-29e106459725%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: stack trace in configure system (docker, plugin development)

Mark Waite-2
That looks like a failed "git merge".  No idea of the source of that failed merge, but those markers are used by git when it can't resolve a merge of a historical file into the current file.

Mark Waite

On Fri, Nov 10, 2017 at 10:14 AM Ewelina Wilkosz <[hidden email]> wrote:
I'm working on dockerizing Configuration as Code plugin, which means I create a docker image, based on jenkins:2.60.3, I build the plugin and I install it in a Dockerfile: https://github.com/jenkinsci/configuration-as-code-plugin/blob/praqma/dev/Dockerfile

It seems to be working, but I get stack trace in Configure System:
org.apache.commons.jelly.JellyTagException: jar:file:/var/jenkins_home/war/WEB-INF/lib/jenkins-core-2.60.3.jar!/jenkins/model/Jenkins/configure.jelly:59:84: <st:include> org.kohsuke.stapler.ScriptLoadException: org.apache.commons.jelly.JellyException: Could not parse Jelly script : jar:file:/var/jenkins_home/plugins/configuration-as-code/WEB-INF/lib/configuration-as-code.jar!/org/jenkinsci/plugins/casc/ConfigurationAsCode/index.jelly
	at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:726)
	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:281)
	at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:99)
	at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91)
(...)
So I attached to docker container and checked /var/jenkins_home/plugins/configuration-as-code/WEB-INF/lib/configuration-as-code.jar!/org/jenkinsci/plugins/casc/ConfigurationAsCode/index.jelly, and in it I can see:

<<<<<<< HEAD

    <h4 id="${c.extensionpoint.simpleName}-${c.name}">${c.name}</h4>

    <j:if test="${c.extensionpoint != c.target}">

      Implementation of ${c.extensionpoint.simpleName}

=======

    <h4 id="${c.extensionPoint.simpleName}-${c.name}">${c.name}</h4>

    <j:if test="${c.extensionPoint != c.target}">

      Implementation of <a href="https://jenkins.io/doc/developer/extensions/${c.extensionSource}/#${c.extensionPoint.simpleName.toLowerCase()}">${c.extensionPoint.simpleName}</a>

>>>>>>> fork/master


And I don't understand where it comes from... Complete newbie here. Anyone willing to help with troubleshooting?

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/3cb870c9-4e69-413d-a4d2-29e106459725%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAO49JtFWea-Uj-z_uSmhRN8bsZQ4UTKRLyeOw%3DzfVB%3DstE1cUg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: stack trace in configure system (docker, plugin development)

Daniel Beck
In reply to this post by Ewelina Wilkosz

> On 10. Nov 2017, at 17:12, Ewelina Wilkosz <[hidden email]> wrote:
>
> And I don't understand where it comes from... Complete newbie here. Anyone willing to help with troubleshooting?

Judging from your Dockerfile, I expect that to already be in the file at https://github.com/jenkinsci/configuration-as-code-plugin/blob/praqma/dev/Dockerfile#L28 -- probably a bad merge in your local workspace. Check there.

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/36B8E23C-FA52-4ABD-8EC7-FD8BC57874DC%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: stack trace in configure system (docker, plugin development)

Ewelina Wilkosz
In reply to this post by Mark Waite-2
right, it does look like a git merge, the thing is, I can't see any conflicts in my repo
so it's just me not understanding how docker build works, I guess I will have to dig more into the issue

On Friday, November 10, 2017 at 6:27:29 PM UTC+1, Mark Waite wrote:
That looks like a failed "git merge".  No idea of the source of that failed merge, but those markers are used by git when it can't resolve a merge of a historical file into the current file.

Mark Waite

On Fri, Nov 10, 2017 at 10:14 AM Ewelina Wilkosz <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="wnj4JX8GCwAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">ewel...@...> wrote:
I'm working on dockerizing Configuration as Code plugin, which means I create a docker image, based on jenkins:2.60.3, I build the plugin and I install it in a Dockerfile: <a href="https://github.com/jenkinsci/configuration-as-code-plugin/blob/praqma/dev/Dockerfile" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fjenkinsci%2Fconfiguration-as-code-plugin%2Fblob%2Fpraqma%2Fdev%2FDockerfile\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEZV_2V0OoWJnXzkKikeYCO8zhGkg&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fjenkinsci%2Fconfiguration-as-code-plugin%2Fblob%2Fpraqma%2Fdev%2FDockerfile\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEZV_2V0OoWJnXzkKikeYCO8zhGkg&#39;;return true;">https://github.com/jenkinsci/configuration-as-code-plugin/blob/praqma/dev/Dockerfile

It seems to be working, but I get stack trace in Configure System:
org.apache.commons.jelly.JellyTagException: jar:file:/var/jenkins_home/war/WEB-INF/lib/jenkins-core-2.60.3.jar!/jenkins/model/Jenkins/configure.jelly:59:84: <st:include> org.kohsuke.stapler.ScriptLoadException: org.apache.commons.jelly.JellyException: Could not parse Jelly script : jar:file:/var/jenkins_home/plugins/configuration-as-code/WEB-INF/lib/configuration-as-code.jar!/org/jenkinsci/plugins/casc/ConfigurationAsCode/index.jelly
	at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:726)
	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:281)
	at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:99)
	at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91)
(...)
So I attached to docker container and checked /var/jenkins_home/plugins/configuration-as-code/WEB-INF/lib/configuration-as-code.jar!/org/jenkinsci/plugins/casc/ConfigurationAsCode/index.jelly, and in it I can see:

<<<<<<< HEAD

    <h4 id="${c.extensionpoint.simpleName}-${<a href="http://c.name" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fc.name\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF1gKFGapFakkQgkT02RMIaDoPfwA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fc.name\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF1gKFGapFakkQgkT02RMIaDoPfwA&#39;;return true;">c.name}">${<a href="http://c.name" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fc.name\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF1gKFGapFakkQgkT02RMIaDoPfwA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fc.name\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF1gKFGapFakkQgkT02RMIaDoPfwA&#39;;return true;">c.name}</h4>

    <j:if test="${c.extensionpoint != c.target}">

      Implementation of ${c.extensionpoint.simpleName}

=======

    <h4 id="${c.extensionPoint.simpleName}-${<a href="http://c.name" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fc.name\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF1gKFGapFakkQgkT02RMIaDoPfwA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fc.name\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF1gKFGapFakkQgkT02RMIaDoPfwA&#39;;return true;">c.name}">${<a href="http://c.name" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fc.name\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF1gKFGapFakkQgkT02RMIaDoPfwA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fc.name\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF1gKFGapFakkQgkT02RMIaDoPfwA&#39;;return true;">c.name}</h4>

    <j:if test="${c.extensionPoint != c.target}">

      Implementation of <a href="<a href="https://jenkins.io/doc/developer/extensions/$%7Bc.extensionSource%7D/#$%7Bc.extensionPoint.simpleName.toLowerCase()%7D" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fjenkins.io%2Fdoc%2Fdeveloper%2Fextensions%2F%24%257Bc.extensionSource%257D%2F%23%24%257Bc.extensionPoint.simpleName.toLowerCase()%257D\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNES538ND8VjYXvOA0C1zN572cs-bg&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fjenkins.io%2Fdoc%2Fdeveloper%2Fextensions%2F%24%257Bc.extensionSource%257D%2F%23%24%257Bc.extensionPoint.simpleName.toLowerCase()%257D\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNES538ND8VjYXvOA0C1zN572cs-bg&#39;;return true;">https://jenkins.io/doc/developer/extensions/${c.extensionSource}/#${c.extensionPoint.simpleName.toLowerCase()}">${c.extensionPoint.simpleName}</a>

>>>>>>> fork/master


And I don't understand where it comes from... Complete newbie here. Anyone willing to help with troubleshooting?

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="wnj4JX8GCwAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/jenkinsci-dev/3cb870c9-4e69-413d-a4d2-29e106459725%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-dev/3cb870c9-4e69-413d-a4d2-29e106459725%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-dev/3cb870c9-4e69-413d-a4d2-29e106459725%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/jenkinsci-dev/3cb870c9-4e69-413d-a4d2-29e106459725%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/f7554b15-0bb9-4539-ad45-a912dd81733f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: stack trace in configure system (docker, plugin development)

Ewelina Wilkosz
ok, when I build locally I do not get stack trace, something is messed up in my Jenkins job or agent :)

On Friday, November 10, 2017 at 8:06:43 PM UTC+1, Ewelina Wilkosz wrote:
right, it does look like a git merge, the thing is, I can't see any conflicts in my repo
so it's just me not understanding how docker build works, I guess I will have to dig more into the issue

On Friday, November 10, 2017 at 6:27:29 PM UTC+1, Mark Waite wrote:
That looks like a failed "git merge".  No idea of the source of that failed merge, but those markers are used by git when it can't resolve a merge of a historical file into the current file.

Mark Waite

On Fri, Nov 10, 2017 at 10:14 AM Ewelina Wilkosz <[hidden email]> wrote:
I'm working on dockerizing Configuration as Code plugin, which means I create a docker image, based on jenkins:2.60.3, I build the plugin and I install it in a Dockerfile: <a href="https://github.com/jenkinsci/configuration-as-code-plugin/blob/praqma/dev/Dockerfile" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fjenkinsci%2Fconfiguration-as-code-plugin%2Fblob%2Fpraqma%2Fdev%2FDockerfile\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEZV_2V0OoWJnXzkKikeYCO8zhGkg&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fjenkinsci%2Fconfiguration-as-code-plugin%2Fblob%2Fpraqma%2Fdev%2FDockerfile\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEZV_2V0OoWJnXzkKikeYCO8zhGkg&#39;;return true;">https://github.com/jenkinsci/configuration-as-code-plugin/blob/praqma/dev/Dockerfile

It seems to be working, but I get stack trace in Configure System:
org.apache.commons.jelly.JellyTagException: jar:file:/var/jenkins_home/war/WEB-INF/lib/jenkins-core-2.60.3.jar!/jenkins/model/Jenkins/configure.jelly:59:84: <st:include> org.kohsuke.stapler.ScriptLoadException: org.apache.commons.jelly.JellyException: Could not parse Jelly script : jar:file:/var/jenkins_home/plugins/configuration-as-code/WEB-INF/lib/configuration-as-code.jar!/org/jenkinsci/plugins/casc/ConfigurationAsCode/index.jelly
	at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:726)
	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:281)
	at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:99)
	at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91)
(...)
So I attached to docker container and checked /var/jenkins_home/plugins/configuration-as-code/WEB-INF/lib/configuration-as-code.jar!/org/jenkinsci/plugins/casc/ConfigurationAsCode/index.jelly, and in it I can see:

<<<<<<< HEAD

    <h4 id="${c.extensionpoint.simpleName}-${<a href="http://c.name" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fc.name\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF1gKFGapFakkQgkT02RMIaDoPfwA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fc.name\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF1gKFGapFakkQgkT02RMIaDoPfwA&#39;;return true;">c.name}">${<a href="http://c.name" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fc.name\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF1gKFGapFakkQgkT02RMIaDoPfwA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fc.name\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF1gKFGapFakkQgkT02RMIaDoPfwA&#39;;return true;">c.name}</h4>

    <j:if test="${c.extensionpoint != c.target}">

      Implementation of ${c.extensionpoint.simpleName}

=======

    <h4 id="${c.extensionPoint.simpleName}-${<a href="http://c.name" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fc.name\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF1gKFGapFakkQgkT02RMIaDoPfwA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fc.name\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF1gKFGapFakkQgkT02RMIaDoPfwA&#39;;return true;">c.name}">${<a href="http://c.name" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fc.name\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF1gKFGapFakkQgkT02RMIaDoPfwA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fc.name\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF1gKFGapFakkQgkT02RMIaDoPfwA&#39;;return true;">c.name}</h4>

    <j:if test="${c.extensionPoint != c.target}">

      Implementation of <a href="<a href="https://jenkins.io/doc/developer/extensions/$%7Bc.extensionSource%7D/#$%7Bc.extensionPoint.simpleName.toLowerCase()%7D" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fjenkins.io%2Fdoc%2Fdeveloper%2Fextensions%2F%24%257Bc.extensionSource%257D%2F%23%24%257Bc.extensionPoint.simpleName.toLowerCase()%257D\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNES538ND8VjYXvOA0C1zN572cs-bg&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fjenkins.io%2Fdoc%2Fdeveloper%2Fextensions%2F%24%257Bc.extensionSource%257D%2F%23%24%257Bc.extensionPoint.simpleName.toLowerCase()%257D\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNES538ND8VjYXvOA0C1zN572cs-bg&#39;;return true;">https://jenkins.io/doc/developer/extensions/${c.extensionSource}/#${c.extensionPoint.simpleName.toLowerCase()}">${c.extensionPoint.simpleName}</a>

>>>>>>> fork/master


And I don't understand where it comes from... Complete newbie here. Anyone willing to help with troubleshooting?

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/jenkinsci-dev/3cb870c9-4e69-413d-a4d2-29e106459725%40googlegroups.com?utm_medium=email&amp;utm_source=footer" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-dev/3cb870c9-4e69-413d-a4d2-29e106459725%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-dev/3cb870c9-4e69-413d-a4d2-29e106459725%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/jenkinsci-dev/3cb870c9-4e69-413d-a4d2-29e106459725%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/d38be3d9-7821-4def-bf5a-fb76a41bceb1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: stack trace in configure system (docker, plugin development)

Ewelina Wilkosz
wow, I forgot 'checkout scm' step :D it was using the old workspace from previous version of Jenkinsfile, that was the source of conflict I guess
thanks guys for pointing me the workspace as the source of problem, solved!

On Friday, November 10, 2017 at 8:32:52 PM UTC+1, Ewelina Wilkosz wrote:
ok, when I build locally I do not get stack trace, something is messed up in my Jenkins job or agent :)

On Friday, November 10, 2017 at 8:06:43 PM UTC+1, Ewelina Wilkosz wrote:
right, it does look like a git merge, the thing is, I can't see any conflicts in my repo
so it's just me not understanding how docker build works, I guess I will have to dig more into the issue

On Friday, November 10, 2017 at 6:27:29 PM UTC+1, Mark Waite wrote:
That looks like a failed "git merge".  No idea of the source of that failed merge, but those markers are used by git when it can't resolve a merge of a historical file into the current file.

Mark Waite

On Fri, Nov 10, 2017 at 10:14 AM Ewelina Wilkosz <[hidden email]> wrote:
I'm working on dockerizing Configuration as Code plugin, which means I create a docker image, based on jenkins:2.60.3, I build the plugin and I install it in a Dockerfile: <a href="https://github.com/jenkinsci/configuration-as-code-plugin/blob/praqma/dev/Dockerfile" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fjenkinsci%2Fconfiguration-as-code-plugin%2Fblob%2Fpraqma%2Fdev%2FDockerfile\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEZV_2V0OoWJnXzkKikeYCO8zhGkg&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fjenkinsci%2Fconfiguration-as-code-plugin%2Fblob%2Fpraqma%2Fdev%2FDockerfile\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEZV_2V0OoWJnXzkKikeYCO8zhGkg&#39;;return true;">https://github.com/jenkinsci/configuration-as-code-plugin/blob/praqma/dev/Dockerfile

It seems to be working, but I get stack trace in Configure System:
org.apache.commons.jelly.JellyTagException: jar:file:/var/jenkins_home/war/WEB-INF/lib/jenkins-core-2.60.3.jar!/jenkins/model/Jenkins/configure.jelly:59:84: <st:include> org.kohsuke.stapler.ScriptLoadException: org.apache.commons.jelly.JellyException: Could not parse Jelly script : jar:file:/var/jenkins_home/plugins/configuration-as-code/WEB-INF/lib/configuration-as-code.jar!/org/jenkinsci/plugins/casc/ConfigurationAsCode/index.jelly
	at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:726)
	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:281)
	at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:99)
	at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91)
(...)
So I attached to docker container and checked /var/jenkins_home/plugins/configuration-as-code/WEB-INF/lib/configuration-as-code.jar!/org/jenkinsci/plugins/casc/ConfigurationAsCode/index.jelly, and in it I can see:

<<<<<<< HEAD

    <h4 id="${c.extensionpoint.simpleName}-${<a href="http://c.name" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fc.name\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF1gKFGapFakkQgkT02RMIaDoPfwA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fc.name\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF1gKFGapFakkQgkT02RMIaDoPfwA&#39;;return true;">c.name}">${<a href="http://c.name" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fc.name\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF1gKFGapFakkQgkT02RMIaDoPfwA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fc.name\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF1gKFGapFakkQgkT02RMIaDoPfwA&#39;;return true;">c.name}</h4>

    <j:if test="${c.extensionpoint != c.target}">

      Implementation of ${c.extensionpoint.simpleName}

=======

    <h4 id="${c.extensionPoint.simpleName}-${<a href="http://c.name" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fc.name\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF1gKFGapFakkQgkT02RMIaDoPfwA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fc.name\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF1gKFGapFakkQgkT02RMIaDoPfwA&#39;;return true;">c.name}">${<a href="http://c.name" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fc.name\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF1gKFGapFakkQgkT02RMIaDoPfwA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fc.name\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF1gKFGapFakkQgkT02RMIaDoPfwA&#39;;return true;">c.name}</h4>

    <j:if test="${c.extensionPoint != c.target}">

      Implementation of <a href="<a href="https://jenkins.io/doc/developer/extensions/$%7Bc.extensionSource%7D/#$%7Bc.extensionPoint.simpleName.toLowerCase()%7D" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fjenkins.io%2Fdoc%2Fdeveloper%2Fextensions%2F%24%257Bc.extensionSource%257D%2F%23%24%257Bc.extensionPoint.simpleName.toLowerCase()%257D\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNES538ND8VjYXvOA0C1zN572cs-bg&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fjenkins.io%2Fdoc%2Fdeveloper%2Fextensions%2F%24%257Bc.extensionSource%257D%2F%23%24%257Bc.extensionPoint.simpleName.toLowerCase()%257D\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNES538ND8VjYXvOA0C1zN572cs-bg&#39;;return true;">https://jenkins.io/doc/developer/extensions/${c.extensionSource}/#${c.extensionPoint.simpleName.toLowerCase()}">${c.extensionPoint.simpleName}</a>

>>>>>>> fork/master


And I don't understand where it comes from... Complete newbie here. Anyone willing to help with troubleshooting?

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/jenkinsci-dev/3cb870c9-4e69-413d-a4d2-29e106459725%40googlegroups.com?utm_medium=email&amp;utm_source=footer" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-dev/3cb870c9-4e69-413d-a4d2-29e106459725%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-dev/3cb870c9-4e69-413d-a4d2-29e106459725%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/jenkinsci-dev/3cb870c9-4e69-413d-a4d2-29e106459725%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/4be8db36-f99f-48a9-be0e-1d21b2b0e95c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.