Re: multi-branch pipeline, shell wrapper script fails

2018-08-29 Thread Gabe Nydick
It turns out that the 'touch' command was missing from the docker
container. Strange that it throws that error. We can close this thread.
Thanks for the help.

On Wed, Aug 29, 2018 at 4:58 AM, Vitaly Karasik  wrote:

> Did this script run Ok if you run it manually in the same
> environment/server?
>
> On Tuesday, August 28, 2018 at 9:49:06 PM UTC+3, Gabe Nydick wrote:
>>
>> There definitely were no symlinks in the path, what else?
>>
>> On Tue, Aug 28, 2018 at 8:50 AM, Gabe Nydick  wrote:
>>
>>> I did while it was running and there were no symlinks. I might have
>>> timed it wrong though, I saw that the content didn't show up right away.
>>> I'll try again.
>>>
>>> On Tue, Aug 28, 2018, 6:11 AM 'Björn Pedersen' via Jenkins Users <
>>> jenkins...@googlegroups.com> wrote:
>>>
 Hi,
 The too many levels of symbolic links normally hints to a symlink
 circle.

 Carefully check  the workspace folder (and parents) on the host machine.

 Björn

 Am Dienstag, 28. August 2018 11:58:46 UTC+2 schrieb ga...@ridezum.com:
