2025-07-08 11:40:23,424 - INFO - Domain Default found not creating 2025-07-08 11:40:23,568 - INFO - Project ctest-TestBasicPolicy-77117279 not found, creating it 2025-07-08 11:40:24,050 - INFO - Created Project:ctest-TestBasicPolicy-77117279, ID : c291ec54-c736-486a-a255-a0c5f5f096f5 2025-07-08 11:40:25,500 - INFO - ================================================================================ 2025-07-08 11:40:25,500 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-08 11:40:25,500 - 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-08 11:40:25,760 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.14': '0'}} with 2025-07-08 11:40:25,760 - INFO - Initial checks done. Running the testcase now 2025-07-08 11:40:25,760 - INFO - 2025-07-08 11:40:26,300 - DEBUG - Response for create_network : {'network': {'id': '9b39501f-5dd2-4e1e-9610-981f7c44ba59', 'name': 'ctest-vn-23436757', 'tenant_id': 'c291ec54c736486aa255a0c5f5f096f5', 'project_id': 'c291ec54c736486aa255a0c5f5f096f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77117279', 'ctest-vn-23436757'], 'port_security_enabled': True, 'description': ''}} 2025-07-08 11:40:26,542 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ddee5ec2-a982-4ac8-8c53-6e21e9a4dfae', 'name': '', 'tenant_id': 'c291ec54c736486aa255a0c5f5f096f5', 'network_id': '9b39501f-5dd2-4e1e-9610-981f7c44ba59', 'ip_version': 4, 'cidr': '159.139.52.0/26', 'allocation_pools': [{'start': '159.139.52.2', 'end': '159.139.52.62'}], 'gateway_ip': '159.139.52.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '159.139.52.2', 'tags': [], 'project_id': 'c291ec54c736486aa255a0c5f5f096f5'}} 2025-07-08 11:40:26,561 - INFO - Created VN ctest-vn-23436757 2025-07-08 11:40:26,614 - DEBUG - VN ctest-vn-23436757 UUID is 9b39501f-5dd2-4e1e-9610-981f7c44ba59 2025-07-08 11:40:26,938 - DEBUG - Response for create_network : {'network': {'id': '8cc25a8f-a15e-4724-b9f3-6112edcf4512', 'name': 'ctest-vn-58948359', 'tenant_id': 'c291ec54c736486aa255a0c5f5f096f5', 'project_id': 'c291ec54c736486aa255a0c5f5f096f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77117279', 'ctest-vn-58948359'], 'port_security_enabled': True, 'description': ''}} 2025-07-08 11:40:27,103 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd2d86453-0fe6-47dd-a1ea-122f809e6cee', 'name': '', 'tenant_id': 'c291ec54c736486aa255a0c5f5f096f5', 'network_id': '8cc25a8f-a15e-4724-b9f3-6112edcf4512', 'ip_version': 4, 'cidr': '133.97.101.192/26', 'allocation_pools': [{'start': '133.97.101.194', 'end': '133.97.101.254'}], 'gateway_ip': '133.97.101.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.97.101.194', 'tags': [], 'project_id': 'c291ec54c736486aa255a0c5f5f096f5'}} 2025-07-08 11:40:27,123 - INFO - Created VN ctest-vn-58948359 2025-07-08 11:40:27,178 - DEBUG - VN ctest-vn-58948359 UUID is 8cc25a8f-a15e-4724-b9f3-6112edcf4512 2025-07-08 11:40:27,299 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-77117279:ctest-vn-23436757, 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-77117279:ctest-vn-58948359, 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-08 11:40:27,607 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9b39501f-5dd2-4e1e-9610-981f7c44ba59', 'name': 'ctest-vn-23436757', 'tenant_id': 'c291ec54c736486aa255a0c5f5f096f5', 'project_id': 'c291ec54c736486aa255a0c5f5f096f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ddee5ec2-a982-4ac8-8c53-6e21e9a4dfae'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77117279', 'ctest-vn-23436757'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-77117279', 'ctest-policy-allow-all-95197694']], 'subnet_ipam': [{'subnet_cidr': '159.139.52.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-08 11:40:27,886 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8cc25a8f-a15e-4724-b9f3-6112edcf4512', 'name': 'ctest-vn-58948359', 'tenant_id': 'c291ec54c736486aa255a0c5f5f096f5', 'project_id': 'c291ec54c736486aa255a0c5f5f096f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d2d86453-0fe6-47dd-a1ea-122f809e6cee'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77117279', 'ctest-vn-58948359'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-77117279', 'ctest-policy-allow-all-95197694']], 'subnet_ipam': [{'subnet_cidr': '133.97.101.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-08 11:40:28,043 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-07-08 11:40:28,336 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-07-08 11:40:28,365 - DEBUG - Requesting: http://10.0.0.49:8082/domain/95d3f63c-e97d-48ee-b56b-46436cb22b9f 2025-07-08 11:40:28,380 - DEBUG - Requesting: http://10.0.0.49:8082/project/c291ec54-c736-486a-a255-a0c5f5f096f5 2025-07-08 11:40:28,451 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/9b39501f-5dd2-4e1e-9610-981f7c44ba59 2025-07-08 11:40:28,463 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/9b39501f-5dd2-4e1e-9610-981f7c44ba59 2025-07-08 11:40:28,474 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/9973c1bf-9d56-4755-85de-9a9136fce96c 2025-07-08 11:40:28,482 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/9973c1bf-9d56-4755-85de-9a9136fce96c 2025-07-08 11:40:28,489 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/bc803679-30fc-49e6-8ae1-bef94bb85e17 2025-07-08 11:40:28,496 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-08 11:40:28,496 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/9b39501f-5dd2-4e1e-9610-981f7c44ba59 2025-07-08 11:40:28,507 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/9973c1bf-9d56-4755-85de-9a9136fce96c 2025-07-08 11:40:28,522 - INFO - Verified VN network id 8 for VN 9b39501f-5dd2-4e1e-9610-981f7c44ba59 2025-07-08 11:40:28,522 - INFO - Verifications in API Server for VN ctest-vn-23436757 passed 2025-07-08 11:40:28,522 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/9b39501f-5dd2-4e1e-9610-981f7c44ba59 2025-07-08 11:40:28,532 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/9973c1bf-9d56-4755-85de-9a9136fce96c 2025-07-08 11:40:28,540 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/9973c1bf-9d56-4755-85de-9a9136fce96c 2025-07-08 11:40:28,547 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/bc803679-30fc-49e6-8ae1-bef94bb85e17 2025-07-08 11:40:28,560 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-77117279:ctest-vn-23436757', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-77117279', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11185059245199609374', 'uuid-lslong': '10813309966312847961'}, 'enable': 'true', 'created': '2025-07-08T11:40:26', 'last-modified': '2025-07-08T11:40:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.985653'} 2025-07-08 11:40:28,567 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-08 11:40:28,567 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-23436757 passed 2025-07-08 11:40:28,567 - DEBUG - ====Verifying policy data for ctest-vn-23436757 in API_Server ====== 2025-07-08 11:40:28,567 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-07-08 11:40:28,574 - DEBUG - Requesting: http://10.0.0.49:8082/domain/95d3f63c-e97d-48ee-b56b-46436cb22b9f 2025-07-08 11:40:28,585 - DEBUG - Requesting: http://10.0.0.49:8082/project/c291ec54-c736-486a-a255-a0c5f5f096f5 2025-07-08 11:40:28,662 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/9b39501f-5dd2-4e1e-9610-981f7c44ba59 2025-07-08 11:40:28,676 - DEBUG - ==>Verifying data for policy with id: 859651ea-5122-4ee2-bc01-0a04b8c4863a, fqn: ['default-domain', 'ctest-TestBasicPolicy-77117279', 'ctest-policy-allow-all-95197694'] 2025-07-08 11:40:28,676 - INFO - VN ctest-vn-23436757 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-08 11:40:28,676 - DEBUG - Verifying the vn in opserver 2025-07-08 11:40:28,676 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-77117279:ctest-vn-23436757 virtual network link through opserver 10.0.0.49 2025-07-08 11:40:28,677 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-07-08 11:40:28,969 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-07-08 11:40:29,027 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-77117279:ctest-vn-23436757', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-77117279:ctest-vn-23436757?flat'} 2025-07-08 11:40:29,028 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-77117279:ctest-vn-23436757 is found in opserver 2025-07-08 11:40:29,041 - DEBUG - Do not have enough data to verify VN in agent 2025-07-08 11:40:29,047 - DEBUG - VRF ids for VN ctest-vn-23436757: {} 2025-07-08 11:40:29,047 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-07-08 11:40:29,054 - DEBUG - Requesting: http://10.0.0.49:8082/domain/95d3f63c-e97d-48ee-b56b-46436cb22b9f 2025-07-08 11:40:29,067 - DEBUG - Requesting: http://10.0.0.49:8082/project/c291ec54-c736-486a-a255-a0c5f5f096f5 2025-07-08 11:40:29,140 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/8cc25a8f-a15e-4724-b9f3-6112edcf4512 2025-07-08 11:40:29,154 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/8cc25a8f-a15e-4724-b9f3-6112edcf4512 2025-07-08 11:40:29,164 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/c32be7ab-84d7-43c0-9123-dc033dfcaec4 2025-07-08 11:40:29,172 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/c32be7ab-84d7-43c0-9123-dc033dfcaec4 2025-07-08 11:40:29,180 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/66dbb41f-6f31-42bd-8368-758e87fab82f 2025-07-08 11:40:29,187 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-08 11:40:29,187 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/8cc25a8f-a15e-4724-b9f3-6112edcf4512 2025-07-08 11:40:29,198 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/c32be7ab-84d7-43c0-9123-dc033dfcaec4 2025-07-08 11:40:29,216 - INFO - Verified VN network id 9 for VN 8cc25a8f-a15e-4724-b9f3-6112edcf4512 2025-07-08 11:40:29,216 - INFO - Verifications in API Server for VN ctest-vn-58948359 passed 2025-07-08 11:40:29,216 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/8cc25a8f-a15e-4724-b9f3-6112edcf4512 2025-07-08 11:40:29,226 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/c32be7ab-84d7-43c0-9123-dc033dfcaec4 2025-07-08 11:40:29,234 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/c32be7ab-84d7-43c0-9123-dc033dfcaec4 2025-07-08 11:40:29,244 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/66dbb41f-6f31-42bd-8368-758e87fab82f 2025-07-08 11:40:29,257 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-77117279:ctest-vn-58948359', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-77117279', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10142768883725911844', 'uuid-lslong': '13399160050284446994'}, 'enable': 'true', 'created': '2025-07-08T11:40:26', 'last-modified': '2025-07-08T11:40:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.438457'} 2025-07-08 11:40:29,263 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-08 11:40:29,264 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-58948359 passed 2025-07-08 11:40:29,264 - DEBUG - ====Verifying policy data for ctest-vn-58948359 in API_Server ====== 2025-07-08 11:40:29,264 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-07-08 11:40:29,270 - DEBUG - Requesting: http://10.0.0.49:8082/domain/95d3f63c-e97d-48ee-b56b-46436cb22b9f 2025-07-08 11:40:29,284 - DEBUG - Requesting: http://10.0.0.49:8082/project/c291ec54-c736-486a-a255-a0c5f5f096f5 2025-07-08 11:40:29,363 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/8cc25a8f-a15e-4724-b9f3-6112edcf4512 2025-07-08 11:40:29,375 - DEBUG - ==>Verifying data for policy with id: 859651ea-5122-4ee2-bc01-0a04b8c4863a, fqn: ['default-domain', 'ctest-TestBasicPolicy-77117279', 'ctest-policy-allow-all-95197694'] 2025-07-08 11:40:29,375 - INFO - VN ctest-vn-58948359 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-08 11:40:29,375 - DEBUG - Verifying the vn in opserver 2025-07-08 11:40:29,375 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-77117279:ctest-vn-58948359 virtual network link through opserver 10.0.0.49 2025-07-08 11:40:29,375 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-07-08 11:40:29,387 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-77117279:ctest-vn-58948359', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-77117279:ctest-vn-58948359?flat'} 2025-07-08 11:40:29,387 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-77117279:ctest-vn-58948359 is found in opserver 2025-07-08 11:40:29,397 - DEBUG - Do not have enough data to verify VN in agent 2025-07-08 11:40:29,403 - DEBUG - VRF ids for VN ctest-vn-58948359: {} 2025-07-08 11:40:29,462 - DEBUG - Services list from nova: [, , ] 2025-07-08 11:40:30,468 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3612-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3612-1) 2025-07-08 11:40:31,758 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3612-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3612-1) 2025-07-08 11:40:31,758 - INFO - Waiting for VM ctest-TestBasicPolicy-77117279-59819839 to be up.. 2025-07-08 11:40:31,848 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-08 11:40:36,929 - DEBUG - VM is in ACTIVE state now 2025-07-08 11:40:36,929 - INFO - VM name : ctest-TestBasicPolicy-77117279-59819839 2025-07-08 11:40:37,016 - DEBUG - VM ctest-TestBasicPolicy-77117279-59819839 ID is a0637778-ae25-4569-b4c1-f22df240a679 2025-07-08 11:40:37,037 - DEBUG - VM ctest-TestBasicPolicy-77117279-59819839 launched on Node cn-jenkins-deploy-platform-ansible-os-3612-1 2025-07-08 11:40:37,116 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/a0637778-ae25-4569-b4c1-f22df240a679 2025-07-08 11:40:37,126 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/8ec07227-b9f6-4970-a6a0-a30c7ac087a9 2025-07-08 11:40:40,384 - 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 1007ms') 2025-07-08 11:40:40,384 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-77117279-59819839 failed! 2025-07-08 11:40:40,443 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-77117279:ctest-vn-23436757 is 159.139.52.1 and allocation pool is NOT set 2025-07-08 11:40:42,501 - 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.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.485 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.485/2.210/3.936/1.725 ms') 2025-07-08 11:40:42,501 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-77117279-59819839 passed 2025-07-08 11:40:42,662 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-08 11:40:42,663 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-77117279-59819839, IP 159.139.52.3, Port 22 2025-07-08 11:40:42,814 - DEBUG - VM ctest-TestBasicPolicy-77117279-59819839 is ready for SSH connections 2025-07-08 11:40:42,814 - INFO - Waiting for VM ctest-TestBasicPolicy-77117279-33784426 to be up.. 2025-07-08 11:40:42,896 - DEBUG - VM is in ACTIVE state now 2025-07-08 11:40:42,897 - INFO - VM name : ctest-TestBasicPolicy-77117279-33784426 2025-07-08 11:40:42,969 - DEBUG - VM ctest-TestBasicPolicy-77117279-33784426 ID is 461db226-2e16-49fb-ab74-dc300c6f9c35 2025-07-08 11:40:42,969 - DEBUG - VM ctest-TestBasicPolicy-77117279-33784426 launched on Node cn-jenkins-deploy-platform-ansible-os-3612-1 2025-07-08 11:40:43,046 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/461db226-2e16-49fb-ab74-dc300c6f9c35 2025-07-08 11:40:43,057 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/767f548d-51a7-4419-b64d-c9d760d3f89d 2025-07-08 11:40:44,305 - 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.95 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.439 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.439/1.694/2.950/1.255 ms') 2025-07-08 11:40:44,306 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-77117279-33784426 passed 2025-07-08 11:40:44,458 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-08 11:40:44,459 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-77117279-33784426, IP 133.97.101.195, Port 22 2025-07-08 11:40:44,614 - DEBUG - VM ctest-TestBasicPolicy-77117279-33784426 is ready for SSH connections 2025-07-08 11:40:44,614 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-08 11:40:44,615 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 133.97.101.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-07-08 11:40:44,615 - DEBUG - ping -s 56 -c 3 -W 1 133.97.101.195 2025-07-08 11:40:48,773 - DEBUG - PING 133.97.101.195 (133.97.101.195): 56 data bytes 64 bytes from 133.97.101.195: seq=0 ttl=63 time=4.603 ms 64 bytes from 133.97.101.195: seq=1 ttl=63 time=1.023 ms 64 bytes from 133.97.101.195: seq=2 ttl=63 time=0.964 ms --- 133.97.101.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.964/2.196/4.603 ms 2025-07-08 11:40:48,773 - INFO - Ping to IP 133.97.101.195 from VM ctest-TestBasicPolicy-77117279-59819839 passed 2025-07-08 11:40:48,958 - DEBUG - Policy Update Response {"network-policy": {"uuid": "859651ea-5122-4ee2-bc01-0a04b8c4863a", "href": "http://10.0.0.49:8082/network-policy/859651ea-5122-4ee2-bc01-0a04b8c4863a"}} 2025-07-08 11:40:48,958 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-08 11:40:48,959 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 133.97.101.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-07-08 11:40:48,959 - DEBUG - ping -s 56 -c 3 -W 1 133.97.101.195 2025-07-08 11:40:52,171 - DEBUG - PING 133.97.101.195 (133.97.101.195): 56 data bytes 64 bytes from 133.97.101.195: seq=0 ttl=63 time=1.393 ms --- 133.97.101.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.393/1.393/1.393 ms 2025-07-08 11:40:52,172 - WARNING - Ping to IP 133.97.101.195 from VM ctest-TestBasicPolicy-77117279-59819839 failed 2025-07-08 11:40:52,172 - INFO - Deleting VM ctest-TestBasicPolicy-77117279-33784426 2025-07-08 11:40:52,243 - INFO - Deleting VM ctest-TestBasicPolicy-77117279-59819839 2025-07-08 11:40:52,821 - INFO - Deleted policy ctest-policy-allow-all-95197694 2025-07-08 11:40:52,822 - INFO - Deleting VN ctest-vn-58948359 2025-07-08 11:40:52,872 - DEBUG - VN 8cc25a8f-a15e-4724-b9f3-6112edcf4512 still in use: Unable to complete operation on network 8cc25a8f-a15e-4724-b9f3-6112edcf4512. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f6e68cbb-56bb-4e00-9c42-31468eb35a1a'] 2025-07-08 11:40:52,872 - WARNING - Deleting VN ctest-vn-58948359 failed..Will retry 2025-07-08 11:40:54,984 - DEBUG - Response for deleting network () 2025-07-08 11:40:54,984 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/c32be7ab-84d7-43c0-9123-dc033dfcaec4 2025-07-08 11:40:54,990 - DEBUG - Response Code: 404 2025-07-08 11:40:54,990 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-07-08 11:40:54,997 - DEBUG - Requesting: http://10.0.0.49:8082/domain/95d3f63c-e97d-48ee-b56b-46436cb22b9f 2025-07-08 11:40:55,053 - DEBUG - Requesting: http://10.0.0.49:8082/project/c291ec54-c736-486a-a255-a0c5f5f096f5 2025-07-08 11:40:55,128 - INFO - Validated that VN ctest-vn-58948359 is not found in API Server 2025-07-08 11:40:55,140 - DEBUG - VN ctest-vn-58948359 is not present in Agent 10.0.0.49 2025-07-08 11:40:55,140 - INFO - Validated that VN ctest-vn-58948359 is not in any agent 2025-07-08 11:40:55,156 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-58948359 info 2025-07-08 11:40:55,156 - INFO - Deleting VN ctest-vn-23436757 2025-07-08 11:40:55,271 - DEBUG - Response for deleting network () 2025-07-08 11:40:55,271 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/9973c1bf-9d56-4755-85de-9a9136fce96c 2025-07-08 11:40:55,277 - DEBUG - Response Code: 404 2025-07-08 11:40:55,277 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-07-08 11:40:55,283 - DEBUG - Requesting: http://10.0.0.49:8082/domain/95d3f63c-e97d-48ee-b56b-46436cb22b9f 2025-07-08 11:40:55,337 - DEBUG - Requesting: http://10.0.0.49:8082/project/c291ec54-c736-486a-a255-a0c5f5f096f5 2025-07-08 11:40:55,411 - INFO - Validated that VN ctest-vn-23436757 is not found in API Server 2025-07-08 11:40:55,423 - DEBUG - VN ctest-vn-23436757 is not present in Agent 10.0.0.49 2025-07-08 11:40:55,423 - INFO - Validated that VN ctest-vn-23436757 is not in any agent 2025-07-08 11:40:55,439 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-23436757 info 2025-07-08 11:40:55,696 - DEBUG - No XMPP flaps were noticed during the test
2025-07-08 11:40:55,697 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-07-08 11:40:55,697 - INFO - -------------------------------------------------------------------------------- 2025-07-08 11:40:56,384 - INFO - Deleted project: ctest-TestBasicPolicy-77117279, ID : c291ec54-c736-486a-a255-a0c5f5f096f5