2025-02-10 10:13:16,588 - INFO - Domain Default found not creating 2025-02-10 10:13:16,713 - INFO - Project ctest-TestBasicPolicy-21638520 not found, creating it 2025-02-10 10:13:17,159 - INFO - Created Project:ctest-TestBasicPolicy-21638520, ID : 57b22aef-7433-40d9-8da0-6d0e7d348011 2025-02-10 10:13:18,669 - INFO - ================================================================================ 2025-02-10 10:13:18,670 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-02-10 10:13:18,670 - 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-02-10 10:13:18,932 - DEBUG - Nothing to compare xmpp stats {'10.0.0.45': {'10.20.0.10': '0'}} with 2025-02-10 10:13:18,932 - INFO - Initial checks done. Running the testcase now 2025-02-10 10:13:18,932 - INFO - 2025-02-10 10:13:19,463 - DEBUG - Response for create_network : {'network': {'id': 'f662ccc3-a166-4b92-ba7e-8cfd0a8c258d', 'name': 'ctest-vn-07731663', 'tenant_id': '57b22aef743340d98da06d0e7d348011', 'project_id': '57b22aef743340d98da06d0e7d348011', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21638520', 'ctest-vn-07731663'], 'port_security_enabled': True, 'description': ''}} 2025-02-10 10:13:19,634 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fe6d8e08-fdd8-47ac-9596-d3234d065d5a', 'name': '', 'tenant_id': '57b22aef743340d98da06d0e7d348011', 'network_id': 'f662ccc3-a166-4b92-ba7e-8cfd0a8c258d', 'ip_version': 4, 'cidr': '61.32.135.192/26', 'allocation_pools': [{'start': '61.32.135.194', 'end': '61.32.135.254'}], 'gateway_ip': '61.32.135.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '61.32.135.194', 'tags': [], 'project_id': '57b22aef743340d98da06d0e7d348011'}} 2025-02-10 10:13:19,652 - INFO - Created VN ctest-vn-07731663 2025-02-10 10:13:19,706 - DEBUG - VN ctest-vn-07731663 UUID is f662ccc3-a166-4b92-ba7e-8cfd0a8c258d 2025-02-10 10:13:20,017 - DEBUG - Response for create_network : {'network': {'id': '2728c451-335b-4671-a508-7e30680a273b', 'name': 'ctest-vn-47076069', 'tenant_id': '57b22aef743340d98da06d0e7d348011', 'project_id': '57b22aef743340d98da06d0e7d348011', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21638520', 'ctest-vn-47076069'], 'port_security_enabled': True, 'description': ''}} 2025-02-10 10:13:20,176 - DEBUG - Response for create_subnet : {'subnet': {'id': '5d375d6c-0e5d-4286-8848-51334b30a300', 'name': '', 'tenant_id': '57b22aef743340d98da06d0e7d348011', 'network_id': '2728c451-335b-4671-a508-7e30680a273b', 'ip_version': 4, 'cidr': '126.206.14.0/26', 'allocation_pools': [{'start': '126.206.14.2', 'end': '126.206.14.62'}], 'gateway_ip': '126.206.14.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.206.14.2', 'tags': [], 'project_id': '57b22aef743340d98da06d0e7d348011'}} 2025-02-10 10:13:20,192 - INFO - Created VN ctest-vn-47076069 2025-02-10 10:13:20,242 - DEBUG - VN ctest-vn-47076069 UUID is 2728c451-335b-4671-a508-7e30680a273b 2025-02-10 10:13:20,386 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-21638520:ctest-vn-07731663, 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-21638520:ctest-vn-47076069, 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-02-10 10:13:20,687 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f662ccc3-a166-4b92-ba7e-8cfd0a8c258d', 'name': 'ctest-vn-07731663', 'tenant_id': '57b22aef743340d98da06d0e7d348011', 'project_id': '57b22aef743340d98da06d0e7d348011', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fe6d8e08-fdd8-47ac-9596-d3234d065d5a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21638520', 'ctest-vn-07731663'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21638520', 'ctest-policy-allow-all-88419619']], 'subnet_ipam': [{'subnet_cidr': '61.32.135.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-10 10:13:20,911 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2728c451-335b-4671-a508-7e30680a273b', 'name': 'ctest-vn-47076069', 'tenant_id': '57b22aef743340d98da06d0e7d348011', 'project_id': '57b22aef743340d98da06d0e7d348011', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5d375d6c-0e5d-4286-8848-51334b30a300'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21638520', 'ctest-vn-47076069'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21638520', 'ctest-policy-allow-all-88419619']], 'subnet_ipam': [{'subnet_cidr': '126.206.14.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-10 10:13:21,074 - DEBUG - Requesting: http://10.0.0.45:8082/domains 2025-02-10 10:13:21,363 - DEBUG - Requesting: http://10.0.0.45:8082/domains 2025-02-10 10:13:21,389 - DEBUG - Requesting: http://10.0.0.45:8082/domain/6f989ccb-d53f-45ea-91e0-2775f4220d16 2025-02-10 10:13:21,402 - DEBUG - Requesting: http://10.0.0.45:8082/project/57b22aef-7433-40d9-8da0-6d0e7d348011 2025-02-10 10:13:21,475 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-network/f662ccc3-a166-4b92-ba7e-8cfd0a8c258d 2025-02-10 10:13:21,486 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-network/f662ccc3-a166-4b92-ba7e-8cfd0a8c258d 2025-02-10 10:13:21,495 - DEBUG - Requesting: http://10.0.0.45:8082/routing-instance/e90b63b7-5164-4ba2-a65e-bb3b518ffbc8 2025-02-10 10:13:21,502 - DEBUG - Requesting: http://10.0.0.45:8082/routing-instance/e90b63b7-5164-4ba2-a65e-bb3b518ffbc8 2025-02-10 10:13:21,508 - DEBUG - Requesting: http://10.0.0.45:8082/route-target/4557984f-3850-469d-b4e9-b31d62e7dd81 2025-02-10 10:13:21,514 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-10 10:13:21,514 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-network/f662ccc3-a166-4b92-ba7e-8cfd0a8c258d 2025-02-10 10:13:21,522 - DEBUG - Requesting: http://10.0.0.45:8082/routing-instance/e90b63b7-5164-4ba2-a65e-bb3b518ffbc8 2025-02-10 10:13:21,534 - INFO - Verified VN network id 9 for VN f662ccc3-a166-4b92-ba7e-8cfd0a8c258d 2025-02-10 10:13:21,534 - INFO - Verifications in API Server for VN ctest-vn-07731663 passed 2025-02-10 10:13:21,534 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-network/f662ccc3-a166-4b92-ba7e-8cfd0a8c258d 2025-02-10 10:13:21,543 - DEBUG - Requesting: http://10.0.0.45:8082/routing-instance/e90b63b7-5164-4ba2-a65e-bb3b518ffbc8 2025-02-10 10:13:21,549 - DEBUG - Requesting: http://10.0.0.45:8082/routing-instance/e90b63b7-5164-4ba2-a65e-bb3b518ffbc8 2025-02-10 10:13:21,554 - DEBUG - Requesting: http://10.0.0.45:8082/route-target/4557984f-3850-469d-b4e9-b31d62e7dd81 2025-02-10 10:13:21,566 - DEBUG - Control-node 10.0.0.45 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21638520:ctest-vn-07731663', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21638520', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17753977821646441362', 'uuid-lslong': '13438333356551710093'}, 'enable': 'true', 'created': '2025-02-10T10:13:19', 'last-modified': '2025-02-10T10:13:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.906129'} 2025-02-10 10:13:21,571 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-10 10:13:21,572 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07731663 passed 2025-02-10 10:13:21,572 - DEBUG - ====Verifying policy data for ctest-vn-07731663 in API_Server ====== 2025-02-10 10:13:21,572 - DEBUG - Requesting: http://10.0.0.45:8082/domains 2025-02-10 10:13:21,576 - DEBUG - Requesting: http://10.0.0.45:8082/domain/6f989ccb-d53f-45ea-91e0-2775f4220d16 2025-02-10 10:13:21,586 - DEBUG - Requesting: http://10.0.0.45:8082/project/57b22aef-7433-40d9-8da0-6d0e7d348011 2025-02-10 10:13:21,657 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-network/f662ccc3-a166-4b92-ba7e-8cfd0a8c258d 2025-02-10 10:13:21,667 - DEBUG - ==>Verifying data for policy with id: 5b7dea12-c828-4348-ad15-365629ffc569, fqn: ['default-domain', 'ctest-TestBasicPolicy-21638520', 'ctest-policy-allow-all-88419619'] 2025-02-10 10:13:21,667 - INFO - VN ctest-vn-07731663 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-10 10:13:21,667 - DEBUG - Verifying the vn in opserver 2025-02-10 10:13:21,667 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21638520:ctest-vn-07731663 virtual network link through opserver 10.0.0.45 2025-02-10 10:13:21,667 - DEBUG - Requesting: http://10.0.0.45:8081/analytics/uves/virtual-networks 2025-02-10 10:13:21,958 - DEBUG - Requesting: http://10.0.0.45:8081/analytics/uves/virtual-networks 2025-02-10 10:13:22,010 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21638520:ctest-vn-07731663', 'href': 'http://10.0.0.45:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21638520:ctest-vn-07731663?flat'} 2025-02-10 10:13:22,010 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21638520:ctest-vn-07731663 is found in opserver 2025-02-10 10:13:22,021 - DEBUG - Do not have enough data to verify VN in agent 2025-02-10 10:13:22,026 - DEBUG - VRF ids for VN ctest-vn-07731663: {} 2025-02-10 10:13:22,026 - DEBUG - Requesting: http://10.0.0.45:8082/domains 2025-02-10 10:13:22,033 - DEBUG - Requesting: http://10.0.0.45:8082/domain/6f989ccb-d53f-45ea-91e0-2775f4220d16 2025-02-10 10:13:22,044 - DEBUG - Requesting: http://10.0.0.45:8082/project/57b22aef-7433-40d9-8da0-6d0e7d348011 2025-02-10 10:13:22,121 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-network/2728c451-335b-4671-a508-7e30680a273b 2025-02-10 10:13:22,132 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-network/2728c451-335b-4671-a508-7e30680a273b 2025-02-10 10:13:22,142 - DEBUG - Requesting: http://10.0.0.45:8082/routing-instance/d8254d55-a0f6-424d-97c1-3c53cd942aa2 2025-02-10 10:13:22,148 - DEBUG - Requesting: http://10.0.0.45:8082/routing-instance/d8254d55-a0f6-424d-97c1-3c53cd942aa2 2025-02-10 10:13:22,155 - DEBUG - Requesting: http://10.0.0.45:8082/route-target/948d8dfb-4a76-488f-b502-0f59a4bbfbeb 2025-02-10 10:13:22,160 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-10 10:13:22,160 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-network/2728c451-335b-4671-a508-7e30680a273b 2025-02-10 10:13:22,169 - DEBUG - Requesting: http://10.0.0.45:8082/routing-instance/d8254d55-a0f6-424d-97c1-3c53cd942aa2 2025-02-10 10:13:22,182 - INFO - Verified VN network id 10 for VN 2728c451-335b-4671-a508-7e30680a273b 2025-02-10 10:13:22,182 - INFO - Verifications in API Server for VN ctest-vn-47076069 passed 2025-02-10 10:13:22,182 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-network/2728c451-335b-4671-a508-7e30680a273b 2025-02-10 10:13:22,191 - DEBUG - Requesting: http://10.0.0.45:8082/routing-instance/d8254d55-a0f6-424d-97c1-3c53cd942aa2 2025-02-10 10:13:22,198 - DEBUG - Requesting: http://10.0.0.45:8082/routing-instance/d8254d55-a0f6-424d-97c1-3c53cd942aa2 2025-02-10 10:13:22,204 - DEBUG - Requesting: http://10.0.0.45:8082/route-target/948d8dfb-4a76-488f-b502-0f59a4bbfbeb 2025-02-10 10:13:22,215 - DEBUG - Control-node 10.0.0.45 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21638520:ctest-vn-47076069', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21638520', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2821721019580630641', 'uuid-lslong': '11891893562440820539'}, 'enable': 'true', 'created': '2025-02-10T10:13:19', 'last-modified': '2025-02-10T10:13:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.325908'} 2025-02-10 10:13:22,222 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-10 10:13:22,222 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-47076069 passed 2025-02-10 10:13:22,222 - DEBUG - ====Verifying policy data for ctest-vn-47076069 in API_Server ====== 2025-02-10 10:13:22,222 - DEBUG - Requesting: http://10.0.0.45:8082/domains 2025-02-10 10:13:22,228 - DEBUG - Requesting: http://10.0.0.45:8082/domain/6f989ccb-d53f-45ea-91e0-2775f4220d16 2025-02-10 10:13:22,240 - DEBUG - Requesting: http://10.0.0.45:8082/project/57b22aef-7433-40d9-8da0-6d0e7d348011 2025-02-10 10:13:22,312 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-network/2728c451-335b-4671-a508-7e30680a273b 2025-02-10 10:13:22,322 - DEBUG - ==>Verifying data for policy with id: 5b7dea12-c828-4348-ad15-365629ffc569, fqn: ['default-domain', 'ctest-TestBasicPolicy-21638520', 'ctest-policy-allow-all-88419619'] 2025-02-10 10:13:22,322 - INFO - VN ctest-vn-47076069 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-10 10:13:22,322 - DEBUG - Verifying the vn in opserver 2025-02-10 10:13:22,322 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21638520:ctest-vn-47076069 virtual network link through opserver 10.0.0.45 2025-02-10 10:13:22,322 - DEBUG - Requesting: http://10.0.0.45:8081/analytics/uves/virtual-networks 2025-02-10 10:13:22,333 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21638520:ctest-vn-47076069', 'href': 'http://10.0.0.45:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21638520:ctest-vn-47076069?flat'} 2025-02-10 10:13:22,333 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21638520:ctest-vn-47076069 is found in opserver 2025-02-10 10:13:22,343 - DEBUG - Do not have enough data to verify VN in agent 2025-02-10 10:13:22,348 - DEBUG - VRF ids for VN ctest-vn-47076069: {} 2025-02-10 10:13:22,402 - DEBUG - Services list from nova: [, , ] 2025-02-10 10:13:23,642 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2711-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2711-1) 2025-02-10 10:13:24,923 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2711-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2711-1) 2025-02-10 10:13:24,923 - INFO - Waiting for VM ctest-TestBasicPolicy-21638520-07818371 to be up.. 2025-02-10 10:13:24,998 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-10 10:13:30,076 - DEBUG - VM is in ACTIVE state now 2025-02-10 10:13:30,076 - INFO - VM name : ctest-TestBasicPolicy-21638520-07818371 2025-02-10 10:13:30,148 - DEBUG - VM ctest-TestBasicPolicy-21638520-07818371 ID is efd25c63-5d5c-46ac-9eac-e6642f3ced57 2025-02-10 10:13:30,165 - DEBUG - VM ctest-TestBasicPolicy-21638520-07818371 launched on Node cn-jenkins-deploy-platform-ansible-os-2711-1 2025-02-10 10:13:30,245 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/efd25c63-5d5c-46ac-9eac-e6642f3ced57 2025-02-10 10:13:30,254 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine-interface/0d83a58d-de56-4bc2-ac60-92049a9d8770 2025-02-10 10:13:33,499 - 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 1011ms') 2025-02-10 10:13:33,499 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-21638520-07818371 failed! 2025-02-10 10:13:33,554 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-21638520:ctest-vn-07731663 is 61.32.135.193 and allocation pool is NOT set 2025-02-10 10:13:35,621 - 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=2.73 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.452 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.452/1.593/2.734/1.141 ms') 2025-02-10 10:13:35,621 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-21638520-07818371 passed 2025-02-10 10:13:35,778 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-10 10:13:35,778 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21638520-07818371, IP 61.32.135.195, Port 22 2025-02-10 10:13:35,942 - DEBUG - VM ctest-TestBasicPolicy-21638520-07818371 is ready for SSH connections 2025-02-10 10:13:35,943 - INFO - Waiting for VM ctest-TestBasicPolicy-21638520-10941352 to be up.. 2025-02-10 10:13:36,026 - DEBUG - VM is in ACTIVE state now 2025-02-10 10:13:36,026 - INFO - VM name : ctest-TestBasicPolicy-21638520-10941352 2025-02-10 10:13:36,103 - DEBUG - VM ctest-TestBasicPolicy-21638520-10941352 ID is 7302ff27-efa4-4476-a66b-69b197549d24 2025-02-10 10:13:36,103 - DEBUG - VM ctest-TestBasicPolicy-21638520-10941352 launched on Node cn-jenkins-deploy-platform-ansible-os-2711-1 2025-02-10 10:13:36,183 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/7302ff27-efa4-4476-a66b-69b197549d24 2025-02-10 10:13:36,192 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine-interface/e8a63cd3-21d8-4c82-93f6-a2caf57efe55 2025-02-10 10:13:37,438 - 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.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.423 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.423/1.606/2.790/1.183 ms') 2025-02-10 10:13:37,439 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-21638520-10941352 passed 2025-02-10 10:13:37,586 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-10 10:13:37,586 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21638520-10941352, IP 126.206.14.3, Port 22 2025-02-10 10:13:37,754 - DEBUG - VM ctest-TestBasicPolicy-21638520-10941352 is ready for SSH connections 2025-02-10 10:13:37,754 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-10 10:13:37,754 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 126.206.14.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.45, gateway password: c0ntrail123 2025-02-10 10:13:37,754 - DEBUG - ping -s 56 -c 3 -W 1 126.206.14.3 2025-02-10 10:13:41,422 - DEBUG - PING 126.206.14.3 (126.206.14.3): 56 data bytes 64 bytes from 126.206.14.3: seq=0 ttl=63 time=3.190 ms 64 bytes from 126.206.14.3: seq=1 ttl=63 time=0.768 ms 64 bytes from 126.206.14.3: seq=2 ttl=63 time=0.734 ms --- 126.206.14.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.734/1.564/3.190 ms 2025-02-10 10:13:41,422 - INFO - Ping to IP 126.206.14.3 from VM ctest-TestBasicPolicy-21638520-07818371 passed 2025-02-10 10:13:41,602 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5b7dea12-c828-4348-ad15-365629ffc569", "href": "http://10.0.0.45:8082/network-policy/5b7dea12-c828-4348-ad15-365629ffc569"}} 2025-02-10 10:13:41,602 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-10 10:13:41,602 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 126.206.14.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.45, gateway password: c0ntrail123 2025-02-10 10:13:41,602 - DEBUG - ping -s 56 -c 3 -W 1 126.206.14.3 2025-02-10 10:13:44,812 - DEBUG - PING 126.206.14.3 (126.206.14.3): 56 data bytes --- 126.206.14.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-02-10 10:13:44,813 - WARNING - Ping to IP 126.206.14.3 from VM ctest-TestBasicPolicy-21638520-07818371 failed 2025-02-10 10:13:44,813 - INFO - Deleting VM ctest-TestBasicPolicy-21638520-10941352 2025-02-10 10:13:44,877 - INFO - Deleting VM ctest-TestBasicPolicy-21638520-07818371 2025-02-10 10:13:45,223 - INFO - Deleted policy ctest-policy-allow-all-88419619 2025-02-10 10:13:45,224 - INFO - Deleting VN ctest-vn-47076069 2025-02-10 10:13:45,261 - DEBUG - VN 2728c451-335b-4671-a508-7e30680a273b still in use: Unable to complete operation on network 2728c451-335b-4671-a508-7e30680a273b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9c9b42a9-962f-4068-abee-d825f08365cc'] 2025-02-10 10:13:45,261 - WARNING - Deleting VN ctest-vn-47076069 failed..Will retry 2025-02-10 10:13:47,353 - DEBUG - Response for deleting network () 2025-02-10 10:13:47,353 - DEBUG - Requesting: http://10.0.0.45:8082/routing-instance/d8254d55-a0f6-424d-97c1-3c53cd942aa2 2025-02-10 10:13:47,358 - DEBUG - Response Code: 404 2025-02-10 10:13:47,358 - DEBUG - Requesting: http://10.0.0.45:8082/domains 2025-02-10 10:13:47,368 - DEBUG - Requesting: http://10.0.0.45:8082/domain/6f989ccb-d53f-45ea-91e0-2775f4220d16 2025-02-10 10:13:47,423 - DEBUG - Requesting: http://10.0.0.45:8082/project/57b22aef-7433-40d9-8da0-6d0e7d348011 2025-02-10 10:13:47,499 - INFO - Validated that VN ctest-vn-47076069 is not found in API Server 2025-02-10 10:13:47,509 - DEBUG - VN ctest-vn-47076069 is not present in Agent 10.0.0.45 2025-02-10 10:13:47,509 - INFO - Validated that VN ctest-vn-47076069 is not in any agent 2025-02-10 10:13:47,523 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-47076069 info 2025-02-10 10:13:47,523 - INFO - Deleting VN ctest-vn-07731663 2025-02-10 10:13:47,616 - DEBUG - Response for deleting network () 2025-02-10 10:13:47,616 - DEBUG - Requesting: http://10.0.0.45:8082/routing-instance/e90b63b7-5164-4ba2-a65e-bb3b518ffbc8 2025-02-10 10:13:47,622 - DEBUG - Response Code: 404 2025-02-10 10:13:47,622 - DEBUG - Requesting: http://10.0.0.45:8082/domains 2025-02-10 10:13:47,627 - DEBUG - Requesting: http://10.0.0.45:8082/domain/6f989ccb-d53f-45ea-91e0-2775f4220d16 2025-02-10 10:13:47,679 - DEBUG - Requesting: http://10.0.0.45:8082/project/57b22aef-7433-40d9-8da0-6d0e7d348011 2025-02-10 10:13:47,749 - INFO - Validated that VN ctest-vn-07731663 is not found in API Server 2025-02-10 10:13:47,760 - DEBUG - VN ctest-vn-07731663 is not present in Agent 10.0.0.45 2025-02-10 10:13:47,760 - INFO - Validated that VN ctest-vn-07731663 is not in any agent 2025-02-10 10:13:47,774 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-07731663 info 2025-02-10 10:13:48,032 - DEBUG - No XMPP flaps were noticed during the test 2025-02-10 10:13:48,032 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-02-10 10:13:48,032 - INFO - -------------------------------------------------------------------------------- 2025-02-10 10:13:48,689 - INFO - Deleted project: ctest-TestBasicPolicy-21638520, ID : 57b22aef-7433-40d9-8da0-6d0e7d348011