Skip to content

Instantly share code, notes, and snippets.

@neelchauhan
Created June 28, 2020 19:55
Show Gist options
  • Save neelchauhan/5aa257ddc8957d82c1f0cd27d4337889 to your computer and use it in GitHub Desktop.
Save neelchauhan/5aa257ddc8957d82c1f0cd27d4337889 to your computer and use it in GitHub Desktop.
Kyua Log forward6
===> Execution context
Current directory: /usr/tests/sys/netinet6
Environment variables:
BLOCKSIZE=K
COLORFGBG=15;0
COLORTERM=truecolor
DBUS_SESSION_BUS_ADDRESS=unix:path=/tmp/dbus-CT0MFfbYSb,guid=73791617ccb6290e32ec30b75ef8ce5c
DESKTOP_SESSION=/usr/local/share/xsessions/plasma
DISPLAY=:0
EDITOR=vi
GROUP=neel
GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/neel/.gtkrc-2.0:/home/neel/.config/gtkrc-2.0
GTK_RC_FILES=/etc/gtk/gtkrc:/home/neel/.gtkrc:/home/neel/.config/gtkrc
HOME=/root
HOST=omen.local
HOSTTYPE=FreeBSD
KDE_APPLICATIONS_AS_SCOPE=1
KDE_FULL_SESSION=true
KDE_SESSION_UID=1001
KDE_SESSION_VERSION=5
KONSOLE_DBUS_SERVICE=:1.59
KONSOLE_DBUS_SESSION=/Sessions/2
KONSOLE_DBUS_WINDOW=/Windows/2
KONSOLE_VERSION=200402
LANG=C
LANGUAGE=
LOGNAME=neel
MACHTYPE=x86_64
MAIL=/var/mail/neel
OSTYPE=FreeBSD
PAGER=less
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
PROFILEHOME=
PWD=/usr/tests/sys/netinet6
QT_AUTO_SCREEN_SCALE_FACTOR=0
SESSION_MANAGER=local/omen.local:/tmp/.ICE-unix/1676
SHELL=/bin/csh
SHELL_SESSION_ID=f2e77a97b0424842930c973754d38eaf
SHLVL=3
TERM=xterm-256color
USER=neel
VENDOR=amd
WINDOWID=96469188
XAUTHORITY=/home/neel/.Xauthority
XCURSOR_PATH=/usr/local/share/icons::~/.icons:/usr/share/icons:/usr/share/pixmaps:/usr/X11R6/lib/X11/icons
XCURSOR_SIZE=24
XCURSOR_THEME=breeze_cursors
XDG_CONFIG_DIRS=/usr/local/etc/xdg:/etc/xdg:/usr/local/etc/xdg
XDG_CURRENT_DESKTOP=KDE
XDG_RUNTIME_DIR=/var/run/user/1001
XDG_SEAT=seat0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SESSION_CLASS=user
XDG_SESSION_COOKIE=omen.local-1593364060.113388-1673725911
XDG_SESSION_DESKTOP=KDE
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1
XDG_SESSION_TYPE=x11
XDG_VTNR=9
===> forward6:fwd_ip6_gu_icmp_gw_gu_fast_success
Result: failed: atf-check failed; see the output of the test for details
Start time: 2020-06-28T19:52:56.632352Z
End time: 2020-06-28T19:53:04.161928Z
Duration: 7.530s
Metadata:
allowed_architectures is empty
allowed_platforms is empty
description = Test valid IPv6 global unicast fast-forwarding to GU gw
has_cleanup = true
is_exclusive = false
required_configs is empty
required_disk_space = 0
required_files is empty
required_memory = 0
required_programs = scapy
required_user = root
timeout = 300
Standard output:
add host 2001:db8:6666:0000::fff8:4:1aaa: gateway 2001:db8:6666:0000::fff8:1:1aaa
net.inet6.ip6.forwarding: 0 -> 1
net.inet6.ip6.redirect: 1 -> 0
Executing command [ /usr/tests/sys/netinet6/../common/sender.py --test_name fwd_ip6_icmp --smac 02:8a:ca:ad:67:0a --dmac 02:8a:ca:ad:67:0b --sip 2001:db8:6666:0000::fff8:3:1aaa --dip 2001:db8:6666:0000::fff8:4:1aaa --iface epair0a ]
Standard error:
Fail: incorrect exit status: 1, expected: 0
stdout:
stderr:
Traceback (most recent call last):
File "/usr/tests/sys/netinet6/../common/sender.py", line 201, in <module>
main()
File "/usr/tests/sys/netinet6/../common/sender.py", line 197, in main
test_ptr(args)
File "/usr/tests/sys/netinet6/../common/sender.py", line 180, in fwd_ip6_icmp
assert len(packets) > 0
AssertionError
Files left in work directory after failure: created_interfaces.lst, created_jails.lst
ifconfig: interface epair0b does not exist
===> forward6:fwd_ip6_gu_icmp_gw_gu_slow_success
Result: failed: atf-check failed; see the output of the test for details
Start time: 2020-06-28T19:53:04.450227Z
End time: 2020-06-28T19:53:11.734888Z
Duration: 7.285s
Metadata:
allowed_architectures is empty
allowed_platforms is empty
description = Test valid IPv6 global unicast fast-forwarding to GU gw
has_cleanup = true
is_exclusive = false
required_configs is empty
required_disk_space = 0
required_files is empty
required_memory = 0
required_programs = scapy
required_user = root
timeout = 300
Standard output:
add host 2001:db8:6666:0000::fff5:4:1b83: gateway 2001:db8:6666:0000::fff5:1:1b83
net.inet6.ip6.forwarding: 0 -> 1
ip6:
6 total packets received
0 with size smaller than minimum
0 with data size < data length
0 with bad options
0 with incorrect version number
0 fragments received
0 fragments dropped (dup or out of space)
0 fragments dropped after timeout
0 fragments that exceeded limit
0 atomic fragments
0 packets reassembled ok
0 packets for this host
0 packets forwarded
0 packets not forwardable
0 redirects sent
6 packets sent from this host
0 packets sent with fabricated ip header
0 output packets dropped due to no bufs, etc.
0 output packets discarded due to no route
0 output datagrams fragmented
0 fragments created
0 datagrams that can't be fragmented
0 packets that violated scope rules
0 multicast packets which we don't join
Input histogram:
hop by hop: 4
ICMP6: 2
Mbuf statistics:
2 one mbuf
two or more mbuf:
epair0b= 4
0 one ext mbuf
0 two or more ext mbuf
0 packets whose headers are not contiguous
0 tunneling packets that can't find gif
0 packets discarded because of too many headers
0 failures of source address selection
Executing command [ jexec v6t-fff5--1b83 netstat -sp ip6 ]
Standard error:
Traceback (most recent call last):
File "/usr/tests/sys/netinet6/../common/sender.py", line 201, in <module>
main()
File "/usr/tests/sys/netinet6/../common/sender.py", line 197, in main
test_ptr(args)
File "/usr/tests/sys/netinet6/../common/sender.py", line 180, in fwd_ip6_icmp
assert len(packets) > 0
AssertionError
Fail: regexp 1 packet forwarded not in stdout
ip6:
6 total packets received
0 with size smaller than minimum
0 with data size < data length
0 with bad options
0 with incorrect version number
0 fragments received
0 fragments dropped (dup or out of space)
0 fragments dropped after timeout
0 fragments that exceeded limit
0 atomic fragments
0 packets reassembled ok
0 packets for this host
0 packets forwarded
0 packets not forwardable
0 redirects sent
6 packets sent from this host
0 packets sent with fabricated ip header
0 output packets dropped due to no bufs, etc.
0 output packets discarded due to no route
0 output datagrams fragmented
0 fragments created
0 datagrams that can't be fragmented
0 packets that violated scope rules
0 multicast packets which we don't join
Input histogram:
hop by hop: 4
ICMP6: 2
Mbuf statistics:
2 one mbuf
two or more mbuf:
epair0b= 4
0 one ext mbuf
0 two or more ext mbuf
0 packets whose headers are not contiguous
0 tunneling packets that can't find gif
0 packets discarded because of too many headers
0 failures of source address selection
Files left in work directory after failure: created_interfaces.lst, created_jails.lst
ifconfig: interface epair0b does not exist
===> forward6:fwd_ip6_gu_icmp_gw_ll_fast_success
Result: failed: atf-check failed; see the output of the test for details
Start time: 2020-06-28T19:53:11.868926Z
End time: 2020-06-28T19:53:18.944681Z
Duration: 7.076s
Metadata:
allowed_architectures is empty
allowed_platforms is empty
description = Test valid IPv6 global unicast fast-forwarding to LL gw
has_cleanup = true
is_exclusive = false
required_configs is empty
required_disk_space = 0
required_files is empty
required_memory = 0
required_programs = scapy
required_user = root
timeout = 300
Standard output:
Executing command [ jexec v6t-fff7--1c7d route add -6 -host 2001:db8:6666:0000::fff7:4:1c7d fe80::53:47ff:fe96:c80a%epair0b ]
net.inet6.ip6.forwarding: 0 -> 1
net.inet6.ip6.redirect: 1 -> 0
Executing command [ /usr/tests/sys/netinet6/../common/sender.py --test_name fwd_ip6_icmp --smac 02:53:47:96:c8:0a --dmac 02:53:47:96:c8:0b --sip 2001:db8:6666:0000::fff7:3:1c7d --dip 2001:db8:6666:0000::fff7:4:1c7d --iface epair0a ]
Standard error:
Fail: incorrect exit status: 1, expected: 0
stdout:
stderr:
Traceback (most recent call last):
File "/usr/tests/sys/netinet6/../common/sender.py", line 201, in <module>
main()
File "/usr/tests/sys/netinet6/../common/sender.py", line 197, in main
test_ptr(args)
File "/usr/tests/sys/netinet6/../common/sender.py", line 180, in fwd_ip6_icmp
assert len(packets) > 0
AssertionError
Files left in work directory after failure: created_interfaces.lst, created_jails.lst
ifconfig: interface epair0b does not exist
===> forward6:fwd_ip6_gu_icmp_gw_ll_slow_success
Result: failed: atf-check failed; see the output of the test for details
Start time: 2020-06-28T19:53:19.442334Z
End time: 2020-06-28T19:53:26.528489Z
Duration: 7.086s
Metadata:
allowed_architectures is empty
allowed_platforms is empty
description = Test valid IPv6 global unicast fast-forwarding to LL gw
has_cleanup = true
is_exclusive = false
required_configs is empty
required_disk_space = 0
required_files is empty
required_memory = 0
required_programs = scapy
required_user = root
timeout = 300
Standard output:
Executing command [ jexec v6t-fff4--1d7b route add -6 -host 2001:db8:6666:0000::fff4:4:1d7b fe80::8d:63ff:fe31:8d0a%epair0b ]
net.inet6.ip6.forwarding: 0 -> 1
Executing command [ /usr/tests/sys/netinet6/../common/sender.py --test_name fwd_ip6_icmp --smac 02:8d:63:31:8d:0a --dmac 02:8d:63:31:8d:0b --sip 2001:db8:6666:0000::fff4:3:1d7b --dip 2001:db8:6666:0000::fff4:4:1d7b --iface epair0a ]
Standard error:
Fail: incorrect exit status: 1, expected: 0
stdout:
stderr:
Traceback (most recent call last):
File "/usr/tests/sys/netinet6/../common/sender.py", line 201, in <module>
main()
File "/usr/tests/sys/netinet6/../common/sender.py", line 197, in main
test_ptr(args)
File "/usr/tests/sys/netinet6/../common/sender.py", line 180, in fwd_ip6_icmp
assert len(packets) > 0
AssertionError
Files left in work directory after failure: created_interfaces.lst, created_jails.lst
ifconfig: interface epair0b does not exist
===> forward6:fwd_ip6_gu_icmp_iface_fast_success
Result: failed: atf-check failed; see the output of the test for details
Start time: 2020-06-28T19:53:26.687132Z
End time: 2020-06-28T19:53:33.823959Z
Duration: 7.137s
Metadata:
allowed_architectures is empty
allowed_platforms is empty
description = Test valid IPv6 global unicast fast-forwarding to interface
has_cleanup = true
is_exclusive = false
required_configs is empty
required_disk_space = 0
required_files is empty
required_memory = 0
required_programs = scapy
required_user = root
timeout = 300
Standard output:
net.inet6.ip6.forwarding: 0 -> 1
net.inet6.ip6.redirect: 1 -> 0
Executing command [ /usr/tests/sys/netinet6/../common/sender.py --test_name fwd_ip6_icmp --smac 02:0c:87:40:69:0a --dmac 02:0c:87:40:69:0b --sip 2001:db8:6666:0000::fff9:3:1e76 --dip 2001:db8:6666:0000::fff9:1:1e76 --iface epair0a ]
Standard error:
Fail: incorrect exit status: 1, expected: 0
stdout:
stderr:
Traceback (most recent call last):
File "/usr/tests/sys/netinet6/../common/sender.py", line 201, in <module>
main()
File "/usr/tests/sys/netinet6/../common/sender.py", line 197, in main
test_ptr(args)
File "/usr/tests/sys/netinet6/../common/sender.py", line 180, in fwd_ip6_icmp
assert len(packets) > 0
AssertionError
Files left in work directory after failure: created_interfaces.lst, created_jails.lst
ifconfig: interface epair0b does not exist
===> forward6:fwd_ip6_gu_icmp_iface_slow_success
Result: failed: atf-check failed; see the output of the test for details
Start time: 2020-06-28T19:53:34.056716Z
End time: 2020-06-28T19:53:40.850666Z
Duration: 6.794s
Metadata:
allowed_architectures is empty
allowed_platforms is empty
description = Test valid IPv6 global unicast fast-forwarding to interface
has_cleanup = true
is_exclusive = false
required_configs is empty
required_disk_space = 0
required_files is empty
required_memory = 0
required_programs = scapy
required_user = root
timeout = 300
Standard output:
net.inet6.ip6.forwarding: 0 -> 1
Executing command [ /usr/tests/sys/netinet6/../common/sender.py --test_name fwd_ip6_icmp --smac 02:28:8c:cd:5c:0a --dmac 02:28:8c:cd:5c:0b --sip 2001:db8:6666:0000::fff6:3:1f6e --dip 2001:db8:6666:0000::fff6:1:1f6e --iface epair0a ]
Standard error:
Fail: incorrect exit status: 1, expected: 0
stdout:
stderr:
Traceback (most recent call last):
File "/usr/tests/sys/netinet6/../common/sender.py", line 201, in <module>
main()
File "/usr/tests/sys/netinet6/../common/sender.py", line 197, in main
test_ptr(args)
File "/usr/tests/sys/netinet6/../common/sender.py", line 180, in fwd_ip6_icmp
assert len(packets) > 0
AssertionError
Files left in work directory after failure: created_interfaces.lst, created_jails.lst
ifconfig: interface epair0b does not exist
===> Failed tests
forward6:fwd_ip6_gu_icmp_gw_gu_fast_success -> failed: atf-check failed; see the output of the test for details [7.530s]
forward6:fwd_ip6_gu_icmp_gw_gu_slow_success -> failed: atf-check failed; see the output of the test for details [7.285s]
forward6:fwd_ip6_gu_icmp_gw_ll_fast_success -> failed: atf-check failed; see the output of the test for details [7.076s]
forward6:fwd_ip6_gu_icmp_gw_ll_slow_success -> failed: atf-check failed; see the output of the test for details [7.086s]
forward6:fwd_ip6_gu_icmp_iface_fast_success -> failed: atf-check failed; see the output of the test for details [7.137s]
forward6:fwd_ip6_gu_icmp_iface_slow_success -> failed: atf-check failed; see the output of the test for details [6.794s]
===> Summary
Results read from /root/.kyua/store/results.usr_tests_sys_netinet6.20200628-195256-557280.db
Test cases: 6 total, 0 skipped, 0 expected failures, 0 broken, 6 failed
Start time: 2020-06-28T19:52:56.632352Z
End time: 2020-06-28T19:53:40.850666Z
Total time: 42.907s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment