GNU bug report logs - #59905
3.8: test suite is failing

Previous Next

Package: diffutils;

Reported by: Tomasz Kłoczko <kloczko.tomasz <at> gmail.com>

Date: Thu, 8 Dec 2022 14:02:02 UTC

Severity: normal

Found in version 3.8

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Tomasz Kłoczko <kloczko.tomasz <at> gmail.com>
Subject: bug#59905: closed (Re: [bug-diffutils] bug#59905: 3.8: test suite
 is failing)
Date: Tue, 17 Jan 2023 00:10:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#59905: 3.8: test suite is failing

which was filed against the diffutils package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 59905 <at> debbugs.gnu.org.

-- 
59905: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59905
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Jim Meyering <jim <at> meyering.net>
To: Tomasz Kłoczko <kloczko.tomasz <at> gmail.com>
Cc: 59905-done <at> debbugs.gnu.org
Subject: Re: [bug-diffutils] bug#59905: 3.8: test suite is failing
Date: Mon, 16 Jan 2023 16:08:45 -0800
[Message part 3 (text/plain, inline)]
On Thu, Dec 8, 2022 at 6:02 AM Tomasz Kłoczko <kloczko.tomasz <at> gmail.com> wrote:
> Looks like test suite is failing>
...
> FAIL: colors
> ============
Thanks for reporting that a single test is failing.
...
> BTW is it any chance to flush currently accumulated commits and make a new version?

Not sure what you mean by currently accumulated commits and making a
new version.
This does not merit a new version. If you've created local commits and
want to delete them
so you can make a new version yourself, you can either clone again to
start from scratch
or discard e.g., the topmost commit along with any uncommitted changes
by running this:

  git reset --hard HEAD^

The issue you found is due to a problem solely with the test, not with
how diff works.
The attached fix makes it so this small test now also passes, even
with newer GNU make.
[diff-color-nit.txt (text/plain, attachment)]
[Message part 5 (message/rfc822, inline)]
From: Tomasz Kłoczko <kloczko.tomasz <at> gmail.com>
To: bug-diffutils <at> gnu.org
Subject: 3.8: test suite is failing
Date: Thu, 8 Dec 2022 14:01:13 +0000
[Message part 6 (text/plain, inline)]
Hi,

Looks like test suite is failing

+ cd diffutils-3.8
+ /usr/bin/make -O -j48 V=1 VERBOSE=1 check
if test -d ./.git                               \
        && git --version >/dev/null 2>&1; then                  \
  cd . &&                                               \
  git submodule --quiet foreach                                 \
      'test "$(git rev-parse "$sha1")"                  \
          = "$(git merge-base origin "$sha1")"'         \
    || { echo 'maint.mk: found non-public submodule commit' >&2;        \
         exit 1; };                                             \
else                                                            \
  : ;                                                           \
