mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] Errors when running in Jenkins
@ 2016-05-10 15:04 Christoph Rüdiger
  2016-05-12  9:07 ` Michael Olbrich
  0 siblings, 1 reply; 3+ messages in thread
From: Christoph Rüdiger @ 2016-05-10 15:04 UTC (permalink / raw)
  To: ptxdist

Hello,

I've setup a few ptxdist jobs in our Jenkins server and right now I'm
getting a bunch of error messages consisting of these two lines:

yes: standard output: Broken pipe
yes: write error

They always occur before ptxdist is actually hitting the first target
(download, extract, compile, whatever it is). Additionally, in some
targets they can be observed as well. They cannot be observed when
running the ptxdist command on the same machine in the same workspace
with the Jenkins user but as manual command in an SSH session.

However, the ptxdist call runs well (exit code 0) and from roughly
examining the built images, I cannot see what is missing or broken.

I'm far away from being a bash guru. Can someone explain to me what this
is about?

Do I need to care about? And if so, how can I get rid of these errors?

Thanks,
Christoph

-- 
rüdiger.engineering
Christoph Rüdiger
Düsseldorfer Str. 12
45145 Essen
Germany

phone: +49 201 458 478 58
PGP key: 0xE513B105

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ptxdist] Errors when running in Jenkins
  2016-05-10 15:04 [ptxdist] Errors when running in Jenkins Christoph Rüdiger
@ 2016-05-12  9:07 ` Michael Olbrich
  2016-05-12 10:19   ` Christoph Rüdiger
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Olbrich @ 2016-05-12  9:07 UTC (permalink / raw)
  To: ptxdist

On Tue, May 10, 2016 at 05:04:00PM +0200, Christoph Rüdiger wrote:
> I've setup a few ptxdist jobs in our Jenkins server and right now I'm
> getting a bunch of error messages consisting of these two lines:
> 
> yes: standard output: Broken pipe
> yes: write error
> 
> They always occur before ptxdist is actually hitting the first target
> (download, extract, compile, whatever it is). Additionally, in some
> targets they can be observed as well. They cannot be observed when
> running the ptxdist command on the same machine in the same workspace
> with the Jenkins user but as manual command in an SSH session.
> 
> However, the ptxdist call runs well (exit code 0) and from roughly
> examining the built images, I cannot see what is missing or broken.
> 
> I'm far away from being a bash guru. Can someone explain to me what this
> is about?
> 
> Do I need to care about? And if so, how can I get rid of these errors?

The error at the beginning comes from ptxd_kconfig() in
scripts/libptxdist.sh:
...
yes "" | "${conf}" --writedepend "${file_kconfig}" &&
...
I think that's some stange race condition when there is no tty. We ignore
the error for 'yes' here, but not errors from '${conf}' so that's ok and
should work as expected.

I don't know anything about the other occurrences, but I would expect
something similar.

Regards,
Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ptxdist] Errors when running in Jenkins
  2016-05-12  9:07 ` Michael Olbrich
@ 2016-05-12 10:19   ` Christoph Rüdiger
  0 siblings, 0 replies; 3+ messages in thread
From: Christoph Rüdiger @ 2016-05-12 10:19 UTC (permalink / raw)
  To: ptxdist



Am 12.05.16 um 11:07 schrieb Michael Olbrich:
> On Tue, May 10, 2016 at 05:04:00PM +0200, Christoph Rüdiger wrote:
>> I've setup a few ptxdist jobs in our Jenkins server and right now I'm
>> getting a bunch of error messages consisting of these two lines:
>>
>> yes: standard output: Broken pipe
>> yes: write error
>>
>> They always occur before ptxdist is actually hitting the first target
>> (download, extract, compile, whatever it is). Additionally, in some
>> targets they can be observed as well. They cannot be observed when
>> running the ptxdist command on the same machine in the same workspace
>> with the Jenkins user but as manual command in an SSH session.
>>
>> However, the ptxdist call runs well (exit code 0) and from roughly
>> examining the built images, I cannot see what is missing or broken.
>>
>> I'm far away from being a bash guru. Can someone explain to me what this
>> is about?
>>
>> Do I need to care about? And if so, how can I get rid of these errors?
> 
> The error at the beginning comes from ptxd_kconfig() in
> scripts/libptxdist.sh:
> ...
> yes "" | "${conf}" --writedepend "${file_kconfig}" &&
> ...
> I think that's some stange race condition when there is no tty. We ignore
> the error for 'yes' here, but not errors from '${conf}' so that's ok and
> should work as expected.

Thank you for the explanation. I will ignore them, too. :-)


> I don't know anything about the other occurrences, but I would expect
> something similar.

I will have a look at the respective rule files. But from the error
message I expect something similar.


Regards,
Christoph

-- 
rüdiger.engineering
Christoph Rüdiger
Düsseldorfer Str. 12
45145 Essen
Germany

phone: +49 201 458 478 58
PGP key: 0xE513B105

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-05-12 10:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-10 15:04 [ptxdist] Errors when running in Jenkins Christoph Rüdiger
2016-05-12  9:07 ` Michael Olbrich
2016-05-12 10:19   ` Christoph Rüdiger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox