Skip to content

Instantly share code, notes, and snippets.

@SnabbBot
Created April 23, 2015 15:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SnabbBot/75008e54fec4c553c2c1 to your computer and use it in GitHub Desktop.
Save SnabbBot/75008e54fec4c553c2c1 to your computer and use it in GitHub Desktop.
Running integration tasks for d2503a4 on davos:
/home/max/snabb_bot/tasks/benchmarks.sh: success
OK: basic1-100e6 on d2503a4 : 1.00255 of 15.7
OK: basic1-10e6 on d2503a4 : 0.997442 of 15.64
OK: iperf-1500 on d2503a4 : 0.991166 of 3.396
OK: iperf-jumbo on d2503a4 : 0.969706 of 6.932
/home/max/snabb_bot/tasks/test.sh: success
Tests successful.
Makefile:155: warning: overriding commands for target `obj/lib/checksum_c.o'
Makefile:151: warning: ignoring old commands for target `obj/lib/checksum_c.o'
DIR testlog
TEST program.snabbnfv.nfvconfig
TEST program.snabbnfv.neutron2snabb.neutron2snabb
TEST lib.hash.murmur
TEST lib.hardware.pci
TEST lib.protocol.ipv6
TEST lib.protocol.ipv4
TEST lib.ipc.shmem.shmem
TEST lib.checksum
TEST lib.bloom_filter
TEST core.app
SKIPPED testlog/core.app
TEST core.lib
TEST core.timer
TEST core.link
TEST core.memory
TEST apps.example.asm
TEST apps.rate_limiter.rate_limiter
TEST apps.keyed_ipv6_tunnel.tunnel
TEST apps.vhost.vhost_user
SKIPPED testlog/apps.vhost.vhost_user
TEST apps.socket.raw
TEST apps.intel.intel_app
TEST apps.packet_filter.pcap_filter
TEST apps.vpn.vpws
TEST program/snabbnfv/selftest.sh
TEST selftest.sh
TEST lib/watchdog/selftest.sh
TEST apps/solarflare/selftest.sh
SKIPPED testlog/apps.solarflare.selftest.sh
BEGIN testlog/apps.example.asm
selftest: asm
memory = 0x2b373a88e000 code_size = 12
BEGIN testlog/apps.intel.intel_app
selftest: intel_app
100 VF initializations:
Running iterated VMDq test...
test # 1: VMDq VLAN=101; 100ms burst. packet sent: 519,945
test # 2: VMDq VLAN=102; 100ms burst. packet sent: 1,124,295
test # 3: VMDq VLAN=103; 100ms burst. packet sent: 1,723,035
test # 4: VMDq VLAN=104; 100ms burst. packet sent: 2,327,895
test # 5: VMDq VLAN=105; 100ms burst. packet sent: 2,926,380
test # 6: VMDq VLAN=106; 100ms burst. packet sent: 3,522,825
test # 7: VMDq VLAN=107; 100ms burst. packet sent: 4,120,290
test # 8: VMDq VLAN=108; 100ms burst. packet sent: 4,723,365
test # 9: VMDq VLAN=109; 100ms burst. packet sent: 5,319,810
test # 10: VMDq VLAN=110; 100ms burst. packet sent: 5,914,215
test # 11: VMDq VLAN=111; 100ms burst. packet sent: 6,506,835
test # 12: VMDq VLAN=112; 100ms burst. packet sent: 7,099,455
test # 13: VMDq VLAN=113; 100ms burst. packet sent: 7,690,290
test # 14: VMDq VLAN=114; 100ms burst. packet sent: 8,282,145
test # 15: VMDq VLAN=115; 100ms burst. packet sent: 8,874,510
test # 16: VMDq VLAN=116; 100ms burst. packet sent: 9,472,995
test # 17: VMDq VLAN=117; 100ms burst. packet sent: 10,063,830
test # 18: VMDq VLAN=118; 100ms burst. packet sent: 10,650,330
test # 19: VMDq VLAN=119; 100ms burst. packet sent: 11,238,360
test # 20: VMDq VLAN=120; 100ms burst. packet sent: 11,823,840
test # 21: VMDq VLAN=121; 100ms burst. packet sent: 12,411,105
test # 22: VMDq VLAN=122; 100ms burst. packet sent: 12,997,095
test # 23: VMDq VLAN=123; 100ms burst. packet sent: 13,582,830
test # 24: VMDq VLAN=124; 100ms burst. packet sent: 14,168,055
test # 25: VMDq VLAN=125; 100ms burst. packet sent: 14,752,515
test # 26: VMDq VLAN=126; 100ms burst. packet sent: 15,336,210
test # 27: VMDq VLAN=127; 100ms burst. packet sent: 15,918,885
test # 28: VMDq VLAN=128; 100ms burst. packet sent: 16,499,520
test # 29: VMDq VLAN=129; 100ms burst. packet sent: 17,080,410
test # 30: VMDq VLAN=130; 100ms burst. packet sent: 17,660,790
test # 31: VMDq VLAN=131; 100ms burst. packet sent: 18,240,660
test # 32: VMDq VLAN=132; 100ms burst. packet sent: 18,828,690
test # 33: VMDq VLAN=133; 100ms burst. packet sent: 19,407,030
test # 34: VMDq VLAN=134; 100ms burst. packet sent: 19,986,135
test # 35: VMDq VLAN=135; 100ms burst. packet sent: 20,563,455
test # 36: VMDq VLAN=136; 100ms burst. packet sent: 21,141,030
test # 37: VMDq VLAN=137; 100ms burst. packet sent: 21,718,350
test # 38: VMDq VLAN=138; 100ms burst. packet sent: 22,293,630
test # 39: VMDq VLAN=139; 100ms burst. packet sent: 22,869,420
test # 40: VMDq VLAN=140; 100ms burst. packet sent: 23,444,445
test # 41: VMDq VLAN=141; 100ms burst. packet sent: 24,019,215
test # 42: VMDq VLAN=142; 100ms burst. packet sent: 24,593,220
test # 43: VMDq VLAN=143; 100ms burst. packet sent: 25,167,735
test # 44: VMDq VLAN=144; 100ms burst. packet sent: 25,741,740
test # 45: VMDq VLAN=145; 100ms burst. packet sent: 26,316,510
test # 46: VMDq VLAN=146; 100ms burst. packet sent: 26,888,985
test # 47: VMDq VLAN=147; 100ms burst. packet sent: 27,461,970
test # 48: VMDq VLAN=148; 100ms burst. packet sent: 28,033,425
test # 49: VMDq VLAN=149; 100ms burst. packet sent: 28,605,645
test # 50: VMDq VLAN=150; 100ms burst. packet sent: 29,176,590
test # 51: VMDq VLAN=151; 100ms burst. packet sent: 29,749,065
test # 52: VMDq VLAN=152; 100ms burst. packet sent: 30,319,500
test # 53: VMDq VLAN=153; 100ms burst. packet sent: 30,889,680
test # 54: VMDq VLAN=154; 100ms burst. packet sent: 31,459,350
test # 55: VMDq VLAN=155; 100ms burst. packet sent: 32,028,765
test # 56: VMDq VLAN=156; 100ms burst. packet sent: 32,597,670
test # 57: VMDq VLAN=157; 100ms burst. packet sent: 33,166,575
test # 58: VMDq VLAN=158; 100ms burst. packet sent: 33,733,440
test # 59: VMDq VLAN=159; 100ms burst. packet sent: 34,301,325
test # 60: VMDq VLAN=160; 100ms burst. packet sent: 34,868,445
test # 61: VMDq VLAN=161; 100ms burst. packet sent: 35,435,820
test # 62: VMDq VLAN=162; 100ms burst. packet sent: 36,002,940
test # 63: VMDq VLAN=163; 100ms burst. packet sent: 36,570,315
test # 64: VMDq VLAN=164; 100ms burst. packet sent: 37,146,615
test # 65: VMDq VLAN=165; 100ms burst. packet sent: 37,711,950
test # 66: VMDq VLAN=166; 100ms burst. packet sent: 38,276,520
test # 67: VMDq VLAN=167; 100ms burst. packet sent: 38,842,110
test # 68: VMDq VLAN=168; 100ms burst. packet sent: 39,406,680
test # 69: VMDq VLAN=169; 100ms burst. packet sent: 39,970,740
test # 70: VMDq VLAN=170; 100ms burst. packet sent: 40,534,545
test # 71: VMDq VLAN=171; 100ms burst. packet sent: 41,098,350
test # 72: VMDq VLAN=172; 100ms burst. packet sent: 41,661,645
test # 73: VMDq VLAN=173; 100ms burst. packet sent: 42,224,940
test # 74: VMDq VLAN=174; 100ms burst. packet sent: 42,788,490
test # 75: VMDq VLAN=175; 100ms burst. packet sent: 43,351,785
test # 76: VMDq VLAN=176; 100ms burst. packet sent: 43,914,570
test # 77: VMDq VLAN=177; 100ms burst. packet sent: 44,477,100
test # 78: VMDq VLAN=178; 100ms burst. packet sent: 45,038,355
test # 79: VMDq VLAN=179; 100ms burst. packet sent: 45,600,375
test # 80: VMDq VLAN=180; 100ms burst. packet sent: 46,162,140
test # 81: VMDq VLAN=181; 100ms burst. packet sent: 46,723,650
test # 82: VMDq VLAN=182; 100ms burst. packet sent: 47,285,160
test # 83: VMDq VLAN=183; 100ms burst. packet sent: 47,846,925
test # 84: VMDq VLAN=184; 100ms burst. packet sent: 48,408,180
test # 85: VMDq VLAN=185; 100ms burst. packet sent: 48,969,945
test # 86: VMDq VLAN=186; 100ms burst. packet sent: 49,529,670
test # 87: VMDq VLAN=187; 100ms burst. packet sent: 50,089,395
test # 88: VMDq VLAN=188; 100ms burst. packet sent: 50,648,610
test # 89: VMDq VLAN=189; 100ms burst. packet sent: 51,208,335
test # 90: VMDq VLAN=190; 100ms burst. packet sent: 51,766,530
test # 91: VMDq VLAN=191; 100ms burst. packet sent: 52,325,745
test # 92: VMDq VLAN=192; 100ms burst. packet sent: 52,883,175
test # 93: VMDq VLAN=193; 100ms burst. packet sent: 53,441,115
test # 94: VMDq VLAN=194; 100ms burst. packet sent: 53,999,820
test # 95: VMDq VLAN=195; 100ms burst. packet sent: 54,558,015
test # 96: VMDq VLAN=196; 100ms burst. packet sent: 55,115,700
test # 97: VMDq VLAN=197; 100ms burst. packet sent: 55,673,130
test # 98: VMDq VLAN=198; 100ms burst. packet sent: 56,229,540
test # 99: VMDq VLAN=199; 100ms burst. packet sent: 56,786,970
test #100: VMDq VLAN=200; 100ms burst. packet sent: 57,343,890
0000:86:00.0: avg wait_lu: 177, max redos: 0, avg: 0
100 PF full cycles
Running iterated VMDq test...
test # 1: VMDq VLAN=101; 100ms burst. packet sent: 598,230
test # 2: VMDq VLAN=102; 100ms burst. packet sent: 593,640
test # 3: VMDq VLAN=103; 100ms burst. packet sent: 582,675
test # 4: VMDq VLAN=104; 100ms burst. packet sent: 592,620
test # 5: VMDq VLAN=105; 100ms burst. packet sent: 587,010
test # 6: VMDq VLAN=106; 100ms burst. packet sent: 583,950
test # 7: VMDq VLAN=107; 100ms burst. packet sent: 486,030
test # 8: VMDq VLAN=108; 100ms burst. packet sent: 594,405
test # 9: VMDq VLAN=109; 100ms burst. packet sent: 579,360
test # 10: VMDq VLAN=110; 100ms burst. packet sent: 580,125
test # 11: VMDq VLAN=111; 100ms burst. packet sent: 586,245
test # 12: VMDq VLAN=112; 100ms burst. packet sent: 587,775
test # 13: VMDq VLAN=113; 100ms burst. packet sent: 579,870
test # 14: VMDq VLAN=114; 100ms burst. packet sent: 567,885
test # 15: VMDq VLAN=115; 100ms burst. packet sent: 583,440
test # 16: VMDq VLAN=116; 100ms burst. packet sent: 589,050
test # 17: VMDq VLAN=117; 100ms burst. packet sent: 573,240
test # 18: VMDq VLAN=118; 100ms burst. packet sent: 569,415
test # 19: VMDq VLAN=119; 100ms burst. packet sent: 586,245
test # 20: VMDq VLAN=120; 100ms burst. packet sent: 589,050
test # 21: VMDq VLAN=121; 100ms burst. packet sent: 578,340
test # 22: VMDq VLAN=122; 100ms burst. packet sent: 406,470
test # 23: VMDq VLAN=123; 100ms burst. packet sent: 593,385
test # 24: VMDq VLAN=124; 100ms burst. packet sent: 589,305
test # 25: VMDq VLAN=125; 100ms burst. packet sent: 584,970
test # 26: VMDq VLAN=126; 100ms burst. packet sent: 601,290
test # 27: VMDq VLAN=127; 100ms burst. packet sent: 571,710
test # 28: VMDq VLAN=128; 100ms burst. packet sent: 590,580
test # 29: VMDq VLAN=129; 100ms burst. packet sent: 600,525
test # 30: VMDq VLAN=130; 100ms burst. packet sent: 597,465
test # 31: VMDq VLAN=131; 100ms burst. packet sent: 597,465
test # 32: VMDq VLAN=132; 100ms burst. packet sent: 570,945
test # 33: VMDq VLAN=133; 100ms burst. packet sent: 596,190
test # 34: VMDq VLAN=134; 100ms burst. packet sent: 600,015
test # 35: VMDq VLAN=135; 100ms burst. packet sent: 589,815
test # 36: VMDq VLAN=136; 100ms burst. packet sent: 594,660
test # 37: VMDq VLAN=137; 100ms burst. packet sent: 584,205
test # 38: VMDq VLAN=138; 100ms burst. packet sent: 601,545
test # 39: VMDq VLAN=139; 100ms burst. packet sent: 587,520
test # 40: VMDq VLAN=140; 100ms burst. packet sent: 591,855
test # 41: VMDq VLAN=141; 100ms burst. packet sent: 576,810
test # 42: VMDq VLAN=142; 100ms burst. packet sent: 597,720
test # 43: VMDq VLAN=143; 100ms burst. packet sent: 589,050
test # 44: VMDq VLAN=144; 100ms burst. packet sent: 574,260
test # 45: VMDq VLAN=145; 100ms burst. packet sent: 601,545
test # 46: VMDq VLAN=146; 100ms burst. packet sent: 569,670
test # 47: VMDq VLAN=147; 100ms burst. packet sent: 572,220
test # 48: VMDq VLAN=148; 100ms burst. packet sent: 586,755
test # 49: VMDq VLAN=149; 100ms burst. packet sent: 579,615
test # 50: VMDq VLAN=150; 100ms burst. packet sent: 559,470
test # 51: VMDq VLAN=151; 100ms burst. packet sent: 561,255
test # 52: VMDq VLAN=152; 100ms burst. packet sent: 575,790
test # 53: VMDq VLAN=153; 100ms burst. packet sent: 579,105
test # 54: VMDq VLAN=154; 100ms burst. packet sent: 217,260
test # 55: VMDq VLAN=155; 100ms burst. packet sent: 600,270
test # 56: VMDq VLAN=156; 100ms burst. packet sent: 579,360
test # 57: VMDq VLAN=157; 100ms burst. packet sent: 574,260
test # 58: VMDq VLAN=158; 100ms burst. packet sent: 572,475
test # 59: VMDq VLAN=159; 100ms burst. packet sent: 570,180
test # 60: VMDq VLAN=160; 100ms burst. packet sent: 576,045
test # 61: VMDq VLAN=161; 100ms burst. packet sent: 576,810
test # 62: VMDq VLAN=162; 100ms burst. packet sent: 571,710
test # 63: VMDq VLAN=163; 100ms burst. packet sent: 571,965
test # 64: VMDq VLAN=164; 100ms burst. packet sent: 573,495
test # 65: VMDq VLAN=165; 100ms burst. packet sent: 578,340
test # 66: VMDq VLAN=166; 100ms burst. packet sent: 583,185
test # 67: VMDq VLAN=167; 100ms burst. packet sent: 572,730
test # 68: VMDq VLAN=168; 100ms burst. packet sent: 563,295
test # 69: VMDq VLAN=169; 100ms burst. packet sent: 578,595
test # 70: VMDq VLAN=170; 100ms burst. packet sent: 574,770
test # 71: VMDq VLAN=171; 100ms burst. packet sent: 583,185
test # 72: VMDq VLAN=172; 100ms burst. packet sent: 575,280
test # 73: VMDq VLAN=173; 100ms burst. packet sent: 564,315
test # 74: VMDq VLAN=174; 100ms burst. packet sent: 572,730
test # 75: VMDq VLAN=175; 100ms burst. packet sent: 580,380
test # 76: VMDq VLAN=176; 100ms burst. packet sent: 587,265
test # 77: VMDq VLAN=177; 100ms burst. packet sent: 587,520
test # 78: VMDq VLAN=178; 100ms burst. packet sent: 591,345
test # 79: VMDq VLAN=179; 100ms burst. packet sent: 586,500
test # 80: VMDq VLAN=180; 100ms burst. packet sent: 593,640
test # 81: VMDq VLAN=181; 100ms burst. packet sent: 593,640
test # 82: VMDq VLAN=182; 100ms burst. packet sent: 588,540
test # 83: VMDq VLAN=183; 100ms burst. packet sent: 597,465
test # 84: VMDq VLAN=184; 100ms burst. packet sent: 595,680
test # 85: VMDq VLAN=185; 100ms burst. packet sent: 594,405
test # 86: VMDq VLAN=186; 100ms burst. packet sent: 592,365
test # 87: VMDq VLAN=187; 100ms burst. packet sent: 588,795
test # 88: VMDq VLAN=188; 100ms burst. packet sent: 588,030
test # 89: VMDq VLAN=189; 100ms burst. packet sent: 595,425
test # 90: VMDq VLAN=190; 100ms burst. packet sent: 590,580
test # 91: VMDq VLAN=191; 100ms burst. packet sent: 568,650
test # 92: VMDq VLAN=192; 100ms burst. packet sent: 588,540
test # 93: VMDq VLAN=193; 100ms burst. packet sent: 589,560
test # 94: VMDq VLAN=194; 100ms burst. packet sent: 596,445
test # 95: VMDq VLAN=195; 100ms burst. packet sent: 600,015
test # 96: VMDq VLAN=196; 100ms burst. packet sent: 592,365
test # 97: VMDq VLAN=197; 100ms burst. packet sent: 591,090
test # 98: VMDq VLAN=198; 100ms burst. packet sent: 591,090
test # 99: VMDq VLAN=199; 100ms burst. packet sent: 572,220
test #100: VMDq VLAN=200; 100ms burst. packet sent: 606,135
0000:86:00.0: avg wait_lu: 164.61, max redos: 0, avg: 0
-------
Send a bunch of packets from Am0
half of them go to nicAm1 and half go nowhere
link report:
0 sent on nicAm0.tx -> sink_ms.in1 (loss rate: 0%)
3,032,333 sent on nicAm1.tx -> sink_ms.in2 (loss rate: 0%)
6,065,175 sent on repeater_ms.output -> nicAm0.rx (loss rate: 0%)
2 sent on source_ms.out -> repeater_ms.input (loss rate: 0%)
-------
Transmitting bidirectionally between nicA and nicB
link report:
898,176 sent on nicA.tx -> sink.in1 (loss rate: 0%)
898,176 sent on nicB.tx -> sink.in2 (loss rate: 0%)
1,789,845 sent on source1.out -> nicA.rx (loss rate: 0%)
1,789,845 sent on source2.out -> nicB.rx (loss rate: 0%)
-------
Send traffic from a nicA (SF) to nicB (two VFs)
The packets should arrive evenly split between the VFs
link report:
0 sent on nicAs.tx -> sink_ms.in1 (loss rate: 0%)
1,139,340 sent on nicBm0.tx -> sink_ms.in2 (loss rate: 0%)
1,139,434 sent on nicBm1.tx -> sink_ms.in3 (loss rate: 0%)
2,279,190 sent on repeater_ms.output -> nicAs.rx (loss rate: 0%)
2 sent on source_ms.out -> repeater_ms.input (loss rate: 0%)
selftest: ok
BEGIN testlog/apps.keyed_ipv6_tunnel.tunnel
Keyed IPv6 tunnel selftest
run simple one second benchmark ...
load: time: 1.00s fps: 13,151,997 fpGbps: 7.260 fpb: 255 bpp: 60 sleep: 0 us
selftest passed
BEGIN testlog/apps.packet_filter.pcap_filter
selftest: pcap_filter
Run for 1 second (stateful = false)...
link report:
276,684 sent on pcap_filter.output -> sink.input (loss rate: 0%)
7,424,325 sent on repeater.output -> pcap_filter.input (loss rate: 0%)
161 sent on source.output -> repeater.input (loss rate: 0%)
ok: accepted 3.7267% of inputs (within tolerance)
Run for 1 second (stateful = true)...
link report:
290,897 sent on pcap_filter.output -> sink.input (loss rate: 0%)
7,615,065 sent on repeater.output -> pcap_filter.input (loss rate: 0%)
161 sent on source.output -> repeater.input (loss rate: 0%)
ok: accepted 3.8200% of inputs (within tolerance)
selftest: ok
BEGIN testlog/apps.rate_limiter.rate_limiter
Rate limiter selftest
test effective rate, non-busy loop
load: time: 1.00s fps: 2,236,312 fpGbps: 1.234 fpb: 255 bpp: 60 sleep: 0 us
load: time: 1.00s fps: 2,245,951 fpGbps: 1.240 fpb: 255 bpp: 60 sleep: 0 us
load: time: 1.00s fps: 2,241,958 fpGbps: 1.238 fpb: 255 bpp: 60 sleep: 0 us
load: time: 1.00s fps: 2,243,694 fpGbps: 1.239 fpb: 255 bpp: 60 sleep: 0 us
load: time: 0.00s fps: NaN fpGbps: nan fpb: NaN bpp: - sleep: 0 us
configured rate is 200000 bytes per second
effective rate is 209981 bytes per second
measure throughput on heavy load...
load: time: 1.00s fps: 10,461,182 fpGbps: 5.775 fpb: 255 bpp: 60 sleep: 0 us
load: time: 1.00s fps: 10,484,434 fpGbps: 5.787 fpb: 255 bpp: 60 sleep: 0 us
elapsed time 2.43416289 seconds
packets received 25500000 10 Mpps
configured rate is 1200000000 bytes per second
effective rate is 628549528 bytes per second
throughput is 10 Mpps
selftest passed
BEGIN testlog/apps.socket.raw
BEGIN testlog/apps.solarflare.selftest.sh
apps/solarflare/solarflare.lua:23: ef_vi library does not have the correct version identified, need 201502, got djr_b1c7f30a84a0
EXITCODE: 43
BEGIN testlog/apps.vhost.vhost_user
selftest: vhost_user
SNABB_TEST_VHOST_USER_SOCKET was not set
Test skipped
EXITCODE: 43
BEGIN testlog/apps.vpn.vpws
BEGIN testlog/core.app
with_restart disabled
Test skipped
EXITCODE: 43
BEGIN testlog/core.lib
selftest: lib
Testing equal
Testing load/store_conf
Testing csum
Testing hex(un)dump
BEGIN testlog/core.link
selftest: link
selftest OK
BEGIN testlog/core.memory
selftest: memory
HugeTLB pages (/proc/sys/vm/nr_hugepages): 2048
Allocating a 2MB HugeTLB: Got 2MB
Physical address: 0x000805a00000
Virtual address: 0x500805a00000
Allocating a 2MB HugeTLB: Got 2MB
Physical address: 0x000805600000
Virtual address: 0x500805600000
Allocating a 2MB HugeTLB: Got 2MB
Physical address: 0x000805400000
Virtual address: 0x500805400000
Allocating a 2MB HugeTLB: Got 2MB
Physical address: 0x000805200000
Virtual address: 0x500805200000
HugeTLB pages (/proc/sys/vm/nr_hugepages): 2048
HugeTLB page allocation OK.
BEGIN testlog/core.timer
selftest: timer
ok (973,855 callbacks in 0.3009 seconds)
BEGIN testlog/lib.bloom_filter
BEGIN testlog/lib.checksum
selftest: checksum
no avx2
sse2: 1000/1000
selftest: ok
BEGIN testlog/lib.hardware.pci
selftest: pci
pciaddress vendor device interface status driver usable
0000:02:00.0 0x8086 0x10fb p1p1 down apps.intel.intel_app yes
0000:02:00.1 0x8086 0x10fb p1p2 down apps.intel.intel_app yes
0000:81:00.0 0x8086 0x10d3 p11p1 down apps.intel.intel_app yes
0000:82:00.0 0x8086 0x10fb p5p1 up apps.intel.intel_app no
0000:82:00.1 0x8086 0x10fb p5p2 up apps.intel.intel_app no
0000:84:00.0 0x8086 0x10fb p9p1 up apps.intel.intel_app no
0000:84:00.1 0x8086 0x10fb p9p2 up apps.intel.intel_app no
0000:86:00.0 0x8086 0x10fb - - apps.intel.intel_app yes
0000:86:00.1 0x8086 0x10fb - - apps.intel.intel_app yes
BEGIN testlog/lib.hash.murmur
Sleftest hash MurmurHash3_x86_32
Passed
Sleftest hash MurmurHash3_x64_128
Passed
BEGIN testlog/lib.ipc.shmem.shmem
ok
BEGIN testlog/lib.protocol.ipv4
BEGIN testlog/lib.protocol.ipv6
BEGIN testlog/lib.watchdog.selftest.sh
[testing alert]
Set timeout, now sleeping...
Resetting watchdog.
Exit normally.
[testing alert_stop]
Set timeout, now sleeping...
Stopping watchdog.
Exit normally.
Alarm clock
[testing ualert]
Set timeout, now sleeping...
Resetting watchdog.
Exit normally.
[testing ualert_stop]
Set timeout, now sleeping...
Stopping watchdog.
Exit normally.
Alarm clock
BEGIN testlog/program.snabbnfv.neutron2snabb.neutron2snabb
selftest: neutron2snabb
ok: {{direction='ingress', ethertype='IPv6'}}
=> ip6
ok: {{direction='ingress', ethertype='IPv4'}}
=> (arp or ip)
ok: {{direction='ingress', ethertype='IPv4', protocol='tcp'}}
=> (arp or (ip and tcp))
ok: {{direction='ingress', ethertype='IPv4', protocol='udp'}}
=> (arp or (ip and udp))
ok: {{direction='ingress', ethertype='IPv4', protocol='udp', port_range_min=1000}}
=> (arp or (ip and udp and portrange 1000-1000))
ok: {{direction='ingress', ethertype='IPv4', protocol='udp', port_range_max=2000}}
=> (arp or (ip and udp and portrange 2000-2000))
ok: {{direction='ingress', ethertype='IPv4', protocol='tcp', port_range_min=1000, port_range_max=2000}}
=> (arp or (ip and tcp and portrange 1000-2000))
ok: {{direction='ingress', ethertype='IPv6', protocol='tcp'}, {direction='ingress', ethertype='IPv4', protocol='udp', remote_ip_prefix='10.0.0.0/8'}}
=> ((ip6 and tcp) or (arp or (ip and udp and src net 10.0.0.0/8)))
selftest ok
BEGIN testlog/program.snabbnfv.nfvconfig
selftest: lib.nfv.config
testing: program/snabbnfv/test_fixtures/nfvconfig/switch_nic/x
engine: start app id0_Virtio
engine: start app id0_NIC
testing: program/snabbnfv/test_fixtures/nfvconfig/switch_filter/x
engine: start app id0_Filter_in
load: time: 0.28s fps: 0 fpGbps: 0.000 fpb: 0 bpp: - sleep: 100 us
testing: program/snabbnfv/test_fixtures/nfvconfig/switch_qos/x
engine: stop app id0_Filter_in
load: time: 0.25s fps: 0 fpGbps: 0.000 fpb: 0 bpp: - sleep: 100 us
testing: program/snabbnfv/test_fixtures/nfvconfig/switch_tunnel/x
engine: start app id0_Tunnel
engine: start app id0_ND
Sending neighbor solicitation for next-hop 2::2
load: time: 0.26s fps: 3 fpGbps: 0.000 fpb: 0 bpp: 86 sleep: 100 us
testing: program/snabbnfv/test_fixtures/nfvconfig/scale_up/y
engine: stop app id0_Tunnel
engine: stop app id0_ND
engine: start app id1_Virtio
engine: start app id1_NIC
load: time: 0.25s fps: 7 fpGbps: 0.000 fpb: 0 bpp: 86 sleep: 100 us
testing: program/snabbnfv/test_fixtures/nfvconfig/scale_up/x
engine: start app id63_Virtio
engine: start app id48_NIC
engine: start app id10_NIC
engine: start app id52_Virtio
engine: start app id6_NIC
engine: start app id45_NIC
engine: start app id34_NIC
engine: start app id35_NIC
engine: start app id40_NIC
engine: start app id61_Virtio
engine: start app id61_NIC
engine: start app id60_Virtio
engine: start app id49_Virtio
engine: start app id59_Virtio
engine: start app id12_NIC
engine: start app id42_NIC
engine: start app id38_NIC
engine: start app id24_NIC
engine: start app id58_Virtio
engine: start app id39_Virtio
engine: start app id51_NIC
engine: start app id57_Virtio
engine: start app id46_NIC
engine: start app id3_NIC
engine: start app id56_NIC
engine: start app id55_Virtio
engine: start app id45_Virtio
engine: start app id28_NIC
engine: start app id25_NIC
engine: start app id15_Virtio
engine: start app id41_NIC
engine: start app id35_Virtio
engine: start app id25_Virtio
engine: start app id54_Virtio
engine: start app id36_NIC
engine: start app id42_Virtio
engine: start app id32_NIC
engine: start app id18_NIC
engine: start app id50_Virtio
engine: start app id62_Virtio
engine: start app id12_Virtio
engine: start app id52_NIC
engine: start app id32_Virtio
engine: start app id22_Virtio
engine: start app id51_Virtio
engine: start app id53_NIC
engine: start app id60_NIC
engine: start app id8_NIC
engine: start app id31_NIC
engine: start app id33_NIC
engine: start app id37_Virtio
engine: start app id27_Virtio
engine: start app id20_Virtio
engine: start app id30_Virtio
engine: start app id50_NIC
engine: start app id10_Virtio
engine: start app id53_Virtio
engine: start app id47_Virtio
engine: start app id23_NIC
engine: start app id43_NIC
engine: start app id13_Virtio
engine: start app id24_Virtio
engine: start app id14_Virtio
engine: start app id21_NIC
engine: start app id7_Virtio
engine: start app id6_Virtio
engine: start app id5_Virtio
engine: start app id63_NIC
engine: start app id21_Virtio
engine: start app id31_Virtio
engine: start app id62_NIC
engine: start app id11_Virtio
engine: start app id59_NIC
engine: start app id13_NIC
engine: start app id41_Virtio
engine: start app id57_NIC
engine: start app id44_Virtio
engine: start app id9_Virtio
engine: start app id8_Virtio
engine: start app id44_NIC
engine: start app id43_Virtio
engine: start app id49_NIC
engine: start app id4_Virtio
engine: start app id4_NIC
engine: start app id2_Virtio
engine: start app id40_Virtio
engine: start app id47_NIC
engine: start app id58_NIC
engine: start app id33_Virtio
engine: start app id23_Virtio
engine: start app id34_Virtio
engine: start app id29_NIC
engine: start app id37_NIC
engine: start app id54_NIC
engine: start app id36_Virtio
engine: start app id26_NIC
engine: start app id16_Virtio
engine: start app id39_NIC
engine: start app id38_Virtio
engine: start app id46_Virtio
engine: start app id56_Virtio
engine: start app id28_Virtio
engine: start app id27_NIC
engine: start app id48_Virtio
engine: start app id30_NIC
engine: start app id16_NIC
engine: start app id5_NIC
engine: start app id19_NIC
engine: start app id17_Virtio
engine: start app id22_NIC
engine: start app id15_NIC
engine: start app id18_Virtio
engine: start app id20_NIC
engine: start app id2_NIC
engine: start app id9_NIC
engine: start app id19_Virtio
engine: start app id29_Virtio
engine: start app id17_NIC
engine: start app id11_NIC
engine: start app id55_NIC
engine: start app id7_NIC
engine: start app id14_NIC
engine: start app id3_Virtio
engine: start app id26_Virtio
load: time: 0.03s fps: 0 fpGbps: 0.000 fpb: 0 bpp: - sleep: 100 us
testing: program/snabbnfv/test_fixtures/nfvconfig/scale_change/x
Sending neighbor solicitation for next-hop 2::2
load: time: 0.51s fps: 0 fpGbps: 0.000 fpb: 0 bpp: - sleep: 100 us
testing: program/snabbnfv/test_fixtures/nfvconfig/scale_change/y
engine: reconfig app id0_NIC
engine: reconfig app id3_NIC
engine: reconfig app id1_NIC
engine: reconfig app id2_NIC
load: time: 0.26s fps: 0 fpGbps: 0.000 fpb: 0 bpp: - sleep: 100 us
BEGIN testlog/program.snabbnfv.selftest.sh
USING program/snabbnfv/test_fixtures/nfvconfig/test_functions/other_vlan.ports
Sourced /etc/bench_conf.sh
------
# Snabbswitch instance variables
#SNABB=snabbswitch/src/snabbswitch
#PCAP=/opt/bench/1514.cap
#PCAP=/opt/bench/1000.cap
#PCAP=/opt/bench/256.cap
PCAP=/opt/bench/64.cap
NODE_BIND0=0
SNABB_LOG0=/dev/null
NFV_PCI0=0000:07:00.0
NFV_SOCKET0=vhost$$_0.sock
NODE_BIND1=1
SNABB_LOG1=/dev/null
NFV_PCI1=0000:84:00.0
NFV_SOCKET1=vhost$$_1.sock
NFV_PACKETS=10e6
# QEMU
GUEST_MEM=512
HUGETLBFS=/hugetlbfs
KERNEL=/opt/bench/bzImage
QEMU=/opt/bench/qemu-system-x86_64
# Guest instance #0
TAP0=tap0
TELNET_PORT0=5000
GUEST_IP0=192.168.2.10
GUEST_MAC0=52:54:00:00:00:00
IMAGE0=/opt/bench/ubuntu-trusty-0.img
BOOTARGS0="earlyprintk root=/dev/vda rw console=ttyS0 ip=$GUEST_IP0"
# Guest instance #1
TAP1=tap1
TELNET_PORT1=5001
GUEST_IP1=192.168.2.11
GUEST_MAC1=52:54:00:00:00:01
IMAGE1=/opt/bench/ubuntu-trusty-1.img
BOOTARGS1="earlyprintk root=/dev/vda rw console=ttyS0 ip=$GUEST_IP1"
------
Sourced /home/max/bench_conf.sh
------
# Snabbswitch instance variables
SNABB=./snabb
SNABB_LOG0=snabb.log
SNABB_LOG1=snabb.log1
NFV_PCI0="0000:86:00.1"
NFV_PCI1="0000:86:00.0"
NFV_SOCKET0=vhost_A.sock
NFV_SOCKET1=vhost_B.sock
NFV_CONFIG=test_fixtures/nfvconfig/test_functions/snabbnfv-bench.port
NFV_CONFIG0=test_fixtures/nfvconfig/test_functions/snabbnfv-bench.port
NFV_CONFIG1=test_fixtures/nfvconfig/test_functions/snabbnfv-bench1.port
# Guest instance #0
TELNET_PORT0=6000
GUEST_IP0=fe80::5054:ff:fe00:0
GUEST_MAC0=52:54:00:00:00:00
IMAGE0=/home/max/bench_env/vma.img
# Guest instance #1
TELNET_PORT1=6001
GUEST_IP1=fe80::5054:ff:fe00:1
GUEST_MAC1=52:54:00:00:00:01
IMAGE1=/home/max/bench_env/vmb.img
# Reset BOOTARGS[0|1] to use GUEST_IP[0|1] set above.
BOOTARGS0="earlyprintk root=/dev/vda rw console=ttyS0 ip=$GUEST_IP0"
BOOTARGS1="earlyprintk root=/dev/vda rw console=ttyS0 ip=$GUEST_IP1"
QEMU=/home/max/qemu/obj/x86_64-softmmu/qemu-system-x86_64
#GUEST_MEM=1024
------
SNABB=scripts/bench_env/../..//snabb
Locking 0000:86:00.1
Locking 0000:86:00.0
Waiting for VM listening on telnet port 6000 to get ready... [OK]
Waiting for VM listening on telnet port 6001 to get ready... [OK]
USING program/snabbnfv/test_fixtures/nfvconfig/test_functions/same_vlan.ports
1 packets transmitted, 1 received, 0% packet loss, time 0ms
PING succeded.
[ 3] 0.0-10.0 sec 4.10 GBytes 3.52 Gbits/sec
IPERF succeded.
1 packets transmitted, 1 received, 0% packet loss, time 0ms
JUMBOPING succeded.
[ 3] 0.0-10.0 sec 8.13 GBytes 6.98 Gbits/sec
IPERF succeded.
tx-checksumming: on
TX-CHECKSUMMING succeded.
tx-checksumming: on
TX-CHECKSUMMING succeded.
USING program/snabbnfv/test_fixtures/nfvconfig/test_functions/tx_rate_limit.ports
1 packets transmitted, 1 received, 0% packet loss, time 0ms
PING succeded.
IPERF (RATE_LIMITED) succeded.
IPERF rate is 813 Mbits/sec (900 Mbits/sec allowed).
RATE_LIMITED succeded.
1 packets transmitted, 1 received, 0% packet loss, time 0ms
JUMBOPING succeded.
IPERF (RATE_LIMITED) succeded.
IPERF rate is 812 Mbits/sec (900 Mbits/sec allowed).
RATE_LIMITED succeded.
USING program/snabbnfv/test_fixtures/nfvconfig/test_functions/rx_rate_limit.ports
1 packets transmitted, 1 received, 0% packet loss, time 0ms
PING succeded.
IPERF (RATE_LIMITED) succeded.
IPERF rate is 813 Mbits/sec (1200 Mbits/sec allowed).
RATE_LIMITED succeded.
1 packets transmitted, 1 received, 0% packet loss, time 0ms
JUMBOPING succeded.
IPERF (RATE_LIMITED) succeded.
IPERF rate is 813 Mbits/sec (1200 Mbits/sec allowed).
RATE_LIMITED succeded.
USING program/snabbnfv/test_fixtures/nfvconfig/test_functions/tunnel.ports
Resolved next-hop fe80::5054:ff:fe00:0 to 52:54:00:00:00:00
Resolved next-hop fe80::5054:ff:fe00:1 to 52:54:00:00:00:01
ND succeded.
1 packets transmitted, 1 received, 0% packet loss, time 0ms
PING succeded.
[ 3] 0.0-10.0 sec 5.35 GBytes 4.59 Gbits/sec
IPERF succeded.
1 packets transmitted, 1 received, 0% packet loss, time 0ms
JUMBOPING succeded.
[ 3] 0.0-10.0 sec 5.16 GBytes 4.43 Gbits/sec
IPERF succeded.
USING program/snabbnfv/test_fixtures/nfvconfig/test_functions/filter.ports
1 packets transmitted, 1 received, 0% packet loss, time 0ms
PING succeded.
Connection to fe80::5054:ff:fe00:1%eth0 12345 port [tcp/*] succeeded!
PORTPROBE succeded.
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
nc -w 1 -q 1 -v fe80::5054:ff:fe00:1%eth0 12346
nc: connect to fe80::5054:ff:fe00:1%eth0 port 12346 (tcp) timed out: Operation now in progress
root@vma:~#
root@vma:~# Connection closed by foreign host.
FILTER succeded.
USING program/snabbnfv/test_fixtures/nfvconfig/test_functions/stateful-filter.ports
1 packets transmitted, 1 received, 0% packet loss, time 0ms
PING succeded.
Connection to fe80::5054:ff:fe00:1%eth0 12345 port [tcp/*] succeeded!
PORTPROBE succeded.
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
nc -w 1 -q 1 -v fe80::5054:ff:fe00:1%eth0 12348
nc: connect to fe80::5054:ff:fe00:1%eth0 port 12348 (tcp) timed out: Operation now in progress
root@vma:~#
root@vma:~# Connection closed by foreign host.
FILTER succeded.
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
nc -w 1 -q 1 -v fe80::5054:ff:fe00:0%eth0 12340
nc: connect to fe80::5054:ff:fe00:0%eth0 port 12340 (tcp) timed out: Operation now in progress
root@vmb:~#
root@vmb:~# Connection closed by foreign host.
FILTER succeded.
Waiting QEMU processes to terminate...
Finished.
Waiting QEMU processes to terminate...
Finished.
BEGIN testlog/selftest.sh
selftest: ./snabb binary portability
Scanning for symbols requiring GLIBC > 2.7
selftest: ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment