2026-10-26 13:58:31,114 - INFO - Domain Default found not creating 2026-10-26 13:58:31,327 - INFO - Project ctest-TestBasicPolicy-50296610 not found, creating it 2026-10-26 13:58:31,845 - INFO - Created Project:ctest-TestBasicPolicy-50296610, ID : e61587f8-1672-404c-9583-9e1ec15f5ff2 2026-10-26 13:58:33,802 - INFO - ================================================================================ 2026-10-26 13:58:33,802 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-10-26 13:58:33,802 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2026-10-26 13:58:34,079 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.17': '0'}} with 2026-10-26 13:58:34,079 - INFO - Initial checks done. Running the testcase now 2026-10-26 13:58:34,079 - INFO - 2026-10-26 13:58:34,857 - DEBUG - Response for create_network : {'network': {'id': '1ea01565-8576-46a1-847c-a24e3fe2a8a2', 'name': 'ctest-vn-25265225', 'tenant_id': 'e61587f81672404c95839e1ec15f5ff2', 'project_id': 'e61587f81672404c95839e1ec15f5ff2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-50296610', 'ctest-vn-25265225'], 'port_security_enabled': True, 'description': ''}} 2026-10-26 13:58:35,046 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd3e04c27-903d-4c3b-ba2e-a5a0c0dde534', 'name': '', 'tenant_id': 'e61587f81672404c95839e1ec15f5ff2', 'network_id': '1ea01565-8576-46a1-847c-a24e3fe2a8a2', 'ip_version': 4, 'cidr': '178.248.84.64/26', 'allocation_pools': [{'start': '178.248.84.66', 'end': '178.248.84.126'}], 'gateway_ip': '178.248.84.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '178.248.84.66', 'tags': [], 'project_id': 'e61587f81672404c95839e1ec15f5ff2'}} 2026-10-26 13:58:35,063 - INFO - Created VN ctest-vn-25265225 2026-10-26 13:58:35,117 - DEBUG - VN ctest-vn-25265225 UUID is 1ea01565-8576-46a1-847c-a24e3fe2a8a2 2026-10-26 13:58:35,432 - DEBUG - Response for create_network : {'network': {'id': '08085d02-f7f7-4ddc-a8e2-d77068b9eb43', 'name': 'ctest-vn-31007119', 'tenant_id': 'e61587f81672404c95839e1ec15f5ff2', 'project_id': 'e61587f81672404c95839e1ec15f5ff2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-50296610', 'ctest-vn-31007119'], 'port_security_enabled': True, 'description': ''}} 2026-10-26 13:58:35,630 - DEBUG - Response for create_subnet : {'subnet': {'id': '00fa4445-46ee-4d2a-89d5-1aec02fec84e', 'name': '', 'tenant_id': 'e61587f81672404c95839e1ec15f5ff2', 'network_id': '08085d02-f7f7-4ddc-a8e2-d77068b9eb43', 'ip_version': 4, 'cidr': '58.48.141.192/26', 'allocation_pools': [{'start': '58.48.141.194', 'end': '58.48.141.254'}], 'gateway_ip': '58.48.141.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.48.141.194', 'tags': [], 'project_id': 'e61587f81672404c95839e1ec15f5ff2'}} 2026-10-26 13:58:35,649 - INFO - Created VN ctest-vn-31007119 2026-10-26 13:58:35,705 - DEBUG - VN ctest-vn-31007119 UUID is 08085d02-f7f7-4ddc-a8e2-d77068b9eb43 2026-10-26 13:58:35,829 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-50296610:ctest-vn-25265225, security_group = None, network_policy = None, subnet_list = []], src_ports = [start_port = -1, end_port = -1], application = [], dst_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-50296610:ctest-vn-31007119, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2026-10-26 13:58:36,134 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1ea01565-8576-46a1-847c-a24e3fe2a8a2', 'name': 'ctest-vn-25265225', 'tenant_id': 'e61587f81672404c95839e1ec15f5ff2', 'project_id': 'e61587f81672404c95839e1ec15f5ff2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['d3e04c27-903d-4c3b-ba2e-a5a0c0dde534'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-50296610', 'ctest-vn-25265225'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-50296610', 'ctest-policy-allow-all-99801421']], 'subnet_ipam': [{'subnet_cidr': '178.248.84.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-26 13:58:36,381 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '08085d02-f7f7-4ddc-a8e2-d77068b9eb43', 'name': 'ctest-vn-31007119', 'tenant_id': 'e61587f81672404c95839e1ec15f5ff2', 'project_id': 'e61587f81672404c95839e1ec15f5ff2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['00fa4445-46ee-4d2a-89d5-1aec02fec84e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-50296610', 'ctest-vn-31007119'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-50296610', 'ctest-policy-allow-all-99801421']], 'subnet_ipam': [{'subnet_cidr': '58.48.141.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-26 13:58:36,549 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-10-26 13:58:36,932 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-10-26 13:58:36,960 - DEBUG - Requesting: http://10.0.0.161:8082/domain/ffadc0d8-42de-4c25-ab83-80f0c00e8fd3 2026-10-26 13:58:36,972 - DEBUG - Requesting: http://10.0.0.161:8082/project/e61587f8-1672-404c-9583-9e1ec15f5ff2 2026-10-26 13:58:37,046 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/1ea01565-8576-46a1-847c-a24e3fe2a8a2 2026-10-26 13:58:37,059 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/1ea01565-8576-46a1-847c-a24e3fe2a8a2 2026-10-26 13:58:37,069 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/88ce00d9-0932-4994-8713-bdce399fccb5 2026-10-26 13:58:37,077 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/88ce00d9-0932-4994-8713-bdce399fccb5 2026-10-26 13:58:37,083 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/fa976cfe-babb-4ba0-a676-ce52924a968a 2026-10-26 13:58:37,089 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-26 13:58:37,089 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/1ea01565-8576-46a1-847c-a24e3fe2a8a2 2026-10-26 13:58:37,097 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/88ce00d9-0932-4994-8713-bdce399fccb5 2026-10-26 13:58:37,109 - INFO - Verified VN network id 12 for VN 1ea01565-8576-46a1-847c-a24e3fe2a8a2 2026-10-26 13:58:37,110 - INFO - Verifications in API Server for VN ctest-vn-25265225 passed 2026-10-26 13:58:37,110 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/1ea01565-8576-46a1-847c-a24e3fe2a8a2 2026-10-26 13:58:37,118 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/88ce00d9-0932-4994-8713-bdce399fccb5 2026-10-26 13:58:37,126 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/88ce00d9-0932-4994-8713-bdce399fccb5 2026-10-26 13:58:37,133 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/fa976cfe-babb-4ba0-a676-ce52924a968a 2026-10-26 13:58:37,146 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-50296610:ctest-vn-25265225', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-50296610', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2206787343186544289', 'uuid-lslong': '9546683767081576610'}, 'enable': 'true', 'created': '2026-10-26T13:58:34', 'last-modified': '2026-10-26T13:58:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.032687'} 2026-10-26 13:58:37,154 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-26 13:58:37,154 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-25265225 passed 2026-10-26 13:58:37,154 - DEBUG - ====Verifying policy data for ctest-vn-25265225 in API_Server ====== 2026-10-26 13:58:37,154 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-10-26 13:58:37,159 - DEBUG - Requesting: http://10.0.0.161:8082/domain/ffadc0d8-42de-4c25-ab83-80f0c00e8fd3 2026-10-26 13:58:37,170 - DEBUG - Requesting: http://10.0.0.161:8082/project/e61587f8-1672-404c-9583-9e1ec15f5ff2 2026-10-26 13:58:37,248 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/1ea01565-8576-46a1-847c-a24e3fe2a8a2 2026-10-26 13:58:37,259 - DEBUG - ==>Verifying data for policy with id: c5717362-e25e-44c4-8317-b65fdead6fcf, fqn: ['default-domain', 'ctest-TestBasicPolicy-50296610', 'ctest-policy-allow-all-99801421'] 2026-10-26 13:58:37,259 - INFO - VN ctest-vn-25265225 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-26 13:58:37,260 - DEBUG - Verifying the vn in opserver 2026-10-26 13:58:37,260 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-50296610:ctest-vn-25265225 virtual network link through opserver 10.0.0.161 2026-10-26 13:58:37,260 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-10-26 13:58:37,632 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-10-26 13:58:37,681 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-50296610:ctest-vn-25265225', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-50296610:ctest-vn-25265225?flat'} 2026-10-26 13:58:37,681 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-50296610:ctest-vn-25265225 is found in opserver 2026-10-26 13:58:37,691 - DEBUG - Do not have enough data to verify VN in agent 2026-10-26 13:58:37,695 - DEBUG - VRF ids for VN ctest-vn-25265225: {} 2026-10-26 13:58:37,695 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-10-26 13:58:37,700 - DEBUG - Requesting: http://10.0.0.161:8082/domain/ffadc0d8-42de-4c25-ab83-80f0c00e8fd3 2026-10-26 13:58:37,712 - DEBUG - Requesting: http://10.0.0.161:8082/project/e61587f8-1672-404c-9583-9e1ec15f5ff2 2026-10-26 13:58:37,786 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/08085d02-f7f7-4ddc-a8e2-d77068b9eb43 2026-10-26 13:58:37,798 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/08085d02-f7f7-4ddc-a8e2-d77068b9eb43 2026-10-26 13:58:37,807 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/f53ee4aa-1478-4357-987c-2ea7c88ab078 2026-10-26 13:58:37,813 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/f53ee4aa-1478-4357-987c-2ea7c88ab078 2026-10-26 13:58:37,819 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/288284d3-4949-4b0c-bfad-8ad62a8d86b2 2026-10-26 13:58:37,825 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-26 13:58:37,825 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/08085d02-f7f7-4ddc-a8e2-d77068b9eb43 2026-10-26 13:58:37,833 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/f53ee4aa-1478-4357-987c-2ea7c88ab078 2026-10-26 13:58:37,845 - INFO - Verified VN network id 13 for VN 08085d02-f7f7-4ddc-a8e2-d77068b9eb43 2026-10-26 13:58:37,845 - INFO - Verifications in API Server for VN ctest-vn-31007119 passed 2026-10-26 13:58:37,846 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/08085d02-f7f7-4ddc-a8e2-d77068b9eb43 2026-10-26 13:58:37,854 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/f53ee4aa-1478-4357-987c-2ea7c88ab078 2026-10-26 13:58:37,862 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/f53ee4aa-1478-4357-987c-2ea7c88ab078 2026-10-26 13:58:37,869 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/288284d3-4949-4b0c-bfad-8ad62a8d86b2 2026-10-26 13:58:37,880 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-50296610:ctest-vn-31007119', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-50296610', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '578814819448606172', 'uuid-lslong': '12169526020901825347'}, 'enable': 'true', 'created': '2026-10-26T13:58:35', 'last-modified': '2026-10-26T13:58:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.522921'} 2026-10-26 13:58:37,890 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-26 13:58:37,890 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31007119 passed 2026-10-26 13:58:37,890 - DEBUG - ====Verifying policy data for ctest-vn-31007119 in API_Server ====== 2026-10-26 13:58:37,891 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-10-26 13:58:37,896 - DEBUG - Requesting: http://10.0.0.161:8082/domain/ffadc0d8-42de-4c25-ab83-80f0c00e8fd3 2026-10-26 13:58:37,906 - DEBUG - Requesting: http://10.0.0.161:8082/project/e61587f8-1672-404c-9583-9e1ec15f5ff2 2026-10-26 13:58:37,984 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/08085d02-f7f7-4ddc-a8e2-d77068b9eb43 2026-10-26 13:58:37,994 - DEBUG - ==>Verifying data for policy with id: c5717362-e25e-44c4-8317-b65fdead6fcf, fqn: ['default-domain', 'ctest-TestBasicPolicy-50296610', 'ctest-policy-allow-all-99801421'] 2026-10-26 13:58:37,994 - INFO - VN ctest-vn-31007119 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-26 13:58:37,994 - DEBUG - Verifying the vn in opserver 2026-10-26 13:58:37,994 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-50296610:ctest-vn-31007119 virtual network link through opserver 10.0.0.161 2026-10-26 13:58:37,994 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-10-26 13:58:38,003 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-50296610:ctest-vn-31007119', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-50296610:ctest-vn-31007119?flat'} 2026-10-26 13:58:38,003 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-50296610:ctest-vn-31007119 is found in opserver 2026-10-26 13:58:38,015 - DEBUG - Do not have enough data to verify VN in agent 2026-10-26 13:58:38,020 - DEBUG - VRF ids for VN ctest-vn-31007119: {} 2026-10-26 13:58:38,082 - DEBUG - Services list from nova: [, , ] 2026-10-26 13:58:38,548 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6410-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6410-1) 2026-10-26 13:58:38,949 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6410-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6410-1) 2026-10-26 13:58:38,949 - INFO - Waiting for VM ctest-TestBasicPolicy-50296610-03333696 to be up.. 2026-10-26 13:58:38,990 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 13:58:44,078 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 13:58:49,226 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 13:58:54,360 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 13:58:59,532 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 13:59:04,618 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 13:59:09,706 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 13:59:14,807 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 13:59:19,894 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 13:59:24,988 - DEBUG - VM is in ACTIVE state now 2026-10-26 13:59:24,989 - INFO - VM name : ctest-TestBasicPolicy-50296610-03333696 2026-10-26 13:59:25,085 - DEBUG - VM ctest-TestBasicPolicy-50296610-03333696 ID is 4d3e8346-e8cb-4320-8e43-653d7a57389c 2026-10-26 13:59:25,112 - DEBUG - VM ctest-TestBasicPolicy-50296610-03333696 launched on Node cn-jenkins-deploy-platform-ansible-os-6410-1 2026-10-26 13:59:25,194 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/4d3e8346-e8cb-4320-8e43-653d7a57389c 2026-10-26 13:59:25,205 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/2cded336-90ea-476f-8474-92b49afef17c 2026-10-26 13:59:28,495 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1032ms') 2026-10-26 13:59:28,496 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-50296610-03333696 failed! 2026-10-26 13:59:28,558 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-50296610:ctest-vn-25265225 is 178.248.84.65 and allocation pool is NOT set 2026-10-26 13:59:30,630 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=3.73 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.545 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.545/2.139/3.733/1.594 ms') 2026-10-26 13:59:30,630 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-50296610-03333696 passed 2026-10-26 13:59:30,785 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-26 13:59:30,785 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-50296610-03333696, IP 178.248.84.67, Port 22 2026-10-26 13:59:30,956 - DEBUG - VM ctest-TestBasicPolicy-50296610-03333696 is ready for SSH connections 2026-10-26 13:59:30,956 - INFO - Waiting for VM ctest-TestBasicPolicy-50296610-27092850 to be up.. 2026-10-26 13:59:31,034 - DEBUG - VM is in ACTIVE state now 2026-10-26 13:59:31,034 - INFO - VM name : ctest-TestBasicPolicy-50296610-27092850 2026-10-26 13:59:31,106 - DEBUG - VM ctest-TestBasicPolicy-50296610-27092850 ID is 0f39c742-0925-489f-a570-33ef5f108ba3 2026-10-26 13:59:31,107 - DEBUG - VM ctest-TestBasicPolicy-50296610-27092850 launched on Node cn-jenkins-deploy-platform-ansible-os-6410-1 2026-10-26 13:59:31,182 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/0f39c742-0925-489f-a570-33ef5f108ba3 2026-10-26 13:59:31,191 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/e45b807c-ecc9-43c6-8663-2a2bc3c11218 2026-10-26 13:59:32,447 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=4.40 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.487 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.487/2.445/4.403/1.958 ms') 2026-10-26 13:59:32,448 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-50296610-27092850 passed 2026-10-26 13:59:32,601 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-26 13:59:32,602 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-50296610-27092850, IP 58.48.141.195, Port 22 2026-10-26 13:59:32,762 - DEBUG - VM ctest-TestBasicPolicy-50296610-27092850 is ready for SSH connections 2026-10-26 13:59:32,762 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-26 13:59:32,762 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 58.48.141.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-10-26 13:59:32,762 - DEBUG - ping -s 56 -c 3 -W 1 58.48.141.195 2026-10-26 13:59:36,779 - DEBUG - PING 58.48.141.195 (58.48.141.195): 56 data bytes 64 bytes from 58.48.141.195: seq=0 ttl=63 time=4.656 ms 64 bytes from 58.48.141.195: seq=1 ttl=63 time=1.260 ms 64 bytes from 58.48.141.195: seq=2 ttl=63 time=1.006 ms --- 58.48.141.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.006/2.307/4.656 ms 2026-10-26 13:59:36,779 - INFO - Ping to IP 58.48.141.195 from VM ctest-TestBasicPolicy-50296610-03333696 passed 2026-10-26 13:59:36,961 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c5717362-e25e-44c4-8317-b65fdead6fcf", "href": "http://10.0.0.161:8082/network-policy/c5717362-e25e-44c4-8317-b65fdead6fcf"}} 2026-10-26 13:59:36,961 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-26 13:59:36,961 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 58.48.141.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-10-26 13:59:36,961 - DEBUG - ping -s 56 -c 3 -W 1 58.48.141.195 2026-10-26 13:59:40,137 - DEBUG - PING 58.48.141.195 (58.48.141.195): 56 data bytes 64 bytes from 58.48.141.195: seq=0 ttl=63 time=2.835 ms --- 58.48.141.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.835/2.835/2.835 ms 2026-10-26 13:59:40,137 - WARNING - Ping to IP 58.48.141.195 from VM ctest-TestBasicPolicy-50296610-03333696 failed 2026-10-26 13:59:40,138 - INFO - Deleting VM ctest-TestBasicPolicy-50296610-27092850 2026-10-26 13:59:40,218 - INFO - Deleting VM ctest-TestBasicPolicy-50296610-03333696 2026-10-26 13:59:40,583 - INFO - Deleted policy ctest-policy-allow-all-99801421 2026-10-26 13:59:40,583 - INFO - Deleting VN ctest-vn-31007119 2026-10-26 13:59:40,620 - DEBUG - VN 08085d02-f7f7-4ddc-a8e2-d77068b9eb43 still in use: Unable to complete operation on network 08085d02-f7f7-4ddc-a8e2-d77068b9eb43. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2133b872-5510-46f0-9f00-c0e35ce86b9f'] 2026-10-26 13:59:40,621 - WARNING - Deleting VN ctest-vn-31007119 failed..Will retry 2026-10-26 13:59:42,659 - DEBUG - VN 08085d02-f7f7-4ddc-a8e2-d77068b9eb43 still in use: Unable to complete operation on network 08085d02-f7f7-4ddc-a8e2-d77068b9eb43. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a1fe9ad5-9dc0-4f63-8d20-e82503ba41fe'] 2026-10-26 13:59:42,659 - WARNING - Deleting VN ctest-vn-31007119 failed..Will retry 2026-10-26 13:59:44,767 - DEBUG - Response for deleting network () 2026-10-26 13:59:44,767 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/f53ee4aa-1478-4357-987c-2ea7c88ab078 2026-10-26 13:59:44,772 - DEBUG - Response Code: 404 2026-10-26 13:59:44,772 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-10-26 13:59:44,777 - DEBUG - Requesting: http://10.0.0.161:8082/domain/ffadc0d8-42de-4c25-ab83-80f0c00e8fd3 2026-10-26 13:59:44,831 - DEBUG - Requesting: http://10.0.0.161:8082/project/e61587f8-1672-404c-9583-9e1ec15f5ff2 2026-10-26 13:59:44,902 - INFO - Validated that VN ctest-vn-31007119 is not found in API Server 2026-10-26 13:59:44,912 - DEBUG - VN ctest-vn-31007119 is not present in Agent 10.0.0.161 2026-10-26 13:59:44,913 - INFO - Validated that VN ctest-vn-31007119 is not in any agent 2026-10-26 13:59:44,927 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-31007119 info 2026-10-26 13:59:44,927 - INFO - Deleting VN ctest-vn-25265225 2026-10-26 13:59:45,062 - DEBUG - Response for deleting network () 2026-10-26 13:59:45,062 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/88ce00d9-0932-4994-8713-bdce399fccb5 2026-10-26 13:59:45,068 - DEBUG - Response Code: 404 2026-10-26 13:59:45,068 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-10-26 13:59:45,073 - DEBUG - Requesting: http://10.0.0.161:8082/domain/ffadc0d8-42de-4c25-ab83-80f0c00e8fd3 2026-10-26 13:59:45,126 - DEBUG - Requesting: http://10.0.0.161:8082/project/e61587f8-1672-404c-9583-9e1ec15f5ff2 2026-10-26 13:59:45,198 - INFO - Validated that VN ctest-vn-25265225 is not found in API Server 2026-10-26 13:59:45,209 - DEBUG - VN ctest-vn-25265225 is not present in Agent 10.0.0.161 2026-10-26 13:59:45,209 - INFO - Validated that VN ctest-vn-25265225 is not in any agent 2026-10-26 13:59:45,226 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-25265225 info 2026-10-26 13:59:45,501 - DEBUG - No XMPP flaps were noticed during the test
2026-10-26 13:59:45,501 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:12]
2026-10-26 13:59:45,501 - INFO - -------------------------------------------------------------------------------- 2026-10-26 13:59:46,282 - INFO - Deleted project: ctest-TestBasicPolicy-50296610, ID : e61587f8-1672-404c-9583-9e1ec15f5ff2