2025-11-04 17:09:08,537 - INFO - Domain Default found not creating 2025-11-04 17:09:08,669 - INFO - Project ctest-TestBasicPolicy-96515780 not found, creating it 2025-11-04 17:09:09,095 - INFO - Created Project:ctest-TestBasicPolicy-96515780, ID : 948c5eda-cd60-46f9-83bb-858794101987 2025-11-04 17:09:10,609 - INFO - ================================================================================ 2025-11-04 17:09:10,609 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-04 17:09:10,609 - 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-11-04 17:09:10,863 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2025-11-04 17:09:10,863 - INFO - Initial checks done. Running the testcase now 2025-11-04 17:09:10,863 - INFO - 2025-11-04 17:09:11,397 - DEBUG - Response for create_network : {'network': {'id': 'dc2fb522-a073-4102-a68e-c6ae61ef0144', 'name': 'ctest-vn-06819878', 'tenant_id': '948c5edacd6046f983bb858794101987', 'project_id': '948c5edacd6046f983bb858794101987', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96515780', 'ctest-vn-06819878'], 'port_security_enabled': True, 'description': ''}} 2025-11-04 17:09:11,588 - DEBUG - Response for create_subnet : {'subnet': {'id': '32314605-e903-45f2-9113-9c074b678326', 'name': '', 'tenant_id': '948c5edacd6046f983bb858794101987', 'network_id': 'dc2fb522-a073-4102-a68e-c6ae61ef0144', 'ip_version': 4, 'cidr': '38.105.75.64/26', 'allocation_pools': [{'start': '38.105.75.66', 'end': '38.105.75.126'}], 'gateway_ip': '38.105.75.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '38.105.75.66', 'tags': [], 'project_id': '948c5edacd6046f983bb858794101987'}} 2025-11-04 17:09:11,603 - INFO - Created VN ctest-vn-06819878 2025-11-04 17:09:11,653 - DEBUG - VN ctest-vn-06819878 UUID is dc2fb522-a073-4102-a68e-c6ae61ef0144 2025-11-04 17:09:11,942 - DEBUG - Response for create_network : {'network': {'id': '41b6b8d3-08a7-4dfd-b263-dd5eeed9d2f2', 'name': 'ctest-vn-33483965', 'tenant_id': '948c5edacd6046f983bb858794101987', 'project_id': '948c5edacd6046f983bb858794101987', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96515780', 'ctest-vn-33483965'], 'port_security_enabled': True, 'description': ''}} 2025-11-04 17:09:12,134 - DEBUG - Response for create_subnet : {'subnet': {'id': 'de2db99e-c6e3-4e8f-a159-c6b214a05431', 'name': '', 'tenant_id': '948c5edacd6046f983bb858794101987', 'network_id': '41b6b8d3-08a7-4dfd-b263-dd5eeed9d2f2', 'ip_version': 4, 'cidr': '146.179.190.128/26', 'allocation_pools': [{'start': '146.179.190.130', 'end': '146.179.190.190'}], 'gateway_ip': '146.179.190.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.179.190.130', 'tags': [], 'project_id': '948c5edacd6046f983bb858794101987'}} 2025-11-04 17:09:12,151 - INFO - Created VN ctest-vn-33483965 2025-11-04 17:09:12,201 - DEBUG - VN ctest-vn-33483965 UUID is 41b6b8d3-08a7-4dfd-b263-dd5eeed9d2f2 2025-11-04 17:09:12,353 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-96515780:ctest-vn-06819878, 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-96515780:ctest-vn-33483965, 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-11-04 17:09:12,630 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'dc2fb522-a073-4102-a68e-c6ae61ef0144', 'name': 'ctest-vn-06819878', 'tenant_id': '948c5edacd6046f983bb858794101987', 'project_id': '948c5edacd6046f983bb858794101987', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['32314605-e903-45f2-9113-9c074b678326'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96515780', 'ctest-vn-06819878'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96515780', 'ctest-policy-allow-all-53502834']], 'subnet_ipam': [{'subnet_cidr': '38.105.75.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-04 17:09:12,849 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '41b6b8d3-08a7-4dfd-b263-dd5eeed9d2f2', 'name': 'ctest-vn-33483965', 'tenant_id': '948c5edacd6046f983bb858794101987', 'project_id': '948c5edacd6046f983bb858794101987', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['de2db99e-c6e3-4e8f-a159-c6b214a05431'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96515780', 'ctest-vn-33483965'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96515780', 'ctest-policy-allow-all-53502834']], 'subnet_ipam': [{'subnet_cidr': '146.179.190.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-04 17:09:13,001 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-04 17:09:13,318 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-04 17:09:13,342 - DEBUG - Requesting: http://10.0.0.22:8082/domain/7bd482da-67f0-4209-9057-9d2ffb000f9b 2025-11-04 17:09:13,354 - DEBUG - Requesting: http://10.0.0.22:8082/project/948c5eda-cd60-46f9-83bb-858794101987 2025-11-04 17:09:13,430 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/dc2fb522-a073-4102-a68e-c6ae61ef0144 2025-11-04 17:09:13,439 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/dc2fb522-a073-4102-a68e-c6ae61ef0144 2025-11-04 17:09:13,447 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/575589f3-f93f-46f4-9045-f74ee5d8a85e 2025-11-04 17:09:13,454 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/575589f3-f93f-46f4-9045-f74ee5d8a85e 2025-11-04 17:09:13,460 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/628eb9f9-0a5e-43f7-8b40-de7fb9f2e8a8 2025-11-04 17:09:13,466 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-04 17:09:13,466 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/dc2fb522-a073-4102-a68e-c6ae61ef0144 2025-11-04 17:09:13,474 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/575589f3-f93f-46f4-9045-f74ee5d8a85e 2025-11-04 17:09:13,485 - INFO - Verified VN network id 11 for VN dc2fb522-a073-4102-a68e-c6ae61ef0144 2025-11-04 17:09:13,486 - INFO - Verifications in API Server for VN ctest-vn-06819878 passed 2025-11-04 17:09:13,486 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/dc2fb522-a073-4102-a68e-c6ae61ef0144 2025-11-04 17:09:13,493 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/575589f3-f93f-46f4-9045-f74ee5d8a85e 2025-11-04 17:09:13,500 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/575589f3-f93f-46f4-9045-f74ee5d8a85e 2025-11-04 17:09:13,506 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/628eb9f9-0a5e-43f7-8b40-de7fb9f2e8a8 2025-11-04 17:09:13,516 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96515780:ctest-vn-06819878', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96515780', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15866099172574970114', 'uuid-lslong': '12001748509258613060'}, 'enable': 'true', 'created': '2025-11-04T17:09:11', 'last-modified': '2025-11-04T17:09:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.905298'} 2025-11-04 17:09:13,522 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-04 17:09:13,522 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-06819878 passed 2025-11-04 17:09:13,522 - DEBUG - ====Verifying policy data for ctest-vn-06819878 in API_Server ====== 2025-11-04 17:09:13,522 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-04 17:09:13,527 - DEBUG - Requesting: http://10.0.0.22:8082/domain/7bd482da-67f0-4209-9057-9d2ffb000f9b 2025-11-04 17:09:13,536 - DEBUG - Requesting: http://10.0.0.22:8082/project/948c5eda-cd60-46f9-83bb-858794101987 2025-11-04 17:09:13,604 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/dc2fb522-a073-4102-a68e-c6ae61ef0144 2025-11-04 17:09:13,612 - DEBUG - ==>Verifying data for policy with id: fadea267-d879-42ec-b997-405c29985326, fqn: ['default-domain', 'ctest-TestBasicPolicy-96515780', 'ctest-policy-allow-all-53502834'] 2025-11-04 17:09:13,612 - INFO - VN ctest-vn-06819878 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-04 17:09:13,613 - DEBUG - Verifying the vn in opserver 2025-11-04 17:09:13,613 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96515780:ctest-vn-06819878 virtual network link through opserver 10.0.0.22 2025-11-04 17:09:13,613 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-11-04 17:09:13,924 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-11-04 17:09:13,973 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96515780:ctest-vn-06819878', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96515780:ctest-vn-06819878?flat'} 2025-11-04 17:09:13,973 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96515780:ctest-vn-06819878 is found in opserver 2025-11-04 17:09:13,981 - DEBUG - Do not have enough data to verify VN in agent 2025-11-04 17:09:13,985 - DEBUG - VRF ids for VN ctest-vn-06819878: {} 2025-11-04 17:09:13,985 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-04 17:09:13,990 - DEBUG - Requesting: http://10.0.0.22:8082/domain/7bd482da-67f0-4209-9057-9d2ffb000f9b 2025-11-04 17:09:13,999 - DEBUG - Requesting: http://10.0.0.22:8082/project/948c5eda-cd60-46f9-83bb-858794101987 2025-11-04 17:09:14,065 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/41b6b8d3-08a7-4dfd-b263-dd5eeed9d2f2 2025-11-04 17:09:14,076 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/41b6b8d3-08a7-4dfd-b263-dd5eeed9d2f2 2025-11-04 17:09:14,085 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/36fb7596-0432-44a7-b6bb-1958abf35762 2025-11-04 17:09:14,092 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/36fb7596-0432-44a7-b6bb-1958abf35762 2025-11-04 17:09:14,098 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/2033b3de-399d-4ffc-9fa3-2f209a2e1d77 2025-11-04 17:09:14,103 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-04 17:09:14,103 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/41b6b8d3-08a7-4dfd-b263-dd5eeed9d2f2 2025-11-04 17:09:14,111 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/36fb7596-0432-44a7-b6bb-1958abf35762 2025-11-04 17:09:14,124 - INFO - Verified VN network id 12 for VN 41b6b8d3-08a7-4dfd-b263-dd5eeed9d2f2 2025-11-04 17:09:14,125 - INFO - Verifications in API Server for VN ctest-vn-33483965 passed 2025-11-04 17:09:14,125 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/41b6b8d3-08a7-4dfd-b263-dd5eeed9d2f2 2025-11-04 17:09:14,133 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/36fb7596-0432-44a7-b6bb-1958abf35762 2025-11-04 17:09:14,139 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/36fb7596-0432-44a7-b6bb-1958abf35762 2025-11-04 17:09:14,146 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/2033b3de-399d-4ffc-9fa3-2f209a2e1d77 2025-11-04 17:09:14,157 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96515780:ctest-vn-33483965', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96515780', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4735175274749447677', 'uuid-lslong': '12854361161249444594'}, 'enable': 'true', 'created': '2025-11-04T17:09:11', 'last-modified': '2025-11-04T17:09:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.326912'} 2025-11-04 17:09:14,161 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-04 17:09:14,162 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-33483965 passed 2025-11-04 17:09:14,162 - DEBUG - ====Verifying policy data for ctest-vn-33483965 in API_Server ====== 2025-11-04 17:09:14,162 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-04 17:09:14,168 - DEBUG - Requesting: http://10.0.0.22:8082/domain/7bd482da-67f0-4209-9057-9d2ffb000f9b 2025-11-04 17:09:14,179 - DEBUG - Requesting: http://10.0.0.22:8082/project/948c5eda-cd60-46f9-83bb-858794101987 2025-11-04 17:09:14,246 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/41b6b8d3-08a7-4dfd-b263-dd5eeed9d2f2 2025-11-04 17:09:14,254 - DEBUG - ==>Verifying data for policy with id: fadea267-d879-42ec-b997-405c29985326, fqn: ['default-domain', 'ctest-TestBasicPolicy-96515780', 'ctest-policy-allow-all-53502834'] 2025-11-04 17:09:14,254 - INFO - VN ctest-vn-33483965 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-04 17:09:14,254 - DEBUG - Verifying the vn in opserver 2025-11-04 17:09:14,254 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96515780:ctest-vn-33483965 virtual network link through opserver 10.0.0.22 2025-11-04 17:09:14,254 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-11-04 17:09:14,263 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96515780:ctest-vn-33483965', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96515780:ctest-vn-33483965?flat'} 2025-11-04 17:09:14,263 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96515780:ctest-vn-33483965 is found in opserver 2025-11-04 17:09:14,271 - DEBUG - Do not have enough data to verify VN in agent 2025-11-04 17:09:14,275 - DEBUG - VRF ids for VN ctest-vn-33483965: {} 2025-11-04 17:09:14,330 - DEBUG - Services list from nova: [, , ] 2025-11-04 17:09:15,327 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4619-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4619-1) 2025-11-04 17:09:16,409 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4619-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4619-1) 2025-11-04 17:09:16,409 - INFO - Waiting for VM ctest-TestBasicPolicy-96515780-12394864 to be up.. 2025-11-04 17:09:16,482 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-04 17:09:21,549 - DEBUG - VM is in ACTIVE state now 2025-11-04 17:09:21,549 - INFO - VM name : ctest-TestBasicPolicy-96515780-12394864 2025-11-04 17:09:21,613 - DEBUG - VM ctest-TestBasicPolicy-96515780-12394864 ID is 2e751cb1-95a1-4a37-a703-5ef425343e48 2025-11-04 17:09:21,631 - DEBUG - VM ctest-TestBasicPolicy-96515780-12394864 launched on Node cn-jenkins-deploy-platform-ansible-os-4619-1 2025-11-04 17:09:21,692 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/2e751cb1-95a1-4a37-a703-5ef425343e48 2025-11-04 17:09:21,700 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/6ce21e84-f084-4cd4-b726-7c01ad64cdf6 2025-11-04 17:09:24,957 - 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=2 ttl=63 time=8.95 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1031ms\r\nrtt min/avg/max/mdev = 8.951/8.951/8.951/0.000 ms') 2025-11-04 17:09:24,957 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-96515780-12394864 passed 2025-11-04 17:09:25,106 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 17:09:25,106 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-96515780-12394864, IP 38.105.75.67, Port 22 2025-11-04 17:09:25,285 - DEBUG - VM ctest-TestBasicPolicy-96515780-12394864 is ready for SSH connections 2025-11-04 17:09:25,285 - INFO - Waiting for VM ctest-TestBasicPolicy-96515780-16371305 to be up.. 2025-11-04 17:09:25,355 - DEBUG - VM is in ACTIVE state now 2025-11-04 17:09:25,355 - INFO - VM name : ctest-TestBasicPolicy-96515780-16371305 2025-11-04 17:09:25,426 - DEBUG - VM ctest-TestBasicPolicy-96515780-16371305 ID is d86f95b2-d307-4a95-8620-f7acbea3561a 2025-11-04 17:09:25,426 - DEBUG - VM ctest-TestBasicPolicy-96515780-16371305 launched on Node cn-jenkins-deploy-platform-ansible-os-4619-1 2025-11-04 17:09:25,491 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/d86f95b2-d307-4a95-8620-f7acbea3561a 2025-11-04 17:09:25,499 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/0b9fc4da-544b-497b-a194-af5e72151a4e 2025-11-04 17:09:26,725 - 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.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.428 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.428/1.596/2.765/1.168 ms') 2025-11-04 17:09:26,725 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-96515780-16371305 passed 2025-11-04 17:09:26,873 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 17:09:26,873 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-96515780-16371305, IP 146.179.190.131, Port 22 2025-11-04 17:09:27,033 - DEBUG - VM ctest-TestBasicPolicy-96515780-16371305 is ready for SSH connections 2025-11-04 17:09:27,033 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 17:09:27,033 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 146.179.190.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-04 17:09:27,033 - DEBUG - ping -s 56 -c 3 -W 1 146.179.190.131 2025-11-04 17:09:30,620 - DEBUG - PING 146.179.190.131 (146.179.190.131): 56 data bytes 64 bytes from 146.179.190.131: seq=0 ttl=63 time=3.383 ms 64 bytes from 146.179.190.131: seq=1 ttl=63 time=1.021 ms 64 bytes from 146.179.190.131: seq=2 ttl=63 time=1.077 ms --- 146.179.190.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.021/1.827/3.383 ms 2025-11-04 17:09:30,620 - INFO - Ping to IP 146.179.190.131 from VM ctest-TestBasicPolicy-96515780-12394864 passed 2025-11-04 17:09:30,793 - DEBUG - Policy Update Response {"network-policy": {"uuid": "fadea267-d879-42ec-b997-405c29985326", "href": "http://10.0.0.22:8082/network-policy/fadea267-d879-42ec-b997-405c29985326"}} 2025-11-04 17:09:30,793 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 17:09:30,794 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 146.179.190.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-04 17:09:30,794 - DEBUG - ping -s 56 -c 3 -W 1 146.179.190.131 2025-11-04 17:09:33,906 - DEBUG - PING 146.179.190.131 (146.179.190.131): 56 data bytes --- 146.179.190.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-04 17:09:33,906 - WARNING - Ping to IP 146.179.190.131 from VM ctest-TestBasicPolicy-96515780-12394864 failed 2025-11-04 17:09:33,906 - INFO - Deleting VM ctest-TestBasicPolicy-96515780-16371305 2025-11-04 17:09:33,971 - INFO - Deleting VM ctest-TestBasicPolicy-96515780-12394864 2025-11-04 17:09:34,292 - INFO - Deleted policy ctest-policy-allow-all-53502834 2025-11-04 17:09:34,293 - INFO - Deleting VN ctest-vn-33483965 2025-11-04 17:09:34,329 - DEBUG - VN 41b6b8d3-08a7-4dfd-b263-dd5eeed9d2f2 still in use: Unable to complete operation on network 41b6b8d3-08a7-4dfd-b263-dd5eeed9d2f2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-20918858-e4f4-4310-85f7-4b5b3192f8a3'] 2025-11-04 17:09:34,329 - WARNING - Deleting VN ctest-vn-33483965 failed..Will retry 2025-11-04 17:09:36,421 - DEBUG - Response for deleting network () 2025-11-04 17:09:36,421 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/36fb7596-0432-44a7-b6bb-1958abf35762 2025-11-04 17:09:36,426 - DEBUG - Response Code: 404 2025-11-04 17:09:36,426 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-04 17:09:36,431 - DEBUG - Requesting: http://10.0.0.22:8082/domain/7bd482da-67f0-4209-9057-9d2ffb000f9b 2025-11-04 17:09:36,486 - DEBUG - Requesting: http://10.0.0.22:8082/project/948c5eda-cd60-46f9-83bb-858794101987 2025-11-04 17:09:36,557 - INFO - Validated that VN ctest-vn-33483965 is not found in API Server 2025-11-04 17:09:36,566 - DEBUG - VN ctest-vn-33483965 is not present in Agent 10.0.0.22 2025-11-04 17:09:36,566 - INFO - Validated that VN ctest-vn-33483965 is not in any agent 2025-11-04 17:09:36,578 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-33483965 info 2025-11-04 17:09:36,578 - INFO - Deleting VN ctest-vn-06819878 2025-11-04 17:09:36,666 - DEBUG - Response for deleting network () 2025-11-04 17:09:36,667 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/575589f3-f93f-46f4-9045-f74ee5d8a85e 2025-11-04 17:09:36,670 - DEBUG - Response Code: 404 2025-11-04 17:09:36,671 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-04 17:09:36,677 - DEBUG - Requesting: http://10.0.0.22:8082/domain/7bd482da-67f0-4209-9057-9d2ffb000f9b 2025-11-04 17:09:36,730 - DEBUG - Requesting: http://10.0.0.22:8082/project/948c5eda-cd60-46f9-83bb-858794101987 2025-11-04 17:09:36,798 - INFO - Validated that VN ctest-vn-06819878 is not found in API Server 2025-11-04 17:09:36,807 - DEBUG - VN ctest-vn-06819878 is not present in Agent 10.0.0.22 2025-11-04 17:09:36,807 - INFO - Validated that VN ctest-vn-06819878 is not in any agent 2025-11-04 17:09:36,822 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-06819878 info 2025-11-04 17:09:37,074 - DEBUG - No XMPP flaps were noticed during the test 2025-11-04 17:09:37,074 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:27] 2025-11-04 17:09:37,074 - INFO - -------------------------------------------------------------------------------- 2025-11-04 17:09:37,796 - INFO - Deleted project: ctest-TestBasicPolicy-96515780, ID : 948c5eda-cd60-46f9-83bb-858794101987