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-3/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing-3/tools/testing/selftests/net' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net' make[1]: Entering directory '/home/virtme/testing-3/tools/testing/selftests/net' TAP version 13 1..1 # overriding timeout to 7200 # selftests: net: l2_tos_ttl_inherit.sh # ┌────────┬───────┬───────┬──────────────┬──────────────┬───────┬────────┐ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 4 │ 4 │ inherit 0xe0 │ inherit 80 │ false │ OK │ # │ gre │ 4 │ 4 │ inherit 0x84 │ inherit 71 │ true │ OK │ # │ gre │ 4 │ 4 │ fixed 0xe4 │ fixed 197 │ false │ OK │ # │ gre │ 4 │ 4 │ fixed 0x68 │ fixed 203 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 4 │ 6 │ inherit 0x08 │ inherit 204 │ false │ OK │ # │ gre │ 4 │ 6 │ inherit 0x5c │ inherit 251 │ true │ OK │ # │ gre │ 4 │ 6 │ fixed 0x9c │ fixed 198 │ false │ OK │ # │ gre │ 4 │ 6 │ fixed 0xe4 │ fixed 173 │ true │ OK │ # ├────────┼───────┼───────┼─────────────┼──────────────┼───────┼────────┤ # │ gre │ 4 │ other │ inherit 0x30 │ inherit 72 │ false │ OK │ # │ gre │ 4 │ other │ inherit 0xf4 │ inherit 104 │ true │ OK │ # │ gre │ 4 │ other │ fixed 0xd0 │ fixed 130 │ false │ OK │ # │ gre │ 4 │ other │ fixed 0x7c │ fixed 63 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼──────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 6 │ 4 │ inherit 0xc4 │ inherit 235 │ false │ OK │ # │ gre │ 6 │ 4 │ inherit 0xb0 │ inherit 24 │ true │ OK │ # │ gre │ 6 │ 4 │ fixed 0xfc │ fixed 5 │ false │ OK │ # │ gre │ 6 │ 4 │ fixed 0x6c │ fixed 55 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 6 │ 6 │ inherit 0x24 │ inherit 251 │ false │ OK │ # │ gre │ 6 │ 6 │ inherit 0x80 │ inherit 39 │ true │ OK │ # │ gre │ 6 │ 6 │ fixed 0x44 │ fixed 193 │ false │ OK │ # │ gre │ 6 │ 6 │ fixed 0x84 │ fixed 20 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 6 │ other │ inherit 0x7c │ inherit 92 │ false │ OK │ # │ gre │ 6 │ other │ inherit 0x4c │ inherit 29 │ true │ OK │ # │ gre │ 6 │ other │ fixed 0x8c │ fixed 82 │ false │ OK │ # │ gre │ 6 │ other │ fixed 0xe0 │ fixed 150 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 4 │ 4 │ inherit 0x58 │ inherit 214 │ false │ OK │ # │ vxlan │ 4 │ 4 │ inherit 0xa4 │ inherit 188 │ true │ OK │ # │ vxlan │ 4 │ 4 │ fixed 0x10 │ fixed 157 │ false │ OK │ # │ vxlan │ 4 │ 4 │ fixed 0xb0 │ fixed 188 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 4 │ 6 │ inherit 0xa8 │ inherit 212 │ false │ OK │ # │ vxlan │ 4 │ 6 │ inherit 0x50 │ inherit 65 │ true │ OK │ # │ vxlan │ 4 │ 6 │ fixed 0x44 │ fixed 229 │ false │ OK │ # │ vxlan │ 4 │ 6 │ fixed 0xb0 │ fixed 58 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 4 │ other │ inherit 0xb4 │ inherit 59 │ false │ OK │ # │ vxlan │ 4 │ other │ inherit 0x30 │ inherit 75 │ true │ OK │ # │ vxlan │ 4 │ other │ fixed 0xf4 │ fixed 148 │ false │ OK │ # │ vxlan │ 4 │ other │ fixed 0x4c │ fixed 158 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 6 │ 4 │ inherit 0xb0 │ inherit 255 │ false │ OK │ # │ vxlan │ 6 │ 4 │ inherit 0xe4 │ inherit 131 │ true │ OK │ # │ vxlan │ 6 │ 4 │ fixed 0x3c │ fixed 185 │ false │ OK │ # │ vxlan │ 6 │ 4 │ fixed 0x50 │ fixed 174 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 6 │ 6 │ inherit 0xc4 │ inherit 87 │ false │ OK │ # │ vxlan │ 6 │ 6 │ inherit 0xbc │ inherit 141 │ true │ OK │ # │ vxlan │ 6 │ 6 │ fixed 0xe4 │ fixed 240 │ false │ OK │ # │ vxlan │ 6 │ 6 │ fixed 0x24 │ fixed 29 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 6 │ other │ inherit 0xc8 │ inherit 46 │ false │ OK │ # │ vxlan │ 6 │ other │ inherit 0x3c │ inherit 83 │ true │ FAIL │ # │ Expected TTL value: 64 Captured TTL value: 0 │ # │ │ # │ vxlan │ 6 │ other │ fixed 0x64 │ fixed 170 │ false │ FAIL │ # │ Expected TOS value: 0x64 Captured TOS value: 0x00 │ # │ Expected TTL value: 170 Captured TTL value: 0 │ # │ │ # │ vxlan │ 6 │ other │ fixed 0xf8 │ fixed 164 │ true │ FAIL │ # │ Expected TOS value: 0xf8 Captured TOS value: 0x00 │ # │ Expected TTL value: 164 Captured TTL value: 0 │ # │ │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 4 │ 4 │ inherit 0x74 │ inherit 13 │ false │ FAIL │ # │ Expected TOS value: 0x74 Captured TOS value: 0x00 │ # │ Expected TTL value: 13 Captured TTL value: 0 │ # │ │ # │ geneve │ 4 │ 4 │ inherit 0x14 │ inherit 193 │ true │ FAIL │ # │ Expected TOS value: 0x14 Captured TOS value: 0x00 │ # │ Expected TTL value: 193 Captured TTL value: 0 │ # │ │ # │ geneve │ 4 │ 4 │ fixed 0x4c │ fixed 185 │ false │ FAIL │ # │ Expected TOS value: 0x4c Captured TOS value: 0x00 │ # │ Expected TTL value: 185 Captured TTL value: 0 │ # │ │ # │ geneve │ 4 │ 4 │ fixed 0x14 │ fixed 224 │ true │ FAIL │ # │ Expected TOS value: 0x14 Captured TOS value: 0x00 │ # │ Expected TTL value: 224 Captured TTL value: 0 │ # │ │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 4 │ 6 │ inherit 0x2c │ inherit 232 │ false │ FAIL │ # │ Expected TOS value: 0x2c Captured TOS value: 0x00 │ # │ Expected TTL value: 232 Captured TTL value: 0 │ # │ │ # │ geneve │ 4 │ 6 │ inherit 0x50 │ inherit 224 │ true │ FAIL │ # │ Expected TOS value: 0x50 Captured TOS value: 0x00 │ # │ Expected TTL value: 224 Captured TTL value: 0 │ # │ │ # │ geneve │ 4 │ 6 │ fixed 0x5c │ fixed 166 │ false │ FAIL │ # │ Expected TOS value: 0x5c Captured TOS value: 0x00 │ # │ Expected TTL value: 166 Captured TTL value: 0 │ # │ │ # │ geneve │ 4 │ 6 │ fixed 0x8c │ fixed 160 │ true │ FAIL │ # │ Expected TOS value: 0x8c Captured TOS value: 0x00 │ # │ Expected TTL value: 160 Captured TTL value: 0 │ # │ │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 4 │ other │ inherit 0x48 │ inherit 104 │ false │ FAIL │ # │ Expected TTL value: 64 Captured TTL value: 0 │ # │ │ # │ geneve │ 4 │ other │ inherit 0xd4 │ inherit 20 │ true │ FAIL │ # │ Expected TTL value: 64 Captured TTL value: 0 │ # │ │ # │ geneve │ 4 │ other │ fixed 0xf8 │ fixed 151 │ false │ FAIL │ # │ Expected TOS value: 0xf8 Captured TOS value: 0x00 │ # │ Expected TTL value: 151 Captured TTL value: 0 │ # │ │ # │ geneve │ 4 │ other │ fixed 0xa8 │ fixed 112 │ true │ FAIL │ # │ Expected TOS value: 0xa8 Captured TOS value: 0x00 │ # │ Expected TTL value: 112 Captured TTL value: 0 │ # │ │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├───────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 6 │ 4 │ inherit 0xb4 │ inherit 20 │ false │ FAIL │ # │ Expected TOS value: 0xb4 Captured TOS value: 0x00 │ # │ Expected TTL value: 20 Captured TTL value: 0 │ # │ │ # │ geneve │ 6 │ 4 │ inherit 0x7c │ inherit 92 │ true │ FAIL │ # │ Expected TOS value: 0x7c Captured TOS value: 0x00 │ # │ Expected TTL value: 92 Captured TTL value: 0 │ # │ │ # │ geneve │ 6 │ 4 │ fixed 0xb0 │ fixed 187 │ false │ FAIL │ # │ Expected TOS value: 0xb0 Captured TOS value: 0x00 │ # │ Expected TTL value: 187 Captured TTL value: 0 │ # │ │ # │ geneve │ 6 │ 4 │ fixed 0x38 │ fixed 133 │ true │ FAIL │ # │ Expected TOS value: 0x38 Captured TOS value: 0x00 │ # │ Expected TTL value: 133 Captured TTL value: 0 │ # │ │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 6 │ 6 │ inherit 0x54 │ inherit 247 │ false │ FAIL │ # │ Expected TOS value: 0x54 Captured TOS value: 0x00 │ # │ Expected TTL value: 247 Captured TTL value: 0 │ # │ │ # │ geneve │ 6 │ 6 │ inherit 0x78 │ inherit 176 │ true FAIL │ # │ Expected TOS value: 0x78 Captured TOS value: 0x00 │ # │ Expected TTL value: 176 Captured TTL value: 0 │ # │ │ # │ geneve │ 6 │ 6 │ fixed 0xfc │ fixed 61 │ false │ FAIL │ # │ Expected TOS value: 0xfc Captured TOS value: 0x00 │ # │ Expected TTL value: 61 Captured TTL value: 0 │ # │ │ # │ geneve │ 6 │ 6 │ fixed 0x10 │ fixed 49 │ true │ FAIL │ # │ Expected TOS value: 0x10 Captured TOS value: 0x00 │ # │ Expected TTL value: 49 Captured TTL value: 0 │ # │ │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 6 │ other │ inherit 0xf0 │ inherit 11 │ false │ FAIL │ # │ Expected TTL value: 64 Captured TTL value: 0 │ # │ │ # │ geneve │ 6 │ other │ inherit 0xd4 │ inherit 125 │ true │ FAIL │ # │ Expected TTL value: 64 Captured TTL value: 0 │ # │ │ # │ geneve │ 6 │ other │ fixed 0x64 │ fixed 50 │ false │ FAIL │ # │ Expected TOS value: 0x64 Captured TOS value: 0x00 │ # │ Expected TTL value: 50 Captured TTL value: 0 │ # │ │ # │ geneve │ 6 │ other │ fixed 0x3c │ fixed 219 │ true │ FAIL │ # │ Expected TOS value: 0x3c Captured TOS value: 0x00 │ # │ Expected TTL value: 219 Captured TTL value: 0 │ # │ │ # └────────┴───────┴───────┴──────────────┴──────────────┴───────┴─────── not ok 1 selftests: net: l2_tos_ttl_inherit.sh # exit=1 make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net' make: Leaving directory '/home/virtme/testing-3/tools/testing/selftests' xx__-> echo $? 0 xx__->