Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not ok - udp_multicast_join(6) #2468

Closed
vtjnash opened this issue Sep 10, 2019 · 15 comments
Closed

not ok - udp_multicast_join(6) #2468

vtjnash opened this issue Sep 10, 2019 · 15 comments
Labels

Comments

@vtjnash
Copy link
Member

vtjnash commented Sep 10, 2019

not ok 344 - udp_multicast_join
# timeout
# Output from process `udp_multicast_join`: (no output)
not ok 345 - udp_multicast_join6
# timeout
# Output from process `udp_multicast_join6`: (no output)

https://ci.nodejs.org/job/libuv-test-commit-linux/1617/nodes=rhel72-s390x/console
https://ci.nodejs.org/job/libuv-test-commit-linux/1617/nodes=centos7-64/console

@santigimeno
Copy link
Member

The centos7-64 issue should be solved once nodejs/build#1879 is applied in the ci bots.
The rhel72-s390x seems to happen only in the test-linuxonecc-rhel72-s390x-3 bot, so my guess is that the change described in #2185 (comment) might have not been applied there. /cc @mhdawson @miladfarca

@miladfarca
Copy link

miladfarca commented Sep 10, 2019

Could you please add my key to rhel72-s390x-3,
I have previously requested for permission using this ticket: nodejs/build#1686

ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQZihjEXcY52UZo09CEb29HwOWwXcmwbwZFR4rsACQQyGUexL4fkVrFfwuG8eV1vg5KECsO8LiGY/MHkNIpABaJJoip0Qxgv0pAFtAukIDjLXXOV/VNJjfIto16vOAehRZkmI+BtQP8TjoT2CSyJgvVQcay8BhH52in1LQQsyCi2crHLYzDrrCgY/rAmuVb1MzMnT8mFOdJ8E5RBhjnmc1K4YBKmNTf6yefgbOJssI0lLzp7Q2uytzp3pipg7AO/VqmRn8953UTJS/cOQeBi3nCYGpz4I7kOKHgwbdW1IP/XFfm0KO5daulHQeToRGIE85ntxF314wsYE3ZyeJwKgH

@santigimeno
Copy link
Member

@miladfarca I think you should open another issue at the nodejs build repo to gain access to that machine.

@mhdawson
Copy link
Contributor

@miladfarca added.

@miladfarca
Copy link

I have added the change described here #2185 (comment) to rhel72-s390x-3. Could you try re running the test.

@santigimeno
Copy link
Member

Now it works fine: https://ci.nodejs.org/job/libuv-test-commit-linux/nodes=rhel72-s390x/1626/. Thanks!

@saghul
Copy link
Member

saghul commented Sep 16, 2019

@santigimeno Should this be closed now then?

@vtjnash
Copy link
Member Author

vtjnash commented Sep 16, 2019

The centos7-64 fix seems to be stalled: nodejs/build#1879

@gigi81
Copy link
Contributor

gigi81 commented Sep 16, 2019

The same test also fails on osx (Darwin) on v1.32.0 tag

not ok 343 - udp_multicast_join
# timeout
# Output from process `udp_multicast_join`: (no output)

Full log:

