tardyp changed the topic of #buildbot to: A Software Freedom Conservancy Project | Buildbot-3.2.0 | docs: http://docs.buildbot.net/current/ | tutorial: http://docs.buildbot.net/current/tutorial | irclogs: https://libera.irclog.whitequark.org/buildbot
aakashjain has joined #buildbot
aakashjain has quit [Remote host closed the connection]
aakashjain has joined #buildbot
aakashja_ has joined #buildbot
aakashjain has quit [Ping timeout: 252 seconds]
aakashja_ has quit [Remote host closed the connection]
aakashjain has joined #buildbot
<koobs> tardyp: have no had a report on python function support for any of my python ports
<koobs> tardyp: i run buildbots for Cpython upstream, so
<koobs> "using shell=True only on os.name==nt."
<koobs> that means also an issue on other !windows !freebsd os's ?
aakashjain has quit [Remote host closed the connection]
aakashjain has joined #buildbot
aakashjain has quit [Remote host closed the connection]
aakashjain has joined #buildbot
aakashjain has quit [Remote host closed the connection]
aakashjain has joined #buildbot
<tardyp> koobs: its more that in bsd, /bin/sh is not bash, and if you do sh -c yarn --version
<koobs> tardyp: does upstream python set a default shell
<tardyp> it will exit 1, because it tries to parse the option --version
<koobs> or is this the responsibility of the consumer?
<tardyp> its always /bin/sh
<koobs> im confused
<tardyp> so it is not really bsd's issue, but rather a bug on our side, which is not visible on bash systems
<koobs> report is subprocess.popen shell-=true ""does not work properly on FreeBSD 13"
<koobs> if its always /bin/sh why doesnt it work?
<koobs> oh right
<koobs> your calls assume bash
<koobs> ?
<tardyp> yes
<koobs> and you "need bash" ?
<koobs> or, you just want to call a shell
<tardyp> we don't need bash, but we don't see the bug with bash
<koobs> ok sweet
<koobs> can you call sh on freebsd?
<koobs> whats the 'design' you want?
<koobs> i mean its merged, but yeh
<koobs> what are the benefits to shell=true ?
<koobs> for buildbot
<koobs> vs not
<koobs> or is this just a case of, we found a bug, becaus eyou assumed bash, and we didnt have it, and excluding shell=true for everything !nt is "correct"
<koobs> and its only needed for nt ?
<tardyp> we do shell=True for windows specifically
<tardyp> because only shell=True uses $PATH on windows to find yarn
<koobs> ahh sweet
<koobs> tldr; portability bug fix identified by heterogeneous environments? :D
<koobs> \o/
<tardyp> windows implementation automatically joins the list in POpen, but it is not the case for posix
<tardyp> right
<koobs> tardyp: but yeh, dont think there's been a report on that
<koobs> thanks for the heads up
<koobs> and we do run the test suite for BB
<koobs> so
<koobs> its intertesting
<tardyp> koobs: you know if there is a way to change /bin/sh to /bin/bash or /bin/dash like in ubuntu?
<tardyp> cause we still dont know why it suddently failed at our freebsd 13 upgrade
flx has quit [Ping timeout: 244 seconds]
flx has joined #buildbot
aakashjain has quit [Remote host closed the connection]
aakashjain has joined #buildbot
aakashja_ has joined #buildbot
aakashjain has quit [Ping timeout: 265 seconds]
flx has quit [Ping timeout: 268 seconds]
flx has joined #buildbot
aakashja_ has quit [Remote host closed the connection]
aakashjain has joined #buildbot
immae has joined #buildbot
<immae> Hello! I’m trying to understand the naming conventions in buildbot, and in particular about Workers: I’m currently defining a new type of (Latent) Worker, and I need to know if from buildbot PoV a Worker can only run one build at a time or not: if my Latent Worker is able to manager sevral jobs concurrently, do I have to register several instances of it in the master or is one sufficient?
<immae> (I’m reading the code to try to figure out the answer to the question but I cannot reach a definitive conclusion)
<skelly> tardyp: no, /bin/sh is ash on FreeBSD and is part of the base system
<dol-sen> immae, one job per builder at a time
<dol-sen> a worker can run multiple builders/jobs provided it has the resources available
<immae> dol-sen: builder or worker ?
<immae> ok
<dol-sen> one job per builder
<immae> so one job per builder, and you attach a builder to worker (which can handle as many as it wants)
<immae> right?
<dol-sen> pretty much yes
<immae> ok
<immae> Thanks for the clarification!
<dol-sen> if you need a certain builder to handle many parrallel jobs, deploy more workers
<dol-sen> the nmaster will pass the job to the next available worker
<immae> ok noted
<immae> Is there a place in the doc that describes this kind of architecture?
<immae> Or is it just "being used to it"?
<dol-sen> I think I just got used to it
<immae> ok
<dol-sen> Note
<dol-sen> In Worker For Builders concept only one build from the same builder would run on the worker.
<dol-sen> if your hardware is capable of multiple jobs at the same time, you can deploy more workers on that hardware to handle multiple jobs
<immae> ah ok I understood the reverse :D
<immae> Good to know, thanks for the pointer :)
<immae> ah yes the link is very complete, that’s the doc I was looking for, thanks again!
<dol-sen> so one worker can handle multiple "DIFFERENT" builders in parallel, but only one build per builder at the same time
<immae> Ah, so if I have a builder A that is executed for, say, 2 different branches, and a builder B, then I can have a given worker take simultaneously one git-branch of A and B, but not both branches of A (in the last case I need to define two workers)
<immae> (I guess the best answer to that is to try it, otherwise I’ll never get a grasp of it :D )
aakashjain has quit [Remote host closed the connection]
aakashja_ has joined #buildbot
aakashja_ has quit [Remote host closed the connection]
aakashjain has joined #buildbot
aakashjain has quit [Ping timeout: 252 seconds]
aakashjain has joined #buildbot
aakashjain has quit [Ping timeout: 258 seconds]