From fd929804e709c8c2996c7b5b4f16bc775fef61d8 Mon Sep 17 00:00:00 2001 From: Todd Zullinger Date: Wed, 30 May 2018 14:22:59 -0400 Subject: [PATCH] Disable jgit tests on s390x, they're unreliable Specifically, t5512-ls-remote.sh has a test which starts a jgit daemon. This has failed to exit on a number of occasions, only on s390x. We could disable just that test with "GIT_SKIP_TESTS=t5512.28", but the test number can and does change as more ls-remote tests are added. Dropping the jgit BuildRequires is cleaner and only causes 3 tests to be skipped, the offending t5512 test and two others in t5310-pack-bitmaps. Access to s390x might help better debug this, but it does not occur consistently and may be limited to koji. The issue could be a problem in jgit as well. While looking at a hung build, Kevin Fenzi found a few errors in t5512-ls-remote.out: /usr/bin/build-classpath: Could not find xz-java Java extension for this JVM /usr/bin/build-classpath: error: Some specified jars were not found --- git.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/git.spec b/git.spec index 5680176..09c5f63 100644 --- a/git.spec +++ b/git.spec @@ -189,7 +189,7 @@ BuildRequires: gnupg BuildRequires: highlight %endif BuildRequires: httpd -%if 0%{?fedora} +%if 0%{?fedora} && %{_arch} != s390x BuildRequires: jgit %endif BuildRequires: mod_dav_svn @@ -899,6 +899,7 @@ make test || ./print-failed-test-output %changelog * Wed May 30 2018 Todd Zullinger - 2.17.1-3 - Use %%apply_patch for aarch64 zlib patch, return to %%autosetup +- Disable jgit tests on s390x, they're unreliable * Tue May 29 2018 Todd Zullinger - 2.17.1-2 - packfile: Correct zlib buffer handling (#1582555)