2025-09-19 22:44:18,857 - INFO - Domain Default found not creating 2025-09-19 22:44:18,989 - INFO - Project ctest-TestBasicPolicy-26479521 not found, creating it 2025-09-19 22:44:19,469 - INFO - Created Project:ctest-TestBasicPolicy-26479521, ID : f9960176-27bd-4644-9a09-8023e5aa08ff 2025-09-19 22:44:20,782 - INFO - ================================================================================ 2025-09-19 22:44:20,783 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-19 22:44:20,783 - 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-09-19 22:44:21,038 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-09-19 22:44:21,038 - INFO - Initial checks done. Running the testcase now 2025-09-19 22:44:21,038 - INFO - 2025-09-19 22:44:21,549 - DEBUG - Response for create_network : {'network': {'id': '91826c1f-f36c-419d-8cd6-427814c96498', 'name': 'ctest-vn-95943744', 'tenant_id': 'f996017627bd46449a098023e5aa08ff', 'project_id': 'f996017627bd46449a098023e5aa08ff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26479521', 'ctest-vn-95943744'], 'port_security_enabled': True, 'description': ''}} 2025-09-19 22:44:21,748 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b3c0b104-9095-4474-a7cf-9bd37784cc1e', 'name': '', 'tenant_id': 'f996017627bd46449a098023e5aa08ff', 'network_id': '91826c1f-f36c-419d-8cd6-427814c96498', 'ip_version': 4, 'cidr': '45.90.140.64/26', 'allocation_pools': [{'start': '45.90.140.66', 'end': '45.90.140.126'}], 'gateway_ip': '45.90.140.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.90.140.66', 'tags': [], 'project_id': 'f996017627bd46449a098023e5aa08ff'}} 2025-09-19 22:44:21,764 - INFO - Created VN ctest-vn-95943744 2025-09-19 22:44:21,817 - DEBUG - VN ctest-vn-95943744 UUID is 91826c1f-f36c-419d-8cd6-427814c96498 2025-09-19 22:44:22,120 - DEBUG - Response for create_network : {'network': {'id': '4765647d-ec13-46c1-bad8-df86388565a4', 'name': 'ctest-vn-58427141', 'tenant_id': 'f996017627bd46449a098023e5aa08ff', 'project_id': 'f996017627bd46449a098023e5aa08ff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26479521', 'ctest-vn-58427141'], 'port_security_enabled': True, 'description': ''}} 2025-09-19 22:44:22,263 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bd733e97-98bd-4ad4-bd76-4addd7539971', 'name': '', 'tenant_id': 'f996017627bd46449a098023e5aa08ff', 'network_id': '4765647d-ec13-46c1-bad8-df86388565a4', 'ip_version': 4, 'cidr': '84.59.89.128/26', 'allocation_pools': [{'start': '84.59.89.130', 'end': '84.59.89.190'}], 'gateway_ip': '84.59.89.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.59.89.130', 'tags': [], 'project_id': 'f996017627bd46449a098023e5aa08ff'}} 2025-09-19 22:44:22,277 - INFO - Created VN ctest-vn-58427141 2025-09-19 22:44:22,325 - DEBUG - VN ctest-vn-58427141 UUID is 4765647d-ec13-46c1-bad8-df86388565a4 2025-09-19 22:44:22,469 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-26479521:ctest-vn-95943744, 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-26479521:ctest-vn-58427141, 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-09-19 22:44:22,745 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '91826c1f-f36c-419d-8cd6-427814c96498', 'name': 'ctest-vn-95943744', 'tenant_id': 'f996017627bd46449a098023e5aa08ff', 'project_id': 'f996017627bd46449a098023e5aa08ff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b3c0b104-9095-4474-a7cf-9bd37784cc1e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26479521', 'ctest-vn-95943744'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-26479521', 'ctest-policy-allow-all-73437446']], 'subnet_ipam': [{'subnet_cidr': '45.90.140.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-19 22:44:22,996 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4765647d-ec13-46c1-bad8-df86388565a4', 'name': 'ctest-vn-58427141', 'tenant_id': 'f996017627bd46449a098023e5aa08ff', 'project_id': 'f996017627bd46449a098023e5aa08ff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bd733e97-98bd-4ad4-bd76-4addd7539971'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26479521', 'ctest-vn-58427141'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-26479521', 'ctest-policy-allow-all-73437446']], 'subnet_ipam': [{'subnet_cidr': '84.59.89.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-19 22:44:23,137 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-19 22:44:23,430 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-19 22:44:23,453 - DEBUG - Requesting: http://10.0.0.38:8082/domain/bf4f4071-db54-434c-bc60-97611e445508 2025-09-19 22:44:23,463 - DEBUG - Requesting: http://10.0.0.38:8082/project/f9960176-27bd-4644-9a09-8023e5aa08ff 2025-09-19 22:44:23,536 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/91826c1f-f36c-419d-8cd6-427814c96498 2025-09-19 22:44:23,544 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/91826c1f-f36c-419d-8cd6-427814c96498 2025-09-19 22:44:23,552 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5c4f1f82-8914-4f1d-9d7d-3a178d770113 2025-09-19 22:44:23,557 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5c4f1f82-8914-4f1d-9d7d-3a178d770113 2025-09-19 22:44:23,562 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/098f9ff7-1b2a-41ed-9504-2d545da77ac0 2025-09-19 22:44:23,566 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-19 22:44:23,566 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/91826c1f-f36c-419d-8cd6-427814c96498 2025-09-19 22:44:23,573 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5c4f1f82-8914-4f1d-9d7d-3a178d770113 2025-09-19 22:44:23,584 - INFO - Verified VN network id 12 for VN 91826c1f-f36c-419d-8cd6-427814c96498 2025-09-19 22:44:23,584 - INFO - Verifications in API Server for VN ctest-vn-95943744 passed 2025-09-19 22:44:23,584 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/91826c1f-f36c-419d-8cd6-427814c96498 2025-09-19 22:44:23,591 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5c4f1f82-8914-4f1d-9d7d-3a178d770113 2025-09-19 22:44:23,595 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5c4f1f82-8914-4f1d-9d7d-3a178d770113 2025-09-19 22:44:23,600 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/098f9ff7-1b2a-41ed-9504-2d545da77ac0 2025-09-19 22:44:23,608 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-26479521:ctest-vn-95943744', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-26479521', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10485061766955680157', 'uuid-lslong': '10148371893838242968'}, 'enable': 'true', 'created': '2025-09-19T22:44:21', 'last-modified': '2025-09-19T22:44:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.883249'} 2025-09-19 22:44:23,614 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-19 22:44:23,614 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-95943744 passed 2025-09-19 22:44:23,614 - DEBUG - ====Verifying policy data for ctest-vn-95943744 in API_Server ====== 2025-09-19 22:44:23,614 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-19 22:44:23,618 - DEBUG - Requesting: http://10.0.0.38:8082/domain/bf4f4071-db54-434c-bc60-97611e445508 2025-09-19 22:44:23,625 - DEBUG - Requesting: http://10.0.0.38:8082/project/f9960176-27bd-4644-9a09-8023e5aa08ff 2025-09-19 22:44:23,693 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/91826c1f-f36c-419d-8cd6-427814c96498 2025-09-19 22:44:23,700 - DEBUG - ==>Verifying data for policy with id: 6766a3ca-2891-41ff-a1fb-c2d375981de4, fqn: ['default-domain', 'ctest-TestBasicPolicy-26479521', 'ctest-policy-allow-all-73437446'] 2025-09-19 22:44:23,700 - INFO - VN ctest-vn-95943744 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-19 22:44:23,700 - DEBUG - Verifying the vn in opserver 2025-09-19 22:44:23,700 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-26479521:ctest-vn-95943744 virtual network link through opserver 10.0.0.38 2025-09-19 22:44:23,700 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-09-19 22:44:23,986 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-09-19 22:44:24,034 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-26479521:ctest-vn-95943744', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-26479521:ctest-vn-95943744?flat'} 2025-09-19 22:44:24,034 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-26479521:ctest-vn-95943744 is found in opserver 2025-09-19 22:44:24,041 - DEBUG - Do not have enough data to verify VN in agent 2025-09-19 22:44:24,045 - DEBUG - VRF ids for VN ctest-vn-95943744: {} 2025-09-19 22:44:24,045 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-19 22:44:24,049 - DEBUG - Requesting: http://10.0.0.38:8082/domain/bf4f4071-db54-434c-bc60-97611e445508 2025-09-19 22:44:24,058 - DEBUG - Requesting: http://10.0.0.38:8082/project/f9960176-27bd-4644-9a09-8023e5aa08ff 2025-09-19 22:44:24,124 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4765647d-ec13-46c1-bad8-df86388565a4 2025-09-19 22:44:24,136 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4765647d-ec13-46c1-bad8-df86388565a4 2025-09-19 22:44:24,145 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/dc002658-7809-4a34-89c2-69a3b6e2c43d 2025-09-19 22:44:24,150 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/dc002658-7809-4a34-89c2-69a3b6e2c43d 2025-09-19 22:44:24,156 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/137c470c-63fe-4189-aac8-583286da50de 2025-09-19 22:44:24,160 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-19 22:44:24,160 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4765647d-ec13-46c1-bad8-df86388565a4 2025-09-19 22:44:24,167 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/dc002658-7809-4a34-89c2-69a3b6e2c43d 2025-09-19 22:44:24,176 - INFO - Verified VN network id 13 for VN 4765647d-ec13-46c1-bad8-df86388565a4 2025-09-19 22:44:24,176 - INFO - Verifications in API Server for VN ctest-vn-58427141 passed 2025-09-19 22:44:24,176 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4765647d-ec13-46c1-bad8-df86388565a4 2025-09-19 22:44:24,183 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/dc002658-7809-4a34-89c2-69a3b6e2c43d 2025-09-19 22:44:24,188 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/dc002658-7809-4a34-89c2-69a3b6e2c43d 2025-09-19 22:44:24,193 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/137c470c-63fe-4189-aac8-583286da50de 2025-09-19 22:44:24,201 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-26479521:ctest-vn-58427141', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-26479521', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5144628641335035585', 'uuid-lslong': '13463756853590975908'}, 'enable': 'true', 'created': '2025-09-19T22:44:22', 'last-modified': '2025-09-19T22:44:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.263558'} 2025-09-19 22:44:24,206 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-19 22:44:24,206 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-58427141 passed 2025-09-19 22:44:24,207 - DEBUG - ====Verifying policy data for ctest-vn-58427141 in API_Server ====== 2025-09-19 22:44:24,207 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-19 22:44:24,211 - DEBUG - Requesting: http://10.0.0.38:8082/domain/bf4f4071-db54-434c-bc60-97611e445508 2025-09-19 22:44:24,218 - DEBUG - Requesting: http://10.0.0.38:8082/project/f9960176-27bd-4644-9a09-8023e5aa08ff 2025-09-19 22:44:24,287 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4765647d-ec13-46c1-bad8-df86388565a4 2025-09-19 22:44:24,294 - DEBUG - ==>Verifying data for policy with id: 6766a3ca-2891-41ff-a1fb-c2d375981de4, fqn: ['default-domain', 'ctest-TestBasicPolicy-26479521', 'ctest-policy-allow-all-73437446'] 2025-09-19 22:44:24,294 - INFO - VN ctest-vn-58427141 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-19 22:44:24,294 - DEBUG - Verifying the vn in opserver 2025-09-19 22:44:24,294 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-26479521:ctest-vn-58427141 virtual network link through opserver 10.0.0.38 2025-09-19 22:44:24,294 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-09-19 22:44:24,302 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-26479521:ctest-vn-58427141', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-26479521:ctest-vn-58427141?flat'} 2025-09-19 22:44:24,302 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-26479521:ctest-vn-58427141 is found in opserver 2025-09-19 22:44:24,309 - DEBUG - Do not have enough data to verify VN in agent 2025-09-19 22:44:24,313 - DEBUG - VRF ids for VN ctest-vn-58427141: {} 2025-09-19 22:44:24,360 - DEBUG - Services list from nova: [, , ] 2025-09-19 22:44:25,293 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4155-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4155-1) 2025-09-19 22:44:26,358 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4155-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4155-1) 2025-09-19 22:44:26,359 - INFO - Waiting for VM ctest-TestBasicPolicy-26479521-29463901 to be up.. 2025-09-19 22:44:26,427 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-19 22:44:31,493 - DEBUG - VM is in ACTIVE state now 2025-09-19 22:44:31,493 - INFO - VM name : ctest-TestBasicPolicy-26479521-29463901 2025-09-19 22:44:31,561 - DEBUG - VM ctest-TestBasicPolicy-26479521-29463901 ID is 9e970492-8c24-4b33-85c3-332b65b20077 2025-09-19 22:44:31,578 - DEBUG - VM ctest-TestBasicPolicy-26479521-29463901 launched on Node cn-jenkins-deploy-platform-ansible-os-4155-1 2025-09-19 22:44:31,641 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9e970492-8c24-4b33-85c3-332b65b20077 2025-09-19 22:44:31,648 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/be250115-c9a7-4037-9153-02519cdfae35 2025-09-19 22:44:34,903 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1027ms') 2025-09-19 22:44:34,904 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-26479521-29463901 failed! 2025-09-19 22:44:34,957 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-26479521:ctest-vn-95943744 is 45.90.140.65 and allocation pool is NOT set 2025-09-19 22:44:37,018 - 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.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.437 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.437/1.530/2.624/1.093 ms') 2025-09-19 22:44:37,018 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-26479521-29463901 passed 2025-09-19 22:44:37,169 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 22:44:37,170 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-26479521-29463901, IP 45.90.140.67, Port 22 2025-09-19 22:44:37,324 - DEBUG - VM ctest-TestBasicPolicy-26479521-29463901 is ready for SSH connections 2025-09-19 22:44:37,324 - INFO - Waiting for VM ctest-TestBasicPolicy-26479521-55675744 to be up.. 2025-09-19 22:44:37,385 - DEBUG - VM is in ACTIVE state now 2025-09-19 22:44:37,385 - INFO - VM name : ctest-TestBasicPolicy-26479521-55675744 2025-09-19 22:44:37,449 - DEBUG - VM ctest-TestBasicPolicy-26479521-55675744 ID is bec03337-0f8c-40fd-aa02-70219992b185 2025-09-19 22:44:37,449 - DEBUG - VM ctest-TestBasicPolicy-26479521-55675744 launched on Node cn-jenkins-deploy-platform-ansible-os-4155-1 2025-09-19 22:44:37,518 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/bec03337-0f8c-40fd-aa02-70219992b185 2025-09-19 22:44:37,524 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9fe54adf-689c-4c0c-a470-31ff27d3ca68 2025-09-19 22:44:38,751 - 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.59 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.401 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.401/1.493/2.585/1.092 ms') 2025-09-19 22:44:38,751 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-26479521-55675744 passed 2025-09-19 22:44:38,901 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 22:44:38,902 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-26479521-55675744, IP 84.59.89.131, Port 22 2025-09-19 22:44:39,057 - DEBUG - VM ctest-TestBasicPolicy-26479521-55675744 is ready for SSH connections 2025-09-19 22:44:39,057 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 22:44:39,057 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 84.59.89.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-19 22:44:39,057 - DEBUG - ping -s 56 -c 3 -W 1 84.59.89.131 2025-09-19 22:44:42,749 - DEBUG - PING 84.59.89.131 (84.59.89.131): 56 data bytes 64 bytes from 84.59.89.131: seq=0 ttl=63 time=3.078 ms 64 bytes from 84.59.89.131: seq=1 ttl=63 time=0.723 ms 64 bytes from 84.59.89.131: seq=2 ttl=63 time=0.690 ms --- 84.59.89.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.690/1.497/3.078 ms 2025-09-19 22:44:42,750 - INFO - Ping to IP 84.59.89.131 from VM ctest-TestBasicPolicy-26479521-29463901 passed 2025-09-19 22:44:42,925 - DEBUG - Policy Update Response {"network-policy": {"uuid": "6766a3ca-2891-41ff-a1fb-c2d375981de4", "href": "http://10.0.0.38:8082/network-policy/6766a3ca-2891-41ff-a1fb-c2d375981de4"}} 2025-09-19 22:44:42,925 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 22:44:42,925 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 84.59.89.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-19 22:44:42,926 - DEBUG - ping -s 56 -c 3 -W 1 84.59.89.131 2025-09-19 22:44:46,122 - DEBUG - PING 84.59.89.131 (84.59.89.131): 56 data bytes 64 bytes from 84.59.89.131: seq=0 ttl=63 time=1.282 ms --- 84.59.89.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.282/1.282/1.282 ms 2025-09-19 22:44:46,122 - WARNING - Ping to IP 84.59.89.131 from VM ctest-TestBasicPolicy-26479521-29463901 failed 2025-09-19 22:44:46,122 - INFO - Deleting VM ctest-TestBasicPolicy-26479521-55675744 2025-09-19 22:44:46,181 - INFO - Deleting VM ctest-TestBasicPolicy-26479521-29463901 2025-09-19 22:44:46,627 - INFO - Deleted policy ctest-policy-allow-all-73437446 2025-09-19 22:44:46,627 - INFO - Deleting VN ctest-vn-58427141 2025-09-19 22:44:46,666 - DEBUG - VN 4765647d-ec13-46c1-bad8-df86388565a4 still in use: Unable to complete operation on network 4765647d-ec13-46c1-bad8-df86388565a4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3d494d35-495d-4415-a492-686f691bf2b8'] 2025-09-19 22:44:46,666 - WARNING - Deleting VN ctest-vn-58427141 failed..Will retry 2025-09-19 22:44:48,745 - DEBUG - Response for deleting network () 2025-09-19 22:44:48,745 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/dc002658-7809-4a34-89c2-69a3b6e2c43d 2025-09-19 22:44:48,749 - DEBUG - Response Code: 404 2025-09-19 22:44:48,749 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-19 22:44:48,755 - DEBUG - Requesting: http://10.0.0.38:8082/domain/bf4f4071-db54-434c-bc60-97611e445508 2025-09-19 22:44:48,806 - DEBUG - Requesting: http://10.0.0.38:8082/project/f9960176-27bd-4644-9a09-8023e5aa08ff 2025-09-19 22:44:48,876 - INFO - Validated that VN ctest-vn-58427141 is not found in API Server 2025-09-19 22:44:48,883 - DEBUG - VN ctest-vn-58427141 is not present in Agent 10.0.0.38 2025-09-19 22:44:48,884 - INFO - Validated that VN ctest-vn-58427141 is not in any agent 2025-09-19 22:44:48,895 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-58427141 info 2025-09-19 22:44:48,895 - INFO - Deleting VN ctest-vn-95943744 2025-09-19 22:44:48,972 - DEBUG - Response for deleting network () 2025-09-19 22:44:48,972 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5c4f1f82-8914-4f1d-9d7d-3a178d770113 2025-09-19 22:44:48,976 - DEBUG - Response Code: 404 2025-09-19 22:44:48,976 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-19 22:44:48,980 - DEBUG - Requesting: http://10.0.0.38:8082/domain/bf4f4071-db54-434c-bc60-97611e445508 2025-09-19 22:44:49,029 - DEBUG - Requesting: http://10.0.0.38:8082/project/f9960176-27bd-4644-9a09-8023e5aa08ff 2025-09-19 22:44:49,096 - INFO - Validated that VN ctest-vn-95943744 is not found in API Server 2025-09-19 22:44:49,103 - DEBUG - VN ctest-vn-95943744 is not present in Agent 10.0.0.38 2025-09-19 22:44:49,103 - INFO - Validated that VN ctest-vn-95943744 is not in any agent 2025-09-19 22:44:49,114 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-95943744 info 2025-09-19 22:44:49,370 - DEBUG - No XMPP flaps were noticed during the test 2025-09-19 22:44:49,370 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-09-19 22:44:49,370 - INFO - -------------------------------------------------------------------------------- 2025-09-19 22:44:49,987 - INFO - Deleted project: ctest-TestBasicPolicy-26479521, ID : f9960176-27bd-4644-9a09-8023e5aa08ff