Skip to contentSkip to conversation

About selftests/netfilter failed subtests

DISCUSSION Florian Westphal 2 participants 2 messages Apr 26, 2020 – Apr 27, 2020 1 message not in the archive Kselftest

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 18 lines · Liu Yiding

Hi, all.

Our team works on testing kernel commit and reporting regression.

Tool selftests is important to us.

Recently i enabled netfilter in out testing env, i met below failed subtests.

```

  "kernel-selftests.netfilter.nft_nat.sh.fail": [
"kernel-selftests.netfilter.conntrack_icmp_related.sh.fail": [
  "kernel-selftests.netfilter.nft_flowtable.sh.fail": [
  "kernel-selftests.netfilter.nft_concat_range.sh.fail": [

```
Quoted 5 lines

Our testing env:

It looks that i missed some modules or i get wrong config of nftables. I had opend kconfig mentioned in netfilter/config.

Maybe its incomplete. From a quick glance, all of these should be on:

# CONFIG_NFT_OBJREF is not set
# CONFIG_NFT_NAT is not set
# CONFIG_NF_FLOW_TABLE is not set
# CONFIG_NF_TABLES_NETDEV is not set

#2 lore raw

Very appericate it !

Quoted 33 lines · Florian Westphal
Quoted 18 lines · Liu Yiding

Hi, all.

Our team works on testing kernel commit and reporting regression.

Tool selftests is important to us.

Recently i enabled netfilter in out testing env, i met below failed subtests.

```

   "kernel-selftests.netfilter.nft_nat.sh.fail": [
"kernel-selftests.netfilter.conntrack_icmp_related.sh.fail": [
   "kernel-selftests.netfilter.nft_flowtable.sh.fail": [
   "kernel-selftests.netfilter.nft_concat_range.sh.fail": [

```
Quoted 5 lines

Our testing env:

It looks that i missed some modules or i get wrong config of nftables. I had opend kconfig mentioned in netfilter/config.

Maybe its incomplete. From a quick glance, all of these should be on:

# CONFIG_NFT_OBJREF is not set
# CONFIG_NFT_NAT is not set
# CONFIG_NF_FLOW_TABLE is not set
# CONFIG_NF_TABLES_NETDEV is not set

Signature · 2 lines
Best Regards.
Liu Yiding