[Git][qa/jenkins.debian.net][master] reproducible Debian: use systemd-run to set MemoryMax=4G when running diffoscope

Holger Levsen (@holger) gitlab at salsa.debian.org
Wed Oct 4 11:35:52 BST 2023



Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
2262f8d1 by Holger Levsen at 2023-10-04T12:35:40+02:00
reproducible Debian: use systemd-run to set MemoryMax=4G when running diffoscope

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


1 changed file:

- bin/reproducible_build.sh


Changes:

=====================================
bin/reproducible_build.sh
=====================================
@@ -390,7 +390,8 @@ call_diffoscope_on_changes_files() {
 	##dbd 	--run-session \
 	##dbd 	-c "$session" \
 	##dbd 	-- sh -c "export TMPDIR=$TEMP ; timeout $TIMEOUT diffoscope \
-	( timeout 155m nice sh -c "export TMPDIR=$TEMP ; cd $TMPDIR ; timeout $TIMEOUT ionice -n 6 diffoscope \
+	( timeout 155m nice sh -c "export TMPDIR=$TEMP ; cd $TMPDIR ; timeout $TIMEOUT ionice -n 6 \
+			systemd-run --scope -p MemoryMax=4G --user diffoscope \
 			${DIFFOSCOPE_TIMEOUT-} \
 			${DIFFOSCOPE_OUTPUT} \
 			--profile=- \



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/2262f8d1c182683e6fd84f134459326e02c6b876

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/2262f8d1c182683e6fd84f134459326e02c6b876
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20231004/eb47078f/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list