From c933e2f44026340912b51962645bf6fc754caed4 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Wed, 5 Jan 2022 08:36:22 +0100 Subject: [PATCH] Disable tests failing due to glibc rhbz#2033020 --- jakarta-mail.spec | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/jakarta-mail.spec b/jakarta-mail.spec index cbecb87..26b2f92 100644 --- a/jakarta-mail.spec +++ b/jakarta-mail.spec @@ -1,6 +1,6 @@ Name: jakarta-mail Version: 1.6.5 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Jakarta Mail API License: EPL-2.0 or GPLv2 with exceptions URL: https://github.com/eclipse-ee4j/mail @@ -69,7 +69,16 @@ sed -i "/-Werror/d" mail/pom.xml %build # skip javadoc build due to https://github.com/fedora-java/xmvn/issues/58 -%mvn_build -j +# +# XXX 2022-01-05 disable tests for now due to issue with DNS resolution caused by glibc change. +# Tests fail with: java.net.UnknownHostException: myhostname: Temporary failure in name resolution +# Simple reproducer: echo 'java.net.InetAddress.getLocalHost();' | jshell -s +# Until glibc-2.34.9000-27.fc36 jakarta-mail tests pass. +# Starting with glibc-2.34.9000-28.fc36 jakarta-mail tests fail. +# Related bugs: +# https://bugzilla.redhat.com/show_bug.cgi?id=2023741 +# https://bugzilla.redhat.com/show_bug.cgi?id=2033020 +%mvn_build -j -f %install %mvn_install @@ -79,6 +88,9 @@ sed -i "/-Werror/d" mail/pom.xml %doc README.md %changelog +* Wed Jan 05 2022 Mikolaj Izdebski - 1.6.5-6 +- Disable tests failing due to glibc rhbz#2033020 + * Tue Nov 02 2021 Mikolaj Izdebski - 1.6.5-5 - Fix build with OpenJDK 17