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

Bug 624152

Summary: dev-ml/lwt-3.0.0 : fails with FEATURES=test
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Team for the ML programming language family <ml>
Status: RESOLVED OBSOLETE    
Severity: normal CC: dev-portage, gienah
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-ml:lwt-3.0.0:20170707-071458.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2
tests.tbz2

Description Toralf Förster gentoo-dev 2017-07-07 15:26:22 UTC
  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_20170706-204158

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

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

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby21 (with Rubygems)
  [2]   ruby22 (with Rubygems) *
Comment 1 Toralf Förster gentoo-dev 2017-07-07 15:26:25 UTC
Created attachment 481696 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-07-07 15:26:28 UTC
Created attachment 481698 [details]
dev-ml:lwt-3.0.0:20170707-071458.log
Comment 3 Toralf Förster gentoo-dev 2017-07-07 15:26:32 UTC
Created attachment 481700 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-07-07 15:26:35 UTC
Created attachment 481702 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-07-07 15:26:38 UTC
Created attachment 481704 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-07-07 15:26:41 UTC
Created attachment 481706 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2017-07-07 15:26:44 UTC
Created attachment 481708 [details]
temp.tbz2
Comment 8 Toralf Förster gentoo-dev 2017-07-07 15:26:48 UTC
Created attachment 481710 [details]
tests.tbz2
Comment 9 Alexis Ballier gentoo-dev 2017-07-07 18:01:55 UTC
this one is due to network restrictions...

do we have RESTRICT="network-test" or something ?
Tests pass here and are quite useful in normal setup so I don't want to disable them entirely...
Comment 10 Mike Gilbert gentoo-dev 2017-07-07 18:10:29 UTC
(In reply to Alexis Ballier from comment #9)
> this one is due to network restrictions...
> 
> do we have RESTRICT="network-test" or something ?
> Tests pass here and are quite useful in normal setup so I don't want to
> disable them entirely...

See discussion on gentoo-dev. Short answer: it doesn't exist yet, but you're not the only one who wants it.

https://archives.gentoo.org/gentoo-dev/message/eee195c19309f45e81aef6f665239345
Comment 11 Alexis Ballier gentoo-dev 2017-07-07 18:19:54 UTC
(In reply to Mike Gilbert from comment #10)
> (In reply to Alexis Ballier from comment #9)
> > this one is due to network restrictions...
> > 
> > do we have RESTRICT="network-test" or something ?
> > Tests pass here and are quite useful in normal setup so I don't want to
> > disable them entirely...
> 
> See discussion on gentoo-dev. Short answer: it doesn't exist yet, but you're
> not the only one who wants it.
> 
> https://archives.gentoo.org/gentoo-dev/message/
> eee195c19309f45e81aef6f665239345

it's unrelated

it doesnt need internet but being able to issue icmp join for multicast

this works perfectly fine if you don't firewall
Comment 12 Toralf Förster gentoo-dev 2017-07-07 18:27:09 UTC
So this isn't enough ? :

startFirewall() {
  $IPT -P INPUT   DROP
  $IPT -P OUTPUT  ACCEPT
  $IPT -P FORWARD DROP

  # trust already established connections
  #
  $IPT -A INPUT --match conntrack --ctstate ESTABLISHED -j ACCEPT
  $IPT -A INPUT --match conntrack --ctstate RELATED     -j ACCEPT
  $IPT -A INPUT --match conntrack --ctstate INVALID     -j DROP

  # Allow localhost traffic
  #
  $IPT -A INPUT --in-interface lo -j ACCEPT
Comment 13 Alexis Ballier gentoo-dev 2017-07-07 19:08:24 UTC
seems not:
test_mcast: unexpected failure: "Unix.Unix_error(Unix.ENODEV, \"setsockopt\", \"\")"
test_mcast: unexpected failure: "Unix.Unix_error(Unix.ENETUNREACH, \"send\", \"\")"
test_mcast: unexpected failure: "Unix.Unix_error(Unix.ENODEV, \"setsockopt\", \"\")"
test_mcast: unexpected failure: "Unix.Unix_error(Unix.ENETUNREACH, \"send\", \"\")"