Skip to content

Instantly share code, notes, and snippets.

@neelchauhan
Created June 28, 2020 19:56
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 neelchauhan/dcb0f945db80f66ec70fe6ade5f88dfe to your computer and use it in GitHub Desktop.
Save neelchauhan/dcb0f945db80f66ec70fe6ade5f88dfe to your computer and use it in GitHub Desktop.
Kyua log for redirect (IPv6)
===> 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
===> redirect:valid_redirect
Result: failed: atf-check failed; see the output of the test for details
Start time: 2020-06-28T19:55:42.565957Z
End time: 2020-06-28T19:55:44.897972Z
Duration: 2.332s
Metadata:
allowed_architectures is empty
allowed_platforms is empty
description = Test valid IPv6 redirect
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 net 2001:db8:6667::/64: gateway fe80::4242%epair0b
Executing command [ /usr/tests/sys/netinet6/redirect.py --smac 00:00:5E:00:53:42 --dmac 02:eb:13:13:77:0b --sip fe80::4242 --dip fe80::eb:13ff:fe13:770b --route 2001:db8:6667::4242 --gw fe80::5555 --iface epair0a ]
Executing command [ jexec v6t-fffd--20bb route -n get -6 2001:db8:6667::4242 ]
Standard error:
Fail: regexp destination: 2001:db8:6667::4242$ not in stdout
route to: 2001:db8:6667::4242
destination: 2001:db8:6667::
mask: ffff:ffff:ffff:ffff::
gateway: fe80::4242%epair0b
fib: 0
interface: epair0b
flags: <UP,GATEWAY,DONE,STATIC>
recvpipe sendpipe ssthresh rtt,msec mtu weight expire
0 0 0 0 1500 1 0
Files left in work directory after failure: created_interfaces.lst, created_jails.lst
ifconfig: interface epair0b does not exist
===> Failed tests
redirect:valid_redirect -> failed: atf-check failed; see the output of the test for details [2.332s]
===> Summary
Results read from /root/.kyua/store/results.usr_tests_sys_netinet6.20200628-195542-541922.db
Test cases: 1 total, 0 skipped, 0 expected failures, 0 broken, 1 failed
Start time: 2020-06-28T19:55:42.565957Z
End time: 2020-06-28T19:55:44.897972Z
Total time: 2.332s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment