autotest / virt-test

Linux Virtualization Tests
Other
97 stars 140 forks source link

Added default value for the attribute "priority" #2314

Closed bskjois closed 11 months ago

bskjois commented 11 months ago

Signed-off-by: Kowshik Jois B S kowsjois@linux.ibm.com

Description: The attribute "priority" expects an Integer value to be assigned. When there is nothing provided, it will have the value as None and results in test failures. Hence, modified the default value to 0 instead of None

bskjois commented 11 months ago

Before fix:

(03/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.update_exist_filter.non_acl.same_uuid: FAIL: Run failed with right command. (5.32 s) (05/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.update_exist_filter.acl_test: FAIL: Run failed with right command. (8.43 s) (28/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.mac_test.non_acl: FAIL: Run failed with right command. (5.09 s) (29/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.mac_test.acl_test: FAIL: Run failed with right command. (8.47 s) (30/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.vlan_test.non_acl: FAIL: Run failed with right command. (5.18 s) (31/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.vlan_test.acl_test: FAIL: Run failed with right command. (8.42 s) (32/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.stp_test.non_acl: FAIL: Run failed with right command. (5.35 s) (33/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.stp_test.acl_test: FAIL: Run failed with right command. (8.24 s) (34/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.arp_test.non_acl: FAIL: Run failed with right command. (5.20 s) (35/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.arp_test.acl_test: FAIL: Run failed with right command. (8.35 s) (36/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.rarp_test.non_acl: FAIL: Run failed with right command. (5.20 s) (37/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.rarp_test.acl_test: FAIL: Run failed with right command. (8.32 s) (38/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.ip_test.non_acl: FAIL: Run failed with right command. (5.21 s) (39/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.ip_test.acl_test: FAIL: Run failed with right command. (8.30 s) (40/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.ipv6_test.non_acl: FAIL: Run failed with right command. (5.12 s) (41/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.ipv6_test.acl_test: FAIL: Run failed with right command. (8.35 s) (42/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.tcp_test.non_acl: FAIL: Run failed with right command. (5.08 s) (43/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.tcp_test.acl_test: FAIL: Run failed with right command. (8.19 s) (44/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.udp_test.non_acl: FAIL: Run failed with right command. (5.20 s) (45/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.udp_test.acl_test: FAIL: Run failed with right command. (8.12 s) (46/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.sctp_test.non_acl: FAIL: Run failed with right command. (5.31 s) (47/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.sctp_test.acl_test: FAIL: Run failed with right command. (8.34 s) (48/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.tcp_ipv6_test.non_acl: FAIL: Run failed with right command. (5.11 s) (49/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.tcp_ipv6_test.acl_test: FAIL: Run failed with right command. (8.29 s) (50/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.udp_ipv6_test.non_acl: FAIL: Run failed with right command. (5.14 s) (51/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.udp_ipv6_test.acl_test: FAIL: Run failed with right command. (8.22 s) (52/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.sctp_ipv6_test.non_acl: FAIL: Run failed with right command. (4.97 s) (53/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.sctp_ipv6_test.acl_test: FAIL: Run failed with right command. (8.22 s) (54/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.icmp_test.non_acl: FAIL: Run failed with right command. (5.19 s) (55/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.icmp_test.acl_test: FAIL: Run failed with right command. (8.43 s) (56/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.icmpv6_test.non_acl: FAIL: Run failed with right command. (5.10 s) (57/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.icmpv6_test.acl_test: FAIL: Run failed with right command. (8.32 s) (58/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.igmp_test.non_acl: FAIL: Run failed with right command. (5.23 s) (59/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.igmp_test.acl_test: FAIL: Run failed with right command. (8.21 s) (60/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.esp_test.non_acl: FAIL: Run failed with right command. (5.36 s) (61/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.esp_test.acl_test: FAIL: Run failed with right command. (8.32 s) (62/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.ah_test.non_acl: FAIL: Run failed with right command. (5.14 s) (63/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.ah_test.acl_test: FAIL: Run failed with right command. (8.42 s) (64/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.udplite_test.non_acl: FAIL: Run failed with right command. (5.31 s) (65/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.udplite_test.acl_test: FAIL: Run failed with right command. (8.26 s) (66/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.all_test.non_acl: FAIL: Run failed with right command. (5.21 s) (67/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.all_test.acl_test: FAIL: Run failed with right command. (8.12 s) (68/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.ah_ipv6_test.non_acl: FAIL: Run failed with right command. (5.04 s) (69/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.ah_ipv6_test.acl_test: FAIL: Run failed with right command. (8.08 s) (70/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.all_ipv6_test.non_acl: FAIL: Run failed with right command. (5.08 s) (71/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.all_ipv6_test.acl_test: FAIL: Run failed with right command. (8.39 s) (72/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.esp_ipv6_test.non_acl: FAIL: Run failed with right command. (5.13 s) (73/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.esp_ipv6_test.acl_test: FAIL: Run failed with right command. (8.19 s) (74/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.udplite_ipv6_test.non_acl: FAIL: Run failed with right command. (5.06 s) (75/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.udplite_ipv6_test.acl_test: FAIL: Run failed with right command. (8.18 s)

debug.log:

[stdlog] 2023-10-13 01:38:17,199 avocado.utils.process DEBUG| [stderr] error: Failed to define network filter from /tmp/filter-define-test.xml [stdlog] 2023-10-13 01:38:17,199 avocado.utils.process DEBUG| [stderr] error: XML error: Invalid value for attribute 'priority' in element 'rule': 'None'. Expected integer value [stdlog] 2023-10-13 01:38:17,199 avocado.utils.process DEBUG| [stdout]

After fix:

(03/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.update_exist_filter.non_acl.same_uuid: PASS (4.94 s) (05/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.update_exist_filter.acl_test: PASS (8.92 s) (28/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.mac_test.non_acl: PASS (4.81 s) (29/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.mac_test.acl_test: PASS (8.32 s) (30/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.vlan_test.non_acl: PASS (4.69 s) (31/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.vlan_test.acl_test: PASS (8.12 s) (32/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.stp_test.non_acl: PASS (4.86 s) (33/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.stp_test.acl_test: PASS (8.15 s) (34/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.arp_test.non_acl: PASS (4.90 s) (35/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.arp_test.acl_test: PASS (8.06 s) (36/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.rarp_test.non_acl: PASS (4.84 s) (37/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.rarp_test.acl_test: PASS (8.03 s) (38/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.ip_test.non_acl: PASS (5.10 s) (39/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.ip_test.acl_test: PASS (7.98 s) (40/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.ipv6_test.non_acl: PASS (4.74 s) (41/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.ipv6_test.acl_test: PASS (8.16 s) (42/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.tcp_test.non_acl: PASS (4.93 s) (43/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.tcp_test.acl_test: PASS (8.13 s) (44/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.udp_test.non_acl: PASS (4.89 s) (45/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.udp_test.acl_test: PASS (7.88 s) (46/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.sctp_test.non_acl: PASS (4.90 s) (47/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.sctp_test.acl_test: PASS (7.97 s) (48/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.tcp_ipv6_test.non_acl: PASS (4.91 s) (49/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.tcp_ipv6_test.acl_test: PASS (7.85 s) (50/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.udp_ipv6_test.non_acl: PASS (4.99 s) (51/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.udp_ipv6_test.acl_test: PASS (7.95 s) (52/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.sctp_ipv6_test.non_acl: PASS (4.95 s) (53/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.sctp_ipv6_test.acl_test: PASS (8.03 s) (54/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.icmp_test.non_acl: PASS (5.01 s) (55/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.icmp_test.acl_test: PASS (7.97 s) (56/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.icmpv6_test.non_acl: PASS (4.97 s) (57/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.icmpv6_test.acl_test: PASS (7.86 s) (58/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.igmp_test.non_acl: PASS (5.06 s) (59/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.igmp_test.acl_test: PASS (8.06 s) (60/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.esp_test.non_acl: PASS (5.02 s) (61/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.esp_test.acl_test: PASS (7.93 s) (62/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.ah_test.non_acl: PASS (4.88 s) (63/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.ah_test.acl_test: PASS (7.99 s) (64/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.udplite_test.non_acl: PASS (5.05 s) (65/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.udplite_test.acl_test: PASS (7.91 s) (66/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.all_test.non_acl: PASS (4.87 s) (67/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.all_test.acl_test: PASS (8.02 s) (68/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.ah_ipv6_test.non_acl: PASS (4.90 s) (69/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.ah_ipv6_test.acl_test: PASS (7.86 s) (70/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.all_ipv6_test.non_acl: PASS (4.90 s) (71/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.all_ipv6_test.acl_test: PASS (8.20 s) (72/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.esp_ipv6_test.non_acl: PASS (5.01 s) (73/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.esp_ipv6_test.acl_test: PASS (8.19 s) (74/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.udplite_ipv6_test.non_acl: PASS (5.06 s) (75/76) type_specific.io-github-autotest-libvirt.virsh.nwfilter_define.positive_test.udplite_ipv6_test.acl_test: PASS (8.16 s)

bskjois commented 11 months ago

Just got to know that the development of this code base has been moved to different repository. Hence I am closing this PR.