Re: RFR: 8267353: java/net/SctpSanity.java fails due to Protocol not supported

2021-05-26 Thread Jie Fu
On Thu, 27 May 2021 00:24:20 GMT, Jie Fu wrote: > > if sctp is configured on a linux system would there exist a /proc/net/sctp > > and have an entry in /proc/net/protocols ? > > No /proc/net/sctp and no entry in /proc/net/protocols. > But I don't think it's the reason since it passed on

Re: RFR: 8267353: java/net/SctpSanity.java fails due to Protocol not supported

2021-05-26 Thread Jie Fu
On Wed, 26 May 2021 15:41:26 GMT, Chris Hegarty wrote: > Maybe the machine in question has the libsctp.so.1 library, but the kernel > module is not loaded or something? Yes, you are right. We do have libsctp.so.1 and no kernel module. So what's your suggestion next? Thanks. -

Re: RFR: 8267353: java/net/SctpSanity.java fails due to Protocol not supported

2021-05-26 Thread Jie Fu
On Wed, 26 May 2021 16:10:17 GMT, Mark Sheppard wrote: > if sctp is configured on a linux system would there exist a /proc/net/sctp > and have an entry in /proc/net/protocols ? No /proc/net/sctp and no entry in /proc/net/protocols. But I don't think it's the reason since it passed on another

Re: RFR: 8267353: java/net/SctpSanity.java fails due to Protocol not supported

2021-05-26 Thread Mark Sheppard
On Wed, 26 May 2021 03:54:14 GMT, Jie Fu wrote: > Hi all, > > java/net/SctpSanity.java fails on some of our test machines due to Protocol > not supported. > The reason is that the test fails to detect all the cases when a machine > doesn't support SCTP. > > The fix just follows what are done

Re: RFR: 8267353: java/net/SctpSanity.java fails due to Protocol not supported

2021-05-26 Thread Chris Hegarty
On Wed, 26 May 2021 03:54:14 GMT, Jie Fu wrote: > Hi all, > > java/net/SctpSanity.java fails on some of our test machines due to Protocol > not supported. > The reason is that the test fails to detect all the cases when a machine > doesn't support SCTP. > > The fix just follows what are done

Re: RFR: 8267353: java/net/SctpSanity.java fails due to Protocol not supported

2021-05-26 Thread Alan Bateman
On Wed, 26 May 2021 03:54:14 GMT, Jie Fu wrote: > Hi all, > > java/net/SctpSanity.java fails on some of our test machines due to Protocol > not supported. > The reason is that the test fails to detect all the cases when a machine > doesn't support SCTP. > > The fix just follows what are done

Re: RFR: 8267353: java/net/SctpSanity.java fails due to Protocol not supported

2021-05-26 Thread Jie Fu
On Wed, 26 May 2021 14:58:47 GMT, Alan Bateman wrote: > `strace -f` should help, or just add trace message. Thanks for your help @AlanBateman . I got the following msg (Connection timed out). [pid 93582] socket(PF_INET, SOCK_STREAM, IPPROTO_SCTP [pid 93557] <... futex resumed> ) = -1

Re: RFR: 8267353: java/net/SctpSanity.java fails due to Protocol not supported

2021-05-26 Thread Alan Bateman
On Wed, 26 May 2021 14:51:00 GMT, Jie Fu wrote: > How can I get to know if the socket(IPPROTO_SCTP) or > setsockopt(IPPROTO_SCTP/SCTP_EVENTS) is failing? `strace -f` should help, or just add trace message. If socket(IPPROTO_SCTP) is failing then it suggests to me that we are missing the check

Re: RFR: 8267353: java/net/SctpSanity.java fails due to Protocol not supported

2021-05-26 Thread Jie Fu
On Wed, 26 May 2021 03:54:14 GMT, Jie Fu wrote: > Hi all, > > java/net/SctpSanity.java fails on some of our test machines due to Protocol > not supported. > The reason is that the test fails to detect all the cases when a machine > doesn't support SCTP. > > The fix just follows what are done

Re: RFR: 8267353: java/net/SctpSanity.java fails due to Protocol not supported

