Hi Tony,

Seems this doesn't help. Currently I have (iptables -L):

Chain INPUT (policy ACCEPT)
target     prot opt source               destination
ACCEPT     all  --  anywhere             224.0.0.3
ACCEPT     all  --  anywhere             DVMRP.MCAST.NET
ACCEPT     all  --  DVMRP.MCAST.NET      anywhere
ACCEPT     all  --  224.0.0.3            anywhere

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
ACCEPT     all  --  anywhere             224.0.0.3
ACCEPT     all  --  anywhere             DVMRP.MCAST.NET

But I still can see two failures:
test_joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface
test_leaveGroupLjava_net_InetAddress

I guess packets are blocked by our corporate firewall I don't have a
control of. Is there any way to emulate this with our testing
infrastructure?

Regards,

2007/3/22, Tony Wu <[EMAIL PROTECTED]>:
Hi,
It caused by my patch on harmony-3433.

It will fail on some machines because of firewall, the access to some
multicast addresses used in tests are not permitted on your machines.
running following lines will help,
iptables -A HYBLD -d 224.0.0.3 -j ACCEPT
iptables -A HYBLD -d 224.0.0.4 -j ACCEPT

In the meanwhile I was thinking about is there any way to avoid this
operation, because asking user to set up a rule for testing is always
not a good idea. Do you have any suggestion? Thanks.

On 3/22/07, Alexei Zakharov <[EMAIL PROTECTED]> wrote:
> Hi Alexey,
>
> MulticastSocketTest fails each time I run luni tests. At least on
> Linux. And it seems CC encounters the same issue.
>
> Regards,
>
> 2007/3/21, Alexey Petrenko <[EMAIL PROTECTED]>:
> > oops...
> > That's a patch for HARMONY-3433 "[classlib][luni]move out
> > src\test\java\tests\api\java\net\MulticastSocketTest.java"
> >
> > SY, Alexey
> >
> > 2007/3/21, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
> > > Author: apetrenko
> > > Date: Wed Mar 21 01:44:06 2007
> > > New Revision: 520804
> > >
> > > URL: http://svn.apache.org/viewvc?view=rev&rev=520804
> > > Log:
> > > Patch for HARMONY-3454 "[classlib][swing] 
JEditorPane.createEditorKitForContentType() uses wrong classloader"
> > >
> > > Modified:
> > >    harmony/enhanced/classlib/trunk/modules/luni/make/exclude.common
> > >    
harmony/enhanced/classlib/trunk/modules/luni/make/exclude.linux.x86_64.drl
> > >    
harmony/enhanced/classlib/trunk/modules/luni/make/exclude.windows.x86_64.drl


--
Alexei Zakharov,
Intel ESSD

Reply via email to