#1121113 openjdk-26: Add loong64 to disabled running check lists

#1121113#5
Date:
2025-11-21 06:27:19 UTC
From:
To:
Dear maintainers,

Compiling the openjdk-26 failed for loong64 in the Debian Package
Auto-Building environment.
The error log is as follows,
```
......
Passed: compiler/loopopts/TestPartialPeelAtUnsignedTests.java
Error:
compiler/loopopts/TestPartialPeelAtUnsignedTestsNegativeLimit.java#Xbatch
Error:
compiler/loopopts/TestPartialPeelAtUnsignedTestsNegativeLimit.java#Xcomp-compile-test
Error:
compiler/loopopts/TestPartialPeelAtUnsignedTestsNegativeLimit.java#Xcomp-run-inline
Passed: compiler/loopopts/TestPartialPeelingAtSingleInputRegion.java
Passed: compiler/loopopts/TestPeelingNeverEnteredLoop.java
FAILED: compiler/loopopts/TestPeelingSkeletonPredicateInitialization.java
Passed: compiler/loopopts/TestPhaseCFGNeverBranchToGotoMain.java#id0
Passed: compiler/loopopts/TestPhaseCFGNeverBranchToGotoMain.java#id1
FAILED: compiler/loopopts/TestPredicateInputBelowLoopPredicate.java
Passed: compiler/loopopts/TestPreMainPostFallInEdges.java
Passed: compiler/loopopts/TestRCEAfterUnrolling.java
FAILED: compiler/loopopts/TestReassociateInvariants.java
......
```
The full build log can be found at
https://buildd.debian.org/status/fetch.php?pkg=openjdk-26&arch=loong64&ver=26%7E22ea-2&stamp=1762629065&raw=0.
Please consider the patch I attached.
Currently, OpenJDK can only be built with the Zero variant on loong64.
I have built openjdk-26 successfully on locally.
Your opinions are welcome.

Best regards,
Dandan Zhang

#1121113#10
Date:
2025-11-29 14:43:09 UTC
From:
To:
Please don't disable the tests anymore, at least you want to become a
release architecture ...

Please just disable the tests which are timing out.

#1121113#15
Date:
2025-11-29 14:43:09 UTC
From:
To:
Please don't disable the tests anymore, at least you want to become a
release architecture ...

Please just disable the tests which are timing out.

#1121113#20
Date:
2025-12-14 22:05:29 UTC
From:
To:
Hi,

Unfortunately I do not have access to loong64 architecture. Could you
please identify failing tests and add those to
debian/tests/problems.csv.
The format of the file: Test,Bug,Comment,Packages,Arch,Release.

For loong64 tests failing in openjdk-26 the lines could look line
---
FAILED: java/foreign/StdLibTest.java,<link to upstream bug, optional>,
Short summary of the issue,:openjdk-26,:loong64,:release-all
---
Best Regards,
 Vladimir.

#1121113#25
Date:
2025-12-15 09:29:59 UTC
From:
To:
Hi Vladimir,

Debian Developers can use shenzhou.debian.net, see:

https://db.debian.org/machines.cgi?host=shenzhou

Everyone else can use the loong64 machines in the GCC compile farm:

https://gcc.gnu.org/wiki/CompileFarm

Adrian

#1121113#30
Date:
2025-12-15 09:46:12 UTC
From:
To:
On Sat, 29 Nov 2025 15:43:09 +0100 Matthias Klose wrote:
 > Control: tags -1 - patch
 >
 > Please don't disable the tests anymore, at least you want to become a

 > release architecture ...

Please consider adding loong64 to this arch lists.

  with_check = $(if $(findstring nocheck, $(DEB_BUILD_OPTIONS)),,yes)
-ifneq (,$(filter $(DEB_HOST_ARCH), alpha arc armel mipsel mips64el 
powerpc riscv64 x32))
+ifneq (,$(filter $(DEB_HOST_ARCH), alpha arc armel loong64 mipsel
mips64el powerpc riscv64 x32))
    with_check = disabled running check on $(DEB_HOST_ARCH)
  endif

