00:09
aakashjain has joined #buildbot
00:21
aakashjain has quit [Ping timeout: 260 seconds]
00:27
aakashjain has joined #buildbot
00:28
aakashjain has quit [Remote host closed the connection]
00:28
aakashjain has joined #buildbot
00:33
aakashjain has quit [Ping timeout: 260 seconds]
00:45
aakashjain has joined #buildbot
00:51
aakashjain has quit [Ping timeout: 260 seconds]
01:03
aakashjain has joined #buildbot
01:08
aakashjain has quit [Ping timeout: 260 seconds]
01:10
aakashjain has joined #buildbot
01:11
aakashjain has quit [Read error: Connection reset by peer]
01:11
aakashja_ has joined #buildbot
01:15
aakashja_ has quit [Ping timeout: 265 seconds]
01:18
aakashjain has joined #buildbot
01:19
aakashja_ has joined #buildbot
01:19
aakashjain has quit [Read error: Connection reset by peer]
01:20
aakashja_ has quit [Remote host closed the connection]
01:21
aakashjain has joined #buildbot
01:25
aakashjain has quit [Ping timeout: 256 seconds]
01:26
aakashjain has joined #buildbot
01:30
aakashjain has quit [Read error: Connection reset by peer]
01:30
aakashja_ has joined #buildbot
01:34
aakashja_ has quit [Ping timeout: 260 seconds]
01:46
aakashjain has joined #buildbot
01:51
aakashjain has quit [Ping timeout: 252 seconds]
02:02
aakashjain has joined #buildbot
02:07
aakashjain has quit [Ping timeout: 256 seconds]
02:19
aakashjain has joined #buildbot
02:21
aakashja_ has joined #buildbot
02:21
aakashjain has quit [Read error: Connection reset by peer]
02:26
aakashja_ has quit [Ping timeout: 260 seconds]
02:31
aakashjain has joined #buildbot
02:34
aakashjain has quit [Read error: Connection reset by peer]
02:35
aakashjain has joined #buildbot
02:39
aakashjain has quit [Ping timeout: 256 seconds]
02:41
aakashjain has joined #buildbot
02:45
aakashjain has quit [Remote host closed the connection]
02:46
aakashjain has joined #buildbot
02:48
aakashjain has quit [Read error: Connection reset by peer]
02:48
aakashjain has joined #buildbot
02:53
aakashjain has quit [Ping timeout: 260 seconds]
03:01
aakashjain has joined #buildbot
03:02
aakashja_ has joined #buildbot
03:05
aakashjain has quit [Ping timeout: 260 seconds]
03:07
aakashja_ has quit [Ping timeout: 260 seconds]
03:08
aakashjain has joined #buildbot
03:15
aakashjain has quit [Ping timeout: 260 seconds]
03:27
aakashjain has joined #buildbot
03:31
aakashjain has quit [Ping timeout: 264 seconds]
03:37
aakashjain has joined #buildbot
03:42
aakashjain has quit [Ping timeout: 260 seconds]
03:54
aakashjain has joined #buildbot
03:58
aakashjain has quit [Ping timeout: 260 seconds]
04:11
aakashjain has joined #buildbot
04:18
aakashjain has quit [Ping timeout: 260 seconds]
04:19
aakashjain has joined #buildbot
04:20
aakashja_ has joined #buildbot
04:20
aakashjain has quit [Read error: Connection reset by peer]
04:24
aakashja_ has quit [Ping timeout: 260 seconds]
04:36
aakashjain has joined #buildbot
04:38
aakashjain has quit [Read error: Connection reset by peer]
04:38
aakashjain has joined #buildbot
04:42
aakashjain has quit [Ping timeout: 256 seconds]
04:47
aakashjain has joined #buildbot
04:51
aakashjain has quit [Ping timeout: 260 seconds]
05:06
aakashjain has joined #buildbot
05:10
aakashjain has quit [Ping timeout: 252 seconds]
05:23
aakashjain has joined #buildbot
05:28
aakashjain has quit [Ping timeout: 260 seconds]
05:37
aakashjain has joined #buildbot
05:39
aakashjain has quit [Read error: Connection reset by peer]
05:40
aakashjain has joined #buildbot
05:45
aakashjain has quit [Ping timeout: 260 seconds]
05:56
aakashjain has joined #buildbot
06:00
aakashjain has quit [Ping timeout: 252 seconds]
06:29
aakashjain has joined #buildbot
06:34
aakashjain has quit [Ping timeout: 260 seconds]
06:41
aakashjain has joined #buildbot
06:46
aakashjain has quit [Ping timeout: 252 seconds]
06:50
aakashjain has joined #buildbot
06:54
aakashjain has quit [Ping timeout: 260 seconds]
07:00
aakashjain has joined #buildbot
07:05
aakashjain has quit [Ping timeout: 260 seconds]
07:22
aakashjain has joined #buildbot
07:27
aakashjain has quit [Ping timeout: 252 seconds]
07:39
aakashjain has joined #buildbot
07:44
aakashjain has quit [Ping timeout: 260 seconds]
07:52
aakashjain has joined #buildbot
07:56
aakashjain has quit [Ping timeout: 255 seconds]
08:08
aakashjain has joined #buildbot
08:13
aakashjain has quit [Ping timeout: 260 seconds]
08:27
aakashjain has joined #buildbot
08:31
aakashjain has quit [Ping timeout: 255 seconds]
09:02
aakashjain has joined #buildbot
09:06
aakashjain has quit [Ping timeout: 256 seconds]
09:37
aakashjain has joined #buildbot
09:41
aakashjain has quit [Ping timeout: 255 seconds]
09:53
aakashjain has joined #buildbot
09:57
aakashjain has quit [Ping timeout: 260 seconds]
10:25
aakashjain has joined #buildbot
10:28
Nanoyaru has joined #buildbot
10:30
aakashjain has quit [Ping timeout: 260 seconds]
10:30
<
Nanoyaru >
How would one go about adding shell commands that need sourcing as a part of multiple step for eg:
10:30
<
Nanoyaru >
```python
10:30
<
Nanoyaru >
factory.addStep(
10:30
<
Nanoyaru >
steps.ShellCommand(
10:30
<
Nanoyaru >
command="eval `/usr/share/lmod/lmod/libexec/lmod use /opt_hpc/$MPSD_OS/$MPSD_MICROARCH/lmod/Core`",
10:30
<
Nanoyaru >
name=" use local modules",
10:30
<
Nanoyaru >
# module load toolchains/foss2021a-mpi
10:30
<
Nanoyaru >
factory.addStep(
10:30
<
Nanoyaru >
steps.ShellCommand(
10:30
<
Nanoyaru >
command=""eval `/usr/share/lmod/lmod/libexec/lmod load toolchains/foss2021a-{variant}`".format(
10:30
<
Nanoyaru >
variant=variant
10:30
<
Nanoyaru >
name=" load toolchain",
10:31
<
Nanoyaru >
One way would be to add all the steps into one shell step like:
10:31
<
Nanoyaru >
factory.addStep(
10:31
<
Nanoyaru >
steps.ShellCommand(
10:31
<
Nanoyaru >
command="eval `/usr/share/lmod/lmod/libexec/lmod use /opt_hpc/$MPSD_OS/$MPSD_MICROARCH/lmod/Core` &&\ ",
10:31
<
Nanoyaru >
name=" use local modules",
10:34
<
Nanoyaru >
Sorry i mean like so :
10:34
<
Nanoyaru >
factory.addStep(
10:34
<
Nanoyaru >
steps.ShellCommand(
10:34
<
Nanoyaru >
command="eval `/usr/share/lmod/lmod/libexec/lmod use /opt_hpc/$MPSD_OS/$MPSD_MICROARCH/lmod/Core && module load toolchain && autoreconf -i && ./configure && make && make install`",
10:34
<
Nanoyaru >
name=" use local modules",
10:34
<
Nanoyaru >
But this is quite inefficient and hard to navigate. How would one go about making them into separate steps
10:35
<
cmouse >
just split it into separate stpes
10:35
<
cmouse >
not sure what the issue is
10:37
<
cmouse >
the rest are just about using ShellCommand with haltOnFailure=true
10:39
mark_ is now known as mjw
10:40
<
Nanoyaru >
the issue is that module use puts things in path, and if I split this into multiple steps, the path is not inherited so `module load toolchain` would fail as the new shell never had the paths set by `module use`
10:41
<
cmouse >
you can record a value from a step and then use it as env var on subsequent steps
10:41
<
Nanoyaru >
same with `make` as it uses the compilers loaded by the toolchain
10:42
aakashjain has joined #buildbot
10:42
<
cmouse >
either one of these would probably do the job
10:46
aakashjain has quit [Ping timeout: 260 seconds]
11:00
aakashjain has joined #buildbot
11:04
aakashjain has quit [Ping timeout: 260 seconds]
11:18
aakashjain has joined #buildbot
11:18
aakashjain has quit [Read error: Connection reset by peer]
11:21
aakashjain has joined #buildbot
11:26
aakashjain has quit [Ping timeout: 255 seconds]
11:53
aakashjain has joined #buildbot
12:04
aakashjain has quit [Remote host closed the connection]
12:05
aakashjain has joined #buildbot
12:05
aakashjain has quit [Read error: Connection reset by peer]
12:05
aakashjain has joined #buildbot
12:10
aakashjain has quit [Remote host closed the connection]
12:32
aakashjain has joined #buildbot
12:38
aakashjain has quit [Remote host closed the connection]
12:38
aakashjain has joined #buildbot
12:40
aakashjain has quit [Remote host closed the connection]
12:40
aakashjain has joined #buildbot
12:57
mjw has quit [Killed (NickServ (GHOST command used by wielaard!~mjw_@2001:1c06:2488:1400:9e5c:8eff:fe8f:a440))]
12:57
wielaard is now known as mjw
12:58
mark_ has joined #buildbot
13:44
aakashjain has quit [Remote host closed the connection]
14:23
aakashjain has joined #buildbot
14:39
Nanoyaru has quit [Quit: Client closed]
14:39
Nanoyaru has joined #buildbot
16:18
<
Nanoyaru >
Is there a way to change workdir for all subsequent steps in a factory
16:29
Nanoyaru has quit [Ping timeout: 260 seconds]
18:37
aakashjain has quit [Remote host closed the connection]
19:28
vmeson is now known as JackHandey
19:28
JackHandey is now known as vmeson
19:38
<
dol-sen >
set a property and substitute it at each step is one way
19:39
<
dol-sen >
but tbh, it's been too long since I've been in the code
19:39
<
dol-sen >
might be an easier way
21:55
mjw has quit [Killed (NickServ (GHOST command used by mark_!~mark@gnu.wildebeest.org))]
21:55
mark_ is now known as mjw
21:55
wielaard has joined #buildbot
23:53
gordea has joined #buildbot