>
> Here's the condensed output from the build job log...  It's Jenkins
> 2.140 with all of the latest plugins. It seems to be failing to start
> creating a log while it wraps my shell script. Not sure how to debug this.
>
> [h_ci-cd_dev_2018-08-13-kube-B25Q2OMNNSNLLVD3BXC7FMQBF3IKQYJE4OSTUSVSM65SZ6NCGBAQ]
> Running shell script
> + git rev-parse 78af875366ad95083bc70e1bf98ada278df9d751~
> [Pipeline] stage
> [Pipeline] { (Create Docker images)
> [Pipeline] container
> [Pipeline] {
> [Pipeline] sh
> [h_ci-cd_dev_2018-08-13-kube-B25Q2OMNNSNLLVD3BXC7FMQBF3IKQYJE4OSTUSVSM65SZ6NCGBAQ]
> Running shell script
> sh: 1: touch: Too many levels of symbolic links
> + source /usr/local/awscli/bin/activate
> ++ deactivate nondestructive
> .
> .
> .
> .
> e492023cc4f9: Layer already exists
> cbda574aa37a: Layer already exists
> 8451f9fe0016: Layer already exists
> 858cd8541f7e: Layer already exists
> a42d312a03bb: Layer already exists
> sh: 1: touch: Too many levels of symbolic links
> dd1eb1fd7e08: Layer already exists
> e6a9d89abfe6: Pushed
> sh: 1: touch: Too many levels of symbolic links
> sh: 1: touch: Too many levels of symbolic links
> sh: 1: touch: Too many levels of symbolic links
> c78bbd2f18f1: Pushed
> a795488c6995: Pushed
> sh: 1: touch: Too many levels of symbolic links
> sh: 1: touch: Too many levels of symbolic links
> sh: 1: touch: Too many levels of symbolic links
> sh: 1: touch: Too many levels of symbolic links
> sh: 1: touch: Too many levels of symbolic links
> sh: 1: touch: Too many levels of symbolic links
> wrapper script does not seem to be touching the log file in
> /home/jenkins/workspace/h_ci-cd_dev_2018-08-13-kube-B25Q2OMN
> NSNLLVD3BXC7FMQBF3IKQYJE4OSTUSVSM65SZ6NCGBAQ@tmp/durable-9be4cc24
>
> --
 You received this message because you are subscribed to the Google
 Groups "Jenkins Users" group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to jenkinsci-use...@googlegroups.com.
 To view this discussion on the web visit https://groups.google.com/d/ms
 gid/jenkinsci-users/c60ec88e-8992-475d-a7bf-de7164bddb24%
 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 Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jenkinsci-users/eaf5719d-74bb-4322-82d0-b26ab46885eb%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 Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CACTWNKC7HtGQWAVWKphT_O7h6O6AfmL0gtXENvxsNPzZcHg7Rg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: multi-branch pipeline, shell wrapper script fails

2018-08-29 Thread Vitaly Karasik
Did this script run Ok if you run it manually in the same 
environment/server?

On Tuesday, August 28, 2018 at 9:49:06 PM UTC+3, Gabe Nydick wrote:
>
> There definitely were no symlinks in the path, what else?
>
> On Tue, Aug 28, 2018 at 8:50 AM, Gabe Nydick  > wrote:
>
>> I did while it was running and there were no symlinks. I might have timed 
>> it wrong though, I saw that the content didn't show up right away. I'll try 
>> again.
>>
>> On Tue, Aug 28, 2018, 6:11 AM 'Björn Pedersen' via Jenkins Users <
>> jenkins...@googlegroups.com > wrote:
>>
>>> Hi, 
>>> The too many levels of symbolic links normally hints to a symlink 
>>> circle. 
>>>
>>> Carefully check  the workspace folder (and parents) on the host machine.
>>>
>>> Björn
>>>
>>> Am Dienstag, 28. August 2018 11:58:46 UTC+2 schrieb ga...@ridezum.com:

 Here's the condensed output from the build job log...  It's Jenkins 
 2.140 with all of the latest plugins. It seems to be failing to start 
 creating a log while it wraps my shell script. Not sure how to debug this.

 [h_ci-cd_dev_2018-08-13-kube-B25Q2OMNNSNLLVD3BXC7FMQBF3IKQYJE4OSTUSVSM65SZ6NCGBAQ]
  
 Running shell script
 + git rev-parse 78af875366ad95083bc70e1bf98ada278df9d751~
 [Pipeline] stage
 [Pipeline] { (Create Docker images)
 [Pipeline] container
 [Pipeline] {
 [Pipeline] sh
 [h_ci-cd_dev_2018-08-13-kube-B25Q2OMNNSNLLVD3BXC7FMQBF3IKQYJE4OSTUSVSM65SZ6NCGBAQ]
  
 Running shell script
 sh: 1: touch: Too many levels of symbolic links
 + source /usr/local/awscli/bin/activate
 ++ deactivate nondestructive
 .
 .
 .
 .
 e492023cc4f9: Layer already exists
 cbda574aa37a: Layer already exists
 8451f9fe0016: Layer already exists
 858cd8541f7e: Layer already exists
 a42d312a03bb: Layer already exists
 sh: 1: touch: Too many levels of symbolic links
 dd1eb1fd7e08: Layer already exists
 e6a9d89abfe6: Pushed
 sh: 1: touch: Too many levels of symbolic links
 sh: 1: touch: Too many levels of symbolic links
 sh: 1: touch: Too many levels of symbolic links
 c78bbd2f18f1: Pushed
 a795488c6995: Pushed
 sh: 1: touch: Too many levels of symbolic links
 sh: 1: touch: Too many levels of symbolic links
 sh: 1: touch: Too many levels of symbolic links
 sh: 1: touch: Too many levels of symbolic links
 sh: 1: touch: Too many levels of symbolic links
 sh: 1: touch: Too many levels of symbolic links
 wrapper script does not seem to be touching the log file in 
 /home/jenkins/workspace/h_ci-cd_dev_2018-08-13-kube-B25Q2OMNNSNLLVD3BXC7FMQBF3IKQYJE4OSTUSVSM65SZ6NCGBAQ@tmp/durable-9be4cc24

 -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Jenkins Users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to jenkinsci-use...@googlegroups.com .
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/jenkinsci-users/c60ec88e-8992-475d-a7bf-de7164bddb24%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 Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/eaf5719d-74bb-4322-82d0-b26ab46885eb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: multi-branch pipeline, shell wrapper script fails

2018-08-28 Thread Gabe Nydick
I did while it was running and there were no symlinks. I might have timed
it wrong though, I saw that the content didn't show up right away. I'll try
again.

On Tue, Aug 28, 2018, 6:11 AM 'Björn Pedersen' via Jenkins Users <
jenkinsci-users@googlegroups.com> wrote:

> Hi,
> The too many levels of symbolic links normally hints to a symlink circle.
>
> Carefully check  the workspace folder (and parents) on the host machine.
>
> Björn
>
> Am Dienstag, 28. August 2018 11:58:46 UTC+2 schrieb ga...@ridezum.com:
>>
>> Here's the condensed output from the build job log...  It's Jenkins 2.140
>> with all of the latest plugins. It seems to be failing to start creating a
>> log while it wraps my shell script. Not sure how to debug this.
>>
>> [h_ci-cd_dev_2018-08-13-kube-B25Q2OMNNSNLLVD3BXC7FMQBF3IKQYJE4OSTUSVSM65SZ6NCGBAQ]
>> Running shell script
>> + git rev-parse 78af875366ad95083bc70e1bf98ada278df9d751~
>> [Pipeline] stage
>> [Pipeline] { (Create Docker images)
>> [Pipeline] container
>> [Pipeline] {
>> [Pipeline] sh
>> [h_ci-cd_dev_2018-08-13-kube-B25Q2OMNNSNLLVD3BXC7FMQBF3IKQYJE4OSTUSVSM65SZ6NCGBAQ]
>> Running shell script
>> sh: 1: touch: Too many levels of symbolic links
>> + source /usr/local/awscli/bin/activate
>> ++ deactivate nondestructive
>> .
>> .
>> .
>> .
>> e492023cc4f9: Layer already exists
>> cbda574aa37a: Layer already exists
>> 8451f9fe0016: Layer already exists
>> 858cd8541f7e: Layer already exists
>> a42d312a03bb: Layer already exists
>> sh: 1: touch: Too many levels of symbolic links
>> dd1eb1fd7e08: Layer already exists
>> e6a9d89abfe6: Pushed
>> sh: 1: touch: Too many levels of symbolic links
>> sh: 1: touch: Too many levels of symbolic links
>> sh: 1: touch: Too many levels of symbolic links
>> c78bbd2f18f1: Pushed
>> a795488c6995: Pushed
>> sh: 1: touch: Too many levels of symbolic links
>> sh: 1: touch: Too many levels of symbolic links
>> sh: 1: touch: Too many levels of symbolic links
>> sh: 1: touch: Too many levels of symbolic links
>> sh: 1: touch: Too many levels of symbolic links
>> sh: 1: touch: Too many levels of symbolic links
>> wrapper script does not seem to be touching the log file in
>> /home/jenkins/workspace/h_ci-cd_dev_2018-08-13-kube-B25Q2OMNNSNLLVD3BXC7FMQBF3IKQYJE4OSTUSVSM65SZ6NCGBAQ@tmp
>> /durable-9be4cc24
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/c60ec88e-8992-475d-a7bf-de7164bddb24%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 Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CACTWNKBKeXrMf518bb%2BGoatnmtS%3D5RbfU4n9VOiO6Hmpb7zcQw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: multi-branch pipeline, shell wrapper script fails

2018-08-28 Thread 'Björn Pedersen' via Jenkins Users
Hi, 
The too many levels of symbolic links normally hints to a symlink circle. 

Carefully check  the workspace folder (and parents) on the host machine.

Björn

Am Dienstag, 28. August 2018 11:58:46 UTC+2 schrieb ga...@ridezum.com:
>
> Here's the condensed output from the build job log...  It's Jenkins 2.140 
> with all of the latest plugins. It seems to be failing to start creating a 
> log while it wraps my shell script. Not sure how to debug this.
>
> [h_ci-cd_dev_2018-08-13-kube-B25Q2OMNNSNLLVD3BXC7FMQBF3IKQYJE4OSTUSVSM65SZ6NCGBAQ]
>  
> Running shell script
> + git rev-parse 78af875366ad95083bc70e1bf98ada278df9d751~
> [Pipeline] stage
> [Pipeline] { (Create Docker images)
> [Pipeline] container
> [Pipeline] {
> [Pipeline] sh
> [h_ci-cd_dev_2018-08-13-kube-B25Q2OMNNSNLLVD3BXC7FMQBF3IKQYJE4OSTUSVSM65SZ6NCGBAQ]
>  
> Running shell script
> sh: 1: touch: Too many levels of symbolic links
> + source /usr/local/awscli/bin/activate
> ++ deactivate nondestructive
> .
> .
> .
> .
> e492023cc4f9: Layer already exists
> cbda574aa37a: Layer already exists
> 8451f9fe0016: Layer already exists
> 858cd8541f7e: Layer already exists
> a42d312a03bb: Layer already exists
> sh: 1: touch: Too many levels of symbolic links
> dd1eb1fd7e08: Layer already exists
> e6a9d89abfe6: Pushed
> sh: 1: touch: Too many levels of symbolic links
> sh: 1: touch: Too many levels of symbolic links
> sh: 1: touch: Too many levels of symbolic links
> c78bbd2f18f1: Pushed
> a795488c6995: Pushed
> sh: 1: touch: Too many levels of symbolic links
> sh: 1: touch: Too many levels of symbolic links
> sh: 1: touch: Too many levels of symbolic links
> sh: 1: touch: Too many levels of symbolic links
> sh: 1: touch: Too many levels of symbolic links
> sh: 1: touch: Too many levels of symbolic links
> wrapper script does not seem to be touching the log file in 
> /home/jenkins/workspace/h_ci-cd_dev_2018-08-13-kube-B25Q2OMNNSNLLVD3BXC7FMQBF3IKQYJE4OSTUSVSM65SZ6NCGBAQ@tmp/durable-9be4cc24
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/c60ec88e-8992-475d-a7bf-de7164bddb24%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


multi-branch pipeline, shell wrapper script fails

2018-08-28 Thread gabe
Here's the condensed output from the build job log...  It's Jenkins 2.140 
with all of the latest plugins. It seems to be failing to start creating a 
log while it wraps my shell script. Not sure how to debug this.

[h_ci-cd_dev_2018-08-13-kube-B25Q2OMNNSNLLVD3BXC7FMQBF3IKQYJE4OSTUSVSM65SZ6NCGBAQ]
 
Running shell script
+ git rev-parse 78af875366ad95083bc70e1bf98ada278df9d751~
[Pipeline] stage
[Pipeline] { (Create Docker images)
[Pipeline] container
[Pipeline] {
[Pipeline] sh
[h_ci-cd_dev_2018-08-13-kube-B25Q2OMNNSNLLVD3BXC7FMQBF3IKQYJE4OSTUSVSM65SZ6NCGBAQ]
 
Running shell script
sh: 1: touch: Too many levels of symbolic links
+ source /usr/local/awscli/bin/activate
++ deactivate nondestructive
.
.
.
.
e492023cc4f9: Layer already exists
cbda574aa37a: Layer already exists
8451f9fe0016: Layer already exists
858cd8541f7e: Layer already exists
a42d312a03bb: Layer already exists
sh: 1: touch: Too many levels of symbolic links
dd1eb1fd7e08: Layer already exists
e6a9d89abfe6: Pushed
sh: 1: touch: Too many levels of symbolic links
sh: 1: touch: Too many levels of symbolic links
sh: 1: touch: Too many levels of symbolic links
c78bbd2f18f1: Pushed
a795488c6995: Pushed
sh: 1: touch: Too many levels of symbolic links
sh: 1: touch: Too many levels of symbolic links
sh: 1: touch: Too many levels of symbolic links
sh: 1: touch: Too many levels of symbolic links
sh: 1: touch: Too many levels of symbolic links
sh: 1: touch: Too many levels of symbolic links
wrapper script does not seem to be touching the log file in 
/home/jenkins/workspace/h_ci-cd_dev_2018-08-13-kube-B25Q2OMNNSNLLVD3BXC7FMQBF3IKQYJE4OSTUSVSM65SZ6NCGBAQ@tmp/durable-9be4cc24

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/666e18a0-6081-4e6a-8435-8c126b4c9e95%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.