2025-06-24 13:18:35,323 - INFO - Domain Default found not creating 2025-06-24 13:18:35,476 - INFO - Project ctest-TestBasicPolicy-63884855 not found, creating it 2025-06-24 13:18:35,939 - INFO - Created Project:ctest-TestBasicPolicy-63884855, ID : 36580f81-91fb-4aa3-a8ed-4ccc9d8da36d 2025-06-24 13:18:37,419 - INFO - ================================================================================ 2025-06-24 13:18:37,420 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-24 13:18:37,420 - 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-06-24 13:18:37,674 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-06-24 13:18:37,674 - INFO - Initial checks done. Running the testcase now 2025-06-24 13:18:37,674 - INFO - 2025-06-24 13:18:38,264 - DEBUG - Response for create_network : {'network': {'id': '9701ecee-ed92-48cd-84ac-cdc59f1abc60', 'name': 'ctest-vn-44870584', 'tenant_id': '36580f8191fb4aa3a8ed4ccc9d8da36d', 'project_id': '36580f8191fb4aa3a8ed4ccc9d8da36d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63884855', 'ctest-vn-44870584'], 'port_security_enabled': True, 'description': ''}} 2025-06-24 13:18:38,453 - DEBUG - Response for create_subnet : {'subnet': {'id': '47c08e5d-47a6-4e83-97db-1f404ffe039a', 'name': '', 'tenant_id': '36580f8191fb4aa3a8ed4ccc9d8da36d', 'network_id': '9701ecee-ed92-48cd-84ac-cdc59f1abc60', 'ip_version': 4, 'cidr': '97.200.95.64/26', 'allocation_pools': [{'start': '97.200.95.66', 'end': '97.200.95.126'}], 'gateway_ip': '97.200.95.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '97.200.95.66', 'tags': [], 'project_id': '36580f8191fb4aa3a8ed4ccc9d8da36d'}} 2025-06-24 13:18:38,471 - INFO - Created VN ctest-vn-44870584 2025-06-24 13:18:38,527 - DEBUG - VN ctest-vn-44870584 UUID is 9701ecee-ed92-48cd-84ac-cdc59f1abc60 2025-06-24 13:18:38,827 - DEBUG - Response for create_network : {'network': {'id': '7ed07440-5449-472f-82ad-838e6bab73c8', 'name': 'ctest-vn-47379411', 'tenant_id': '36580f8191fb4aa3a8ed4ccc9d8da36d', 'project_id': '36580f8191fb4aa3a8ed4ccc9d8da36d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63884855', 'ctest-vn-47379411'], 'port_security_enabled': True, 'description': ''}} 2025-06-24 13:18:39,064 - DEBUG - Response for create_subnet : {'subnet': {'id': '3d52e015-af9d-44b1-a119-7837364a4604', 'name': '', 'tenant_id': '36580f8191fb4aa3a8ed4ccc9d8da36d', 'network_id': '7ed07440-5449-472f-82ad-838e6bab73c8', 'ip_version': 4, 'cidr': '80.175.193.128/26', 'allocation_pools': [{'start': '80.175.193.130', 'end': '80.175.193.190'}], 'gateway_ip': '80.175.193.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.175.193.130', 'tags': [], 'project_id': '36580f8191fb4aa3a8ed4ccc9d8da36d'}} 2025-06-24 13:18:39,084 - INFO - Created VN ctest-vn-47379411 2025-06-24 13:18:39,139 - DEBUG - VN ctest-vn-47379411 UUID is 7ed07440-5449-472f-82ad-838e6bab73c8 2025-06-24 13:18:39,256 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-63884855:ctest-vn-44870584, 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-63884855:ctest-vn-47379411, 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-06-24 13:18:39,560 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9701ecee-ed92-48cd-84ac-cdc59f1abc60', 'name': 'ctest-vn-44870584', 'tenant_id': '36580f8191fb4aa3a8ed4ccc9d8da36d', 'project_id': '36580f8191fb4aa3a8ed4ccc9d8da36d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['47c08e5d-47a6-4e83-97db-1f404ffe039a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63884855', 'ctest-vn-44870584'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-63884855', 'ctest-policy-allow-all-16731500']], 'subnet_ipam': [{'subnet_cidr': '97.200.95.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-24 13:18:39,812 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7ed07440-5449-472f-82ad-838e6bab73c8', 'name': 'ctest-vn-47379411', 'tenant_id': '36580f8191fb4aa3a8ed4ccc9d8da36d', 'project_id': '36580f8191fb4aa3a8ed4ccc9d8da36d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3d52e015-af9d-44b1-a119-7837364a4604'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63884855', 'ctest-vn-47379411'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-63884855', 'ctest-policy-allow-all-16731500']], 'subnet_ipam': [{'subnet_cidr': '80.175.193.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-24 13:18:39,979 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-24 13:18:40,280 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-24 13:18:40,312 - DEBUG - Requesting: http://10.0.0.254:8082/domain/a978b3a6-c333-42fa-a37a-0b7f3cacfed1 2025-06-24 13:18:40,326 - DEBUG - Requesting: http://10.0.0.254:8082/project/36580f81-91fb-4aa3-a8ed-4ccc9d8da36d 2025-06-24 13:18:40,400 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/9701ecee-ed92-48cd-84ac-cdc59f1abc60 2025-06-24 13:18:40,413 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/9701ecee-ed92-48cd-84ac-cdc59f1abc60 2025-06-24 13:18:40,425 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8669f282-48c9-471d-b33c-0e93c556ea7b 2025-06-24 13:18:40,433 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8669f282-48c9-471d-b33c-0e93c556ea7b 2025-06-24 13:18:40,440 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/d81e9025-97b7-4a15-9a4c-87c25891954a 2025-06-24 13:18:40,447 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-24 13:18:40,447 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/9701ecee-ed92-48cd-84ac-cdc59f1abc60 2025-06-24 13:18:40,459 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8669f282-48c9-471d-b33c-0e93c556ea7b 2025-06-24 13:18:40,475 - INFO - Verified VN network id 8 for VN 9701ecee-ed92-48cd-84ac-cdc59f1abc60 2025-06-24 13:18:40,475 - INFO - Verifications in API Server for VN ctest-vn-44870584 passed 2025-06-24 13:18:40,475 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/9701ecee-ed92-48cd-84ac-cdc59f1abc60 2025-06-24 13:18:40,487 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8669f282-48c9-471d-b33c-0e93c556ea7b 2025-06-24 13:18:40,494 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8669f282-48c9-471d-b33c-0e93c556ea7b 2025-06-24 13:18:40,502 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/d81e9025-97b7-4a15-9a4c-87c25891954a 2025-06-24 13:18:40,516 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-63884855:ctest-vn-44870584', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-63884855', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10881238685635987661', 'uuid-lslong': '9560242357662301280'}, 'enable': 'true', 'created': '2025-06-24T13:18:38', 'last-modified': '2025-06-24T13:18:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.978748'} 2025-06-24 13:18:40,523 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-24 13:18:40,523 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-44870584 passed 2025-06-24 13:18:40,523 - DEBUG - ====Verifying policy data for ctest-vn-44870584 in API_Server ====== 2025-06-24 13:18:40,523 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-24 13:18:40,529 - DEBUG - Requesting: http://10.0.0.254:8082/domain/a978b3a6-c333-42fa-a37a-0b7f3cacfed1 2025-06-24 13:18:40,542 - DEBUG - Requesting: http://10.0.0.254:8082/project/36580f81-91fb-4aa3-a8ed-4ccc9d8da36d 2025-06-24 13:18:40,615 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/9701ecee-ed92-48cd-84ac-cdc59f1abc60 2025-06-24 13:18:40,626 - DEBUG - ==>Verifying data for policy with id: dfb14398-2525-48c6-8301-130ae4df6a3a, fqn: ['default-domain', 'ctest-TestBasicPolicy-63884855', 'ctest-policy-allow-all-16731500'] 2025-06-24 13:18:40,626 - INFO - VN ctest-vn-44870584 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-24 13:18:40,626 - DEBUG - Verifying the vn in opserver 2025-06-24 13:18:40,626 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-63884855:ctest-vn-44870584 virtual network link through opserver 10.0.0.254 2025-06-24 13:18:40,627 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-24 13:18:40,942 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-24 13:18:41,014 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-63884855:ctest-vn-44870584', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-63884855:ctest-vn-44870584?flat'} 2025-06-24 13:18:41,014 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-63884855:ctest-vn-44870584 is found in opserver 2025-06-24 13:18:41,027 - DEBUG - Do not have enough data to verify VN in agent 2025-06-24 13:18:41,033 - DEBUG - VRF ids for VN ctest-vn-44870584: {} 2025-06-24 13:18:41,033 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-24 13:18:41,039 - DEBUG - Requesting: http://10.0.0.254:8082/domain/a978b3a6-c333-42fa-a37a-0b7f3cacfed1 2025-06-24 13:18:41,053 - DEBUG - Requesting: http://10.0.0.254:8082/project/36580f81-91fb-4aa3-a8ed-4ccc9d8da36d 2025-06-24 13:18:41,142 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/7ed07440-5449-472f-82ad-838e6bab73c8 2025-06-24 13:18:41,158 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/7ed07440-5449-472f-82ad-838e6bab73c8 2025-06-24 13:18:41,170 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/10093a51-53dc-4c77-bf34-05918ddd51b6 2025-06-24 13:18:41,179 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/10093a51-53dc-4c77-bf34-05918ddd51b6 2025-06-24 13:18:41,191 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/c4e42f14-3062-48ef-a176-9617e15a9b26 2025-06-24 13:18:41,200 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-24 13:18:41,201 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/7ed07440-5449-472f-82ad-838e6bab73c8 2025-06-24 13:18:41,214 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/10093a51-53dc-4c77-bf34-05918ddd51b6 2025-06-24 13:18:41,234 - INFO - Verified VN network id 9 for VN 7ed07440-5449-472f-82ad-838e6bab73c8 2025-06-24 13:18:41,234 - INFO - Verifications in API Server for VN ctest-vn-47379411 passed 2025-06-24 13:18:41,235 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/7ed07440-5449-472f-82ad-838e6bab73c8 2025-06-24 13:18:41,247 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/10093a51-53dc-4c77-bf34-05918ddd51b6 2025-06-24 13:18:41,256 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/10093a51-53dc-4c77-bf34-05918ddd51b6 2025-06-24 13:18:41,264 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/c4e42f14-3062-48ef-a176-9617e15a9b26 2025-06-24 13:18:41,278 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-63884855:ctest-vn-47379411', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-63884855', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9137931463575553839', 'uuid-lslong': '9416327043616568264'}, 'enable': 'true', 'created': '2025-06-24T13:18:38', 'last-modified': '2025-06-24T13:18:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.500647'} 2025-06-24 13:18:41,286 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-24 13:18:41,286 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-47379411 passed 2025-06-24 13:18:41,286 - DEBUG - ====Verifying policy data for ctest-vn-47379411 in API_Server ====== 2025-06-24 13:18:41,286 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-24 13:18:41,294 - DEBUG - Requesting: http://10.0.0.254:8082/domain/a978b3a6-c333-42fa-a37a-0b7f3cacfed1 2025-06-24 13:18:41,310 - DEBUG - Requesting: http://10.0.0.254:8082/project/36580f81-91fb-4aa3-a8ed-4ccc9d8da36d 2025-06-24 13:18:41,392 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/7ed07440-5449-472f-82ad-838e6bab73c8 2025-06-24 13:18:41,407 - DEBUG - ==>Verifying data for policy with id: dfb14398-2525-48c6-8301-130ae4df6a3a, fqn: ['default-domain', 'ctest-TestBasicPolicy-63884855', 'ctest-policy-allow-all-16731500'] 2025-06-24 13:18:41,407 - INFO - VN ctest-vn-47379411 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-24 13:18:41,407 - DEBUG - Verifying the vn in opserver 2025-06-24 13:18:41,407 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-63884855:ctest-vn-47379411 virtual network link through opserver 10.0.0.254 2025-06-24 13:18:41,407 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-24 13:18:41,420 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-63884855:ctest-vn-47379411', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-63884855:ctest-vn-47379411?flat'} 2025-06-24 13:18:41,420 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-63884855:ctest-vn-47379411 is found in opserver 2025-06-24 13:18:41,432 - DEBUG - Do not have enough data to verify VN in agent 2025-06-24 13:18:41,438 - DEBUG - VRF ids for VN ctest-vn-47379411: {} 2025-06-24 13:18:41,524 - DEBUG - Services list from nova: [, , ] 2025-06-24 13:18:42,610 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3533-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3533-1) 2025-06-24 13:18:43,947 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3533-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3533-1) 2025-06-24 13:18:43,947 - INFO - Waiting for VM ctest-TestBasicPolicy-63884855-50123107 to be up.. 2025-06-24 13:18:44,043 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-24 13:18:49,129 - DEBUG - VM is in ACTIVE state now 2025-06-24 13:18:49,129 - INFO - VM name : ctest-TestBasicPolicy-63884855-50123107 2025-06-24 13:18:49,211 - DEBUG - VM ctest-TestBasicPolicy-63884855-50123107 ID is 65b65325-03c8-4fa2-8c0a-25aa8fbed506 2025-06-24 13:18:49,231 - DEBUG - VM ctest-TestBasicPolicy-63884855-50123107 launched on Node cn-jenkins-deploy-platform-ansible-os-3533-1 2025-06-24 13:18:49,323 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/65b65325-03c8-4fa2-8c0a-25aa8fbed506 2025-06-24 13:18:49,332 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/3059173b-6145-4283-a27f-6ab7ecc87e8d 2025-06-24 13:18:52,602 - 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') 2025-06-24 13:18:52,602 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-63884855-50123107 failed! 2025-06-24 13:18:52,663 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-63884855:ctest-vn-44870584 is 97.200.95.65 and allocation pool is NOT set 2025-06-24 13:18:54,722 - 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.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.269 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.269/3.985/7.701/3.716 ms') 2025-06-24 13:18:54,722 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-63884855-50123107 passed 2025-06-24 13:18:54,871 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-24 13:18:54,871 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-63884855-50123107, IP 97.200.95.67, Port 22 2025-06-24 13:18:55,027 - DEBUG - VM ctest-TestBasicPolicy-63884855-50123107 is ready for SSH connections 2025-06-24 13:18:55,027 - INFO - Waiting for VM ctest-TestBasicPolicy-63884855-74725377 to be up.. 2025-06-24 13:18:55,112 - DEBUG - VM is in ACTIVE state now 2025-06-24 13:18:55,112 - INFO - VM name : ctest-TestBasicPolicy-63884855-74725377 2025-06-24 13:18:55,198 - DEBUG - VM ctest-TestBasicPolicy-63884855-74725377 ID is 1fc1000a-c612-46db-a7f4-4b244d2154ff 2025-06-24 13:18:55,199 - DEBUG - VM ctest-TestBasicPolicy-63884855-74725377 launched on Node cn-jenkins-deploy-platform-ansible-os-3533-1 2025-06-24 13:18:55,275 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/1fc1000a-c612-46db-a7f4-4b244d2154ff 2025-06-24 13:18:55,285 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/1863f540-cff9-44fd-99b1-144f16621e33 2025-06-24 13:18:56,526 - 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.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.822 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.822/1.952/3.082/1.130 ms') 2025-06-24 13:18:56,526 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-63884855-74725377 passed 2025-06-24 13:18:56,679 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-24 13:18:56,679 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-63884855-74725377, IP 80.175.193.131, Port 22 2025-06-24 13:18:56,843 - DEBUG - VM ctest-TestBasicPolicy-63884855-74725377 is ready for SSH connections 2025-06-24 13:18:56,843 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-24 13:18:56,843 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 80.175.193.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-24 13:18:56,843 - DEBUG - ping -s 56 -c 3 -W 1 80.175.193.131 2025-06-24 13:19:00,841 - DEBUG - PING 80.175.193.131 (80.175.193.131): 56 data bytes 64 bytes from 80.175.193.131: seq=0 ttl=63 time=3.498 ms 64 bytes from 80.175.193.131: seq=1 ttl=63 time=1.198 ms 64 bytes from 80.175.193.131: seq=2 ttl=63 time=2.202 ms --- 80.175.193.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.198/2.299/3.498 ms 2025-06-24 13:19:00,841 - INFO - Ping to IP 80.175.193.131 from VM ctest-TestBasicPolicy-63884855-50123107 passed 2025-06-24 13:19:01,031 - DEBUG - Policy Update Response {"network-policy": {"uuid": "dfb14398-2525-48c6-8301-130ae4df6a3a", "href": "http://10.0.0.254:8082/network-policy/dfb14398-2525-48c6-8301-130ae4df6a3a"}} 2025-06-24 13:19:01,031 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-24 13:19:01,031 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 80.175.193.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-24 13:19:01,032 - DEBUG - ping -s 56 -c 3 -W 1 80.175.193.131 2025-06-24 13:19:04,268 - DEBUG - PING 80.175.193.131 (80.175.193.131): 56 data bytes 64 bytes from 80.175.193.131: seq=0 ttl=63 time=1.575 ms --- 80.175.193.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.575/1.575/1.575 ms 2025-06-24 13:19:04,268 - WARNING - Ping to IP 80.175.193.131 from VM ctest-TestBasicPolicy-63884855-50123107 failed 2025-06-24 13:19:04,268 - INFO - Deleting VM ctest-TestBasicPolicy-63884855-74725377 2025-06-24 13:19:04,346 - INFO - Deleting VM ctest-TestBasicPolicy-63884855-50123107 2025-06-24 13:19:04,771 - INFO - Deleted policy ctest-policy-allow-all-16731500 2025-06-24 13:19:04,771 - INFO - Deleting VN ctest-vn-47379411 2025-06-24 13:19:04,816 - DEBUG - VN 7ed07440-5449-472f-82ad-838e6bab73c8 still in use: Unable to complete operation on network 7ed07440-5449-472f-82ad-838e6bab73c8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5207cc9c-d450-496d-a23d-41cb920db525'] 2025-06-24 13:19:04,816 - WARNING - Deleting VN ctest-vn-47379411 failed..Will retry 2025-06-24 13:19:06,926 - DEBUG - Response for deleting network () 2025-06-24 13:19:06,926 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/10093a51-53dc-4c77-bf34-05918ddd51b6 2025-06-24 13:19:06,936 - DEBUG - Response Code: 404 2025-06-24 13:19:06,937 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-24 13:19:06,944 - DEBUG - Requesting: http://10.0.0.254:8082/domain/a978b3a6-c333-42fa-a37a-0b7f3cacfed1 2025-06-24 13:19:07,002 - DEBUG - Requesting: http://10.0.0.254:8082/project/36580f81-91fb-4aa3-a8ed-4ccc9d8da36d 2025-06-24 13:19:07,076 - INFO - Validated that VN ctest-vn-47379411 is not found in API Server 2025-06-24 13:19:07,087 - DEBUG - VN ctest-vn-47379411 is not present in Agent 10.0.0.254 2025-06-24 13:19:07,087 - INFO - Validated that VN ctest-vn-47379411 is not in any agent 2025-06-24 13:19:07,104 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-47379411 info 2025-06-24 13:19:07,104 - INFO - Deleting VN ctest-vn-44870584 2025-06-24 13:19:07,220 - DEBUG - Response for deleting network () 2025-06-24 13:19:07,220 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8669f282-48c9-471d-b33c-0e93c556ea7b 2025-06-24 13:19:07,229 - DEBUG - Response Code: 404 2025-06-24 13:19:07,229 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-24 13:19:07,236 - DEBUG - Requesting: http://10.0.0.254:8082/domain/a978b3a6-c333-42fa-a37a-0b7f3cacfed1 2025-06-24 13:19:07,294 - DEBUG - Requesting: http://10.0.0.254:8082/project/36580f81-91fb-4aa3-a8ed-4ccc9d8da36d 2025-06-24 13:19:07,369 - INFO - Validated that VN ctest-vn-44870584 is not found in API Server 2025-06-24 13:19:07,380 - DEBUG - VN ctest-vn-44870584 is not present in Agent 10.0.0.254 2025-06-24 13:19:07,380 - INFO - Validated that VN ctest-vn-44870584 is not in any agent 2025-06-24 13:19:07,398 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-44870584 info 2025-06-24 13:19:07,657 - DEBUG - No XMPP flaps were noticed during the test 2025-06-24 13:19:07,657 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-06-24 13:19:07,657 - INFO - -------------------------------------------------------------------------------- 2025-06-24 13:19:08,730 - INFO - Deleted project: ctest-TestBasicPolicy-63884855, ID : 36580f81-91fb-4aa3-a8ed-4ccc9d8da36d