[med-svn] [Git][med-team/bbmap][master] 4 commits: autopkgtest-memory.patch: new: cap memory during autopkgtest.

Étienne Mollier (@emollier) gitlab at salsa.debian.org
Fri Nov 7 18:53:56 GMT 2025



Étienne Mollier pushed to branch master at Debian Med / bbmap


Commits:
351cd7c6 by Étienne Mollier at 2025-11-07T19:41:11+01:00
autopkgtest-memory.patch: new: cap memory during autopkgtest.

The memory cap should not affect regular user workloads.  This change
is brought to avoid hogging autopkgtest runners.

Closes: #1120170

- - - - -
914c6f3b by Étienne Mollier at 2025-11-07T19:45:26+01:00
d/control: drop redundant Rules-Requires-Root: no.

- - - - -
beaeec73 by Étienne Mollier at 2025-11-07T19:50:22+01:00
d/watch: convert to v5 SourceForge redirector.

- - - - -
e60e568a by Étienne Mollier at 2025-11-07T19:53:00+01:00
d/changelog: ready for upload to unstable.

- - - - -


5 changed files:

- debian/changelog
- debian/control
- + debian/patches/autopkgtest-memory.patch
- debian/patches/series
- debian/watch


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,13 @@
+bbmap (39.20+dfsg-3) unstable; urgency=medium
+
+  * autopkgtest-memory.patch: new: cap memory during autopkgtest.
+    The memory cap should not affect regular user workloads.  This change
+    is brought to avoid hogging autopkgtest runners. (Closes: #1120170)
+  * d/control: drop redundant Rules-Requires-Root: no.
+  * d/watch: convert to v5 SourceForge redirector.
+
+ -- Étienne Mollier <emollier at debian.org>  Fri, 07 Nov 2025 19:51:46 +0100
+
 bbmap (39.20+dfsg-2) unstable; urgency=medium
 
   * 32bit.patch: reduce java heap to 2000m.


=====================================
debian/control
=====================================
@@ -14,7 +14,6 @@ Standards-Version: 4.7.2
 Vcs-Browser: https://salsa.debian.org/med-team/bbmap
 Vcs-Git: https://salsa.debian.org/med-team/bbmap.git
 Homepage: https://sourceforge.net/projects/bbmap/
-Rules-Requires-Root: no
 
 Package: bbmap
 Architecture: all


=====================================
debian/patches/autopkgtest-memory.patch
=====================================
@@ -0,0 +1,22 @@
+Description: cap memory usage in autopkgtest context.
+ The default calculation method to reserve memory for the java runtime
+ environment causes excessive memory usage on ci.debian.net machines.
+Author: Étienne Mollier <emollier at debian.org>
+Bug-Debian: https://bugs.debian.org/1120170
+Forwarded: not-needed
+Last-Update: 2025-11-06
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- bbmap.orig/calcmem.sh
++++ bbmap/calcmem.sh
+@@ -214,6 +214,10 @@
+ 		   && [ "$RAM" -gt "2000" ]
+ 		then RAM="2000"
+ 		fi
++		# cap to 4GiB on shared autopkgtest resources (ci.debian.net).
++		if [ -n "$AUTOPKGTEST_TMP" ] && [ "$RAM" -gt "4000" ]
++		then RAM="4000"
++		fi
+ 		#echo $RAM
+ 	fi
+ 	#local z="-Xmx${RAM}m"


=====================================
debian/patches/series
=====================================
@@ -1,3 +1,4 @@
 debug_symbols.patch
 32bit.patch
 cppflags.patch
+autopkgtest-memory.patch


=====================================
debian/watch
=====================================
@@ -1,5 +1,8 @@
-version=4
-
-opts="repacksuffix=+dfsg,dversionmangle=s/\+dfsg//g,repack,compression=xz" \
-  https://sf.net/bbmap/BBMap_(\d[\d\.]+)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
+Version: 5
 
+Source: https://sf.net/bbmap/
+Matching-Pattern: BBMap_ at ANY_VERSION@@ARCHIVE_EXT@
+DVersion-Mangle: auto
+Repack-Suffix: +dfsg
+Repack: yes
+Compression: xz



View it on GitLab: https://salsa.debian.org/med-team/bbmap/-/compare/bd8dd5dce540ac08230939b2260fa78bf36b5c2e...e60e568a2bd1db89fb23aa951f1bebd80e7ad786

-- 
View it on GitLab: https://salsa.debian.org/med-team/bbmap/-/compare/bd8dd5dce540ac08230939b2260fa78bf36b5c2e...e60e568a2bd1db89fb23aa951f1bebd80e7ad786
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/debian-med-commit/attachments/20251107/cc98c089/attachment-0001.htm>


More information about the debian-med-commit mailing list