2026-04-28 13:06:55,268 - INFO - Domain Default found not creating 2026-04-28 13:06:55,442 - INFO - Project ctest-TestBasicPolicy-08347018 not found, creating it 2026-04-28 13:06:55,904 - INFO - Created Project:ctest-TestBasicPolicy-08347018, ID : 2d7b4839-8285-40e3-8ec3-2bac408864a5 2026-04-28 13:06:57,386 - INFO - ================================================================================ 2026-04-28 13:06:57,386 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-28 13:06:57,386 - 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-04-28 13:06:57,639 - DEBUG - Nothing to compare xmpp stats {'10.0.0.56': {'10.20.0.14': '0'}} with 2026-04-28 13:06:57,639 - INFO - Initial checks done. Running the testcase now 2026-04-28 13:06:57,639 - INFO - 2026-04-28 13:06:58,183 - DEBUG - Response for create_network : {'network': {'id': '960a3b1e-f216-4690-9ee7-656afbc405cf', 'name': 'ctest-vn-29696504', 'tenant_id': '2d7b4839828540e38ec32bac408864a5', 'project_id': '2d7b4839828540e38ec32bac408864a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08347018', 'ctest-vn-29696504'], 'port_security_enabled': True, 'description': ''}} 2026-04-28 13:06:58,399 - DEBUG - Response for create_subnet : {'subnet': {'id': '417368a6-5529-4f48-9ae0-9f0245b1d775', 'name': '', 'tenant_id': '2d7b4839828540e38ec32bac408864a5', 'network_id': '960a3b1e-f216-4690-9ee7-656afbc405cf', 'ip_version': 4, 'cidr': '191.113.28.192/26', 'allocation_pools': [{'start': '191.113.28.194', 'end': '191.113.28.254'}], 'gateway_ip': '191.113.28.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '191.113.28.194', 'tags': [], 'project_id': '2d7b4839828540e38ec32bac408864a5'}} 2026-04-28 13:06:58,417 - INFO - Created VN ctest-vn-29696504 2026-04-28 13:06:58,475 - DEBUG - VN ctest-vn-29696504 UUID is 960a3b1e-f216-4690-9ee7-656afbc405cf 2026-04-28 13:06:58,796 - DEBUG - Response for create_network : {'network': {'id': 'bef80955-6fa7-4290-9229-d8f9eb7d2f19', 'name': 'ctest-vn-29041003', 'tenant_id': '2d7b4839828540e38ec32bac408864a5', 'project_id': '2d7b4839828540e38ec32bac408864a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08347018', 'ctest-vn-29041003'], 'port_security_enabled': True, 'description': ''}} 2026-04-28 13:06:58,983 - DEBUG - Response for create_subnet : {'subnet': {'id': '48dac573-8e92-43a6-94d7-e325ab28482d', 'name': '', 'tenant_id': '2d7b4839828540e38ec32bac408864a5', 'network_id': 'bef80955-6fa7-4290-9229-d8f9eb7d2f19', 'ip_version': 4, 'cidr': '124.252.136.64/26', 'allocation_pools': [{'start': '124.252.136.66', 'end': '124.252.136.126'}], 'gateway_ip': '124.252.136.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.252.136.66', 'tags': [], 'project_id': '2d7b4839828540e38ec32bac408864a5'}} 2026-04-28 13:06:59,000 - INFO - Created VN ctest-vn-29041003 2026-04-28 13:06:59,051 - DEBUG - VN ctest-vn-29041003 UUID is bef80955-6fa7-4290-9229-d8f9eb7d2f19 2026-04-28 13:06:59,202 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-08347018:ctest-vn-29696504, 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-08347018:ctest-vn-29041003, 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-04-28 13:06:59,489 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '960a3b1e-f216-4690-9ee7-656afbc405cf', 'name': 'ctest-vn-29696504', 'tenant_id': '2d7b4839828540e38ec32bac408864a5', 'project_id': '2d7b4839828540e38ec32bac408864a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['417368a6-5529-4f48-9ae0-9f0245b1d775'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08347018', 'ctest-vn-29696504'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-08347018', 'ctest-policy-allow-all-27832291']], 'subnet_ipam': [{'subnet_cidr': '191.113.28.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-28 13:06:59,716 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bef80955-6fa7-4290-9229-d8f9eb7d2f19', 'name': 'ctest-vn-29041003', 'tenant_id': '2d7b4839828540e38ec32bac408864a5', 'project_id': '2d7b4839828540e38ec32bac408864a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['48dac573-8e92-43a6-94d7-e325ab28482d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08347018', 'ctest-vn-29041003'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-08347018', 'ctest-policy-allow-all-27832291']], 'subnet_ipam': [{'subnet_cidr': '124.252.136.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-28 13:06:59,882 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2026-04-28 13:07:00,177 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2026-04-28 13:07:00,215 - DEBUG - Requesting: http://10.0.0.56:8082/domain/4dcd574d-66f5-4efb-9a00-c91eacb99857 2026-04-28 13:07:00,230 - DEBUG - Requesting: http://10.0.0.56:8082/project/2d7b4839-8285-40e3-8ec3-2bac408864a5 2026-04-28 13:07:00,303 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/960a3b1e-f216-4690-9ee7-656afbc405cf 2026-04-28 13:07:00,314 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/960a3b1e-f216-4690-9ee7-656afbc405cf 2026-04-28 13:07:00,323 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/1eaaf672-0428-485e-b183-1a358cc7e18c 2026-04-28 13:07:00,331 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/1eaaf672-0428-485e-b183-1a358cc7e18c 2026-04-28 13:07:00,339 - DEBUG - Requesting: http://10.0.0.56:8082/route-target/6061c98a-dfac-49b1-acc0-84c33a79eed5 2026-04-28 13:07:00,345 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-28 13:07:00,345 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/960a3b1e-f216-4690-9ee7-656afbc405cf 2026-04-28 13:07:00,355 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/1eaaf672-0428-485e-b183-1a358cc7e18c 2026-04-28 13:07:00,369 - INFO - Verified VN network id 12 for VN 960a3b1e-f216-4690-9ee7-656afbc405cf 2026-04-28 13:07:00,369 - INFO - Verifications in API Server for VN ctest-vn-29696504 passed 2026-04-28 13:07:00,369 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/960a3b1e-f216-4690-9ee7-656afbc405cf 2026-04-28 13:07:00,378 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/1eaaf672-0428-485e-b183-1a358cc7e18c 2026-04-28 13:07:00,387 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/1eaaf672-0428-485e-b183-1a358cc7e18c 2026-04-28 13:07:00,394 - DEBUG - Requesting: http://10.0.0.56:8082/route-target/6061c98a-dfac-49b1-acc0-84c33a79eed5 2026-04-28 13:07:00,409 - DEBUG - Control-node 10.0.0.56 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-08347018:ctest-vn-29696504', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-08347018', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10811518859552900752', 'uuid-lslong': '11450232087777641935'}, 'enable': 'true', 'created': '2026-04-28T13:06:58', 'last-modified': '2026-04-28T13:06:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.940587'} 2026-04-28 13:07:00,418 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-28 13:07:00,418 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-29696504 passed 2026-04-28 13:07:00,418 - DEBUG - ====Verifying policy data for ctest-vn-29696504 in API_Server ====== 2026-04-28 13:07:00,418 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2026-04-28 13:07:00,424 - DEBUG - Requesting: http://10.0.0.56:8082/domain/4dcd574d-66f5-4efb-9a00-c91eacb99857 2026-04-28 13:07:00,435 - DEBUG - Requesting: http://10.0.0.56:8082/project/2d7b4839-8285-40e3-8ec3-2bac408864a5 2026-04-28 13:07:00,504 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/960a3b1e-f216-4690-9ee7-656afbc405cf 2026-04-28 13:07:00,513 - DEBUG - ==>Verifying data for policy with id: 82f4c4c6-9948-42ce-962c-af016e8d5743, fqn: ['default-domain', 'ctest-TestBasicPolicy-08347018', 'ctest-policy-allow-all-27832291'] 2026-04-28 13:07:00,513 - INFO - VN ctest-vn-29696504 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-28 13:07:00,513 - DEBUG - Verifying the vn in opserver 2026-04-28 13:07:00,513 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-08347018:ctest-vn-29696504 virtual network link through opserver 10.0.0.56 2026-04-28 13:07:00,514 - DEBUG - Requesting: http://10.0.0.56:8081/analytics/uves/virtual-networks 2026-04-28 13:07:00,813 - DEBUG - Requesting: http://10.0.0.56:8081/analytics/uves/virtual-networks 2026-04-28 13:07:00,889 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-08347018:ctest-vn-29696504', 'href': 'http://10.0.0.56:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-08347018:ctest-vn-29696504?flat'} 2026-04-28 13:07:00,889 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-08347018:ctest-vn-29696504 is found in opserver 2026-04-28 13:07:00,901 - DEBUG - Do not have enough data to verify VN in agent 2026-04-28 13:07:00,907 - DEBUG - VRF ids for VN ctest-vn-29696504: {} 2026-04-28 13:07:00,907 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2026-04-28 13:07:00,914 - DEBUG - Requesting: http://10.0.0.56:8082/domain/4dcd574d-66f5-4efb-9a00-c91eacb99857 2026-04-28 13:07:00,927 - DEBUG - Requesting: http://10.0.0.56:8082/project/2d7b4839-8285-40e3-8ec3-2bac408864a5 2026-04-28 13:07:00,995 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/bef80955-6fa7-4290-9229-d8f9eb7d2f19 2026-04-28 13:07:01,007 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/bef80955-6fa7-4290-9229-d8f9eb7d2f19 2026-04-28 13:07:01,017 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/ab1d181f-67df-4997-a0e8-0f3081a533f7 2026-04-28 13:07:01,024 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/ab1d181f-67df-4997-a0e8-0f3081a533f7 2026-04-28 13:07:01,030 - DEBUG - Requesting: http://10.0.0.56:8082/route-target/a0db3486-e65a-4d43-b803-c3b35b10f3ac 2026-04-28 13:07:01,037 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-28 13:07:01,037 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/bef80955-6fa7-4290-9229-d8f9eb7d2f19 2026-04-28 13:07:01,047 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/ab1d181f-67df-4997-a0e8-0f3081a533f7 2026-04-28 13:07:01,062 - INFO - Verified VN network id 13 for VN bef80955-6fa7-4290-9229-d8f9eb7d2f19 2026-04-28 13:07:01,063 - INFO - Verifications in API Server for VN ctest-vn-29041003 passed 2026-04-28 13:07:01,063 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/bef80955-6fa7-4290-9229-d8f9eb7d2f19 2026-04-28 13:07:01,071 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/ab1d181f-67df-4997-a0e8-0f3081a533f7 2026-04-28 13:07:01,078 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/ab1d181f-67df-4997-a0e8-0f3081a533f7 2026-04-28 13:07:01,085 - DEBUG - Requesting: http://10.0.0.56:8082/route-target/a0db3486-e65a-4d43-b803-c3b35b10f3ac 2026-04-28 13:07:01,097 - DEBUG - Control-node 10.0.0.56 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-08347018:ctest-vn-29041003', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-08347018', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13760758923980653200', 'uuid-lslong': '10532187771491921689'}, 'enable': 'true', 'created': '2026-04-28T13:06:58', 'last-modified': '2026-04-28T13:06:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.408926'} 2026-04-28 13:07:01,103 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-28 13:07:01,103 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-29041003 passed 2026-04-28 13:07:01,103 - DEBUG - ====Verifying policy data for ctest-vn-29041003 in API_Server ====== 2026-04-28 13:07:01,103 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2026-04-28 13:07:01,109 - DEBUG - Requesting: http://10.0.0.56:8082/domain/4dcd574d-66f5-4efb-9a00-c91eacb99857 2026-04-28 13:07:01,120 - DEBUG - Requesting: http://10.0.0.56:8082/project/2d7b4839-8285-40e3-8ec3-2bac408864a5 2026-04-28 13:07:01,189 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/bef80955-6fa7-4290-9229-d8f9eb7d2f19 2026-04-28 13:07:01,199 - DEBUG - ==>Verifying data for policy with id: 82f4c4c6-9948-42ce-962c-af016e8d5743, fqn: ['default-domain', 'ctest-TestBasicPolicy-08347018', 'ctest-policy-allow-all-27832291'] 2026-04-28 13:07:01,199 - INFO - VN ctest-vn-29041003 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-28 13:07:01,199 - DEBUG - Verifying the vn in opserver 2026-04-28 13:07:01,199 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-08347018:ctest-vn-29041003 virtual network link through opserver 10.0.0.56 2026-04-28 13:07:01,199 - DEBUG - Requesting: http://10.0.0.56:8081/analytics/uves/virtual-networks 2026-04-28 13:07:01,210 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-08347018:ctest-vn-29041003', 'href': 'http://10.0.0.56:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-08347018:ctest-vn-29041003?flat'} 2026-04-28 13:07:01,210 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-08347018:ctest-vn-29041003 is found in opserver 2026-04-28 13:07:01,219 - DEBUG - Do not have enough data to verify VN in agent 2026-04-28 13:07:01,224 - DEBUG - VRF ids for VN ctest-vn-29041003: {} 2026-04-28 13:07:01,291 - DEBUG - Services list from nova: [, , ] 2026-04-28 13:07:02,350 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5702-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5702-1) 2026-04-28 13:07:03,561 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5702-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5702-1) 2026-04-28 13:07:03,561 - INFO - Waiting for VM ctest-TestBasicPolicy-08347018-59635542 to be up.. 2026-04-28 13:07:03,645 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-28 13:07:08,726 - DEBUG - VM is in ACTIVE state now 2026-04-28 13:07:08,727 - INFO - VM name : ctest-TestBasicPolicy-08347018-59635542 2026-04-28 13:07:08,802 - DEBUG - VM ctest-TestBasicPolicy-08347018-59635542 ID is aeb86a91-b8e0-4d1a-8a2d-cf4bdcba373d 2026-04-28 13:07:08,826 - DEBUG - VM ctest-TestBasicPolicy-08347018-59635542 launched on Node cn-jenkins-deploy-platform-ansible-os-5702-1 2026-04-28 13:07:08,906 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/aeb86a91-b8e0-4d1a-8a2d-cf4bdcba373d 2026-04-28 13:07:08,915 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/ef06c162-cce6-4cbd-8f4e-c7e9c6519106 2026-04-28 13:07:12,174 - 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 1019ms') 2026-04-28 13:07:12,174 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-08347018-59635542 failed! 2026-04-28 13:07:12,235 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-08347018:ctest-vn-29696504 is 191.113.28.193 and allocation pool is NOT set 2026-04-28 13:07:16,323 - 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=2 ttl=63 time=5.87 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1028ms\r\nrtt min/avg/max/mdev = 5.868/5.868/5.868/0.000 ms') 2026-04-28 13:07:16,324 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-08347018-59635542 passed 2026-04-28 13:07:16,483 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 13:07:16,483 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-08347018-59635542, IP 191.113.28.195, Port 22 2026-04-28 13:07:16,639 - DEBUG - VM ctest-TestBasicPolicy-08347018-59635542 is ready for SSH connections 2026-04-28 13:07:16,639 - INFO - Waiting for VM ctest-TestBasicPolicy-08347018-17979581 to be up.. 2026-04-28 13:07:16,719 - DEBUG - VM is in ACTIVE state now 2026-04-28 13:07:16,719 - INFO - VM name : ctest-TestBasicPolicy-08347018-17979581 2026-04-28 13:07:16,800 - DEBUG - VM ctest-TestBasicPolicy-08347018-17979581 ID is 6979c2bd-d753-41f1-b451-e9d3f7df8f05 2026-04-28 13:07:16,801 - DEBUG - VM ctest-TestBasicPolicy-08347018-17979581 launched on Node cn-jenkins-deploy-platform-ansible-os-5702-1 2026-04-28 13:07:16,880 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/6979c2bd-d753-41f1-b451-e9d3f7df8f05 2026-04-28 13:07:16,889 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/ab2bf803-de94-4b72-8b04-acc2b4cdf4f1 2026-04-28 13:07:18,132 - 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=3.21 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.34 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 = 2.342/2.774/3.206/0.432 ms') 2026-04-28 13:07:18,132 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-08347018-17979581 passed 2026-04-28 13:07:18,283 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 13:07:18,283 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-08347018-17979581, IP 124.252.136.67, Port 22 2026-04-28 13:07:18,338 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-04-28 13:07:18,424 - DEBUG - VM ctest-TestBasicPolicy-08347018-17979581 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-28 13:07:23,425 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 13:07:23,425 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-08347018-17979581, IP 124.252.136.67, Port 22 2026-04-28 13:07:23,582 - DEBUG - VM ctest-TestBasicPolicy-08347018-17979581 is ready for SSH connections 2026-04-28 13:07:23,582 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 13:07:23,582 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 124.252.136.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.56, gateway password: c0ntrail123 2026-04-28 13:07:23,582 - DEBUG - ping -s 56 -c 3 -W 1 124.252.136.67 2026-04-28 13:07:27,636 - DEBUG - PING 124.252.136.67 (124.252.136.67): 56 data bytes 64 bytes from 124.252.136.67: seq=0 ttl=63 time=4.385 ms 64 bytes from 124.252.136.67: seq=1 ttl=63 time=0.970 ms 64 bytes from 124.252.136.67: seq=2 ttl=63 time=0.849 ms --- 124.252.136.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.849/2.068/4.385 ms 2026-04-28 13:07:27,636 - INFO - Ping to IP 124.252.136.67 from VM ctest-TestBasicPolicy-08347018-59635542 passed 2026-04-28 13:07:27,802 - DEBUG - Policy Update Response {"network-policy": {"uuid": "82f4c4c6-9948-42ce-962c-af016e8d5743", "href": "http://10.0.0.56:8082/network-policy/82f4c4c6-9948-42ce-962c-af016e8d5743"}} 2026-04-28 13:07:27,803 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 13:07:27,803 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 124.252.136.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.56, gateway password: c0ntrail123 2026-04-28 13:07:27,803 - DEBUG - ping -s 56 -c 3 -W 1 124.252.136.67 2026-04-28 13:07:31,076 - DEBUG - PING 124.252.136.67 (124.252.136.67): 56 data bytes --- 124.252.136.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-28 13:07:31,077 - WARNING - Ping to IP 124.252.136.67 from VM ctest-TestBasicPolicy-08347018-59635542 failed 2026-04-28 13:07:31,077 - INFO - Deleting VM ctest-TestBasicPolicy-08347018-17979581 2026-04-28 13:07:31,150 - INFO - Deleting VM ctest-TestBasicPolicy-08347018-59635542 2026-04-28 13:07:31,546 - INFO - Deleted policy ctest-policy-allow-all-27832291 2026-04-28 13:07:31,546 - INFO - Deleting VN ctest-vn-29041003 2026-04-28 13:07:31,591 - DEBUG - VN bef80955-6fa7-4290-9229-d8f9eb7d2f19 still in use: Unable to complete operation on network bef80955-6fa7-4290-9229-d8f9eb7d2f19. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e4be37f8-8ef5-420b-9eb3-e43ebd91592e'] 2026-04-28 13:07:31,591 - WARNING - Deleting VN ctest-vn-29041003 failed..Will retry 2026-04-28 13:07:33,708 - DEBUG - Response for deleting network () 2026-04-28 13:07:33,709 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/ab1d181f-67df-4997-a0e8-0f3081a533f7 2026-04-28 13:07:33,714 - DEBUG - Response Code: 404 2026-04-28 13:07:33,714 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2026-04-28 13:07:33,720 - DEBUG - Requesting: http://10.0.0.56:8082/domain/4dcd574d-66f5-4efb-9a00-c91eacb99857 2026-04-28 13:07:33,773 - DEBUG - Requesting: http://10.0.0.56:8082/project/2d7b4839-8285-40e3-8ec3-2bac408864a5 2026-04-28 13:07:33,843 - INFO - Validated that VN ctest-vn-29041003 is not found in API Server 2026-04-28 13:07:33,853 - DEBUG - VN ctest-vn-29041003 is not present in Agent 10.0.0.56 2026-04-28 13:07:33,853 - INFO - Validated that VN ctest-vn-29041003 is not in any agent 2026-04-28 13:07:33,867 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-29041003 info 2026-04-28 13:07:33,867 - INFO - Deleting VN ctest-vn-29696504 2026-04-28 13:07:33,979 - DEBUG - Response for deleting network () 2026-04-28 13:07:33,979 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/1eaaf672-0428-485e-b183-1a358cc7e18c 2026-04-28 13:07:33,984 - DEBUG - Response Code: 404 2026-04-28 13:07:33,984 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2026-04-28 13:07:33,989 - DEBUG - Requesting: http://10.0.0.56:8082/domain/4dcd574d-66f5-4efb-9a00-c91eacb99857 2026-04-28 13:07:34,044 - DEBUG - Requesting: http://10.0.0.56:8082/project/2d7b4839-8285-40e3-8ec3-2bac408864a5 2026-04-28 13:07:34,115 - INFO - Validated that VN ctest-vn-29696504 is not found in API Server 2026-04-28 13:07:34,124 - DEBUG - VN ctest-vn-29696504 is not present in Agent 10.0.0.56 2026-04-28 13:07:34,124 - INFO - Validated that VN ctest-vn-29696504 is not in any agent 2026-04-28 13:07:34,137 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-29696504 info 2026-04-28 13:07:34,392 - DEBUG - No XMPP flaps were noticed during the test 2026-04-28 13:07:34,392 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:37] 2026-04-28 13:07:34,392 - INFO - -------------------------------------------------------------------------------- 2026-04-28 13:07:35,126 - INFO - Deleted project: ctest-TestBasicPolicy-08347018, ID : 2d7b4839-8285-40e3-8ec3-2bac408864a5