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

clang 12 compile error #1642

Closed
songdongsheng opened this issue Dec 16, 2021 · 9 comments
Closed

clang 12 compile error #1642

songdongsheng opened this issue Dec 16, 2021 · 9 comments

Comments

@songdongsheng
Copy link

Describe the bug (描述bug)

In file included from /tmp/tmp.7mW5R2vmFp/src/brpc/builtin/connections_service.cpp:28:
/tmp/tmp.7mW5R2vmFp/src/brpc/nshead_service.h:66:19: error: field type 'brpc::NsheadMessage' is an abstract class
NsheadMessage _request;
^
/usr/include/google/protobuf/message.h:251:12: note: unimplemented pure virtual method 'New' in 'NsheadMessage'
Message* New(Arena* arena) const override = 0;
^
In file included from /tmp/tmp.7mW5R2vmFp/src/brpc/builtin/connections_service.cpp:28:
/tmp/tmp.7mW5R2vmFp/src/brpc/nshead_service.h:67:19: error: field type 'brpc::NsheadMessage' is an abstract class
NsheadMessage _response;
^
20 warnings and 2 errors generated.

To Reproduce (复现方法)

cd $(mktemp -d)
curl -sSL https://downloads.apache.org/incubator/brpc/1.0.0/apache-brpc-1.0.0-incubating-src.tar.gz | tar -xz --strip-components 1
rm -fr build && mkdir build && cd build
cmake
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++
-DCMAKE_INSTALL_PREFIX=/usr
..
make -j 2

Expected behavior (期望行为)
make successful

Versions (各种版本)
OS: RHEL 8.5
Compiler: both clang 12.0.1 & 8.5.0 failed
brpc: 1.0.0
protobuf: v3.19.1

Additional context/screenshots (更多上下文/截图)
image

@wwbmmm
Copy link
Contributor

wwbmmm commented Jan 26, 2022

Hi @songdongsheng you can try the latest master branch, #1679 may have resolved this problem

@songdongsheng
Copy link
Author

yes, compile works fine. but test failed:

90% tests passed, 6 tests failed out of 58

Total Test time (real) = 240.97 sec

The following tests FAILED:
          8 - bthread_fd_unittest (Subprocess aborted)
         11 - bthread_key_unittest (Subprocess aborted)
         23 - brpc_channel_unittest (Subprocess aborted)
         29 - brpc_grpc_protocol_unittest (Failed)
         34 - brpc_http_rpc_protocol_unittest (Failed)
         38 - brpc_load_balancer_unittest (Subprocess aborted)

@songdongsheng
Copy link
Author

# ./build/test/bthread_fd_unittest
Running main() from gtest_main.cc
[==========] Running 11 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 11 tests from FDTest
[ RUN      ] FDTest.read_kernel_version
sysname=Linux
nodename=ubi-testing
release=5.3.18-24.78-default
version=#1 SMP Mon Aug 2 21:00:23 UTC 2021 (a13100d)
machine=x86_64
[       OK ] FDTest.read_kernel_version (0 ms)
[ RUN      ] FDTest.ping_pong
PROFILE: interrupts/evictions/bytes = 1074/23/6784
WARNING: Logging before InitGoogleLogging() is written to STDERR
I20220203 16:04:45.948731  8044 bthread_fd_unittest.cpp:327] tid=190334
[       OK ] FDTest.ping_pong (4838 ms)
[ RUN      ] FDTest.mod_closed_fd
[       OK ] FDTest.mod_closed_fd (0 ms)
[ RUN      ] FDTest.add_existing_fd
[       OK ] FDTest.add_existing_fd (0 ms)
[ RUN      ] FDTest.interrupt_pthread
wake up 140024936388352
140024936388352 quits
wake up 140024944781056
140024944781056 quits
[       OK ] FDTest.interrupt_pthread (201 ms)
[ RUN      ] FDTest.invalid_epoll_events
F20220203 16:04:46.250573  8044 fd.cpp:433] Check failed: (uint32_t)poll_events == epoll_events (0 vs. 2147483648)
*** Check failure stack trace: ***
Aborted

@songdongsheng
Copy link
Author

./build/test/bthread_key_unittest

Running main() from gtest_main.cc
[==========] Running 7 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 7 tests from KeyTest
[ RUN ] KeyTest.creating_key_in_parallel
[ OK ] KeyTest.creating_key_in_parallel (13 ms)
[ RUN ] KeyTest.use_one_key_in_different_threads
[ OK ] KeyTest.use_one_key_in_different_threads (1 ms)
[ RUN ] KeyTest.use_invalid_keys
WARNING: Logging before InitGoogleLogging() is written to STDERR
F20220203 16:06:18.533879 8076 key.cpp:197] Check failed: false bthread_setspecific is called on invalid bthread_key_t{index=383 version=123}
*** Check failure stack trace: ***
F20220203 16:06:18.533890 8096 key.cpp:197] Check failed: false bthread_setspecific is called on invalid bthread_key_t{index=383 version=123}
Aborted

@songdongsheng
Copy link
Author

