2025-07-15 18:25:01,349 - INFO - Domain Default found not creating 2025-07-15 18:25:01,644 - INFO - Project ctest-TestBasicPolicy-98226418 not found, creating it 2025-07-15 18:25:02,180 - INFO - Created Project:ctest-TestBasicPolicy-98226418, ID : 602133bb-d8e5-4533-9cdf-5bc29572d0c3 2025-07-15 18:25:04,298 - INFO - ================================================================================ 2025-07-15 18:25:04,300 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-15 18:25:04,300 - 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 2025-07-15 18:25:04,622 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with 2025-07-15 18:25:04,622 - INFO - Initial checks done. Running the testcase now 2025-07-15 18:25:04,622 - INFO - 2025-07-15 18:25:05,477 - DEBUG - Response for create_network : {'network': {'id': 'd5f072ea-faa6-463a-99d5-9e6c1f64c085', 'name': 'ctest-vn-24718787', 'tenant_id': '602133bbd8e545339cdf5bc29572d0c3', 'project_id': '602133bbd8e545339cdf5bc29572d0c3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98226418', 'ctest-vn-24718787'], 'port_security_enabled': True, 'description': ''}} 2025-07-15 18:25:05,717 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eeb58dd9-bcb1-423e-a84f-5f16b2a293ba', 'name': '', 'tenant_id': '602133bbd8e545339cdf5bc29572d0c3', 'network_id': 'd5f072ea-faa6-463a-99d5-9e6c1f64c085', 'ip_version': 4, 'cidr': '95.75.169.0/26', 'allocation_pools': [{'start': '95.75.169.2', 'end': '95.75.169.62'}], 'gateway_ip': '95.75.169.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '95.75.169.2', 'tags': [], 'project_id': '602133bbd8e545339cdf5bc29572d0c3'}} 2025-07-15 18:25:05,754 - INFO - Created VN ctest-vn-24718787 2025-07-15 18:25:05,812 - DEBUG - VN ctest-vn-24718787 UUID is d5f072ea-faa6-463a-99d5-9e6c1f64c085 2025-07-15 18:25:06,350 - DEBUG - Response for create_network : {'network': {'id': 'f00f5ff0-7b67-455c-8d23-5439a31b2cc7', 'name': 'ctest-vn-51340065', 'tenant_id': '602133bbd8e545339cdf5bc29572d0c3', 'project_id': '602133bbd8e545339cdf5bc29572d0c3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98226418', 'ctest-vn-51340065'], 'port_security_enabled': True, 'description': ''}} 2025-07-15 18:25:06,559 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e09cc547-ed34-4b1e-bfde-12ab7abea206', 'name': '', 'tenant_id': '602133bbd8e545339cdf5bc29572d0c3', 'network_id': 'f00f5ff0-7b67-455c-8d23-5439a31b2cc7', 'ip_version': 4, 'cidr': '37.199.220.192/26', 'allocation_pools': [{'start': '37.199.220.194', 'end': '37.199.220.254'}], 'gateway_ip': '37.199.220.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.199.220.194', 'tags': [], 'project_id': '602133bbd8e545339cdf5bc29572d0c3'}} 2025-07-15 18:25:06,577 - INFO - Created VN ctest-vn-51340065 2025-07-15 18:25:06,631 - DEBUG - VN ctest-vn-51340065 UUID is f00f5ff0-7b67-455c-8d23-5439a31b2cc7 2025-07-15 18:25:06,821 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-98226418:ctest-vn-24718787, 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-98226418:ctest-vn-51340065, 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] 2025-07-15 18:25:07,297 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd5f072ea-faa6-463a-99d5-9e6c1f64c085', 'name': 'ctest-vn-24718787', 'tenant_id': '602133bbd8e545339cdf5bc29572d0c3', 'project_id': '602133bbd8e545339cdf5bc29572d0c3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['eeb58dd9-bcb1-423e-a84f-5f16b2a293ba'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98226418', 'ctest-vn-24718787'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-98226418', 'ctest-policy-allow-all-08905031']], 'subnet_ipam': [{'subnet_cidr': '95.75.169.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-15 18:25:07,672 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f00f5ff0-7b67-455c-8d23-5439a31b2cc7', 'name': 'ctest-vn-51340065', 'tenant_id': '602133bbd8e545339cdf5bc29572d0c3', 'project_id': '602133bbd8e545339cdf5bc29572d0c3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e09cc547-ed34-4b1e-bfde-12ab7abea206'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98226418', 'ctest-vn-51340065'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-98226418', 'ctest-policy-allow-all-08905031']], 'subnet_ipam': [{'subnet_cidr': '37.199.220.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-15 18:25:07,903 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-15 18:25:08,242 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-15 18:25:08,322 - DEBUG - Requesting: http://10.0.0.50:8082/domain/cdf34f58-f534-4462-822a-dddc33740cfe 2025-07-15 18:25:08,365 - DEBUG - Requesting: http://10.0.0.50:8082/project/602133bb-d8e5-4533-9cdf-5bc29572d0c3 2025-07-15 18:25:08,504 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d5f072ea-faa6-463a-99d5-9e6c1f64c085 2025-07-15 18:25:08,536 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d5f072ea-faa6-463a-99d5-9e6c1f64c085 2025-07-15 18:25:08,565 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/331b08dd-e329-4f43-85b2-f48ab4431fc1 2025-07-15 18:25:08,593 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/331b08dd-e329-4f43-85b2-f48ab4431fc1 2025-07-15 18:25:08,619 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/8061d3b4-051e-4f4e-8f47-510a1c89d752 2025-07-15 18:25:08,642 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-15 18:25:08,642 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d5f072ea-faa6-463a-99d5-9e6c1f64c085 2025-07-15 18:25:08,675 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/331b08dd-e329-4f43-85b2-f48ab4431fc1 2025-07-15 18:25:08,723 - INFO - Verified VN network id 8 for VN d5f072ea-faa6-463a-99d5-9e6c1f64c085 2025-07-15 18:25:08,723 - INFO - Verifications in API Server for VN ctest-vn-24718787 passed 2025-07-15 18:25:08,723 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d5f072ea-faa6-463a-99d5-9e6c1f64c085 2025-07-15 18:25:08,753 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/331b08dd-e329-4f43-85b2-f48ab4431fc1 2025-07-15 18:25:08,771 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/331b08dd-e329-4f43-85b2-f48ab4431fc1 2025-07-15 18:25:08,791 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/8061d3b4-051e-4f4e-8f47-510a1c89d752 2025-07-15 18:25:08,817 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-98226418:ctest-vn-24718787', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-98226418', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15415947878042322490', 'uuid-lslong': '11084940245062697093'}, 'enable': 'true', 'created': '2025-07-15T18:25:05', 'last-modified': '2025-07-15T18:25:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.571104'} 2025-07-15 18:25:08,828 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-15 18:25:08,828 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-24718787 passed 2025-07-15 18:25:08,828 - DEBUG - ====Verifying policy data for ctest-vn-24718787 in API_Server ====== 2025-07-15 18:25:08,828 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-15 18:25:08,838 - DEBUG - Requesting: http://10.0.0.50:8082/domain/cdf34f58-f534-4462-822a-dddc33740cfe 2025-07-15 18:25:08,861 - DEBUG - Requesting: http://10.0.0.50:8082/project/602133bb-d8e5-4533-9cdf-5bc29572d0c3 2025-07-15 18:25:08,997 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d5f072ea-faa6-463a-99d5-9e6c1f64c085 2025-07-15 18:25:09,026 - DEBUG - ==>Verifying data for policy with id: 204e43b6-d359-498f-965f-2f5a169f8830, fqn: ['default-domain', 'ctest-TestBasicPolicy-98226418', 'ctest-policy-allow-all-08905031'] 2025-07-15 18:25:09,026 - INFO - VN ctest-vn-24718787 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-15 18:25:09,026 - DEBUG - Verifying the vn in opserver 2025-07-15 18:25:09,026 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-98226418:ctest-vn-24718787 virtual network link through opserver 10.0.0.50 2025-07-15 18:25:09,027 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-07-15 18:25:09,376 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-07-15 18:25:09,479 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-98226418:ctest-vn-24718787', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-98226418:ctest-vn-24718787?flat'} 2025-07-15 18:25:09,480 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-98226418:ctest-vn-24718787 is found in opserver 2025-07-15 18:25:09,509 - DEBUG - Do not have enough data to verify VN in agent 2025-07-15 18:25:09,519 - DEBUG - VRF ids for VN ctest-vn-24718787: {} 2025-07-15 18:25:09,519 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-15 18:25:09,533 - DEBUG - Requesting: http://10.0.0.50:8082/domain/cdf34f58-f534-4462-822a-dddc33740cfe 2025-07-15 18:25:09,568 - DEBUG - Requesting: http://10.0.0.50:8082/project/602133bb-d8e5-4533-9cdf-5bc29572d0c3 2025-07-15 18:25:09,699 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f00f5ff0-7b67-455c-8d23-5439a31b2cc7 2025-07-15 18:25:09,721 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f00f5ff0-7b67-455c-8d23-5439a31b2cc7 2025-07-15 18:25:09,739 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0ac2151e-6355-4832-8dc4-f857c519e53b 2025-07-15 18:25:09,763 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0ac2151e-6355-4832-8dc4-f857c519e53b 2025-07-15 18:25:09,777 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/2ae2be14-3a65-4b16-9df1-a349b0633de4 2025-07-15 18:25:09,791 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-15 18:25:09,791 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f00f5ff0-7b67-455c-8d23-5439a31b2cc7 2025-07-15 18:25:09,811 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0ac2151e-6355-4832-8dc4-f857c519e53b 2025-07-15 18:25:09,842 - INFO - Verified VN network id 9 for VN f00f5ff0-7b67-455c-8d23-5439a31b2cc7 2025-07-15 18:25:09,842 - INFO - Verifications in API Server for VN ctest-vn-51340065 passed 2025-07-15 18:25:09,843 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f00f5ff0-7b67-455c-8d23-5439a31b2cc7 2025-07-15 18:25:09,865 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0ac2151e-6355-4832-8dc4-f857c519e53b 2025-07-15 18:25:09,880 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0ac2151e-6355-4832-8dc4-f857c519e53b 2025-07-15 18:25:09,895 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/2ae2be14-3a65-4b16-9df1-a349b0633de4 2025-07-15 18:25:09,951 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-98226418:ctest-vn-51340065', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-98226418', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17298150180220519772', 'uuid-lslong': '10170064990059048135'}, 'enable': 'true', 'created': '2025-07-15T18:25:06', 'last-modified': '2025-07-15T18:25:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.326485'} 2025-07-15 18:25:09,962 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-15 18:25:09,962 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-51340065 passed 2025-07-15 18:25:09,963 - DEBUG - ====Verifying policy data for ctest-vn-51340065 in API_Server ====== 2025-07-15 18:25:09,963 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-15 18:25:09,974 - DEBUG - Requesting: http://10.0.0.50:8082/domain/cdf34f58-f534-4462-822a-dddc33740cfe 2025-07-15 18:25:10,002 - DEBUG - Requesting: http://10.0.0.50:8082/project/602133bb-d8e5-4533-9cdf-5bc29572d0c3 2025-07-15 18:25:10,115 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f00f5ff0-7b67-455c-8d23-5439a31b2cc7 2025-07-15 18:25:10,130 - DEBUG - ==>Verifying data for policy with id: 204e43b6-d359-498f-965f-2f5a169f8830, fqn: ['default-domain', 'ctest-TestBasicPolicy-98226418', 'ctest-policy-allow-all-08905031'] 2025-07-15 18:25:10,130 - INFO - VN ctest-vn-51340065 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-15 18:25:10,130 - DEBUG - Verifying the vn in opserver 2025-07-15 18:25:10,130 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-98226418:ctest-vn-51340065 virtual network link through opserver 10.0.0.50 2025-07-15 18:25:10,130 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-07-15 18:25:10,144 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-98226418:ctest-vn-51340065', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-98226418:ctest-vn-51340065?flat'} 2025-07-15 18:25:10,145 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-98226418:ctest-vn-51340065 is found in opserver 2025-07-15 18:25:10,167 - DEBUG - Do not have enough data to verify VN in agent 2025-07-15 18:25:10,178 - DEBUG - VRF ids for VN ctest-vn-51340065: {} 2025-07-15 18:25:10,252 - DEBUG - Services list from nova: [, , ] 2025-07-15 18:25:11,868 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3641-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3641-1) 2025-07-15 18:25:13,445 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3641-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3641-1) 2025-07-15 18:25:13,446 - INFO - Waiting for VM ctest-TestBasicPolicy-98226418-96096247 to be up.. 2025-07-15 18:25:13,569 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-15 18:25:18,695 - DEBUG - VM is in ACTIVE state now 2025-07-15 18:25:18,695 - INFO - VM name : ctest-TestBasicPolicy-98226418-96096247 2025-07-15 18:25:18,832 - DEBUG - VM ctest-TestBasicPolicy-98226418-96096247 ID is 53f3d401-8d9f-4e7f-8ea1-259726ae66d7 2025-07-15 18:25:18,865 - DEBUG - VM ctest-TestBasicPolicy-98226418-96096247 launched on Node cn-jenkins-deploy-platform-ansible-os-3641-1 2025-07-15 18:25:19,027 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/53f3d401-8d9f-4e7f-8ea1-259726ae66d7 2025-07-15 18:25:19,046 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/7bd59400-b4e8-44e2-ac6d-04c3b3ada1b3 2025-07-15 18:25:22,377 - 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 1012ms') 2025-07-15 18:25:22,377 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-98226418-96096247 failed! 2025-07-15 18:25:22,443 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-98226418:ctest-vn-24718787 is 95.75.169.1 and allocation pool is NOT set 2025-07-15 18:25:24,510 - 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=7.14 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.06 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.058/4.101/7.144/3.043 ms') 2025-07-15 18:25:24,510 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-98226418-96096247 passed 2025-07-15 18:25:24,679 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-15 18:25:24,679 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-98226418-96096247, IP 95.75.169.3, Port 22 2025-07-15 18:25:24,850 - DEBUG - VM ctest-TestBasicPolicy-98226418-96096247 is ready for SSH connections 2025-07-15 18:25:24,850 - INFO - Waiting for VM ctest-TestBasicPolicy-98226418-38916520 to be up.. 2025-07-15 18:25:24,995 - DEBUG - VM is in ACTIVE state now 2025-07-15 18:25:24,995 - INFO - VM name : ctest-TestBasicPolicy-98226418-38916520 2025-07-15 18:25:25,105 - DEBUG - VM ctest-TestBasicPolicy-98226418-38916520 ID is ad8ce3cc-89cb-4f6e-a8e7-9d32a3f8871b 2025-07-15 18:25:25,106 - DEBUG - VM ctest-TestBasicPolicy-98226418-38916520 launched on Node cn-jenkins-deploy-platform-ansible-os-3641-1 2025-07-15 18:25:25,205 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ad8ce3cc-89cb-4f6e-a8e7-9d32a3f8871b 2025-07-15 18:25:25,217 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/89944901-0d12-4654-ac1d-0b6a1196267a 2025-07-15 18:25:26,485 - 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.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.06 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 = 1.062/2.620/4.179/1.558 ms') 2025-07-15 18:25:26,485 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-98226418-38916520 passed 2025-07-15 18:25:26,647 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-15 18:25:26,647 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-98226418-38916520, IP 37.199.220.195, Port 22 2025-07-15 18:25:26,817 - DEBUG - VM ctest-TestBasicPolicy-98226418-38916520 is ready for SSH connections 2025-07-15 18:25:26,817 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-15 18:25:26,817 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 37.199.220.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-07-15 18:25:26,817 - DEBUG - ping -s 56 -c 3 -W 1 37.199.220.195 2025-07-15 18:25:31,282 - DEBUG - PING 37.199.220.195 (37.199.220.195): 56 data bytes 64 bytes from 37.199.220.195: seq=0 ttl=63 time=5.366 ms 64 bytes from 37.199.220.195: seq=1 ttl=63 time=1.214 ms 64 bytes from 37.199.220.195: seq=2 ttl=63 time=1.495 ms --- 37.199.220.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.214/2.691/5.366 ms 2025-07-15 18:25:31,282 - INFO - Ping to IP 37.199.220.195 from VM ctest-TestBasicPolicy-98226418-96096247 passed 2025-07-15 18:25:31,515 - DEBUG - Policy Update Response {"network-policy": {"uuid": "204e43b6-d359-498f-965f-2f5a169f8830", "href": "http://10.0.0.50:8082/network-policy/204e43b6-d359-498f-965f-2f5a169f8830"}} 2025-07-15 18:25:31,515 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-15 18:25:31,515 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 37.199.220.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-07-15 18:25:31,515 - DEBUG - ping -s 56 -c 3 -W 1 37.199.220.195 2025-07-15 18:25:34,788 - DEBUG - PING 37.199.220.195 (37.199.220.195): 56 data bytes --- 37.199.220.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-15 18:25:34,788 - WARNING - Ping to IP 37.199.220.195 from VM ctest-TestBasicPolicy-98226418-96096247 failed 2025-07-15 18:25:34,789 - INFO - Deleting VM ctest-TestBasicPolicy-98226418-38916520 2025-07-15 18:25:34,976 - INFO - Deleting VM ctest-TestBasicPolicy-98226418-96096247 2025-07-15 18:25:35,658 - INFO - Deleted policy ctest-policy-allow-all-08905031 2025-07-15 18:25:35,658 - INFO - Deleting VN ctest-vn-51340065 2025-07-15 18:25:35,701 - DEBUG - VN f00f5ff0-7b67-455c-8d23-5439a31b2cc7 still in use: Unable to complete operation on network f00f5ff0-7b67-455c-8d23-5439a31b2cc7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-815e0e43-9c1e-4fb3-a5bc-0ed0f57c6155'] 2025-07-15 18:25:35,701 - WARNING - Deleting VN ctest-vn-51340065 failed..Will retry 2025-07-15 18:25:37,978 - DEBUG - Response for deleting network () 2025-07-15 18:25:37,978 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0ac2151e-6355-4832-8dc4-f857c519e53b 2025-07-15 18:25:37,986 - DEBUG - Response Code: 404 2025-07-15 18:25:37,986 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-15 18:25:37,992 - DEBUG - Requesting: http://10.0.0.50:8082/domain/cdf34f58-f534-4462-822a-dddc33740cfe 2025-07-15 18:25:38,057 - DEBUG - Requesting: http://10.0.0.50:8082/project/602133bb-d8e5-4533-9cdf-5bc29572d0c3 2025-07-15 18:25:38,162 - INFO - Validated that VN ctest-vn-51340065 is not found in API Server 2025-07-15 18:25:38,188 - DEBUG - VN ctest-vn-51340065 is not present in Agent 10.0.0.50 2025-07-15 18:25:38,188 - INFO - Validated that VN ctest-vn-51340065 is not in any agent 2025-07-15 18:25:38,232 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-51340065 info 2025-07-15 18:25:38,233 - INFO - Deleting VN ctest-vn-24718787 2025-07-15 18:25:38,473 - DEBUG - Response for deleting network () 2025-07-15 18:25:38,473 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/331b08dd-e329-4f43-85b2-f48ab4431fc1 2025-07-15 18:25:38,485 - DEBUG - Response Code: 404 2025-07-15 18:25:38,485 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-15 18:25:38,495 - DEBUG - Requesting: http://10.0.0.50:8082/domain/cdf34f58-f534-4462-822a-dddc33740cfe 2025-07-15 18:25:38,513 - DEBUG - Requesting: http://10.0.0.50:8082/project/602133bb-d8e5-4533-9cdf-5bc29572d0c3 2025-07-15 18:25:38,638 - INFO - Validated that VN ctest-vn-24718787 is not found in API Server 2025-07-15 18:25:38,656 - DEBUG - VN ctest-vn-24718787 is not present in Agent 10.0.0.50 2025-07-15 18:25:38,656 - INFO - Validated that VN ctest-vn-24718787 is not in any agent 2025-07-15 18:25:38,691 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-24718787 info 2025-07-15 18:25:39,012 - DEBUG - No XMPP flaps were noticed during the test 2025-07-15 18:25:39,013 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2025-07-15 18:25:39,013 - INFO - -------------------------------------------------------------------------------- 2025-07-15 18:25:40,087 - INFO - Deleted project: ctest-TestBasicPolicy-98226418, ID : 602133bb-d8e5-4533-9cdf-5bc29572d0c3