2025-08-08 18:20:00,997 - INFO - Domain Default found not creating 2025-08-08 18:20:01,126 - INFO - Project ctest-TestBasicPolicy-48223114 not found, creating it 2025-08-08 18:20:01,605 - INFO - Created Project:ctest-TestBasicPolicy-48223114, ID : 001f5b06-b6d0-498d-989b-797a023a00d1 2025-08-08 18:20:02,919 - INFO - ================================================================================ 2025-08-08 18:20:02,919 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-08 18:20:02,919 - 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-08 18:20:03,181 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.0.0.50': '0'}} with 2025-08-08 18:20:03,181 - INFO - Initial checks done. Running the testcase now 2025-08-08 18:20:03,182 - INFO - 2025-08-08 18:20:03,737 - DEBUG - Response for create_network : {'network': {'id': 'd3c18d7b-cab4-4667-b8d4-363145feef7c', 'name': 'ctest-vn-53462925', 'tenant_id': '001f5b06b6d0498d989b797a023a00d1', 'project_id': '001f5b06b6d0498d989b797a023a00d1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48223114', 'ctest-vn-53462925'], 'port_security_enabled': True, 'description': ''}} 2025-08-08 18:20:03,953 - DEBUG - Response for create_subnet : {'subnet': {'id': '9b045997-203f-43f2-addc-0ad457878966', 'name': '', 'tenant_id': '001f5b06b6d0498d989b797a023a00d1', 'network_id': 'd3c18d7b-cab4-4667-b8d4-363145feef7c', 'ip_version': 4, 'cidr': '87.56.99.0/26', 'allocation_pools': [{'start': '87.56.99.2', 'end': '87.56.99.62'}], 'gateway_ip': '87.56.99.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.56.99.2', 'tags': [], 'project_id': '001f5b06b6d0498d989b797a023a00d1'}} 2025-08-08 18:20:03,970 - INFO - Created VN ctest-vn-53462925 2025-08-08 18:20:04,020 - DEBUG - VN ctest-vn-53462925 UUID is d3c18d7b-cab4-4667-b8d4-363145feef7c 2025-08-08 18:20:04,348 - DEBUG - Response for create_network : {'network': {'id': '23457120-e18a-41e2-a580-acccd8407ed3', 'name': 'ctest-vn-73734252', 'tenant_id': '001f5b06b6d0498d989b797a023a00d1', 'project_id': '001f5b06b6d0498d989b797a023a00d1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48223114', 'ctest-vn-73734252'], 'port_security_enabled': True, 'description': ''}} 2025-08-08 18:20:04,530 - DEBUG - Response for create_subnet : {'subnet': {'id': '1ae662ca-6189-4a89-bbcd-966e53fd9b93', 'name': '', 'tenant_id': '001f5b06b6d0498d989b797a023a00d1', 'network_id': '23457120-e18a-41e2-a580-acccd8407ed3', 'ip_version': 4, 'cidr': '116.148.236.0/26', 'allocation_pools': [{'start': '116.148.236.2', 'end': '116.148.236.62'}], 'gateway_ip': '116.148.236.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '116.148.236.2', 'tags': [], 'project_id': '001f5b06b6d0498d989b797a023a00d1'}} 2025-08-08 18:20:04,551 - INFO - Created VN ctest-vn-73734252 2025-08-08 18:20:04,600 - DEBUG - VN ctest-vn-73734252 UUID is 23457120-e18a-41e2-a580-acccd8407ed3 2025-08-08 18:20:04,748 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-48223114:ctest-vn-53462925, 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-48223114:ctest-vn-73734252, 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-08 18:20:05,028 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd3c18d7b-cab4-4667-b8d4-363145feef7c', 'name': 'ctest-vn-53462925', 'tenant_id': '001f5b06b6d0498d989b797a023a00d1', 'project_id': '001f5b06b6d0498d989b797a023a00d1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9b045997-203f-43f2-addc-0ad457878966'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48223114', 'ctest-vn-53462925'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48223114', 'ctest-policy-allow-all-49160617']], 'subnet_ipam': [{'subnet_cidr': '87.56.99.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-08 18:20:05,243 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '23457120-e18a-41e2-a580-acccd8407ed3', 'name': 'ctest-vn-73734252', 'tenant_id': '001f5b06b6d0498d989b797a023a00d1', 'project_id': '001f5b06b6d0498d989b797a023a00d1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1ae662ca-6189-4a89-bbcd-966e53fd9b93'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48223114', 'ctest-vn-73734252'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48223114', 'ctest-policy-allow-all-49160617']], 'subnet_ipam': [{'subnet_cidr': '116.148.236.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-08 18:20:05,429 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-08 18:20:05,720 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-08 18:20:05,743 - DEBUG - Requesting: http://10.0.0.50:8082/domain/73380d28-043b-4eea-badd-77f689732727 2025-08-08 18:20:05,753 - DEBUG - Requesting: http://10.0.0.50:8082/project/001f5b06-b6d0-498d-989b-797a023a00d1 2025-08-08 18:20:05,824 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d3c18d7b-cab4-4667-b8d4-363145feef7c 2025-08-08 18:20:05,832 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d3c18d7b-cab4-4667-b8d4-363145feef7c 2025-08-08 18:20:05,839 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b76e7afa-727f-4182-a2f0-396a61de3416 2025-08-08 18:20:05,845 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b76e7afa-727f-4182-a2f0-396a61de3416 2025-08-08 18:20:05,850 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/0d9470b3-55fe-470b-b532-2da42063dbda 2025-08-08 18:20:05,855 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-08 18:20:05,855 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d3c18d7b-cab4-4667-b8d4-363145feef7c 2025-08-08 18:20:05,862 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b76e7afa-727f-4182-a2f0-396a61de3416 2025-08-08 18:20:05,872 - INFO - Verified VN network id 11 for VN d3c18d7b-cab4-4667-b8d4-363145feef7c 2025-08-08 18:20:05,872 - INFO - Verifications in API Server for VN ctest-vn-53462925 passed 2025-08-08 18:20:05,872 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d3c18d7b-cab4-4667-b8d4-363145feef7c 2025-08-08 18:20:05,879 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b76e7afa-727f-4182-a2f0-396a61de3416 2025-08-08 18:20:05,883 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b76e7afa-727f-4182-a2f0-396a61de3416 2025-08-08 18:20:05,889 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/0d9470b3-55fe-470b-b532-2da42063dbda 2025-08-08 18:20:05,898 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48223114:ctest-vn-53462925', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48223114', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15258632575329257063', 'uuid-lslong': '13318329583297032060'}, 'enable': 'true', 'created': '2025-08-08T18:20:03', 'last-modified': '2025-08-08T18:20:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.889356'} 2025-08-08 18:20:05,903 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-08 18:20:05,903 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-53462925 passed 2025-08-08 18:20:05,903 - DEBUG - ====Verifying policy data for ctest-vn-53462925 in API_Server ====== 2025-08-08 18:20:05,903 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-08 18:20:05,907 - DEBUG - Requesting: http://10.0.0.50:8082/domain/73380d28-043b-4eea-badd-77f689732727 2025-08-08 18:20:05,916 - DEBUG - Requesting: http://10.0.0.50:8082/project/001f5b06-b6d0-498d-989b-797a023a00d1 2025-08-08 18:20:05,981 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d3c18d7b-cab4-4667-b8d4-363145feef7c 2025-08-08 18:20:05,991 - DEBUG - ==>Verifying data for policy with id: 67a6e922-2a7c-4dce-9569-fbafe24a7cad, fqn: ['default-domain', 'ctest-TestBasicPolicy-48223114', 'ctest-policy-allow-all-49160617'] 2025-08-08 18:20:05,991 - INFO - VN ctest-vn-53462925 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-08 18:20:05,991 - DEBUG - Verifying the vn in opserver 2025-08-08 18:20:05,991 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48223114:ctest-vn-53462925 virtual network link through opserver 10.0.0.50 2025-08-08 18:20:05,991 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-08-08 18:20:06,278 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-08-08 18:20:06,326 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48223114:ctest-vn-53462925', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48223114:ctest-vn-53462925?flat'} 2025-08-08 18:20:06,326 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48223114:ctest-vn-53462925 is found in opserver 2025-08-08 18:20:06,336 - DEBUG - Do not have enough data to verify VN in agent 2025-08-08 18:20:06,341 - DEBUG - VRF ids for VN ctest-vn-53462925: {} 2025-08-08 18:20:06,341 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-08 18:20:06,346 - DEBUG - Requesting: http://10.0.0.50:8082/domain/73380d28-043b-4eea-badd-77f689732727 2025-08-08 18:20:06,356 - DEBUG - Requesting: http://10.0.0.50:8082/project/001f5b06-b6d0-498d-989b-797a023a00d1 2025-08-08 18:20:06,426 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/23457120-e18a-41e2-a580-acccd8407ed3 2025-08-08 18:20:06,436 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/23457120-e18a-41e2-a580-acccd8407ed3 2025-08-08 18:20:06,443 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b4c4d571-61d0-4514-a0bb-778e2a151b4a 2025-08-08 18:20:06,448 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b4c4d571-61d0-4514-a0bb-778e2a151b4a 2025-08-08 18:20:06,453 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/2f2a2b75-5c2c-4110-9b45-a574e235f614 2025-08-08 18:20:06,457 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-08 18:20:06,457 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/23457120-e18a-41e2-a580-acccd8407ed3 2025-08-08 18:20:06,464 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b4c4d571-61d0-4514-a0bb-778e2a151b4a 2025-08-08 18:20:06,474 - INFO - Verified VN network id 12 for VN 23457120-e18a-41e2-a580-acccd8407ed3 2025-08-08 18:20:06,474 - INFO - Verifications in API Server for VN ctest-vn-73734252 passed 2025-08-08 18:20:06,474 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/23457120-e18a-41e2-a580-acccd8407ed3 2025-08-08 18:20:06,481 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b4c4d571-61d0-4514-a0bb-778e2a151b4a 2025-08-08 18:20:06,486 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b4c4d571-61d0-4514-a0bb-778e2a151b4a 2025-08-08 18:20:06,492 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/2f2a2b75-5c2c-4110-9b45-a574e235f614 2025-08-08 18:20:06,502 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48223114:ctest-vn-73734252', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48223114', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2541561950757339618', 'uuid-lslong': '11925721809078484691'}, 'enable': 'true', 'created': '2025-08-08T18:20:04', 'last-modified': '2025-08-08T18:20:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.275604'} 2025-08-08 18:20:06,507 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-08 18:20:06,507 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-73734252 passed 2025-08-08 18:20:06,507 - DEBUG - ====Verifying policy data for ctest-vn-73734252 in API_Server ====== 2025-08-08 18:20:06,507 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-08 18:20:06,511 - DEBUG - Requesting: http://10.0.0.50:8082/domain/73380d28-043b-4eea-badd-77f689732727 2025-08-08 18:20:06,519 - DEBUG - Requesting: http://10.0.0.50:8082/project/001f5b06-b6d0-498d-989b-797a023a00d1 2025-08-08 18:20:06,592 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/23457120-e18a-41e2-a580-acccd8407ed3 2025-08-08 18:20:06,608 - DEBUG - ==>Verifying data for policy with id: 67a6e922-2a7c-4dce-9569-fbafe24a7cad, fqn: ['default-domain', 'ctest-TestBasicPolicy-48223114', 'ctest-policy-allow-all-49160617'] 2025-08-08 18:20:06,608 - INFO - VN ctest-vn-73734252 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-08 18:20:06,608 - DEBUG - Verifying the vn in opserver 2025-08-08 18:20:06,608 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48223114:ctest-vn-73734252 virtual network link through opserver 10.0.0.50 2025-08-08 18:20:06,608 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-08-08 18:20:06,616 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48223114:ctest-vn-73734252', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48223114:ctest-vn-73734252?flat'} 2025-08-08 18:20:06,616 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48223114:ctest-vn-73734252 is found in opserver 2025-08-08 18:20:06,625 - DEBUG - Do not have enough data to verify VN in agent 2025-08-08 18:20:06,629 - DEBUG - VRF ids for VN ctest-vn-73734252: {} 2025-08-08 18:20:06,676 - DEBUG - Services list from nova: [, , ] 2025-08-08 18:20:07,646 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3784-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3784-1) 2025-08-08 18:20:08,801 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3784-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3784-1) 2025-08-08 18:20:08,801 - INFO - Waiting for VM ctest-TestBasicPolicy-48223114-65415870 to be up.. 2025-08-08 18:20:08,876 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-08 18:20:13,946 - DEBUG - VM is in ACTIVE state now 2025-08-08 18:20:13,946 - INFO - VM name : ctest-TestBasicPolicy-48223114-65415870 2025-08-08 18:20:14,012 - DEBUG - VM ctest-TestBasicPolicy-48223114-65415870 ID is 9eed61d5-0388-4e25-8abb-d64516c273b5 2025-08-08 18:20:14,031 - DEBUG - VM ctest-TestBasicPolicy-48223114-65415870 launched on Node cn-jenkins-deploy-platform-ansible-os-3784-1. 2025-08-08 18:20:14,092 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/9eed61d5-0388-4e25-8abb-d64516c273b5 2025-08-08 18:20:14,098 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/013bf7e2-a485-4fe5-942c-1395fc603880 2025-08-08 18:20:17,351 - 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 1015ms') 2025-08-08 18:20:17,352 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48223114-65415870 failed! 2025-08-08 18:20:17,404 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-48223114:ctest-vn-53462925 is 87.56.99.1 and allocation pool is NOT set 2025-08-08 18:20:19,469 - 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.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.389 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.389/1.575/2.762/1.186 ms') 2025-08-08 18:20:19,469 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48223114-65415870 passed 2025-08-08 18:20:19,629 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 18:20:19,629 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48223114-65415870, IP 87.56.99.3, Port 22 2025-08-08 18:20:19,792 - DEBUG - VM ctest-TestBasicPolicy-48223114-65415870 is ready for SSH connections 2025-08-08 18:20:19,792 - INFO - Waiting for VM ctest-TestBasicPolicy-48223114-45981061 to be up.. 2025-08-08 18:20:19,858 - DEBUG - VM is in ACTIVE state now 2025-08-08 18:20:19,858 - INFO - VM name : ctest-TestBasicPolicy-48223114-45981061 2025-08-08 18:20:19,914 - DEBUG - VM ctest-TestBasicPolicy-48223114-45981061 ID is f8aa085f-0b20-4f4e-b393-5759d158aa72 2025-08-08 18:20:19,914 - DEBUG - VM ctest-TestBasicPolicy-48223114-45981061 launched on Node cn-jenkins-deploy-platform-ansible-os-3784-1. 2025-08-08 18:20:19,977 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f8aa085f-0b20-4f4e-b393-5759d158aa72 2025-08-08 18:20:19,984 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/af4f5e94-d845-494d-a3ec-89e8f94dc34d 2025-08-08 18:20:21,209 - 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.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.424 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.424/1.671/2.919/1.247 ms') 2025-08-08 18:20:21,209 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-48223114-45981061 passed 2025-08-08 18:20:21,356 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 18:20:21,357 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48223114-45981061, IP 116.148.236.3, Port 22 2025-08-08 18:20:21,511 - DEBUG - VM ctest-TestBasicPolicy-48223114-45981061 is ready for SSH connections 2025-08-08 18:20:21,512 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 18:20:21,512 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 116.148.236.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-08 18:20:21,512 - DEBUG - ping -s 56 -c 3 -W 1 116.148.236.3 2025-08-08 18:20:25,236 - DEBUG - PING 116.148.236.3 (116.148.236.3): 56 data bytes 64 bytes from 116.148.236.3: seq=0 ttl=63 time=3.081 ms 64 bytes from 116.148.236.3: seq=1 ttl=63 time=0.877 ms 64 bytes from 116.148.236.3: seq=2 ttl=63 time=0.914 ms --- 116.148.236.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.877/1.624/3.081 ms 2025-08-08 18:20:25,236 - INFO - Ping to IP 116.148.236.3 from VM ctest-TestBasicPolicy-48223114-65415870 passed 2025-08-08 18:20:25,416 - DEBUG - Policy Update Response {"network-policy": {"uuid": "67a6e922-2a7c-4dce-9569-fbafe24a7cad", "href": "http://10.0.0.50:8082/network-policy/67a6e922-2a7c-4dce-9569-fbafe24a7cad"}} 2025-08-08 18:20:25,416 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 18:20:25,416 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 116.148.236.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-08 18:20:25,417 - DEBUG - ping -s 56 -c 3 -W 1 116.148.236.3 2025-08-08 18:20:28,638 - DEBUG - PING 116.148.236.3 (116.148.236.3): 56 data bytes --- 116.148.236.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-08 18:20:28,638 - WARNING - Ping to IP 116.148.236.3 from VM ctest-TestBasicPolicy-48223114-65415870 failed 2025-08-08 18:20:28,638 - INFO - Deleting VM ctest-TestBasicPolicy-48223114-45981061 2025-08-08 18:20:28,697 - INFO - Deleting VM ctest-TestBasicPolicy-48223114-65415870 2025-08-08 18:20:29,064 - INFO - Deleted policy ctest-policy-allow-all-49160617 2025-08-08 18:20:29,064 - INFO - Deleting VN ctest-vn-73734252 2025-08-08 18:20:29,096 - DEBUG - VN 23457120-e18a-41e2-a580-acccd8407ed3 still in use: Unable to complete operation on network 23457120-e18a-41e2-a580-acccd8407ed3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e0a3c8d1-2677-4ebd-9a38-1e8cbff5f936'] 2025-08-08 18:20:29,096 - WARNING - Deleting VN ctest-vn-73734252 failed..Will retry 2025-08-08 18:20:31,186 - DEBUG - Response for deleting network () 2025-08-08 18:20:31,186 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b4c4d571-61d0-4514-a0bb-778e2a151b4a 2025-08-08 18:20:31,194 - DEBUG - Response Code: 404 2025-08-08 18:20:31,194 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-08 18:20:31,198 - DEBUG - Requesting: http://10.0.0.50:8082/domain/73380d28-043b-4eea-badd-77f689732727 2025-08-08 18:20:31,248 - DEBUG - Requesting: http://10.0.0.50:8082/project/001f5b06-b6d0-498d-989b-797a023a00d1 2025-08-08 18:20:31,315 - INFO - Validated that VN ctest-vn-73734252 is not found in API Server 2025-08-08 18:20:31,324 - DEBUG - VN ctest-vn-73734252 is not present in Agent 10.0.0.50 2025-08-08 18:20:31,324 - INFO - Validated that VN ctest-vn-73734252 is not in any agent 2025-08-08 18:20:31,335 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-73734252 info 2025-08-08 18:20:31,336 - INFO - Deleting VN ctest-vn-53462925 2025-08-08 18:20:31,418 - DEBUG - Response for deleting network () 2025-08-08 18:20:31,418 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b76e7afa-727f-4182-a2f0-396a61de3416 2025-08-08 18:20:31,422 - DEBUG - Response Code: 404 2025-08-08 18:20:31,422 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-08 18:20:31,426 - DEBUG - Requesting: http://10.0.0.50:8082/domain/73380d28-043b-4eea-badd-77f689732727 2025-08-08 18:20:31,481 - DEBUG - Requesting: http://10.0.0.50:8082/project/001f5b06-b6d0-498d-989b-797a023a00d1 2025-08-08 18:20:31,552 - INFO - Validated that VN ctest-vn-53462925 is not found in API Server 2025-08-08 18:20:31,560 - DEBUG - VN ctest-vn-53462925 is not present in Agent 10.0.0.50 2025-08-08 18:20:31,560 - INFO - Validated that VN ctest-vn-53462925 is not in any agent 2025-08-08 18:20:31,571 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-53462925 info 2025-08-08 18:20:31,833 - DEBUG - No XMPP flaps were noticed during the test 2025-08-08 18:20:31,833 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-08-08 18:20:31,833 - INFO - -------------------------------------------------------------------------------- 2025-08-08 18:20:32,489 - INFO - Deleted project: ctest-TestBasicPolicy-48223114, ID : 001f5b06-b6d0-498d-989b-797a023a00d1