2025-10-24 01:51:45,317 - INFO - Domain Default found not creating 2025-10-24 01:51:45,450 - INFO - Project ctest-TestBasicPolicy-80318307 not found, creating it 2025-10-24 01:51:45,943 - INFO - Created Project:ctest-TestBasicPolicy-80318307, ID : c8b5dcbb-8a52-4e26-9d6e-256958ee67d2 2025-10-24 01:51:47,260 - INFO - ================================================================================ 2025-10-24 01:51:47,260 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-24 01:51:47,260 - 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-10-24 01:51:47,507 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-24 01:51:47,507 - INFO - Initial checks done. Running the testcase now 2025-10-24 01:51:47,507 - INFO - 2025-10-24 01:51:48,047 - DEBUG - Response for create_network : {'network': {'id': '669a3282-f970-4ef4-9779-9babb0852458', 'name': 'ctest-vn-74166509', 'tenant_id': 'c8b5dcbb8a524e269d6e256958ee67d2', 'project_id': 'c8b5dcbb8a524e269d6e256958ee67d2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80318307', 'ctest-vn-74166509'], 'port_security_enabled': True, 'description': ''}} 2025-10-24 01:51:48,224 - DEBUG - Response for create_subnet : {'subnet': {'id': '75b99812-550c-43e3-8645-d0a00def6cc2', 'name': '', 'tenant_id': 'c8b5dcbb8a524e269d6e256958ee67d2', 'network_id': '669a3282-f970-4ef4-9779-9babb0852458', 'ip_version': 4, 'cidr': '195.92.42.128/26', 'allocation_pools': [{'start': '195.92.42.130', 'end': '195.92.42.190'}], 'gateway_ip': '195.92.42.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '195.92.42.130', 'tags': [], 'project_id': 'c8b5dcbb8a524e269d6e256958ee67d2'}} 2025-10-24 01:51:48,240 - INFO - Created VN ctest-vn-74166509 2025-10-24 01:51:48,295 - DEBUG - VN ctest-vn-74166509 UUID is 669a3282-f970-4ef4-9779-9babb0852458 2025-10-24 01:51:48,598 - DEBUG - Response for create_network : {'network': {'id': '104c83d5-7229-4dff-8f23-324c8116223d', 'name': 'ctest-vn-77732775', 'tenant_id': 'c8b5dcbb8a524e269d6e256958ee67d2', 'project_id': 'c8b5dcbb8a524e269d6e256958ee67d2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80318307', 'ctest-vn-77732775'], 'port_security_enabled': True, 'description': ''}} 2025-10-24 01:51:48,821 - DEBUG - Response for create_subnet : {'subnet': {'id': '50134f78-b5b7-4cc4-a9f1-87701fed3cc2', 'name': '', 'tenant_id': 'c8b5dcbb8a524e269d6e256958ee67d2', 'network_id': '104c83d5-7229-4dff-8f23-324c8116223d', 'ip_version': 4, 'cidr': '6.62.75.128/26', 'allocation_pools': [{'start': '6.62.75.130', 'end': '6.62.75.190'}], 'gateway_ip': '6.62.75.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '6.62.75.130', 'tags': [], 'project_id': 'c8b5dcbb8a524e269d6e256958ee67d2'}} 2025-10-24 01:51:48,844 - INFO - Created VN ctest-vn-77732775 2025-10-24 01:51:48,895 - DEBUG - VN ctest-vn-77732775 UUID is 104c83d5-7229-4dff-8f23-324c8116223d 2025-10-24 01:51:49,047 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-80318307:ctest-vn-74166509, 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-80318307:ctest-vn-77732775, 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-10-24 01:51:49,328 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '669a3282-f970-4ef4-9779-9babb0852458', 'name': 'ctest-vn-74166509', 'tenant_id': 'c8b5dcbb8a524e269d6e256958ee67d2', 'project_id': 'c8b5dcbb8a524e269d6e256958ee67d2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['75b99812-550c-43e3-8645-d0a00def6cc2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80318307', 'ctest-vn-74166509'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-80318307', 'ctest-policy-allow-all-07408028']], 'subnet_ipam': [{'subnet_cidr': '195.92.42.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-24 01:51:49,601 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '104c83d5-7229-4dff-8f23-324c8116223d', 'name': 'ctest-vn-77732775', 'tenant_id': 'c8b5dcbb8a524e269d6e256958ee67d2', 'project_id': 'c8b5dcbb8a524e269d6e256958ee67d2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['50134f78-b5b7-4cc4-a9f1-87701fed3cc2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80318307', 'ctest-vn-77732775'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-80318307', 'ctest-policy-allow-all-07408028']], 'subnet_ipam': [{'subnet_cidr': '6.62.75.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-24 01:51:49,739 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-24 01:51:50,037 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-24 01:51:50,062 - DEBUG - Requesting: http://10.0.0.254:8082/domain/4e3805b8-bd72-454f-acd6-c619155d7fc7 2025-10-24 01:51:50,074 - DEBUG - Requesting: http://10.0.0.254:8082/project/c8b5dcbb-8a52-4e26-9d6e-256958ee67d2 2025-10-24 01:51:50,147 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/669a3282-f970-4ef4-9779-9babb0852458 2025-10-24 01:51:50,156 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/669a3282-f970-4ef4-9779-9babb0852458 2025-10-24 01:51:50,164 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8caaaceb-a61a-4112-835d-5a9bdc027d9c 2025-10-24 01:51:50,170 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8caaaceb-a61a-4112-835d-5a9bdc027d9c 2025-10-24 01:51:50,176 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/d89f5a82-c176-4c47-9c18-0f7cb8403d13 2025-10-24 01:51:50,181 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-24 01:51:50,181 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/669a3282-f970-4ef4-9779-9babb0852458 2025-10-24 01:51:50,189 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8caaaceb-a61a-4112-835d-5a9bdc027d9c 2025-10-24 01:51:50,201 - INFO - Verified VN network id 12 for VN 669a3282-f970-4ef4-9779-9babb0852458 2025-10-24 01:51:50,202 - INFO - Verifications in API Server for VN ctest-vn-74166509 passed 2025-10-24 01:51:50,202 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/669a3282-f970-4ef4-9779-9babb0852458 2025-10-24 01:51:50,210 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8caaaceb-a61a-4112-835d-5a9bdc027d9c 2025-10-24 01:51:50,216 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8caaaceb-a61a-4112-835d-5a9bdc027d9c 2025-10-24 01:51:50,221 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/d89f5a82-c176-4c47-9c18-0f7cb8403d13 2025-10-24 01:51:50,231 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-80318307:ctest-vn-74166509', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80318307', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7393277276394114804', 'uuid-lslong': '10914926333612336216'}, 'enable': 'true', 'created': '2025-10-24T01:51:48', 'last-modified': '2025-10-24T01:51:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.923878'} 2025-10-24 01:51:50,236 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-24 01:51:50,236 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-74166509 passed 2025-10-24 01:51:50,236 - DEBUG - ====Verifying policy data for ctest-vn-74166509 in API_Server ====== 2025-10-24 01:51:50,236 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-24 01:51:50,241 - DEBUG - Requesting: http://10.0.0.254:8082/domain/4e3805b8-bd72-454f-acd6-c619155d7fc7 2025-10-24 01:51:50,251 - DEBUG - Requesting: http://10.0.0.254:8082/project/c8b5dcbb-8a52-4e26-9d6e-256958ee67d2 2025-10-24 01:51:50,321 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/669a3282-f970-4ef4-9779-9babb0852458 2025-10-24 01:51:50,330 - DEBUG - ==>Verifying data for policy with id: 0c8dd00d-071e-4aaa-a025-551264eece41, fqn: ['default-domain', 'ctest-TestBasicPolicy-80318307', 'ctest-policy-allow-all-07408028'] 2025-10-24 01:51:50,330 - INFO - VN ctest-vn-74166509 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-24 01:51:50,331 - DEBUG - Verifying the vn in opserver 2025-10-24 01:51:50,331 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-80318307:ctest-vn-74166509 virtual network link through opserver 10.0.0.254 2025-10-24 01:51:50,331 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-24 01:51:50,618 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-24 01:51:50,666 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-80318307:ctest-vn-74166509', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-80318307:ctest-vn-74166509?flat'} 2025-10-24 01:51:50,666 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-80318307:ctest-vn-74166509 is found in opserver 2025-10-24 01:51:50,674 - DEBUG - Do not have enough data to verify VN in agent 2025-10-24 01:51:50,679 - DEBUG - VRF ids for VN ctest-vn-74166509: {} 2025-10-24 01:51:50,679 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-24 01:51:50,685 - DEBUG - Requesting: http://10.0.0.254:8082/domain/4e3805b8-bd72-454f-acd6-c619155d7fc7 2025-10-24 01:51:50,695 - DEBUG - Requesting: http://10.0.0.254:8082/project/c8b5dcbb-8a52-4e26-9d6e-256958ee67d2 2025-10-24 01:51:50,764 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/104c83d5-7229-4dff-8f23-324c8116223d 2025-10-24 01:51:50,774 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/104c83d5-7229-4dff-8f23-324c8116223d 2025-10-24 01:51:50,782 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/522a491c-26df-4b47-bf9e-6db5a1f65067 2025-10-24 01:51:50,788 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/522a491c-26df-4b47-bf9e-6db5a1f65067 2025-10-24 01:51:50,794 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/6ec7b448-330b-48a3-9292-376453811a81 2025-10-24 01:51:50,800 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-24 01:51:50,800 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/104c83d5-7229-4dff-8f23-324c8116223d 2025-10-24 01:51:50,807 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/522a491c-26df-4b47-bf9e-6db5a1f65067 2025-10-24 01:51:50,819 - INFO - Verified VN network id 13 for VN 104c83d5-7229-4dff-8f23-324c8116223d 2025-10-24 01:51:50,819 - INFO - Verifications in API Server for VN ctest-vn-77732775 passed 2025-10-24 01:51:50,819 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/104c83d5-7229-4dff-8f23-324c8116223d 2025-10-24 01:51:50,826 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/522a491c-26df-4b47-bf9e-6db5a1f65067 2025-10-24 01:51:50,832 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/522a491c-26df-4b47-bf9e-6db5a1f65067 2025-10-24 01:51:50,838 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/6ec7b448-330b-48a3-9292-376453811a81 2025-10-24 01:51:50,847 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-80318307:ctest-vn-77732775', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80318307', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1174458555603439103', 'uuid-lslong': '10314142875773182525'}, 'enable': 'true', 'created': '2025-10-24T01:51:48', 'last-modified': '2025-10-24T01:51:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.322705'} 2025-10-24 01:51:50,852 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-24 01:51:50,852 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-77732775 passed 2025-10-24 01:51:50,852 - DEBUG - ====Verifying policy data for ctest-vn-77732775 in API_Server ====== 2025-10-24 01:51:50,852 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-24 01:51:50,857 - DEBUG - Requesting: http://10.0.0.254:8082/domain/4e3805b8-bd72-454f-acd6-c619155d7fc7 2025-10-24 01:51:50,866 - DEBUG - Requesting: http://10.0.0.254:8082/project/c8b5dcbb-8a52-4e26-9d6e-256958ee67d2 2025-10-24 01:51:50,932 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/104c83d5-7229-4dff-8f23-324c8116223d 2025-10-24 01:51:50,940 - DEBUG - ==>Verifying data for policy with id: 0c8dd00d-071e-4aaa-a025-551264eece41, fqn: ['default-domain', 'ctest-TestBasicPolicy-80318307', 'ctest-policy-allow-all-07408028'] 2025-10-24 01:51:50,940 - INFO - VN ctest-vn-77732775 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-24 01:51:50,940 - DEBUG - Verifying the vn in opserver 2025-10-24 01:51:50,940 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-80318307:ctest-vn-77732775 virtual network link through opserver 10.0.0.254 2025-10-24 01:51:50,940 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-24 01:51:50,949 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-80318307:ctest-vn-77732775', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-80318307:ctest-vn-77732775?flat'} 2025-10-24 01:51:50,949 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-80318307:ctest-vn-77732775 is found in opserver 2025-10-24 01:51:50,956 - DEBUG - Do not have enough data to verify VN in agent 2025-10-24 01:51:50,960 - DEBUG - VRF ids for VN ctest-vn-77732775: {} 2025-10-24 01:51:51,018 - DEBUG - Services list from nova: [, , ] 2025-10-24 01:51:51,993 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4472-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4472-1) 2025-10-24 01:51:53,087 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4472-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4472-1) 2025-10-24 01:51:53,087 - INFO - Waiting for VM ctest-TestBasicPolicy-80318307-15738561 to be up.. 2025-10-24 01:51:53,167 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-24 01:51:58,228 - DEBUG - VM is in ACTIVE state now 2025-10-24 01:51:58,228 - INFO - VM name : ctest-TestBasicPolicy-80318307-15738561 2025-10-24 01:51:58,292 - DEBUG - VM ctest-TestBasicPolicy-80318307-15738561 ID is 1b262ae9-7a17-4d4b-a4bf-d4d886f12a9b 2025-10-24 01:51:58,308 - DEBUG - VM ctest-TestBasicPolicy-80318307-15738561 launched on Node cn-jenkins-deploy-platform-ansible-os-4472-1 2025-10-24 01:51:58,377 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/1b262ae9-7a17-4d4b-a4bf-d4d886f12a9b 2025-10-24 01:51:58,383 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/8da3baae-dd49-4eb6-814a-b261e463d244 2025-10-24 01:52:01,628 - 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-10-24 01:52:01,628 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80318307-15738561 failed! 2025-10-24 01:52:01,683 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-80318307:ctest-vn-74166509 is 195.92.42.129 and allocation pool is NOT set 2025-10-24 01:52:03,754 - 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=4.37 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.39 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 = 2.392/3.379/4.367/0.987 ms') 2025-10-24 01:52:03,754 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80318307-15738561 passed 2025-10-24 01:52:03,903 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 01:52:03,903 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-80318307-15738561, IP 195.92.42.131, Port 22 2025-10-24 01:52:04,055 - DEBUG - VM ctest-TestBasicPolicy-80318307-15738561 is ready for SSH connections 2025-10-24 01:52:04,055 - INFO - Waiting for VM ctest-TestBasicPolicy-80318307-11201323 to be up.. 2025-10-24 01:52:04,120 - DEBUG - VM is in ACTIVE state now 2025-10-24 01:52:04,120 - INFO - VM name : ctest-TestBasicPolicy-80318307-11201323 2025-10-24 01:52:04,183 - DEBUG - VM ctest-TestBasicPolicy-80318307-11201323 ID is 3d4a4360-b11d-4cdb-8f53-521bf4d99e6e 2025-10-24 01:52:04,183 - DEBUG - VM ctest-TestBasicPolicy-80318307-11201323 launched on Node cn-jenkins-deploy-platform-ansible-os-4472-1 2025-10-24 01:52:04,246 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/3d4a4360-b11d-4cdb-8f53-521bf4d99e6e 2025-10-24 01:52:04,253 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/81cb8fb6-4f3e-4b4b-8c7c-5d313ee1b3bc 2025-10-24 01:52:05,483 - 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.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.382 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.382/1.584/2.786/1.202 ms') 2025-10-24 01:52:05,483 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-80318307-11201323 passed 2025-10-24 01:52:05,627 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 01:52:05,627 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-80318307-11201323, IP 6.62.75.131, Port 22 2025-10-24 01:52:05,783 - DEBUG - VM ctest-TestBasicPolicy-80318307-11201323 is ready for SSH connections 2025-10-24 01:52:05,783 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 01:52:05,783 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 6.62.75.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-24 01:52:05,783 - DEBUG - ping -s 56 -c 3 -W 1 6.62.75.131 2025-10-24 01:52:09,462 - DEBUG - PING 6.62.75.131 (6.62.75.131): 56 data bytes 64 bytes from 6.62.75.131: seq=0 ttl=63 time=3.485 ms 64 bytes from 6.62.75.131: seq=1 ttl=63 time=0.716 ms 64 bytes from 6.62.75.131: seq=2 ttl=63 time=0.703 ms --- 6.62.75.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.703/1.634/3.485 ms 2025-10-24 01:52:09,463 - INFO - Ping to IP 6.62.75.131 from VM ctest-TestBasicPolicy-80318307-15738561 passed 2025-10-24 01:52:09,631 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0c8dd00d-071e-4aaa-a025-551264eece41", "href": "http://10.0.0.254:8082/network-policy/0c8dd00d-071e-4aaa-a025-551264eece41"}} 2025-10-24 01:52:09,631 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 01:52:09,631 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 6.62.75.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-24 01:52:09,631 - DEBUG - ping -s 56 -c 3 -W 1 6.62.75.131 2025-10-24 01:52:12,833 - DEBUG - PING 6.62.75.131 (6.62.75.131): 56 data bytes 64 bytes from 6.62.75.131: seq=0 ttl=63 time=1.302 ms --- 6.62.75.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.302/1.302/1.302 ms 2025-10-24 01:52:12,834 - WARNING - Ping to IP 6.62.75.131 from VM ctest-TestBasicPolicy-80318307-15738561 failed 2025-10-24 01:52:12,834 - INFO - Deleting VM ctest-TestBasicPolicy-80318307-11201323 2025-10-24 01:52:12,897 - INFO - Deleting VM ctest-TestBasicPolicy-80318307-15738561 2025-10-24 01:52:13,225 - INFO - Deleted policy ctest-policy-allow-all-07408028 2025-10-24 01:52:13,225 - INFO - Deleting VN ctest-vn-77732775 2025-10-24 01:52:13,257 - DEBUG - VN 104c83d5-7229-4dff-8f23-324c8116223d still in use: Unable to complete operation on network 104c83d5-7229-4dff-8f23-324c8116223d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f8a62a2f-2416-4b49-a45c-b0257328f16b'] 2025-10-24 01:52:13,257 - WARNING - Deleting VN ctest-vn-77732775 failed..Will retry 2025-10-24 01:52:15,350 - DEBUG - Response for deleting network () 2025-10-24 01:52:15,350 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/522a491c-26df-4b47-bf9e-6db5a1f65067 2025-10-24 01:52:15,354 - DEBUG - Response Code: 404 2025-10-24 01:52:15,356 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-24 01:52:15,360 - DEBUG - Requesting: http://10.0.0.254:8082/domain/4e3805b8-bd72-454f-acd6-c619155d7fc7 2025-10-24 01:52:15,412 - DEBUG - Requesting: http://10.0.0.254:8082/project/c8b5dcbb-8a52-4e26-9d6e-256958ee67d2 2025-10-24 01:52:15,478 - INFO - Validated that VN ctest-vn-77732775 is not found in API Server 2025-10-24 01:52:15,485 - DEBUG - VN ctest-vn-77732775 is not present in Agent 10.0.0.254 2025-10-24 01:52:15,485 - INFO - Validated that VN ctest-vn-77732775 is not in any agent 2025-10-24 01:52:15,497 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-77732775 info 2025-10-24 01:52:15,498 - INFO - Deleting VN ctest-vn-74166509 2025-10-24 01:52:15,584 - DEBUG - Response for deleting network () 2025-10-24 01:52:15,584 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8caaaceb-a61a-4112-835d-5a9bdc027d9c 2025-10-24 01:52:15,588 - DEBUG - Response Code: 404 2025-10-24 01:52:15,588 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-24 01:52:15,593 - DEBUG - Requesting: http://10.0.0.254:8082/domain/4e3805b8-bd72-454f-acd6-c619155d7fc7 2025-10-24 01:52:15,643 - DEBUG - Requesting: http://10.0.0.254:8082/project/c8b5dcbb-8a52-4e26-9d6e-256958ee67d2 2025-10-24 01:52:15,720 - INFO - Validated that VN ctest-vn-74166509 is not found in API Server 2025-10-24 01:52:15,728 - DEBUG - VN ctest-vn-74166509 is not present in Agent 10.0.0.254 2025-10-24 01:52:15,728 - INFO - Validated that VN ctest-vn-74166509 is not in any agent 2025-10-24 01:52:15,742 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-74166509 info 2025-10-24 01:52:15,996 - DEBUG - No XMPP flaps were noticed during the test
2025-10-24 01:52:15,996 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:28]
2025-10-24 01:52:15,996 - INFO - -------------------------------------------------------------------------------- 2025-10-24 01:52:16,646 - INFO - Deleted project: ctest-TestBasicPolicy-80318307, ID : c8b5dcbb-8a52-4e26-9d6e-256958ee67d2