Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 943393 - app-backup/borgmatic-1.9.1 fails test - E AssertionError: assert False is True
Summary: app-backup/borgmatic-1.9.1 fails test - E AssertionError: assert False is True
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-11-13 18:50 UTC by Toralf Förster
Modified: 2024-11-19 14:32 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.03 KB, text/plain)
2024-11-13 18:50 UTC, Toralf Förster
Details
app-backup:borgmatic-1.9.1:20241113-072131.log.xz (app-backup:borgmatic-1.9.1:20241113-072131.log.xz,22.96 KB, application/x-xz)
2024-11-13 18:50 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,166.29 KB, text/plain)
2024-11-13 18:50 UTC, Toralf Förster
Details
environment (environment,173.66 KB, text/plain)
2024-11-13 18:50 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.21 KB, application/x-xz)
2024-11-13 18:50 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,20.61 KB, application/x-xz)
2024-11-13 18:50 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,2.63 KB, application/x-xz)
2024-11-13 18:50 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,47.34 KB, application/x-xz)
2024-11-13 18:50 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,36.05 KB, application/x-xz)
2024-11-13 18:50 UTC, Toralf Förster
Details
tests.tar.xz (tests.tar.xz,64.47 KB, application/x-xz)
2024-11-13 18:51 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 2024-11-13 18:50:47 UTC
    def test_should_do_markup_respects_config_value():
        flexmock(module).should_receive('interactive_console').never()
        assert module.should_do_markup(no_color=False, configs={'foo.yaml': {'color': False}}) is False
    
        flexmock(module).should_receive('interactive_console').and_return(True).once()
>       assert module.should_do_markup(no_color=False, configs={'foo.yaml': {'color': True}}) is True
E       AssertionError: assert False is True
E        +  where False = <function should_do_markup at 0x7fbc12d03240>(no_color=False, configs={'foo.yaml': {'color': True}})
E        +    where <function should_do_markup at 0x7fbc12d03240> = module.should_do_markup

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_test-20241107-130503

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang version 19.1.3
llvm-config: 19.1.3
Python 3.12.7
go version go1.23.2 linux/amd64
  [1]   php8.3 *
Available Ruby profiles:
  [1]   ruby32 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.79.0
  [2]   rust-bin-1.81.0
  [3]   rust-bin-1.82.0
  [4]   rust-1.82.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
*)	Eclipse Temurin JDK 8.432_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-21 

The Glorious Glasgow Haskell Compilation System, version 9.2.8

  HEAD of ::gentoo
commit 82e92328da68213be74ef434c703daf8e8dca5d8
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Nov 13 06:03:38 2024 +0000

    2024-11-13 06:03:37 UTC

emerge -qpvO =app-backup/borgmatic-1.9.1
[ebuild  N    ] app-backup/borgmatic-1.9.1  USE="test -apprise" PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11 -python3_13"
Comment 1 Toralf Förster gentoo-dev 2024-11-13 18:50:48 UTC
Created attachment 908647 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-11-13 18:50:49 UTC
Created attachment 908648 [details]
app-backup:borgmatic-1.9.1:20241113-072131.log.xz
Comment 3 Toralf Förster gentoo-dev 2024-11-13 18:50:50 UTC
Created attachment 908649 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-11-13 18:50:54 UTC
Created attachment 908650 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-11-13 18:50:54 UTC
Created attachment 908651 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-11-13 18:50:55 UTC
Created attachment 908652 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-11-13 18:50:56 UTC
Created attachment 908653 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-11-13 18:50:57 UTC
Created attachment 908654 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-11-13 18:50:58 UTC
Created attachment 908655 [details]
temp.tar.xz
Comment 10 Toralf Förster gentoo-dev 2024-11-13 18:51:00 UTC
Created attachment 908656 [details]
tests.tar.xz
Comment 11 Petr Vaněk gentoo-dev 2024-11-19 08:27:15 UTC
The test fails because of the NO_COLOR="true" set in make.conf.
Comment 12 Larry the Git Cow gentoo-dev 2024-11-19 14:32:19 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9368d5cb64df9bc96794e3735f16cfc62a58300b

commit 9368d5cb64df9bc96794e3735f16cfc62a58300b
Author:     Petr Vaněk <arkamar@gentoo.org>
AuthorDate: 2024-11-19 09:09:42 +0000
Commit:     Petr Vaněk <arkamar@gentoo.org>
CommitDate: 2024-11-19 14:31:35 +0000

    app-backup/borgmatic: add 1.9.2
    
    - Deselect test_should_do_markup_respects_config_value as it expects
      unset NO_COLOR variable.
    
    Closes: https://bugs.gentoo.org/943393
    Signed-off-by: Petr Vaněk <arkamar@gentoo.org>

 app-backup/borgmatic/Manifest               |  1 +
 app-backup/borgmatic/borgmatic-1.9.2.ebuild | 85 +++++++++++++++++++++++++++++
 2 files changed, 86 insertions(+)