<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<meta content="text/html; charset=US-ASCII" http-equiv="Content-Type">
<title>
GitLab
</title>
<style>img {
max-width: 100%; height: auto;
}
</style>
</head>
<body>
<div class="content">
<h3>
Holger Levsen pushed to branch master
at <a href="https://salsa.debian.org/qa/jenkins.debian.net">Debian QA / jenkins.debian.net</a>
</h3>
<h4>
Commits:
</h4>
<ul>
<li>
<strong><a href="https://salsa.debian.org/qa/jenkins.debian.net/-/commit/dec83348292b246db75b2e75e347259fa7dabc00">dec83348</a></strong>
<div>
<span>by Holger Levsen</span>
<i>at 2020-09-23T17:02:28+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">reproducible trbo monitor: treat reproducible_build_archlinux_pkg.sh as remote job (only)
(even though diffoscope is run locally)
Signed-off-by: Holger Levsen <holger@layer-acht.org>
</pre>
</li>
</ul>
<h4>1 changed file:</h4>
<ul>
<li class="file-stats">
<a href="#25ca3adf2821c325ea034b2db5398d9e6ff24eef">
bin/jenkins-shell-monitor.sh
</a>
</li>
</ul>
<h4>Changes:</h4>
<li id="25ca3adf2821c325ea034b2db5398d9e6ff24eef">
<a href="https://salsa.debian.org/qa/jenkins.debian.net/-/commit/dec83348292b246db75b2e75e347259fa7dabc00#25ca3adf2821c325ea034b2db5398d9e6ff24eef"><strong>bin/jenkins-shell-monitor.sh</strong></a>
<hr>
<table class="code white" style="font-family: monospace; font-size: 90%;" bgcolor="#fff" width="100%" cellpadding="0" cellspacing="0">
<tr class="line_holder match" id="" style="line-height: 1.6;">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="40" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="40" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="padding-left: 0.5em; padding-right: 0.5em; color: rgba(0,0,0,0.3);" bgcolor="#fafafa">@@ -40,13 +40,13 @@ main_loop() {</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="40" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
40
</td>
<td class="diff-line-num new_line" data-linenumber="40" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
40
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC40" class="line" lang="shell"> <span class="nv" style="color: #008080;">SCHROOT_BASE_DIRS</span><span class="o" style="font-weight: 600;">=</span><span class="si" style="color: #d14;">$(</span>find /schroots/ <span class="nt" style="color: #000080;">-maxdepth</span> 1 <span class="nt" style="color: #000080;">-mindepth</span> 1 <span class="nt" style="color: #000080;">-type</span> d | <span class="nb" style="color: #0086b3;">wc</span> <span class="nt" style="color: #000080;">-l</span><span class="si" style="color: #d14;">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="41" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
41
</td>
<td class="diff-line-num new_line" data-linenumber="41" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
41
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC41" class="line" lang="shell"> <span class="nv" style="color: #008080;">DIFFOSCOPE_PROCS</span><span class="o" style="font-weight: 600;">=</span><span class="si" style="color: #d14;">$(</span><span class="nb" style="color: #0086b3;">grep</span> <span class="nt" style="color: #000080;">-c</span> <span class="s1" style="color: #d14;">'/usr/bin/python3 /usr/bin/diffoscope'</span> <span class="nv" style="color: #008080;">$PSFAX</span> <span class="o" style="font-weight: 600;">||</span> <span class="nb" style="color: #0086b3;">true</span><span class="si" style="color: #d14;">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="42" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
42
</td>
<td class="diff-line-num new_line" data-linenumber="42" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
42
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC42" class="line" lang="shell"> <span class="nv" style="color: #008080;">REPRO_JOBS</span><span class="o" style="font-weight: 600;">=</span><span class="si" style="color: #d14;">$(</span><span class="nb" style="color: #0086b3;">ls</span> ~jenkins/jobs/reproducible_<span class="k" style="font-weight: 600;">*</span> <span class="nt" style="color: #000080;">-1d</span> | <span class="nb" style="color: #0086b3;">wc</span> <span class="nt" style="color: #000080;">-l</span><span class="si" style="color: #d14;">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="43" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
43
</td>
<td class="diff-line-num new_line old" data-linenumber="43" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC43" class="line" lang="shell"> <span class="nv" style="color: #008080;">JOBS_RUNNING_TOTAL</span><span class="o" style="font-weight: 600;">=</span><span class="si" style="color: #d14;">$(</span><span class="nb" style="color: #0086b3;">grep</span> <span class="s1" style="color: #d14;">'_ /bin/bash /srv/jenkins/bin/'</span> <span class="nv" style="color: #008080;">$PSFAX</span> | egrep <span class="nt" style="color: #000080;">-v</span> <span class="s1" style="color: #d14;">'reproducible_worker.sh|reproducible_build.sh|jenkins-shell-monitor.sh'</span> | <span class="nb" style="color: #0086b3;">wc</span> <span class="nt" style="color: #000080;">-l</span><span class="si" style="color: #d14;">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="44" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="43" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
43
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC43" class="line" lang="shell"> <span class="nv" style="color: #008080;">JOBS_RUNNING_TOTAL</span><span class="o" style="font-weight: 600;">=</span><span class="si" style="color: #d14;">$(</span><span class="nb" style="color: #0086b3;">grep</span> <span class="s1" style="color: #d14;">'_ /bin/bash /srv/jenkins/bin/'</span> <span class="nv" style="color: #008080;">$PSFAX</span> | egrep <span class="nt" style="color: #000080;">-v</span> <span class="s1" style="color: #d14;">'reproducible_worker.sh|reproducible_build.sh|jenkins-shell-monitor.sh<span class="idiff left right">|reproducible_build_archlinux_pkg.sh</span>'</span> | <span class="nb" style="color: #0086b3;">wc</span> <span class="nt" style="color: #000080;">-l</span><span class="si" style="color: #d14;">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="44" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
44
</td>
<td class="diff-line-num new_line" data-linenumber="44" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
44
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC44" class="line" lang="shell"> <span class="k" style="font-weight: 600;">if</span> <span class="o" style="font-weight: 600;">[</span> <span class="nv" style="color: #008080;">$JOBS_RUNNING_TOTAL</span> <span class="nt" style="color: #000080;">-eq</span> 0 <span class="o" style="font-weight: 600;">]</span> <span class="p">;</span> <span class="k" style="font-weight: 600;">then</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="45" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
45
</td>
<td class="diff-line-num new_line" data-linenumber="45" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
45
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC45" class="line" lang="shell"><span class="k" style="font-weight: 600;"> </span><span class="nv" style="color: #008080;">JOBS_RUNNING_TOTAL</span><span class="o" style="font-weight: 600;">=</span><span class="s2" style="color: #d14;">"</span><span class="se" style="color: #d14;">\0</span><span class="s2" style="color: #d14;">33[91m</span><span class="nv" style="color: #008080;">$JOBS_RUNNING_TOTAL</span><span class="se" style="color: #d14;">\0</span><span class="s2" style="color: #d14;">33[0m"</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="46" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
46
</td>
<td class="diff-line-num new_line" data-linenumber="46" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
46
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC46" class="line" lang="shell"> <span class="k" style="font-weight: 600;">elif</span> <span class="o" style="font-weight: 600;">[</span> <span class="nv" style="color: #008080;">$JOBS_RUNNING_TOTAL</span> <span class="nt" style="color: #000080;">-lt</span> 10 <span class="o" style="font-weight: 600;">]</span> <span class="p">;</span> <span class="k" style="font-weight: 600;">then</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="47" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
47
</td>
<td class="diff-line-num new_line" data-linenumber="47" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
47
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC47" class="line" lang="shell"><span class="k" style="font-weight: 600;"> </span><span class="nv" style="color: #008080;">JOBS_RUNNING_TOTAL</span><span class="o" style="font-weight: 600;">=</span><span class="s2" style="color: #d14;">"</span><span class="se" style="color: #d14;">\0</span><span class="s2" style="color: #d14;">33[93m</span><span class="nv" style="color: #008080;">$JOBS_RUNNING_TOTAL</span><span class="se" style="color: #d14;">\0</span><span class="s2" style="color: #d14;">33[0m"</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="48" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
48
</td>
<td class="diff-line-num new_line" data-linenumber="48" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
48
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC48" class="line" lang="shell"> <span class="k" style="font-weight: 600;">fi</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="49" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
49
</td>
<td class="diff-line-num new_line old" data-linenumber="49" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC49" class="line" lang="shell"><span class="k" style="font-weight: 600;"> </span><span class="nv" style="color: #008080;">JOBS_RUNNING_LOCAL</span><span class="o" style="font-weight: 600;">=</span><span class="si" style="color: #d14;">$(</span><span class="nb" style="color: #0086b3;">grep</span> <span class="s1" style="color: #d14;">'_ /bin/bash /srv/jenkins/bin/'</span> <span class="nv" style="color: #008080;">$PSFAX</span> | egrep <span class="nt" style="color: #000080;">-v</span> <span class="s1" style="color: #d14;">'reproducible_worker.sh|reproducible_build.sh|jenkins-shell-monitor.sh|jenkins_master_wrapper.sh'</span> | <span class="nb" style="color: #0086b3;">wc</span> <span class="nt" style="color: #000080;">-l</span><span class="si" style="color: #d14;">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="50" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="49" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
49
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC49" class="line" lang="shell"><span class="k" style="font-weight: 600;"> </span><span class="nv" style="color: #008080;">JOBS_RUNNING_LOCAL</span><span class="o" style="font-weight: 600;">=</span><span class="si" style="color: #d14;">$(</span><span class="nb" style="color: #0086b3;">grep</span> <span class="s1" style="color: #d14;">'_ /bin/bash /srv/jenkins/bin/'</span> <span class="nv" style="color: #008080;">$PSFAX</span> | egrep <span class="nt" style="color: #000080;">-v</span> <span class="s1" style="color: #d14;">'reproducible_worker.sh|reproducible_build.sh|jenkins-shell-monitor.sh|<span class="idiff left right">reproducible_build_archlinux_pkg.sh|</span>jenkins_master_wrapper.sh'</span> | <span class="nb" style="color: #0086b3;">wc</span> <span class="nt" style="color: #000080;">-l</span><span class="si" style="color: #d14;">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="50" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
50
</td>
<td class="diff-line-num new_line" data-linenumber="50" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
50
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC50" class="line" lang="shell"> <span class="nv" style="color: #008080;">JOBS_RUNNING_REMOTE</span><span class="o" style="font-weight: 600;">=</span><span class="si" style="color: #d14;">$(</span><span class="nb" style="color: #0086b3;">grep</span> <span class="nt" style="color: #000080;">-c</span> jenkins_master_wrapper.sh <span class="nv" style="color: #008080;">$PSFAX</span> <span class="o" style="font-weight: 600;">||</span> <span class="nb" style="color: #0086b3;">true</span><span class="si" style="color: #d14;">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="51" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
51
</td>
<td class="diff-line-num new_line" data-linenumber="51" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
51
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC51" class="line" lang="shell"> <span class="nv" style="color: #008080;">REPRO_WORKERS</span><span class="o" style="font-weight: 600;">=</span><span class="si" style="color: #d14;">$(</span><span class="nb" style="color: #0086b3;">grep</span> <span class="nt" style="color: #000080;">-c</span> reproducible_worker.sh <span class="nv" style="color: #008080;">$PSFAX</span> <span class="o" style="font-weight: 600;">||</span> <span class="nb" style="color: #0086b3;">true</span><span class="si" style="color: #d14;">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="52" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
52
</td>
<td class="diff-line-num new_line" data-linenumber="52" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
52
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC52" class="line" lang="shell"> <span class="nv" style="color: #008080;">JENKINS_AGENTS</span><span class="o" style="font-weight: 600;">=</span><span class="si" style="color: #d14;">$(</span><span class="nb" style="color: #0086b3;">grep</span> <span class="nt" style="color: #000080;">-c</span> jenkins/agent.jar <span class="nv" style="color: #008080;">$PSFAX</span> <span class="o" style="font-weight: 600;">||</span> <span class="nb" style="color: #0086b3;">true</span><span class="si" style="color: #d14;">)</span></span>
</pre>
</td>
</tr>
</table>
<br>
</li>
</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #777;">
—
<br>
<a href="https://salsa.debian.org/qa/jenkins.debian.net/-/commit/dec83348292b246db75b2e75e347259fa7dabc00">View it on GitLab</a>.
<br>
You're receiving this email because of your account on salsa.debian.org.
If you'd like to receive fewer emails, you can
adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Commit","url":"https://salsa.debian.org/qa/jenkins.debian.net/-/commit/dec83348292b246db75b2e75e347259fa7dabc00"}}</script>
</p>
</div>
</body>
</html>