2025-06-25 07:08:34,780 - INFO - Domain Default found not creating 2025-06-25 07:08:34,941 - INFO - Project ctest-TestBasicPolicy-51028535 not found, creating it 2025-06-25 07:08:35,634 - INFO - Created Project:ctest-TestBasicPolicy-51028535, ID : e90c304f-269c-455f-a6b3-9bc4e87d76eb 2025-06-25 07:08:37,156 - INFO - ================================================================================ 2025-06-25 07:08:37,156 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-25 07:08:37,156 - 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-06-25 07:08:37,416 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-06-25 07:08:37,416 - INFO - Initial checks done. Running the testcase now 2025-06-25 07:08:37,416 - INFO - 2025-06-25 07:08:37,949 - DEBUG - Response for create_network : {'network': {'id': '7f07f74d-f7f4-4f98-b0b3-951ebd1f5acf', 'name': 'ctest-vn-46070404', 'tenant_id': 'e90c304f269c455fa6b39bc4e87d76eb', 'project_id': 'e90c304f269c455fa6b39bc4e87d76eb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51028535', 'ctest-vn-46070404'], 'port_security_enabled': True, 'description': ''}} 2025-06-25 07:08:38,117 - DEBUG - Response for create_subnet : {'subnet': {'id': '48fab790-2a3b-4be9-8e59-2f0d0c562708', 'name': '', 'tenant_id': 'e90c304f269c455fa6b39bc4e87d76eb', 'network_id': '7f07f74d-f7f4-4f98-b0b3-951ebd1f5acf', 'ip_version': 4, 'cidr': '204.87.161.64/26', 'allocation_pools': [{'start': '204.87.161.66', 'end': '204.87.161.126'}], 'gateway_ip': '204.87.161.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.87.161.66', 'tags': [], 'project_id': 'e90c304f269c455fa6b39bc4e87d76eb'}} 2025-06-25 07:08:38,136 - INFO - Created VN ctest-vn-46070404 2025-06-25 07:08:38,190 - DEBUG - VN ctest-vn-46070404 UUID is 7f07f74d-f7f4-4f98-b0b3-951ebd1f5acf 2025-06-25 07:08:38,485 - DEBUG - Response for create_network : {'network': {'id': '7fc00cb0-edb7-413d-9c6b-9b55095b870f', 'name': 'ctest-vn-42531725', 'tenant_id': 'e90c304f269c455fa6b39bc4e87d76eb', 'project_id': 'e90c304f269c455fa6b39bc4e87d76eb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51028535', 'ctest-vn-42531725'], 'port_security_enabled': True, 'description': ''}} 2025-06-25 07:08:38,692 - DEBUG - Response for create_subnet : {'subnet': {'id': '59e830d0-0c85-4e30-beac-207a2849fe48', 'name': '', 'tenant_id': 'e90c304f269c455fa6b39bc4e87d76eb', 'network_id': '7fc00cb0-edb7-413d-9c6b-9b55095b870f', 'ip_version': 4, 'cidr': '63.41.146.0/26', 'allocation_pools': [{'start': '63.41.146.2', 'end': '63.41.146.62'}], 'gateway_ip': '63.41.146.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.41.146.2', 'tags': [], 'project_id': 'e90c304f269c455fa6b39bc4e87d76eb'}} 2025-06-25 07:08:38,710 - INFO - Created VN ctest-vn-42531725 2025-06-25 07:08:38,766 - DEBUG - VN ctest-vn-42531725 UUID is 7fc00cb0-edb7-413d-9c6b-9b55095b870f 2025-06-25 07:08:38,881 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-51028535:ctest-vn-46070404, 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-51028535:ctest-vn-42531725, 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-06-25 07:08:39,306 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7f07f74d-f7f4-4f98-b0b3-951ebd1f5acf', 'name': 'ctest-vn-46070404', 'tenant_id': 'e90c304f269c455fa6b39bc4e87d76eb', 'project_id': 'e90c304f269c455fa6b39bc4e87d76eb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['48fab790-2a3b-4be9-8e59-2f0d0c562708'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51028535', 'ctest-vn-46070404'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-51028535', 'ctest-policy-allow-all-74986448']], 'subnet_ipam': [{'subnet_cidr': '204.87.161.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-25 07:08:39,580 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7fc00cb0-edb7-413d-9c6b-9b55095b870f', 'name': 'ctest-vn-42531725', 'tenant_id': 'e90c304f269c455fa6b39bc4e87d76eb', 'project_id': 'e90c304f269c455fa6b39bc4e87d76eb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['59e830d0-0c85-4e30-beac-207a2849fe48'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51028535', 'ctest-vn-42531725'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-51028535', 'ctest-policy-allow-all-74986448']], 'subnet_ipam': [{'subnet_cidr': '63.41.146.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-25 07:08:39,728 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-06-25 07:08:40,028 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-06-25 07:08:40,055 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b030c4da-6117-4438-b332-a5e215534620 2025-06-25 07:08:40,070 - DEBUG - Requesting: http://10.0.0.50:8082/project/e90c304f-269c-455f-a6b3-9bc4e87d76eb 2025-06-25 07:08:40,142 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7f07f74d-f7f4-4f98-b0b3-951ebd1f5acf 2025-06-25 07:08:40,154 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7f07f74d-f7f4-4f98-b0b3-951ebd1f5acf 2025-06-25 07:08:40,163 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/44c7388e-d371-49bc-af3b-95fd53227671 2025-06-25 07:08:40,172 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/44c7388e-d371-49bc-af3b-95fd53227671 2025-06-25 07:08:40,180 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/2195ca5b-1386-4c8b-a5c6-b0979ecfc0e7 2025-06-25 07:08:40,190 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-25 07:08:40,190 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7f07f74d-f7f4-4f98-b0b3-951ebd1f5acf 2025-06-25 07:08:40,200 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/44c7388e-d371-49bc-af3b-95fd53227671 2025-06-25 07:08:40,216 - INFO - Verified VN network id 8 for VN 7f07f74d-f7f4-4f98-b0b3-951ebd1f5acf 2025-06-25 07:08:40,216 - INFO - Verifications in API Server for VN ctest-vn-46070404 passed 2025-06-25 07:08:40,216 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7f07f74d-f7f4-4f98-b0b3-951ebd1f5acf 2025-06-25 07:08:40,226 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/44c7388e-d371-49bc-af3b-95fd53227671 2025-06-25 07:08:40,234 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/44c7388e-d371-49bc-af3b-95fd53227671 2025-06-25 07:08:40,243 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/2195ca5b-1386-4c8b-a5c6-b0979ecfc0e7 2025-06-25 07:08:40,255 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-51028535:ctest-vn-46070404', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-51028535', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9153556681898348440', 'uuid-lslong': '12732684530761030351'}, 'enable': 'true', 'created': '2025-06-25T07:08:37', 'last-modified': '2025-06-25T07:08:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.971933'} 2025-06-25 07:08:40,262 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-25 07:08:40,262 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46070404 passed 2025-06-25 07:08:40,262 - DEBUG - ====Verifying policy data for ctest-vn-46070404 in API_Server ====== 2025-06-25 07:08:40,263 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-06-25 07:08:40,268 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b030c4da-6117-4438-b332-a5e215534620 2025-06-25 07:08:40,279 - DEBUG - Requesting: http://10.0.0.50:8082/project/e90c304f-269c-455f-a6b3-9bc4e87d76eb 2025-06-25 07:08:40,354 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7f07f74d-f7f4-4f98-b0b3-951ebd1f5acf 2025-06-25 07:08:40,366 - DEBUG - ==>Verifying data for policy with id: 0b12555a-be7d-4af4-b7b6-78d04f0cee3c, fqn: ['default-domain', 'ctest-TestBasicPolicy-51028535', 'ctest-policy-allow-all-74986448'] 2025-06-25 07:08:40,367 - INFO - VN ctest-vn-46070404 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-25 07:08:40,367 - DEBUG - Verifying the vn in opserver 2025-06-25 07:08:40,367 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-51028535:ctest-vn-46070404 virtual network link through opserver 10.0.0.50 2025-06-25 07:08:40,367 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-06-25 07:08:40,659 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-06-25 07:08:40,714 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-51028535:ctest-vn-46070404', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-51028535:ctest-vn-46070404?flat'} 2025-06-25 07:08:40,714 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-51028535:ctest-vn-46070404 is found in opserver 2025-06-25 07:08:40,725 - DEBUG - Do not have enough data to verify VN in agent 2025-06-25 07:08:40,729 - DEBUG - VRF ids for VN ctest-vn-46070404: {} 2025-06-25 07:08:40,730 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-06-25 07:08:40,735 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b030c4da-6117-4438-b332-a5e215534620 2025-06-25 07:08:40,746 - DEBUG - Requesting: http://10.0.0.50:8082/project/e90c304f-269c-455f-a6b3-9bc4e87d76eb 2025-06-25 07:08:40,819 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7fc00cb0-edb7-413d-9c6b-9b55095b870f 2025-06-25 07:08:40,830 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7fc00cb0-edb7-413d-9c6b-9b55095b870f 2025-06-25 07:08:40,839 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5b9ae79b-38df-43ff-97b9-0d41684ea4bd 2025-06-25 07:08:40,846 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5b9ae79b-38df-43ff-97b9-0d41684ea4bd 2025-06-25 07:08:40,853 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/3cc086e5-695c-411c-81b8-9e1abe84c9e8 2025-06-25 07:08:40,860 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-25 07:08:40,860 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7fc00cb0-edb7-413d-9c6b-9b55095b870f 2025-06-25 07:08:40,868 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5b9ae79b-38df-43ff-97b9-0d41684ea4bd 2025-06-25 07:08:40,882 - INFO - Verified VN network id 9 for VN 7fc00cb0-edb7-413d-9c6b-9b55095b870f 2025-06-25 07:08:40,882 - INFO - Verifications in API Server for VN ctest-vn-42531725 passed 2025-06-25 07:08:40,882 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7fc00cb0-edb7-413d-9c6b-9b55095b870f 2025-06-25 07:08:40,891 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5b9ae79b-38df-43ff-97b9-0d41684ea4bd 2025-06-25 07:08:40,897 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5b9ae79b-38df-43ff-97b9-0d41684ea4bd 2025-06-25 07:08:40,904 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/3cc086e5-695c-411c-81b8-9e1abe84c9e8 2025-06-25 07:08:40,916 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-51028535:ctest-vn-42531725', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-51028535', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9205371592387281213', 'uuid-lslong': '11271273281956316943'}, 'enable': 'true', 'created': '2025-06-25T07:08:38', 'last-modified': '2025-06-25T07:08:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.405588'} 2025-06-25 07:08:40,922 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-25 07:08:40,922 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-42531725 passed 2025-06-25 07:08:40,922 - DEBUG - ====Verifying policy data for ctest-vn-42531725 in API_Server ====== 2025-06-25 07:08:40,922 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-06-25 07:08:40,927 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b030c4da-6117-4438-b332-a5e215534620 2025-06-25 07:08:40,938 - DEBUG - Requesting: http://10.0.0.50:8082/project/e90c304f-269c-455f-a6b3-9bc4e87d76eb 2025-06-25 07:08:41,014 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7fc00cb0-edb7-413d-9c6b-9b55095b870f 2025-06-25 07:08:41,024 - DEBUG - ==>Verifying data for policy with id: 0b12555a-be7d-4af4-b7b6-78d04f0cee3c, fqn: ['default-domain', 'ctest-TestBasicPolicy-51028535', 'ctest-policy-allow-all-74986448'] 2025-06-25 07:08:41,024 - INFO - VN ctest-vn-42531725 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-25 07:08:41,024 - DEBUG - Verifying the vn in opserver 2025-06-25 07:08:41,024 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-51028535:ctest-vn-42531725 virtual network link through opserver 10.0.0.50 2025-06-25 07:08:41,024 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-06-25 07:08:41,034 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-51028535:ctest-vn-42531725', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-51028535:ctest-vn-42531725?flat'} 2025-06-25 07:08:41,034 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-51028535:ctest-vn-42531725 is found in opserver 2025-06-25 07:08:41,044 - DEBUG - Do not have enough data to verify VN in agent 2025-06-25 07:08:41,049 - DEBUG - VRF ids for VN ctest-vn-42531725: {} 2025-06-25 07:08:41,104 - DEBUG - Services list from nova: [, , ] 2025-06-25 07:08:42,168 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3544-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3544-1) 2025-06-25 07:08:43,289 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3544-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3544-1) 2025-06-25 07:08:43,290 - INFO - Waiting for VM ctest-TestBasicPolicy-51028535-46798703 to be up.. 2025-06-25 07:08:43,379 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-25 07:08:48,460 - DEBUG - VM is in ACTIVE state now 2025-06-25 07:08:48,461 - INFO - VM name : ctest-TestBasicPolicy-51028535-46798703 2025-06-25 07:08:48,540 - DEBUG - VM ctest-TestBasicPolicy-51028535-46798703 ID is 4676a99b-ea14-4126-a9cb-a63b1d63f406 2025-06-25 07:08:48,558 - DEBUG - VM ctest-TestBasicPolicy-51028535-46798703 launched on Node cn-jenkins-deploy-platform-ansible-os-3544-1 2025-06-25 07:08:48,632 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/4676a99b-ea14-4126-a9cb-a63b1d63f406 2025-06-25 07:08:48,640 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/2b8c5d23-148c-49af-990d-e83b60d782f4 2025-06-25 07:08:51,889 - 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 1005ms') 2025-06-25 07:08:51,889 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-51028535-46798703 failed! 2025-06-25 07:08:51,946 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-51028535:ctest-vn-46070404 is 204.87.161.65 and allocation pool is NOT set 2025-06-25 07:08:54,016 - 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.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.08 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 = 1.077/2.889/4.702/1.812 ms') 2025-06-25 07:08:54,016 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-51028535-46798703 passed 2025-06-25 07:08:54,166 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-25 07:08:54,166 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-51028535-46798703, IP 204.87.161.67, Port 22 2025-06-25 07:08:54,322 - DEBUG - VM ctest-TestBasicPolicy-51028535-46798703 is ready for SSH connections 2025-06-25 07:08:54,322 - INFO - Waiting for VM ctest-TestBasicPolicy-51028535-24181568 to be up.. 2025-06-25 07:08:54,398 - DEBUG - VM is in ACTIVE state now 2025-06-25 07:08:54,398 - INFO - VM name : ctest-TestBasicPolicy-51028535-24181568 2025-06-25 07:08:54,473 - DEBUG - VM ctest-TestBasicPolicy-51028535-24181568 ID is 6c2bbccf-0076-4395-823d-7dcde16c334f 2025-06-25 07:08:54,473 - DEBUG - VM ctest-TestBasicPolicy-51028535-24181568 launched on Node cn-jenkins-deploy-platform-ansible-os-3544-1 2025-06-25 07:08:54,553 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/6c2bbccf-0076-4395-823d-7dcde16c334f 2025-06-25 07:08:54,561 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/b078aeb9-a8ef-4888-867a-63f28734985b 2025-06-25 07:08:55,798 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.05 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.779 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.779/1.913/3.048/1.134 ms') 2025-06-25 07:08:55,798 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-51028535-24181568 passed 2025-06-25 07:08:55,946 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-25 07:08:55,947 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-51028535-24181568, IP 63.41.146.3, Port 22 2025-06-25 07:08:56,106 - DEBUG - VM ctest-TestBasicPolicy-51028535-24181568 is ready for SSH connections 2025-06-25 07:08:56,106 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-25 07:08:56,106 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.41.146.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-06-25 07:08:56,106 - DEBUG - ping -s 56 -c 3 -W 1 63.41.146.3 2025-06-25 07:09:00,056 - DEBUG - PING 63.41.146.3 (63.41.146.3): 56 data bytes 64 bytes from 63.41.146.3: seq=0 ttl=63 time=3.240 ms 64 bytes from 63.41.146.3: seq=1 ttl=63 time=1.045 ms 64 bytes from 63.41.146.3: seq=2 ttl=63 time=1.138 ms --- 63.41.146.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.045/1.807/3.240 ms 2025-06-25 07:09:00,056 - INFO - Ping to IP 63.41.146.3 from VM ctest-TestBasicPolicy-51028535-46798703 passed 2025-06-25 07:09:00,254 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0b12555a-be7d-4af4-b7b6-78d04f0cee3c", "href": "http://10.0.0.50:8082/network-policy/0b12555a-be7d-4af4-b7b6-78d04f0cee3c"}} 2025-06-25 07:09:00,254 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-25 07:09:00,254 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.41.146.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-06-25 07:09:00,255 - DEBUG - ping -s 56 -c 3 -W 1 63.41.146.3 2025-06-25 07:09:03,453 - DEBUG - PING 63.41.146.3 (63.41.146.3): 56 data bytes --- 63.41.146.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-25 07:09:03,453 - WARNING - Ping to IP 63.41.146.3 from VM ctest-TestBasicPolicy-51028535-46798703 failed 2025-06-25 07:09:03,453 - INFO - Deleting VM ctest-TestBasicPolicy-51028535-24181568 2025-06-25 07:09:03,525 - INFO - Deleting VM ctest-TestBasicPolicy-51028535-46798703 2025-06-25 07:09:03,932 - INFO - Deleted policy ctest-policy-allow-all-74986448 2025-06-25 07:09:03,932 - INFO - Deleting VN ctest-vn-42531725 2025-06-25 07:09:03,976 - DEBUG - VN 7fc00cb0-edb7-413d-9c6b-9b55095b870f still in use: Unable to complete operation on network 7fc00cb0-edb7-413d-9c6b-9b55095b870f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-046f0fae-087d-4e3d-937f-2d5a4f1ccfc7'] 2025-06-25 07:09:03,976 - WARNING - Deleting VN ctest-vn-42531725 failed..Will retry 2025-06-25 07:09:06,087 - DEBUG - Response for deleting network () 2025-06-25 07:09:06,088 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5b9ae79b-38df-43ff-97b9-0d41684ea4bd 2025-06-25 07:09:06,096 - DEBUG - Response Code: 404 2025-06-25 07:09:06,097 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-06-25 07:09:06,102 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b030c4da-6117-4438-b332-a5e215534620 2025-06-25 07:09:06,160 - DEBUG - Requesting: http://10.0.0.50:8082/project/e90c304f-269c-455f-a6b3-9bc4e87d76eb 2025-06-25 07:09:06,233 - INFO - Validated that VN ctest-vn-42531725 is not found in API Server 2025-06-25 07:09:06,245 - DEBUG - VN ctest-vn-42531725 is not present in Agent 10.0.0.50 2025-06-25 07:09:06,245 - INFO - Validated that VN ctest-vn-42531725 is not in any agent 2025-06-25 07:09:06,262 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-42531725 info 2025-06-25 07:09:06,262 - INFO - Deleting VN ctest-vn-46070404 2025-06-25 07:09:06,381 - DEBUG - Response for deleting network () 2025-06-25 07:09:06,382 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/44c7388e-d371-49bc-af3b-95fd53227671 2025-06-25 07:09:06,389 - DEBUG - Response Code: 404 2025-06-25 07:09:06,389 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-06-25 07:09:06,395 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b030c4da-6117-4438-b332-a5e215534620 2025-06-25 07:09:06,447 - DEBUG - Requesting: http://10.0.0.50:8082/project/e90c304f-269c-455f-a6b3-9bc4e87d76eb 2025-06-25 07:09:06,526 - INFO - Validated that VN ctest-vn-46070404 is not found in API Server 2025-06-25 07:09:06,538 - DEBUG - VN ctest-vn-46070404 is not present in Agent 10.0.0.50 2025-06-25 07:09:06,538 - INFO - Validated that VN ctest-vn-46070404 is not in any agent 2025-06-25 07:09:06,555 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-46070404 info 2025-06-25 07:09:06,823 - DEBUG - No XMPP flaps were noticed during the test 2025-06-25 07:09:06,824 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-06-25 07:09:06,824 - INFO - -------------------------------------------------------------------------------- 2025-06-25 07:09:07,510 - INFO - Deleted project: ctest-TestBasicPolicy-51028535, ID : e90c304f-269c-455f-a6b3-9bc4e87d76eb