Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 683118 - x11-apps/xauth-1.0.10 : [TEST] FAIL: test_xauth
Summary: x11-apps/xauth-1.0.10 : [TEST] FAIL: test_xauth
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2019-04-11 16:20 UTC by Toralf Förster
Modified: 2019-11-24 17:26 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.12 KB, text/plain)
2019-04-11 16:20 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,17.16 KB, text/plain)
2019-04-11 16:20 UTC, Toralf Förster
Details
environment (environment,105.66 KB, text/plain)
2019-04-11 16:20 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.02 KB, application/x-bzip)
2019-04-11 16:21 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,9.23 KB, application/x-bzip)
2019-04-11 16:21 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,27.79 KB, application/x-bzip)
2019-04-11 16:21 UTC, Toralf Förster
Details
tests.tbz2 (tests.tbz2,13.29 KB, application/x-bzip)
2019-04-11 16:21 UTC, Toralf Förster
Details
x11-apps:xauth-1.0.10:20190410-210046.log (x11-apps:xauth-1.0.10:20190410-210046.log,15.15 KB, text/plain)
2019-04-11 16:21 UTC, Toralf Förster
Details
emerge-info.txt (emerge-info.txt,14.90 KB, text/plain)
2019-06-22 08:07 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,11.41 KB, text/plain)
2019-06-22 08:07 UTC, Toralf Förster
Details
environment (environment,105.84 KB, text/plain)
2019-06-22 08:07 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.61 KB, application/x-bzip)
2019-06-22 08:07 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,9.23 KB, application/x-bzip)
2019-06-22 08:07 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,27.76 KB, application/x-bzip)
2019-06-22 08:07 UTC, Toralf Förster
Details
tests.tbz2 (tests.tbz2,13.35 KB, application/x-bzip)
2019-06-22 08:08 UTC, Toralf Förster
Details
x11-apps:xauth-1.0.10:20190622-074015.log (x11-apps:xauth-1.0.10:20190622-074015.log,15.15 KB, text/plain)
2019-06-22 08:08 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 2019-04-11 16:20:50 UTC
make[2]: Entering directory '/var/tmp/portage/x11-apps/xauth-1.0.10/work/xauth-1.0.10_build/tests'
make[3]: Entering directory '/var/tmp/portage/x11-apps/xauth-1.0.10/work/xauth-1.0.10_build/tests'
FAIL: test_xauth
============================================================================
Testsuite summary for xauth 1.0.10
============================================================================

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-plasma-systemd_libressl-test_20190408-173502

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-8.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)





emerge -qpvO x11-apps/xauth
[ebuild  N    ] x11-apps/xauth-1.0.10  USE="ipv6 test"
Comment 1 Toralf Förster gentoo-dev 2019-04-11 16:20:53 UTC
Created attachment 572514 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-04-11 16:20:56 UTC
Created attachment 572516 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-04-11 16:20:58 UTC
Created attachment 572518 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-04-11 16:21:01 UTC
Created attachment 572520 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-04-11 16:21:04 UTC
Created attachment 572522 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-04-11 16:21:07 UTC
Created attachment 572524 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2019-04-11 16:21:09 UTC
Created attachment 572526 [details]
tests.tbz2
Comment 8 Toralf Förster gentoo-dev 2019-04-11 16:21:12 UTC
Created attachment 572528 [details]
x11-apps:xauth-1.0.10:20190410-210046.log
Comment 9 Matt Turner gentoo-dev 2019-05-19 18:03:56 UTC
This failure occurs for me when dev-util/cmdtest is not installed.

However, dev-util/cmdtest is listed as a test dep:

DEPEND="${RDEPEND}
    test? ( dev-util/cmdtest )"

Can you confirm that cmdtest is installed?

Try running the test manually?

p50-ethernet /var/tmp/portage/x11-apps/xauth-1.0.10/work/xauth-1.0.10_build/tests # ./test_xauth 
Unable to execute 'cmdtest'. Make sure, that it is installed: No such file or directory
Comment 10 Toralf Förster gentoo-dev 2019-06-11 19:37:48 UTC
Well, the image is gone, so no further tests possible, "cmdtest" was installed (see attached emerge history):

Tue Apr  9 00:12:11 2019 >>> dev-util/cmdtest-0.30

