2025-06-19 10:38:22,125 - INFO - Domain Default found not creating 2025-06-19 10:38:22,279 - INFO - Project ctest-TestBasicPolicy-92466342 not found, creating it 2025-06-19 10:38:22,762 - INFO - Created Project:ctest-TestBasicPolicy-92466342, ID : 5f85a1dd-46c6-4287-bf00-81f924a5fc3c 2025-06-19 10:38:24,319 - INFO - ================================================================================ 2025-06-19 10:38:24,320 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-19 10:38:24,320 - 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-19 10:38:24,575 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.14': '0'}} with 2025-06-19 10:38:24,575 - INFO - Initial checks done. Running the testcase now 2025-06-19 10:38:24,575 - INFO - 2025-06-19 10:38:25,152 - DEBUG - Response for create_network : {'network': {'id': '22e7fb07-b118-49d0-9edf-2c2a3ca34e50', 'name': 'ctest-vn-50806425', 'tenant_id': '5f85a1dd46c64287bf0081f924a5fc3c', 'project_id': '5f85a1dd46c64287bf0081f924a5fc3c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92466342', 'ctest-vn-50806425'], 'port_security_enabled': True, 'description': ''}} 2025-06-19 10:38:25,378 - DEBUG - Response for create_subnet : {'subnet': {'id': 'abaad4d6-4800-4507-a968-c1d41a5e2b4e', 'name': '', 'tenant_id': '5f85a1dd46c64287bf0081f924a5fc3c', 'network_id': '22e7fb07-b118-49d0-9edf-2c2a3ca34e50', 'ip_version': 4, 'cidr': '149.189.156.192/26', 'allocation_pools': [{'start': '149.189.156.194', 'end': '149.189.156.254'}], 'gateway_ip': '149.189.156.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.189.156.194', 'tags': [], 'project_id': '5f85a1dd46c64287bf0081f924a5fc3c'}} 2025-06-19 10:38:25,397 - INFO - Created VN ctest-vn-50806425 2025-06-19 10:38:25,449 - DEBUG - VN ctest-vn-50806425 UUID is 22e7fb07-b118-49d0-9edf-2c2a3ca34e50 2025-06-19 10:38:25,752 - DEBUG - Response for create_network : {'network': {'id': '2908c723-7eda-499f-bc4a-ac33581366b1', 'name': 'ctest-vn-60693629', 'tenant_id': '5f85a1dd46c64287bf0081f924a5fc3c', 'project_id': '5f85a1dd46c64287bf0081f924a5fc3c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92466342', 'ctest-vn-60693629'], 'port_security_enabled': True, 'description': ''}} 2025-06-19 10:38:25,927 - DEBUG - Response for create_subnet : {'subnet': {'id': '9065290b-d4b8-403d-bcc4-5195be623290', 'name': '', 'tenant_id': '5f85a1dd46c64287bf0081f924a5fc3c', 'network_id': '2908c723-7eda-499f-bc4a-ac33581366b1', 'ip_version': 4, 'cidr': '188.143.0.64/26', 'allocation_pools': [{'start': '188.143.0.66', 'end': '188.143.0.126'}], 'gateway_ip': '188.143.0.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '188.143.0.66', 'tags': [], 'project_id': '5f85a1dd46c64287bf0081f924a5fc3c'}} 2025-06-19 10:38:25,945 - INFO - Created VN ctest-vn-60693629 2025-06-19 10:38:26,001 - DEBUG - VN ctest-vn-60693629 UUID is 2908c723-7eda-499f-bc4a-ac33581366b1 2025-06-19 10:38:26,118 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-92466342:ctest-vn-50806425, 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-92466342:ctest-vn-60693629, 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-19 10:38:26,429 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '22e7fb07-b118-49d0-9edf-2c2a3ca34e50', 'name': 'ctest-vn-50806425', 'tenant_id': '5f85a1dd46c64287bf0081f924a5fc3c', 'project_id': '5f85a1dd46c64287bf0081f924a5fc3c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['abaad4d6-4800-4507-a968-c1d41a5e2b4e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92466342', 'ctest-vn-50806425'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-92466342', 'ctest-policy-allow-all-48191224']], 'subnet_ipam': [{'subnet_cidr': '149.189.156.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-19 10:38:26,673 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2908c723-7eda-499f-bc4a-ac33581366b1', 'name': 'ctest-vn-60693629', 'tenant_id': '5f85a1dd46c64287bf0081f924a5fc3c', 'project_id': '5f85a1dd46c64287bf0081f924a5fc3c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9065290b-d4b8-403d-bcc4-5195be623290'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92466342', 'ctest-vn-60693629'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-92466342', 'ctest-policy-allow-all-48191224']], 'subnet_ipam': [{'subnet_cidr': '188.143.0.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-19 10:38:26,853 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-06-19 10:38:27,152 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-06-19 10:38:27,191 - DEBUG - Requesting: http://10.0.0.22:8082/domain/07aedad4-36ce-437d-bbd9-4751bf76742c 2025-06-19 10:38:27,208 - DEBUG - Requesting: http://10.0.0.22:8082/project/5f85a1dd-46c6-4287-bf00-81f924a5fc3c 2025-06-19 10:38:27,295 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/22e7fb07-b118-49d0-9edf-2c2a3ca34e50 2025-06-19 10:38:27,312 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/22e7fb07-b118-49d0-9edf-2c2a3ca34e50 2025-06-19 10:38:27,326 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0804bb53-4e19-4122-ac34-35f43297caee 2025-06-19 10:38:27,338 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0804bb53-4e19-4122-ac34-35f43297caee 2025-06-19 10:38:27,350 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/1dae6487-7664-4a55-976c-a791ab272fbf 2025-06-19 10:38:27,359 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-19 10:38:27,359 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/22e7fb07-b118-49d0-9edf-2c2a3ca34e50 2025-06-19 10:38:27,370 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0804bb53-4e19-4122-ac34-35f43297caee 2025-06-19 10:38:27,386 - INFO - Verified VN network id 8 for VN 22e7fb07-b118-49d0-9edf-2c2a3ca34e50 2025-06-19 10:38:27,386 - INFO - Verifications in API Server for VN ctest-vn-50806425 passed 2025-06-19 10:38:27,387 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/22e7fb07-b118-49d0-9edf-2c2a3ca34e50 2025-06-19 10:38:27,402 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0804bb53-4e19-4122-ac34-35f43297caee 2025-06-19 10:38:27,412 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0804bb53-4e19-4122-ac34-35f43297caee 2025-06-19 10:38:27,424 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/1dae6487-7664-4a55-976c-a791ab272fbf 2025-06-19 10:38:27,438 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92466342:ctest-vn-50806425', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92466342', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2515254927364213200', 'uuid-lslong': '11447917337716674128'}, 'enable': 'true', 'created': '2025-06-19T10:38:25', 'last-modified': '2025-06-19T10:38:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.034145'} 2025-06-19 10:38:27,447 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-19 10:38:27,448 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-50806425 passed 2025-06-19 10:38:27,448 - DEBUG - ====Verifying policy data for ctest-vn-50806425 in API_Server ====== 2025-06-19 10:38:27,448 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-06-19 10:38:27,455 - DEBUG - Requesting: http://10.0.0.22:8082/domain/07aedad4-36ce-437d-bbd9-4751bf76742c 2025-06-19 10:38:27,468 - DEBUG - Requesting: http://10.0.0.22:8082/project/5f85a1dd-46c6-4287-bf00-81f924a5fc3c 2025-06-19 10:38:27,542 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/22e7fb07-b118-49d0-9edf-2c2a3ca34e50 2025-06-19 10:38:27,553 - DEBUG - ==>Verifying data for policy with id: c7fe08f5-6341-45cd-a31f-49cb43ec874e, fqn: ['default-domain', 'ctest-TestBasicPolicy-92466342', 'ctest-policy-allow-all-48191224'] 2025-06-19 10:38:27,553 - INFO - VN ctest-vn-50806425 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-19 10:38:27,553 - DEBUG - Verifying the vn in opserver 2025-06-19 10:38:27,553 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92466342:ctest-vn-50806425 virtual network link through opserver 10.0.0.22 2025-06-19 10:38:27,553 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-06-19 10:38:27,852 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-06-19 10:38:27,920 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92466342:ctest-vn-50806425', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92466342:ctest-vn-50806425?flat'} 2025-06-19 10:38:27,920 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-92466342:ctest-vn-50806425 is found in opserver 2025-06-19 10:38:27,934 - DEBUG - Do not have enough data to verify VN in agent 2025-06-19 10:38:27,941 - DEBUG - VRF ids for VN ctest-vn-50806425: {} 2025-06-19 10:38:27,941 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-06-19 10:38:27,947 - DEBUG - Requesting: http://10.0.0.22:8082/domain/07aedad4-36ce-437d-bbd9-4751bf76742c 2025-06-19 10:38:27,960 - DEBUG - Requesting: http://10.0.0.22:8082/project/5f85a1dd-46c6-4287-bf00-81f924a5fc3c 2025-06-19 10:38:28,038 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2908c723-7eda-499f-bc4a-ac33581366b1 2025-06-19 10:38:28,051 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2908c723-7eda-499f-bc4a-ac33581366b1 2025-06-19 10:38:28,063 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b1a791c6-bc16-4c6f-967f-5c2ce59cb9a8 2025-06-19 10:38:28,073 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b1a791c6-bc16-4c6f-967f-5c2ce59cb9a8 2025-06-19 10:38:28,082 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/6a2692ea-acbb-4903-aabb-e025701d8ebd 2025-06-19 10:38:28,091 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-19 10:38:28,091 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2908c723-7eda-499f-bc4a-ac33581366b1 2025-06-19 10:38:28,104 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b1a791c6-bc16-4c6f-967f-5c2ce59cb9a8 2025-06-19 10:38:28,123 - INFO - Verified VN network id 9 for VN 2908c723-7eda-499f-bc4a-ac33581366b1 2025-06-19 10:38:28,124 - INFO - Verifications in API Server for VN ctest-vn-60693629 passed 2025-06-19 10:38:28,124 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2908c723-7eda-499f-bc4a-ac33581366b1 2025-06-19 10:38:28,136 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b1a791c6-bc16-4c6f-967f-5c2ce59cb9a8 2025-06-19 10:38:28,144 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b1a791c6-bc16-4c6f-967f-5c2ce59cb9a8 2025-06-19 10:38:28,153 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/6a2692ea-acbb-4903-aabb-e025701d8ebd 2025-06-19 10:38:28,171 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92466342:ctest-vn-60693629', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92466342', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2956832110634748319', 'uuid-lslong': '13567846163928016561'}, 'enable': 'true', 'created': '2025-06-19T10:38:25', 'last-modified': '2025-06-19T10:38:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.519533'} 2025-06-19 10:38:28,178 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-19 10:38:28,178 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-60693629 passed 2025-06-19 10:38:28,178 - DEBUG - ====Verifying policy data for ctest-vn-60693629 in API_Server ====== 2025-06-19 10:38:28,178 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-06-19 10:38:28,186 - DEBUG - Requesting: http://10.0.0.22:8082/domain/07aedad4-36ce-437d-bbd9-4751bf76742c 2025-06-19 10:38:28,201 - DEBUG - Requesting: http://10.0.0.22:8082/project/5f85a1dd-46c6-4287-bf00-81f924a5fc3c 2025-06-19 10:38:28,284 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2908c723-7eda-499f-bc4a-ac33581366b1 2025-06-19 10:38:28,296 - DEBUG - ==>Verifying data for policy with id: c7fe08f5-6341-45cd-a31f-49cb43ec874e, fqn: ['default-domain', 'ctest-TestBasicPolicy-92466342', 'ctest-policy-allow-all-48191224'] 2025-06-19 10:38:28,296 - INFO - VN ctest-vn-60693629 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-19 10:38:28,296 - DEBUG - Verifying the vn in opserver 2025-06-19 10:38:28,296 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92466342:ctest-vn-60693629 virtual network link through opserver 10.0.0.22 2025-06-19 10:38:28,296 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-06-19 10:38:28,310 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92466342:ctest-vn-60693629', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92466342:ctest-vn-60693629?flat'} 2025-06-19 10:38:28,310 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-92466342:ctest-vn-60693629 is found in opserver 2025-06-19 10:38:28,321 - DEBUG - Do not have enough data to verify VN in agent 2025-06-19 10:38:28,328 - DEBUG - VRF ids for VN ctest-vn-60693629: {} 2025-06-19 10:38:28,386 - DEBUG - Services list from nova: [, , ] 2025-06-19 10:38:29,417 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3490-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3490-1) 2025-06-19 10:38:30,695 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3490-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3490-1) 2025-06-19 10:38:30,695 - INFO - Waiting for VM ctest-TestBasicPolicy-92466342-52300406 to be up.. 2025-06-19 10:38:30,791 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-19 10:38:35,876 - DEBUG - VM is in ACTIVE state now 2025-06-19 10:38:35,876 - INFO - VM name : ctest-TestBasicPolicy-92466342-52300406 2025-06-19 10:38:35,960 - DEBUG - VM ctest-TestBasicPolicy-92466342-52300406 ID is bb11c40c-ca87-4b6c-a5a5-75c68c792285 2025-06-19 10:38:35,979 - DEBUG - VM ctest-TestBasicPolicy-92466342-52300406 launched on Node cn-jenkins-deploy-platform-ansible-os-3490-1 2025-06-19 10:38:36,059 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/bb11c40c-ca87-4b6c-a5a5-75c68c792285 2025-06-19 10:38:36,069 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/ba1fd5f4-bb92-4439-a6cc-2175b78d17d7 2025-06-19 10:38:39,341 - 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 1027ms') 2025-06-19 10:38:39,341 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92466342-52300406 failed! 2025-06-19 10:38:39,397 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-92466342:ctest-vn-50806425 is 149.189.156.193 and allocation pool is NOT set 2025-06-19 10:38:41,459 - 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=8.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.412 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.412/4.627/8.843/4.215 ms') 2025-06-19 10:38:41,460 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92466342-52300406 passed 2025-06-19 10:38:41,613 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 10:38:41,613 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92466342-52300406, IP 149.189.156.195, Port 22 2025-06-19 10:38:41,768 - DEBUG - VM ctest-TestBasicPolicy-92466342-52300406 is ready for SSH connections 2025-06-19 10:38:41,768 - INFO - Waiting for VM ctest-TestBasicPolicy-92466342-80569698 to be up.. 2025-06-19 10:38:41,884 - DEBUG - VM is in ACTIVE state now 2025-06-19 10:38:41,884 - INFO - VM name : ctest-TestBasicPolicy-92466342-80569698 2025-06-19 10:38:42,039 - DEBUG - VM ctest-TestBasicPolicy-92466342-80569698 ID is a011ead0-b9ef-4223-bf15-2e3f348eb42b 2025-06-19 10:38:42,039 - DEBUG - VM ctest-TestBasicPolicy-92466342-80569698 launched on Node cn-jenkins-deploy-platform-ansible-os-3490-1 2025-06-19 10:38:42,233 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/a011ead0-b9ef-4223-bf15-2e3f348eb42b 2025-06-19 10:38:42,283 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/38de54e2-55cb-4410-a9a1-b887ad9daee9 2025-06-19 10:38:43,562 - 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=4.27 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.514 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.514/2.391/4.269/1.877 ms') 2025-06-19 10:38:43,562 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-92466342-80569698 passed 2025-06-19 10:38:43,713 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 10:38:43,713 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92466342-80569698, IP 188.143.0.67, Port 22 2025-06-19 10:38:43,873 - DEBUG - VM ctest-TestBasicPolicy-92466342-80569698 is ready for SSH connections 2025-06-19 10:38:43,873 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 10:38:43,873 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 188.143.0.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-06-19 10:38:43,874 - DEBUG - ping -s 56 -c 3 -W 1 188.143.0.67 2025-06-19 10:38:47,541 - DEBUG - PING 188.143.0.67 (188.143.0.67): 56 data bytes 64 bytes from 188.143.0.67: seq=0 ttl=63 time=4.097 ms 64 bytes from 188.143.0.67: seq=1 ttl=63 time=1.013 ms 64 bytes from 188.143.0.67: seq=2 ttl=63 time=0.937 ms --- 188.143.0.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.937/2.015/4.097 ms 2025-06-19 10:38:47,541 - INFO - Ping to IP 188.143.0.67 from VM ctest-TestBasicPolicy-92466342-52300406 passed 2025-06-19 10:38:47,729 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c7fe08f5-6341-45cd-a31f-49cb43ec874e", "href": "http://10.0.0.22:8082/network-policy/c7fe08f5-6341-45cd-a31f-49cb43ec874e"}} 2025-06-19 10:38:47,729 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 10:38:47,730 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 188.143.0.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-06-19 10:38:47,730 - DEBUG - ping -s 56 -c 3 -W 1 188.143.0.67 2025-06-19 10:38:50,942 - DEBUG - PING 188.143.0.67 (188.143.0.67): 56 data bytes 64 bytes from 188.143.0.67: seq=0 ttl=63 time=1.430 ms --- 188.143.0.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.430/1.430/1.430 ms 2025-06-19 10:38:50,942 - WARNING - Ping to IP 188.143.0.67 from VM ctest-TestBasicPolicy-92466342-52300406 failed 2025-06-19 10:38:50,942 - INFO - Deleting VM ctest-TestBasicPolicy-92466342-80569698 2025-06-19 10:38:51,013 - INFO - Deleting VM ctest-TestBasicPolicy-92466342-52300406 2025-06-19 10:38:51,439 - INFO - Deleted policy ctest-policy-allow-all-48191224 2025-06-19 10:38:51,439 - INFO - Deleting VN ctest-vn-60693629 2025-06-19 10:38:51,478 - DEBUG - VN 2908c723-7eda-499f-bc4a-ac33581366b1 still in use: Unable to complete operation on network 2908c723-7eda-499f-bc4a-ac33581366b1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-987d2619-4cdb-4919-800c-8d996a0358ea'] 2025-06-19 10:38:51,478 - WARNING - Deleting VN ctest-vn-60693629 failed..Will retry 2025-06-19 10:38:53,592 - DEBUG - Response for deleting network () 2025-06-19 10:38:53,592 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b1a791c6-bc16-4c6f-967f-5c2ce59cb9a8 2025-06-19 10:38:53,603 - DEBUG - Response Code: 404 2025-06-19 10:38:53,603 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-06-19 10:38:53,612 - DEBUG - Requesting: http://10.0.0.22:8082/domain/07aedad4-36ce-437d-bbd9-4751bf76742c 2025-06-19 10:38:53,672 - DEBUG - Requesting: http://10.0.0.22:8082/project/5f85a1dd-46c6-4287-bf00-81f924a5fc3c 2025-06-19 10:38:53,747 - INFO - Validated that VN ctest-vn-60693629 is not found in API Server 2025-06-19 10:38:53,760 - DEBUG - VN ctest-vn-60693629 is not present in Agent 10.0.0.22 2025-06-19 10:38:53,760 - INFO - Validated that VN ctest-vn-60693629 is not in any agent 2025-06-19 10:38:53,778 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-60693629 info 2025-06-19 10:38:53,778 - INFO - Deleting VN ctest-vn-50806425 2025-06-19 10:38:53,881 - DEBUG - Response for deleting network () 2025-06-19 10:38:53,882 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0804bb53-4e19-4122-ac34-35f43297caee 2025-06-19 10:38:53,887 - DEBUG - Response Code: 404 2025-06-19 10:38:53,887 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-06-19 10:38:53,892 - DEBUG - Requesting: http://10.0.0.22:8082/domain/07aedad4-36ce-437d-bbd9-4751bf76742c 2025-06-19 10:38:53,951 - DEBUG - Requesting: http://10.0.0.22:8082/project/5f85a1dd-46c6-4287-bf00-81f924a5fc3c 2025-06-19 10:38:54,024 - INFO - Validated that VN ctest-vn-50806425 is not found in API Server 2025-06-19 10:38:54,036 - DEBUG - VN ctest-vn-50806425 is not present in Agent 10.0.0.22 2025-06-19 10:38:54,036 - INFO - Validated that VN ctest-vn-50806425 is not in any agent 2025-06-19 10:38:54,053 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-50806425 info 2025-06-19 10:38:54,308 - DEBUG - No XMPP flaps were noticed during the test 2025-06-19 10:38:54,308 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-06-19 10:38:54,308 - INFO - -------------------------------------------------------------------------------- 2025-06-19 10:38:55,002 - INFO - Deleted project: ctest-TestBasicPolicy-92466342, ID : 5f85a1dd-46c6-4287-bf00-81f924a5fc3c