make -C tools/testing/selftests TARGETS=net TEST_PROGS=l2_tos_ttl_inherit..sh TEST_GEN_PROGS="" run_tests
make: Entering directory '/home/virtme/testing-1/tools/testing/selftests'
make[1]: Entering directory '/home/virtme/testing-1/tools/testing/selftests/net'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/virtme/testing-1/tools/testing/selftests/net'
make[1]: Entering directory '/home/virtme/testing-1/tools/testing/selftests/net'
TAP version 13
1..1
# timeout set to 3600
# selftests: net: l2_tos_ttl_inherit.sh
# ┌────────┬───────┬───────┬──────────────┬──────────────┬───────┬────────┐
# ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤
# │  Type  │ outer | inner │     tos      │      ttl     │  vlan │ result │
# ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤
# │    gre │     4 │     4 │ inherit 0x98 │   inherit 43 │ false │     OK │
# │    gre │     4 │     4 │ inherit 0x0c │  inherit 165 │  true │     OK │
# │    gre │     4 │     4 │   fixed 0xa4 │    fixed 134 │ false │     OK │
# │    gre │     4 │     4 │   fixed 0x48 │    fixed 233 │  true │     OK │
# ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤
# │    gre │     4 │     6 │ inherit 0x30 │   inherit 49 │ false │     OK │
# │    gre │     4 │     6 │ inherit 0x54 │   inherit 97 │  true │     OK │
# │    gre │     4 │     6 │   fixed 0xb0 │     fixed 82 │ false │     OK │
# │    gre │     4 │     6 │   fixed 0x08 │    fixed 145 │  true │     OK │
# ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤
# │    gre │     4 │ other │ inherit 0xec │  inherit 152 │ false │     OK │
# │    gre │     4 │ other │ inherit 0x10 │  inherit 209 │  true │     OK │
# │    gre │     4 │ other │   fixed 0x70 │    fixed 115 │ false │     OK │
# │    gre │     4 │ other │   fixed 0x3c │     fixed 11 │  true │     OK │
# ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤
# │  Type  │ outer | inner │     tos      │      ttl     │  vlan │ result │
# ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤
# │    gre │     6 │     4 │ inherit 0xe8 │  inherit 172 │ false │     OK │
# │    gre │     6 │     4 │ inherit 0x5c │  inherit 234 │  true │     OK │
# │    gre │     6 │     4 │   fixed 0x08 │     fixed 17 │ false │     OK │
# │    gre │     6 │     4 │   fixed 0xb4 │    fixed 210 │  true │     OK │
# ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤
# │    gre │     6 │     6 │ inherit 0x5c │  inherit 213 │ false │     OK │
# │    gre │     6 │     6 │ inherit 0xd0 │  inherit 174 │  true │     OK │
# │    gre │     6 │     6 │   fixed 0x7c │    fixed 172 │ false │     OK │
# │    gre │     6 │     6 │   fixed 0x18 │    fixed 179 │  true │     OK │
# ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤
# │    gre │     6 │ other │ inherit 0xc4 │    inherit 4 │ false │     OK │
# │    gre │     6 │ other │ inherit 0xfc │  inherit 232 │  true │     OK │
# │    gre │     6 │ other │   fixed 0x58 │    fixed 239 │ false │     OK │
# │    gre │     6 │ other │   fixed 0x74 │    fixed 183 │  true │     OK │
# ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤
# │  Type  │ outer | inner │     tos      │      ttl     │  vlan │ result │
# ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤
# │  vxlan │     4 │     4 │ inherit 0xb8 │   inherit 21 │ false │     OK │
# │  vxlan │     4 │     4 │ inherit 0x78 │  inherit 142 │  true │     OK │
# │  vxlan │     4 │     4 │   fixed 0x3c │    fixed 188 │ false │     OK │
# │  vxlan │     4 │     4 │   fixed 0xc4 │    fixed 207 │  true │     OK │
# ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤
# │  vxlan │     4 │     6 │ inherit 0xc4 │  inherit 213 │ false │     OK │
# │  vxlan │     4 │     6 │ inherit 0xac │  inherit 249 │  true │     OK │
# │  vxlan │     4 │     6 │   fixed 0xb0 │     fixed 26 │ false │     OK │
# │  vxlan │     4 │     6 │   fixed 0x7c      fixed 58 │  true │     OK │
# ├────────┼───────┼───────┼─────────────┼──────────────┼───────┼────────┤
# │  vxlan │     4 │ other │ inherit 0x90 │  inherit 103 │ false │     OK │
# │  vxlan │     4 │ other │ inherit 0xd8 │   inherit 29 │  true │     OK │
# │  vxlan │     4 │ other │   fixed 0x80 │     fixed 87 │ false │     OK │
# │  vxlan │     4 │ other │   fixed 0x34 │     fixed 58 │  true │     OK │
# ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤
# │  Type  │ outer | inner │     tos      │      ttl     │  vlan │ result │
# ├────────┼───────┼───────┼─────────────┼──────────────┼───────┼────────┤
# │  vxlan │     6 │     4 │ inherit 0xac │  inherit 187 │ false │     OK │
# │  vxlan │     6 │     4 │ inherit 0xe8 │  inherit 168 │  true │     OK │
# │  vxlan │     6 │     4 │   fixed 0xa8 │    fixed 108 │ false │     OK │
# │  vxlan │     6 │     4 │   fixed 0x80 │    fixed 236 │  true │     OK │
# ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤
# │  vxlan │     6 │     6 │ inherit 0x90 │  inherit 142 │ false │     OK │
# │  vxlan │     6 │     6 │ inherit 0x20 │   inherit 21 │  true │     OK │
# │  vxlan │     6 │     6 │   fixed 0xf4 │     fixed 32 │ false │     OK │
# │  vxlan │     6 │     6 │   fixed 0x20 │    fixed 154 │  true │     OK │
# ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤
# │  vxlan │     6 │ other │ inherit 0x14 │  inherit 134 │ false │     OK │
# │  vxlan │     6 │ other │ inherit 0x94 │  inherit 158 │  true │     OK │
# │  vxlan │     6 │ other │   fixed 0x40 │      fixed 3 │ false │     OK │
# │  vxlan │     6 │ other │   fixed 0x6c │     fixed 96 │  true │     OK │
# ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤
# │  Type  │ outer | inner │     tos      │      ttl     │  vlan │ result │
# ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤
# │ geneve │     4 │     4 │ inherit 0xc8 │  inherit 158 │ false │   FAIL │
# │                   Expected TOS value: 0xc8   Captured TOS value: 0x5c │
# │                    Expected TTL value: 158     Captured TTL value: 93 │
# │                                                                       │
# │ geneve │     4 │     4 │ inherit 0xf8 │  inherit 224 │  true │     OK │
# │ geneve │     4 │     4 │   fixed 0x6c │     fixed 10 │ false │./l2_tos_ttl_inherit.sh: line 350: printf: 0x6eECT0: invalid hex number
ok 1 selftests: net: l2_tos_ttl_inherit.sh # SKIP
make[1]: Leaving directory '/home/virtme/testing-1/tools/testing/selftests/net'
make: Leaving directory '/home/virtme/testing-1/tools/testing/selftests'
xx__-> echo $?
0
xx__->