2025-06-12 02:10:25,144 - INFO - Domain Default found not creating 2025-06-12 02:10:25,307 - INFO - Project ctest-TestBasicPolicy-39139605 not found, creating it 2025-06-12 02:10:25,767 - INFO - Created Project:ctest-TestBasicPolicy-39139605, ID : cb8eb1ff-c4aa-4c75-8935-77a801f0c6f4 2025-06-12 02:10:27,255 - INFO - ================================================================================ 2025-06-12 02:10:27,255 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-12 02:10:27,255 - 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-12 02:10:27,511 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.201': '0'}} with 2025-06-12 02:10:27,511 - INFO - Initial checks done. Running the testcase now 2025-06-12 02:10:27,511 - INFO - 2025-06-12 02:10:28,065 - DEBUG - Response for create_network : {'network': {'id': '1ea2decf-a1be-4456-a296-0327dc3b4c7f', 'name': 'ctest-vn-83891470', 'tenant_id': 'cb8eb1ffc4aa4c75893577a801f0c6f4', 'project_id': 'cb8eb1ffc4aa4c75893577a801f0c6f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39139605', 'ctest-vn-83891470'], 'port_security_enabled': True, 'description': ''}} 2025-06-12 02:10:28,283 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b29822c4-c94c-4197-bd4b-db089cabc522', 'name': '', 'tenant_id': 'cb8eb1ffc4aa4c75893577a801f0c6f4', 'network_id': '1ea2decf-a1be-4456-a296-0327dc3b4c7f', 'ip_version': 4, 'cidr': '201.208.190.192/26', 'allocation_pools': [{'start': '201.208.190.194', 'end': '201.208.190.254'}], 'gateway_ip': '201.208.190.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.208.190.194', 'tags': [], 'project_id': 'cb8eb1ffc4aa4c75893577a801f0c6f4'}} 2025-06-12 02:10:28,305 - INFO - Created VN ctest-vn-83891470 2025-06-12 02:10:28,359 - DEBUG - VN ctest-vn-83891470 UUID is 1ea2decf-a1be-4456-a296-0327dc3b4c7f 2025-06-12 02:10:28,668 - DEBUG - Response for create_network : {'network': {'id': '1141176a-d39b-42bc-b9d5-6b4044a4d2e3', 'name': 'ctest-vn-57954894', 'tenant_id': 'cb8eb1ffc4aa4c75893577a801f0c6f4', 'project_id': 'cb8eb1ffc4aa4c75893577a801f0c6f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39139605', 'ctest-vn-57954894'], 'port_security_enabled': True, 'description': ''}} 2025-06-12 02:10:28,878 - DEBUG - Response for create_subnet : {'subnet': {'id': '013133fe-8c4e-48f9-b486-072ad94a76e9', 'name': '', 'tenant_id': 'cb8eb1ffc4aa4c75893577a801f0c6f4', 'network_id': '1141176a-d39b-42bc-b9d5-6b4044a4d2e3', 'ip_version': 4, 'cidr': '30.34.176.0/26', 'allocation_pools': [{'start': '30.34.176.2', 'end': '30.34.176.62'}], 'gateway_ip': '30.34.176.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.34.176.2', 'tags': [], 'project_id': 'cb8eb1ffc4aa4c75893577a801f0c6f4'}} 2025-06-12 02:10:28,897 - INFO - Created VN ctest-vn-57954894 2025-06-12 02:10:28,951 - DEBUG - VN ctest-vn-57954894 UUID is 1141176a-d39b-42bc-b9d5-6b4044a4d2e3 2025-06-12 02:10:29,066 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-39139605:ctest-vn-83891470, 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-39139605:ctest-vn-57954894, 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-12 02:10:29,375 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1ea2decf-a1be-4456-a296-0327dc3b4c7f', 'name': 'ctest-vn-83891470', 'tenant_id': 'cb8eb1ffc4aa4c75893577a801f0c6f4', 'project_id': 'cb8eb1ffc4aa4c75893577a801f0c6f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b29822c4-c94c-4197-bd4b-db089cabc522'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39139605', 'ctest-vn-83891470'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-39139605', 'ctest-policy-allow-all-23632750']], 'subnet_ipam': [{'subnet_cidr': '201.208.190.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-12 02:10:29,611 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1141176a-d39b-42bc-b9d5-6b4044a4d2e3', 'name': 'ctest-vn-57954894', 'tenant_id': 'cb8eb1ffc4aa4c75893577a801f0c6f4', 'project_id': 'cb8eb1ffc4aa4c75893577a801f0c6f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['013133fe-8c4e-48f9-b486-072ad94a76e9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39139605', 'ctest-vn-57954894'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-39139605', 'ctest-policy-allow-all-23632750']], 'subnet_ipam': [{'subnet_cidr': '30.34.176.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-12 02:10:29,795 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-06-12 02:10:30,094 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-06-12 02:10:30,124 - DEBUG - Requesting: http://10.0.0.23:8082/domain/902b3127-e1d0-4e61-9327-cdc697d3a8e6 2025-06-12 02:10:30,140 - DEBUG - Requesting: http://10.0.0.23:8082/project/cb8eb1ff-c4aa-4c75-8935-77a801f0c6f4 2025-06-12 02:10:30,231 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/1ea2decf-a1be-4456-a296-0327dc3b4c7f 2025-06-12 02:10:30,245 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/1ea2decf-a1be-4456-a296-0327dc3b4c7f 2025-06-12 02:10:30,257 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/83405094-5cc7-4cc6-9e41-c6bd945e8f3f 2025-06-12 02:10:30,265 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/83405094-5cc7-4cc6-9e41-c6bd945e8f3f 2025-06-12 02:10:30,272 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/9997424d-6e48-4987-8b92-861a17d274c0 2025-06-12 02:10:30,279 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-12 02:10:30,279 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/1ea2decf-a1be-4456-a296-0327dc3b4c7f 2025-06-12 02:10:30,289 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/83405094-5cc7-4cc6-9e41-c6bd945e8f3f 2025-06-12 02:10:30,305 - INFO - Verified VN network id 8 for VN 1ea2decf-a1be-4456-a296-0327dc3b4c7f 2025-06-12 02:10:30,305 - INFO - Verifications in API Server for VN ctest-vn-83891470 passed 2025-06-12 02:10:30,305 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/1ea2decf-a1be-4456-a296-0327dc3b4c7f 2025-06-12 02:10:30,316 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/83405094-5cc7-4cc6-9e41-c6bd945e8f3f 2025-06-12 02:10:30,324 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/83405094-5cc7-4cc6-9e41-c6bd945e8f3f 2025-06-12 02:10:30,332 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/9997424d-6e48-4987-8b92-861a17d274c0 2025-06-12 02:10:30,345 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-39139605:ctest-vn-83891470', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-39139605', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2207571750718162006', 'uuid-lslong': '11715554950384405631'}, 'enable': 'true', 'created': '2025-06-12T02:10:28', 'last-modified': '2025-06-12T02:10:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.989619'} 2025-06-12 02:10:30,351 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-12 02:10:30,352 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-83891470 passed 2025-06-12 02:10:30,352 - DEBUG - ====Verifying policy data for ctest-vn-83891470 in API_Server ====== 2025-06-12 02:10:30,352 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-06-12 02:10:30,358 - DEBUG - Requesting: http://10.0.0.23:8082/domain/902b3127-e1d0-4e61-9327-cdc697d3a8e6 2025-06-12 02:10:30,370 - DEBUG - Requesting: http://10.0.0.23:8082/project/cb8eb1ff-c4aa-4c75-8935-77a801f0c6f4 2025-06-12 02:10:30,445 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/1ea2decf-a1be-4456-a296-0327dc3b4c7f 2025-06-12 02:10:30,455 - DEBUG - ==>Verifying data for policy with id: 1df777af-30bf-4d31-b483-e76bc01e169c, fqn: ['default-domain', 'ctest-TestBasicPolicy-39139605', 'ctest-policy-allow-all-23632750'] 2025-06-12 02:10:30,455 - INFO - VN ctest-vn-83891470 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-12 02:10:30,455 - DEBUG - Verifying the vn in opserver 2025-06-12 02:10:30,456 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-39139605:ctest-vn-83891470 virtual network link through opserver 10.0.0.23 2025-06-12 02:10:30,456 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2025-06-12 02:10:30,748 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2025-06-12 02:10:30,809 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-39139605:ctest-vn-83891470', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-39139605:ctest-vn-83891470?flat'} 2025-06-12 02:10:30,809 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-39139605:ctest-vn-83891470 is found in opserver 2025-06-12 02:10:30,820 - DEBUG - Do not have enough data to verify VN in agent 2025-06-12 02:10:30,825 - DEBUG - VRF ids for VN ctest-vn-83891470: {} 2025-06-12 02:10:30,826 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-06-12 02:10:30,833 - DEBUG - Requesting: http://10.0.0.23:8082/domain/902b3127-e1d0-4e61-9327-cdc697d3a8e6 2025-06-12 02:10:30,846 - DEBUG - Requesting: http://10.0.0.23:8082/project/cb8eb1ff-c4aa-4c75-8935-77a801f0c6f4 2025-06-12 02:10:30,920 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/1141176a-d39b-42bc-b9d5-6b4044a4d2e3 2025-06-12 02:10:30,933 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/1141176a-d39b-42bc-b9d5-6b4044a4d2e3 2025-06-12 02:10:30,944 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/300ef70d-bfcb-471d-8ac1-35ac35797ad0 2025-06-12 02:10:30,951 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/300ef70d-bfcb-471d-8ac1-35ac35797ad0 2025-06-12 02:10:30,960 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/5c7ee807-8bce-427d-8666-1f5243aaa48c 2025-06-12 02:10:30,968 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-12 02:10:30,968 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/1141176a-d39b-42bc-b9d5-6b4044a4d2e3 2025-06-12 02:10:30,978 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/300ef70d-bfcb-471d-8ac1-35ac35797ad0 2025-06-12 02:10:30,995 - INFO - Verified VN network id 9 for VN 1141176a-d39b-42bc-b9d5-6b4044a4d2e3 2025-06-12 02:10:30,996 - INFO - Verifications in API Server for VN ctest-vn-57954894 passed 2025-06-12 02:10:30,996 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/1141176a-d39b-42bc-b9d5-6b4044a4d2e3 2025-06-12 02:10:31,008 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/300ef70d-bfcb-471d-8ac1-35ac35797ad0 2025-06-12 02:10:31,018 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/300ef70d-bfcb-471d-8ac1-35ac35797ad0 2025-06-12 02:10:31,027 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/5c7ee807-8bce-427d-8666-1f5243aaa48c 2025-06-12 02:10:31,044 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-39139605:ctest-vn-57954894', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-39139605', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1243300719715107516', 'uuid-lslong': '13390726990829769443'}, 'enable': 'true', 'created': '2025-06-12T02:10:28', 'last-modified': '2025-06-12T02:10:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.454543'} 2025-06-12 02:10:31,053 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-12 02:10:31,053 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-57954894 passed 2025-06-12 02:10:31,053 - DEBUG - ====Verifying policy data for ctest-vn-57954894 in API_Server ====== 2025-06-12 02:10:31,053 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-06-12 02:10:31,060 - DEBUG - Requesting: http://10.0.0.23:8082/domain/902b3127-e1d0-4e61-9327-cdc697d3a8e6 2025-06-12 02:10:31,073 - DEBUG - Requesting: http://10.0.0.23:8082/project/cb8eb1ff-c4aa-4c75-8935-77a801f0c6f4 2025-06-12 02:10:31,149 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/1141176a-d39b-42bc-b9d5-6b4044a4d2e3 2025-06-12 02:10:31,162 - DEBUG - ==>Verifying data for policy with id: 1df777af-30bf-4d31-b483-e76bc01e169c, fqn: ['default-domain', 'ctest-TestBasicPolicy-39139605', 'ctest-policy-allow-all-23632750'] 2025-06-12 02:10:31,162 - INFO - VN ctest-vn-57954894 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-12 02:10:31,162 - DEBUG - Verifying the vn in opserver 2025-06-12 02:10:31,162 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-39139605:ctest-vn-57954894 virtual network link through opserver 10.0.0.23 2025-06-12 02:10:31,162 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2025-06-12 02:10:31,177 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-39139605:ctest-vn-57954894', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-39139605:ctest-vn-57954894?flat'} 2025-06-12 02:10:31,177 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-39139605:ctest-vn-57954894 is found in opserver 2025-06-12 02:10:31,192 - DEBUG - Do not have enough data to verify VN in agent 2025-06-12 02:10:31,199 - DEBUG - VRF ids for VN ctest-vn-57954894: {} 2025-06-12 02:10:31,261 - DEBUG - Services list from nova: [, , ] 2025-06-12 02:10:32,326 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3449-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3449-1) 2025-06-12 02:10:33,624 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3449-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3449-1) 2025-06-12 02:10:33,624 - INFO - Waiting for VM ctest-TestBasicPolicy-39139605-77300226 to be up.. 2025-06-12 02:10:33,716 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-12 02:10:38,796 - DEBUG - VM is in ACTIVE state now 2025-06-12 02:10:38,796 - INFO - VM name : ctest-TestBasicPolicy-39139605-77300226 2025-06-12 02:10:38,876 - DEBUG - VM ctest-TestBasicPolicy-39139605-77300226 ID is b13b5dc3-bc73-46da-a22b-90c7e8be341c 2025-06-12 02:10:38,896 - DEBUG - VM ctest-TestBasicPolicy-39139605-77300226 launched on Node cn-jenkins-deploy-platform-ansible-os-3449-1 2025-06-12 02:10:38,972 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/b13b5dc3-bc73-46da-a22b-90c7e8be341c 2025-06-12 02:10:38,982 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/886208f5-775e-4549-8c40-a5e0ed5edf77 2025-06-12 02:10:42,245 - 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 1023ms') 2025-06-12 02:10:42,245 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-39139605-77300226 failed! 2025-06-12 02:10:42,307 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-39139605:ctest-vn-83891470 is 201.208.190.193 and allocation pool is NOT set 2025-06-12 02:10:44,364 - 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.13 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.674 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.674/1.902/3.131/1.228 ms') 2025-06-12 02:10:44,364 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-39139605-77300226 passed 2025-06-12 02:10:44,519 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-12 02:10:44,519 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-39139605-77300226, IP 201.208.190.195, Port 22 2025-06-12 02:10:44,678 - DEBUG - VM ctest-TestBasicPolicy-39139605-77300226 is ready for SSH connections 2025-06-12 02:10:44,678 - INFO - Waiting for VM ctest-TestBasicPolicy-39139605-74821524 to be up.. 2025-06-12 02:10:44,761 - DEBUG - VM is in ACTIVE state now 2025-06-12 02:10:44,761 - INFO - VM name : ctest-TestBasicPolicy-39139605-74821524 2025-06-12 02:10:44,846 - DEBUG - VM ctest-TestBasicPolicy-39139605-74821524 ID is 07cfa415-3934-4c00-9dda-b440b6788871 2025-06-12 02:10:44,846 - DEBUG - VM ctest-TestBasicPolicy-39139605-74821524 launched on Node cn-jenkins-deploy-platform-ansible-os-3449-1 2025-06-12 02:10:44,922 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/07cfa415-3934-4c00-9dda-b440b6788871 2025-06-12 02:10:44,931 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/2978f377-fffa-4c0b-bc81-fa2332e057a6 2025-06-12 02:10:46,176 - 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.94 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.595 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.595/1.766/2.938/1.171 ms') 2025-06-12 02:10:46,176 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-39139605-74821524 passed 2025-06-12 02:10:46,331 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-12 02:10:46,331 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-39139605-74821524, IP 30.34.176.3, Port 22 2025-06-12 02:10:46,486 - DEBUG - VM ctest-TestBasicPolicy-39139605-74821524 is ready for SSH connections 2025-06-12 02:10:46,486 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-12 02:10:46,486 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 30.34.176.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-06-12 02:10:46,486 - DEBUG - ping -s 56 -c 3 -W 1 30.34.176.3 2025-06-12 02:10:50,193 - DEBUG - PING 30.34.176.3 (30.34.176.3): 56 data bytes 64 bytes from 30.34.176.3: seq=0 ttl=63 time=4.288 ms 64 bytes from 30.34.176.3: seq=1 ttl=63 time=0.774 ms 64 bytes from 30.34.176.3: seq=2 ttl=63 time=0.870 ms --- 30.34.176.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.774/1.977/4.288 ms 2025-06-12 02:10:50,193 - INFO - Ping to IP 30.34.176.3 from VM ctest-TestBasicPolicy-39139605-77300226 passed 2025-06-12 02:10:50,375 - DEBUG - Policy Update Response {"network-policy": {"uuid": "1df777af-30bf-4d31-b483-e76bc01e169c", "href": "http://10.0.0.23:8082/network-policy/1df777af-30bf-4d31-b483-e76bc01e169c"}} 2025-06-12 02:10:50,375 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-12 02:10:50,375 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 30.34.176.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-06-12 02:10:50,375 - DEBUG - ping -s 56 -c 3 -W 1 30.34.176.3 2025-06-12 02:10:53,585 - DEBUG - PING 30.34.176.3 (30.34.176.3): 56 data bytes 64 bytes from 30.34.176.3: seq=0 ttl=63 time=1.439 ms --- 30.34.176.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.439/1.439/1.439 ms 2025-06-12 02:10:53,585 - WARNING - Ping to IP 30.34.176.3 from VM ctest-TestBasicPolicy-39139605-77300226 failed 2025-06-12 02:10:53,586 - INFO - Deleting VM ctest-TestBasicPolicy-39139605-74821524 2025-06-12 02:10:53,683 - INFO - Deleting VM ctest-TestBasicPolicy-39139605-77300226 2025-06-12 02:10:54,082 - INFO - Deleted policy ctest-policy-allow-all-23632750 2025-06-12 02:10:54,083 - INFO - Deleting VN ctest-vn-57954894 2025-06-12 02:10:54,127 - DEBUG - VN 1141176a-d39b-42bc-b9d5-6b4044a4d2e3 still in use: Unable to complete operation on network 1141176a-d39b-42bc-b9d5-6b4044a4d2e3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a72190db-01fa-4aa8-a7cf-e1d456e68fd8'] 2025-06-12 02:10:54,128 - WARNING - Deleting VN ctest-vn-57954894 failed..Will retry 2025-06-12 02:10:56,242 - DEBUG - Response for deleting network () 2025-06-12 02:10:56,242 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/300ef70d-bfcb-471d-8ac1-35ac35797ad0 2025-06-12 02:10:56,253 - DEBUG - Response Code: 404 2025-06-12 02:10:56,253 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-06-12 02:10:56,258 - DEBUG - Requesting: http://10.0.0.23:8082/domain/902b3127-e1d0-4e61-9327-cdc697d3a8e6 2025-06-12 02:10:56,313 - DEBUG - Requesting: http://10.0.0.23:8082/project/cb8eb1ff-c4aa-4c75-8935-77a801f0c6f4 2025-06-12 02:10:56,387 - INFO - Validated that VN ctest-vn-57954894 is not found in API Server 2025-06-12 02:10:56,400 - DEBUG - VN ctest-vn-57954894 is not present in Agent 10.0.0.23 2025-06-12 02:10:56,400 - INFO - Validated that VN ctest-vn-57954894 is not in any agent 2025-06-12 02:10:56,416 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-57954894 info 2025-06-12 02:10:56,416 - INFO - Deleting VN ctest-vn-83891470 2025-06-12 02:10:56,526 - DEBUG - Response for deleting network () 2025-06-12 02:10:56,526 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/83405094-5cc7-4cc6-9e41-c6bd945e8f3f 2025-06-12 02:10:56,537 - DEBUG - Response Code: 404 2025-06-12 02:10:56,538 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-06-12 02:10:56,544 - DEBUG - Requesting: http://10.0.0.23:8082/domain/902b3127-e1d0-4e61-9327-cdc697d3a8e6 2025-06-12 02:10:56,600 - DEBUG - Requesting: http://10.0.0.23:8082/project/cb8eb1ff-c4aa-4c75-8935-77a801f0c6f4 2025-06-12 02:10:56,672 - INFO - Validated that VN ctest-vn-83891470 is not found in API Server 2025-06-12 02:10:56,683 - DEBUG - VN ctest-vn-83891470 is not present in Agent 10.0.0.23 2025-06-12 02:10:56,683 - INFO - Validated that VN ctest-vn-83891470 is not in any agent 2025-06-12 02:10:56,699 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-83891470 info 2025-06-12 02:10:56,957 - DEBUG - No XMPP flaps were noticed during the test
2025-06-12 02:10:56,957 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-06-12 02:10:56,957 - INFO - -------------------------------------------------------------------------------- 2025-06-12 02:10:57,635 - INFO - Deleted project: ctest-TestBasicPolicy-39139605, ID : cb8eb1ff-c4aa-4c75-8935-77a801f0c6f4