cd tests; ./runtest.sh The destination for kernel log is not /var/log/kern.log, skipping inet match and target tests The destination for kernel log is not /var/log/kern.log, skipping inet6 match and target tests init: Load in the ip_set kernel module: passed init: List our test set: the testsuite fails if it exists: passed init: Delete our test set: the testsuite fails if it exists: passed init: Check mandatory create arguments: passed ipmap: Range: Check syntax error: missing range/from-to: passed ipmap: Range: Check syntax error: missing --from: passed ipmap: Range: Check syntax error: missing --to: passed ipmap: Range: Catch invalid IPv4 address: passed ipmap: Range: Try to create from an invalid range: passed ipmap: Range: Create a set from a valid range: passed ipmap: Range: Add lower boundary: passed ipmap: Range: Add upper boundary: passed ipmap: Range: Test lower boundary: passed ipmap: Range: Test upper boundary: passed ipmap: Range: Test element not added to the set: passed ipmap: Range: Test element before lower boundary: passed ipmap: Range: Test element after upper boundary: passed ipmap: Range: Try to add element before lower boundary: passed ipmap: Range: Try to add element after upper boundary: passed ipmap: Range: Delete element not added to the set: passed ipmap: Range: Add element in the middle: passed ipmap: Range: Delete the same element: passed ipmap: Range: Add a range of elements: passed ipmap: Range: Save set: passed ipmap: Range: Destroy set: passed ipmap: Range: Restore set and catch error: passed ipmap: Range: Check returned error line number: passed ipmap: Range: Destroy set: passed ipmap: Range: Restore set: passed ipmap: Range: List set: passed ipmap: Range: Check listing: passed ipmap: Range: Delete a range of elements: passed ipmap: Range: List set: passed ipmap: Range: Check listing: passed ipmap: Range: Flush test set: passed ipmap: Range: Delete test set: passed ipmap: Network: Try to create a set from an invalid network: passed ipmap: Network: Create a set from a valid network: passed ipmap: Network: Add lower boundary: passed ipmap: Network: Add upper boundary: passed ipmap: Network: Test lower boundary: passed ipmap: Network: Test upper boundary: passed ipmap: Network: Test element not added to the set: passed ipmap: Network: Test element before lower boundary: passed ipmap: Network: Test element after upper boundary: passed ipmap: Network: Try to add element before lower boundary: passed ipmap: Network: Try to add element after upper boundary: passed ipmap: Network: Delete element not added to the set: passed ipmap: Network: Add element in the middle: passed ipmap: Network: Delete the same element: passed ipmap: Network: List set: passed ipmap: Network: Check listing: passed ipmap: Network: Flush test set: passed ipmap: Network: Delete test set: passed ipmap: Subnets: Create a set to store networks: passed ipmap: Subnets: Add lower boundary: passed ipmap: Subnets: Add upper boundary: passed ipmap: Subnets: Test lower boundary: passed ipmap: Subnets: Test upper boundary: passed ipmap: Subnets: Test element not added to the set: passed ipmap: Subnets: Test element before lower boundary: passed ipmap: Subnets: Test element after upper boundary: passed ipmap: Subnets: Try to add element before lower boundary: passed ipmap: Subnets: Try to add element after upper boundary: passed ipmap: Subnets: Try to delete element not added to the set: passed ipmap: Subnets: Add element to the set: passed ipmap: Subnets: Delete the same element from the set: passed ipmap: Subnets: Add a subnet of subnets: passed ipmap: Subnets: List set: passed ipmap: Subnets: Check listing: passed ipmap: Subnets: FLush test set: passed ipmap: Subnets: Delete test set: passed ipmap: Full: Create full IPv4 space with /16 networks: passed ipmap: Full: Add lower boundary: passed ipmap: Full: Add upper boundary: passed ipmap: Full: Test lower boundary: passed ipmap: Full: Test upper boundary: passed ipmap: Full: Test element not added to the set: passed ipmap: Full: Delete element not added to the set: passed ipmap: Full: Add element to the set: passed ipmap: Full: Delete same element: passed ipmap: Full: List set: passed ipmap: Full: Check listing: passed ipmap: Full: Delete test set: passed bitmap:ip: Range: Try to create from an invalid range with timeout: passed bitmap:ip: Range: Create a set from a valid range with timeout: passed bitmap:ip: Range: Add lower boundary: passed bitmap:ip: Range: Add upper boundary: passed bitmap:ip: Range: Test lower boundary: passed bitmap:ip: Range: Test upper boundary: passed bitmap:ip: Range: Test element not added to the set: passed bitmap:ip: Range: Test element before lower boundary: passed bitmap:ip: Range: Test element after upper boundary: passed bitmap:ip: Range: Try to add element before lower boundary: passed bitmap:ip: Range: Try to add element after upper boundary: passed bitmap:ip: Range: Delete element not added to the set: passed bitmap:ip: Range: Delete element not added to the set, with exist flag: passed bitmap:ip: Range: Add element in the middle: passed bitmap:ip: Range: Add element in the middle again: passed bitmap:ip: Range: Add element in the middle again, with exist flag: passed bitmap:ip: Range: Delete the same element: passed bitmap:ip: Range: Add a range of elements: passed bitmap:ip: Range: List set: passed bitmap:ip: Range: Check listing: passed bitmap:ip: Sleep 5s so that entries can time out: passed bitmap:ip: Range: List set after timeout: passed bitmap:ip: Range: Check listing: passed bitmap:ip: Range: Flush test set: passed bitmap:ip: Range: Delete test set: passed bitmap:ip: Network: Try to create a set from an invalid network with timeout: passed bitmap:ip: Network: Create a set from a valid network with timeout: passed bitmap:ip: Network: Add lower boundary: passed bitmap:ip: Network: Add upper boundary: passed bitmap:ip: Network: Test lower boundary: passed bitmap:ip: Network: Test upper boundary: passed bitmap:ip: Network: Test element not added to the set: passed bitmap:ip: Network: Test element before lower boundary: passed bitmap:ip: Network: Test element after upper boundary: passed bitmap:ip: Network: Try to add element before lower boundary: passed bitmap:ip: Network: Try to add element after upper boundary: passed bitmap:ip: Network: Delete element not added to the set: passed bitmap:ip: Network: Add element in the middle: passed bitmap:ip: Network: Delete the same element: passed bitmap:ip: Network: List set: passed bitmap:ip: Network: Check listing: passed bitmap:ip: Sleep 5s so that entries can time out: passed bitmap:ip: Network: List set: passed bitmap:ip: Network: Check listing: passed bitmap:ip: Network: Flush test set: passed bitmap:ip: Network: Delete test set: passed bitmap:ip: Subnets: Create a set to store networks with timeout: passed bitmap:ip: Subnets: Add lower boundary: passed bitmap:ip: Subnets: Add upper boundary: passed bitmap:ip: Subnets: Test lower boundary: passed bitmap:ip: Subnets: Test upper boundary: passed bitmap:ip: Subnets: Test element not added to the set: passed bitmap:ip: Subnets: Test element before lower boundary: passed bitmap:ip: Subnets: Test element after upper boundary: passed bitmap:ip: Subnets: Try to add element before lower boundary: passed bitmap:ip: Subnets: Try to add element after upper boundary: passed bitmap:ip: Subnets: Try to delete element not added to the set: passed bitmap:ip: Subnets: Add element to the set: passed bitmap:ip: Subnets: Delete the same element from the set: passed bitmap:ip: Subnets: Add a subnet of subnets: passed bitmap:ip: Subnets: List set: passed bitmap:ip: Subnets: Check listing: passed bitmap:ip: Sleep 5s so that entries can time out: passed bitmap:ip: Subnets: List set: passed bitmap:ip: Subnets: Check listing: passed bitmap:ip: Subnets: Flush test set: passed bitmap:ip: Subnets: Delete test set: passed bitmap:ip: Full: Create full IPv4 space with /16 networks and timeout: passed bitmap:ip: Full: Add lower boundary: passed bitmap:ip: Full: Add upper boundary: passed bitmap:ip: Full: Test lower boundary: passed bitmap:ip: Full: Test upper boundary: passed bitmap:ip: Full: Test element not added to the set: passed bitmap:ip: Full: List set: passed bitmap:ip: Full: Check listing: passed bitmap:ip: Full: flush set: passed bitmap:ip: Full: add element with 1s timeout: passed bitmap:ip: Full: readd element with 3s timeout: passed bitmap:ip: Full: sleep 2s: passed bitmap:ip: Full: check readded element: passed bitmap:ip: Full: Delete test set: passed macipmap: Range: Try to create from an invalid range: passed macipmap: Range: Create a set from a valid range: passed macipmap: Range: Add lower boundary: passed macipmap: Range: Add upper boundary: passed macipmap: Range: Test lower boundary: passed macipmap: Range: Test upper boundary: passed macipmap: Range: Test value not added to the set: passed macipmap: Range: Test value before lower boundary: passed macipmap: Range: Test value after upper boundary: passed macipmap: Range: Try to add value before lower boundary: passed macipmap: Range: Try to add value after upper boundary: passed macipmap: Range: Delete element not added to the set: passed macipmap: Range: Try to add value with MAC: passed macipmap: Range: Test value with invalid MAC: passed macipmap: Range: Test value with valid MAC: passed macipmap: Range: Add MAC to already added element: passed macipmap: Range: Test value without supplying MAC: passed macipmap: Range: Test value with valid MAC: passed macipmap: Range: Add an element in the middle: passed macipmap: Range: Delete the same element: passed macipmap: Range: List set: passed macipmap: Range: Check listing: passed macipmap: Range: Flush test set: passed macipmap: Range: Delete test set: passed macipmap: Network: Try to create a set from an invalid network: passed macipmap: Network: Create a set from a valid network: passed macipmap: Network: Add lower boundary: passed macipmap: Network: Add upper boundary: passed macipmap: Network: Test lower boundary: passed macipmap: Network: Test upper boundary: passed macipmap: Network: Test value not added to the set: passed macipmap: Network: Test value before lower boundary: passed macipmap: Network: Test value after upper boundary: passed macipmap: Network: Try to add value before lower boundary: passed macipmap: Network: Try to add value after upper boundary: passed macipmap: Network: Delete element not added to the set: passed macipmap: Network: Try to add value with MAC: passed macipmap: Network: Test value with invalid MAC: passed macipmap: Network: Test value with valid MAC: passed macipmap: Network: Add MAC to already added element: passed macipmap: Network: List set: passed macipmap: Network: Check listing: passed macipmap: Network: Flush test set: passed macipmap: Network: Delete test set: passed macipmap: Range: Create a set from a valid range with timeout: passed macipmap: Range: Add lower boundary: passed macipmap: Range: Add upper boundary: passed macipmap: Range: Test lower boundary: passed macipmap: Range: Test upper boundary: passed macipmap: Range: Test value not added to the set: passed macipmap: Range: Test value before lower boundary: passed macipmap: Range: Test value after upper boundary: passed macipmap: Range: Try to add value before lower boundary: passed macipmap: Range: Try to add value after upper boundary: passed macipmap: Range: Try to add value with MAC: passed macipmap: Range: Test value with invalid MAC: passed macipmap: Range: Test value with valid MAC: passed macipmap: Range: Add MAC to already added element: passed macipmap: Range: Add an element in the middle: passed macipmap: Range: Delete the same element: passed macipmap: Range: List set: passed macipmap: Range: Check listing: passed macipmap: Range: sleep 5s so that elements can timeout: passed macipmap: Range: List set: passed macipmap: Range: Check listing: passed macipmap: Range: Flush test set: passed macipmap: Range: add element with 1s timeout: passed macipmap: Range: readd element with 3s timeout: passed macipmap: Range: sleep 2s: passed macipmap: Range: check readded element: passed macipmap: Range: Delete test set: passed portmap: Range: Create a set from a valid range: passed portmap: Range: Add lower boundary: passed portmap: Range: Add upper boundary: passed portmap: Range: Test lower boundary: passed portmap: Range: Test upper boundary: passed portmap: Range: Test value not added to the set: passed portmap: Range: Test value before lower boundary: passed portmap: Range: Test value after upper boundary: passed portmap: Range: Try to add value before lower boundary: passed portmap: Range: Try to add value after upper boundary: passed portmap: Range: Delete element not added to the set: passed portmap: Range: Add element in the middle: passed portmap: Range: Delete the same element: passed portmap: Range: List set: passed portmap: Range: Check listing: passed portmap: Range: Flush test set: passed portmap: Range: Delete test set: passed portmap: Full: Create a full set of ports: passed portmap: Full: Add lower boundary: passed portmap: Full: Add upper boundary: passed portmap: Full: Test lower boundary: passed portmap: Full: Test upper boundary: passed portmap: Full: Test value not added to the set: passed portmap: Full: List set: passed portmap: Full: Check listing: passed portmap: Full: Flush test set: passed portmap: Full: Delete test set: passed portmap: Full: Create a full set of ports and timeout: passed portmap: Full: Add lower boundary: passed portmap: Full: Add upper boundary: passed portmap: Full: Test lower boundary: passed portmap: Full: Test upper boundary: passed portmap: Full: Test value not added to the set: passed portmap: Full: Add element in the middle: passed portmap: Full: Delete the same element: passed portmap: Full: List set: passed portmap: Full: Check listing: passed portmap: Full: sleep 5s so that elements can timeout: passed portmap: Full: List set: passed portmap: Full: Flush test set: passed portmap: Full: add element with 1s timeout: passed portmap: Full: readd element with 3s timeout: passed portmap: Full: sleep 2s: passed portmap: Full: check readded element: passed portmap: Full: Delete test set: passed iphash: IP: Create a set: passed iphash: Range: Add zero valued element: passed iphash: Range: Test zero valued element: passed iphash: IP: Add first random value: passed iphash: IP: Add second random value: passed iphash: IP: Test first random value: passed iphash: IP: Test second random value: passed iphash: IP: Test value not added to the set: passed iphash: IP: Add third random value: passed iphash: IP: Delete the same value: passed iphash: IP: Delete element not added to the set: passed iphash: IP: Delete element not added to the set, ignoring error: passed iphash: IP: List set: passed iphash: IP: Check listing: passed iphash: IP: Flush test set: passed iphash: IP: Delete test set: passed iphash: IP: Restore values so that rehashing is triggered, old format: passed iphash: IP: Check that all values are restored: passed iphash: IP: Delete test set: passed iphash: IP: Restore values so that rehashing is triggered: passed iphash: IP: Check that all values are restored: passed iphash: IP: Flush test set: passed iphash: IP: Delete test set: passed iphash: IP: Restore, which requires multiple messages: passed iphash: IP: Save the restored set: passed iphash: IP: Compare save and restore: passed iphash: IP: Delete test set: passed iphash: Network: Create a set: passed iphash: Network: Add zero valued element: passed iphash: Network: Test zero valued element: passed iphash: Network: Delete zero valued element: passed iphash: Network: Add first random network: passed iphash: Network: Add second random network: passed iphash: Network: Test first random value: passed iphash: Network: Test second random value: passed iphash: Network: Test value not added to the set: passed iphash: Network: Add third random network: passed iphash: Network: Delete the same network: passed iphash: Network: Delete element not added to the set: passed iphash: Network: List set: passed iphash: Network: Check listing: passed iphash: Network: Flush test set: passed iphash: Network: Delete test set: passed hash:ip: IP: Create a set with timeout: passed hash:ip: Range: Add zero valued element: passed hash:ip: Range: Test zero valued element: passed hash:ip: IP: Add first random value: passed hash:ip: IP: Add second random value: passed hash:ip: IP: Test first random value: passed hash:ip: IP: Test second random value: passed hash:ip: IP: Test value not added to the set: passed hash:ip: IP: Add third random value: passed hash:ip: IP: Delete the same value: passed hash:ip: IP: List set: passed hash:ip: IP: Check listing: passed hash:ip: Sleep 5s so that element can time out: passed hash:ip: IP: List set: passed hash:ip: IP: Check listing: passed hash:ip: IP: Flush test set: passed hash:ip: IP: Add multiple elements in one step: passed hash:ip: IP: Delete multiple elements in one step: passed hash:ip: IP: Test element after deletion: passed hash:ip: IP: Test deleted element: passed hash:ip: IP: Delete test set: passed hash:ip: IP: Restore values so that rehashing is triggered: passed hash:ip: IP: Check that the values are restored: passed hash:ip: Sleep 5s so that elements can time out: passed hash:ip: IP: check that elements timed out: passed hash:ip: IP: Flush test set: passed hash:ip: IP: Stress test resizing: passed hash:ip: IP: Check listing, which requires multiple messages: passed hash:ip: IP: Swap test and resize-test sets: passed hash:ip: IP: Check listing, which requires multiple messages: passed hash:ip: IP: Destroy sets: passed hash:ip: IP: Create set to add a range: passed hash:ip: IP: Add a range which forces a resizing: passed hash:ip: IP: Check that correct number of elements are added: passed hash:ip: IP: Destroy sets: passed hash:ip: Network: Create a set with timeout: passed hash:ip: Network: Add zero valued element: passed hash:ip: Network: Test zero valued element: passed hash:ip: Network: Delete zero valued element: passed hash:ip: Network: Add first random network: passed hash:ip: Network: Add second random network: passed hash:ip: Network: Test first random value: passed hash:ip: Network: Test second random value: passed hash:ip: Network: Test value not added to the set: passed hash:ip: Network: Add third element: passed hash:ip: Network: Add third random network: passed hash:ip: Network: Delete the same network: passed hash:ip: Network: List set: passed hash:ip: Network: Check listing: passed hash:ip: Sleep 5s so that elements can time out: passed hash:ip: Network: List set: passed hash:ip: Network: Check listing: passed hash:ip: Network: Flush test set: passed hash:ip: Network: add element with 1s timeout: passed hash:ip: Network: readd element with 3s timeout: passed hash:ip: Network: sleep 2s: passed hash:ip: Network: check readded element: passed hash:ip: Network: Delete test set: passed hash:ip6: IP: Create a set with timeout: passed hash:ip6: IP: Add zero valued element: passed hash:ip6: IP: Test zero valued element: passed hash:ip6: IP: Delete zero valued element: passed hash:ip6: IP: Add first random value: passed hash:ip6: IP: Add second random value: passed hash:ip6: IP: Test first random value: passed hash:ip6: IP: Test second random value: passed hash:ip6: IP: Test value not added to the set: passed hash:ip6: IP: Add third random value: passed hash:ip6: IP: Delete the same value: passed hash:ip6: IP: List set: passed hash:ip6: IP: Check listing: passed hash:ip6: IP: Save set: passed hash:ip6: Sleep 5s so that element can time out: passed hash:ip6: IP: List set: passed hash:ip6: IP: Check listing: passed hash:ip6: IP: Destroy set: passed hash:ip6: IP: Restore saved set: passed hash:ip6: IP: List set: passed hash:ip6: IP: Check listing: passed hash:ip6: IP: Flush test set: passed hash:ip6: IP: Try to add multiple elements in one step: passed hash:ip6: IP: Delete test set: passed hash:ip6: Network: Create a set with timeout: passed hash:ip6: Network: Add zero valued element: passed hash:ip6: Network: Test zero valued element: passed hash:ip6: Network: Delete zero valued element: passed hash:ip6: Network: Add first random network: passed hash:ip6: Network: Add second random network: passed hash:ip6: Network: Test first random value: passed hash:ip6: Network: Test second random value: passed hash:ip6: Network: Test value not added to the set: passed hash:ip6: Network: Add third element: passed hash:ip6: Network: Add third random network: passed hash:ip6: Network: Delete the same network: passed hash:ip6: Network: Test the deleted network: passed hash:ip6: Network: List set: passed hash:ip6: Network: Check listing: passed hash:ip6: Sleep 5s so that elements can time out: passed hash:ip6: Network: List set: passed hash:ip6: Network: Check listing: passed hash:ip6: Network: Flush test set: passed hash:ip6: Network: Delete test set: passed hash:ip6: Check more complex restore commands: passed hash:ip6: List restored set a: passed hash:ip6: Check listing of set a: passed hash:ip6: List restored set b: passed hash:ip6: Check listing of set b: passed hash:ip6: Destroy by restore: passed ipporthash: Create a set from a range (range ignored): passed ipporthash: Destroy set: passed ipporthash: Create a set: passed ipporthash: Add partly zero valued element: passed ipporthash: Test partly zero valued element: passed ipporthash: Delete partly zero valued element: passed ipporthash: Add first random value: passed ipporthash: Add second random value: passed ipporthash: Test first random value: passed ipporthash: Test second random value: passed ipporthash: Test value not added to the set: passed ipporthash: Delete value not added to the set: passed ipporthash: Test value before first random value: passed ipporthash: Test value after second random value: passed ipporthash: Try to add value before first random value: passed ipporthash: Try to add value after second random value: passed ipporthash: List set: passed ipporthash: Check listing: passed ipporthash: Flush test set: passed ipporthash: Delete test set: passed ipporthash: Create a set from a network (network ignored): passed ipporthash: Add first random value: passed ipporthash: Add second random value: passed ipporthash: Test first random value: passed ipporthash: Test second random value: passed ipporthash: Test value not added to the set: passed ipporthash: Delete value not added to the set: passed ipporthash: Test value before first random value: passed ipporthash: Test value after second random value: passed ipporthash: Try to add value before first random value: passed ipporthash: Try to add value after second random value: passed ipporthash: List set: passed ipporthash: Check listing: passed ipporthash: Flush test set: passed ipporthash: Delete test set: passed hash:ip,port: Create a set with timeout: passed hash:ip,port: Add partly zero valued element: passed hash:ip,port: Test partly zero valued element: passed hash:ip,port: Delete partly zero valued element: passed hash:ip,port: Add first random value: passed hash:ip,port: Add second random value: passed hash:ip,port: Test first random value: passed hash:ip,port: Test second random value: passed hash:ip,port: Test value not added to the set: passed hash:ip,port: Delete value not added to the set: passed hash:ip,port: Test value before first random value: passed hash:ip,port: Test value after second random value: passed hash:ip,port: Try to add value before first random value: passed hash:ip,port: Try to add value after second random value: passed hash:ip,port: List set: passed hash:ip,port: Check listing: passed hash:ip,port: Sleep 5s so that elements can time out: passed hash:ip,port: List set: passed hash:ip,port: Check listing: passed hash:ip,port: Flush test set: passed hash:ip,port: Add multiple elements in one step: passed hash:ip,port: Delete multiple elements in one step: passed hash:ip,port: Check number of elements after multi-add/multi-del: passed hash:ip,port: Delete test set: passed hash:ip,port: Create a set: passed hash:ip,port: Add element without specifying protocol: passed hash:ip,port: Add "same" element but with UDP protocol: passed hash:ip,port: Test element without specifying protocol: passed hash:ip,port: Test element with TCP protocol: passed hash:ip,port: Test element with UDP protocol: passed hash:ip,port: Add element with vrrp: passed hash:ip,port: Test element with vrrp: passed hash:ip,port: Add element with sctp: passed hash:ip,port: Test element with sctp: passed hash:ip,port: Delete element with sctp: passed hash:ip,port: List set: passed hash:ip,port: Check listing: --- .foo 2011-09-06 17:26:32.193183825 +0200 +++ hash:ip,port.t.list2 2011-04-19 12:11:41.000000000 +0200 @@ -1,9 +1,9 @@ Name: test Type: hash:ip,port Header: family inet hashsize 1024 maxelem 65536 -Size in memory: 16608 +Size in memory: 8432 References: 0 Members: -2.0.0.1,carp:0 2.0.0.1,tcp:80 2.0.0.1,udp:80 +2.0.0.1,vrrp:0 FAILED Failed test: diff -u -I 'Size in memory.*' .foo hash:ip,port.t.list2