2025-04-14 15:42:09,046 - INFO - Domain Default found not creating 2025-04-14 15:42:09,217 - INFO - Project ctest-TestBasicPolicy-94985769 not found, creating it 2025-04-14 15:42:09,675 - INFO - Created Project:ctest-TestBasicPolicy-94985769, ID : 24e3c5be-ac26-4011-9e92-0bd7b6201f24 2025-04-14 15:42:11,149 - INFO - ================================================================================ 2025-04-14 15:42:11,149 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-14 15:42:11,149 - 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-04-14 15:42:11,404 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with 2025-04-14 15:42:11,404 - INFO - Initial checks done. Running the testcase now 2025-04-14 15:42:11,404 - INFO - 2025-04-14 15:42:11,968 - DEBUG - Response for create_network : {'network': {'id': '64bd8fad-31ac-41c4-baa3-21d67a5d3f97', 'name': 'ctest-vn-39313176', 'tenant_id': '24e3c5beac2640119e920bd7b6201f24', 'project_id': '24e3c5beac2640119e920bd7b6201f24', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94985769', 'ctest-vn-39313176'], 'port_security_enabled': True, 'description': ''}} 2025-04-14 15:42:12,195 - DEBUG - Response for create_subnet : {'subnet': {'id': '2a976609-31df-4ae5-a129-f9eaf7e06d83', 'name': '', 'tenant_id': '24e3c5beac2640119e920bd7b6201f24', 'network_id': '64bd8fad-31ac-41c4-baa3-21d67a5d3f97', 'ip_version': 4, 'cidr': '113.161.113.128/26', 'allocation_pools': [{'start': '113.161.113.130', 'end': '113.161.113.190'}], 'gateway_ip': '113.161.113.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.161.113.130', 'tags': [], 'project_id': '24e3c5beac2640119e920bd7b6201f24'}} 2025-04-14 15:42:12,217 - INFO - Created VN ctest-vn-39313176 2025-04-14 15:42:12,274 - DEBUG - VN ctest-vn-39313176 UUID is 64bd8fad-31ac-41c4-baa3-21d67a5d3f97 2025-04-14 15:42:12,582 - DEBUG - Response for create_network : {'network': {'id': 'e5c663fd-8eb6-4a63-b6a9-bcfb1a86d535', 'name': 'ctest-vn-33617583', 'tenant_id': '24e3c5beac2640119e920bd7b6201f24', 'project_id': '24e3c5beac2640119e920bd7b6201f24', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94985769', 'ctest-vn-33617583'], 'port_security_enabled': True, 'description': ''}} 2025-04-14 15:42:12,775 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bf581c58-1ae4-4fc3-b3ed-126f420a8ed0', 'name': '', 'tenant_id': '24e3c5beac2640119e920bd7b6201f24', 'network_id': 'e5c663fd-8eb6-4a63-b6a9-bcfb1a86d535', 'ip_version': 4, 'cidr': '185.175.63.128/26', 'allocation_pools': [{'start': '185.175.63.130', 'end': '185.175.63.190'}], 'gateway_ip': '185.175.63.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '185.175.63.130', 'tags': [], 'project_id': '24e3c5beac2640119e920bd7b6201f24'}} 2025-04-14 15:42:12,794 - INFO - Created VN ctest-vn-33617583 2025-04-14 15:42:12,850 - DEBUG - VN ctest-vn-33617583 UUID is e5c663fd-8eb6-4a63-b6a9-bcfb1a86d535 2025-04-14 15:42:12,967 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-94985769:ctest-vn-39313176, 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-94985769:ctest-vn-33617583, 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-04-14 15:42:13,285 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '64bd8fad-31ac-41c4-baa3-21d67a5d3f97', 'name': 'ctest-vn-39313176', 'tenant_id': '24e3c5beac2640119e920bd7b6201f24', 'project_id': '24e3c5beac2640119e920bd7b6201f24', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2a976609-31df-4ae5-a129-f9eaf7e06d83'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94985769', 'ctest-vn-39313176'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-94985769', 'ctest-policy-allow-all-47969501']], 'subnet_ipam': [{'subnet_cidr': '113.161.113.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-14 15:42:13,535 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e5c663fd-8eb6-4a63-b6a9-bcfb1a86d535', 'name': 'ctest-vn-33617583', 'tenant_id': '24e3c5beac2640119e920bd7b6201f24', 'project_id': '24e3c5beac2640119e920bd7b6201f24', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bf581c58-1ae4-4fc3-b3ed-126f420a8ed0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94985769', 'ctest-vn-33617583'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-94985769', 'ctest-policy-allow-all-47969501']], 'subnet_ipam': [{'subnet_cidr': '185.175.63.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-14 15:42:13,702 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-04-14 15:42:13,995 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-04-14 15:42:14,031 - DEBUG - Requesting: http://10.0.0.19:8082/domain/47d5a4c8-5681-471f-8ba9-0c70355be5bd 2025-04-14 15:42:14,046 - DEBUG - Requesting: http://10.0.0.19:8082/project/24e3c5be-ac26-4011-9e92-0bd7b6201f24 2025-04-14 15:42:14,120 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/64bd8fad-31ac-41c4-baa3-21d67a5d3f97 2025-04-14 15:42:14,133 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/64bd8fad-31ac-41c4-baa3-21d67a5d3f97 2025-04-14 15:42:14,146 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/48152f64-ee55-4c5c-b410-e8070d5c0e47 2025-04-14 15:42:14,154 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/48152f64-ee55-4c5c-b410-e8070d5c0e47 2025-04-14 15:42:14,162 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/ade5d502-196e-4f64-a98c-069310a85145 2025-04-14 15:42:14,170 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-14 15:42:14,170 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/64bd8fad-31ac-41c4-baa3-21d67a5d3f97 2025-04-14 15:42:14,180 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/48152f64-ee55-4c5c-b410-e8070d5c0e47 2025-04-14 15:42:14,196 - INFO - Verified VN network id 7 for VN 64bd8fad-31ac-41c4-baa3-21d67a5d3f97 2025-04-14 15:42:14,196 - INFO - Verifications in API Server for VN ctest-vn-39313176 passed 2025-04-14 15:42:14,196 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/64bd8fad-31ac-41c4-baa3-21d67a5d3f97 2025-04-14 15:42:14,206 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/48152f64-ee55-4c5c-b410-e8070d5c0e47 2025-04-14 15:42:14,215 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/48152f64-ee55-4c5c-b410-e8070d5c0e47 2025-04-14 15:42:14,223 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/ade5d502-196e-4f64-a98c-069310a85145 2025-04-14 15:42:14,236 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94985769:ctest-vn-39313176', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94985769', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7259116148416594372', 'uuid-lslong': '13448630117318082455'}, 'enable': 'true', 'created': '2025-04-14T15:42:11', 'last-modified': '2025-04-14T15:42:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.982459'} 2025-04-14 15:42:14,243 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-14 15:42:14,243 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39313176 passed 2025-04-14 15:42:14,244 - DEBUG - ====Verifying policy data for ctest-vn-39313176 in API_Server ====== 2025-04-14 15:42:14,244 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-04-14 15:42:14,250 - DEBUG - Requesting: http://10.0.0.19:8082/domain/47d5a4c8-5681-471f-8ba9-0c70355be5bd 2025-04-14 15:42:14,263 - DEBUG - Requesting: http://10.0.0.19:8082/project/24e3c5be-ac26-4011-9e92-0bd7b6201f24 2025-04-14 15:42:14,342 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/64bd8fad-31ac-41c4-baa3-21d67a5d3f97 2025-04-14 15:42:14,355 - DEBUG - ==>Verifying data for policy with id: 52496ceb-5eda-4961-a74a-a2db1fda4586, fqn: ['default-domain', 'ctest-TestBasicPolicy-94985769', 'ctest-policy-allow-all-47969501'] 2025-04-14 15:42:14,355 - INFO - VN ctest-vn-39313176 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-14 15:42:14,355 - DEBUG - Verifying the vn in opserver 2025-04-14 15:42:14,355 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94985769:ctest-vn-39313176 virtual network link through opserver 10.0.0.19 2025-04-14 15:42:14,355 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-04-14 15:42:14,646 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-04-14 15:42:14,703 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94985769:ctest-vn-39313176', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94985769:ctest-vn-39313176?flat'} 2025-04-14 15:42:14,703 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-94985769:ctest-vn-39313176 is found in opserver 2025-04-14 15:42:14,716 - DEBUG - Do not have enough data to verify VN in agent 2025-04-14 15:42:14,722 - DEBUG - VRF ids for VN ctest-vn-39313176: {} 2025-04-14 15:42:14,722 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-04-14 15:42:14,728 - DEBUG - Requesting: http://10.0.0.19:8082/domain/47d5a4c8-5681-471f-8ba9-0c70355be5bd 2025-04-14 15:42:14,740 - DEBUG - Requesting: http://10.0.0.19:8082/project/24e3c5be-ac26-4011-9e92-0bd7b6201f24 2025-04-14 15:42:14,816 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/e5c663fd-8eb6-4a63-b6a9-bcfb1a86d535 2025-04-14 15:42:14,829 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/e5c663fd-8eb6-4a63-b6a9-bcfb1a86d535 2025-04-14 15:42:14,840 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/be84ef23-7f3d-4c83-b30e-cef4d6e849f0 2025-04-14 15:42:14,848 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/be84ef23-7f3d-4c83-b30e-cef4d6e849f0 2025-04-14 15:42:14,855 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/6848a65f-cddd-49b2-9dc9-51925ca77be1 2025-04-14 15:42:14,862 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-14 15:42:14,862 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/e5c663fd-8eb6-4a63-b6a9-bcfb1a86d535 2025-04-14 15:42:14,871 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/be84ef23-7f3d-4c83-b30e-cef4d6e849f0 2025-04-14 15:42:14,887 - INFO - Verified VN network id 8 for VN e5c663fd-8eb6-4a63-b6a9-bcfb1a86d535 2025-04-14 15:42:14,887 - INFO - Verifications in API Server for VN ctest-vn-33617583 passed 2025-04-14 15:42:14,887 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/e5c663fd-8eb6-4a63-b6a9-bcfb1a86d535 2025-04-14 15:42:14,898 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/be84ef23-7f3d-4c83-b30e-cef4d6e849f0 2025-04-14 15:42:14,906 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/be84ef23-7f3d-4c83-b30e-cef4d6e849f0 2025-04-14 15:42:14,913 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/6848a65f-cddd-49b2-9dc9-51925ca77be1 2025-04-14 15:42:14,925 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94985769:ctest-vn-33617583', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94985769', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16557031020746394211', 'uuid-lslong': '13162259172634842421'}, 'enable': 'true', 'created': '2025-04-14T15:42:12', 'last-modified': '2025-04-14T15:42:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.413081'} 2025-04-14 15:42:14,932 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-14 15:42:14,932 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-33617583 passed 2025-04-14 15:42:14,932 - DEBUG - ====Verifying policy data for ctest-vn-33617583 in API_Server ====== 2025-04-14 15:42:14,932 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-04-14 15:42:14,938 - DEBUG - Requesting: http://10.0.0.19:8082/domain/47d5a4c8-5681-471f-8ba9-0c70355be5bd 2025-04-14 15:42:14,950 - DEBUG - Requesting: http://10.0.0.19:8082/project/24e3c5be-ac26-4011-9e92-0bd7b6201f24 2025-04-14 15:42:15,027 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/e5c663fd-8eb6-4a63-b6a9-bcfb1a86d535 2025-04-14 15:42:15,039 - DEBUG - ==>Verifying data for policy with id: 52496ceb-5eda-4961-a74a-a2db1fda4586, fqn: ['default-domain', 'ctest-TestBasicPolicy-94985769', 'ctest-policy-allow-all-47969501'] 2025-04-14 15:42:15,039 - INFO - VN ctest-vn-33617583 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-14 15:42:15,039 - DEBUG - Verifying the vn in opserver 2025-04-14 15:42:15,040 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94985769:ctest-vn-33617583 virtual network link through opserver 10.0.0.19 2025-04-14 15:42:15,040 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-04-14 15:42:15,052 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94985769:ctest-vn-33617583', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94985769:ctest-vn-33617583?flat'} 2025-04-14 15:42:15,052 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-94985769:ctest-vn-33617583 is found in opserver 2025-04-14 15:42:15,066 - DEBUG - Do not have enough data to verify VN in agent 2025-04-14 15:42:15,072 - DEBUG - VRF ids for VN ctest-vn-33617583: {} 2025-04-14 15:42:15,130 - DEBUG - Services list from nova: [, , ] 2025-04-14 15:42:16,172 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3103-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3103-1) 2025-04-14 15:42:17,483 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3103-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3103-1) 2025-04-14 15:42:17,484 - INFO - Waiting for VM ctest-TestBasicPolicy-94985769-24232459 to be up.. 2025-04-14 15:42:17,589 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-14 15:42:22,686 - DEBUG - VM is in ACTIVE state now 2025-04-14 15:42:22,686 - INFO - VM name : ctest-TestBasicPolicy-94985769-24232459 2025-04-14 15:42:22,773 - DEBUG - VM ctest-TestBasicPolicy-94985769-24232459 ID is 980612af-4a98-4f52-8cc4-161e365deee5 2025-04-14 15:42:22,797 - DEBUG - VM ctest-TestBasicPolicy-94985769-24232459 launched on Node cn-jenkins-deploy-platform-ansible-os-3103-1 2025-04-14 15:42:22,901 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/980612af-4a98-4f52-8cc4-161e365deee5 2025-04-14 15:42:22,912 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/f0be08ce-54bc-44f3-b558-7ac4d2eb4420 2025-04-14 15:42:26,178 - 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 1015ms') 2025-04-14 15:42:26,179 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94985769-24232459 failed! 2025-04-14 15:42:26,234 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-94985769:ctest-vn-39313176 is 113.161.113.129 and allocation pool is NOT set 2025-04-14 15:42:28,296 - 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.72 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.364 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.364/3.541/6.719/3.177 ms') 2025-04-14 15:42:28,296 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94985769-24232459 passed 2025-04-14 15:42:28,454 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-14 15:42:28,454 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-94985769-24232459, IP 113.161.113.131, Port 22 2025-04-14 15:42:28,620 - DEBUG - VM ctest-TestBasicPolicy-94985769-24232459 is ready for SSH connections 2025-04-14 15:42:28,621 - INFO - Waiting for VM ctest-TestBasicPolicy-94985769-22764431 to be up.. 2025-04-14 15:42:28,701 - DEBUG - VM is in ACTIVE state now 2025-04-14 15:42:28,701 - INFO - VM name : ctest-TestBasicPolicy-94985769-22764431 2025-04-14 15:42:28,777 - DEBUG - VM ctest-TestBasicPolicy-94985769-22764431 ID is 128b62d5-f6c5-4256-9225-df846d2432e7 2025-04-14 15:42:28,778 - DEBUG - VM ctest-TestBasicPolicy-94985769-22764431 launched on Node cn-jenkins-deploy-platform-ansible-os-3103-1 2025-04-14 15:42:28,854 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/128b62d5-f6c5-4256-9225-df846d2432e7 2025-04-14 15:42:28,864 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/2c17585d-3be6-493c-8092-22ad8c44dc96 2025-04-14 15:42:30,112 - 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.37 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.01 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 = 2.008/3.188/4.369/1.180 ms') 2025-04-14 15:42:30,112 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-94985769-22764431 passed 2025-04-14 15:42:30,270 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-14 15:42:30,270 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-94985769-22764431, IP 185.175.63.131, Port 22 2025-04-14 15:42:30,430 - DEBUG - VM ctest-TestBasicPolicy-94985769-22764431 is ready for SSH connections 2025-04-14 15:42:30,430 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-14 15:42:30,430 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 185.175.63.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-04-14 15:42:30,431 - DEBUG - ping -s 56 -c 3 -W 1 185.175.63.131 2025-04-14 15:42:34,146 - DEBUG - PING 185.175.63.131 (185.175.63.131): 56 data bytes 64 bytes from 185.175.63.131: seq=0 ttl=63 time=3.969 ms 64 bytes from 185.175.63.131: seq=1 ttl=63 time=0.876 ms 64 bytes from 185.175.63.131: seq=2 ttl=63 time=0.815 ms --- 185.175.63.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.815/1.886/3.969 ms 2025-04-14 15:42:34,146 - INFO - Ping to IP 185.175.63.131 from VM ctest-TestBasicPolicy-94985769-24232459 passed 2025-04-14 15:42:34,330 - DEBUG - Policy Update Response {"network-policy": {"uuid": "52496ceb-5eda-4961-a74a-a2db1fda4586", "href": "http://10.0.0.19:8082/network-policy/52496ceb-5eda-4961-a74a-a2db1fda4586"}} 2025-04-14 15:42:34,330 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-14 15:42:34,330 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 185.175.63.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-04-14 15:42:34,330 - DEBUG - ping -s 56 -c 3 -W 1 185.175.63.131 2025-04-14 15:42:37,547 - DEBUG - PING 185.175.63.131 (185.175.63.131): 56 data bytes 64 bytes from 185.175.63.131: seq=0 ttl=63 time=1.464 ms --- 185.175.63.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.464/1.464/1.464 ms 2025-04-14 15:42:37,547 - WARNING - Ping to IP 185.175.63.131 from VM ctest-TestBasicPolicy-94985769-24232459 failed 2025-04-14 15:42:37,547 - INFO - Deleting VM ctest-TestBasicPolicy-94985769-22764431 2025-04-14 15:42:37,634 - INFO - Deleting VM ctest-TestBasicPolicy-94985769-24232459 2025-04-14 15:42:38,050 - INFO - Deleted policy ctest-policy-allow-all-47969501 2025-04-14 15:42:38,051 - INFO - Deleting VN ctest-vn-33617583 2025-04-14 15:42:38,091 - DEBUG - VN e5c663fd-8eb6-4a63-b6a9-bcfb1a86d535 still in use: Unable to complete operation on network e5c663fd-8eb6-4a63-b6a9-bcfb1a86d535. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cb1a6f96-e777-4c07-b54b-3d11aae77bb7'] 2025-04-14 15:42:38,091 - WARNING - Deleting VN ctest-vn-33617583 failed..Will retry 2025-04-14 15:42:40,223 - DEBUG - Response for deleting network () 2025-04-14 15:42:40,223 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/be84ef23-7f3d-4c83-b30e-cef4d6e849f0 2025-04-14 15:42:40,231 - DEBUG - Response Code: 404 2025-04-14 15:42:40,231 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-04-14 15:42:40,238 - DEBUG - Requesting: http://10.0.0.19:8082/domain/47d5a4c8-5681-471f-8ba9-0c70355be5bd 2025-04-14 15:42:40,297 - DEBUG - Requesting: http://10.0.0.19:8082/project/24e3c5be-ac26-4011-9e92-0bd7b6201f24 2025-04-14 15:42:40,401 - INFO - Validated that VN ctest-vn-33617583 is not found in API Server 2025-04-14 15:42:40,415 - DEBUG - VN ctest-vn-33617583 is not present in Agent 10.0.0.19 2025-04-14 15:42:40,415 - INFO - Validated that VN ctest-vn-33617583 is not in any agent 2025-04-14 15:42:40,432 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-33617583 info 2025-04-14 15:42:40,433 - INFO - Deleting VN ctest-vn-39313176 2025-04-14 15:42:40,561 - DEBUG - Response for deleting network () 2025-04-14 15:42:40,561 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/48152f64-ee55-4c5c-b410-e8070d5c0e47 2025-04-14 15:42:40,567 - DEBUG - Response Code: 404 2025-04-14 15:42:40,567 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-04-14 15:42:40,575 - DEBUG - Requesting: http://10.0.0.19:8082/domain/47d5a4c8-5681-471f-8ba9-0c70355be5bd 2025-04-14 15:42:40,633 - DEBUG - Requesting: http://10.0.0.19:8082/project/24e3c5be-ac26-4011-9e92-0bd7b6201f24 2025-04-14 15:42:40,714 - INFO - Validated that VN ctest-vn-39313176 is not found in API Server 2025-04-14 15:42:40,727 - DEBUG - VN ctest-vn-39313176 is not present in Agent 10.0.0.19 2025-04-14 15:42:40,727 - INFO - Validated that VN ctest-vn-39313176 is not in any agent 2025-04-14 15:42:40,745 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-39313176 info 2025-04-14 15:42:41,003 - DEBUG - No XMPP flaps were noticed during the test 2025-04-14 15:42:41,003 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-04-14 15:42:41,004 - INFO - -------------------------------------------------------------------------------- 2025-04-14 15:42:41,666 - INFO - Deleted project: ctest-TestBasicPolicy-94985769, ID : 24e3c5be-ac26-4011-9e92-0bd7b6201f24