Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 734120

Summary: app-shells/bash-completion-2.11 fails tests: E assert <CompletionResult []>
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Shell Tools project <shell-tools>
Status: CONFIRMED ---    
Severity: normal CC: kingjon3377, paolo.pedroni, shell-tools
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
app-shells:bash-completion-2.11:20200727-171207.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2020-07-27 17:42:52 UTC
    def test_1(self, completion):
>       assert completion
E       assert <CompletionResult []>

../t/test_apache2ctl.py:7: AssertionError
_______________________________ TestSudo.test_1 ________________________________

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-libressl_test-20200721-185431

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.2.0 *
clang version 10.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.1
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.9 (fallback)
  [3]   python3.8 (fallback)
  [4]   python2.7 (fallback)
The following VMs are available for generation-2:
*)	IcedTea JDK 3.16.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.0.2

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Mon Jul 27 05:05:24 PM UTC 2020
/var/db/repos/libressl	Fri Jul 24 09:42:51 PM UTC 2020

emerge -qpvO app-shells/bash-completion
[ebuild     U ] app-shells/bash-completion-2.11 [2.10] USE="eselect test*"
Comment 1 Toralf Förster gentoo-dev 2020-07-27 17:42:58 UTC
Created attachment 651030 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-07-27 17:43:01 UTC
Created attachment 651032 [details]
app-shells:bash-completion-2.11:20200727-171207.log
Comment 3 Toralf Förster gentoo-dev 2020-07-27 17:43:05 UTC
Created attachment 651034 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-07-27 17:43:08 UTC
Created attachment 651036 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-07-27 17:43:11 UTC
Created attachment 651038 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-07-27 17:43:13 UTC
Created attachment 651040 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-07-27 17:43:17 UTC
Created attachment 651042 [details]
temp.tbz2
Comment 8 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-07-27 18:12:31 UTC
 I don't seem to be able to reproduce.
Comment 9 Paolo Pedroni 2020-09-03 12:55:26 UTC
I have plenty more (I think it depends on the programs installed on the system):

============================================================= FAILURES =============================================================
_______________________________________________________ TestIpv6calc.test_1 ________________________________________________________

self = <test_ipv6calc.TestIpv6calc object at 0x7f79fd908410>, completion = <CompletionResult []>

    @pytest.mark.complete("ipv6calc -", require_cmd=True)
    def test_1(self, completion):
>       assert "--action" in completion
E       AssertionError: assert '--action' in <CompletionResult []>

/var/tmp/portage/app-shells/bash-completion-2.11/work/bash-completion-2.11/test/t/test_ipv6calc.py:7: AssertionError
_______________________________________________________ TestIpv6calc.test_2 ________________________________________________________

self = <test_ipv6calc.TestIpv6calc object at 0x7f79fd897550>, completion = <CompletionResult []>

    @pytest.mark.complete("ipv6calc --in ", require_cmd=True)
    def test_2(self, completion):
>       assert completion
E       assert <CompletionResult []>

/var/tmp/portage/app-shells/bash-completion-2.11/work/bash-completion-2.11/test/t/test_ipv6calc.py:11: AssertionError
__________________________________________________________ TestK3b.test_2 __________________________________________________________

self = <test_k3b.TestK3b object at 0x7f79fd890290>, completion = <CompletionResult []>

    @pytest.mark.complete("k3b -", require_cmd=True)
    def test_2(self, completion):
>       assert completion
E       assert <CompletionResult []>

/var/tmp/portage/app-shells/bash-completion-2.11/work/bash-completion-2.11/test/t/test_k3b.py:11: AssertionError
________________________________________________________ TestMplayer.test_2 ________________________________________________________

self = <test_mplayer.TestMplayer object at 0x7f79fd5c5ad0>, completion = <CompletionResult []>

    @pytest.mark.complete("mplayer -h", require_cmd=True)
    def test_2(self, completion):
>       assert completion
E       assert <CompletionResult []>

/var/tmp/portage/app-shells/bash-completion-2.11/work/bash-completion-2.11/test/t/test_mplayer.py:12: AssertionError
________________________________________________________ TestSshAdd.test_2 _________________________________________________________