For openjdk-21 21.0.10~4ea-1, you removed loong64 from above lists.
https://buildd.debian.org/status/logs.php?pkg=openjdk-21&arch=loong64

Since penjdk-26 26~21ea-1, you removed loong64 from above lists.
https://buildd.debian.org/status/logs.php?pkg=openjdk-26&arch=loong64

Currently, OpenJDK can only be built with the Zero variant on loong64.

Thanks.

#1121113#35
Date:
2026-01-20 05:53:48 UTC
From:
To:
again, please don't just disable running the tests. Please provide an
exclude list not to run problematic tests.

#1121113#40
Date:
2026-01-20 08:30:01 UTC
From:
To:
Hi Dandan,

Matthias is absolutely right! Turning off all tests might be okay for Debian Ports,
it's definitely not okay for Debian's release architectures.

Please follow Vladimir's advise and add the failing tests to debian/tests/problems.csv.

Adrian

#1121113#45
Date:
2026-01-31 20:26:32 UTC
From:
To:
Hi,

It seems that there is no native LoongArch64 acceleration in openjdk, so tests
involving massive loops will take very long to finish. I have kept the build
running for 36 hours and found out the following tests should be omitted to
make openjdk tests overcome the default 150 min of stalled package timeout
of sbuild.

serviceability/jvmti/thread/SuspendThreadList/suspendthrdlst01/suspendthrdlst01.java
serviceability/jvmti/thread/ResumeThreadList/resumethrdlst02/resumethrdlst02.java
serviceability/jvmti/thread/SuspendThread/suspendthrd01/suspendthrd01.java
serviceability/jvmti/thread/ResumeThreadList/resumethrdlst01/resumethrdlst01.java
serviceability/jvmti/thread/ResumeThread/resumethrd02/resumethrd02.java
serviceability/jvmti/thread/ResumeThread/resumethrd01/resumethrd01.java
serviceability/jvmti/thread/GetThreadState/thrstat02/thrstat02.java
serviceability/jvmti/thread/GetCurrentContendedMonitor/contmon02/contmon02.java
serviceability/jvmti/thread/GetCurrentContendedMonitor/contmon01/contmon01.java
serviceability/jvmti/SuspendWithCurrentThread/SuspendWithCurrentThread.java
runtime/NMT/SummaryDiffThreadCount.java
runtime/lockStack/TestStackWalk.java
compiler/loopopts/TestRemoveEmptyLoop.java
jdk/internal/shellsupport/doc/JavadocHelperTest.java

The following two tests also take relative long time to finish. If disabling
the above tests is not enough to finish the compile on the buildd machines, these
can also be disabled.

compiler/intrinsics/sha/TestDigest.java
serviceability/jvmti/vthread/PopFrameTest/PopFrameTest.java

Cheers,

Miao Wang

#1121113#50
Date:
2026-01-31 21:20:30 UTC
From:
To:
Hello Miao,

Would you mind sending a patch for the Debian package?

You can open a pull request on Salsa [1].

Adrian

#1121113#55
Date:
2026-02-01 09:22:57 UTC
From:
To:
the rules file starts a buildwatch.sh to avoid that. Do you know why it
would not be working?

Matthias

#1121113#60
Date:
2026-02-02 12:47:14 UTC
From:
To:
Hi,

I have opened https://salsa.debian.org/openjdk-team/openjdk/-/merge_requests/253

Cheers,

Miao Wang

#1121113#65
Date:
2026-02-07 09:00:37 UTC
From:
To:
Hi,

I have no idea why this mail failed to arrive in my mailbox. buildwatch.sh
is not relevant to this problem since it only works during the build stage
but the timeout happens during executing the tests.

Cheers,

Miao Wang