users@grizzly.java.net

Re: I'm back with my 2009 question about UDP Multicast in Grizzly

From: Sebastien Dionne <survivant00_at_gmail.com>
Date: Mon, 22 Oct 2012 19:00:27 -0400

I install the lastest JDK 7 up09

I did a git pull, mvn clean, mvn install

here the test that failed

-------------------------------------------------------------------------------
Test set: org.glassfish.grizzly.FileTransferTest
-------------------------------------------------------------------------------
Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.38 sec
<<< FAILURE!
negativeFileTransferAPITest(org.glassfish.grizzly.FileTransferTest) Time
elapsed: 0.06 sec <<< FAILURE!
java.lang.AssertionError: Expected IllegalArgumentException to be thrown
    at org.junit.Assert.fail(Assert.java:91)
    at
org.glassfish.grizzly.FileTransferTest.negativeFileTransferAPITest(FileTransferTest.java:173)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
    at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
    at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
    at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
    at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
    at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
    at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
    at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
    at
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:234)
    at
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:133)
    at
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:114)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at
org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:188)
    at
org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:166)
    at
org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86)
    at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:101)
    at
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)




2012/10/22 Sebastien Dionne <survivant00_at_gmail.com>

> Yesterday, yes. Could be just a concurrency problem, I will recheck
> tonight
> On Oct 22, 2012 9:40 AM, "Oleksiy Stashok" <oleksiy.stashok_at_oracle.com>
> wrote:
>
>>
>> On 10/22/2012 03:36 PM, Sebastien Dionne wrote:
>>
>> Jdk 7
>>
>> I will check if I have the latest release.
>>
>> Do you have a command line that you want me to try and send you the
>> results if it failed again?
>>
>> No, nothing i can think about.
>> Are you able to reproduce this issue each time you build grizzly?
>>
>> Thanks.
>>
>> WBR,
>> Alexey.
>>
>> On Oct 22, 2012 9:33 AM, "Oleksiy Stashok" <oleksiy.stashok_at_oracle.com>
>> wrote:
>>
>>> Hi,
>>>
>>> which JDK are you using?
>>>
>>> WBR,
>>> Alexey.
>>>
>>> On 10/22/2012 01:04 AM, Sebastien Dionne wrote:
>>>
>>> I'm trying to build the trunk on Windows 7 x64
>>>
>>> but got this error
>>>
>>> Results :
>>>
>>> Failed tests:
>>> negativeFileTransferAPITest(org.glassfish.grizzly.FileTransferTe
>>> st): Expected IllegalArgumentException to be thrown
>>> testSimpleSyncSSLChunkedAfter[0](org.glassfish.grizzly.SSLTest):
>>> expected:<Hel
>>> lo world! Connection#0 Packet#0> but was:<null>
>>> testSimpleAsyncSSLChunkedAfter[0](org.glassfish.grizzly.SSLTest):
>>> expected:<He
>>> llo world! Connection#0 Packet#0> but was:<null>
>>> testSimpleSyncSSLChunkedAfter[1](org.glassfish.grizzly.SSLTest):
>>> expected:<Hel
>>> lo world! Connection#0 Packet#0> but was:<null>
>>> testSimpleAsyncSSLChunkedAfter[1](org.glassfish.grizzly.SSLTest):
>>> expected:<He
>>> llo world! Connection#0 Packet#0> but was:<null>
>>> testSimpleSyncSSLChunkedAfter[2](org.glassfish.grizzly.SSLTest):
>>> expected:<Hel
>>> lo world! Connection#0 Packet#0> but was:<null>
>>> testSimpleAsyncSSLChunkedAfter[2](org.glassfish.grizzly.SSLTest):
>>> expected:<He
>>> llo world! Connection#0 Packet#0> but was:<null>
>>> testSimpleSyncSSLChunkedAfter[3](org.glassfish.grizzly.SSLTest):
>>> expected:<Hel
>>> lo world! Connection#0 Packet#0> but was:<null>
>>> testSimpleAsyncSSLChunkedAfter[3](org.glassfish.grizzly.SSLTest):
>>> expected:<He
>>> llo world! Connection#0 Packet#0> but was:<null>
>>>
>>> Tests run: 292, Failures: 9, Errors: 0, Skipped: 8
>>>
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Reactor Summary:
>>>
>>> 2012/9/11 Oleksiy Stashok <oleksiy.stashok_at_oracle.com>
>>>
>>>> Hi Sebastien,
>>>>
>>>> the code is commited to 2.3.x branch.
>>>> If you check it out, pls take a look at the UDPNIOConnection class
>>>> implementation [1] and sample [2].
>>>>
>>>> We'll appreciate feedback.
>>>>
>>>> Thanks.
>>>>
>>>> WBR,
>>>> Alexey.
>>>>
>>>> [1]
>>>> modules/grizzly/src/main/java/org/glassfish/grizzly/nio/transport/UDPNIOConnection.java
>>>> [2]
>>>> samples/framework-samples/src/main/java/org/glassfish/grizzly/samples/udpmulticast
>>>>
>>>>
>>>>
>>>>
>>>> On 09/07/2012 12:21 PM, Sebastien Dionne wrote:
>>>>
>>>> Thanks a lot,
>>>>
>>>> We forgot about that one :-)
>>>> On Sep 6, 2012 1:09 PM, "Oleksiy Stashok" <oleksiy.stashok_at_oracle.com>
>>>> wrote:
>>>>
>>>>> Hi Sebastien,
>>>>>
>>>>> thank you for following up, give me couple of days. Next week you'll
>>>>> have it.
>>>>>
>>>>> WBR,
>>>>> Alexey.
>>>>>
>>>>> On 09/06/2012 02:38 PM, survivant00_at_gmail.com wrote:
>>>>>
>>>>>> http://java.net/projects/grizzly/lists/dev/archive/2009-08/message/3
>>>>>>
>>>>>> Is it possible in Grizzly to have UDP Multicast ?
>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>
>>> --
>>> -------------
>>> A+
>>>
>>> Sébastien.
>>>
>>> Vous pouvez me suivre sur Twitter / You can follow me on Twitter :
>>> http://twitter.com/survivant
>>>
>>>
>>>
>>


-- 
-------------
A+
Sébastien.
Vous pouvez me suivre sur Twitter / You can follow me on Twitter :
http://twitter.com/survivant