# ./build/test/brpc_channel_unittest
[==========] Running 58 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 58 tests from ChannelTest
[ RUN      ] ChannelTest.intrusive_ptr_sanity
[       OK ] ChannelTest.intrusive_ptr_sanity (1 ms)
[ RUN      ] ChannelTest.init_as_single_server
WARNING: Logging before InitGoogleLogging() is written to STDERR
E20220203 16:07:22.407583  8097 channel.cpp:228] Invalid address=`127.0.0.1:12345:asdf'
E20220203 16:07:22.407660  8097 channel.cpp:228] Invalid address=`127.0.0.1:99999'
E20220203 16:07:23.638518  8097 channel.cpp:255] Invalid address=`127.0.0.1asdf'
E20220203 16:07:23.638583  8097 channel.cpp:255] Invalid address=`127.0.0.1'
[       OK ] ChannelTest.init_as_single_server (1234 ms)
[ RUN      ] ChannelTest.init_using_unknown_naming_service
F20220203 16:07:23.638818  8097 load_balancer.cpp:76] Fail to find LoadBalancer by `unknown'
*** Check failure stack trace: ***
Aborted

@songdongsheng
Copy link
Author

# ./build/test/brpc_grpc_protocol_unittest
Fail to set -crash_on_fatal_log

@songdongsheng
Copy link
Author

# ./build/test/brpc_http_rpc_protocol_unittest
Fail to set -crash_on_fatal_log

@songdongsheng
Copy link
Author

# ./build/test/brpc_load_balancer_unittest
Running main() from gtest_main.cc
[==========] Running 12 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 12 tests from LoadBalancerTest
[ RUN      ] LoadBalancerTest.doubly_buffered_data
[       OK ] LoadBalancerTest.doubly_buffered_data (0 ms)
[ RUN      ] LoadBalancerTest.la_sanity
Added 256
Removed 128
Added 128
Removed 128
Added 128
Removed 128
Added 128
Removed 128
Added 128
Removed 128
[       OK ] LoadBalancerTest.la_sanity (3 ms)
[ RUN      ] LoadBalancerTest.update_while_selection
Time brpc::policy::RoundRobinLoadBalancer ...
WARNING: Logging before InitGoogleLogging() is written to STDERR
I20220203 17:19:31.969134  3408 brpc_load_balancer_unittest.cpp:354] Stop all...
thread 0 selected 1606462 times/s
thread 1 selected 1606956 times/s
thread 2 selected 1460682 times/s
thread 3 selected 1584370 times/s
thread 4 selected 1546276 times/s
thread 5 selected 1678455 times/s
thread 6 selected 1687297 times/s
thread 7 selected 1005559 times/s
0=4529 1=5592 2=5764 3=6159 4=5753 5=6958 6=4535 7=4555 8=6071 9=6930 10=6920 11=5543 12=5676 13=4547 14=6056 15=6778 16=135337 17=8739 18=5783 19=5462 20=5388 21=4559 22=6773 23=4530 24=4551 25=4550 26=4543 27=4541 28=4556 29=4552 30=80666 31=4555 32=6961 33=5700 34=5880 35=7439 36=5426 37=4543 38=5872 39=8685 40=6283 41=4540 42=7186 43=6966 44=4568 45=7148 46=4556 47=6960 48=4564 49=8884 50=4537 51=7114 52=5630 53=6124 54=4538 55=4544 56=6009 57=5643 58=4562 59=4560 60=6029 61=4558 62=4577 63=4559 64=5650 65=5610 66=6218 67=4542 68=8676 69=4552 70=4541 71=4527 72=4537 73=4572 74=4543 75=4545 76=4570 77=4525 78=6831 79=6011 80=4568 81=4535 82=4574 83=7614 84=5393 85=5626 86=4533 87=7227 88=5922 89=4552 90=5622 91=4539 92=4558 93=4578 94=5907 95=4567 96=4541 97=5746 98=17447 99=5706 100=6218 101=4529 102=6339 103=4542 104=4542 105=4554 106=4575 107=4535 108=4520 109=7084 110=5652 111=4549 112=4565 113=6860 114=4543 115=4566 116=177065 117=6055 118=6774 119=7969 120=4569 121=4533 122=4547 123=103917 124=58717 125=4553 126=6817 127=6011 128=4543 129=5773 130=4569 131=4545 132=5842 133=4533 134=5614 135=4565 136=5530 137=5939 138=6077 139=5499 140=84108 141=5684 142=4542 143=4533 144=4543 145=4533 146=87844 147=5716 148=4556 149=5586 150=6238 151=4569 152=145592 153=5361 154=4560 155=4562 156=4563 157=4546 158=4564 159=4532 160=4530 161=6057 162=4542 163=7410 164=4527 165=4533 166=5484 167=5897 168=4574 169=4544 170=4538 171=4554 172=4563 173=4563 174=4573 175=4572 176=4552 177=4567 178=5791 179=4538 180=6298 181=4542 182=4564 183=5726 184=8041 185=4556 186=4544 187=4547 188=4548 189=4528 190=4578 191=5703 192=4533 193=4528 194=4580 195=5845 196=4580 197=7069 198=5930 199=5582 200=4534 201=6688 202=6817 203=4577 204=4546 205=9798 206=5852 207=4555 208=4585 209=5787 210=5977 211=5929 212=5495 213=7258 214=39631 215=4565 216=4555 217=5817 218=6186 219=9248 220=5642 221=4544 222=5565 223=5587 224=5922 225=5512 226=4527 227=6207 228=9503 229=4556 230=4550 231=6890 232=4543 233=4564 234=5680 235=5544 236=6069 237=4546 238=6069 239=4551 240=87297 241=5652 242=4519 243=10035 244=8335 245=4553 246=5977 247=8718 248=44450 249=5388 250=4534 251=6910 252=74971 253=8536 254=6285 255=4568
Time brpc::policy::RandomizedLoadBalancer ...
I20220203 17:19:32.228614  3408 brpc_load_balancer_unittest.cpp:354] Stop all...
thread 0 selected 2328529 times/s
thread 1 selected 2241028 times/s
thread 2 selected 2140237 times/s
thread 3 selected 2321598 times/s
thread 4 selected 2244930 times/s
thread 5 selected 2515333 times/s
thread 6 selected 1754473 times/s
thread 7 selected 2063116 times/s
0=15154 1=13008 2=17906 3=13205 4=14797 5=15778 6=15194 7=14209 8=14389 9=17048 10=15516 11=12878 12=13015 13=18994 14=13116 15=14488 16=14599 17=16076 18=89787 19=15877 20=15847 21=15693 22=13222 23=15757 24=13117 25=14341 26=12973 27=12991 28=13103 29=106929 30=54949 31=12888 32=14618 33=12843 34=15306 35=12917 36=15840 37=12971 38=14432 39=12973 40=13177 41=13051 42=13164 43=12912 44=14410 45=14694 46=14191 47=13068 48=13106 49=14322 50=14049 51=12905 52=13049 53=13199 54=13112 55=13085 56=12977 57=14500 58=14687 59=16235 60=13157 61=14895 62=14346 63=15806 64=94915 65=13109 66=12859 67=13090 68=15470 69=94034 70=15607 71=14343 72=14424 73=12981 74=14592 75=16337 76=15659 77=13121 78=14732 79=14735 80=15722 81=13113 82=14722 83=13167 84=88188 85=12945 86=13061 87=14459 88=13159 89=13157 90=16366 91=95293 92=13184 93=14493 94=61390 95=12856 96=14322 97=12963 98=14202 99=14627 100=14272 101=85139 102=13160 103=14533 104=13085 105=12954 106=15555 107=13072 108=16354 109=14738 110=13054 111=14058 112=12889 113=15115 114=13212 115=15915 116=13247 117=12953 118=15406 119=14534 120=13164 121=13129 122=13016 123=14389 124=14410 125=14414 126=13056 127=13155 128=13147 129=13919 130=15125 131=27864 132=91306 133=14759 134=13110 135=14467 136=14477 137=15413 138=13002 139=13168 140=13257 141=12978 142=14596 143=15831 144=12892 145=13037 146=14253 147=15760 148=14676 149=13267 150=13133 151=15517 152=14458 153=14478 154=12919 155=13068 156=13214 157=13227 158=15510 159=13189 160=14302 161=13117 162=13188 163=14573 164=12989 165=14139 166=12834 167=14510 168=17576 169=13089 170=13182 171=13000 172=16413 173=13058 174=13042 175=16841 176=13083 177=16220 178=13152 179=13102 180=12969 181=14071 182=14631 183=13084 184=18391 185=13033 186=12904 187=13224 188=15688 189=14805 190=14037 191=14016 192=15586 193=21278 194=13177 195=15149 196=13054 197=14798 198=14370 199=13125 200=13046 201=88792 202=13270 203=14600 204=14562 205=13140 206=14646 207=13218 208=16116 209=16105 210=15892 211=13112 212=17350 213=13083 214=13247 215=12971 216=15557 217=12962 218=13036 219=15093 220=13069 221=14214 222=15852 223=14682 224=15512 225=13124 226=13130 227=14977 228=13066 229=13217 230=14233 231=12963 232=13265 233=14187 234=16151 235=13075 236=13216 237=16153 238=13092 239=93424 240=14767 241=15124 242=14641 243=62295 244=14383 245=13178 246=14404 247=12871 248=13149 249=13106 250=12859 251=13347 252=12986 253=13146 254=13079 255=13191
Time brpc::policy::LocalityAwareLoadBalancer ...
I20220203 17:19:34.749984  3408 brpc_load_balancer_unittest.cpp:354] Stop all...
thread 0 selected 3311645 times/s
thread 1 selected 2396468 times/s
thread 2 selected 3223153 times/s
thread 3 selected 3249214 times/s
thread 4 selected 3462593 times/s
thread 5 selected 3680242 times/s
thread 6 selected 4182242 times/s
thread 7 selected 4079338 times/s
0=229120 1=272521 2=250339 3=313053 4=296978 5=241662 6=210786 7=293017 8=307987 9=295441 10=220502 11=290807 12=309379 13=297958 14=292924 15=338865 16=232214 17=254399 18=259461 19=282166 20=320542 21=238306 22=306029 23=255217 24=311119 25=234952 26=316623 27=283006 28=232828 29=251789 30=290282 31=298994 32=241807 33=303388 34=302638 35=282959 36=269467 37=257226 38=286227 39=280172 40=285765 41=263134 42=276877 43=262745 44=221258 45=293913 46=246074 47=279910 48=316452 49=235638 50=287537 51=306702 52=255582 53=251268 54=288676 55=278975 56=255223 57=284847 58=245414 59=246290 60=263064 61=210177 62=304707 63=225759 64=282093 65=293159 66=228067 67=290148 68=282011 69=263047 70=287531 71=277055 72=308199 73=304511 74=259305 75=238577 76=302963 77=356492 78=263860 79=244640 80=249361 81=280570 82=285336 83=272467 84=261911 85=261278 86=288019 87=215411 88=297757 89=257245 90=257862 91=220552 92=262097 93=321967 94=247398 95=264807 96=309128 97=287070 98=267957 99=240477 100=288918 101=255164 102=317226 103=254457 104=304991 105=312181 106=266876 107=301166 108=251859 109=266613 110=250623 111=198528 112=310435 113=211288 114=284523 115=259551 116=296637 117=286553 118=292928 119=247757 120=353933 121=254779 122=263485 123=323705 124=289728 125=270984 126=239590 127=254255 128=252257 129=274595 130=287135 131=248786 132=333669 133=245178 134=301704 135=285509 136=236833 137=315774 138=256656 139=261143 140=249397 141=300865 142=264519 143=238299 144=295757 145=255234 146=290565 147=232154 148=272510 149=291231 150=256336 151=287956 152=264651 153=250051 154=236785 155=264194 156=245228 157=263176 158=313991 159=255295 160=235817 161=311080 162=307322 163=246223 164=218080 165=229030 166=257129 167=240262 168=291700 169=307953 170=224840 171=277633 172=257231 173=316038 174=259186 175=299020 176=283760 177=250763 178=279331 179=281616 180=317355 181=241649 182=272331 183=257705 184=261149 185=278155 186=290144 187=317232 188=242119 189=282409 190=240697 191=308747 192=309229 193=280081 194=249940 195=268230 196=303092 197=279762 198=242881 199=234428 200=262930 201=243003 202=245641 203=265673 204=282473 205=246572 206=264165 207=285447 208=289199 209=288854 210=271834 211=256623 212=282083 213=276046 214=284977 215=292438 216=243673 217=232791 218=295123 219=253844 220=205618 221=272078 222=230197 223=225566 224=255591 225=291023 226=282443 227=265320 228=239282 229=249985 230=279794 231=288885 232=314749 233=278348 234=295682 235=253140 236=272632 237=264708 238=249565 239=284288 240=269290 241=251487 242=297543 243=247955 244=306120 245=304323 246=280658 247=271756 248=252666 249=318598 250=305059 251=241555 252=281932 253=253092 254=244929 255=275748
Time brpc::policy::WeightedRoundRobinLoadBalancer ...
I20220203 17:19:35.121575  3408 brpc_load_balancer_unittest.cpp:354] Stop all...
thread 0 selected 393767 times/s
thread 1 selected 358938 times/s
thread 2 selected 373727 times/s
thread 3 selected 355614 times/s
thread 4 selected 376679 times/s
thread 5 selected 354405 times/s
thread 6 selected 394650 times/s
thread 7 selected 99825 times/s
0=2614 1=3513 2=2631 3=3874 4=4207 5=4642 6=2670 7=3399 8=2653 9=2639 10=2588 11=5704 12=2682 13=3689 14=3764 15=2608 16=2607 17=2641 18=3883 19=73643 20=3631 21=2628 22=2637 23=4179 24=4064 25=4937 26=2577 27=4291 28=6500 29=2657 30=5910 31=4051 32=3963 33=2651 34=5841 35=2572 36=2564 37=4285 38=3765 39=3731 40=2599 41=4141 42=2614 43=2614 44=2575 45=2616 46=4261 47=2563 48=2606 49=9168 50=3819 51=4264 52=2589 53=3855 54=2616 55=3528 56=5083 57=2674 58=2606 59=3478 60=2595 61=2596 62=2601 63=3683 64=4213 65=2580 66=2648 67=4471 68=2660 69=3569 70=4515 71=2600 72=3891 73=5505 74=5225 75=4005 76=2678 77=2572 78=2584 79=2642 80=2638 81=4799 82=2601 83=4126 84=3808 85=5567 86=3882 87=4078 88=3580 89=3987 90=2610 91=2614 92=4216 93=4601 94=2561 95=2557 96=2562 97=4032 98=3771 99=4865 100=2582 101=6180 102=2601 103=2625 104=4245 105=2580 106=7434 107=9130 108=2585 109=6807 110=2668 111=3610 112=2572 113=3796 114=2603 115=3888 116=2622 117=3505 118=5128 119=5053 120=2597 121=4054 122=4677 123=3510 124=2560 125=4630 126=4874 127=2610 128=15098 129=3695 130=6592 131=3642 132=5245 133=2690 134=2589 135=3730 136=2637 137=2606 138=2550 139=2561 140=2558 141=2643 142=2606 143=3487 144=4698 145=4739 146=2635 147=3610 148=4960 149=2659 150=2611 151=4229 152=3634 153=6801 154=2556 155=2598 156=2634 157=2579 158=5280 159=6659 160=5502 161=3650 162=2550 163=2583 164=3981 165=2626 166=3729 167=3940 168=2589 169=3973 170=2665 171=2586 172=8984 173=2653 174=3628 175=2577 176=2629 177=2601 178=3429 179=3665 180=3635 181=2639 182=3588 183=3815 184=3458 185=3905 186=3483 187=4137 188=2573 189=4948 190=2586 191=2634 192=4681 193=3740 194=3711 195=4302 196=3974 197=2594 198=4045 199=5213 200=3455 201=2514 202=2608 203=2598 204=3834 205=3659 206=4255 207=2591 208=2625 209=2669 210=3683 211=4132 212=2544 213=3698 214=2640 215=4404 216=2641 217=3566 218=4470 219=2617 220=3807 221=3734 222=7455 223=3945 224=2646 225=3998 226=5280 227=3703 228=3724 229=2638 230=8456 231=3542 232=4450 233=3689 234=3862 235=2566 236=4661 237=2635 238=2569 239=2586 240=2632 241=5132 242=2622 243=2623 244=5117 245=3672 246=5029 247=2656 248=3652 249=2657 250=2690 251=2572 252=2557 253=2563 254=2618
Time brpc::policy::ConsistentHashingLoadBalancer ...
I20220203 17:19:42.048159  3408 brpc_load_balancer_unittest.cpp:354] Stop all...
thread 0 selected 1861568 times/s
thread 1 selected 1964706 times/s
thread 2 selected 1893361 times/s
thread 3 selected 2038738 times/s
thread 4 selected 1958852 times/s
thread 5 selected 1910641 times/s
thread 6 selected 1938717 times/s
thread 7 selected 1804957 times/s
0=243156 1=397057 2=486537 3=373516 4=531921 5=246322 6=396507 7=270681 8=563122 9=815915 10=569346 11=504150 12=374978 13=333000 14=801339 15=524420 16=228936 17=258430 18=546169 19=446224 20=562146 21=439108 22=276774 23=390958 24=274602 25=1063663 26=667576 27=417637 28=261201 29=283676 30=261865 31=266179 32=528732 33=524404 34=279180 35=647531 36=499084 37=311936 38=345053 39=611898 40=225514 41=730045 42=522378 43=312767 44=363268 45=340634 46=265403 47=231185 48=268035 49=297743 50=362452 51=276870 52=388847 53=261413 54=240954 55=380982 56=240251 57=397284 58=239492 59=363408 60=367419 61=338266 62=462274 63=483981 64=259211 65=267610 66=280158 67=271636 68=389800 69=242511 70=317719 71=258543 72=776014 73=282624 74=309037 75=313950 76=251399 77=361250 78=280561 79=255643 80=323973 81=279515 82=274424 83=358288 84=333243 85=628654 86=242929 87=284037 88=275819 89=441188 90=283734 91=549273 92=683873 93=250861 94=392145 95=562021 96=220747 97=396512 98=652238 99=246704 100=403885 101=619894 102=619580 103=296182 104=243238 105=380903 106=293653 107=320240 108=543494 109=406538 110=591739 111=262674 112=1041339 113=604663 114=281878 115=668412 116=507916 117=291759 118=269407 119=271390 120=313751 121=520354 122=504636 123=494036 124=189727 125=1238842 126=991958 127=253007 128=457019 129=231273 130=295681 131=504208 132=407584 133=268785 134=475299 135=463774 136=937972 137=608225 138=324182 139=267412 140=273412 141=261312 142=219089 143=392091 144=308966 145=719631 146=278657 147=278059 148=405034 149=256663 150=402503 151=325700 152=566468 153=644582 154=249394 155=279762 156=961427 157=340986 158=290037 159=688967 160=391825 161=619893 162=576537 163=287084 164=405452 165=243067 166=408757 167=385110 168=233357 169=310884 170=421774 171=248239 172=248979 173=300359 174=264124 175=371789 176=451813 177=811810 178=220576 179=443772 180=420739 181=594979 182=241973 183=509290 184=439131 185=249969 186=285854 187=419834 188=404607 189=608795 190=1105451 191=243919 192=247750 193=287762 194=731178 195=260505 196=445326 197=470450 198=1356988 199=406420 200=274418 201=277621 202=232065 203=235904 204=434838 205=315098 206=521411 207=544648 208=969196 209=509891 210=282613 211=253025 212=262917 213=463265 214=710653 215=451724 216=481107 217=301521 218=251063 219=245273 220=251949 221=367258 222=226801 223=290116 224=407495 225=622618 226=391739 227=939287 228=276552 229=398037 230=329803 231=364968 232=773742 233=281986 234=524140 235=817957 236=296952 237=404324 238=384602 239=272562 240=289197 241=426656 242=260685 243=255380 244=241651 245=569091 246=623329 247=260739 248=246611 249=255765 250=940245 251=400532 252=280142 253=376312 254=389309 255=238108
[       OK ] LoadBalancerTest.update_while_selection (10283 ms)
[ RUN      ] LoadBalancerTest.fairness
PROFILE: interrupts/evictions/bytes = 102/18/1800
RoundRobinLoadBalancer:
0=48643 1=48647 2=48647 3=48649 4=48648 5=48649 6=48648 7=48650 8=48648 9=48648 10=48648 11=48648 12=48649 13=48650 14=48650 15=48648 16=48648 17=48646 18=48648 19=48649 20=48651 21=48648 22=48647 23=48648 24=48649 25=48648 26=48649 27=48650 28=48650 29=48650 30=48648 31=48649 32=48647 33=48648 34=48649 35=48649 36=48649 37=48648 38=48648 39=48649 40=48649 41=48651 42=48648 43=48647 44=48648 45=48648 46=48649 47=48648 48=48650 49=48649 50=48649 51=48648 52=48649 53=48648 54=48649 55=48650 56=48650 57=48650 58=48647 59=48647 60=48648 61=48648 62=48649 63=48649 64=48648 65=48650 66=48648 67=48648 68=48647 69=48649 70=48650 71=48650 72=48650 73=48649 74=48648 75=48647 76=48649 77=48648 78=48650 79=48648 80=48649 81=48649 82=48649 83=48648 84=48647 85=48649 86=48649 87=48650 88=48648 89=48648 90=48647 91=48648 92=48648 93=48649 94=48649 95=48649 96=48649 97=48649 98=48649 99=48649 100=48647 101=48648 102=48650 103=48649 104=48649 105=48647 106=48648 107=48649 108=48649 109=48649 110=48649 111=48648 112=48649 113=48649 114=48649 115=48649 116=48647 117=48650 118=48648 119=48649 120=48648 121=48648 122=48648 123=48650 124=48649 125=48647 126=48646 127=48647 128=48648 129=48648 130=48649 131=48648 132=48647 133=48646 134=48647 135=48647 136=48648 137=48647 138=48650 139=48647 140=48648 141=48647 142=48646 143=48649 144=48648 145=48650 146=48648 147=48647 148=48647 149=48647 150=48646 151=48649 152=48649 153=48648 154=48648 155=48648 156=48648 157=48645 158=48647 159=48648 160=48649 161=48646 162=48647 163=48646 164=48648 165=48648 166=48649 167=48648 168=48648 169=48648 170=48648 171=48647 172=48646 173=48647 174=48645 175=48647 176=48646 177=48647 178=48644 179=48646 180=48648 181=48648 182=48647 183=48645 184=48646 185=48646 186=48647 187=48647 188=48648 189=48646 190=48647 191=48645 192=48646 193=48647 194=48646 195=48648 196=48648 197=48648 198=48647 199=48645 200=48644 201=48647 202=48647 203=48648 204=48646 205=48646 206=48646 207=48647 208=48645 209=48647 210=48647 211=48648 212=48648 213=48647 214=48648 215=48644 216=48646 217=48646 218=48648 219=48647 220=48646 221=48646 222=48647 223=48646 224=48647 225=48646 226=48647 227=48647 228=48647 229=48647 230=48645 231=48647 232=48646 233=48647 234=48647 235=48648 236=48645 237=48647 238=48647 239=48647 240=48647 241=48646 242=48648 243=48646 244=48647 245=48646 246=48647 247=48646 248=48647 249=48646 250=48647 251=48645 252=48646 253=48648 254=48648 255=48648
: average=48647 deviation=1.36282
PROFILE: interrupts/evictions/bytes = 112/14/2008
RandomizedLoadBalancer:
0=45257 1=45447 2=45349 3=45450 4=45193 5=45170 6=45475 7=45167 8=45267 9=45498 10=45136 11=44808 12=45103 13=45250 14=45270 15=45442 16=45449 17=45373 18=45311 19=45062 20=44876 21=45018 22=45272 23=45354 24=45649 25=45342 26=45243 27=45518 28=45413 29=45373 30=45319 31=45436 32=45139 33=45408 34=45420 35=45448 36=45728 37=45212 38=45244 39=45549 40=44938 41=44894 42=45610 43=45297 44=45188 45=45154 46=45298 47=45474 48=45636 49=45427 50=45670 51=45283 52=45384 53=45225 54=45122 55=45401 56=45697 57=45096 58=45417 59=45453 60=44967 61=45319 62=45643 63=45328 64=45430 65=45457 66=45226 67=45602 68=45040 69=45045 70=45183 71=45370 72=45028 73=45229 74=45298 75=45350 76=45226 77=45368 78=45312 79=45466 80=45274 81=45169 82=45632 83=45082 84=45182 85=45413 86=45431 87=44789 88=45288 89=45142 90=45307 91=45407 92=45641 93=45663 94=44943 95=45511 96=45062 97=45487 98=45725 99=45327 100=45499 101=45267 102=44701 103=45587 104=45566 105=45433 106=45140 107=45749 108=45358 109=45303 110=45113 111=45277 112=45149 113=45348 114=45276 115=45035 116=45489 117=45500 118=45211 119=45393 120=45691 121=45336 122=45141 123=44971 124=45179 125=44956 126=45884 127=45617 128=45423 129=45346 130=45039 131=45244 132=45496 133=45327 134=45205 135=45335 136=45237 137=45427 138=45214 139=45018 140=45081 141=45178 142=45262 143=45460 144=45649 145=45521 146=45515 147=45477 148=45147 149=45350 150=45208 151=44907 152=45294 153=45162 154=45306 155=45293 156=45469 157=45376 158=45346 159=45572 160=45349 161=45200 162=45181 163=45400 164=45332 165=45109 166=45100 167=45414 168=44744 169=45115 170=45166 171=45402 172=45212 173=45451 174=45443 175=45584 176=45123 177=45169 178=45202 179=45564 180=45099 181=45333 182=45478 183=45593 184=45360 185=45533 186=45333 187=45421 188=45681 189=45177 190=45607 191=45316 192=45243 193=45352 194=45676 195=45610 196=45198 197=45063 198=45248 199=45337 200=45523 201=45199 202=45409 203=45280 204=45465 205=45517 206=45261 207=45319 208=45170 209=45635 210=45234 211=45170 212=45034 213=45579 214=45311 215=45387 216=45020 217=45232 218=45406 219=45640 220=45405 221=45532 222=45361 223=45005 224=45261 225=45530 226=45496 227=45496 228=45227 229=45813 230=45268 231=45119 232=45216 233=45506 234=45430 235=45295 236=45390 237=45572 238=45205 239=45184 240=45145 241=44779 242=45554 243=45474 244=45464 245=45231 246=44853 247=45020 248=45619 249=45125 250=45258 251=45209 252=45483 253=44967 254=45005 255=45301
: average=45316 deviation=207.518
PROFILE: interrupts/evictions/bytes = 106/28/2224
LocalityAwareLoadBalancer:
0=33853 1=33727 2=34109 3=34013 4=33695 5=33575 6=34131 7=33867 8=34036 9=33749 10=33931 11=33949 12=33810 13=33522 14=33738 15=33976 16=33923 17=33633 18=33763 19=33722 20=33960 21=33818 22=33913 23=33844 24=34090 25=34213 26=33798 27=33944 28=33820 29=33786 30=33744 31=33764 32=34058 33=33896 34=33558 35=33826 36=34098 37=34031 38=33863 39=34032 40=33935 41=33889 42=33891 43=33917 44=33934 45=33451 46=33932 47=34079 48=33778 49=33898 50=33922 51=33976 52=33810 53=33988 54=34150 55=33970 56=33795 57=34132 58=33684 59=34207 60=34050 61=33995 62=33873 63=34034 64=33938 65=33904 66=33710 67=33572 68=34056 69=33633 70=33638 71=33834 72=34104 73=33956 74=33966 75=33981 76=33843 77=33778 78=33629 79=33795 80=33705 81=34048 82=33722 83=33805 84=34098 85=34150 86=33829 87=33619 88=33941 89=33686 90=33858 91=34085 92=33806 93=34189 94=33493 95=33799 96=33942 97=33757 98=33882 99=33807 100=33803 101=33924 102=33829 103=34011 104=33902 105=33857 106=33924 107=33918 108=33935 109=34026 110=33891 111=33769 112=34085 113=33896 114=33710 115=33884 116=34143 117=34014 118=33896 119=33931 120=34209 121=33829 122=34003 123=33839 124=34341 125=33638 126=33626 127=33989 128=33799 129=33987 130=33475 131=33888 132=34018 133=33501 134=34104 135=33845 136=33764 137=33929 138=34204 139=33981 140=34223 141=33937 142=33946 143=33799 144=34193 145=33929 146=33577 147=33737 148=33936 149=33937 150=34051 151=33858 152=33851 153=34106 154=33974 155=33634 156=33818 157=34058 158=33861 159=33844 160=33854 161=33686 162=34015 163=33624 164=33667 165=33729 166=33861 167=33647 168=33912 169=33758 170=33982 171=34338 172=33666 173=33699 174=34042 175=33774 176=34152 177=34117 178=33944 179=34079 180=33841 181=33793 182=33684 183=34138 184=33905 185=33988 186=33594 187=33840 188=33917 189=33881 190=34004 191=33898 192=33938 193=33754 194=34141 195=34215 196=33825 197=34025 198=33606 199=34016 200=33967 201=33634 202=33849 203=33724 204=34363 205=34122 206=33600 207=33914 208=34127 209=33878 210=33629 211=34149 212=34040 213=33903 214=33825 215=33884 216=33874 217=33893 218=34105 219=33857 220=34251 221=33906 222=34018 223=34065 224=33955 225=33821 226=33988 227=33699 228=33719 229=34382 230=33833 231=33951 232=33802 233=33788 234=33840 235=33981 236=33776 237=33878 238=34117 239=33926 240=33567 241=33775 242=33692 243=33625 244=34102 245=33539 246=34004 247=34179 248=33969 249=33942 250=33846 251=34102 252=33912 253=34095 254=33887 255=34060
: average=33894 deviation=174.421
PROFILE: interrupts/evictions/bytes = 103/13/1832
WeightedRoundRobinLoadBalancer:
configured weight:
WeightedRoundRobin{n=256: 94489280586(100) 94489280590(100) 103079215210(100) 85899345996(100) 94489280717(100) 77309411540(100) 103079215118(100) 94489280757(100) 94489280662(100) 85899345980(100) 94489280739(100) 103079215219(100) 103079215273(100) 94489280725(100) 94489280535(100) 85899345954(100) 94489280520(100) 103079215277(100) 94489280702(100) 103079215115(100) 77309411464(100) 94489280704(100) 85899345968(100) 94489280644(100) 85899345970(100) 103079215151(100) 85899346164(100) 94489280642(100) 94489280729(100) 94489280684(100) 85899346069(100) 103079215198(100) 103079215272(100) 111669149750(100) 94489280672(100) 111669149936(100) 111669149797(100) 94489280654(100) 94489280565(100) 94489280621(100) 77309411466(100) 85899345999(100) 85899346124(100) 111669149760(100) 111669149878(100) 94489280630(100) 103079215227(100) 85899346116(100) 94489280636(100) 85899345921(100) 103079215328(100) 85899346156(100) 103079215278(100) 94489280557(100) 111669149851(100) 85899346117(100) 85899346114(100) 94489280518(100) 85899345976(100) 103079215305(100) 94489280670(100) 103079215289(100) 85899346007(100) 103079215293(100) 77309411419(100) 103079215354(100) 85899346015(100) 85899346053(100) 85899346020(100) 94489280614(100) 85899346057(100) 85899346033(100) 111669149778(100) 85899345952(100) 94489280744(100) 103079215339(100) 94489280547(100) 94489280710(100) 85899345932(100) 103079215342(100) 111669149822(100) 103079215335(100) 85899346169(100) 94489280543(100) 94489280637(100) 94489280550(100) 85899346037(100) 77309411561(100) 94489280665(100) 103079215207(100) 94489280529(100) 94489280746(100) 85899346173(100) 94489280521(100) 85899346091(100) 77309411391(100) 103079215106(100) 103079215329(100) 94489280583(100) 103079215176(100) 85899346095(100) 103079215144(100) 85899346162(100) 103079215231(100) 94489280651(100) 85899346087(100) 85899346101(100) 111669149812(100) 103079215303(100) 111669149794(100) 94489280604(100) 85899346054(100) 85899346108(100) 94489280530(100) 111669149847(100) 111669149729(100) 103079215163(100) 94489280633(100) 103079215114(100) 77309411494(100) 94489280677(100) 103079215304(100) 85899346150(100) 94489280675(100) 103079215319(100) 77309411447(100) 94489280517(100) 103079215247(100) 77309411416(100) 94489280553(100) 103079215261(100) 85899346051(100) 94489280622(100) 103079215193(100) 94489280579(100) 94489280549(100) 94489280740(100) 77309411380(100) 85899345988(100) 94489280760(100) 103079215203(100) 77309411489(100) 85899346175(100) 85899346055(100) 103079215356(100) 85899346143(100) 94489280730(100) 85899346106(100) 94489280619(100) 85899346107(100) 85899345978(100) 103079215123(100) 103079215284(100) 103079215295(100) 77309411370(100) 85899345923(100) 94489280755(100) 111669149844(100) 85899345941(100) 77309411348(100) 94489280608(100) 94489280597(100) 103079215310(100) 103079215161(100) 94489280538(100) 103079215245(100) 103079215345(100) 85899345986(100) 103079215173(100) 103079215251(100) 94489280595(100) 94489280624(100) 94489280714(100) 85899346104(100) 103079215233(100) 77309411364(100) 94489280542(100) 103079215274(100) 94489280763(100) 103079215150(100) 94489280719(100) 94489280593(100) 85899345942(100) 94489280731(100) 94489280609(100) 94489280671(100) 94489280573(100) 85899345963(100) 111669149745(100) 94489280556(100) 103079215174(100) 103079215287(100) 103079215313(100) 103079215197(100) 103079215184(100) 94489280632(100) 85899346064(100) 85899346134(100) 103079215120(100) 94489280751(100) 103079215341(100) 94489280652(100) 94489280668(100) 85899346042(100) 77309411328(100) 77309411433(100) 85899346098(100) 103079215320(100) 85899346006(100) 85899346082(100) 94489280536(100) 103079215351(100) 94489280707(100) 103079215350(100) 85899346131(100) 85899345935(100) 85899346113(100) 94489280540(100) 103079215330(100) 94489280623(100) 85899346149(100) 94489280537(100) 94489280732(100) 85899345997(100) 85899346048(100) 103079215249(100) 94489280720(100) 94489280664(100) 94489280689(100) 94489280541(100) 94489280567(100) 94489280676(100) 85899345993(100) 94489280734(100) 103079215250(100) 103079215280(100) 94489280596(100) 94489280551(100) 103079215179(100) 94489280722(100) 103079215108(100) 77309411442(100) 94489280539(100) 94489280715(100) 94489280616(100) 103079215111(100) 77309411390(100) 85899346141(100) 103079215283(100) 103079215358(100) 103079215169(100) 94489280666(100) 103079215194(100) 111669149747(100) 94489280620(100) 94489280525(100)}
0=23568 1=23576 2=23572 3=23566 4=23571 5=23578 6=23568 7=23567 8=23571 9=23579 10=23564 11=23568 12=23575 13=23579 14=23562 15=23567 16=23577 17=23576 18=23564 19=23569 20=23576 21=23574 22=23566 23=23568 24=23577 25=23570 26=23567 27=23572 28=23579 29=23568 30=23567 31=23575 32=23580 33=23564 34=23567 35=23576 36=23578 37=23563 38=23567 39=23576 40=23575 41=23566 42=23569 43=23576 44=23573 45=23566 46=23570 47=23577 48=23569 49=23567 50=23572 51=23579 52=23565 53=23567 54=23573 55=23579 56=23562 57=23568 58=23577 59=23577 60=23564 61=23568 62=23576 63=23574 64=23566 65=23569 66=23577 67=23571 68=23566 69=23570 70=23578 71=23567 72=23567 73=23573 74=23578 75=23563 76=23565 77=23575 78=23577 79=23561 80=23567 81=23576 82=23575 83=23564 84=23567 85=23575 86=23572 87=23566 88=23569 89=23576 90=23569 91=23565 92=23571 93=23577 94=23565 95=23567 96=23574 97=23580 98=23564 99=23569 100=23576 101=23578 102=23565 103=23570 104=23577 105=23576 106=23567 107=23569 108=23577 109=23572 110=23567 111=23571 112=23579 113=23569 114=23568 115=23573 116=23579 117=23564 118=23567 119=23576 120=23579 121=23562 122=23567 123=23577 124=23576 125=23564 126=23568 127=23576 128=23574 129=23566 130=23569 131=23577 132=23569 133=23566 134=23571 135=23577 136=23566 137=23565 138=23573 139=23578 140=23562 141=23566 142=23575 143=23577 144=23562 145=23567 146=23575 147=23574 148=23565 149=23568 150=23575 151=23572 152=23565 153=23569 154=23577 155=23567 156=23566 157=23569 158=23577 159=23563 160=23565 161=23572 162=23576 163=23559 164=23565 165=23574 166=23574 167=23561 168=23566 169=23573 170=23571 171=23564 172=23566 173=23574 174=23568 175=23563 176=23568 177=23575 178=23564 179=23564 180=23571 181=23576 182=23561 183=23565 184=23574 185=23576 186=23561 187=23566 188=23575 189=23575 190=23564 191=23567 192=23575 193=23572 194=23566 195=23569 196=23576 197=23568 198=23566 199=23571 200=23578 201=23564 202=23567 203=23572 204=23578 205=23562 206=23568 207=23575 208=23577 209=23564 210=23569 211=23576 212=23574 213=23566 214=23569 215=23577 216=23571 217=23567 218=23570 219=23578 220=23567 221=23567 222=23572 223=23579 224=23564 225=23567 226=23576 227=23577 228=23561 229=23567 230=23576 231=23575 232=23564 233=23567 234=23576 235=23573 236=23567 237=23569 238=23577 239=23570 240=23567 241=23572 242=23578 243=23566 244=23567 245=23574 246=23579 247=23563 248=23567 249=23575 250=23577 251=23564 252=23568 253=23576 254=23575 255=23565
: scaling average=235.705 scaling deviation=0.0518239
PROFILE: interrupts/evictions/bytes = 94/16/1800
WeightedRoundRobinLoadBalancer:
configured weight:
WeightedRoundRobin{n=256: 103079215117(92) 103079215212(98) 120259084339(119) 111669149786(80) 103079215258(100) 111669149761(82) 111669149950(93) 111669149875(99) 94489280733(117) 85899345982(80) 111669149703(103) 103079215208(91) 103079215307(118) 103079215131(81) 85899346034(111) 111669149700(118) 103079215314(112) 111669149771(101) 103079215143(96) 103079215188(114) 111669149872(118) 111669149842(101) 103079215326(86) 94489280585(109) 103079215268(81) 103079215159(105) 103079215133(89) 103079215281(84) 103079215256(96) 103079215312(102) 111669149841(111) 94489280640(97) 94489280589(83) 103079215324(118) 103079215129(118) 94489280741(105) 103079215215(97) 111669149922(106) 103079215132(85) 94489280705(90) 94489280527(99) 94489280723(118) 111669149942(80) 103079215299(87) 111669149943(91) 103079215128(100) 94489280674(85) 94489280598(107) 111669149912(106) 94489280690(115) 85899346025(212) 85899345920(101) 94489280634(115) 103079215260(82) 103079215244(116) 111669149933(109) 103079215343(112) 111669149712(117) 94489280726(88) 94489280656(86) 103079215224(117) 111669149776(116) 111669149789(114) 111669149905(115) 111669149879(101) 111669149766(97) 103079215148(114) 120259084337(93) 94489280555(117) 103079215165(109) 103079215263(99) 103079215201(113) 103079215323(99) 94489280534(102) 103079215185(99) 103079215311(92) 111669149742(94) 103079215355(104) 111669149866(80) 103079215134(81) 85899345956(107) 111669149825(115) 94489280696(98) 103079215306(99) 103079215216(113) 103079215187(118) 111669149843(98) 111669149765(103) 94489280578(98) 111669149937(110) 111669149837(114) 103079215130(91) 111669149753(86) 111669149902(82) 103079215189(119) 103079215200(86) 85899345940(84) 94489280533(115) 120259084436(90) 103079215347(90) 94489280515(284) 85899345962(100) 111669149887(81) 111669149876(105) 111669149715(94) 94489280570(91) 94489280699(106) 103079215211(87) 94489280698(96) 103079215322(92) 94489280735(95) 111669149948(99) 94489280647(89) 94489280767(89) 85899346081(119) 111669149795(111) 103079215352(94) 94489280580(116) 85899345972(113) 103079215332(99) 103079215141(92) 103079215171(101) 111669149785(119) 103079215214(89) 94489280643(114) 111669149853(100) 103079215145(118) 85899346008(85) 111669149839(111) 103079215109(95) 85899346039(96) 111669149911(93) 103079215267(86) 94489280742(82) 111669149896(86) 103079215269(86) 85899346086(110) 111669149706(80) 103079215225(90) 111669149755(105) 120259084321(119) 120259084439(99) 103079215122(90) 94489280700(88) 94489280646(96) 103079215196(90) 120259084386(116) 111669149895(81) 120259084404(104) 94489280693(119) 94489280679(417) 103079215243(119) 111669149823(94) 94489280754(98) 111669149736(81) 94489280687(110) 111669149768(103) 103079215175(91) 111669149921(101) 111669149698(112) 85899345983(98) 94489280683(84) 103079215113(96) 94489280765(102) 103079215338(101) 103079215121(98) 111669149799(88) 103079215257(93) 85899346153(118) 94489280629(106) 103079215142(95) 103079215229(94) 103079215135(118) 94489280761(91) 111669149927(105) 120259084414(103) 111669149934(80) 94489280524(91) 103079215302(107) 103079215139(82) 111669149931(89) 103079215336(80) 94489280544(109) 120259084370(94) 94489280625(112) 94489280649(82) 103079215206(101) 94489280612(101) 94489280645(97) 94489280607(84) 111669149946(81) 85899346011(91) 111669149885(113) 94489280599(113) 111669149881(114) 103079215262(107) 111669149897(103) 94489280568(98) 103079215110(108) 94489280706(119) 94489280709(500) 120259084443(116) 103079215149(86) 111669149870(110) 94489280748(113) 111669149920(86) 94489280513(96) 103079215228(90) 94489280708(95) 111669149819(112) 103079215222(84) 120259084470(95) 120259084352(85) 94489280716(88) 94489280591(84) 85899346058(94) 103079215213(97) 103079215157(114) 103079215246(107) 120259084389(111) 120259084528(99) 103079215264(87) 120259084342(112) 111669149864(119) 111669149790(115) 94489280661(95) 103079215276(115) 103079215321(104) 103079215234(83) 94489280756(101) 111669149743(105) 94489280562(109) 103079215236(95) 94489280560(88) 103079215296(82) 85899346056(103) 111669149707(89) 103079215294(107) 111669149869(117) 103079215112(104) 94489280546(114) 103079215127(81) 103079215317(86) 111669149865(93) 111669149811(92) 103079215331(81) 94489280572(90) 103079215254(118) 103079215349(114) 111669149710(102) 85899346132(610) 103079215309(96) 94489280588(88) 111669149802(108) 103079215182(99) 103079215178(102)}
0=23018 1=24517 2=29769 3=20012 4=25014 5=20516 6=23265 7=24765 8=29270 9=20010 10=25767 11=22766 12=29518 13=20260 14=27769 15=29521 16=28018 17=25266 18=24012 19=28519 20=29519 21=25264 22=21509 23=27266 24=20266 25=26267 26=22264 27=21010 28=24015 29=25517 30=27765 31=24265 32=20758 33=29519 34=29518 35=26265 36=24261 37=26513 38=21265 39=22515 40=24762 41=29516 42=20006 43=21765 44=22760 45=25014 46=21264 47=26765 48=26515 49=28764 50=53031 51=25265 52=28764 53=20516 54=29015 55=27265 56=28015 57=29264 58=22016 59=21509 60=29269 61=29018 62=28514 63=28763 64=25268 65=24265 66=28516 67=23264 68=29268 69=27266 70=24767 71=28265 72=24764 73=25515 74=24763 75=23012 76=23515 77=26015 78=20008 79=20266 80=26765 81=28764 82=24516 83=24765 84=28265 85=29515 86=24517 87=25765 88=24513 89=27518 90=28521 91=22760 92=21514 93=20515 94=29768 95=21513 96=21014 97=28767 98=22518 99=22513 100=71044 101=25016 102=20260 103=26268 104=23518 105=22763 106=26517 107=21761 108=24017 109=23017 110=23762 111=24764 112=22266 113=22267 114=29769 115=27766 116=23518 117=29017 118=28265 119=24769 120=23013 121=25266 122=29770 123=22259 124=28520 125=25012 126=29520 127=21262 128=27765 129=23766 130=24015 131=23262 132=21513 133=20515 134=21509 135=21515 136=27516 137=20011 138=22514 139=26266 140=29766 141=24766 142=22517 143=22012 144=24011 145=22516 146=29016 147=20264 148=26014 149=29770 150=104311 151=29768 152=23513 153=24513 154=20265 155=27517 156=25767 157=22764 158=25265 159=28019 160=24514 161=21015 162=24016 163=25516 164=25265 165=24514 166=22016 167=23267 168=29517 169=26520 170=23768 171=23514 172=29524 173=22762 174=26269 175=25769 176=20017 177=22764 178=26769 179=20515 180=22267 181=20011 182=27269 183=23519 184=28018 185=20517 186=25267 187=25268 188=24266 189=21018 190=20261 191=22768 192=28268 193=28270 194=28520 195=26769 196=25768 197=24518 198=27020 199=29770 200=125092 201=29020 202=21515 203=27519 204=28272 205=21512 206=24019 207=22518 208=23763 209=28021 210=21014 211=23768 212=21265 213=22014 214=21019 215=23513 216=24268 217=28519 218=26769 219=27771 220=24766 221=21768 222=28018 223=29772 224=28771 225=23765 226=28770 227=26017 228=20767 229=25269 230=26269 231=27267 232=23765 233=22011 234=20518 235=25767 236=22262 237=26768 238=29269 239=26017 240=28521 241=20262 242=21518 243=23264 244=23015 245=20265 246=22512 247=29522 248=28521 249=25515 250=152604 251=24017 252=22013 253=27018 254=24765 255=25518
: scaling average=250.159 scaling deviation=0.0252187
PROFILE: interrupts/evictions/bytes = 82/27/2216
ConsistentHashingLoadBalancer:
0=32632 1=31725 2=32289 3=31629 4=33284 5=33198 6=31865 7=29023 8=28371 9=29924 10=27943 11=31711 12=35707 13=26774 14=32978 15=32007 16=31519 17=38168 18=35695 19=30289 20=27531 21=34689 22=37190 23=32374 24=25853 25=33681 26=37414 27=33347 28=31394 29=36364 30=34109 31=33249 32=33519 33=32160 34=32191 35=29636 36=30541 37=38362 38=29404 39=32240 40=30999 41=29894 42=38207 43=31939 44=30758 45=38657 46=25029 47=38474 48=31275 49=34718 50=31572 51=34400 52=30017 53=30092 54=33700 55=32480 56=29719 57=33541 58=35001 59=30965 60=31917 61=30249 62=34887 63=38124 64=35781 65=31265 66=30489 67=30522 68=33952 69=32610 70=31185 71=32579 72=29195 73=27271 74=34655 75=35165 76=30253 77=30319 78=33738 79=25485 80=33204 81=32076 82=28402 83=32602 84=26731 85=34515 86=35282 87=30503 88=37194 89=32614 90=30404 91=37099 92=32261 93=35177 94=31131 95=30882 96=31156 97=31146 98=33681 99=26673 100=31261 101=38518 102=34906 103=35115 104=31854 105=29266 106=30196 107=35199 108=27689 109=39136 110=27265 111=33185 112=30317 113=33971 114=30502 115=28415 116=31810 117=34290 118=35661 119=34098 120=33103 121=28857 122=42701 123=39025 124=30323 125=39135 126=28430 127=34826 128=33987 129=35710 130=35354 131=31766 132=29655 133=39232 134=33694 135=26579 136=31794 137=32173 138=27852 139=29742 140=33778 141=42386 142=27344 143=33579 144=31235 145=35931 146=33190 147=34943 148=31520 149=30114 150=31761 151=34484 152=25062 153=37062 154=37546 155=32039 156=29533 157=30461 158=28049 159=32778 160=31608 161=31482 162=37090 163=37750 164=36180 165=29109 166=30020 167=35171 168=30655 169=32733 170=33654 171=35231 172=33098 173=33616 174=31045 175=25500 176=32885 177=30246 178=30573 179=34755 180=29726 181=38331 182=37238 183=30847 184=26061 185=30966 186=29887 187=33806 188=28636 189=30223 190=31475 191=29612 192=30723 193=28527 194=29042 195=33560 196=29417 197=31925 198=38101 199=31811 200=32015 201=28271 202=30448 203=31429 204=29900 205=33412 206=31265 207=27662 208=34466 209=27750 210=32486 211=27496 212=37199 213=37300 214=31681 215=34709 216=35155 217=38298 218=28705 219=37053 220=30683 221=34681 222=34025 223=32154 224=22761 225=31189 226=34704 227=28272 228=30272 229=31929 230=28219 231=29822 232=35100 233=27942 234=37235 235=31992 236=29392 237=32980 238=30419 239=36890 240=35689 241=34367 242=30153 243=34288 244=28281 245=33972 246=40364 247=31147 248=31146 249=35839 250=36104 251=34445 252=33608 253=31143 254=31638 255=26257
: average=32356 deviation=3323.58
[       OK ] LoadBalancerTest.fairness (1927 ms)
[ RUN      ] LoadBalancerTest.consistent_hashing
c_hashc_hashc_hashc_hashc_hashc_hash0=0.99559 1=0.999543 2=1.00111 3=1.00359 4=0.999912 5=0.99559 6=0.999543 7=1.00111 8=1.00359 9=0.999912 10=0.99559 11=0.999543 12=1.00111 13=1.00359 14=0.999912 15=0.99559 16=0.999543 17=1.00111 18=1.00359 19=0.999912 20=0.99559 21=0.999543 22=1.00111 23=1.00359 24=0.999912
average_normalized_load=0.999948 deviation=0.00259867
c_hashc_hashc_hashc_hashc_hashc_hash0=0.997295 1=0.999644 2=1.00317 3=0.999015 4=1.00116 5=0.997295 6=0.999644 7=1.00317 8=0.999015 9=1.00116 10=0.997295 11=0.999644 12=1.00317 13=0.999015 14=1.00116 15=0.997295 16=0.999644 17=1.00317 18=0.999015 19=1.00116 20=0.997295 21=0.999644 22=1.00317 23=0.999015 24=1.00116
average_normalized_load=1.00006 deviation=0.00198839
c_hashc_hashc_hashc_hashc_hashc_hash0=0.998484 1=0.998301 2=1.00238 3=0.999324 4=1.00144 5=0.998484 6=0.998301 7=1.00238 8=0.999324 9=1.00144 10=0.998484 11=0.998301 12=1.00238 13=0.999324 14=1.00144 15=0.998484 16=0.998301 17=1.00238 18=0.999324 19=1.00144 20=0.998484 21=0.998301 22=1.00238 23=0.999324 24=1.00144
average_normalized_load=0.999986 deviation=0.00163631
[       OK ] LoadBalancerTest.consistent_hashing (573 ms)
[ RUN      ] LoadBalancerTest.weighted_round_robin
E20220203 17:19:44.549572  3408 weighted_round_robin_load_balancer.cpp:91] Invalid weight is set: 1ab
E20220203 17:19:44.549615  3408 weighted_round_robin_load_balancer.cpp:91] Invalid weight is set: -1
E20220203 17:19:44.549633  3408 weighted_round_robin_load_balancer.cpp:91] Invalid weight is set: 0
1=10.36.150.32:8833, 1=10.92.115.19:8831, 1=10.36.150.32:8833, 1=10.92.115.19:8831, 1=10.36.150.32:8833, 1=10.36.150.32:8833, 1=10.42.108.25:8832, 1=10.36.150.32:8833, 1=10.92.115.19:8831, 1=10.36.150.32:8833, 1=10.36.150.32:8833, 1=10.42.108.25:8832,
10.92.115.19:8831 result=3 configured=3
10.42.108.25:8832 result=2 configured=2
10.36.150.32:8833 result=7 configured=7
[       OK ] LoadBalancerTest.weighted_round_robin (0 ms)
[ RUN      ] LoadBalancerTest.weighted_round_robin_no_valid_server
[       OK ] LoadBalancerTest.weighted_round_robin_no_valid_server (0 ms)
[ RUN      ] LoadBalancerTest.weighted_randomized
E20220203 17:19:44.549763  3408 weighted_randomized_load_balancer.cpp:49] Invalid weight is set: 1ab
E20220203 17:19:44.549775  3408 weighted_randomized_load_balancer.cpp:49] Invalid weight is set: -1
E20220203 17:19:44.549783  3408 weighted_randomized_load_balancer.cpp:49] Invalid weight is set: 0
weight randomized=10.42.108.25:8832, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.31:8833, weight randomized=10.92.115.19:8831, weight randomized=10.36.150.31:8833, weight randomized=10.92.115.19:8831, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.32:8899, weight randomized=10.92.115.19:8831, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.32:8899, weight randomized=10.92.115.19:8831, weight randomized=10.36.150.32:8899, weight randomized=10.42.108.25:8832, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.31:8833, weight randomized=10.36.150.31:8833, weight randomized=10.92.115.19:8831, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.32:8899, weight randomized=10.92.115.19:8831, weight randomized=10.36.150.31:8833, weight randomized=10.36.150.31:8833, weight randomized=10.92.115.19:8831, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.31:8833, weight randomized=10.36.150.31:8833, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.32:8899, weight randomized=10.92.115.19:8831, weight randomized=10.92.115.19:8831, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.31:8833, weight randomized=10.36.150.32:8899, weight randomized=10.92.115.19:8831, weight randomized=10.92.115.19:8831, weight randomized=10.36.150.32:8899, weight randomized=10.92.115.19:8831, weight randomized=10.36.150.31:8833, weight randomized=10.36.150.32:8899, weight randomized=10.92.115.19:8831, weight randomized=10.92.115.19:8831, weight randomized=10.36.150.31:8833, weight randomized=10.92.115.19:8831, weight randomized=10.36.150.31:8833, weight randomized=10.36.150.31:8833, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.32:8899, weight randomized=10.92.115.19:8831, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.32:8899, weight randomized=10.42.108.25:8832, weight randomized=10.36.150.32:8899, weight randomized=10.42.108.25:8832, weight randomized=10.42.108.25:8832, weight randomized=10.92.115.19:8831, weight randomized=10.36.150.31:8833, weight randomized=10.36.150.31:8833, weight randomized=10.36.150.31:8833, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.31:8833, weight randomized=10.36.150.31:8833, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.31:8833, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.31:8833, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.32:8899, weight randomized=10.92.115.19:8831, weight randomized=10.36.150.32:8899, weight randomized=10.92.115.19:8831, weight randomized=10.36.150.31:8833, weight randomized=10.36.150.31:8833, weight randomized=10.92.115.19:8831, weight randomized=10.36.150.31:8833, weight randomized=10.36.150.31:8833, weight randomized=10.36.150.31:8833, weight randomized=10.36.150.31:8833, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.31:8833, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.31:8833, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.31:8833, weight randomized=10.36.150.31:8833, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.32:8899, weight randomized=10.92.115.19:8831, weight randomized=10.36.150.31:8833, weight randomized=10.92.115.19:8831, weight randomized=10.92.115.19:8831, weight randomized=10.42.108.25:8832, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.31:8833, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.32:8899, weight randomized=10.92.115.19:8831, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.32:8899, weight randomized=10.92.115.19:8831, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.31:8833, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.31:8833, weight randomized=10.92.115.19:8831, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.31:8833, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.31:8833, weight randomized=10.36.150.32:8899, weight randomized=10.92.115.19:8831, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.32:8899, weight randomized=10.92.115.19:8831, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.31:8833, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.32:8899, weight randomized=10.92.115.19:8831, weight randomized=10.92.115.19:8831, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.32:8899, weight randomized=10.92.115.19:8831, weight randomized=10.42.108.25:8832, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.31:8833, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.32:8899, weight randomized=10.42.108.25:8832, weight randomized=10.36.150.32:8899, weight randomized=10.42.108.25:8832, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.31:8833, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.31:8833, weight randomized=10.42.108.25:8832, weight randomized=10.92.115.19:8831, weight randomized=10.92.115.19:8831, weight randomized=10.42.108.25:8832, weight randomized=10.36.150.32:8899, weight randomized=10.42.108.25:8832, weight randomized=10.36.150.31:8833, weight randomized=10.42.108.25:8832, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.32:8899, weight randomized=10.92.115.19:8831, weight randomized=10.92.115.19:8831, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.32:8899, weight randomized=10.42.108.25:8832, weight randomized=10.36.150.31:8833, weight randomized=10.36.150.31:8833, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.31:8833, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.32:8899, weight randomized=10.92.115.19:8831, weight randomized=10.92.115.19:8831, weight randomized=10.36.150.31:8833, weight randomized=10.36.150.31:8833, weight randomized=10.36.150.32:8899, weight randomized=10.92.115.19:8831, weight randomized=10.36.150.31:8833, weight randomized=10.92.115.19:8831, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.32:8899, weight randomized=10.36.150.31:8833, weight randomized=10.36.150.32:8899, weight randomized=10.42.108.25:8832, weight randomized=10.92.115.19:8831,
configed_weight_sum=20 run_times=200
10.92.115.19:8831 weight=3 select_times=40 actual_rate=0.2 expect_rate=0.15 expect_rate/2=0.075 expect_rate*2=0.3
10.42.108.25:8832 weight=2 select_times=15 actual_rate=0.075 expect_rate=0.1 expect_rate/2=0.05 expect_rate*2=0.2
10.36.150.31:8833 weight=5 select_times=48 actual_rate=0.24 expect_rate=0.25 expect_rate/2=0.125 expect_rate*2=0.5
10.36.150.32:8899 weight=10 select_times=97 actual_rate=0.485 expect_rate=0.5 expect_rate/2=0.25 expect_rate*2=1
[       OK ] LoadBalancerTest.weighted_randomized (0 ms)
[ RUN      ] LoadBalancerTest.health_check_no_valid_server
[       OK ] LoadBalancerTest.health_check_no_valid_server (1 ms)
[ RUN      ] LoadBalancerTest.revived_from_all_failed_sanity
I20220203 17:19:44.550058  3408 socket.cpp:765] Revived Socket{id=154618822721 addr=10.92.115.19:8832} (0x2d82200) (Connectable)
[       OK ] LoadBalancerTest.revived_from_all_failed_sanity (2020 ms)
[ RUN      ] LoadBalancerTest.invalid_lb_params
E20220203 17:19:46.571709  3408 uri.cpp:285] Invalid space in url=`list://127.0.0.1:7777 50, 127.0.0.1:7778 50'
E20220203 17:19:46.571765  3408 cluster_recover_policy.cpp:134] Failed to set this unknown parameters hold_secon=2
F20220203 17:19:46.571786  3408 load_balancer.cpp:81] Fail to new LoadBalancer
*** Check failure stack trace: ***
Aborted

@wwbmmm
Copy link
Contributor

wwbmmm commented Feb 7, 2022

Maybe it is because you built it with glog so that fatal log causes abort.

@wwbmmm wwbmmm closed this as completed May 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants