2025-08-11 06:10:44,148 - INFO - Domain Default found not creating 2025-08-11 06:10:44,316 - INFO - Project ctest-TestBasicPolicy-82549839 not found, creating it 2025-08-11 06:10:44,769 - INFO - Created Project:ctest-TestBasicPolicy-82549839, ID : a7b074a0-0384-4abb-87f1-bcc34344db38 2025-08-11 06:10:46,313 - INFO - ================================================================================ 2025-08-11 06:10:46,313 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-11 06:10:46,313 - 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-11 06:10:46,583 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.14': '0'}} with 2025-08-11 06:10:46,583 - INFO - Initial checks done. Running the testcase now 2025-08-11 06:10:46,583 - INFO - 2025-08-11 06:10:47,170 - DEBUG - Response for create_network : {'network': {'id': 'ae5bf5cc-d333-4a33-acf9-1a778ad4c54f', 'name': 'ctest-vn-68757763', 'tenant_id': 'a7b074a003844abb87f1bcc34344db38', 'project_id': 'a7b074a003844abb87f1bcc34344db38', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82549839', 'ctest-vn-68757763'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 06:10:47,373 - DEBUG - Response for create_subnet : {'subnet': {'id': '5d962ccd-7ebd-4ac1-8987-f061aadcb3ca', 'name': '', 'tenant_id': 'a7b074a003844abb87f1bcc34344db38', 'network_id': 'ae5bf5cc-d333-4a33-acf9-1a778ad4c54f', 'ip_version': 4, 'cidr': '171.249.174.0/26', 'allocation_pools': [{'start': '171.249.174.2', 'end': '171.249.174.62'}], 'gateway_ip': '171.249.174.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '171.249.174.2', 'tags': [], 'project_id': 'a7b074a003844abb87f1bcc34344db38'}} 2025-08-11 06:10:47,393 - INFO - Created VN ctest-vn-68757763 2025-08-11 06:10:47,445 - DEBUG - VN ctest-vn-68757763 UUID is ae5bf5cc-d333-4a33-acf9-1a778ad4c54f 2025-08-11 06:10:47,744 - DEBUG - Response for create_network : {'network': {'id': '23707525-427e-4d8e-a00b-ee590ea7a276', 'name': 'ctest-vn-58050940', 'tenant_id': 'a7b074a003844abb87f1bcc34344db38', 'project_id': 'a7b074a003844abb87f1bcc34344db38', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82549839', 'ctest-vn-58050940'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 06:10:47,958 - DEBUG - Response for create_subnet : {'subnet': {'id': '7e11e97f-018d-49ba-826c-c99ac47819cf', 'name': '', 'tenant_id': 'a7b074a003844abb87f1bcc34344db38', 'network_id': '23707525-427e-4d8e-a00b-ee590ea7a276', 'ip_version': 4, 'cidr': '38.154.136.192/26', 'allocation_pools': [{'start': '38.154.136.194', 'end': '38.154.136.254'}], 'gateway_ip': '38.154.136.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '38.154.136.194', 'tags': [], 'project_id': 'a7b074a003844abb87f1bcc34344db38'}} 2025-08-11 06:10:47,980 - INFO - Created VN ctest-vn-58050940 2025-08-11 06:10:48,045 - DEBUG - VN ctest-vn-58050940 UUID is 23707525-427e-4d8e-a00b-ee590ea7a276 2025-08-11 06:10:48,170 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-82549839:ctest-vn-68757763, 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-82549839:ctest-vn-58050940, 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-11 06:10:48,462 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ae5bf5cc-d333-4a33-acf9-1a778ad4c54f', 'name': 'ctest-vn-68757763', 'tenant_id': 'a7b074a003844abb87f1bcc34344db38', 'project_id': 'a7b074a003844abb87f1bcc34344db38', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5d962ccd-7ebd-4ac1-8987-f061aadcb3ca'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82549839', 'ctest-vn-68757763'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-82549839', 'ctest-policy-allow-all-20607149']], 'subnet_ipam': [{'subnet_cidr': '171.249.174.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-11 06:10:48,701 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '23707525-427e-4d8e-a00b-ee590ea7a276', 'name': 'ctest-vn-58050940', 'tenant_id': 'a7b074a003844abb87f1bcc34344db38', 'project_id': 'a7b074a003844abb87f1bcc34344db38', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7e11e97f-018d-49ba-826c-c99ac47819cf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82549839', 'ctest-vn-58050940'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-82549839', 'ctest-policy-allow-all-20607149']], 'subnet_ipam': [{'subnet_cidr': '38.154.136.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-11 06:10:48,885 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-11 06:10:49,181 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-11 06:10:49,210 - DEBUG - Requesting: http://10.0.0.48:8082/domain/3cf2ac91-d662-453d-96e5-e03dafd838a0 2025-08-11 06:10:49,225 - DEBUG - Requesting: http://10.0.0.48:8082/project/a7b074a0-0384-4abb-87f1-bcc34344db38 2025-08-11 06:10:49,300 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/ae5bf5cc-d333-4a33-acf9-1a778ad4c54f 2025-08-11 06:10:49,312 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/ae5bf5cc-d333-4a33-acf9-1a778ad4c54f 2025-08-11 06:10:49,323 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/85af6b58-0f77-4de5-9308-58ebd4923331 2025-08-11 06:10:49,330 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/85af6b58-0f77-4de5-9308-58ebd4923331 2025-08-11 06:10:49,338 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/aa8a5736-886f-4da6-85cf-0777265e6ada 2025-08-11 06:10:49,344 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-11 06:10:49,344 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/ae5bf5cc-d333-4a33-acf9-1a778ad4c54f 2025-08-11 06:10:49,354 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/85af6b58-0f77-4de5-9308-58ebd4923331 2025-08-11 06:10:49,368 - INFO - Verified VN network id 11 for VN ae5bf5cc-d333-4a33-acf9-1a778ad4c54f 2025-08-11 06:10:49,369 - INFO - Verifications in API Server for VN ctest-vn-68757763 passed 2025-08-11 06:10:49,369 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/ae5bf5cc-d333-4a33-acf9-1a778ad4c54f 2025-08-11 06:10:49,380 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/85af6b58-0f77-4de5-9308-58ebd4923331 2025-08-11 06:10:49,388 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/85af6b58-0f77-4de5-9308-58ebd4923331 2025-08-11 06:10:49,396 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/aa8a5736-886f-4da6-85cf-0777265e6ada 2025-08-11 06:10:49,409 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-82549839:ctest-vn-68757763', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-82549839', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12563905845545617971', 'uuid-lslong': '12464022544457188687'}, 'enable': 'true', 'created': '2025-08-11T06:10:47', 'last-modified': '2025-08-11T06:10:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.967179'} 2025-08-11 06:10:49,415 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-11 06:10:49,416 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68757763 passed 2025-08-11 06:10:49,416 - DEBUG - ====Verifying policy data for ctest-vn-68757763 in API_Server ====== 2025-08-11 06:10:49,416 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-11 06:10:49,422 - DEBUG - Requesting: http://10.0.0.48:8082/domain/3cf2ac91-d662-453d-96e5-e03dafd838a0 2025-08-11 06:10:49,435 - DEBUG - Requesting: http://10.0.0.48:8082/project/a7b074a0-0384-4abb-87f1-bcc34344db38 2025-08-11 06:10:49,511 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/ae5bf5cc-d333-4a33-acf9-1a778ad4c54f 2025-08-11 06:10:49,521 - DEBUG - ==>Verifying data for policy with id: 53b1c0f8-538d-4b20-99ff-7da5cfd372ea, fqn: ['default-domain', 'ctest-TestBasicPolicy-82549839', 'ctest-policy-allow-all-20607149'] 2025-08-11 06:10:49,521 - INFO - VN ctest-vn-68757763 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-11 06:10:49,521 - DEBUG - Verifying the vn in opserver 2025-08-11 06:10:49,521 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-82549839:ctest-vn-68757763 virtual network link through opserver 10.0.0.48 2025-08-11 06:10:49,521 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-08-11 06:10:49,815 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-08-11 06:10:49,870 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-82549839:ctest-vn-68757763', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-82549839:ctest-vn-68757763?flat'} 2025-08-11 06:10:49,870 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-82549839:ctest-vn-68757763 is found in opserver 2025-08-11 06:10:49,882 - DEBUG - Do not have enough data to verify VN in agent 2025-08-11 06:10:49,887 - DEBUG - VRF ids for VN ctest-vn-68757763: {} 2025-08-11 06:10:49,887 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-11 06:10:49,893 - DEBUG - Requesting: http://10.0.0.48:8082/domain/3cf2ac91-d662-453d-96e5-e03dafd838a0 2025-08-11 06:10:49,904 - DEBUG - Requesting: http://10.0.0.48:8082/project/a7b074a0-0384-4abb-87f1-bcc34344db38 2025-08-11 06:10:49,974 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/23707525-427e-4d8e-a00b-ee590ea7a276 2025-08-11 06:10:49,988 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/23707525-427e-4d8e-a00b-ee590ea7a276 2025-08-11 06:10:50,000 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/ff6bb824-b0c2-4a27-9e99-bee46d4efd61 2025-08-11 06:10:50,009 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/ff6bb824-b0c2-4a27-9e99-bee46d4efd61 2025-08-11 06:10:50,018 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/c75e331c-4683-4c1f-9b5c-37f88cbc0efc 2025-08-11 06:10:50,026 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-11 06:10:50,026 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/23707525-427e-4d8e-a00b-ee590ea7a276 2025-08-11 06:10:50,036 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/ff6bb824-b0c2-4a27-9e99-bee46d4efd61 2025-08-11 06:10:50,052 - INFO - Verified VN network id 12 for VN 23707525-427e-4d8e-a00b-ee590ea7a276 2025-08-11 06:10:50,052 - INFO - Verifications in API Server for VN ctest-vn-58050940 passed 2025-08-11 06:10:50,052 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/23707525-427e-4d8e-a00b-ee590ea7a276 2025-08-11 06:10:50,062 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/ff6bb824-b0c2-4a27-9e99-bee46d4efd61 2025-08-11 06:10:50,069 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/ff6bb824-b0c2-4a27-9e99-bee46d4efd61 2025-08-11 06:10:50,077 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/c75e331c-4683-4c1f-9b5c-37f88cbc0efc 2025-08-11 06:10:50,090 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-82549839:ctest-vn-58050940', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-82549839', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2553669791608884622', 'uuid-lslong': '11532573337077654134'}, 'enable': 'true', 'created': '2025-08-11T06:10:47', 'last-modified': '2025-08-11T06:10:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.421611'} 2025-08-11 06:10:50,097 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-11 06:10:50,097 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-58050940 passed 2025-08-11 06:10:50,097 - DEBUG - ====Verifying policy data for ctest-vn-58050940 in API_Server ====== 2025-08-11 06:10:50,097 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-11 06:10:50,104 - DEBUG - Requesting: http://10.0.0.48:8082/domain/3cf2ac91-d662-453d-96e5-e03dafd838a0 2025-08-11 06:10:50,119 - DEBUG - Requesting: http://10.0.0.48:8082/project/a7b074a0-0384-4abb-87f1-bcc34344db38 2025-08-11 06:10:50,191 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/23707525-427e-4d8e-a00b-ee590ea7a276 2025-08-11 06:10:50,202 - DEBUG - ==>Verifying data for policy with id: 53b1c0f8-538d-4b20-99ff-7da5cfd372ea, fqn: ['default-domain', 'ctest-TestBasicPolicy-82549839', 'ctest-policy-allow-all-20607149'] 2025-08-11 06:10:50,203 - INFO - VN ctest-vn-58050940 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-11 06:10:50,203 - DEBUG - Verifying the vn in opserver 2025-08-11 06:10:50,203 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-82549839:ctest-vn-58050940 virtual network link through opserver 10.0.0.48 2025-08-11 06:10:50,203 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-08-11 06:10:50,213 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-82549839:ctest-vn-58050940', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-82549839:ctest-vn-58050940?flat'} 2025-08-11 06:10:50,214 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-82549839:ctest-vn-58050940 is found in opserver 2025-08-11 06:10:50,224 - DEBUG - Do not have enough data to verify VN in agent 2025-08-11 06:10:50,230 - DEBUG - VRF ids for VN ctest-vn-58050940: {} 2025-08-11 06:10:50,288 - DEBUG - Services list from nova: [, , ] 2025-08-11 06:10:51,319 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3799-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3799-1) 2025-08-11 06:10:52,434 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3799-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3799-1) 2025-08-11 06:10:52,434 - INFO - Waiting for VM ctest-TestBasicPolicy-82549839-70843244 to be up.. 2025-08-11 06:10:52,512 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 06:10:57,607 - DEBUG - VM is in ACTIVE state now 2025-08-11 06:10:57,608 - INFO - VM name : ctest-TestBasicPolicy-82549839-70843244 2025-08-11 06:10:57,716 - DEBUG - VM ctest-TestBasicPolicy-82549839-70843244 ID is 8dc504cc-a631-4fcc-a35d-e6caa782afca 2025-08-11 06:10:57,741 - DEBUG - VM ctest-TestBasicPolicy-82549839-70843244 launched on Node cn-jenkins-deploy-platform-ansible-os-3799-1 2025-08-11 06:10:57,844 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/8dc504cc-a631-4fcc-a35d-e6caa782afca 2025-08-11 06:10:57,860 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/a2af644f-f490-4edf-a2a1-0541d472925f 2025-08-11 06:11:01,123 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1011ms') 2025-08-11 06:11:01,124 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-82549839-70843244 failed! 2025-08-11 06:11:01,181 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-82549839:ctest-vn-68757763 is 171.249.174.1 and allocation pool is NOT set 2025-08-11 06:11:03,245 - 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.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.408 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.408/1.670/2.932/1.262 ms') 2025-08-11 06:11:03,245 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-82549839-70843244 passed 2025-08-11 06:11:03,405 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 06:11:03,405 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-82549839-70843244, IP 171.249.174.3, Port 22 2025-08-11 06:11:03,561 - DEBUG - VM ctest-TestBasicPolicy-82549839-70843244 is ready for SSH connections 2025-08-11 06:11:03,561 - INFO - Waiting for VM ctest-TestBasicPolicy-82549839-34246700 to be up.. 2025-08-11 06:11:03,643 - DEBUG - VM is in ACTIVE state now 2025-08-11 06:11:03,643 - INFO - VM name : ctest-TestBasicPolicy-82549839-34246700 2025-08-11 06:11:03,725 - DEBUG - VM ctest-TestBasicPolicy-82549839-34246700 ID is 7e3bc9e1-f054-4f66-b60b-04da4dcae30b 2025-08-11 06:11:03,725 - DEBUG - VM ctest-TestBasicPolicy-82549839-34246700 launched on Node cn-jenkins-deploy-platform-ansible-os-3799-1 2025-08-11 06:11:03,799 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/7e3bc9e1-f054-4f66-b60b-04da4dcae30b 2025-08-11 06:11:03,808 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/21e83ba4-0dad-429d-b916-4e83c8b8a601 2025-08-11 06:11:05,050 - 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.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.559 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.559/2.175/3.791/1.616 ms') 2025-08-11 06:11:05,050 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-82549839-34246700 passed 2025-08-11 06:11:05,197 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 06:11:05,198 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-82549839-34246700, IP 38.154.136.195, Port 22 2025-08-11 06:11:05,364 - DEBUG - VM ctest-TestBasicPolicy-82549839-34246700 is ready for SSH connections 2025-08-11 06:11:05,364 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 06:11:05,364 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 38.154.136.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-08-11 06:11:05,364 - DEBUG - ping -s 56 -c 3 -W 1 38.154.136.195 2025-08-11 06:11:09,350 - DEBUG - PING 38.154.136.195 (38.154.136.195): 56 data bytes 64 bytes from 38.154.136.195: seq=0 ttl=63 time=3.197 ms 64 bytes from 38.154.136.195: seq=1 ttl=63 time=1.178 ms 64 bytes from 38.154.136.195: seq=2 ttl=63 time=0.827 ms --- 38.154.136.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.827/1.734/3.197 ms 2025-08-11 06:11:09,350 - INFO - Ping to IP 38.154.136.195 from VM ctest-TestBasicPolicy-82549839-70843244 passed 2025-08-11 06:11:09,533 - DEBUG - Policy Update Response {"network-policy": {"uuid": "53b1c0f8-538d-4b20-99ff-7da5cfd372ea", "href": "http://10.0.0.48:8082/network-policy/53b1c0f8-538d-4b20-99ff-7da5cfd372ea"}} 2025-08-11 06:11:09,533 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 06:11:09,533 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 38.154.136.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-08-11 06:11:09,533 - DEBUG - ping -s 56 -c 3 -W 1 38.154.136.195 2025-08-11 06:11:12,742 - DEBUG - PING 38.154.136.195 (38.154.136.195): 56 data bytes --- 38.154.136.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-11 06:11:12,742 - WARNING - Ping to IP 38.154.136.195 from VM ctest-TestBasicPolicy-82549839-70843244 failed 2025-08-11 06:11:12,742 - INFO - Deleting VM ctest-TestBasicPolicy-82549839-34246700 2025-08-11 06:11:12,807 - INFO - Deleting VM ctest-TestBasicPolicy-82549839-70843244 2025-08-11 06:11:13,227 - INFO - Deleted policy ctest-policy-allow-all-20607149 2025-08-11 06:11:13,227 - INFO - Deleting VN ctest-vn-58050940 2025-08-11 06:11:13,271 - DEBUG - VN 23707525-427e-4d8e-a00b-ee590ea7a276 still in use: Unable to complete operation on network 23707525-427e-4d8e-a00b-ee590ea7a276. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2a913fa7-1a13-4b73-abff-ff7c71de369c'] 2025-08-11 06:11:13,271 - WARNING - Deleting VN ctest-vn-58050940 failed..Will retry 2025-08-11 06:11:15,387 - DEBUG - Response for deleting network () 2025-08-11 06:11:15,388 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/ff6bb824-b0c2-4a27-9e99-bee46d4efd61 2025-08-11 06:11:15,397 - DEBUG - Response Code: 404 2025-08-11 06:11:15,397 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-11 06:11:15,404 - DEBUG - Requesting: http://10.0.0.48:8082/domain/3cf2ac91-d662-453d-96e5-e03dafd838a0 2025-08-11 06:11:15,463 - DEBUG - Requesting: http://10.0.0.48:8082/project/a7b074a0-0384-4abb-87f1-bcc34344db38 2025-08-11 06:11:15,537 - INFO - Validated that VN ctest-vn-58050940 is not found in API Server 2025-08-11 06:11:15,549 - DEBUG - VN ctest-vn-58050940 is not present in Agent 10.0.0.48 2025-08-11 06:11:15,549 - INFO - Validated that VN ctest-vn-58050940 is not in any agent 2025-08-11 06:11:15,569 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-58050940 info 2025-08-11 06:11:15,569 - INFO - Deleting VN ctest-vn-68757763 2025-08-11 06:11:15,685 - DEBUG - Response for deleting network () 2025-08-11 06:11:15,685 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/85af6b58-0f77-4de5-9308-58ebd4923331 2025-08-11 06:11:15,693 - DEBUG - Response Code: 404 2025-08-11 06:11:15,693 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-11 06:11:15,702 - DEBUG - Requesting: http://10.0.0.48:8082/domain/3cf2ac91-d662-453d-96e5-e03dafd838a0 2025-08-11 06:11:15,760 - DEBUG - Requesting: http://10.0.0.48:8082/project/a7b074a0-0384-4abb-87f1-bcc34344db38 2025-08-11 06:11:15,836 - INFO - Validated that VN ctest-vn-68757763 is not found in API Server 2025-08-11 06:11:15,852 - DEBUG - VN ctest-vn-68757763 is not present in Agent 10.0.0.48 2025-08-11 06:11:15,852 - INFO - Validated that VN ctest-vn-68757763 is not in any agent 2025-08-11 06:11:15,870 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-68757763 info 2025-08-11 06:11:16,123 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 06:11:16,123 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-08-11 06:11:16,123 - INFO - -------------------------------------------------------------------------------- 2025-08-11 06:11:16,794 - INFO - Deleted project: ctest-TestBasicPolicy-82549839, ID : a7b074a0-0384-4abb-87f1-bcc34344db38