self = <test_ssh_add.TestSshAdd object at 0x7f79fd13fb50>, completion = <CompletionResult []>

    @pytest.mark.complete(
        "ssh-add -",
        require_cmd=True,
        xfail="ssh-add --help 2>&1 | "
        "command grep -qiF 'Could not open a connection'",
    )
    def test_2(self, completion):
>       assert completion
E       assert <CompletionResult []>

/var/tmp/portage/app-shells/bash-completion-2.11/work/bash-completion-2.11/test/t/test_ssh_add.py:17: AssertionError
===================================================== short test summary info ======================================================
FAILED test_ipv6calc.py::TestIpv6calc::test_1 - AssertionError: assert '--action' in <CompletionResult []>
FAILED test_ipv6calc.py::TestIpv6calc::test_2 - assert <CompletionResult []>
FAILED test_k3b.py::TestK3b::test_2 - assert <CompletionResult []>
FAILED test_mplayer.py::TestMplayer::test_2 - assert <CompletionResult []>
FAILED test_ssh_add.py::TestSshAdd::test_2 - assert <CompletionResult []>
========================== 5 failed, 1353 passed, 226 skipped, 11 xfailed, 5 xpassed in 922.57s (0:15:22) ==========================

or:
============================================================= FAILURES =============================================================
__________________________________________________________ TestK3b.test_2 __________________________________________________________

self = <test_k3b.TestK3b object at 0x7f9b54a65a10>, completion = <CompletionResult []>

    @pytest.mark.complete("k3b -", require_cmd=True)
    def test_2(self, completion):
>       assert completion
E       assert <CompletionResult []>

/var/tmp/portage/app-shells/bash-completion-2.11/work/bash-completion-2.11/test/t/test_k3b.py:11: AssertionError
________________________________________________________ TestMplayer.test_2 ________________________________________________________

self = <test_mplayer.TestMplayer object at 0x7f9b5492e890>, completion = <CompletionResult []>

    @pytest.mark.complete("mplayer -h", require_cmd=True)
    def test_2(self, completion):
>       assert completion
E       assert <CompletionResult []>

/var/tmp/portage/app-shells/bash-completion-2.11/work/bash-completion-2.11/test/t/test_mplayer.py:12: AssertionError
_______________________________________________________ TestSmbcacls.test_1 ________________________________________________________

self = <test_smbcacls.TestSmbcacls object at 0x7f9b5445bb10>, completion = <CompletionResult []>

    @pytest.mark.complete("smbcacls -", require_cmd=True)
    def test_1(self, completion):
>       assert completion
E       assert <CompletionResult []>

/var/tmp/portage/app-shells/bash-completion-2.11/work/bash-completion-2.11/test/t/test_smbcacls.py:7: AssertionError
_______________________________________________________ TestSmbclient.test_1 _______________________________________________________

self = <test_smbclient.TestSmbclient object at 0x7f9b543ea4d0>, completion = <CompletionResult []>

    @pytest.mark.complete("smbclient -", require_cmd=True)
    def test_1(self, completion):
>       assert completion
E       assert <CompletionResult []>

/var/tmp/portage/app-shells/bash-completion-2.11/work/bash-completion-2.11/test/t/test_smbclient.py:7: AssertionError
______________________________________________________ TestSmbcquotas.test_1 _______________________________________________________

self = <test_smbcquotas.TestSmbcquotas object at 0x7f9b543fdcd0>, completion = <CompletionResult []>

    @pytest.mark.complete("smbcquotas -", require_cmd=True)
    def test_1(self, completion):
>       assert completion
E       assert <CompletionResult []>

/var/tmp/portage/app-shells/bash-completion-2.11/work/bash-completion-2.11/test/t/test_smbcquotas.py:7: AssertionError
________________________________________________________ TestSmbget.test_1 _________________________________________________________

self = <test_smbget.TestSmbget object at 0x7f9b543f5990>, completion = <CompletionResult []>

    @pytest.mark.complete("smbget -", require_cmd=True)
    def test_1(self, completion):
>       assert completion
E       assert <CompletionResult []>

/var/tmp/portage/app-shells/bash-completion-2.11/work/bash-completion-2.11/test/t/test_smbget.py:7: AssertionError
_______________________________________________________ TestSmbpasswd.test_1 _______________________________________________________

