2025-04-23 15:13:02,584 - INFO - Domain Default found not creating 2025-04-23 15:13:02,736 - INFO - Project ctest-TestBasicPolicy-49934000 not found, creating it 2025-04-23 15:13:03,182 - INFO - Created Project:ctest-TestBasicPolicy-49934000, ID : 5f6bd44b-e93f-4fcb-9acc-39fa49340c46 2025-04-23 15:13:04,484 - INFO - ================================================================================ 2025-04-23 15:13:04,484 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-23 15:13:04,484 - 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-04-23 15:13:04,742 - DEBUG - Nothing to compare xmpp stats {'10.0.0.133': {'10.20.0.18': '0'}} with 2025-04-23 15:13:04,742 - INFO - Initial checks done. Running the testcase now 2025-04-23 15:13:04,742 - INFO - 2025-04-23 15:13:05,255 - DEBUG - Response for create_network : {'network': {'id': 'fee74953-4d26-4d44-8bd4-f94b5eac0f1a', 'name': 'ctest-vn-63184690', 'tenant_id': '5f6bd44be93f4fcb9acc39fa49340c46', 'project_id': '5f6bd44be93f4fcb9acc39fa49340c46', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49934000', 'ctest-vn-63184690'], 'port_security_enabled': True, 'description': ''}} 2025-04-23 15:13:05,471 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ea2cf80c-118a-4e5b-8f86-894da58f59df', 'name': '', 'tenant_id': '5f6bd44be93f4fcb9acc39fa49340c46', 'network_id': 'fee74953-4d26-4d44-8bd4-f94b5eac0f1a', 'ip_version': 4, 'cidr': '171.158.53.192/26', 'allocation_pools': [{'start': '171.158.53.194', 'end': '171.158.53.254'}], 'gateway_ip': '171.158.53.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '171.158.53.194', 'tags': [], 'project_id': '5f6bd44be93f4fcb9acc39fa49340c46'}} 2025-04-23 15:13:05,488 - INFO - Created VN ctest-vn-63184690 2025-04-23 15:13:05,539 - DEBUG - VN ctest-vn-63184690 UUID is fee74953-4d26-4d44-8bd4-f94b5eac0f1a 2025-04-23 15:13:05,859 - DEBUG - Response for create_network : {'network': {'id': 'a75972b8-ba5c-45f6-a49b-257eaeb5ddb8', 'name': 'ctest-vn-99069465', 'tenant_id': '5f6bd44be93f4fcb9acc39fa49340c46', 'project_id': '5f6bd44be93f4fcb9acc39fa49340c46', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49934000', 'ctest-vn-99069465'], 'port_security_enabled': True, 'description': ''}} 2025-04-23 15:13:06,032 - DEBUG - Response for create_subnet : {'subnet': {'id': '4e75a5ce-095a-490f-8124-dc79c698ef5d', 'name': '', 'tenant_id': '5f6bd44be93f4fcb9acc39fa49340c46', 'network_id': 'a75972b8-ba5c-45f6-a49b-257eaeb5ddb8', 'ip_version': 4, 'cidr': '146.105.203.0/26', 'allocation_pools': [{'start': '146.105.203.2', 'end': '146.105.203.62'}], 'gateway_ip': '146.105.203.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.105.203.2', 'tags': [], 'project_id': '5f6bd44be93f4fcb9acc39fa49340c46'}} 2025-04-23 15:13:06,049 - INFO - Created VN ctest-vn-99069465 2025-04-23 15:13:06,099 - DEBUG - VN ctest-vn-99069465 UUID is a75972b8-ba5c-45f6-a49b-257eaeb5ddb8 2025-04-23 15:13:06,247 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-49934000:ctest-vn-63184690, 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-49934000:ctest-vn-99069465, 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-04-23 15:13:06,547 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fee74953-4d26-4d44-8bd4-f94b5eac0f1a', 'name': 'ctest-vn-63184690', 'tenant_id': '5f6bd44be93f4fcb9acc39fa49340c46', 'project_id': '5f6bd44be93f4fcb9acc39fa49340c46', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ea2cf80c-118a-4e5b-8f86-894da58f59df'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49934000', 'ctest-vn-63184690'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49934000', 'ctest-policy-allow-all-93303093']], 'subnet_ipam': [{'subnet_cidr': '171.158.53.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-23 15:13:06,778 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a75972b8-ba5c-45f6-a49b-257eaeb5ddb8', 'name': 'ctest-vn-99069465', 'tenant_id': '5f6bd44be93f4fcb9acc39fa49340c46', 'project_id': '5f6bd44be93f4fcb9acc39fa49340c46', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4e75a5ce-095a-490f-8124-dc79c698ef5d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49934000', 'ctest-vn-99069465'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49934000', 'ctest-policy-allow-all-93303093']], 'subnet_ipam': [{'subnet_cidr': '146.105.203.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-23 15:13:06,947 - DEBUG - Requesting: http://10.0.0.133:8082/domains 2025-04-23 15:13:07,217 - DEBUG - Requesting: http://10.0.0.133:8082/domains 2025-04-23 15:13:07,246 - DEBUG - Requesting: http://10.0.0.133:8082/domain/e843aa18-ec85-48a2-bc50-46b8148b6016 2025-04-23 15:13:07,262 - DEBUG - Requesting: http://10.0.0.133:8082/project/5f6bd44b-e93f-4fcb-9acc-39fa49340c46 2025-04-23 15:13:07,341 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-network/fee74953-4d26-4d44-8bd4-f94b5eac0f1a 2025-04-23 15:13:07,357 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-network/fee74953-4d26-4d44-8bd4-f94b5eac0f1a 2025-04-23 15:13:07,369 - DEBUG - Requesting: http://10.0.0.133:8082/routing-instance/49903e34-1c59-4312-b96e-9ee94ed2acbe 2025-04-23 15:13:07,378 - DEBUG - Requesting: http://10.0.0.133:8082/routing-instance/49903e34-1c59-4312-b96e-9ee94ed2acbe 2025-04-23 15:13:07,387 - DEBUG - Requesting: http://10.0.0.133:8082/route-target/d9f30f3f-8889-4f8e-9de8-8c5036ca44ed 2025-04-23 15:13:07,395 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-23 15:13:07,395 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-network/fee74953-4d26-4d44-8bd4-f94b5eac0f1a 2025-04-23 15:13:07,405 - DEBUG - Requesting: http://10.0.0.133:8082/routing-instance/49903e34-1c59-4312-b96e-9ee94ed2acbe 2025-04-23 15:13:07,420 - INFO - Verified VN network id 8 for VN fee74953-4d26-4d44-8bd4-f94b5eac0f1a 2025-04-23 15:13:07,420 - INFO - Verifications in API Server for VN ctest-vn-63184690 passed 2025-04-23 15:13:07,420 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-network/fee74953-4d26-4d44-8bd4-f94b5eac0f1a 2025-04-23 15:13:07,429 - DEBUG - Requesting: http://10.0.0.133:8082/routing-instance/49903e34-1c59-4312-b96e-9ee94ed2acbe 2025-04-23 15:13:07,436 - DEBUG - Requesting: http://10.0.0.133:8082/routing-instance/49903e34-1c59-4312-b96e-9ee94ed2acbe 2025-04-23 15:13:07,443 - DEBUG - Requesting: http://10.0.0.133:8082/route-target/d9f30f3f-8889-4f8e-9de8-8c5036ca44ed 2025-04-23 15:13:07,454 - DEBUG - Control-node 10.0.0.133 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49934000:ctest-vn-63184690', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49934000', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18367730227379326276', 'uuid-lslong': '10075952368440839962'}, 'enable': 'true', 'created': '2025-04-23T15:13:05', 'last-modified': '2025-04-23T15:13:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.927003'} 2025-04-23 15:13:07,460 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-23 15:13:07,460 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-63184690 passed 2025-04-23 15:13:07,460 - DEBUG - ====Verifying policy data for ctest-vn-63184690 in API_Server ====== 2025-04-23 15:13:07,461 - DEBUG - Requesting: http://10.0.0.133:8082/domains 2025-04-23 15:13:07,466 - DEBUG - Requesting: http://10.0.0.133:8082/domain/e843aa18-ec85-48a2-bc50-46b8148b6016 2025-04-23 15:13:07,477 - DEBUG - Requesting: http://10.0.0.133:8082/project/5f6bd44b-e93f-4fcb-9acc-39fa49340c46 2025-04-23 15:13:07,550 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-network/fee74953-4d26-4d44-8bd4-f94b5eac0f1a 2025-04-23 15:13:07,562 - DEBUG - ==>Verifying data for policy with id: 5c503bd6-2c8e-4d9d-a749-402f00d3aa96, fqn: ['default-domain', 'ctest-TestBasicPolicy-49934000', 'ctest-policy-allow-all-93303093'] 2025-04-23 15:13:07,562 - INFO - VN ctest-vn-63184690 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-23 15:13:07,562 - DEBUG - Verifying the vn in opserver 2025-04-23 15:13:07,562 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49934000:ctest-vn-63184690 virtual network link through opserver 10.0.0.133 2025-04-23 15:13:07,563 - DEBUG - Requesting: http://10.0.0.133:8081/analytics/uves/virtual-networks 2025-04-23 15:13:07,821 - DEBUG - Requesting: http://10.0.0.133:8081/analytics/uves/virtual-networks 2025-04-23 15:13:07,871 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49934000:ctest-vn-63184690', 'href': 'http://10.0.0.133:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49934000:ctest-vn-63184690?flat'} 2025-04-23 15:13:07,871 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49934000:ctest-vn-63184690 is found in opserver 2025-04-23 15:13:07,881 - DEBUG - Do not have enough data to verify VN in agent 2025-04-23 15:13:07,886 - DEBUG - VRF ids for VN ctest-vn-63184690: {} 2025-04-23 15:13:07,886 - DEBUG - Requesting: http://10.0.0.133:8082/domains 2025-04-23 15:13:07,892 - DEBUG - Requesting: http://10.0.0.133:8082/domain/e843aa18-ec85-48a2-bc50-46b8148b6016 2025-04-23 15:13:07,903 - DEBUG - Requesting: http://10.0.0.133:8082/project/5f6bd44b-e93f-4fcb-9acc-39fa49340c46 2025-04-23 15:13:07,972 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-network/a75972b8-ba5c-45f6-a49b-257eaeb5ddb8 2025-04-23 15:13:07,984 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-network/a75972b8-ba5c-45f6-a49b-257eaeb5ddb8 2025-04-23 15:13:07,995 - DEBUG - Requesting: http://10.0.0.133:8082/routing-instance/87680f21-e413-4e91-bf03-228eb4eb131b 2025-04-23 15:13:08,003 - DEBUG - Requesting: http://10.0.0.133:8082/routing-instance/87680f21-e413-4e91-bf03-228eb4eb131b 2025-04-23 15:13:08,011 - DEBUG - Requesting: http://10.0.0.133:8082/route-target/6ee7170b-172e-4098-909a-092c494c9f33 2025-04-23 15:13:08,017 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-23 15:13:08,017 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-network/a75972b8-ba5c-45f6-a49b-257eaeb5ddb8 2025-04-23 15:13:08,028 - DEBUG - Requesting: http://10.0.0.133:8082/routing-instance/87680f21-e413-4e91-bf03-228eb4eb131b 2025-04-23 15:13:08,041 - INFO - Verified VN network id 9 for VN a75972b8-ba5c-45f6-a49b-257eaeb5ddb8 2025-04-23 15:13:08,041 - INFO - Verifications in API Server for VN ctest-vn-99069465 passed 2025-04-23 15:13:08,041 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-network/a75972b8-ba5c-45f6-a49b-257eaeb5ddb8 2025-04-23 15:13:08,052 - DEBUG - Requesting: http://10.0.0.133:8082/routing-instance/87680f21-e413-4e91-bf03-228eb4eb131b 2025-04-23 15:13:08,059 - DEBUG - Requesting: http://10.0.0.133:8082/routing-instance/87680f21-e413-4e91-bf03-228eb4eb131b 2025-04-23 15:13:08,065 - DEBUG - Requesting: http://10.0.0.133:8082/route-target/6ee7170b-172e-4098-909a-092c494c9f33 2025-04-23 15:13:08,077 - DEBUG - Control-node 10.0.0.133 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49934000:ctest-vn-99069465', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49934000', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12058795614987372022', 'uuid-lslong': '11861115269637594552'}, 'enable': 'true', 'created': '2025-04-23T15:13:05', 'last-modified': '2025-04-23T15:13:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.320418'} 2025-04-23 15:13:08,083 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-23 15:13:08,083 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99069465 passed 2025-04-23 15:13:08,084 - DEBUG - ====Verifying policy data for ctest-vn-99069465 in API_Server ====== 2025-04-23 15:13:08,084 - DEBUG - Requesting: http://10.0.0.133:8082/domains 2025-04-23 15:13:08,089 - DEBUG - Requesting: http://10.0.0.133:8082/domain/e843aa18-ec85-48a2-bc50-46b8148b6016 2025-04-23 15:13:08,099 - DEBUG - Requesting: http://10.0.0.133:8082/project/5f6bd44b-e93f-4fcb-9acc-39fa49340c46 2025-04-23 15:13:08,179 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-network/a75972b8-ba5c-45f6-a49b-257eaeb5ddb8 2025-04-23 15:13:08,189 - DEBUG - ==>Verifying data for policy with id: 5c503bd6-2c8e-4d9d-a749-402f00d3aa96, fqn: ['default-domain', 'ctest-TestBasicPolicy-49934000', 'ctest-policy-allow-all-93303093'] 2025-04-23 15:13:08,189 - INFO - VN ctest-vn-99069465 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-23 15:13:08,189 - DEBUG - Verifying the vn in opserver 2025-04-23 15:13:08,189 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49934000:ctest-vn-99069465 virtual network link through opserver 10.0.0.133 2025-04-23 15:13:08,189 - DEBUG - Requesting: http://10.0.0.133:8081/analytics/uves/virtual-networks 2025-04-23 15:13:08,200 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49934000:ctest-vn-99069465', 'href': 'http://10.0.0.133:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49934000:ctest-vn-99069465?flat'} 2025-04-23 15:13:08,200 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49934000:ctest-vn-99069465 is found in opserver 2025-04-23 15:13:08,213 - DEBUG - Do not have enough data to verify VN in agent 2025-04-23 15:13:08,219 - DEBUG - VRF ids for VN ctest-vn-99069465: {} 2025-04-23 15:13:08,283 - DEBUG - Services list from nova: [, , ] 2025-04-23 15:13:09,202 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3188-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3188-1) 2025-04-23 15:13:10,411 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3188-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3188-1) 2025-04-23 15:13:10,411 - INFO - Waiting for VM ctest-TestBasicPolicy-49934000-06928518 to be up.. 2025-04-23 15:13:10,495 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-23 15:13:15,568 - DEBUG - VM is in ACTIVE state now 2025-04-23 15:13:15,569 - INFO - VM name : ctest-TestBasicPolicy-49934000-06928518 2025-04-23 15:13:15,651 - DEBUG - VM ctest-TestBasicPolicy-49934000-06928518 ID is 51fc1284-2e25-4e95-b31b-83898c8698a8 2025-04-23 15:13:15,668 - DEBUG - VM ctest-TestBasicPolicy-49934000-06928518 launched on Node cn-jenkins-deploy-platform-ansible-os-3188-1 2025-04-23 15:13:15,739 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine/51fc1284-2e25-4e95-b31b-83898c8698a8 2025-04-23 15:13:15,748 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine-interface/9a76d0df-22ce-486d-9412-bf18005ef734 2025-04-23 15:13:18,998 - 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 1015ms') 2025-04-23 15:13:18,998 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-49934000-06928518 failed! 2025-04-23 15:13:19,059 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-49934000:ctest-vn-63184690 is 171.158.53.193 and allocation pool is NOT set 2025-04-23 15:13:21,117 - 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.12 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.377 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 = 0.377/1.748/3.119/1.371 ms') 2025-04-23 15:13:21,117 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-49934000-06928518 passed 2025-04-23 15:13:21,271 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-23 15:13:21,271 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-49934000-06928518, IP 171.158.53.195, Port 22 2025-04-23 15:13:21,422 - DEBUG - VM ctest-TestBasicPolicy-49934000-06928518 is ready for SSH connections 2025-04-23 15:13:21,423 - INFO - Waiting for VM ctest-TestBasicPolicy-49934000-20575996 to be up.. 2025-04-23 15:13:21,497 - DEBUG - VM is in ACTIVE state now 2025-04-23 15:13:21,498 - INFO - VM name : ctest-TestBasicPolicy-49934000-20575996 2025-04-23 15:13:21,574 - DEBUG - VM ctest-TestBasicPolicy-49934000-20575996 ID is 3736736f-5967-41fe-9790-02f778683dce 2025-04-23 15:13:21,574 - DEBUG - VM ctest-TestBasicPolicy-49934000-20575996 launched on Node cn-jenkins-deploy-platform-ansible-os-3188-1 2025-04-23 15:13:21,649 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine/3736736f-5967-41fe-9790-02f778683dce 2025-04-23 15:13:21,657 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine-interface/6dd4b107-c418-46a7-85bf-08fec63e3ed0 2025-04-23 15:13:22,899 - 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=2.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.379 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.379/1.598/2.818/1.219 ms') 2025-04-23 15:13:22,899 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-49934000-20575996 passed 2025-04-23 15:13:23,047 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-23 15:13:23,047 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-49934000-20575996, IP 146.105.203.3, Port 22 2025-04-23 15:13:23,198 - DEBUG - VM ctest-TestBasicPolicy-49934000-20575996 is ready for SSH connections 2025-04-23 15:13:23,198 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-23 15:13:23,198 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 146.105.203.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.133, gateway password: c0ntrail123 2025-04-23 15:13:23,198 - DEBUG - ping -s 56 -c 3 -W 1 146.105.203.3 2025-04-23 15:13:26,829 - DEBUG - PING 146.105.203.3 (146.105.203.3): 56 data bytes 64 bytes from 146.105.203.3: seq=0 ttl=63 time=3.389 ms 64 bytes from 146.105.203.3: seq=1 ttl=63 time=0.793 ms 64 bytes from 146.105.203.3: seq=2 ttl=63 time=0.833 ms --- 146.105.203.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.793/1.671/3.389 ms 2025-04-23 15:13:26,830 - INFO - Ping to IP 146.105.203.3 from VM ctest-TestBasicPolicy-49934000-06928518 passed 2025-04-23 15:13:27,011 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5c503bd6-2c8e-4d9d-a749-402f00d3aa96", "href": "http://10.0.0.133:8082/network-policy/5c503bd6-2c8e-4d9d-a749-402f00d3aa96"}} 2025-04-23 15:13:27,011 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-23 15:13:27,011 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 146.105.203.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.133, gateway password: c0ntrail123 2025-04-23 15:13:27,011 - DEBUG - ping -s 56 -c 3 -W 1 146.105.203.3 2025-04-23 15:13:30,206 - DEBUG - PING 146.105.203.3 (146.105.203.3): 56 data bytes --- 146.105.203.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-04-23 15:13:30,206 - WARNING - Ping to IP 146.105.203.3 from VM ctest-TestBasicPolicy-49934000-06928518 failed 2025-04-23 15:13:30,206 - INFO - Deleting VM ctest-TestBasicPolicy-49934000-20575996 2025-04-23 15:13:30,269 - INFO - Deleting VM ctest-TestBasicPolicy-49934000-06928518 2025-04-23 15:13:30,617 - INFO - Deleted policy ctest-policy-allow-all-93303093 2025-04-23 15:13:30,617 - INFO - Deleting VN ctest-vn-99069465 2025-04-23 15:13:30,651 - DEBUG - VN a75972b8-ba5c-45f6-a49b-257eaeb5ddb8 still in use: Unable to complete operation on network a75972b8-ba5c-45f6-a49b-257eaeb5ddb8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-877ff24c-456b-47fa-aa9f-2dec9d17d60f'] 2025-04-23 15:13:30,651 - WARNING - Deleting VN ctest-vn-99069465 failed..Will retry 2025-04-23 15:13:32,759 - DEBUG - Response for deleting network () 2025-04-23 15:13:32,759 - DEBUG - Requesting: http://10.0.0.133:8082/routing-instance/87680f21-e413-4e91-bf03-228eb4eb131b 2025-04-23 15:13:32,765 - DEBUG - Response Code: 404 2025-04-23 15:13:32,766 - DEBUG - Requesting: http://10.0.0.133:8082/domains 2025-04-23 15:13:32,774 - DEBUG - Requesting: http://10.0.0.133:8082/domain/e843aa18-ec85-48a2-bc50-46b8148b6016 2025-04-23 15:13:32,829 - DEBUG - Requesting: http://10.0.0.133:8082/project/5f6bd44b-e93f-4fcb-9acc-39fa49340c46 2025-04-23 15:13:32,917 - INFO - Validated that VN ctest-vn-99069465 is not found in API Server 2025-04-23 15:13:32,929 - DEBUG - VN ctest-vn-99069465 is not present in Agent 10.0.0.133 2025-04-23 15:13:32,929 - INFO - Validated that VN ctest-vn-99069465 is not in any agent 2025-04-23 15:13:32,944 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-99069465 info 2025-04-23 15:13:32,944 - INFO - Deleting VN ctest-vn-63184690 2025-04-23 15:13:33,052 - DEBUG - Response for deleting network () 2025-04-23 15:13:33,052 - DEBUG - Requesting: http://10.0.0.133:8082/routing-instance/49903e34-1c59-4312-b96e-9ee94ed2acbe 2025-04-23 15:13:33,059 - DEBUG - Response Code: 404 2025-04-23 15:13:33,059 - DEBUG - Requesting: http://10.0.0.133:8082/domains 2025-04-23 15:13:33,065 - DEBUG - Requesting: http://10.0.0.133:8082/domain/e843aa18-ec85-48a2-bc50-46b8148b6016 2025-04-23 15:13:33,121 - DEBUG - Requesting: http://10.0.0.133:8082/project/5f6bd44b-e93f-4fcb-9acc-39fa49340c46 2025-04-23 15:13:33,193 - INFO - Validated that VN ctest-vn-63184690 is not found in API Server 2025-04-23 15:13:33,203 - DEBUG - VN ctest-vn-63184690 is not present in Agent 10.0.0.133 2025-04-23 15:13:33,203 - INFO - Validated that VN ctest-vn-63184690 is not in any agent 2025-04-23 15:13:33,216 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-63184690 info 2025-04-23 15:13:33,468 - DEBUG - No XMPP flaps were noticed during the test
2025-04-23 15:13:33,468 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-04-23 15:13:33,468 - INFO - -------------------------------------------------------------------------------- 2025-04-23 15:13:34,109 - INFO - Deleted project: ctest-TestBasicPolicy-49934000, ID : 5f6bd44b-e93f-4fcb-9acc-39fa49340c46