2021-05-26 Thread Jie Fu
On Wed, 26 May 2021 14:50:01 GMT, Jie Fu wrote: > Do we know if the socket(IPPROTO_SCTP) or > setsockopt(IPPROTO_SCTP/SCTP_EVENTS) is failing? How can I get to know if the socket(IPPROTO_SCTP) or setsockopt(IPPROTO_SCTP/SCTP_EVENTS) is failing? Any suggestions? Thanks. - PR:

Re: RFR: 8267353: java/net/SctpSanity.java fails due to Protocol not supported

2021-05-26 Thread Jie Fu
On Wed, 26 May 2021 03:54:14 GMT, Jie Fu wrote: > Hi all, > > java/net/SctpSanity.java fails on some of our test machines due to Protocol > not supported. > The reason is that the test fails to detect all the cases when a machine > doesn't support SCTP. > > The fix just follows what are done

Re: RFR: 8267353: java/net/SctpSanity.java fails due to Protocol not supported

2021-05-26 Thread Chris Hegarty
On Wed, 26 May 2021 14:32:22 GMT, Jie Fu wrote: > > This is probably ok, but a little surprising. Can you say a more about the > > machine setup? > > What do you mean by `setup`? > And how can I get these setups? > Thanks. Let me rephrase. You said: "The reason is that the test fails to

Re: RFR: 8267353: java/net/SctpSanity.java fails due to Protocol not supported

2021-05-26 Thread Alan Bateman
On Wed, 26 May 2021 14:31:01 GMT, Jie Fu wrote: > java.net.SocketException: Protocol not supported > at jdk.sctp/sun.nio.ch.sctp.SctpNet.socket0(Native Method) Do we know if the socket(IPPROTO_SCTP) or setsockopt(IPPROTO_SCTP/SCTP_EVENTS) is failing? I would have expected the former to

Re: RFR: 8267353: java/net/SctpSanity.java fails due to Protocol not supported

2021-05-26 Thread Jie Fu
On Wed, 26 May 2021 14:17:18 GMT, Chris Hegarty wrote: > This is probably ok, but a little surprising. Can you say a more about the > machine setup? What do you mean by `setup`? And how can I get these setups? Thanks. - PR: https://git.openjdk.java.net/jdk/pull/4199

Re: RFR: 8267353: java/net/SctpSanity.java fails due to Protocol not supported

2021-05-26 Thread Jie Fu
On Wed, 26 May 2021 14:23:20 GMT, Daniel Fuchs wrote: > I am intrigued - which exception do you get on the machine where SCTP is not > supported? Hi @dfuch , we got this exception, which was copied from the JBS. java.net.SocketException: Protocol not supported at

Re: RFR: 8267353: java/net/SctpSanity.java fails due to Protocol not supported

2021-05-26 Thread Daniel Fuchs
On Wed, 26 May 2021 03:54:14 GMT, Jie Fu wrote: > Hi all, > > java/net/SctpSanity.java fails on some of our test machines due to Protocol > not supported. > The reason is that the test fails to detect all the cases when a machine > doesn't support SCTP. > > The fix just follows what are done

Re: RFR: 8267353: java/net/SctpSanity.java fails due to Protocol not supported

2021-05-26 Thread Chris Hegarty
On Wed, 26 May 2021 03:54:14 GMT, Jie Fu wrote: > Hi all, > > java/net/SctpSanity.java fails on some of our test machines due to Protocol > not supported. > The reason is that the test fails to detect all the cases when a machine > doesn't support SCTP. > > The fix just follows what are done

Re: RFR: 8267353: java/net/SctpSanity.java fails due to Protocol not supported

2021-05-26 Thread Alan Bateman
On Wed, 26 May 2021 03:54:14 GMT, Jie Fu wrote: > Hi all, > > java/net/SctpSanity.java fails on some of our test machines due to Protocol > not supported. > The reason is that the test fails to detect all the cases when a machine > doesn't support SCTP. > > The fix just follows what are done

New Networking Group Member: Daniel Fuchs

2021-05-26 Thread Chris Hegarty
The vote for Daniel Fuchs [1] is now closed. Yes: 3 Veto: 0 Abstain: 0 According to the Bylaws definition of Lazy Consensus, this is sufficient to approve the nomination. -Chris. [1] https://mail.openjdk.java.net/pipermail/net-dev/2021-May/015847.html