self = <test_smbpasswd.TestSmbpasswd object at 0x7f9b54420b10>, completion = <CompletionResult []>

    @pytest.mark.complete("smbpasswd -", require_cmd=True)
    def test_1(self, completion):
>       assert completion
E       assert <CompletionResult []>

/var/tmp/portage/app-shells/bash-completion-2.11/work/bash-completion-2.11/test/t/test_smbpasswd.py:7: AssertionError
________________________________________________________ TestSmbtree.test_1 ________________________________________________________

self = <test_smbtree.TestSmbtree object at 0x7f9b543ae290>, completion = <CompletionResult []>

    @pytest.mark.complete("smbtree -", require_cmd=True)
    def test_1(self, completion):
>       assert completion
E       assert <CompletionResult []>

/var/tmp/portage/app-shells/bash-completion-2.11/work/bash-completion-2.11/test/t/test_smbtree.py:7: AssertionError
________________________________________________________ TestSshAdd.test_2 _________________________________________________________

self = <test_ssh_add.TestSshAdd object at 0x7f9b543fded0>, completion = <CompletionResult []>

    @pytest.mark.complete(
        "ssh-add -",
        require_cmd=True,
        xfail="ssh-add --help 2>&1 | "
        "command grep -qiF 'Could not open a connection'",
    )
    def test_2(self, completion):
>       assert completion
E       assert <CompletionResult []>

/var/tmp/portage/app-shells/bash-completion-2.11/work/bash-completion-2.11/test/t/test_ssh_add.py:17: AssertionError
===================================================== short test summary info ======================================================
FAILED test_k3b.py::TestK3b::test_2 - assert <CompletionResult []>
FAILED test_mplayer.py::TestMplayer::test_2 - assert <CompletionResult []>
FAILED test_smbcacls.py::TestSmbcacls::test_1 - assert <CompletionResult []>
FAILED test_smbclient.py::TestSmbclient::test_1 - assert <CompletionResult []>
FAILED test_smbcquotas.py::TestSmbcquotas::test_1 - assert <CompletionResult []>
FAILED test_smbget.py::TestSmbget::test_1 - assert <CompletionResult []>
FAILED test_smbpasswd.py::TestSmbpasswd::test_1 - assert <CompletionResult []>
FAILED test_smbtree.py::TestSmbtree::test_1 - assert <CompletionResult []>
FAILED test_ssh_add.py::TestSshAdd::test_2 - assert <CompletionResult []>
========================== 9 failed, 1330 passed, 245 skipped, 11 xfailed, 5 xpassed in 935.25s (0:15:35) ==========================

or:
============================================================= FAILURES =============================================================
__________________________________________________________ TestK3b.test_2 __________________________________________________________

self = <test_k3b.TestK3b object at 0x7f328091f310>, completion = <CompletionResult []>

    @pytest.mark.complete("k3b -", require_cmd=True)
    def test_2(self, completion):
>       assert completion
E       assert <CompletionResult []>

/var/tmp/portage/app-shells/bash-completion-2.11/work/bash-completion-2.11/test/t/test_k3b.py:11: AssertionError
________________________________________________________ TestMplayer.test_2 ________________________________________________________

self = <test_mplayer.TestMplayer object at 0x7f32807526d0>, completion = <CompletionResult []>

    @pytest.mark.complete("mplayer -h", require_cmd=True)
    def test_2(self, completion):
>       assert completion
E       assert <CompletionResult []>

/var/tmp/portage/app-shells/bash-completion-2.11/work/bash-completion-2.11/test/t/test_mplayer.py:12: AssertionError
________________________________________________________ TestSshAdd.test_2 _________________________________________________________

self = <test_ssh_add.TestSshAdd object at 0x7f3280254e90>, completion = <CompletionResult []>

    @pytest.mark.complete(
        "ssh-add -",
        require_cmd=True,
        xfail="ssh-add --help 2>&1 | "
        "command grep -qiF 'Could not open a connection'",
    )
    def test_2(self, completion):
>       assert completion
E       assert <CompletionResult []>

/var/tmp/portage/app-shells/bash-completion-2.11/work/bash-completion-2.11/test/t/test_ssh_add.py:17: AssertionError
===================================================== short test summary info ======================================================
Comment 10 Agostino Sarubbo gentoo-dev 2022-02-13 10:01:01 UTC
Update summary. [something] is used when something refers to an overlay