##[section]Starting: Run tests
=============
Generating script.
Script contents:
Release/uv_run_tests
========================== Starting Command Output ===========================
[command]/bin/bash --noprofile --norc /Users/vsts/agent/2.155.1/work/_temp/35efe818-7374-4797-a905-5a2fb88d40ed.sh
1..370
ok 1 - platform_output
# Output from process `platform_output`:
# uv_get_process_title: /Users/vsts/agent/2.155.1/work/1/s/libuv/Release/uv_run_tests
# uv_cwd: /Users/vsts/agent/2.155.1/work/1/s/libuv
# uv_resident_set_memory: 929792
# uv_uptime: 5573.000000
# uv_getrusage:
#   user: 0 sec 1651 microsec
#   system: 0 sec 1720 microsec
#   page faults: 7
#   maximum resident set size: 954368
# uv_cpu_info:
#   model: Intel(R) Xeon(R) CPU E5-2697 v2 @ 2.70GHz
#   speed: 2574
#   times.sys: 293660
#   times.user: 248780
#   times.idle: 5031580
#   times.irq: 0
#   times.nice: 0
#   model: Intel(R) Xeon(R) CPU E5-2697 v2 @ 2.70GHz
#   speed: 2574
#   times.sys: 100920
#   times.user: 140150
#   times.idle: 5332450
#   times.irq: 0
#   times.nice: 0
#   model: Intel(R) Xeon(R) CPU E5-2697 v2 @ 2.70GHz
#   speed: 2574
#   times.sys: 99830
#   times.user: 140480
#   times.idle: 5333210
#   times.irq: 0
#   times.nice: 0
#   model: Intel(R) Xeon(R) CPU E5-2697 v2 @ 2.70GHz
#   speed: 2574
#   times.sys: 100660
#   times.user: 140410
#   times.idle: 5332450
#   times.irq: 0
#   times.nice: 0
# uv_interface_addresses:
#   name: lo0
#   internal: 1
#   physical address: 00:00:00:00:00:00
#   address: 127.0.0.1
#   netmask: 255.0.0.0
#   name: lo0
#   internal: 1
#   physical address: 00:00:00:00:00:00
#   address: ::1
#   netmask: ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
#   name: lo0
#   internal: 1
#   physical address: 00:00:00:00:00:00
#   address: fe80::1
#   netmask: ffff:ffff:ffff:ffff::
#   name: en0
#   internal: 0
#   physical address: 00:50:56:9c:e3:b2
#   address: 10.79.0.230
#   netmask: 255.255.240.0
#   name: utun0
#   internal: 0
#   physical address: 00:00:00:00:00:00
#   address: fe80::5641:201:263c:93d4
#   netmask: ffff:ffff:ffff:ffff::
# uv_os_get_passwd:
#   euid: 501
#   gid: 20
#   username: vsts
#   shell: /bin/bash
#   home directory: /Users/vsts
# uv_os_getpid: 1763
# uv_os_getppid: 1762
# uv_os_uname:
#   sysname: Darwin
#   release: 17.7.0
#   version: Darwin Kernel Version 17.7.0: Sun Jun  2 20:31:42 PDT 2019; root:xnu-4570.71.46~1/RELEASE_X86_64
#   machine: x86_64
ok 2 - active
ok 3 - async
ok 4 - async_null_cb
ok 5 - async_ref
ok 6 - barrier_1
ok 7 - barrier_2
ok 8 - barrier_3
ok 9 - barrier_serial_thread
ok 10 - barrier_serial_thread_single
ok 11 - callback_stack
ok 12 - check_ref
ok 13 - close_fd
ok 14 - close_order
ok 15 - closed_fd_events
ok 16 - condvar_1
ok 17 - condvar_2
ok 18 - condvar_3
ok 19 - condvar_4
ok 20 - condvar_5
ok 21 - connect_unspecified
ok 22 - connection_fail
ok 23 - connection_fail_doesnt_auto_close
ok 24 - cwd_and_chdir
ok 25 - default_loop_close
ok 26 - delayed_accept
ok 27 - dlerror
ok 28 - eintr_handling
ok 29 - embed
ok 30 - emfile
ok 31 - env_vars
ok 32 - error_message
ok 33 - fork_signal_to_child
ok 34 - fork_signal_to_child_closed
ok 35 - fork_socketpair
ok 36 - fork_socketpair_started
ok 37 - fork_threadpool_queue_work_simple
ok 38 - fork_timer
ok 39 - fs_access
ok 40 - fs_async_dir
ok 41 - fs_async_sendfile
ok 42 - fs_async_sendfile_nodata
ok 43 - fs_chmod
ok 44 - fs_chown
ok 45 - fs_copyfile
ok 46 - fs_event_close_in_callback
ok 47 - fs_event_close_with_pending_event
ok 48 - fs_event_error_reporting
ok 49 - fs_event_getpath
ok 50 - fs_event_immediate_close
ok 51 - fs_event_no_callback_after_close
ok 52 - fs_event_no_callback_on_close
ok 53 - fs_event_ref
ok 54 - fs_event_start_and_close
ok 55 - fs_event_watch_dir
ok 56 - fs_event_watch_dir_recursive
ok 57 - fs_event_watch_file
ok 58 - fs_event_watch_file_current_dir
ok 59 - fs_event_watch_file_exact_path
ok 60 - fs_event_watch_file_twice
ok 61 - fs_event_watch_invalid_path
ok 62 - fs_file_async
ok 63 - fs_file_loop
ok 64 - fs_file_nametoolong
ok 65 - fs_file_noent
ok 66 - fs_file_open_append
ok 67 - fs_file_pos_after_op_with_offset
ok 68 - fs_file_sync
ok 69 - fs_file_write_null_buffer
ok 70 - fs_fstat
ok 71 - fs_futime
ok 72 - fs_mkdtemp
ok 73 - fs_null_req
ok 74 - fs_open_dir
ok 75 - fs_partial_read
ok 76 - fs_partial_write
ok 77 - fs_poll
ok 78 - fs_poll_close_request
ok 79 - fs_poll_close_request_multi_start_stop
ok 80 - fs_poll_close_request_multi_stop_start
ok 81 - fs_poll_close_request_stop_when_active
ok 82 - fs_poll_getpath
ok 83 - fs_poll_ref
ok 84 - fs_read_bufs
ok 85 - fs_read_dir
ok 86 - fs_read_file_eof
ok 87 - fs_read_write_null_arguments
ok 88 - fs_readdir_empty_dir
ok 89 - fs_readdir_file
ok 90 - fs_readdir_non_empty_dir
ok 91 - fs_readdir_non_existing_dir
ok 92 - fs_readlink
ok 93 - fs_realpath
ok 94 - fs_rename_to_existing_file
ok 95 - fs_scandir_empty_dir
ok 96 - fs_scandir_file
ok 97 - fs_scandir_non_existent_dir
ok 98 - fs_stat_missing_path
ok 99 - fs_statfs
ok 100 - fs_symlink
ok 101 - fs_symlink_dir
ok 102 - fs_unlink_readonly
ok 103 - fs_utime
ok 104 - fs_write_alotof_bufs
ok 105 - fs_write_alotof_bufs_with_offset
ok 106 - fs_write_multiple_bufs
ok 107 - get_currentexe
ok 108 - get_loadavg
ok 109 - get_memory
ok 110 - get_osfhandle_valid_handle
ok 111 - get_passwd
ok 112 - getaddrinfo_basic
ok 113 - getaddrinfo_basic_sync
ok 114 - getaddrinfo_concurrent
ok 115 - getaddrinfo_fail
ok 116 - getaddrinfo_fail_sync
ok 117 - gethostname
ok 118 - getnameinfo_basic_ip4
ok 119 - getnameinfo_basic_ip4_sync
ok 120 - getnameinfo_basic_ip6
ok 121 - getsockname_tcp
ok 122 - getsockname_udp
ok 123 - getters_setters
ok 124 - gettimeofday
ok 125 - handle_fileno
ok 126 - handle_type_name
ok 127 - has_ref
ok 128 - homedir
ok 129 - hrtime
ok 130 - idle_ref
ok 131 - idle_starvation
ok 132 - idna_toascii
ok 133 - ip4_addr
ok 134 - ip6_addr_link_local
ok 135 - ip6_pton
ok 136 - ipc_closed_handle
ok 137 - ipc_heavy_traffic_deadlock_bug
ok 138 - ipc_listen_after_write
ok 139 - ipc_listen_before_write
ok 140 - ipc_send_recv_pipe
ok 141 - ipc_send_recv_pipe_inprocess
ok 142 - ipc_send_recv_tcp
ok 143 - ipc_send_recv_tcp_inprocess
ok 144 - ipc_send_zero
ok 145 - ipc_tcp_connection
ok 146 - kill
ok 147 - kill_invalid_signum
ok 148 - loop_alive
ok 149 - loop_backend_timeout
ok 150 - loop_close
ok 151 - loop_configure
ok 152 - loop_handles
ok 153 - loop_instant_close
ok 154 - loop_stop
ok 155 - loop_update_time
ok 156 - multiple_listen
ok 157 - open_osfhandle_valid_handle
ok 158 - osx_select # SKIP Cannot open /dev/tty as read-only: Device not configured
ok 159 - osx_select_many_fds # SKIP Cannot open /dev/tty as read-only: Device not configured
ok 160 - pipe_bind_error_addrinuse
ok 161 - pipe_bind_error_addrnotavail
ok 162 - pipe_bind_error_inval
ok 163 - pipe_close_stdout_read_stdin
ok 164 - pipe_connect_bad_name
ok 165 - pipe_connect_multiple
ok 166 - pipe_connect_on_prepare
ok 167 - pipe_connect_to_file
ok 168 - pipe_getsockname
ok 169 - pipe_getsockname_abstract
ok 170 - pipe_getsockname_blocking
ok 171 - pipe_listen_without_bind
ok 172 - pipe_pending_instances
ok 173 - pipe_ping_pong
ok 174 - pipe_ping_pong_vec
ok 175 - pipe_ref
ok 176 - pipe_ref2
ok 177 - pipe_ref3
ok 178 - pipe_ref4
ok 179 - pipe_sendmsg
ok 180 - pipe_server_close
ok 181 - pipe_set_chmod
ok 182 - pipe_set_non_blocking
ok 183 - poll_bad_fdtype
ok 184 - poll_close
ok 185 - poll_close_doesnt_corrupt_stack # SKIP Test only relevant on Windows
ok 186 - poll_closesocket # SKIP Test only relevant on Windows
ok 187 - poll_duplex
ok 188 - poll_nested_kqueue
ok 189 - poll_oob
ok 190 - poll_unidirectional
ok 191 - prepare_ref
ok 192 - process_priority
ok 193 - process_ref
ok 194 - process_title
ok 195 - process_title_threadsafe
ok 196 - queue_foreach_delete
ok 197 - ref
ok 198 - req_type_name
ok 199 - run_nowait
ok 200 - run_once
ok 201 - semaphore_1
ok 202 - semaphore_2
ok 203 - semaphore_3
ok 204 - shutdown_close_pipe
ok 205 - shutdown_close_tcp
ok 206 - shutdown_eof
ok 207 - shutdown_twice
ok 208 - signal_multiple_loops
ok 209 - signal_pending_on_close
ok 210 - socket_buffer_size
ok 211 - spawn_and_kill
ok 212 - spawn_and_kill_with_std
ok 213 - spawn_and_ping
ok 214 - spawn_auto_unref
ok 215 - spawn_closed_process_io
ok 216 - spawn_detached
ok 217 - spawn_empty_env
ok 218 - spawn_exit_code
ok 219 - spawn_fails
ok 220 - spawn_fails_check_for_waitpid_cleanup
ok 221 - spawn_fs_open
ok 222 - spawn_ignored_stdio
ok 223 - spawn_inherit_streams
ok 224 - spawn_preserve_env
ok 225 - spawn_quoted_path # SKIP Test for Windows
ok 226 - spawn_reads_child_path
ok 227 - spawn_setgid_fails
ok 228 - spawn_setuid_fails
ok 229 - spawn_setuid_setgid # SKIP It should be run as root user
ok 230 - spawn_stdin
ok 231 - spawn_stdio_greater_than_3
ok 232 - spawn_stdout
ok 233 - spawn_stdout_and_stderr_to_file
ok 234 - spawn_stdout_and_stderr_to_file2
ok 235 - spawn_stdout_and_stderr_to_file_swap
ok 236 - spawn_stdout_to_file
ok 237 - spawn_tcp_server
ok 238 - stdio_over_pipes
ok 239 - strscpy
ok 240 - sys_error
ok 241 - tcp6_ping_pong
ok 242 - tcp6_ping_pong_vec
ok 243 - tcp_alloc_cb_fail
ok 244 - tcp_bind6_error_addrinuse
ok 245 - tcp_bind6_error_addrnotavail
ok 246 - tcp_bind6_error_fault
ok 247 - tcp_bind6_error_inval
ok 248 - tcp_bind6_localhost_ok
ok 249 - tcp_bind_error_addrinuse
ok 250 - tcp_bind_error_addrnotavail_1
ok 251 - tcp_bind_error_addrnotavail_2
ok 252 - tcp_bind_error_fault
ok 253 - tcp_bind_error_inval
ok 254 - tcp_bind_invalid_flags
ok 255 - tcp_bind_localhost_ok
ok 256 - tcp_bind_writable_flags
ok 257 - tcp_close
ok 258 - tcp_close_accept
ok 259 - tcp_close_reset_accepted
ok 260 - tcp_close_reset_accepted_after_shutdown
ok 261 - tcp_close_reset_client
ok 262 - tcp_close_reset_client_after_shutdown
ok 263 - tcp_close_while_connecting
ok 264 - tcp_connect_error_after_write
ok 265 - tcp_connect_error_fault
ok 266 - tcp_connect_timeout
ok 267 - tcp_create_early
ok 268 - tcp_create_early_accept
ok 269 - tcp_create_early_bad_bind
ok 270 - tcp_create_early_bad_domain
ok 271 - tcp_flags
ok 272 - tcp_listen_without_bind
ok 273 - tcp_oob
ok 274 - tcp_open
ok 275 - tcp_open_bound
ok 276 - tcp_open_connected
ok 277 - tcp_open_twice
ok 278 - tcp_ping_pong
ok 279 - tcp_ping_pong_vec
ok 280 - tcp_read_stop
ok 281 - tcp_ref
ok 282 - tcp_ref2
ok 283 - tcp_ref2b
ok 284 - tcp_ref3
ok 285 - tcp_ref4
ok 286 - tcp_shutdown_after_write
ok 287 - tcp_try_write
ok 288 - tcp_try_write_error
ok 289 - tcp_unexpected_read
ok 290 - tcp_write_after_connect
ok 291 - tcp_write_fail
ok 292 - tcp_write_queue_order
ok 293 - tcp_write_ready
ok 294 - tcp_write_to_half_open_connection
ok 295 - tcp_writealot
ok 296 - thread_create
ok 297 - thread_equal
ok 298 - thread_local_storage
ok 299 - thread_mutex
ok 300 - thread_mutex_recursive
ok 301 - thread_rwlock
ok 302 - thread_rwlock_trylock
ok 303 - thread_stack_size
ok 304 - thread_stack_size_explicit
ok 305 - threadpool_cancel_fs
ok 306 - threadpool_cancel_getaddrinfo
ok 307 - threadpool_cancel_getnameinfo
ok 308 - threadpool_cancel_single
ok 309 - threadpool_cancel_work
ok 310 - threadpool_multiple_event_loops
ok 311 - threadpool_queue_work_einval
ok 312 - threadpool_queue_work_simple
ok 313 - timer
ok 314 - timer_again
ok 315 - timer_early_check
ok 316 - timer_from_check
ok 317 - timer_huge_repeat
ok 318 - timer_huge_timeout
ok 319 - timer_init
ok 320 - timer_is_closing
ok 321 - timer_null_callback
ok 322 - timer_order
ok 323 - timer_ref
ok 324 - timer_ref2
ok 325 - timer_run_once
ok 326 - timer_start_twice
ok 327 - tmpdir
ok 328 - tty # SKIP Cannot open /dev/tty as read-only: Device not configured
ok 329 - tty_file
ok 330 - tty_pty
ok 331 - udp_alloc_cb_fail
ok 332 - udp_bind
ok 333 - udp_bind_reuseaddr
ok 334 - udp_connect
ok 335 - udp_create_early
ok 336 - udp_create_early_bad_bind
ok 337 - udp_create_early_bad_domain
ok 338 - udp_dgram_too_big
ok 339 - udp_dual_stack
ok 340 - udp_ipv6_only
ok 341 - udp_multicast_interface
ok 342 - udp_multicast_interface6
not ok 343 - udp_multicast_join
# timeout
# Output from process `udp_multicast_join`: (no output)
ok 344 - udp_multicast_join6
ok 345 - udp_multicast_ttl
ok 346 - udp_no_autobind
ok 347 - udp_open
ok 348 - udp_open_bound
ok 349 - udp_open_connect
ok 350 - udp_open_twice
ok 351 - udp_options
ok 352 - udp_options6
ok 353 - udp_ref
ok 354 - udp_ref2
ok 355 - udp_ref3
ok 356 - udp_send_and_recv
ok 357 - udp_send_hang_loop
ok 358 - udp_send_immediate
ok 359 - udp_send_unix
ok 360 - udp_send_unreachable
ok 361 - udp_try_send
ok 362 - uname
ok 363 - unref_in_prepare_cb
ok 364 - utf8_decode1
ok 365 - walk_handles
ok 366 - watcher_cross_stop
ok 367 - we_get_signal
ok 368 - we_get_signal_one_shot
ok 369 - we_get_signals
ok 370 - we_get_signals_mixed
##[error]Bash exited with code '1'.
##[section]Finishing: Run tests

