2025-11-05 08:19:47,720 - INFO - Domain Default found not creating 2025-11-05 08:19:47,853 - INFO - Project ctest-TestBasicPolicy-45866325 not found, creating it 2025-11-05 08:19:48,275 - INFO - Created Project:ctest-TestBasicPolicy-45866325, ID : 3db563a6-4b0e-460c-bcee-5af2982f01db 2025-11-05 08:19:49,641 - INFO - ================================================================================ 2025-11-05 08:19:49,641 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-05 08:19:49,641 - 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-11-05 08:19:49,894 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.193': '0'}} with 2025-11-05 08:19:49,894 - INFO - Initial checks done. Running the testcase now 2025-11-05 08:19:49,894 - INFO - 2025-11-05 08:19:50,423 - DEBUG - Response for create_network : {'network': {'id': '243cad87-ff7b-4e88-8152-aa70959b9e3a', 'name': 'ctest-vn-01757261', 'tenant_id': '3db563a64b0e460cbcee5af2982f01db', 'project_id': '3db563a64b0e460cbcee5af2982f01db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45866325', 'ctest-vn-01757261'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 08:19:50,576 - DEBUG - Response for create_subnet : {'subnet': {'id': '40f3fb60-1059-4153-a57f-aa03385d9779', 'name': '', 'tenant_id': '3db563a64b0e460cbcee5af2982f01db', 'network_id': '243cad87-ff7b-4e88-8152-aa70959b9e3a', 'ip_version': 4, 'cidr': '212.225.223.192/26', 'allocation_pools': [{'start': '212.225.223.194', 'end': '212.225.223.254'}], 'gateway_ip': '212.225.223.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.225.223.194', 'tags': [], 'project_id': '3db563a64b0e460cbcee5af2982f01db'}} 2025-11-05 08:19:50,593 - INFO - Created VN ctest-vn-01757261 2025-11-05 08:19:50,645 - DEBUG - VN ctest-vn-01757261 UUID is 243cad87-ff7b-4e88-8152-aa70959b9e3a 2025-11-05 08:19:50,961 - DEBUG - Response for create_network : {'network': {'id': '446e1c5f-fa33-45ad-bc2f-1a0c3c4d164f', 'name': 'ctest-vn-38269891', 'tenant_id': '3db563a64b0e460cbcee5af2982f01db', 'project_id': '3db563a64b0e460cbcee5af2982f01db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45866325', 'ctest-vn-38269891'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 08:19:51,169 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b4a7bd9c-cf58-4393-a7d8-36edf6d649c8', 'name': '', 'tenant_id': '3db563a64b0e460cbcee5af2982f01db', 'network_id': '446e1c5f-fa33-45ad-bc2f-1a0c3c4d164f', 'ip_version': 4, 'cidr': '137.45.202.0/26', 'allocation_pools': [{'start': '137.45.202.2', 'end': '137.45.202.62'}], 'gateway_ip': '137.45.202.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '137.45.202.2', 'tags': [], 'project_id': '3db563a64b0e460cbcee5af2982f01db'}} 2025-11-05 08:19:51,185 - INFO - Created VN ctest-vn-38269891 2025-11-05 08:19:51,240 - DEBUG - VN ctest-vn-38269891 UUID is 446e1c5f-fa33-45ad-bc2f-1a0c3c4d164f 2025-11-05 08:19:51,380 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-45866325:ctest-vn-01757261, 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-45866325:ctest-vn-38269891, 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-11-05 08:19:51,662 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '243cad87-ff7b-4e88-8152-aa70959b9e3a', 'name': 'ctest-vn-01757261', 'tenant_id': '3db563a64b0e460cbcee5af2982f01db', 'project_id': '3db563a64b0e460cbcee5af2982f01db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['40f3fb60-1059-4153-a57f-aa03385d9779'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45866325', 'ctest-vn-01757261'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45866325', 'ctest-policy-allow-all-19921691']], 'subnet_ipam': [{'subnet_cidr': '212.225.223.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-05 08:19:51,867 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '446e1c5f-fa33-45ad-bc2f-1a0c3c4d164f', 'name': 'ctest-vn-38269891', 'tenant_id': '3db563a64b0e460cbcee5af2982f01db', 'project_id': '3db563a64b0e460cbcee5af2982f01db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b4a7bd9c-cf58-4393-a7d8-36edf6d649c8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45866325', 'ctest-vn-38269891'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45866325', 'ctest-policy-allow-all-19921691']], 'subnet_ipam': [{'subnet_cidr': '137.45.202.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-05 08:19:52,024 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-11-05 08:19:52,319 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-11-05 08:19:52,347 - DEBUG - Requesting: http://10.0.0.27:8082/domain/b4504146-0147-4e8a-92ec-88439e6273da 2025-11-05 08:19:52,358 - DEBUG - Requesting: http://10.0.0.27:8082/project/3db563a6-4b0e-460c-bcee-5af2982f01db 2025-11-05 08:19:52,426 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/243cad87-ff7b-4e88-8152-aa70959b9e3a 2025-11-05 08:19:52,435 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/243cad87-ff7b-4e88-8152-aa70959b9e3a 2025-11-05 08:19:52,442 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/ed3fa869-ffc8-4666-9104-eaca8e2b722c 2025-11-05 08:19:52,448 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/ed3fa869-ffc8-4666-9104-eaca8e2b722c 2025-11-05 08:19:52,453 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/d6261f8a-3e1f-4a67-865e-965096addec7 2025-11-05 08:19:52,458 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-05 08:19:52,458 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/243cad87-ff7b-4e88-8152-aa70959b9e3a 2025-11-05 08:19:52,465 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/ed3fa869-ffc8-4666-9104-eaca8e2b722c 2025-11-05 08:19:52,477 - INFO - Verified VN network id 12 for VN 243cad87-ff7b-4e88-8152-aa70959b9e3a 2025-11-05 08:19:52,477 - INFO - Verifications in API Server for VN ctest-vn-01757261 passed 2025-11-05 08:19:52,477 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/243cad87-ff7b-4e88-8152-aa70959b9e3a 2025-11-05 08:19:52,486 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/ed3fa869-ffc8-4666-9104-eaca8e2b722c 2025-11-05 08:19:52,493 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/ed3fa869-ffc8-4666-9104-eaca8e2b722c 2025-11-05 08:19:52,499 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/d6261f8a-3e1f-4a67-865e-965096addec7 2025-11-05 08:19:52,509 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45866325:ctest-vn-01757261', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45866325', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2611152683586506376', 'uuid-lslong': '9318697979506040378'}, 'enable': 'true', 'created': '2025-11-05T08:19:50', 'last-modified': '2025-11-05T08:19:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.868302'} 2025-11-05 08:19:52,514 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-05 08:19:52,514 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-01757261 passed 2025-11-05 08:19:52,515 - DEBUG - ====Verifying policy data for ctest-vn-01757261 in API_Server ====== 2025-11-05 08:19:52,515 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-11-05 08:19:52,520 - DEBUG - Requesting: http://10.0.0.27:8082/domain/b4504146-0147-4e8a-92ec-88439e6273da 2025-11-05 08:19:52,531 - DEBUG - Requesting: http://10.0.0.27:8082/project/3db563a6-4b0e-460c-bcee-5af2982f01db 2025-11-05 08:19:52,599 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/243cad87-ff7b-4e88-8152-aa70959b9e3a 2025-11-05 08:19:52,608 - DEBUG - ==>Verifying data for policy with id: f98b16e9-b0eb-4724-9f96-a1f62e1ee61a, fqn: ['default-domain', 'ctest-TestBasicPolicy-45866325', 'ctest-policy-allow-all-19921691'] 2025-11-05 08:19:52,608 - INFO - VN ctest-vn-01757261 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-05 08:19:52,608 - DEBUG - Verifying the vn in opserver 2025-11-05 08:19:52,608 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45866325:ctest-vn-01757261 virtual network link through opserver 10.0.0.27 2025-11-05 08:19:52,609 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-11-05 08:19:52,900 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-11-05 08:19:52,950 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45866325:ctest-vn-01757261', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45866325:ctest-vn-01757261?flat'} 2025-11-05 08:19:52,950 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45866325:ctest-vn-01757261 is found in opserver 2025-11-05 08:19:52,959 - DEBUG - Do not have enough data to verify VN in agent 2025-11-05 08:19:52,963 - DEBUG - VRF ids for VN ctest-vn-01757261: {} 2025-11-05 08:19:52,964 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-11-05 08:19:52,969 - DEBUG - Requesting: http://10.0.0.27:8082/domain/b4504146-0147-4e8a-92ec-88439e6273da 2025-11-05 08:19:52,978 - DEBUG - Requesting: http://10.0.0.27:8082/project/3db563a6-4b0e-460c-bcee-5af2982f01db 2025-11-05 08:19:53,045 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/446e1c5f-fa33-45ad-bc2f-1a0c3c4d164f 2025-11-05 08:19:53,055 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/446e1c5f-fa33-45ad-bc2f-1a0c3c4d164f 2025-11-05 08:19:53,063 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/f05b41dd-57f6-4734-84a4-88a315509786 2025-11-05 08:19:53,069 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/f05b41dd-57f6-4734-84a4-88a315509786 2025-11-05 08:19:53,075 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/b14826ba-6a23-43a9-bb53-165fc5358cb1 2025-11-05 08:19:53,082 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-05 08:19:53,082 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/446e1c5f-fa33-45ad-bc2f-1a0c3c4d164f 2025-11-05 08:19:53,090 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/f05b41dd-57f6-4734-84a4-88a315509786 2025-11-05 08:19:53,102 - INFO - Verified VN network id 13 for VN 446e1c5f-fa33-45ad-bc2f-1a0c3c4d164f 2025-11-05 08:19:53,103 - INFO - Verifications in API Server for VN ctest-vn-38269891 passed 2025-11-05 08:19:53,103 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/446e1c5f-fa33-45ad-bc2f-1a0c3c4d164f 2025-11-05 08:19:53,111 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/f05b41dd-57f6-4734-84a4-88a315509786 2025-11-05 08:19:53,117 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/f05b41dd-57f6-4734-84a4-88a315509786 2025-11-05 08:19:53,123 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/b14826ba-6a23-43a9-bb53-165fc5358cb1 2025-11-05 08:19:53,134 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45866325:ctest-vn-38269891', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45866325', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4930909840562406829', 'uuid-lslong': '13560085642889467471'}, 'enable': 'true', 'created': '2025-11-05T08:19:50', 'last-modified': '2025-11-05T08:19:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.287821'} 2025-11-05 08:19:53,139 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-05 08:19:53,140 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38269891 passed 2025-11-05 08:19:53,140 - DEBUG - ====Verifying policy data for ctest-vn-38269891 in API_Server ====== 2025-11-05 08:19:53,140 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-11-05 08:19:53,146 - DEBUG - Requesting: http://10.0.0.27:8082/domain/b4504146-0147-4e8a-92ec-88439e6273da 2025-11-05 08:19:53,156 - DEBUG - Requesting: http://10.0.0.27:8082/project/3db563a6-4b0e-460c-bcee-5af2982f01db 2025-11-05 08:19:53,229 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/446e1c5f-fa33-45ad-bc2f-1a0c3c4d164f 2025-11-05 08:19:53,238 - DEBUG - ==>Verifying data for policy with id: f98b16e9-b0eb-4724-9f96-a1f62e1ee61a, fqn: ['default-domain', 'ctest-TestBasicPolicy-45866325', 'ctest-policy-allow-all-19921691'] 2025-11-05 08:19:53,238 - INFO - VN ctest-vn-38269891 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-05 08:19:53,238 - DEBUG - Verifying the vn in opserver 2025-11-05 08:19:53,238 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45866325:ctest-vn-38269891 virtual network link through opserver 10.0.0.27 2025-11-05 08:19:53,239 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-11-05 08:19:53,247 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45866325:ctest-vn-38269891', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45866325:ctest-vn-38269891?flat'} 2025-11-05 08:19:53,247 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45866325:ctest-vn-38269891 is found in opserver 2025-11-05 08:19:53,256 - DEBUG - Do not have enough data to verify VN in agent 2025-11-05 08:19:53,260 - DEBUG - VRF ids for VN ctest-vn-38269891: {} 2025-11-05 08:19:53,312 - DEBUG - Services list from nova: [, , ] 2025-11-05 08:19:54,318 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4633-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4633-1) 2025-11-05 08:19:55,431 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4633-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4633-1) 2025-11-05 08:19:55,431 - INFO - Waiting for VM ctest-TestBasicPolicy-45866325-02102935 to be up.. 2025-11-05 08:19:55,505 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 08:20:00,573 - DEBUG - VM is in ACTIVE state now 2025-11-05 08:20:00,573 - INFO - VM name : ctest-TestBasicPolicy-45866325-02102935 2025-11-05 08:20:00,642 - DEBUG - VM ctest-TestBasicPolicy-45866325-02102935 ID is 586c0cf0-6d1a-4c93-a497-73156319efe3 2025-11-05 08:20:00,661 - DEBUG - VM ctest-TestBasicPolicy-45866325-02102935 launched on Node cn-jenkins-deploy-platform-ansible-os-4633-1 2025-11-05 08:20:00,731 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/586c0cf0-6d1a-4c93-a497-73156319efe3 2025-11-05 08:20:00,740 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/ab4c8f87-fe49-462d-84ef-3a3e7c0214e1 2025-11-05 08:20:03,996 - 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 1019ms') 2025-11-05 08:20:03,996 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-45866325-02102935 failed! 2025-11-05 08:20:04,049 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-45866325:ctest-vn-01757261 is 212.225.223.193 and allocation pool is NOT set 2025-11-05 08:20:06,110 - 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=6.58 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.451 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.451/3.517/6.583/3.066 ms') 2025-11-05 08:20:06,110 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-45866325-02102935 passed 2025-11-05 08:20:06,261 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:20:06,261 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45866325-02102935, IP 212.225.223.195, Port 22 2025-11-05 08:20:06,417 - DEBUG - VM ctest-TestBasicPolicy-45866325-02102935 is ready for SSH connections 2025-11-05 08:20:06,417 - INFO - Waiting for VM ctest-TestBasicPolicy-45866325-27701767 to be up.. 2025-11-05 08:20:06,492 - DEBUG - VM is in ACTIVE state now 2025-11-05 08:20:06,493 - INFO - VM name : ctest-TestBasicPolicy-45866325-27701767 2025-11-05 08:20:06,561 - DEBUG - VM ctest-TestBasicPolicy-45866325-27701767 ID is 52ea2b44-aca9-4c07-802e-35434cd46c38 2025-11-05 08:20:06,561 - DEBUG - VM ctest-TestBasicPolicy-45866325-27701767 launched on Node cn-jenkins-deploy-platform-ansible-os-4633-1 2025-11-05 08:20:06,630 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/52ea2b44-aca9-4c07-802e-35434cd46c38 2025-11-05 08:20:06,637 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/9d81ef6c-3d3d-4110-8ad6-da347bd78281 2025-11-05 08:20:07,876 - 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=4.09 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.80 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.803/2.945/4.087/1.142 ms') 2025-11-05 08:20:07,876 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-45866325-27701767 passed 2025-11-05 08:20:08,029 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:20:08,029 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45866325-27701767, IP 137.45.202.3, Port 22 2025-11-05 08:20:08,199 - DEBUG - VM ctest-TestBasicPolicy-45866325-27701767 is ready for SSH connections 2025-11-05 08:20:08,200 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:20:08,200 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 137.45.202.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-11-05 08:20:08,200 - DEBUG - ping -s 56 -c 3 -W 1 137.45.202.3 2025-11-05 08:20:12,012 - DEBUG - PING 137.45.202.3 (137.45.202.3): 56 data bytes 64 bytes from 137.45.202.3: seq=0 ttl=63 time=3.354 ms 64 bytes from 137.45.202.3: seq=1 ttl=63 time=0.958 ms 64 bytes from 137.45.202.3: seq=2 ttl=63 time=1.032 ms --- 137.45.202.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.958/1.781/3.354 ms 2025-11-05 08:20:12,013 - INFO - Ping to IP 137.45.202.3 from VM ctest-TestBasicPolicy-45866325-02102935 passed 2025-11-05 08:20:12,193 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f98b16e9-b0eb-4724-9f96-a1f62e1ee61a", "href": "http://10.0.0.27:8082/network-policy/f98b16e9-b0eb-4724-9f96-a1f62e1ee61a"}} 2025-11-05 08:20:12,193 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:20:12,193 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 137.45.202.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-11-05 08:20:12,193 - DEBUG - ping -s 56 -c 3 -W 1 137.45.202.3 2025-11-05 08:20:15,401 - DEBUG - PING 137.45.202.3 (137.45.202.3): 56 data bytes --- 137.45.202.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-05 08:20:15,401 - WARNING - Ping to IP 137.45.202.3 from VM ctest-TestBasicPolicy-45866325-02102935 failed 2025-11-05 08:20:15,401 - INFO - Deleting VM ctest-TestBasicPolicy-45866325-27701767 2025-11-05 08:20:15,482 - INFO - Deleting VM ctest-TestBasicPolicy-45866325-02102935 2025-11-05 08:20:15,845 - INFO - Deleted policy ctest-policy-allow-all-19921691 2025-11-05 08:20:15,846 - INFO - Deleting VN ctest-vn-38269891 2025-11-05 08:20:15,888 - DEBUG - VN 446e1c5f-fa33-45ad-bc2f-1a0c3c4d164f still in use: Unable to complete operation on network 446e1c5f-fa33-45ad-bc2f-1a0c3c4d164f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7f5f0f83-6d98-4d7e-8a11-0f20788c5a50'] 2025-11-05 08:20:15,888 - WARNING - Deleting VN ctest-vn-38269891 failed..Will retry 2025-11-05 08:20:17,991 - DEBUG - Response for deleting network () 2025-11-05 08:20:17,991 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/f05b41dd-57f6-4734-84a4-88a315509786 2025-11-05 08:20:17,997 - DEBUG - Response Code: 404 2025-11-05 08:20:17,997 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-11-05 08:20:18,002 - DEBUG - Requesting: http://10.0.0.27:8082/domain/b4504146-0147-4e8a-92ec-88439e6273da 2025-11-05 08:20:18,054 - DEBUG - Requesting: http://10.0.0.27:8082/project/3db563a6-4b0e-460c-bcee-5af2982f01db 2025-11-05 08:20:18,125 - INFO - Validated that VN ctest-vn-38269891 is not found in API Server 2025-11-05 08:20:18,133 - DEBUG - VN ctest-vn-38269891 is not present in Agent 10.0.0.27 2025-11-05 08:20:18,133 - INFO - Validated that VN ctest-vn-38269891 is not in any agent 2025-11-05 08:20:18,144 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-38269891 info 2025-11-05 08:20:18,144 - INFO - Deleting VN ctest-vn-01757261 2025-11-05 08:20:18,236 - DEBUG - Response for deleting network () 2025-11-05 08:20:18,236 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/ed3fa869-ffc8-4666-9104-eaca8e2b722c 2025-11-05 08:20:18,242 - DEBUG - Response Code: 404 2025-11-05 08:20:18,242 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-11-05 08:20:18,246 - DEBUG - Requesting: http://10.0.0.27:8082/domain/b4504146-0147-4e8a-92ec-88439e6273da 2025-11-05 08:20:18,297 - DEBUG - Requesting: http://10.0.0.27:8082/project/3db563a6-4b0e-460c-bcee-5af2982f01db 2025-11-05 08:20:18,368 - INFO - Validated that VN ctest-vn-01757261 is not found in API Server 2025-11-05 08:20:18,377 - DEBUG - VN ctest-vn-01757261 is not present in Agent 10.0.0.27 2025-11-05 08:20:18,377 - INFO - Validated that VN ctest-vn-01757261 is not in any agent 2025-11-05 08:20:18,390 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-01757261 info 2025-11-05 08:20:18,640 - DEBUG - No XMPP flaps were noticed during the test
2025-11-05 08:20:18,640 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-11-05 08:20:18,640 - INFO - -------------------------------------------------------------------------------- 2025-11-05 08:20:19,316 - INFO - Deleted project: ctest-TestBasicPolicy-45866325, ID : 3db563a6-4b0e-460c-bcee-5af2982f01db