[Git][java-team/jtreg7][master] 2 commits: Flush alarm output to prevent sporadic test failures.

Tony Mancill (@tmancill) gitlab at salsa.debian.org
Thu Aug 7 18:37:43 BST 2025



Tony Mancill pushed to branch master at Debian Java Maintainers / jtreg7


Commits:
e8a6cb8c by tony mancill at 2025-08-07T08:58:50-07:00
Flush alarm output to prevent sporadic test failures.

- - - - -
549a67e5 by tony mancill at 2025-08-07T10:03:31-07:00
Prepare changelog for upload

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/flush-alarm.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,5 +1,6 @@
-jtreg7 (7.5.2+1+ds1-1) UNRELEASED; urgency=medium
+jtreg7 (7.5.2+1+ds1-1) unstable; urgency=medium
 
+  [ Vladimir Petko ]
   * New upstream release 7.5.2+1.
     - d/watch: set major jtreg version to 7, update junit5 download
       url.
@@ -11,6 +12,9 @@ jtreg7 (7.5.2+1+ds1-1) UNRELEASED; urgency=medium
   * Add lintian overrides.
   * d/copyright: update FSF address.
 
+  [ tony mancill ]
+  * Add flush-alarm.patch
+
  -- Vladimir Petko <vladimir.petko at canonical.com>  Mon, 04 Aug 2025 10:39:03 +1200
 
 jtreg7 (7.5.1+1+ds1-3) unstable; urgency=medium


=====================================
debian/patches/flush-alarm.patch
=====================================
@@ -0,0 +1,15 @@
+Description: Flush alarm output
+ Addresses sporadic FTBFS during builds on some systems related
+ to 'missing "Timeout signalled" action timeout message' errors.
+Author: Vladimir Petko <vladimir.petko at canonical.com>
+Forwarded: not-needed
+--- a/src/share/classes/com/sun/javatest/regtest/agent/Alarm.java
++++ b/src/share/classes/com/sun/javatest/regtest/agent/Alarm.java
+@@ -147,6 +147,7 @@
+             } else if (count % 100 == 0) {
+                 msgOut.println(String.format("Timeout refired %d times", count));
+             }
++            msgOut.flush();
+         }
+         count++;
+         fired = true;


=====================================
debian/patches/series
=====================================
@@ -27,3 +27,4 @@ testng-build-with-gradle.patch
 jtdiff-version.patch
 java21-codetools-7903646.patch
 preview-test.patch
+flush-alarm.patch



View it on GitLab: https://salsa.debian.org/java-team/jtreg7/-/compare/c9bb528ebb133a7f542680028a03700e7d0db97c...549a67e50905b853bcc54f5fbfe62c021a5dbcef

-- 
View it on GitLab: https://salsa.debian.org/java-team/jtreg7/-/compare/c9bb528ebb133a7f542680028a03700e7d0db97c...549a67e50905b853bcc54f5fbfe62c021a5dbcef
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/pkg-java-commits/attachments/20250807/7e8ed409/attachment.htm>


More information about the pkg-java-commits mailing list