Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 804103 - [TEST] dev-util/diffoscope-178 - E AssertionError: --- diffoscope/.../macho.py 2021-07-16 14:22:46 +0000
Summary: [TEST] dev-util/diffoscope-178 - E AssertionError: --- diffoscope/.../macho.p...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sam James
URL:
Whiteboard:
Keywords: TESTFAILURE, UPSTREAM
Depends on: 812812
Blocks:
  Show dependency tree
 
Reported: 2021-07-25 08:39 UTC by Toralf Förster
Modified: 2021-10-09 06:41 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,15.83 KB, text/plain)
2021-07-25 08:39 UTC, Toralf Förster
Details
dev-util:diffoscope-178:20210725-035210.log (dev-util:diffoscope-178:20210725-035210.log,273.49 KB, text/plain)
2021-07-25 08:39 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,201.72 KB, text/plain)
2021-07-25 08:39 UTC, Toralf Förster
Details
environment (environment,115.19 KB, text/plain)
2021-07-25 08:39 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,16.11 KB, application/x-bzip)
2021-07-25 08:39 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,117.99 KB, application/x-bzip)
2021-07-25 08:39 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-07-25 08:39:16 UTC
    
>       assert not output, output
E       AssertionError: --- diffoscope/comparators/macho.py	2021-07-16 14:22:46 +0000
E         +++ diffoscope/comparators/macho.py	2021-07-25 03:52:26.111404 +0000
E         @@ -222,46 +222,46 @@
E                      return b""
E                  return line

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-j3_test-20210722-112048

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.1.0 *
clang version 12.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.1
Python 3.9.6
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.53.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
  HEAD of ::gentoo
commit 93f10151d53f23c1b2c5fa933528c33c8627d81a
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Jul 25 03:06:57 2021 +0000

    2021-07-25 03:06:56 UTC

emerge -qpvO dev-util/diffoscope
[ebuild  N    ] dev-util/diffoscope-178  USE="acl bzip2 diff gif lzma test zlib -R -binutils -colord -cpio -docx -dtc -e2fsprogs -file -find -gettext -gpg -haskell -hdf5 -hex -imagemagick -iso -java -libcaca -llvm -mono -opendocument -pascal -pdf -postscript -rpm -sqlite -squashfs -ssh -tar -tcpdump -zip -zstd" PYTHON_TARGETS="python3_9 -python3_10 -python3_8"
Comment 1 Toralf Förster gentoo-dev 2021-07-25 08:39:18 UTC
Created attachment 726736 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-07-25 08:39:20 UTC
Created attachment 726739 [details]
dev-util:diffoscope-178:20210725-035210.log
Comment 3 Toralf Förster gentoo-dev 2021-07-25 08:39:22 UTC
Created attachment 726742 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-07-25 08:39:23 UTC
Created attachment 726745 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-07-25 08:39:24 UTC
Created attachment 726748 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-07-25 08:39:26 UTC
Created attachment 726751 [details]
temp.tar.bz2
Comment 7 Jonathan Lovelace 2021-09-16 21:45:33 UTC
Perhaps more relevant than "E AssertionError: --- diffoscope/.../macho.py 2021-07-16 14:22:46 +0000" is that this is a failure of the test "test_code_is_black_clean". 

I'm seeing a failure of this same test in diffoscope-180. (I can provide my emerge --info if you like.)

From a look at the Git history upstream, it looks like the fix for these Black failures is included in version 182 (commit 4161f7fc69ddee2ace6da4464d3fe5ae7e5842fc). With that commit in my /etc/portage/patches diffoscope-180 passes its tests.
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-09-17 02:57:28 UTC
(In reply to Jonathan Lovelace from comment #7)
> Perhaps more relevant than "E AssertionError: --- diffoscope/.../macho.py
> 2021-07-16 14:22:46 +0000" is that this is a failure of the test
> "test_code_is_black_clean". 
> 
> I'm seeing a failure of this same test in diffoscope-180. (I can provide my
> emerge --info if you like.)
> 
> From a look at the Git history upstream, it looks like the fix for these
> Black failures is included in version 182 (commit
> 4161f7fc69ddee2ace6da4464d3fe5ae7e5842fc). With that commit in my
> /etc/portage/patches diffoscope-180 passes its tests.

Thank you!