FWIW that package is installed fine at 5 different images having "test" in FEATURES in May and June
Comment 11 Matt Turner gentoo-dev 2019-06-11 22:37:00 UTC
Okay. If you happen to encounter the failure again, please reopen.
Comment 12 Toralf Förster gentoo-dev 2019-06-22 08:07:40 UTC
it is still an issue at unstable amd64 tinderbox image 17.1-desktop-gnome_libressl-abi32+64-test_20190621-191902
Comment 13 Toralf Förster gentoo-dev 2019-06-22 08:07:43 UTC
Created attachment 580390 [details]
emerge-info.txt
Comment 14 Toralf Förster gentoo-dev 2019-06-22 08:07:46 UTC
Created attachment 580392 [details]
emerge-history.txt
Comment 15 Toralf Förster gentoo-dev 2019-06-22 08:07:49 UTC
Created attachment 580394 [details]
environment
Comment 16 Toralf Förster gentoo-dev 2019-06-22 08:07:52 UTC
Created attachment 580396 [details]
etc.portage.tbz2
Comment 17 Toralf Förster gentoo-dev 2019-06-22 08:07:55 UTC
Created attachment 580398 [details]
logs.tbz2
Comment 18 Toralf Förster gentoo-dev 2019-06-22 08:07:57 UTC
Created attachment 580400 [details]
temp.tbz2
Comment 19 Toralf Förster gentoo-dev 2019-06-22 08:08:00 UTC
Created attachment 580402 [details]
tests.tbz2
Comment 20 Toralf Förster gentoo-dev 2019-06-22 08:08:03 UTC
Created attachment 580404 [details]
x11-apps:xauth-1.0.10:20190622-074015.log
Comment 21 Matt Turner gentoo-dev 2019-11-23 03:57:27 UTC
Sorry I haven't rechecked this bug. test_xauth.log inside logs.tbz2 contains this:

Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/cliapp/app.py", line 193, in _run
    self.process_args(args)
  File "/usr/lib/python-exec/python2.7/cmdtest", line 64, in process_args
    self.setup_ttystatus(td)
  File "/usr/lib/python-exec/python2.7/cmdtest", line 105, in setup_ttystatus
    self.ts = ttystatus.TerminalStatus(period=0.001)
  File "/usr/lib64/python2.7/site-packages/ttystatus/status.py", line 37, in __init__
    period=period, _terminal=_terminal)
  File "/usr/lib64/python2.7/site-packages/ttystatus/messager.py", line 45, in __init__
    self._terminal.open_tty()
  File "/usr/lib64/python2.7/site-packages/ttystatus/tty.py", line 36, in open_tty
    curses.setupterm(None, self._terminal.fileno())
error: setupterm: could not find terminal
FAIL test_xauth (exit status: 1)

I think this might be the result of the way your tinderbox works?

https://stackoverflow.com/questions/9485699/setupterm-could-not-find-terminal-in-python-program-using-curses

That answer suggests setting 

export TERM=linux
export TERMINFO=/etc/terminfo

Does that work? Is your tinderbox not setting TERM? (My shell doesn't set TERMINFO, but does set TERM, FWIW). I see just a couple of instances of ebuilds setting TERM. Maybe we need to do that here?
Comment 22 Toralf Förster gentoo-dev 2019-11-23 22:20:17 UTC
I do have
mr-fox ~ # echo $TERM $TERMINFO
xterm-256color
mr-fox ~ # echo $TERMINFO


I'll try your suggestions.
Comment 23 Toralf Förster gentoo-dev 2019-11-24 15:48:43 UTC
(In reply to Toralf Förster from comment #22)
> I do have
> mr-fox ~ # echo $TERM $TERMINFO
> xterm-256color
> mr-fox ~ # echo $TERMINFO
> 
> 
> I'll try your suggestions.

OTOH it emerged now fine at a test image (img2/17.1_desktop_plasma_systemd-test-20191114-081627) even with "xterm-256color" so I do tend to think, that the failure was caused by a different root cause.
Comment 24 Matt Turner gentoo-dev 2019-11-24 17:26:51 UTC
Weird.

I hate to keep doing this, but I don't know how to proceed since I've never been able to reproduce the issue -- so I guess I'll mark as NEEDINFO again :|