2025-08-18 15:38:28,481 - INFO - Domain Default found not creating 2025-08-18 15:38:28,617 - INFO - Project ctest-TestBasicPolicy-66821602 not found, creating it 2025-08-18 15:38:29,065 - INFO - Created Project:ctest-TestBasicPolicy-66821602, ID : 52cfe692-d17d-406c-8685-634ea6a92adc 2025-08-18 15:38:30,591 - INFO - ================================================================================ 2025-08-18 15:38:30,592 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-18 15:38:30,592 - 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-08-18 15:38:30,855 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.0.0.254': '0'}} with 2025-08-18 15:38:30,855 - INFO - Initial checks done. Running the testcase now 2025-08-18 15:38:30,855 - INFO - 2025-08-18 15:38:31,443 - DEBUG - Response for create_network : {'network': {'id': '481ee27c-5feb-4291-8530-841a5fb3fc3f', 'name': 'ctest-vn-04928045', 'tenant_id': '52cfe692d17d406c8685634ea6a92adc', 'project_id': '52cfe692d17d406c8685634ea6a92adc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66821602', 'ctest-vn-04928045'], 'port_security_enabled': True, 'description': ''}} 2025-08-18 15:38:31,639 - DEBUG - Response for create_subnet : {'subnet': {'id': '49d1f0c8-3b05-48a2-85e4-21a1ce79ca3e', 'name': '', 'tenant_id': '52cfe692d17d406c8685634ea6a92adc', 'network_id': '481ee27c-5feb-4291-8530-841a5fb3fc3f', 'ip_version': 4, 'cidr': '94.219.12.0/26', 'allocation_pools': [{'start': '94.219.12.2', 'end': '94.219.12.62'}], 'gateway_ip': '94.219.12.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.219.12.2', 'tags': [], 'project_id': '52cfe692d17d406c8685634ea6a92adc'}} 2025-08-18 15:38:31,656 - INFO - Created VN ctest-vn-04928045 2025-08-18 15:38:31,714 - DEBUG - VN ctest-vn-04928045 UUID is 481ee27c-5feb-4291-8530-841a5fb3fc3f 2025-08-18 15:38:32,028 - DEBUG - Response for create_network : {'network': {'id': '10ad2d80-9bbf-4c72-a9b3-01c51d158f2a', 'name': 'ctest-vn-07258853', 'tenant_id': '52cfe692d17d406c8685634ea6a92adc', 'project_id': '52cfe692d17d406c8685634ea6a92adc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66821602', 'ctest-vn-07258853'], 'port_security_enabled': True, 'description': ''}} 2025-08-18 15:38:32,195 - DEBUG - Response for create_subnet : {'subnet': {'id': '49914ea7-1993-4b7b-ad97-c4d127bfac44', 'name': '', 'tenant_id': '52cfe692d17d406c8685634ea6a92adc', 'network_id': '10ad2d80-9bbf-4c72-a9b3-01c51d158f2a', 'ip_version': 4, 'cidr': '47.244.38.128/26', 'allocation_pools': [{'start': '47.244.38.130', 'end': '47.244.38.190'}], 'gateway_ip': '47.244.38.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.244.38.130', 'tags': [], 'project_id': '52cfe692d17d406c8685634ea6a92adc'}} 2025-08-18 15:38:32,210 - INFO - Created VN ctest-vn-07258853 2025-08-18 15:38:32,266 - DEBUG - VN ctest-vn-07258853 UUID is 10ad2d80-9bbf-4c72-a9b3-01c51d158f2a 2025-08-18 15:38:32,413 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-66821602:ctest-vn-04928045, 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-66821602:ctest-vn-07258853, 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-08-18 15:38:32,715 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '481ee27c-5feb-4291-8530-841a5fb3fc3f', 'name': 'ctest-vn-04928045', 'tenant_id': '52cfe692d17d406c8685634ea6a92adc', 'project_id': '52cfe692d17d406c8685634ea6a92adc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['49d1f0c8-3b05-48a2-85e4-21a1ce79ca3e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66821602', 'ctest-vn-04928045'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66821602', 'ctest-policy-allow-all-01970222']], 'subnet_ipam': [{'subnet_cidr': '94.219.12.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-18 15:38:32,950 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '10ad2d80-9bbf-4c72-a9b3-01c51d158f2a', 'name': 'ctest-vn-07258853', 'tenant_id': '52cfe692d17d406c8685634ea6a92adc', 'project_id': '52cfe692d17d406c8685634ea6a92adc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['49914ea7-1993-4b7b-ad97-c4d127bfac44'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66821602', 'ctest-vn-07258853'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66821602', 'ctest-policy-allow-all-01970222']], 'subnet_ipam': [{'subnet_cidr': '47.244.38.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-18 15:38:33,114 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-18 15:38:33,452 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-18 15:38:33,477 - DEBUG - Requesting: http://10.0.0.254:8082/domain/67a90816-2578-402f-949d-5a9c19611215 2025-08-18 15:38:33,488 - DEBUG - Requesting: http://10.0.0.254:8082/project/52cfe692-d17d-406c-8685-634ea6a92adc 2025-08-18 15:38:33,562 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/481ee27c-5feb-4291-8530-841a5fb3fc3f 2025-08-18 15:38:33,571 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/481ee27c-5feb-4291-8530-841a5fb3fc3f 2025-08-18 15:38:33,579 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/93c864c3-84ac-4704-85d0-7c53a25e058e 2025-08-18 15:38:33,585 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/93c864c3-84ac-4704-85d0-7c53a25e058e 2025-08-18 15:38:33,590 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/1335ca06-5f33-467d-9188-ff811d346684 2025-08-18 15:38:33,595 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-18 15:38:33,595 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/481ee27c-5feb-4291-8530-841a5fb3fc3f 2025-08-18 15:38:33,603 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/93c864c3-84ac-4704-85d0-7c53a25e058e 2025-08-18 15:38:33,614 - INFO - Verified VN network id 11 for VN 481ee27c-5feb-4291-8530-841a5fb3fc3f 2025-08-18 15:38:33,614 - INFO - Verifications in API Server for VN ctest-vn-04928045 passed 2025-08-18 15:38:33,614 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/481ee27c-5feb-4291-8530-841a5fb3fc3f 2025-08-18 15:38:33,623 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/93c864c3-84ac-4704-85d0-7c53a25e058e 2025-08-18 15:38:33,628 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/93c864c3-84ac-4704-85d0-7c53a25e058e 2025-08-18 15:38:33,633 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/1335ca06-5f33-467d-9188-ff811d346684 2025-08-18 15:38:33,642 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66821602:ctest-vn-04928045', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66821602', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5196840043845206673', 'uuid-lslong': '9597316054736174143'}, 'enable': 'true', 'created': '2025-08-18T15:38:31', 'last-modified': '2025-08-18T15:38:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.954016'} 2025-08-18 15:38:33,648 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-18 15:38:33,649 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04928045 passed 2025-08-18 15:38:33,649 - DEBUG - ====Verifying policy data for ctest-vn-04928045 in API_Server ====== 2025-08-18 15:38:33,649 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-18 15:38:33,654 - DEBUG - Requesting: http://10.0.0.254:8082/domain/67a90816-2578-402f-949d-5a9c19611215 2025-08-18 15:38:33,665 - DEBUG - Requesting: http://10.0.0.254:8082/project/52cfe692-d17d-406c-8685-634ea6a92adc 2025-08-18 15:38:33,736 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/481ee27c-5feb-4291-8530-841a5fb3fc3f 2025-08-18 15:38:33,745 - DEBUG - ==>Verifying data for policy with id: ea75cd04-b19b-493c-aa75-53684011118a, fqn: ['default-domain', 'ctest-TestBasicPolicy-66821602', 'ctest-policy-allow-all-01970222'] 2025-08-18 15:38:33,745 - INFO - VN ctest-vn-04928045 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-18 15:38:33,745 - DEBUG - Verifying the vn in opserver 2025-08-18 15:38:33,745 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66821602:ctest-vn-04928045 virtual network link through opserver 10.0.0.254 2025-08-18 15:38:33,745 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-18 15:38:34,077 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-18 15:38:34,128 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66821602:ctest-vn-04928045', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66821602:ctest-vn-04928045?flat'} 2025-08-18 15:38:34,128 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66821602:ctest-vn-04928045 is found in opserver 2025-08-18 15:38:34,137 - DEBUG - Do not have enough data to verify VN in agent 2025-08-18 15:38:34,141 - DEBUG - VRF ids for VN ctest-vn-04928045: {} 2025-08-18 15:38:34,141 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-18 15:38:34,145 - DEBUG - Requesting: http://10.0.0.254:8082/domain/67a90816-2578-402f-949d-5a9c19611215 2025-08-18 15:38:34,155 - DEBUG - Requesting: http://10.0.0.254:8082/project/52cfe692-d17d-406c-8685-634ea6a92adc 2025-08-18 15:38:34,227 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/10ad2d80-9bbf-4c72-a9b3-01c51d158f2a 2025-08-18 15:38:34,237 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/10ad2d80-9bbf-4c72-a9b3-01c51d158f2a 2025-08-18 15:38:34,245 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1d63f677-5af2-407e-9a84-6e8b30a261be 2025-08-18 15:38:34,251 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1d63f677-5af2-407e-9a84-6e8b30a261be 2025-08-18 15:38:34,257 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/726484a6-df6d-4894-acec-91c9afb9e315 2025-08-18 15:38:34,263 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-18 15:38:34,263 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/10ad2d80-9bbf-4c72-a9b3-01c51d158f2a 2025-08-18 15:38:34,271 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1d63f677-5af2-407e-9a84-6e8b30a261be 2025-08-18 15:38:34,282 - INFO - Verified VN network id 12 for VN 10ad2d80-9bbf-4c72-a9b3-01c51d158f2a 2025-08-18 15:38:34,282 - INFO - Verifications in API Server for VN ctest-vn-07258853 passed 2025-08-18 15:38:34,282 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/10ad2d80-9bbf-4c72-a9b3-01c51d158f2a 2025-08-18 15:38:34,294 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1d63f677-5af2-407e-9a84-6e8b30a261be 2025-08-18 15:38:34,301 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1d63f677-5af2-407e-9a84-6e8b30a261be 2025-08-18 15:38:34,311 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/726484a6-df6d-4894-acec-91c9afb9e315 2025-08-18 15:38:34,329 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66821602:ctest-vn-07258853', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66821602', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1201666705969859698', 'uuid-lslong': '12228119359349165866'}, 'enable': 'true', 'created': '2025-08-18T15:38:31', 'last-modified': '2025-08-18T15:38:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.405392'} 2025-08-18 15:38:34,335 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-18 15:38:34,335 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07258853 passed 2025-08-18 15:38:34,335 - DEBUG - ====Verifying policy data for ctest-vn-07258853 in API_Server ====== 2025-08-18 15:38:34,335 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-18 15:38:34,340 - DEBUG - Requesting: http://10.0.0.254:8082/domain/67a90816-2578-402f-949d-5a9c19611215 2025-08-18 15:38:34,349 - DEBUG - Requesting: http://10.0.0.254:8082/project/52cfe692-d17d-406c-8685-634ea6a92adc 2025-08-18 15:38:34,427 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/10ad2d80-9bbf-4c72-a9b3-01c51d158f2a 2025-08-18 15:38:34,436 - DEBUG - ==>Verifying data for policy with id: ea75cd04-b19b-493c-aa75-53684011118a, fqn: ['default-domain', 'ctest-TestBasicPolicy-66821602', 'ctest-policy-allow-all-01970222'] 2025-08-18 15:38:34,436 - INFO - VN ctest-vn-07258853 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-18 15:38:34,436 - DEBUG - Verifying the vn in opserver 2025-08-18 15:38:34,436 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66821602:ctest-vn-07258853 virtual network link through opserver 10.0.0.254 2025-08-18 15:38:34,436 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-18 15:38:34,445 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66821602:ctest-vn-07258853', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66821602:ctest-vn-07258853?flat'} 2025-08-18 15:38:34,445 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66821602:ctest-vn-07258853 is found in opserver 2025-08-18 15:38:34,454 - DEBUG - Do not have enough data to verify VN in agent 2025-08-18 15:38:34,460 - DEBUG - VRF ids for VN ctest-vn-07258853: {} 2025-08-18 15:38:34,517 - DEBUG - Services list from nova: [, , ] 2025-08-18 15:38:35,595 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3878-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3878-1) 2025-08-18 15:38:36,805 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3878-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3878-1) 2025-08-18 15:38:36,805 - INFO - Waiting for VM ctest-TestBasicPolicy-66821602-60268679 to be up.. 2025-08-18 15:38:36,881 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-18 15:38:41,965 - DEBUG - VM is in ACTIVE state now 2025-08-18 15:38:41,965 - INFO - VM name : ctest-TestBasicPolicy-66821602-60268679 2025-08-18 15:38:42,047 - DEBUG - VM ctest-TestBasicPolicy-66821602-60268679 ID is 0415f5f0-ccd7-4b51-960f-960bab98728e 2025-08-18 15:38:42,068 - DEBUG - VM ctest-TestBasicPolicy-66821602-60268679 launched on Node cn-jenkins-deploy-platform-ansible-os-3878-1. 2025-08-18 15:38:42,142 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/0415f5f0-ccd7-4b51-960f-960bab98728e 2025-08-18 15:38:42,151 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/b89d22ab-de0b-4bbc-8763-a856e32e5085 2025-08-18 15:38:45,409 - 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-08-18 15:38:45,410 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66821602-60268679 failed! 2025-08-18 15:38:45,466 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-66821602:ctest-vn-04928045 is 94.219.12.1 and allocation pool is NOT set 2025-08-18 15:38:47,529 - 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=9.34 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.401 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.401/4.870/9.339/4.469 ms') 2025-08-18 15:38:47,529 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66821602-60268679 passed 2025-08-18 15:38:47,678 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 15:38:47,678 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-66821602-60268679, IP 94.219.12.3, Port 22 2025-08-18 15:38:47,833 - DEBUG - VM ctest-TestBasicPolicy-66821602-60268679 is ready for SSH connections 2025-08-18 15:38:47,833 - INFO - Waiting for VM ctest-TestBasicPolicy-66821602-59499158 to be up.. 2025-08-18 15:38:47,915 - DEBUG - VM is in ACTIVE state now 2025-08-18 15:38:47,915 - INFO - VM name : ctest-TestBasicPolicy-66821602-59499158 2025-08-18 15:38:47,980 - DEBUG - VM ctest-TestBasicPolicy-66821602-59499158 ID is 4f091592-9e41-4951-b2f4-8c9befcf7b91 2025-08-18 15:38:47,980 - DEBUG - VM ctest-TestBasicPolicy-66821602-59499158 launched on Node cn-jenkins-deploy-platform-ansible-os-3878-1. 2025-08-18 15:38:48,053 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/4f091592-9e41-4951-b2f4-8c9befcf7b91 2025-08-18 15:38:48,062 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/5035f5b3-95a4-43da-a4ea-d4ec1bcbd325 2025-08-18 15:38:49,297 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.88 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.498 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.498/2.188/3.879/1.690 ms') 2025-08-18 15:38:49,297 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-66821602-59499158 passed 2025-08-18 15:38:49,450 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 15:38:49,450 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-66821602-59499158, IP 47.244.38.131, Port 22 2025-08-18 15:38:49,619 - DEBUG - VM ctest-TestBasicPolicy-66821602-59499158 is ready for SSH connections 2025-08-18 15:38:49,619 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 15:38:49,619 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 47.244.38.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-18 15:38:49,619 - DEBUG - ping -s 56 -c 3 -W 1 47.244.38.131 2025-08-18 15:38:53,345 - DEBUG - PING 47.244.38.131 (47.244.38.131): 56 data bytes 64 bytes from 47.244.38.131: seq=0 ttl=63 time=4.381 ms 64 bytes from 47.244.38.131: seq=1 ttl=63 time=0.758 ms 64 bytes from 47.244.38.131: seq=2 ttl=63 time=0.795 ms --- 47.244.38.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.758/1.978/4.381 ms 2025-08-18 15:38:53,345 - INFO - Ping to IP 47.244.38.131 from VM ctest-TestBasicPolicy-66821602-60268679 passed 2025-08-18 15:38:53,513 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ea75cd04-b19b-493c-aa75-53684011118a", "href": "http://10.0.0.254:8082/network-policy/ea75cd04-b19b-493c-aa75-53684011118a"}} 2025-08-18 15:38:53,514 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 15:38:53,514 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 47.244.38.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-18 15:38:53,514 - DEBUG - ping -s 56 -c 3 -W 1 47.244.38.131 2025-08-18 15:38:56,726 - DEBUG - PING 47.244.38.131 (47.244.38.131): 56 data bytes --- 47.244.38.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-18 15:38:56,727 - WARNING - Ping to IP 47.244.38.131 from VM ctest-TestBasicPolicy-66821602-60268679 failed 2025-08-18 15:38:56,727 - INFO - Deleting VM ctest-TestBasicPolicy-66821602-59499158 2025-08-18 15:38:56,804 - INFO - Deleting VM ctest-TestBasicPolicy-66821602-60268679 2025-08-18 15:38:57,248 - INFO - Deleted policy ctest-policy-allow-all-01970222 2025-08-18 15:38:57,248 - INFO - Deleting VN ctest-vn-07258853 2025-08-18 15:38:57,280 - DEBUG - VN 10ad2d80-9bbf-4c72-a9b3-01c51d158f2a still in use: Unable to complete operation on network 10ad2d80-9bbf-4c72-a9b3-01c51d158f2a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-984a59bc-0e5f-4d1d-b8f4-460b479bb7a0'] 2025-08-18 15:38:57,280 - WARNING - Deleting VN ctest-vn-07258853 failed..Will retry 2025-08-18 15:38:59,377 - DEBUG - Response for deleting network () 2025-08-18 15:38:59,377 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1d63f677-5af2-407e-9a84-6e8b30a261be 2025-08-18 15:38:59,382 - DEBUG - Response Code: 404 2025-08-18 15:38:59,382 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-18 15:38:59,390 - DEBUG - Requesting: http://10.0.0.254:8082/domain/67a90816-2578-402f-949d-5a9c19611215 2025-08-18 15:38:59,443 - DEBUG - Requesting: http://10.0.0.254:8082/project/52cfe692-d17d-406c-8685-634ea6a92adc 2025-08-18 15:38:59,512 - INFO - Validated that VN ctest-vn-07258853 is not found in API Server 2025-08-18 15:38:59,521 - DEBUG - VN ctest-vn-07258853 is not present in Agent 10.0.0.254 2025-08-18 15:38:59,522 - INFO - Validated that VN ctest-vn-07258853 is not in any agent 2025-08-18 15:38:59,534 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-07258853 info 2025-08-18 15:38:59,534 - INFO - Deleting VN ctest-vn-04928045 2025-08-18 15:38:59,630 - DEBUG - Response for deleting network () 2025-08-18 15:38:59,630 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/93c864c3-84ac-4704-85d0-7c53a25e058e 2025-08-18 15:38:59,635 - DEBUG - Response Code: 404 2025-08-18 15:38:59,635 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-18 15:38:59,640 - DEBUG - Requesting: http://10.0.0.254:8082/domain/67a90816-2578-402f-949d-5a9c19611215 2025-08-18 15:38:59,690 - DEBUG - Requesting: http://10.0.0.254:8082/project/52cfe692-d17d-406c-8685-634ea6a92adc 2025-08-18 15:38:59,762 - INFO - Validated that VN ctest-vn-04928045 is not found in API Server 2025-08-18 15:38:59,772 - DEBUG - VN ctest-vn-04928045 is not present in Agent 10.0.0.254 2025-08-18 15:38:59,772 - INFO - Validated that VN ctest-vn-04928045 is not in any agent 2025-08-18 15:38:59,785 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-04928045 info 2025-08-18 15:39:00,050 - DEBUG - No XMPP flaps were noticed during the test 2025-08-18 15:39:00,050 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-08-18 15:39:00,050 - INFO - -------------------------------------------------------------------------------- 2025-08-18 15:39:00,752 - INFO - Deleted project: ctest-TestBasicPolicy-66821602, ID : 52cfe692-d17d-406c-8685-634ea6a92adc