fi
Making check in lib
/usr/bin/make  check-am
Making check in src
/usr/bin/make  check-am
make[2]: Nothing to be done for 'check-am'.
Making check in tests
/usr/bin/make  check-TESTS
make[3]: Entering directory
'/home/tkloczko/rpmbuild/BUILD/diffutils-3.8/tests'
PASS: bignum
make[3]: Leaving directory
'/home/tkloczko/rpmbuild/BUILD/diffutils-3.8/tests'
make[3]: Entering directory
'/home/tkloczko/rpmbuild/BUILD/diffutils-3.8/tests'
PASS: colliding-file-names
make[3]: Leaving directory
'/home/tkloczko/rpmbuild/BUILD/diffutils-3.8/tests'
make[3]: Entering directory
'/home/tkloczko/rpmbuild/BUILD/diffutils-3.8/tests'
PASS: excess-slash
make[3]: Leaving directory
'/home/tkloczko/rpmbuild/BUILD/diffutils-3.8/tests'
make[3]: Entering directory
'/home/tkloczko/rpmbuild/BUILD/diffutils-3.8/tests'
PASS: stdin
make[3]: Leaving directory
'/home/tkloczko/rpmbuild/BUILD/diffutils-3.8/tests'
make[3]: Entering directory
'/home/tkloczko/rpmbuild/BUILD/diffutils-3.8/tests'
PASS: brief-vs-stat-zero-kernel-lies
make[3]: Leaving directory
'/home/tkloczko/rpmbuild/BUILD/diffutils-3.8/tests'
make[3]: Entering directory
'/home/tkloczko/rpmbuild/BUILD/diffutils-3.8/tests'
PASS: invalid-re
make[3]: Leaving directory
'/home/tkloczko/rpmbuild/BUILD/diffutils-3.8/tests'
make[3]: Entering directory
'/home/tkloczko/rpmbuild/BUILD/diffutils-3.8/tests'
PASS: ignore-matching-lines
make[3]: Leaving directory
'/home/tkloczko/rpmbuild/BUILD/diffutils-3.8/tests'
make[3]: Entering directory
'/home/tkloczko/rpmbuild/BUILD/diffutils-3.8/tests'
PASS: new-file
make[3]: Leaving directory
'/home/tkloczko/rpmbuild/BUILD/diffutils-3.8/tests'
make[3]: Entering directory
'/home/tkloczko/rpmbuild/BUILD/diffutils-3.8/tests'
PASS: function-line-vs-leading-space
make[3]: Leaving directory
'/home/tkloczko/rpmbuild/BUILD/diffutils-3.8/tests'
make[3]: Entering directory
'/home/tkloczko/rpmbuild/BUILD/diffutils-3.8/tests'
PASS: label-vs-func
make[3]: Leaving directory
'/home/tkloczko/rpmbuild/BUILD/diffutils-3.8/tests'
make[3]: Entering directory
'/home/tkloczko/rpmbuild/BUILD/diffutils-3.8/tests'
PASS: strcoll-0-names
make[3]: Leaving directory
'/home/tkloczko/rpmbuild/BUILD/diffutils-3.8/tests'
make[3]: Entering directory
'/home/tkloczko/rpmbuild/BUILD/diffutils-3.8/tests'
PASS: basic
make[3]: Leaving directory
'/home/tkloczko/rpmbuild/BUILD/diffutils-3.8/tests'
make[3]: Entering directory
'/home/tkloczko/rpmbuild/BUILD/diffutils-3.8/tests'
PASS: diff3
make[3]: Leaving directory
'/home/tkloczko/rpmbuild/BUILD/diffutils-3.8/tests'
make[3]: Entering directory
'/home/tkloczko/rpmbuild/BUILD/diffutils-3.8/tests'
PASS: no-newline-at-eof
make[3]: Leaving directory
'/home/tkloczko/rpmbuild/BUILD/diffutils-3.8/tests'
make[3]: Entering directory
'/home/tkloczko/rpmbuild/BUILD/diffutils-3.8/tests'
PASS: filename-quoting
make[3]: Leaving directory
'/home/tkloczko/rpmbuild/BUILD/diffutils-3.8/tests'
make[3]: Entering directory
'/home/tkloczko/rpmbuild/BUILD/diffutils-3.8/tests'
FAIL: colors
make[3]: Leaving directory
'/home/tkloczko/rpmbuild/BUILD/diffutils-3.8/tests'
make[3]: Entering directory
'/home/tkloczko/rpmbuild/BUILD/diffutils-3.8/tests'
XFAIL: large-subopt
make[3]: Leaving directory
'/home/tkloczko/rpmbuild/BUILD/diffutils-3.8/tests'
make[3]: Entering directory
'/home/tkloczko/rpmbuild/BUILD/diffutils-3.8/tests'
PASS: no-dereference
make[3]: Leaving directory
'/home/tkloczko/rpmbuild/BUILD/diffutils-3.8/tests'
make[3]: Entering directory
'/home/tkloczko/rpmbuild/BUILD/diffutils-3.8/tests'
PASS: binary
make[3]: Leaving directory
'/home/tkloczko/rpmbuild/BUILD/diffutils-3.8/tests'
make[3]: Entering directory
'/home/tkloczko/rpmbuild/BUILD/diffutils-3.8/tests'
PASS: cmp
make[3]: Leaving directory
'/home/tkloczko/rpmbuild/BUILD/diffutils-3.8/tests'
make[3]: Entering directory
'/home/tkloczko/rpmbuild/BUILD/diffutils-3.8/tests'
PASS: help-version
make[3]: Leaving directory
'/home/tkloczko/rpmbuild/BUILD/diffutils-3.8/tests'
make[3]: Entering directory
'/home/tkloczko/rpmbuild/BUILD/diffutils-3.8/tests'
PASS: strip-trailing-cr
make[3]: Leaving directory
'/home/tkloczko/rpmbuild/BUILD/diffutils-3.8/tests'
make[3]: Entering directory
'/home/tkloczko/rpmbuild/BUILD/diffutils-3.8/tests'
=============================================
   GNU diffutils 3.8: tests/test-suite.log
=============================================

# TOTAL: 22
# PASS:  20
# SKIP:  0
# XFAIL: 1
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

XFAIL: large-subopt
===================

XFAIL large-subopt (exit status: 1)

FAIL: colors
============

diff: standard output: Broken pipe
FAIL colors (exit status: 1)

============================================================================
Testsuite summary for GNU diffutils 3.8
============================================================================
# TOTAL: 22
# PASS:  20
# SKIP:  0
# XFAIL: 1
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log
Please report to bug-diffutils <at> gnu.org
============================================================================

Please let me know if you need more details.

BTW is it any chance to flush currently accumulated commits and make a new
version?

kloczek
-- 
Tomasz Kłoczko | LinkedIn: *http://lnkd.in/FXPWxH <http://lnkd.in/FXPWxH>*
[Message part 7 (text/html, inline)]

This bug report was last modified 2 years and 118 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.