@santigimeno
Copy link
Member

@gigi81 interesting. Do you have any kind of firewall rules (I don't know what's the equivalent to iptables in osx) in your box?

@gigi81
Copy link
Contributor

gigi81 commented Sep 17, 2019

This is running on azure devops hosted servers. 1.31.0 was running fine. Not sure if this is a new test.
I will send y a link to the build when I can

@santigimeno
Copy link
Member

Yeah, it was introduced in v1.32.0

@gigi81
Copy link
Contributor

gigi81 commented Sep 17, 2019

clrpackages pushed a commit to clearlinux-pkgs/libuv that referenced this issue Oct 7, 2019
This patch is to rollback the test to v1.31 and was
suggested from the upstream issue
libuv/libuv#2468 and is used in
conda-forge/libuv-feedstock#32
algitbot pushed a commit to alpinelinux/aports that referenced this issue Oct 20, 2019
@stale
Copy link

stale bot commented Dec 16, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@Gabriella439
Copy link

Gabriella439 commented Jul 2, 2021

I ran into this issue on NixOS (where the firewall disables multicast by default). Here is a NixOS module that others can import if they want to selectively enable multicast on their CI machines:

{ lib, ... }:

{ networking.firewall.extraCommands =
    let
      options = {
        append = "INPUT";
        match = "pkttype";
        pkt-type = "multicast";
        jump = "ACCEPT";
      };

    in
      ''
      ip46tables ${lib.cli.toGNUCommandLineShell { } options}
      '';
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants