Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 629680 - dev-lang/tcl-8.6.6 : make: *** [Makefile:<snip>: test-tcl] Terminated
Summary: dev-lang/tcl-8.6.6 : make: *** [Makefile:<snip>: test-tcl] Terminated
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: TCL/TK Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-02 16:22 UTC by Toralf Förster
Modified: 2017-09-05 23:22 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,14.33 KB, text/plain)
2017-09-02 16:23 UTC, Toralf Förster
Details
dev-lang:tcl-8.6.6:20170902-120858.log (dev-lang:tcl-8.6.6:20170902-120858.log,785.52 KB, text/plain)
2017-09-02 16:23 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,3.83 KB, text/plain)
2017-09-02 16:23 UTC, Toralf Förster
Details
environment (environment,127.45 KB, text/plain)
2017-09-02 16:23 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.58 KB, application/x-bzip)
2017-09-02 16:23 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,12.63 KB, application/x-bzip)
2017-09-02 16:23 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 2017-09-02 16:22:58 UTC
killed tcltest (like for tk) b/c it hangs for hours



http11.test
make: *** [Makefile:715: test-tcl] Terminated
 * ERROR: dev-lang/tcl-8.6.6::gentoo failed (test phase):
 *   Make test failed. See above for details.
 * 

=== This is an issue at stable ===


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

  This is an stable amd64 chroot image at a tinderbox (==build bot)
  name: 13.0-desktop_stable-abi32+64_20170902-123437

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

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

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




emerge -qpv dev-lang/tcl
[ebuild  N    ] dev-lang/tcl-8.6.6  USE="threads -debug" ABI_X86="32 (64) (-x32)"
Comment 1 Toralf Förster gentoo-dev 2017-09-02 16:23:01 UTC
Created attachment 491876 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-09-02 16:23:04 UTC
Created attachment 491878 [details]
dev-lang:tcl-8.6.6:20170902-120858.log
Comment 3 Toralf Förster gentoo-dev 2017-09-02 16:23:08 UTC
Created attachment 491880 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-09-02 16:23:11 UTC
Created attachment 491882 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-09-02 16:23:14 UTC
Created attachment 491884 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-09-02 16:23:17 UTC
Created attachment 491886 [details]
logs.tbz2
Comment 7 zlg (RETIRED) gentoo-dev 2017-09-03 22:50:10 UTC
It looks like the tests are overly restrictive in what they'll accept. They're clearly meant to be ran outside of the package manager. A common problem is "failure in name resolution". Does the tinderbox have a network sandbox, preventing the tests from creating sockets?

I'm leaning toward `RESTRICT="test"` since the tests are giving false negatives due to Portage's environment.

What are your thoughts, Toralf?
Comment 8 Amy Liffey gentoo-dev 2017-09-04 10:36:29 UTC
(In reply to Daniel Campbell from comment #7)
> It looks like the tests are overly restrictive in what they'll accept.
> They're clearly meant to be ran outside of the package manager. A common
> problem is "failure in name resolution". Does the tinderbox have a network
> sandbox, preventing the tests from creating sockets?
> 
> I'm leaning toward `RESTRICT="test"` since the tests are giving false
> negatives due to Portage's environment.
> 
> What are your thoughts, Toralf?

I would agree on restricting tests although I am not Toralf. :)
Comment 9 Toralf Förster gentoo-dev 2017-09-04 18:04:19 UTC
(In reply to Daniel Campbell from comment #7)
Well, I run a rather restrictive FEATURES= line:

"xattr preserve-libs parallel-fetch ipc-sandbox network-sandbox -news"

As far as I understood the devs right, tests cases might be restricted/deactivated b/c the network is restricted by the sandbox.
Comment 10 zlg (RETIRED) gentoo-dev 2017-09-05 23:22:07 UTC
(In reply to Amy Liffey from comment #8)
> I would agree on restricting tests although I am not Toralf. :)

Fair point. :)

(In reply to Toralf Förster from comment #9)
> Well, I run a rather restrictive FEATURES= line:
> 
> "xattr preserve-libs parallel-fetch ipc-sandbox network-sandbox -news"
> 
> As far as I understood the devs right, tests cases might be
> restricted/deactivated b/c the network is restricted by the sandbox.

Great! I confirmed with a third opinion on IRC, just to be sure.


commit 415f646e13d57d37682cdabad76b192af3f4dde0
Author: Daniel Campbell <zlg@gentoo.org>
Date:   Tue Sep 5 16:19:18 2017 -0700

    dev-lang/tcl: restrict faulty testing
    
    Testing for this package is designed for use outside of a package
    manager's environment. FEATURES="network-sandbox" produces hours-long
    hangs due to incorrect handling of false negatives.
    
    Thanks toralf for reporting.
    
    Gentoo-Bug: 629680
    Gentoo-Bug-URL: https://bugs.gentoo.org/629680
    Package-Manager: Portage-2.3.6, Repoman-2.3.3