2025-08-12 16:49:18,446 - INFO - Domain Default found not creating 2025-08-12 16:49:18,567 - INFO - Project ctest-TestBasicPolicy-80067908 not found, creating it 2025-08-12 16:49:19,007 - INFO - Created Project:ctest-TestBasicPolicy-80067908, ID : e50de382-2bba-44bc-9fae-2fa99e11c158 2025-08-12 16:49:20,369 - INFO - ================================================================================ 2025-08-12 16:49:20,369 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-12 16:49:20,369 - 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-12 16:49:20,625 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-08-12 16:49:20,625 - INFO - Initial checks done. Running the testcase now 2025-08-12 16:49:20,625 - INFO - 2025-08-12 16:49:21,143 - DEBUG - Response for create_network : {'network': {'id': 'a2e2857e-b88c-4b6a-a776-73f2277ea747', 'name': 'ctest-vn-93644152', 'tenant_id': 'e50de3822bba44bc9fae2fa99e11c158', 'project_id': 'e50de3822bba44bc9fae2fa99e11c158', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80067908', 'ctest-vn-93644152'], 'port_security_enabled': True, 'description': ''}} 2025-08-12 16:49:21,334 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ae51b10f-668b-448b-aa44-64661f76587d', 'name': '', 'tenant_id': 'e50de3822bba44bc9fae2fa99e11c158', 'network_id': 'a2e2857e-b88c-4b6a-a776-73f2277ea747', 'ip_version': 4, 'cidr': '168.91.113.0/26', 'allocation_pools': [{'start': '168.91.113.2', 'end': '168.91.113.62'}], 'gateway_ip': '168.91.113.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.91.113.2', 'tags': [], 'project_id': 'e50de3822bba44bc9fae2fa99e11c158'}} 2025-08-12 16:49:21,349 - INFO - Created VN ctest-vn-93644152 2025-08-12 16:49:21,400 - DEBUG - VN ctest-vn-93644152 UUID is a2e2857e-b88c-4b6a-a776-73f2277ea747 2025-08-12 16:49:21,690 - DEBUG - Response for create_network : {'network': {'id': '8967450b-5981-44be-9397-2562fd373d97', 'name': 'ctest-vn-08400996', 'tenant_id': 'e50de3822bba44bc9fae2fa99e11c158', 'project_id': 'e50de3822bba44bc9fae2fa99e11c158', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80067908', 'ctest-vn-08400996'], 'port_security_enabled': True, 'description': ''}} 2025-08-12 16:49:21,883 - DEBUG - Response for create_subnet : {'subnet': {'id': '71d37806-f47b-4a16-8d04-0e92f6af23a2', 'name': '', 'tenant_id': 'e50de3822bba44bc9fae2fa99e11c158', 'network_id': '8967450b-5981-44be-9397-2562fd373d97', 'ip_version': 4, 'cidr': '159.108.15.0/26', 'allocation_pools': [{'start': '159.108.15.2', 'end': '159.108.15.62'}], 'gateway_ip': '159.108.15.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '159.108.15.2', 'tags': [], 'project_id': 'e50de3822bba44bc9fae2fa99e11c158'}} 2025-08-12 16:49:21,899 - INFO - Created VN ctest-vn-08400996 2025-08-12 16:49:21,952 - DEBUG - VN ctest-vn-08400996 UUID is 8967450b-5981-44be-9397-2562fd373d97 2025-08-12 16:49:22,100 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-80067908:ctest-vn-93644152, 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-80067908:ctest-vn-08400996, 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-12 16:49:22,375 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a2e2857e-b88c-4b6a-a776-73f2277ea747', 'name': 'ctest-vn-93644152', 'tenant_id': 'e50de3822bba44bc9fae2fa99e11c158', 'project_id': 'e50de3822bba44bc9fae2fa99e11c158', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ae51b10f-668b-448b-aa44-64661f76587d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80067908', 'ctest-vn-93644152'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-80067908', 'ctest-policy-allow-all-91257274']], 'subnet_ipam': [{'subnet_cidr': '168.91.113.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-12 16:49:22,639 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8967450b-5981-44be-9397-2562fd373d97', 'name': 'ctest-vn-08400996', 'tenant_id': 'e50de3822bba44bc9fae2fa99e11c158', 'project_id': 'e50de3822bba44bc9fae2fa99e11c158', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['71d37806-f47b-4a16-8d04-0e92f6af23a2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80067908', 'ctest-vn-08400996'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-80067908', 'ctest-policy-allow-all-91257274']], 'subnet_ipam': [{'subnet_cidr': '159.108.15.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-12 16:49:22,784 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-12 16:49:23,073 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-12 16:49:23,098 - DEBUG - Requesting: http://10.0.0.38:8082/domain/dfb8dc5c-fc68-42a3-bc49-3a4248932472 2025-08-12 16:49:23,110 - DEBUG - Requesting: http://10.0.0.38:8082/project/e50de382-2bba-44bc-9fae-2fa99e11c158 2025-08-12 16:49:23,186 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a2e2857e-b88c-4b6a-a776-73f2277ea747 2025-08-12 16:49:23,195 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a2e2857e-b88c-4b6a-a776-73f2277ea747 2025-08-12 16:49:23,203 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c7f49c49-a4b3-485e-a674-714a61ba7e55 2025-08-12 16:49:23,209 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c7f49c49-a4b3-485e-a674-714a61ba7e55 2025-08-12 16:49:23,214 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/453a7518-07ad-42ad-8575-9f308d69125e 2025-08-12 16:49:23,220 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-12 16:49:23,220 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a2e2857e-b88c-4b6a-a776-73f2277ea747 2025-08-12 16:49:23,228 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c7f49c49-a4b3-485e-a674-714a61ba7e55 2025-08-12 16:49:23,239 - INFO - Verified VN network id 11 for VN a2e2857e-b88c-4b6a-a776-73f2277ea747 2025-08-12 16:49:23,239 - INFO - Verifications in API Server for VN ctest-vn-93644152 passed 2025-08-12 16:49:23,240 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a2e2857e-b88c-4b6a-a776-73f2277ea747 2025-08-12 16:49:23,248 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c7f49c49-a4b3-485e-a674-714a61ba7e55 2025-08-12 16:49:23,253 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c7f49c49-a4b3-485e-a674-714a61ba7e55 2025-08-12 16:49:23,259 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/453a7518-07ad-42ad-8575-9f308d69125e 2025-08-12 16:49:23,270 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-80067908:ctest-vn-93644152', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80067908', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11737090358189509482', 'uuid-lslong': '12066959735467714375'}, 'enable': 'true', 'created': '2025-08-12T16:49:21', 'last-modified': '2025-08-12T16:49:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.916230'} 2025-08-12 16:49:23,275 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-12 16:49:23,275 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-93644152 passed 2025-08-12 16:49:23,276 - DEBUG - ====Verifying policy data for ctest-vn-93644152 in API_Server ====== 2025-08-12 16:49:23,276 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-12 16:49:23,281 - DEBUG - Requesting: http://10.0.0.38:8082/domain/dfb8dc5c-fc68-42a3-bc49-3a4248932472 2025-08-12 16:49:23,291 - DEBUG - Requesting: http://10.0.0.38:8082/project/e50de382-2bba-44bc-9fae-2fa99e11c158 2025-08-12 16:49:23,359 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a2e2857e-b88c-4b6a-a776-73f2277ea747 2025-08-12 16:49:23,368 - DEBUG - ==>Verifying data for policy with id: 96c68c61-9725-446d-8c0d-a94b599dc55a, fqn: ['default-domain', 'ctest-TestBasicPolicy-80067908', 'ctest-policy-allow-all-91257274'] 2025-08-12 16:49:23,368 - INFO - VN ctest-vn-93644152 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-12 16:49:23,368 - DEBUG - Verifying the vn in opserver 2025-08-12 16:49:23,369 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-80067908:ctest-vn-93644152 virtual network link through opserver 10.0.0.38 2025-08-12 16:49:23,369 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-12 16:49:23,657 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-12 16:49:23,703 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-80067908:ctest-vn-93644152', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-80067908:ctest-vn-93644152?flat'} 2025-08-12 16:49:23,703 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-80067908:ctest-vn-93644152 is found in opserver 2025-08-12 16:49:23,713 - DEBUG - Do not have enough data to verify VN in agent 2025-08-12 16:49:23,717 - DEBUG - VRF ids for VN ctest-vn-93644152: {} 2025-08-12 16:49:23,717 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-12 16:49:23,722 - DEBUG - Requesting: http://10.0.0.38:8082/domain/dfb8dc5c-fc68-42a3-bc49-3a4248932472 2025-08-12 16:49:23,732 - DEBUG - Requesting: http://10.0.0.38:8082/project/e50de382-2bba-44bc-9fae-2fa99e11c158 2025-08-12 16:49:23,801 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8967450b-5981-44be-9397-2562fd373d97 2025-08-12 16:49:23,812 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8967450b-5981-44be-9397-2562fd373d97 2025-08-12 16:49:23,820 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5741a71b-a894-4078-8328-47f6449afe22 2025-08-12 16:49:23,826 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5741a71b-a894-4078-8328-47f6449afe22 2025-08-12 16:49:23,832 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/77772c86-c551-4483-a7ca-857ef53c3b39 2025-08-12 16:49:23,837 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-12 16:49:23,837 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8967450b-5981-44be-9397-2562fd373d97 2025-08-12 16:49:23,845 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5741a71b-a894-4078-8328-47f6449afe22 2025-08-12 16:49:23,857 - INFO - Verified VN network id 12 for VN 8967450b-5981-44be-9397-2562fd373d97 2025-08-12 16:49:23,857 - INFO - Verifications in API Server for VN ctest-vn-08400996 passed 2025-08-12 16:49:23,857 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8967450b-5981-44be-9397-2562fd373d97 2025-08-12 16:49:23,865 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5741a71b-a894-4078-8328-47f6449afe22 2025-08-12 16:49:23,871 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5741a71b-a894-4078-8328-47f6449afe22 2025-08-12 16:49:23,877 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/77772c86-c551-4483-a7ca-857ef53c3b39 2025-08-12 16:49:23,887 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-80067908:ctest-vn-08400996', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80067908', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9900958220845925566', 'uuid-lslong': '10635010152143994263'}, 'enable': 'true', 'created': '2025-08-12T16:49:21', 'last-modified': '2025-08-12T16:49:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.311407'} 2025-08-12 16:49:23,892 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-12 16:49:23,893 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-08400996 passed 2025-08-12 16:49:23,893 - DEBUG - ====Verifying policy data for ctest-vn-08400996 in API_Server ====== 2025-08-12 16:49:23,893 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-12 16:49:23,897 - DEBUG - Requesting: http://10.0.0.38:8082/domain/dfb8dc5c-fc68-42a3-bc49-3a4248932472 2025-08-12 16:49:23,907 - DEBUG - Requesting: http://10.0.0.38:8082/project/e50de382-2bba-44bc-9fae-2fa99e11c158 2025-08-12 16:49:23,977 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8967450b-5981-44be-9397-2562fd373d97 2025-08-12 16:49:23,985 - DEBUG - ==>Verifying data for policy with id: 96c68c61-9725-446d-8c0d-a94b599dc55a, fqn: ['default-domain', 'ctest-TestBasicPolicy-80067908', 'ctest-policy-allow-all-91257274'] 2025-08-12 16:49:23,985 - INFO - VN ctest-vn-08400996 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-12 16:49:23,985 - DEBUG - Verifying the vn in opserver 2025-08-12 16:49:23,985 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-80067908:ctest-vn-08400996 virtual network link through opserver 10.0.0.38 2025-08-12 16:49:23,985 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-12 16:49:23,994 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-80067908:ctest-vn-08400996', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-80067908:ctest-vn-08400996?flat'} 2025-08-12 16:49:23,994 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-80067908:ctest-vn-08400996 is found in opserver 2025-08-12 16:49:24,004 - DEBUG - Do not have enough data to verify VN in agent 2025-08-12 16:49:24,008 - DEBUG - VRF ids for VN ctest-vn-08400996: {} 2025-08-12 16:49:24,055 - DEBUG - Services list from nova: [, , ] 2025-08-12 16:49:24,996 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3835-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3835-1) 2025-08-12 16:49:26,038 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3835-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3835-1) 2025-08-12 16:49:26,038 - INFO - Waiting for VM ctest-TestBasicPolicy-80067908-84763511 to be up.. 2025-08-12 16:49:26,103 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-12 16:49:31,179 - DEBUG - VM is in ACTIVE state now 2025-08-12 16:49:31,179 - INFO - VM name : ctest-TestBasicPolicy-80067908-84763511 2025-08-12 16:49:31,245 - DEBUG - VM ctest-TestBasicPolicy-80067908-84763511 ID is 15965012-e5f9-4ad9-9401-d6725e8ee802 2025-08-12 16:49:31,264 - DEBUG - VM ctest-TestBasicPolicy-80067908-84763511 launched on Node cn-jenkins-deploy-platform-ansible-os-3835-1 2025-08-12 16:49:31,333 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/15965012-e5f9-4ad9-9401-d6725e8ee802 2025-08-12 16:49:31,342 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5f1c69cc-8e3f-449e-9c77-edbd26308f2f 2025-08-12 16:49:34,610 - 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-08-12 16:49:34,610 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80067908-84763511 failed! 2025-08-12 16:49:34,664 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-80067908:ctest-vn-93644152 is 168.91.113.1 and allocation pool is NOT set 2025-08-12 16:49:36,718 - 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.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.410 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.410/1.539/2.669/1.129 ms') 2025-08-12 16:49:36,718 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80067908-84763511 passed 2025-08-12 16:49:36,872 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 16:49:36,872 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-80067908-84763511, IP 168.91.113.3, Port 22 2025-08-12 16:49:37,035 - DEBUG - VM ctest-TestBasicPolicy-80067908-84763511 is ready for SSH connections 2025-08-12 16:49:37,035 - INFO - Waiting for VM ctest-TestBasicPolicy-80067908-89420212 to be up.. 2025-08-12 16:49:37,101 - DEBUG - VM is in ACTIVE state now 2025-08-12 16:49:37,101 - INFO - VM name : ctest-TestBasicPolicy-80067908-89420212 2025-08-12 16:49:37,161 - DEBUG - VM ctest-TestBasicPolicy-80067908-89420212 ID is 8cc88444-1379-473e-ba2d-5633425f39b2 2025-08-12 16:49:37,161 - DEBUG - VM ctest-TestBasicPolicy-80067908-89420212 launched on Node cn-jenkins-deploy-platform-ansible-os-3835-1 2025-08-12 16:49:37,220 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8cc88444-1379-473e-ba2d-5633425f39b2 2025-08-12 16:49:37,227 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/570c046e-2bdc-46f8-a6f8-7c96e2b99585 2025-08-12 16:49:38,457 - 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.22 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.471 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.471/1.847/3.224/1.376 ms') 2025-08-12 16:49:38,457 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-80067908-89420212 passed 2025-08-12 16:49:38,612 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 16:49:38,612 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-80067908-89420212, IP 159.108.15.3, Port 22 2025-08-12 16:49:38,767 - DEBUG - VM ctest-TestBasicPolicy-80067908-89420212 is ready for SSH connections 2025-08-12 16:49:38,767 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 16:49:38,767 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 159.108.15.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-12 16:49:38,767 - DEBUG - ping -s 56 -c 3 -W 1 159.108.15.3 2025-08-12 16:49:42,403 - DEBUG - PING 159.108.15.3 (159.108.15.3): 56 data bytes 64 bytes from 159.108.15.3: seq=0 ttl=63 time=3.314 ms 64 bytes from 159.108.15.3: seq=1 ttl=63 time=0.952 ms 64 bytes from 159.108.15.3: seq=2 ttl=63 time=0.889 ms --- 159.108.15.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.889/1.718/3.314 ms 2025-08-12 16:49:42,403 - INFO - Ping to IP 159.108.15.3 from VM ctest-TestBasicPolicy-80067908-84763511 passed 2025-08-12 16:49:42,591 - DEBUG - Policy Update Response {"network-policy": {"uuid": "96c68c61-9725-446d-8c0d-a94b599dc55a", "href": "http://10.0.0.38:8082/network-policy/96c68c61-9725-446d-8c0d-a94b599dc55a"}} 2025-08-12 16:49:42,592 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 16:49:42,592 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 159.108.15.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-12 16:49:42,592 - DEBUG - ping -s 56 -c 3 -W 1 159.108.15.3 2025-08-12 16:49:45,785 - DEBUG - PING 159.108.15.3 (159.108.15.3): 56 data bytes 64 bytes from 159.108.15.3: seq=0 ttl=63 time=1.358 ms --- 159.108.15.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.358/1.358/1.358 ms 2025-08-12 16:49:45,786 - WARNING - Ping to IP 159.108.15.3 from VM ctest-TestBasicPolicy-80067908-84763511 failed 2025-08-12 16:49:45,786 - INFO - Deleting VM ctest-TestBasicPolicy-80067908-89420212 2025-08-12 16:49:45,992 - INFO - Deleting VM ctest-TestBasicPolicy-80067908-84763511 2025-08-12 16:49:46,363 - INFO - Deleted policy ctest-policy-allow-all-91257274 2025-08-12 16:49:46,363 - INFO - Deleting VN ctest-vn-08400996 2025-08-12 16:49:46,397 - DEBUG - VN 8967450b-5981-44be-9397-2562fd373d97 still in use: Unable to complete operation on network 8967450b-5981-44be-9397-2562fd373d97. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-433bcaae-7378-46f4-86dc-3156af644b7d'] 2025-08-12 16:49:46,397 - WARNING - Deleting VN ctest-vn-08400996 failed..Will retry 2025-08-12 16:49:48,484 - DEBUG - Response for deleting network () 2025-08-12 16:49:48,484 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5741a71b-a894-4078-8328-47f6449afe22 2025-08-12 16:49:48,489 - DEBUG - Response Code: 404 2025-08-12 16:49:48,490 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-12 16:49:48,494 - DEBUG - Requesting: http://10.0.0.38:8082/domain/dfb8dc5c-fc68-42a3-bc49-3a4248932472 2025-08-12 16:49:48,566 - DEBUG - Requesting: http://10.0.0.38:8082/project/e50de382-2bba-44bc-9fae-2fa99e11c158 2025-08-12 16:49:48,613 - INFO - Validated that VN ctest-vn-08400996 is not found in API Server 2025-08-12 16:49:48,624 - DEBUG - VN ctest-vn-08400996 is not present in Agent 10.0.0.38 2025-08-12 16:49:48,624 - INFO - Validated that VN ctest-vn-08400996 is not in any agent 2025-08-12 16:49:48,640 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-08400996 info 2025-08-12 16:49:48,640 - INFO - Deleting VN ctest-vn-93644152 2025-08-12 16:49:48,922 - DEBUG - Response for deleting network () 2025-08-12 16:49:48,923 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c7f49c49-a4b3-485e-a674-714a61ba7e55 2025-08-12 16:49:48,934 - DEBUG - Response Code: 404 2025-08-12 16:49:48,934 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-12 16:49:48,948 - DEBUG - Requesting: http://10.0.0.38:8082/domain/dfb8dc5c-fc68-42a3-bc49-3a4248932472 2025-08-12 16:49:49,022 - DEBUG - Requesting: http://10.0.0.38:8082/project/e50de382-2bba-44bc-9fae-2fa99e11c158 2025-08-12 16:49:49,101 - INFO - Validated that VN ctest-vn-93644152 is not found in API Server 2025-08-12 16:49:49,112 - DEBUG - VN ctest-vn-93644152 is not present in Agent 10.0.0.38 2025-08-12 16:49:49,112 - INFO - Validated that VN ctest-vn-93644152 is not in any agent 2025-08-12 16:49:49,127 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-93644152 info 2025-08-12 16:49:49,390 - DEBUG - No XMPP flaps were noticed during the test 2025-08-12 16:49:49,390 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-08-12 16:49:49,390 - INFO - -------------------------------------------------------------------------------- 2025-08-12 16:49:50,052 - INFO - Deleted project: ctest-TestBasicPolicy-80067908, ID : e50de382-2bba-44bc-9fae-2fa99e11c158