2025-08-14 02:04:46,241 - INFO - Domain Default found not creating 2025-08-14 02:04:46,374 - INFO - Project ctest-TestBasicPolicy-90503345 not found, creating it 2025-08-14 02:04:46,853 - INFO - Created Project:ctest-TestBasicPolicy-90503345, ID : 339988ef-3415-4fa1-ac46-a152af78b26e 2025-08-14 02:04:48,246 - INFO - ================================================================================ 2025-08-14 02:04:48,247 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-14 02:04:48,247 - 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-14 02:04:48,507 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.254': '0'}} with 2025-08-14 02:04:48,507 - INFO - Initial checks done. Running the testcase now 2025-08-14 02:04:48,507 - INFO - 2025-08-14 02:04:48,995 - DEBUG - Response for create_network : {'network': {'id': '4c0d8240-ddc2-466e-ac2e-4b48495fe8d8', 'name': 'ctest-vn-66252425', 'tenant_id': '339988ef34154fa1ac46a152af78b26e', 'project_id': '339988ef34154fa1ac46a152af78b26e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90503345', 'ctest-vn-66252425'], 'port_security_enabled': True, 'description': ''}} 2025-08-14 02:04:49,170 - DEBUG - Response for create_subnet : {'subnet': {'id': '1700826c-9a6d-42d5-a618-ad64c3836702', 'name': '', 'tenant_id': '339988ef34154fa1ac46a152af78b26e', 'network_id': '4c0d8240-ddc2-466e-ac2e-4b48495fe8d8', 'ip_version': 4, 'cidr': '178.244.169.128/26', 'allocation_pools': [{'start': '178.244.169.130', 'end': '178.244.169.190'}], 'gateway_ip': '178.244.169.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '178.244.169.130', 'tags': [], 'project_id': '339988ef34154fa1ac46a152af78b26e'}} 2025-08-14 02:04:49,190 - INFO - Created VN ctest-vn-66252425 2025-08-14 02:04:49,242 - DEBUG - VN ctest-vn-66252425 UUID is 4c0d8240-ddc2-466e-ac2e-4b48495fe8d8 2025-08-14 02:04:49,553 - DEBUG - Response for create_network : {'network': {'id': 'f204beb5-090b-4195-919a-fe7b5b41131d', 'name': 'ctest-vn-00097893', 'tenant_id': '339988ef34154fa1ac46a152af78b26e', 'project_id': '339988ef34154fa1ac46a152af78b26e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90503345', 'ctest-vn-00097893'], 'port_security_enabled': True, 'description': ''}} 2025-08-14 02:04:49,765 - DEBUG - Response for create_subnet : {'subnet': {'id': '8f482e2b-7afc-4702-a79b-ab546289d4a7', 'name': '', 'tenant_id': '339988ef34154fa1ac46a152af78b26e', 'network_id': 'f204beb5-090b-4195-919a-fe7b5b41131d', 'ip_version': 4, 'cidr': '164.79.158.64/26', 'allocation_pools': [{'start': '164.79.158.66', 'end': '164.79.158.126'}], 'gateway_ip': '164.79.158.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.79.158.66', 'tags': [], 'project_id': '339988ef34154fa1ac46a152af78b26e'}} 2025-08-14 02:04:49,784 - INFO - Created VN ctest-vn-00097893 2025-08-14 02:04:49,833 - DEBUG - VN ctest-vn-00097893 UUID is f204beb5-090b-4195-919a-fe7b5b41131d 2025-08-14 02:04:49,981 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-90503345:ctest-vn-66252425, 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-90503345:ctest-vn-00097893, 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-14 02:04:50,265 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4c0d8240-ddc2-466e-ac2e-4b48495fe8d8', 'name': 'ctest-vn-66252425', 'tenant_id': '339988ef34154fa1ac46a152af78b26e', 'project_id': '339988ef34154fa1ac46a152af78b26e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1700826c-9a6d-42d5-a618-ad64c3836702'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90503345', 'ctest-vn-66252425'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90503345', 'ctest-policy-allow-all-11386162']], 'subnet_ipam': [{'subnet_cidr': '178.244.169.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-14 02:04:50,491 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f204beb5-090b-4195-919a-fe7b5b41131d', 'name': 'ctest-vn-00097893', 'tenant_id': '339988ef34154fa1ac46a152af78b26e', 'project_id': '339988ef34154fa1ac46a152af78b26e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8f482e2b-7afc-4702-a79b-ab546289d4a7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90503345', 'ctest-vn-00097893'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90503345', 'ctest-policy-allow-all-11386162']], 'subnet_ipam': [{'subnet_cidr': '164.79.158.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-14 02:04:50,638 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-08-14 02:04:50,902 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-08-14 02:04:50,931 - DEBUG - Requesting: http://10.0.0.41:8082/domain/2146537a-e282-41ab-bb12-f19bc90f9169 2025-08-14 02:04:50,945 - DEBUG - Requesting: http://10.0.0.41:8082/project/339988ef-3415-4fa1-ac46-a152af78b26e 2025-08-14 02:04:51,020 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/4c0d8240-ddc2-466e-ac2e-4b48495fe8d8 2025-08-14 02:04:51,031 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/4c0d8240-ddc2-466e-ac2e-4b48495fe8d8 2025-08-14 02:04:51,040 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/02d0d7b7-420a-4cfb-9806-5669412665e6 2025-08-14 02:04:51,046 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/02d0d7b7-420a-4cfb-9806-5669412665e6 2025-08-14 02:04:51,052 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/437cc987-cc8f-452b-84d2-0e63efa90d2d 2025-08-14 02:04:51,058 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-14 02:04:51,058 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/4c0d8240-ddc2-466e-ac2e-4b48495fe8d8 2025-08-14 02:04:51,065 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/02d0d7b7-420a-4cfb-9806-5669412665e6 2025-08-14 02:04:51,077 - INFO - Verified VN network id 12 for VN 4c0d8240-ddc2-466e-ac2e-4b48495fe8d8 2025-08-14 02:04:51,077 - INFO - Verifications in API Server for VN ctest-vn-66252425 passed 2025-08-14 02:04:51,077 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/4c0d8240-ddc2-466e-ac2e-4b48495fe8d8 2025-08-14 02:04:51,085 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/02d0d7b7-420a-4cfb-9806-5669412665e6 2025-08-14 02:04:51,092 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/02d0d7b7-420a-4cfb-9806-5669412665e6 2025-08-14 02:04:51,099 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/437cc987-cc8f-452b-84d2-0e63efa90d2d 2025-08-14 02:04:51,110 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90503345:ctest-vn-66252425', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90503345', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5480179536689776238', 'uuid-lslong': '12406936797293045976'}, 'enable': 'true', 'created': '2025-08-14T02:04:48', 'last-modified': '2025-08-14T02:04:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.866408'} 2025-08-14 02:04:51,117 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-14 02:04:51,117 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66252425 passed 2025-08-14 02:04:51,117 - DEBUG - ====Verifying policy data for ctest-vn-66252425 in API_Server ====== 2025-08-14 02:04:51,117 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-08-14 02:04:51,122 - DEBUG - Requesting: http://10.0.0.41:8082/domain/2146537a-e282-41ab-bb12-f19bc90f9169 2025-08-14 02:04:51,133 - DEBUG - Requesting: http://10.0.0.41:8082/project/339988ef-3415-4fa1-ac46-a152af78b26e 2025-08-14 02:04:51,205 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/4c0d8240-ddc2-466e-ac2e-4b48495fe8d8 2025-08-14 02:04:51,214 - DEBUG - ==>Verifying data for policy with id: fa4a41a1-3da3-4ee9-87a9-a145fc044ca6, fqn: ['default-domain', 'ctest-TestBasicPolicy-90503345', 'ctest-policy-allow-all-11386162'] 2025-08-14 02:04:51,214 - INFO - VN ctest-vn-66252425 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-14 02:04:51,214 - DEBUG - Verifying the vn in opserver 2025-08-14 02:04:51,215 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90503345:ctest-vn-66252425 virtual network link through opserver 10.0.0.41 2025-08-14 02:04:51,215 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-08-14 02:04:51,471 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-08-14 02:04:51,520 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90503345:ctest-vn-66252425', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90503345:ctest-vn-66252425?flat'} 2025-08-14 02:04:51,520 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90503345:ctest-vn-66252425 is found in opserver 2025-08-14 02:04:51,531 - DEBUG - Do not have enough data to verify VN in agent 2025-08-14 02:04:51,538 - DEBUG - VRF ids for VN ctest-vn-66252425: {} 2025-08-14 02:04:51,538 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-08-14 02:04:51,546 - DEBUG - Requesting: http://10.0.0.41:8082/domain/2146537a-e282-41ab-bb12-f19bc90f9169 2025-08-14 02:04:51,561 - DEBUG - Requesting: http://10.0.0.41:8082/project/339988ef-3415-4fa1-ac46-a152af78b26e 2025-08-14 02:04:51,637 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/f204beb5-090b-4195-919a-fe7b5b41131d 2025-08-14 02:04:51,649 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/f204beb5-090b-4195-919a-fe7b5b41131d 2025-08-14 02:04:51,659 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/1cc0cab0-9dc8-4d67-8cad-2e3240d4642b 2025-08-14 02:04:51,667 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/1cc0cab0-9dc8-4d67-8cad-2e3240d4642b 2025-08-14 02:04:51,673 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/ad62558c-f458-4b8e-a603-16222cc1c850 2025-08-14 02:04:51,679 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-14 02:04:51,679 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/f204beb5-090b-4195-919a-fe7b5b41131d 2025-08-14 02:04:51,689 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/1cc0cab0-9dc8-4d67-8cad-2e3240d4642b 2025-08-14 02:04:51,705 - INFO - Verified VN network id 13 for VN f204beb5-090b-4195-919a-fe7b5b41131d 2025-08-14 02:04:51,706 - INFO - Verifications in API Server for VN ctest-vn-00097893 passed 2025-08-14 02:04:51,706 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/f204beb5-090b-4195-919a-fe7b5b41131d 2025-08-14 02:04:51,718 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/1cc0cab0-9dc8-4d67-8cad-2e3240d4642b 2025-08-14 02:04:51,726 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/1cc0cab0-9dc8-4d67-8cad-2e3240d4642b 2025-08-14 02:04:51,735 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/ad62558c-f458-4b8e-a603-16222cc1c850 2025-08-14 02:04:51,748 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90503345:ctest-vn-00097893', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90503345', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17439273341835493781', 'uuid-lslong': '10491978087678415645'}, 'enable': 'true', 'created': '2025-08-14T02:04:49', 'last-modified': '2025-08-14T02:04:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.278669'} 2025-08-14 02:04:51,755 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-14 02:04:51,755 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-00097893 passed 2025-08-14 02:04:51,756 - DEBUG - ====Verifying policy data for ctest-vn-00097893 in API_Server ====== 2025-08-14 02:04:51,756 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-08-14 02:04:51,762 - DEBUG - Requesting: http://10.0.0.41:8082/domain/2146537a-e282-41ab-bb12-f19bc90f9169 2025-08-14 02:04:51,774 - DEBUG - Requesting: http://10.0.0.41:8082/project/339988ef-3415-4fa1-ac46-a152af78b26e 2025-08-14 02:04:51,844 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/f204beb5-090b-4195-919a-fe7b5b41131d 2025-08-14 02:04:51,855 - DEBUG - ==>Verifying data for policy with id: fa4a41a1-3da3-4ee9-87a9-a145fc044ca6, fqn: ['default-domain', 'ctest-TestBasicPolicy-90503345', 'ctest-policy-allow-all-11386162'] 2025-08-14 02:04:51,855 - INFO - VN ctest-vn-00097893 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-14 02:04:51,855 - DEBUG - Verifying the vn in opserver 2025-08-14 02:04:51,855 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90503345:ctest-vn-00097893 virtual network link through opserver 10.0.0.41 2025-08-14 02:04:51,855 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-08-14 02:04:51,866 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90503345:ctest-vn-00097893', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90503345:ctest-vn-00097893?flat'} 2025-08-14 02:04:51,866 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90503345:ctest-vn-00097893 is found in opserver 2025-08-14 02:04:51,878 - DEBUG - Do not have enough data to verify VN in agent 2025-08-14 02:04:51,884 - DEBUG - VRF ids for VN ctest-vn-00097893: {} 2025-08-14 02:04:51,946 - DEBUG - Services list from nova: [, , ] 2025-08-14 02:04:52,903 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3848-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3848-1) 2025-08-14 02:04:53,984 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3848-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3848-1) 2025-08-14 02:04:53,984 - INFO - Waiting for VM ctest-TestBasicPolicy-90503345-07133232 to be up.. 2025-08-14 02:04:54,086 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-14 02:04:59,155 - DEBUG - VM is in ACTIVE state now 2025-08-14 02:04:59,155 - INFO - VM name : ctest-TestBasicPolicy-90503345-07133232 2025-08-14 02:04:59,216 - DEBUG - VM ctest-TestBasicPolicy-90503345-07133232 ID is 5fdbdb79-958a-4123-a4c3-3435078a1273 2025-08-14 02:04:59,237 - DEBUG - VM ctest-TestBasicPolicy-90503345-07133232 launched on Node cn-jenkins-deploy-platform-ansible-os-3848-1 2025-08-14 02:04:59,301 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/5fdbdb79-958a-4123-a4c3-3435078a1273 2025-08-14 02:04:59,310 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/f5e14786-e2c7-4b47-8a0a-faa115477254 2025-08-14 02:05:02,567 - 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 1020ms') 2025-08-14 02:05:02,567 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-90503345-07133232 failed! 2025-08-14 02:05:02,621 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-90503345:ctest-vn-66252425 is 178.244.169.129 and allocation pool is NOT set 2025-08-14 02:05:04,676 - 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.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.542 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.542/1.666/2.791/1.124 ms') 2025-08-14 02:05:04,676 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-90503345-07133232 passed 2025-08-14 02:05:04,825 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 02:05:04,826 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-90503345-07133232, IP 178.244.169.131, Port 22 2025-08-14 02:05:04,977 - DEBUG - VM ctest-TestBasicPolicy-90503345-07133232 is ready for SSH connections 2025-08-14 02:05:04,977 - INFO - Waiting for VM ctest-TestBasicPolicy-90503345-92567611 to be up.. 2025-08-14 02:05:05,048 - DEBUG - VM is in ACTIVE state now 2025-08-14 02:05:05,048 - INFO - VM name : ctest-TestBasicPolicy-90503345-92567611 2025-08-14 02:05:05,116 - DEBUG - VM ctest-TestBasicPolicy-90503345-92567611 ID is 556f11b4-e2ea-40cb-b048-cfabf4fa7eab 2025-08-14 02:05:05,116 - DEBUG - VM ctest-TestBasicPolicy-90503345-92567611 launched on Node cn-jenkins-deploy-platform-ansible-os-3848-1 2025-08-14 02:05:05,188 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/556f11b4-e2ea-40cb-b048-cfabf4fa7eab 2025-08-14 02:05:05,198 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/3421aecf-98d8-4d8a-ac82-063537cd785c 2025-08-14 02:05:06,427 - 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.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.89 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 = 1.892/2.359/2.827/0.467 ms') 2025-08-14 02:05:06,427 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-90503345-92567611 passed 2025-08-14 02:05:06,578 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 02:05:06,578 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-90503345-92567611, IP 164.79.158.67, Port 22 2025-08-14 02:05:06,729 - DEBUG - VM ctest-TestBasicPolicy-90503345-92567611 is ready for SSH connections 2025-08-14 02:05:06,729 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 02:05:06,729 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 164.79.158.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-08-14 02:05:06,729 - DEBUG - ping -s 56 -c 3 -W 1 164.79.158.67 2025-08-14 02:05:10,666 - DEBUG - PING 164.79.158.67 (164.79.158.67): 56 data bytes 64 bytes from 164.79.158.67: seq=0 ttl=63 time=4.090 ms 64 bytes from 164.79.158.67: seq=1 ttl=63 time=0.797 ms 64 bytes from 164.79.158.67: seq=2 ttl=63 time=0.785 ms --- 164.79.158.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.785/1.890/4.090 ms 2025-08-14 02:05:10,666 - INFO - Ping to IP 164.79.158.67 from VM ctest-TestBasicPolicy-90503345-07133232 passed 2025-08-14 02:05:10,853 - DEBUG - Policy Update Response {"network-policy": {"uuid": "fa4a41a1-3da3-4ee9-87a9-a145fc044ca6", "href": "http://10.0.0.41:8082/network-policy/fa4a41a1-3da3-4ee9-87a9-a145fc044ca6"}} 2025-08-14 02:05:10,853 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 02:05:10,854 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 164.79.158.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-08-14 02:05:10,854 - DEBUG - ping -s 56 -c 3 -W 1 164.79.158.67 2025-08-14 02:05:14,042 - DEBUG - PING 164.79.158.67 (164.79.158.67): 56 data bytes 64 bytes from 164.79.158.67: seq=0 ttl=63 time=2.499 ms --- 164.79.158.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.499/2.499/2.499 ms 2025-08-14 02:05:14,042 - WARNING - Ping to IP 164.79.158.67 from VM ctest-TestBasicPolicy-90503345-07133232 failed 2025-08-14 02:05:14,042 - INFO - Deleting VM ctest-TestBasicPolicy-90503345-92567611 2025-08-14 02:05:14,112 - INFO - Deleting VM ctest-TestBasicPolicy-90503345-07133232 2025-08-14 02:05:14,486 - INFO - Deleted policy ctest-policy-allow-all-11386162 2025-08-14 02:05:14,486 - INFO - Deleting VN ctest-vn-00097893 2025-08-14 02:05:14,523 - DEBUG - VN f204beb5-090b-4195-919a-fe7b5b41131d still in use: Unable to complete operation on network f204beb5-090b-4195-919a-fe7b5b41131d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-25164895-cf8b-4e20-a5f5-06fc85bb446a'] 2025-08-14 02:05:14,524 - WARNING - Deleting VN ctest-vn-00097893 failed..Will retry 2025-08-14 02:05:16,776 - DEBUG - Response for deleting network () 2025-08-14 02:05:16,776 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/1cc0cab0-9dc8-4d67-8cad-2e3240d4642b 2025-08-14 02:05:16,787 - DEBUG - Response Code: 404 2025-08-14 02:05:16,788 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-08-14 02:05:16,799 - DEBUG - Requesting: http://10.0.0.41:8082/domain/2146537a-e282-41ab-bb12-f19bc90f9169 2025-08-14 02:05:16,817 - DEBUG - Requesting: http://10.0.0.41:8082/project/339988ef-3415-4fa1-ac46-a152af78b26e 2025-08-14 02:05:16,896 - INFO - Validated that VN ctest-vn-00097893 is not found in API Server 2025-08-14 02:05:16,909 - DEBUG - VN ctest-vn-00097893 is not present in Agent 10.0.0.41 2025-08-14 02:05:16,909 - INFO - Validated that VN ctest-vn-00097893 is not in any agent 2025-08-14 02:05:16,924 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-00097893 info 2025-08-14 02:05:16,924 - INFO - Deleting VN ctest-vn-66252425 2025-08-14 02:05:17,020 - DEBUG - Response for deleting network () 2025-08-14 02:05:17,020 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/02d0d7b7-420a-4cfb-9806-5669412665e6 2025-08-14 02:05:17,034 - DEBUG - Response Code: 404 2025-08-14 02:05:17,034 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-08-14 02:05:17,040 - DEBUG - Requesting: http://10.0.0.41:8082/domain/2146537a-e282-41ab-bb12-f19bc90f9169 2025-08-14 02:05:17,095 - DEBUG - Requesting: http://10.0.0.41:8082/project/339988ef-3415-4fa1-ac46-a152af78b26e 2025-08-14 02:05:17,164 - INFO - Validated that VN ctest-vn-66252425 is not found in API Server 2025-08-14 02:05:17,175 - DEBUG - VN ctest-vn-66252425 is not present in Agent 10.0.0.41 2025-08-14 02:05:17,175 - INFO - Validated that VN ctest-vn-66252425 is not in any agent 2025-08-14 02:05:17,190 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-66252425 info 2025-08-14 02:05:17,443 - DEBUG - No XMPP flaps were noticed during the test
2025-08-14 02:05:17,443 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-08-14 02:05:17,444 - INFO - -------------------------------------------------------------------------------- 2025-08-14 02:05:18,088 - INFO - Deleted project: ctest-TestBasicPolicy-90503345, ID : 339988ef-3415-4fa1-ac46-a152af78b26e