2025-09-05 13:39:46,233 - INFO - Domain Default found not creating 2025-09-05 13:39:46,372 - INFO - Project ctest-TestBasicPolicy-73318949 not found, creating it 2025-09-05 13:39:46,801 - INFO - Created Project:ctest-TestBasicPolicy-73318949, ID : 695fec8d-fa5a-47dd-9df7-5327b3244d0c 2025-09-05 13:39:48,164 - INFO - ================================================================================ 2025-09-05 13:39:48,164 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-05 13:39:48,164 - 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-09-05 13:39:48,416 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-05 13:39:48,416 - INFO - Initial checks done. Running the testcase now 2025-09-05 13:39:48,416 - INFO - 2025-09-05 13:39:48,952 - DEBUG - Response for create_network : {'network': {'id': '218c0b68-f064-42a8-aa70-cacc69ca4973', 'name': 'ctest-vn-99004853', 'tenant_id': '695fec8dfa5a47dd9df75327b3244d0c', 'project_id': '695fec8dfa5a47dd9df75327b3244d0c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73318949', 'ctest-vn-99004853'], 'port_security_enabled': True, 'description': ''}} 2025-09-05 13:39:49,116 - DEBUG - Response for create_subnet : {'subnet': {'id': '2bb95e03-a4bf-4008-ad03-f74b8d891e88', 'name': '', 'tenant_id': '695fec8dfa5a47dd9df75327b3244d0c', 'network_id': '218c0b68-f064-42a8-aa70-cacc69ca4973', 'ip_version': 4, 'cidr': '22.247.177.128/26', 'allocation_pools': [{'start': '22.247.177.130', 'end': '22.247.177.190'}], 'gateway_ip': '22.247.177.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.247.177.130', 'tags': [], 'project_id': '695fec8dfa5a47dd9df75327b3244d0c'}} 2025-09-05 13:39:49,131 - INFO - Created VN ctest-vn-99004853 2025-09-05 13:39:49,180 - DEBUG - VN ctest-vn-99004853 UUID is 218c0b68-f064-42a8-aa70-cacc69ca4973 2025-09-05 13:39:49,497 - DEBUG - Response for create_network : {'network': {'id': '18c3878e-443c-46f3-aec8-b608b11d58e9', 'name': 'ctest-vn-08502264', 'tenant_id': '695fec8dfa5a47dd9df75327b3244d0c', 'project_id': '695fec8dfa5a47dd9df75327b3244d0c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73318949', 'ctest-vn-08502264'], 'port_security_enabled': True, 'description': ''}} 2025-09-05 13:39:49,631 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ebf196bb-1991-46f6-9ff1-7c7d152fc11f', 'name': '', 'tenant_id': '695fec8dfa5a47dd9df75327b3244d0c', 'network_id': '18c3878e-443c-46f3-aec8-b608b11d58e9', 'ip_version': 4, 'cidr': '146.135.150.64/26', 'allocation_pools': [{'start': '146.135.150.66', 'end': '146.135.150.126'}], 'gateway_ip': '146.135.150.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.135.150.66', 'tags': [], 'project_id': '695fec8dfa5a47dd9df75327b3244d0c'}} 2025-09-05 13:39:49,647 - INFO - Created VN ctest-vn-08502264 2025-09-05 13:39:49,696 - DEBUG - VN ctest-vn-08502264 UUID is 18c3878e-443c-46f3-aec8-b608b11d58e9 2025-09-05 13:39:49,848 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-73318949:ctest-vn-99004853, 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-73318949:ctest-vn-08502264, 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-09-05 13:39:50,143 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '218c0b68-f064-42a8-aa70-cacc69ca4973', 'name': 'ctest-vn-99004853', 'tenant_id': '695fec8dfa5a47dd9df75327b3244d0c', 'project_id': '695fec8dfa5a47dd9df75327b3244d0c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2bb95e03-a4bf-4008-ad03-f74b8d891e88'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73318949', 'ctest-vn-99004853'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-73318949', 'ctest-policy-allow-all-63871129']], 'subnet_ipam': [{'subnet_cidr': '22.247.177.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-05 13:39:50,356 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '18c3878e-443c-46f3-aec8-b608b11d58e9', 'name': 'ctest-vn-08502264', 'tenant_id': '695fec8dfa5a47dd9df75327b3244d0c', 'project_id': '695fec8dfa5a47dd9df75327b3244d0c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ebf196bb-1991-46f6-9ff1-7c7d152fc11f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73318949', 'ctest-vn-08502264'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-73318949', 'ctest-policy-allow-all-63871129']], 'subnet_ipam': [{'subnet_cidr': '146.135.150.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-05 13:39:50,524 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-05 13:39:50,820 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-05 13:39:50,848 - DEBUG - Requesting: http://10.0.0.254:8082/domain/45575216-447d-4e01-ba31-10643541734f 2025-09-05 13:39:50,862 - DEBUG - Requesting: http://10.0.0.254:8082/project/695fec8d-fa5a-47dd-9df7-5327b3244d0c 2025-09-05 13:39:50,941 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/218c0b68-f064-42a8-aa70-cacc69ca4973 2025-09-05 13:39:50,953 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/218c0b68-f064-42a8-aa70-cacc69ca4973 2025-09-05 13:39:50,962 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/08b37677-b799-475f-8874-f5978b4f1f01 2025-09-05 13:39:50,968 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/08b37677-b799-475f-8874-f5978b4f1f01 2025-09-05 13:39:50,973 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/6b78788d-66f7-4057-9bd1-767eba3e95d0 2025-09-05 13:39:50,978 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-05 13:39:50,978 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/218c0b68-f064-42a8-aa70-cacc69ca4973 2025-09-05 13:39:50,986 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/08b37677-b799-475f-8874-f5978b4f1f01 2025-09-05 13:39:50,998 - INFO - Verified VN network id 12 for VN 218c0b68-f064-42a8-aa70-cacc69ca4973 2025-09-05 13:39:50,998 - INFO - Verifications in API Server for VN ctest-vn-99004853 passed 2025-09-05 13:39:50,998 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/218c0b68-f064-42a8-aa70-cacc69ca4973 2025-09-05 13:39:51,005 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/08b37677-b799-475f-8874-f5978b4f1f01 2025-09-05 13:39:51,012 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/08b37677-b799-475f-8874-f5978b4f1f01 2025-09-05 13:39:51,017 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/6b78788d-66f7-4057-9bd1-767eba3e95d0 2025-09-05 13:39:51,027 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-73318949:ctest-vn-99004853', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-73318949', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2417319645328720552', 'uuid-lslong': '12281539163136346483'}, 'enable': 'true', 'created': '2025-09-05T13:39:48', 'last-modified': '2025-09-05T13:39:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.905703'} 2025-09-05 13:39:51,032 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-05 13:39:51,032 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99004853 passed 2025-09-05 13:39:51,032 - DEBUG - ====Verifying policy data for ctest-vn-99004853 in API_Server ====== 2025-09-05 13:39:51,032 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-05 13:39:51,036 - DEBUG - Requesting: http://10.0.0.254:8082/domain/45575216-447d-4e01-ba31-10643541734f 2025-09-05 13:39:51,046 - DEBUG - Requesting: http://10.0.0.254:8082/project/695fec8d-fa5a-47dd-9df7-5327b3244d0c 2025-09-05 13:39:51,113 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/218c0b68-f064-42a8-aa70-cacc69ca4973 2025-09-05 13:39:51,121 - DEBUG - ==>Verifying data for policy with id: de605373-ff0c-4446-80ba-9fc27be9e72d, fqn: ['default-domain', 'ctest-TestBasicPolicy-73318949', 'ctest-policy-allow-all-63871129'] 2025-09-05 13:39:51,121 - INFO - VN ctest-vn-99004853 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-05 13:39:51,121 - DEBUG - Verifying the vn in opserver 2025-09-05 13:39:51,121 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-73318949:ctest-vn-99004853 virtual network link through opserver 10.0.0.254 2025-09-05 13:39:51,121 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-05 13:39:51,418 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-05 13:39:51,468 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-73318949:ctest-vn-99004853', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-73318949:ctest-vn-99004853?flat'} 2025-09-05 13:39:51,468 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-73318949:ctest-vn-99004853 is found in opserver 2025-09-05 13:39:51,477 - DEBUG - Do not have enough data to verify VN in agent 2025-09-05 13:39:51,481 - DEBUG - VRF ids for VN ctest-vn-99004853: {} 2025-09-05 13:39:51,481 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-05 13:39:51,486 - DEBUG - Requesting: http://10.0.0.254:8082/domain/45575216-447d-4e01-ba31-10643541734f 2025-09-05 13:39:51,496 - DEBUG - Requesting: http://10.0.0.254:8082/project/695fec8d-fa5a-47dd-9df7-5327b3244d0c 2025-09-05 13:39:51,581 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/18c3878e-443c-46f3-aec8-b608b11d58e9 2025-09-05 13:39:51,592 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/18c3878e-443c-46f3-aec8-b608b11d58e9 2025-09-05 13:39:51,601 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c0de3ac1-68e6-48a5-980c-af7f3e926802 2025-09-05 13:39:51,608 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c0de3ac1-68e6-48a5-980c-af7f3e926802 2025-09-05 13:39:51,615 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/a78f956b-94c4-490d-abed-b9e29cfd359a 2025-09-05 13:39:51,621 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-05 13:39:51,622 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/18c3878e-443c-46f3-aec8-b608b11d58e9 2025-09-05 13:39:51,631 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c0de3ac1-68e6-48a5-980c-af7f3e926802 2025-09-05 13:39:51,644 - INFO - Verified VN network id 13 for VN 18c3878e-443c-46f3-aec8-b608b11d58e9 2025-09-05 13:39:51,644 - INFO - Verifications in API Server for VN ctest-vn-08502264 passed 2025-09-05 13:39:51,645 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/18c3878e-443c-46f3-aec8-b608b11d58e9 2025-09-05 13:39:51,653 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c0de3ac1-68e6-48a5-980c-af7f3e926802 2025-09-05 13:39:51,659 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c0de3ac1-68e6-48a5-980c-af7f3e926802 2025-09-05 13:39:51,665 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/a78f956b-94c4-490d-abed-b9e29cfd359a 2025-09-05 13:39:51,677 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-73318949:ctest-vn-08502264', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-73318949', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1784418922468755187', 'uuid-lslong': '12594516506389076201'}, 'enable': 'true', 'created': '2025-09-05T13:39:49', 'last-modified': '2025-09-05T13:39:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.338884'} 2025-09-05 13:39:51,682 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-05 13:39:51,682 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-08502264 passed 2025-09-05 13:39:51,682 - DEBUG - ====Verifying policy data for ctest-vn-08502264 in API_Server ====== 2025-09-05 13:39:51,682 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-05 13:39:51,687 - DEBUG - Requesting: http://10.0.0.254:8082/domain/45575216-447d-4e01-ba31-10643541734f 2025-09-05 13:39:51,697 - DEBUG - Requesting: http://10.0.0.254:8082/project/695fec8d-fa5a-47dd-9df7-5327b3244d0c 2025-09-05 13:39:51,763 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/18c3878e-443c-46f3-aec8-b608b11d58e9 2025-09-05 13:39:51,771 - DEBUG - ==>Verifying data for policy with id: de605373-ff0c-4446-80ba-9fc27be9e72d, fqn: ['default-domain', 'ctest-TestBasicPolicy-73318949', 'ctest-policy-allow-all-63871129'] 2025-09-05 13:39:51,771 - INFO - VN ctest-vn-08502264 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-05 13:39:51,771 - DEBUG - Verifying the vn in opserver 2025-09-05 13:39:51,771 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-73318949:ctest-vn-08502264 virtual network link through opserver 10.0.0.254 2025-09-05 13:39:51,772 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-05 13:39:51,781 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-73318949:ctest-vn-08502264', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-73318949:ctest-vn-08502264?flat'} 2025-09-05 13:39:51,781 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-73318949:ctest-vn-08502264 is found in opserver 2025-09-05 13:39:51,789 - DEBUG - Do not have enough data to verify VN in agent 2025-09-05 13:39:51,793 - DEBUG - VRF ids for VN ctest-vn-08502264: {} 2025-09-05 13:39:51,843 - DEBUG - Services list from nova: [, , ] 2025-09-05 13:39:52,846 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4025-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4025-1) 2025-09-05 13:39:53,956 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4025-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4025-1) 2025-09-05 13:39:53,956 - INFO - Waiting for VM ctest-TestBasicPolicy-73318949-64599277 to be up.. 2025-09-05 13:39:54,038 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-05 13:39:59,106 - DEBUG - VM is in ACTIVE state now 2025-09-05 13:39:59,106 - INFO - VM name : ctest-TestBasicPolicy-73318949-64599277 2025-09-05 13:39:59,174 - DEBUG - VM ctest-TestBasicPolicy-73318949-64599277 ID is 1f535495-c715-4fe7-a4be-414ccd507518 2025-09-05 13:39:59,191 - DEBUG - VM ctest-TestBasicPolicy-73318949-64599277 launched on Node cn-jenkins-deploy-platform-ansible-os-4025-1 2025-09-05 13:39:59,257 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/1f535495-c715-4fe7-a4be-414ccd507518 2025-09-05 13:39:59,282 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/78762115-d573-477a-aee4-e688dae85310 2025-09-05 13:40:02,627 - 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 1023ms') 2025-09-05 13:40:02,627 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-73318949-64599277 failed! 2025-09-05 13:40:02,680 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-73318949:ctest-vn-99004853 is 22.247.177.129 and allocation pool is NOT set 2025-09-05 13:40:04,740 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=2.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.450 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.450/1.569/2.689/1.119 ms') 2025-09-05 13:40:04,741 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-73318949-64599277 passed 2025-09-05 13:40:04,888 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 13:40:04,888 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-73318949-64599277, IP 22.247.177.131, Port 22 2025-09-05 13:40:05,044 - DEBUG - VM ctest-TestBasicPolicy-73318949-64599277 is ready for SSH connections 2025-09-05 13:40:05,044 - INFO - Waiting for VM ctest-TestBasicPolicy-73318949-32322094 to be up.. 2025-09-05 13:40:05,130 - DEBUG - VM is in ACTIVE state now 2025-09-05 13:40:05,130 - INFO - VM name : ctest-TestBasicPolicy-73318949-32322094 2025-09-05 13:40:05,212 - DEBUG - VM ctest-TestBasicPolicy-73318949-32322094 ID is 21e58d97-5c72-4976-a55b-7c18a8ef1d1c 2025-09-05 13:40:05,212 - DEBUG - VM ctest-TestBasicPolicy-73318949-32322094 launched on Node cn-jenkins-deploy-platform-ansible-os-4025-1 2025-09-05 13:40:05,298 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/21e58d97-5c72-4976-a55b-7c18a8ef1d1c 2025-09-05 13:40:05,306 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/113ba720-06d4-4cec-8cd5-dc33d118cb31 2025-09-05 13:40:06,540 - 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.60 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.425 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.425/2.010/3.596/1.585 ms') 2025-09-05 13:40:06,540 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-73318949-32322094 passed 2025-09-05 13:40:06,688 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 13:40:06,688 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-73318949-32322094, IP 146.135.150.67, Port 22 2025-09-05 13:40:06,839 - DEBUG - VM ctest-TestBasicPolicy-73318949-32322094 is ready for SSH connections 2025-09-05 13:40:06,839 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 13:40:06,839 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 146.135.150.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-05 13:40:06,840 - DEBUG - ping -s 56 -c 3 -W 1 146.135.150.67 2025-09-05 13:40:10,552 - DEBUG - PING 146.135.150.67 (146.135.150.67): 56 data bytes 64 bytes from 146.135.150.67: seq=0 ttl=63 time=3.269 ms 64 bytes from 146.135.150.67: seq=1 ttl=63 time=1.066 ms 64 bytes from 146.135.150.67: seq=2 ttl=63 time=0.687 ms --- 146.135.150.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.687/1.674/3.269 ms 2025-09-05 13:40:10,552 - INFO - Ping to IP 146.135.150.67 from VM ctest-TestBasicPolicy-73318949-64599277 passed 2025-09-05 13:40:10,732 - DEBUG - Policy Update Response {"network-policy": {"uuid": "de605373-ff0c-4446-80ba-9fc27be9e72d", "href": "http://10.0.0.254:8082/network-policy/de605373-ff0c-4446-80ba-9fc27be9e72d"}} 2025-09-05 13:40:10,732 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 13:40:10,732 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 146.135.150.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-05 13:40:10,732 - DEBUG - ping -s 56 -c 3 -W 1 146.135.150.67 2025-09-05 13:40:13,932 - DEBUG - PING 146.135.150.67 (146.135.150.67): 56 data bytes --- 146.135.150.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-05 13:40:13,932 - WARNING - Ping to IP 146.135.150.67 from VM ctest-TestBasicPolicy-73318949-64599277 failed 2025-09-05 13:40:13,933 - INFO - Deleting VM ctest-TestBasicPolicy-73318949-32322094 2025-09-05 13:40:13,996 - INFO - Deleting VM ctest-TestBasicPolicy-73318949-64599277 2025-09-05 13:40:14,333 - INFO - Deleted policy ctest-policy-allow-all-63871129 2025-09-05 13:40:14,333 - INFO - Deleting VN ctest-vn-08502264 2025-09-05 13:40:14,371 - DEBUG - VN 18c3878e-443c-46f3-aec8-b608b11d58e9 still in use: Unable to complete operation on network 18c3878e-443c-46f3-aec8-b608b11d58e9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2a5e7ae2-543c-4da9-9c05-6faed8fec6ab'] 2025-09-05 13:40:14,371 - WARNING - Deleting VN ctest-vn-08502264 failed..Will retry 2025-09-05 13:40:16,466 - DEBUG - Response for deleting network () 2025-09-05 13:40:16,466 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c0de3ac1-68e6-48a5-980c-af7f3e926802 2025-09-05 13:40:16,471 - DEBUG - Response Code: 404 2025-09-05 13:40:16,471 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-05 13:40:16,476 - DEBUG - Requesting: http://10.0.0.254:8082/domain/45575216-447d-4e01-ba31-10643541734f 2025-09-05 13:40:16,529 - DEBUG - Requesting: http://10.0.0.254:8082/project/695fec8d-fa5a-47dd-9df7-5327b3244d0c 2025-09-05 13:40:16,597 - INFO - Validated that VN ctest-vn-08502264 is not found in API Server 2025-09-05 13:40:16,606 - DEBUG - VN ctest-vn-08502264 is not present in Agent 10.0.0.254 2025-09-05 13:40:16,606 - INFO - Validated that VN ctest-vn-08502264 is not in any agent 2025-09-05 13:40:16,619 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-08502264 info 2025-09-05 13:40:16,619 - INFO - Deleting VN ctest-vn-99004853 2025-09-05 13:40:16,720 - DEBUG - Response for deleting network () 2025-09-05 13:40:16,721 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/08b37677-b799-475f-8874-f5978b4f1f01 2025-09-05 13:40:16,725 - DEBUG - Response Code: 404 2025-09-05 13:40:16,725 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-05 13:40:16,730 - DEBUG - Requesting: http://10.0.0.254:8082/domain/45575216-447d-4e01-ba31-10643541734f 2025-09-05 13:40:16,784 - DEBUG - Requesting: http://10.0.0.254:8082/project/695fec8d-fa5a-47dd-9df7-5327b3244d0c 2025-09-05 13:40:16,850 - INFO - Validated that VN ctest-vn-99004853 is not found in API Server 2025-09-05 13:40:16,858 - DEBUG - VN ctest-vn-99004853 is not present in Agent 10.0.0.254 2025-09-05 13:40:16,858 - INFO - Validated that VN ctest-vn-99004853 is not in any agent 2025-09-05 13:40:16,869 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-99004853 info 2025-09-05 13:40:17,130 - DEBUG - No XMPP flaps were noticed during the test 2025-09-05 13:40:17,130 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-09-05 13:40:17,130 - INFO - -------------------------------------------------------------------------------- 2025-09-05 13:40:17,779 - INFO - Deleted project: ctest-TestBasicPolicy-73318949, ID : 695fec8d-fa5a-47dd-9df7-5327b3244d0c