-
Notifications
You must be signed in to change notification settings - Fork 243
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
Two questions about open/R #37
Comments
Q1 - Can you show the output of netlink socket test failure ? Did you run with "sudo" .. Q2 - Crash happens because ports Open/R trying to bind on is already in use by some other process on your system. Do |
Hi there: [----------] Global test environment tear-down 6 FAILED TESTS About the question 2, the ports 60099 and 60100 are alreay bind by Open/R, What I mean excatly is that first I run openr with "sudo ./run_openr.sh", then I want to enable linux platform agent so I tap "sudo ./platform_linux", then the core dumped occures. Do I need to active "platform_linux" or not? The tech-support log is attached below. breeze tech-support -------- openr config file -------- Missing Config File -------- openr runtime params -------- 4574 openr --alloc_prefix_len=128 --assume_drained=false --config_store_filepath=/tmp/aq_persistent_config_store.bin --decision_debounce_max_ms=250 --decision_debounce_min_ms=10 --domain=openr --dryrun=false --enable_subnet_validation=true --enable_fib_sync=true --enable_health_checker=false --enable_legacy_flooding=true --enable_lfa=false --enable_netlink_fib_handler=true --enable_netlink_system_handler=true --enable_old_decision_module=false --enable_perf_measurement=true --enable_prefix_alloc=false --enable_rtt_metric=true --enable_segment_routing=false --enable_spark=true --enable_v4=true --enable_watchdog=true --fib_handler_port=60100 --health_checker_ping_interval_s=3 --ifname_prefix=terra,nic1,nic2,ens33,ens38 --iface_regex_exclude= --iface_regex_include= --ip_tos=192 --key_prefix_filters= --kvstore_flood_msg_per_sec=0 --kvstore_flood_msg_burst_size=0 --kvstore_zmq_hwm=65536 --link_flap_initial_backoff_ms=1000 --link_flap_max_backoff_ms=60000 --loopback_iface=lo --memory_limit_mb=300 --minloglevel=0 --node_name=yf --override_loopback_addr=false --prefixes= --redistribute_ifaces=lo1 --seed_prefix= --set_loopback_address=false --spark_fastinit_keepalive_time_ms=100 --spark_hold_time_s=30 --spark_keepalive_time_s=3 --set_leaf_node=false --static_prefix_alloc=false --logbufsecs=0 --logtostderr --max_log_size=1 --v=1 -------- openr version -------- Current Version : 20180307 -------- openr build information -------- Build Information -------- openr config -------- Missing Prefix Allocator config Prefix Type -------- breeze prefixmgr view -------- Type Prefix -------- breeze lm links -------- == Node Overload: NO == Interface Status Metric Override Addresses ens33 Up 192.168.75.128 -------- breeze kvstore peers -------- == yf's peers == -------- breeze kvstore nodes -------- Node V6-Loopback V4-Loopback
-------- breeze kvstore adj -------- -------- breeze kvstore prefixes --------
-------- breeze kvstore keys --ttl -------- == Available keys in KvStore == Key Originator Ver Hash TTL - Ver prefix:yf yf 1 +1103d60e82d7d1a3 0:04:11.406000 - 9 -------- breeze decision validate -------- Decision is in sync with KvStore if nothing shows up -------- breeze decision routes -------- == Routes for yf ==
-------- breeze fib validate -------- PASS -------- breeze fib routes-computed -------- == Routes for yf ==
-------- breeze fib routes-installed -------- == yf's FIB routes by client 786 == -------- breeze perf fib -------- -------- breeze monitor counters -------- == yf's counters == decision.prefix_db_update.count.0 : 1 -------- breeze monitor logs -------- time 02:22:36 2018-11-07 |
Pardon me for delayed response. Not sure why netlink tests are failing on your system. I would encourage you to poke around test code. We use netlink library 3.4.0+ with patch https://github.com/facebook/openr/blob/master/build/fix-route-obj-attr-list.patch Open/R by default have
or
|
Summary: This is just facebookarchive/bistro#37, backported to `fbcode_builder`. snarkmaster Pull Request resolved: facebookarchive/bistro#37 Test Plan: Push and watch Travis Reviewed By: simpkins Differential Revision: D16453080 Pulled By: snarkmaster fbshipit-source-id: a15eaead931f046c41e50f8e3b412ef68b172d65
Please use this template for reporting suspected bugs or requests for help.
Issue Description
first question, the NetlinkSocketTestis failed.
second question, there is a file named "platform_linux" will be compiled in /usr/local/sbin, I think it works as the platform agent for linux to program the routes, but when I run it after I run "run_openr", some core dump issues come up.
Environment
ubuntu-16.04
Minimal test code / Steps to reproduce the issue
first issue:
Start 13: NetlinkTypesTest
13/17 Test #13: NetlinkTypesTest ................. Passed 0.09 sec
Start 14: NetlinkSocketTest
14/17 Test #14: NetlinkSocketTest ................***Failed 28.45 sec
Start 15: PrefixManagerTest
15/17 Test #15: PrefixManagerTest ................ Passed 0.35 sec
Start 16: SparkTest
16/17 Test #16: SparkTest ........................ Passed 27.93 sec
Start 17: MockIoProviderTest
17/17 Test #17: MockIoProviderTest ............... Passed 0.28 sec
94% tests passed, 1 tests failed out of 17
Total Test time (real) = 424.98 sec
The following tests FAILED:
14 - NetlinkSocketTest (Failed)
Errors while running CTest
Makefile:117: recipe for target 'test' failed
make: *** [test] Error 8
second issue:
E1106 08:28:46.837707 4258 ThriftServer.cpp:397] Got an exception while setting up the server: 98failed to bind to async server socket: [::]:60099: Address already in use
E1106 08:28:46.844789 4259 ThriftServer.cpp:397] Got an exception while setting up the server: 98failed to bind to async server socket: [::]:60100: Address already in use
terminate called after throwing an instance of 'std::system_error'
what(): 98failed to bind to async server socket: [::]:60100: Address already in use
*** Aborted at 1541521726 (unix time) try "date -d @1541521726" if you are using GNU date ***
PC: @ 0x7fca01a47428 gsignal
terminate called recursively
*** SIGABRT (@0x3e80000109e) received by PID 4254 (TID 0x7fc9f9bbc700) from PID 4254; stack trace: ***
@ 0x7fca0300b390 (unknown)
@ 0x7fca01a47428 gsignal
@ 0x7fca01a4902a abort
@ 0x7fca0239984d __gnu_cxx::__verbose_terminate_handler()
@ 0x7fca023976b6 (unknown)
@ 0x7fca02397701 std::terminate()
@ 0x7fca023c2d38 (unknown)
@ 0x7fca030016ba start_thread
@ 0x7fca01b1941d clone
Aborted (core dumped)
What's the actual result?
What's the expected result?
I want to know if the "NetlinkSocketTest failed" will lead the openr doesn't work properly. And How can I enable the linux platform agent "platform_linux" after I run "run_openr"? Or the "run_openr" already contain the linux fib agent and I do not need to run another?
Thankyou
The text was updated successfully, but these errors were encountered: