Skip to content

Instantly share code, notes, and snippets.

@lwaftr-igalia
Created June 22, 2018 10:24
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 lwaftr-igalia/6628bbb980913152a4c3a68c1922862a to your computer and use it in GitHub Desktop.
Save lwaftr-igalia/6628bbb980913152a4c3a68c1922862a to your computer and use it in GitHub Desktop.
Host: Linux snabb2 3.18.40 x86_64 Intel(R) Xeon(R) CPU E5-2620 v3 @ 2.40GHz
Image: lwaftr/snabb-test
Pull Request: #932
Target Head: ed902c430d296622a1c63441d052b206aee3b86c
Pull Request Head: bb5dfd1f5c0777445bcfa84e06fdcc793c34f9f6
SNABB_PCI0=0000:81:00.0 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)
SNABB_PCI1=0000:81:00.1 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)
SNABB_PCI_INTEL0=0000:81:00.0 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)
SNABB_PCI_INTEL1=0000:81:00.1 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)
Checking test suite:
DIR testlog
TEST core.app
TEST core.histogram
TEST core.worker
TEST core.link
TEST core.timer
TEST core.memory
TEST core.lib
TEST core.packet
ERROR testlog/core.packet
ERROR during tests:
src/testlog/core.app:
Restarting app2 (died at 349031.916725: core/app.lua:701: Push error.)
Restarting app1 (died at 349031.916725: core/app.lua:695: Pull error.)
Restarting app2 (died at 349033.916743: core/app.lua:701: Push error.)
Restarting app1 (died at 349033.916743: core/app.lua:695: Pull error.)
Restarting app3 (died at 349035.916393: core/app.lua:707: Report error.)
Restarting app2 (died at 349035.916787: core/app.lua:701: Push error.)
Restarting app1 (died at 349035.916787: core/app.lua:695: Pull error.)
selftest: app
empty -> c1
c1 -> c1
c1 -> c2
c2 -> c1
c1 -> empty
c_fail
apps report:
app3
app2 [dead: core/app.lua:701: Push error.]
app1 [dead: core/app.lua:695: Pull error.]
apps report:
app3
app2 [dead: core/app.lua:701: Push error.]
app1 [dead: core/app.lua:695: Pull error.]
src/testlog/core.histogram:
selftest: histogram
selftest ok
src/testlog/core.lib:
selftest: lib
Testing equal
Testing load_string
Testing load/store_conf
Testing csum
Testing hex(un)dump
Testing ntohl
Testing parse
src/testlog/core.link:
selftest: link
[mounting /var/run/snabb/hugetlbfs]
selftest OK
src/testlog/core.memory:
selftest: memory
Kernel vm.nr_hugepages: 4096
Allocating a 2MB HugeTLB:Got 2MB
Physical address: 0x000832600000
Virtual address: 0x500832600000
Allocating a 2MB HugeTLB:Got 2MB
Physical address: 0x000067200000
Virtual address: 0x500067200000
Allocating a 2MB HugeTLB:Got 2MB
Physical address: 0x000823600000
Virtual address: 0x500823600000
Allocating a 2MB HugeTLB:Got 2MB
Physical address: 0x000062600000
Virtual address: 0x500062600000
Kernel vm.nr_hugepages: 4096
Testing automatic remapping of DMA memory
Unmapping cdata<char *>: 0x500832600000
Unmapping cdata<char *>: 0x500067200000
Unmapping cdata<char *>: 0x500823600000
Unmapping cdata<char *>: 0x500062600000
Writing cdata<char *>: 0x500832600000
Writing cdata<char *>: 0x500067200000
Writing cdata<char *>: 0x500823600000
Writing cdata<char *>: 0x500062600000
Created 4 on-demand memory mappings with SIGSEGV handler.
HugeTLB page allocation OK.
src/testlog/core.packet:
core/main.lua:26: assertion failed!
Stack Traceback
===============
(1) Lua function 'handler' at file 'core/main.lua:168' (best guess)
Local variables:
reason = string: "core/main.lua:26: assertion failed!"
(*temporary) = C function: print
(2) global C function 'error'
(3) Lua global 'assert' at file 'core/main.lua:26'
Local variables:
v = boolean: false
(4) Lua field 'selftest' at file 'core/packet.lua:201'
(5) Lua function 'opt' at file 'program/snsh/snsh.lua:31' (best guess)
Local variables:
arg = string: "core.packet"
(6) Lua field 'dogetopt' at file 'core/lib.lua:422'
Local variables:
args = table: 0x40b03108 {1:-t, 2:core.packet}
actions = table: 0x40b03668 {t:function: 0x40af7178, q:function: 0x416f25d8, P:function: 0x40a343f8 (more...)}
opts = string: "hl:p:t:die:j:P:q:"
long_opts = table: 0x40a4a540 {jit:j, help:h, program:p, test:t, load:l, package-path:P, debug:d, sigquit:q (more...)}
opts = table: 0x416f2618 {1:t}
optind = number: 3
optarg = table: 0x416f2640 {1:core.packet}
(for generator) = C function: builtin#6
(for state) = table: 0x416f2618 {1:t}
(for control) = number: 1
i = number: 1
v = string: "t"
(7) Lua field 'run' at file 'program/snsh/snsh.lua:65'
Local variables:
parameters = table: 0x40b03108 {1:-t, 2:core.packet}
profiling = boolean: false
traceprofiling = boolean: false
start_repl = boolean: false
noop = boolean: true
program = nil
opt = table: 0x40b03668 {t:function: 0x40af7178, q:function: 0x416f25d8, P:function: 0x40a343f8 (more...)}
(8) Lua function 'main' at file 'core/main.lua:67' (best guess)
Local variables:
program = string: "snsh"
args = table: 0x40b03108 {1:-t, 2:core.packet}
(9) global C function 'xpcall'
(10) main chunk of file 'core/main.lua' at line 240
(11) C function 'require'
(12) global C function 'pcall'
(13) main chunk of file 'core/startup.lua' at line 3
(14) global C function 'require'
(15) main chunk of [string "require "core.startup""] at line 1
nil
EXITCODE: 1
src/testlog/core.timer:
selftest: timer
ok (973,855 callbacks in 0.2323 seconds)
src/testlog/core.worker:
selftest: worker
Starting children
Worker status:
worker w3: pid=87 alive=true
worker w1: pid=85 alive=true
worker w2: pid=86 alive=true
Stopping children
Worker status:
worker w3: pid=87 alive=false
worker w1: pid=85 alive=false
worker w2: pid=86 alive=false
selftest: done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment