2025-08-03 07:11:58,230 - INFO - Domain Default found not creating 2025-08-03 07:11:58,384 - INFO - Project ctest-TestBasicPolicy-48736878 not found, creating it 2025-08-03 07:11:58,842 - INFO - Created Project:ctest-TestBasicPolicy-48736878, ID : 2eca378c-d87b-43fd-8e78-b2304a33c5f5 2025-08-03 07:12:00,303 - INFO - ================================================================================ 2025-08-03 07:12:00,304 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-03 07:12:00,304 - 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-08-03 07:12:00,557 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-08-03 07:12:00,557 - INFO - Initial checks done. Running the testcase now 2025-08-03 07:12:00,557 - INFO - 2025-08-03 07:12:01,143 - DEBUG - Response for create_network : {'network': {'id': '493b5318-28dc-4c07-a48f-b8df289163d3', 'name': 'ctest-vn-22462511', 'tenant_id': '2eca378cd87b43fd8e78b2304a33c5f5', 'project_id': '2eca378cd87b43fd8e78b2304a33c5f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48736878', 'ctest-vn-22462511'], 'port_security_enabled': True, 'description': ''}} 2025-08-03 07:12:01,328 - DEBUG - Response for create_subnet : {'subnet': {'id': '7d3b4ff1-3d02-4ed9-a0c4-0def4048805d', 'name': '', 'tenant_id': '2eca378cd87b43fd8e78b2304a33c5f5', 'network_id': '493b5318-28dc-4c07-a48f-b8df289163d3', 'ip_version': 4, 'cidr': '117.228.104.0/26', 'allocation_pools': [{'start': '117.228.104.2', 'end': '117.228.104.62'}], 'gateway_ip': '117.228.104.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.228.104.2', 'tags': [], 'project_id': '2eca378cd87b43fd8e78b2304a33c5f5'}} 2025-08-03 07:12:01,346 - INFO - Created VN ctest-vn-22462511 2025-08-03 07:12:01,400 - DEBUG - VN ctest-vn-22462511 UUID is 493b5318-28dc-4c07-a48f-b8df289163d3 2025-08-03 07:12:01,700 - DEBUG - Response for create_network : {'network': {'id': 'd6fa1631-076d-499f-ae1a-b4dd227ddd22', 'name': 'ctest-vn-24377913', 'tenant_id': '2eca378cd87b43fd8e78b2304a33c5f5', 'project_id': '2eca378cd87b43fd8e78b2304a33c5f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48736878', 'ctest-vn-24377913'], 'port_security_enabled': True, 'description': ''}} 2025-08-03 07:12:01,912 - DEBUG - Response for create_subnet : {'subnet': {'id': '06d81b34-5081-40cd-a3bb-40675d3e7d87', 'name': '', 'tenant_id': '2eca378cd87b43fd8e78b2304a33c5f5', 'network_id': 'd6fa1631-076d-499f-ae1a-b4dd227ddd22', 'ip_version': 4, 'cidr': '39.221.150.128/26', 'allocation_pools': [{'start': '39.221.150.130', 'end': '39.221.150.190'}], 'gateway_ip': '39.221.150.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '39.221.150.130', 'tags': [], 'project_id': '2eca378cd87b43fd8e78b2304a33c5f5'}} 2025-08-03 07:12:01,929 - INFO - Created VN ctest-vn-24377913 2025-08-03 07:12:01,984 - DEBUG - VN ctest-vn-24377913 UUID is d6fa1631-076d-499f-ae1a-b4dd227ddd22 2025-08-03 07:12:02,100 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-48736878:ctest-vn-22462511, 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-48736878:ctest-vn-24377913, 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-08-03 07:12:02,405 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '493b5318-28dc-4c07-a48f-b8df289163d3', 'name': 'ctest-vn-22462511', 'tenant_id': '2eca378cd87b43fd8e78b2304a33c5f5', 'project_id': '2eca378cd87b43fd8e78b2304a33c5f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7d3b4ff1-3d02-4ed9-a0c4-0def4048805d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48736878', 'ctest-vn-22462511'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48736878', 'ctest-policy-allow-all-88229430']], 'subnet_ipam': [{'subnet_cidr': '117.228.104.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-03 07:12:02,664 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd6fa1631-076d-499f-ae1a-b4dd227ddd22', 'name': 'ctest-vn-24377913', 'tenant_id': '2eca378cd87b43fd8e78b2304a33c5f5', 'project_id': '2eca378cd87b43fd8e78b2304a33c5f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['06d81b34-5081-40cd-a3bb-40675d3e7d87'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48736878', 'ctest-vn-24377913'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48736878', 'ctest-policy-allow-all-88229430']], 'subnet_ipam': [{'subnet_cidr': '39.221.150.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-03 07:12:02,832 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-03 07:12:03,128 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-03 07:12:03,155 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6874d71b-f512-4e18-8b72-b150f0987cc7 2025-08-03 07:12:03,169 - DEBUG - Requesting: http://10.0.0.38:8082/project/2eca378c-d87b-43fd-8e78-b2304a33c5f5 2025-08-03 07:12:03,242 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/493b5318-28dc-4c07-a48f-b8df289163d3 2025-08-03 07:12:03,254 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/493b5318-28dc-4c07-a48f-b8df289163d3 2025-08-03 07:12:03,265 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ee77b2c8-6c07-4688-9bc8-f5cf90385583 2025-08-03 07:12:03,274 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ee77b2c8-6c07-4688-9bc8-f5cf90385583 2025-08-03 07:12:03,282 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/615082e0-6709-40f2-8908-2feab2ec6fb5 2025-08-03 07:12:03,289 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-03 07:12:03,289 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/493b5318-28dc-4c07-a48f-b8df289163d3 2025-08-03 07:12:03,300 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ee77b2c8-6c07-4688-9bc8-f5cf90385583 2025-08-03 07:12:03,315 - INFO - Verified VN network id 10 for VN 493b5318-28dc-4c07-a48f-b8df289163d3 2025-08-03 07:12:03,315 - INFO - Verifications in API Server for VN ctest-vn-22462511 passed 2025-08-03 07:12:03,315 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/493b5318-28dc-4c07-a48f-b8df289163d3 2025-08-03 07:12:03,327 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ee77b2c8-6c07-4688-9bc8-f5cf90385583 2025-08-03 07:12:03,336 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ee77b2c8-6c07-4688-9bc8-f5cf90385583 2025-08-03 07:12:03,345 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/615082e0-6709-40f2-8908-2feab2ec6fb5 2025-08-03 07:12:03,358 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48736878:ctest-vn-22462511', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48736878', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5276902751624514567', 'uuid-lslong': '11857899612487640019'}, 'enable': 'true', 'created': '2025-08-03T07:12:01', 'last-modified': '2025-08-03T07:12:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.978409'} 2025-08-03 07:12:03,366 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-03 07:12:03,366 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-22462511 passed 2025-08-03 07:12:03,366 - DEBUG - ====Verifying policy data for ctest-vn-22462511 in API_Server ====== 2025-08-03 07:12:03,366 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-03 07:12:03,373 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6874d71b-f512-4e18-8b72-b150f0987cc7 2025-08-03 07:12:03,387 - DEBUG - Requesting: http://10.0.0.38:8082/project/2eca378c-d87b-43fd-8e78-b2304a33c5f5 2025-08-03 07:12:03,469 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/493b5318-28dc-4c07-a48f-b8df289163d3 2025-08-03 07:12:03,480 - DEBUG - ==>Verifying data for policy with id: 46620a97-1e53-471f-aba5-1fa2b05edc4a, fqn: ['default-domain', 'ctest-TestBasicPolicy-48736878', 'ctest-policy-allow-all-88229430'] 2025-08-03 07:12:03,480 - INFO - VN ctest-vn-22462511 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-03 07:12:03,480 - DEBUG - Verifying the vn in opserver 2025-08-03 07:12:03,480 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48736878:ctest-vn-22462511 virtual network link through opserver 10.0.0.38 2025-08-03 07:12:03,480 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-03 07:12:03,771 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-03 07:12:03,831 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48736878:ctest-vn-22462511', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48736878:ctest-vn-22462511?flat'} 2025-08-03 07:12:03,831 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48736878:ctest-vn-22462511 is found in opserver 2025-08-03 07:12:03,843 - DEBUG - Do not have enough data to verify VN in agent 2025-08-03 07:12:03,848 - DEBUG - VRF ids for VN ctest-vn-22462511: {} 2025-08-03 07:12:03,848 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-03 07:12:03,854 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6874d71b-f512-4e18-8b72-b150f0987cc7 2025-08-03 07:12:03,866 - DEBUG - Requesting: http://10.0.0.38:8082/project/2eca378c-d87b-43fd-8e78-b2304a33c5f5 2025-08-03 07:12:03,940 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d6fa1631-076d-499f-ae1a-b4dd227ddd22 2025-08-03 07:12:03,953 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d6fa1631-076d-499f-ae1a-b4dd227ddd22 2025-08-03 07:12:03,964 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/191e22a9-6191-429f-bf4f-19aa6ec9ab8c 2025-08-03 07:12:03,973 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/191e22a9-6191-429f-bf4f-19aa6ec9ab8c 2025-08-03 07:12:03,981 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/2d1dadca-da81-4dc8-a555-69ce2b66154f 2025-08-03 07:12:03,989 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-03 07:12:03,989 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d6fa1631-076d-499f-ae1a-b4dd227ddd22 2025-08-03 07:12:04,001 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/191e22a9-6191-429f-bf4f-19aa6ec9ab8c 2025-08-03 07:12:04,021 - INFO - Verified VN network id 11 for VN d6fa1631-076d-499f-ae1a-b4dd227ddd22 2025-08-03 07:12:04,023 - INFO - Verifications in API Server for VN ctest-vn-24377913 passed 2025-08-03 07:12:04,023 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d6fa1631-076d-499f-ae1a-b4dd227ddd22 2025-08-03 07:12:04,037 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/191e22a9-6191-429f-bf4f-19aa6ec9ab8c 2025-08-03 07:12:04,047 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/191e22a9-6191-429f-bf4f-19aa6ec9ab8c 2025-08-03 07:12:04,056 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/2d1dadca-da81-4dc8-a555-69ce2b66154f 2025-08-03 07:12:04,071 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48736878:ctest-vn-24377913', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48736878', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15490718268128053663', 'uuid-lslong': '12545538573853383970'}, 'enable': 'true', 'created': '2025-08-03T07:12:01', 'last-modified': '2025-08-03T07:12:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.441266'} 2025-08-03 07:12:04,077 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-03 07:12:04,077 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-24377913 passed 2025-08-03 07:12:04,077 - DEBUG - ====Verifying policy data for ctest-vn-24377913 in API_Server ====== 2025-08-03 07:12:04,077 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-03 07:12:04,084 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6874d71b-f512-4e18-8b72-b150f0987cc7 2025-08-03 07:12:04,100 - DEBUG - Requesting: http://10.0.0.38:8082/project/2eca378c-d87b-43fd-8e78-b2304a33c5f5 2025-08-03 07:12:04,173 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d6fa1631-076d-499f-ae1a-b4dd227ddd22 2025-08-03 07:12:04,185 - DEBUG - ==>Verifying data for policy with id: 46620a97-1e53-471f-aba5-1fa2b05edc4a, fqn: ['default-domain', 'ctest-TestBasicPolicy-48736878', 'ctest-policy-allow-all-88229430'] 2025-08-03 07:12:04,185 - INFO - VN ctest-vn-24377913 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-03 07:12:04,186 - DEBUG - Verifying the vn in opserver 2025-08-03 07:12:04,186 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48736878:ctest-vn-24377913 virtual network link through opserver 10.0.0.38 2025-08-03 07:12:04,186 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-03 07:12:04,197 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48736878:ctest-vn-24377913', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48736878:ctest-vn-24377913?flat'} 2025-08-03 07:12:04,197 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48736878:ctest-vn-24377913 is found in opserver 2025-08-03 07:12:04,210 - DEBUG - Do not have enough data to verify VN in agent 2025-08-03 07:12:04,216 - DEBUG - VRF ids for VN ctest-vn-24377913: {} 2025-08-03 07:12:04,277 - DEBUG - Services list from nova: [, , ] 2025-08-03 07:12:05,308 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3744-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3744-1) 2025-08-03 07:12:06,459 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3744-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3744-1) 2025-08-03 07:12:06,459 - INFO - Waiting for VM ctest-TestBasicPolicy-48736878-15495914 to be up.. 2025-08-03 07:12:06,547 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-03 07:12:11,635 - DEBUG - VM is in ACTIVE state now 2025-08-03 07:12:11,635 - INFO - VM name : ctest-TestBasicPolicy-48736878-15495914 2025-08-03 07:12:11,714 - DEBUG - VM ctest-TestBasicPolicy-48736878-15495914 ID is 6dc983cb-a614-443c-a19a-93f43e6d6881 2025-08-03 07:12:11,735 - DEBUG - VM ctest-TestBasicPolicy-48736878-15495914 launched on Node cn-jenkins-deploy-platform-ansible-os-3744-1 2025-08-03 07:12:11,818 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6dc983cb-a614-443c-a19a-93f43e6d6881 2025-08-03 07:12:11,828 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/db2f7294-f2fa-44fe-b585-b99cf04b49df 2025-08-03 07:12:15,085 - 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 1003ms') 2025-08-03 07:12:15,085 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48736878-15495914 failed! 2025-08-03 07:12:15,144 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-48736878:ctest-vn-22462511 is 117.228.104.1 and allocation pool is NOT set 2025-08-03 07:12:17,207 - 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=8.92 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.64 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 = 1.642/5.281/8.920/3.639 ms') 2025-08-03 07:12:17,207 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48736878-15495914 passed 2025-08-03 07:12:17,360 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-03 07:12:17,360 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48736878-15495914, IP 117.228.104.3, Port 22 2025-08-03 07:12:17,526 - DEBUG - VM ctest-TestBasicPolicy-48736878-15495914 is ready for SSH connections 2025-08-03 07:12:17,526 - INFO - Waiting for VM ctest-TestBasicPolicy-48736878-93346599 to be up.. 2025-08-03 07:12:17,601 - DEBUG - VM is in ACTIVE state now 2025-08-03 07:12:17,601 - INFO - VM name : ctest-TestBasicPolicy-48736878-93346599 2025-08-03 07:12:17,676 - DEBUG - VM ctest-TestBasicPolicy-48736878-93346599 ID is 6fe2f760-09ba-4cb6-b7cc-cfa476b7c768 2025-08-03 07:12:17,676 - DEBUG - VM ctest-TestBasicPolicy-48736878-93346599 launched on Node cn-jenkins-deploy-platform-ansible-os-3744-1 2025-08-03 07:12:17,757 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6fe2f760-09ba-4cb6-b7cc-cfa476b7c768 2025-08-03 07:12:17,768 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/cf9c1f31-fd9f-4fc5-9ccd-94ed55ccd95d 2025-08-03 07:12:19,025 - 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.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.936 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.936/2.861/4.787/1.925 ms') 2025-08-03 07:12:19,025 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-48736878-93346599 passed 2025-08-03 07:12:19,180 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-03 07:12:19,180 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48736878-93346599, IP 39.221.150.131, Port 22 2025-08-03 07:12:19,336 - DEBUG - VM ctest-TestBasicPolicy-48736878-93346599 is ready for SSH connections 2025-08-03 07:12:19,336 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-03 07:12:19,336 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 39.221.150.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-03 07:12:19,336 - DEBUG - ping -s 56 -c 3 -W 1 39.221.150.131 2025-08-03 07:12:23,414 - DEBUG - PING 39.221.150.131 (39.221.150.131): 56 data bytes 64 bytes from 39.221.150.131: seq=0 ttl=63 time=3.610 ms 64 bytes from 39.221.150.131: seq=1 ttl=63 time=0.945 ms 64 bytes from 39.221.150.131: seq=2 ttl=63 time=0.874 ms --- 39.221.150.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.874/1.809/3.610 ms 2025-08-03 07:12:23,414 - INFO - Ping to IP 39.221.150.131 from VM ctest-TestBasicPolicy-48736878-15495914 passed 2025-08-03 07:12:23,603 - DEBUG - Policy Update Response {"network-policy": {"uuid": "46620a97-1e53-471f-aba5-1fa2b05edc4a", "href": "http://10.0.0.38:8082/network-policy/46620a97-1e53-471f-aba5-1fa2b05edc4a"}} 2025-08-03 07:12:23,604 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-03 07:12:23,604 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 39.221.150.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-03 07:12:23,604 - DEBUG - ping -s 56 -c 3 -W 1 39.221.150.131 2025-08-03 07:12:26,809 - DEBUG - PING 39.221.150.131 (39.221.150.131): 56 data bytes --- 39.221.150.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-03 07:12:26,809 - WARNING - Ping to IP 39.221.150.131 from VM ctest-TestBasicPolicy-48736878-15495914 failed 2025-08-03 07:12:26,810 - INFO - Deleting VM ctest-TestBasicPolicy-48736878-93346599 2025-08-03 07:12:26,884 - INFO - Deleting VM ctest-TestBasicPolicy-48736878-15495914 2025-08-03 07:12:27,274 - INFO - Deleted policy ctest-policy-allow-all-88229430 2025-08-03 07:12:27,274 - INFO - Deleting VN ctest-vn-24377913 2025-08-03 07:12:27,309 - DEBUG - VN d6fa1631-076d-499f-ae1a-b4dd227ddd22 still in use: Unable to complete operation on network d6fa1631-076d-499f-ae1a-b4dd227ddd22. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-291fa724-ece7-4140-ab19-bc32acdddcdd'] 2025-08-03 07:12:27,309 - WARNING - Deleting VN ctest-vn-24377913 failed..Will retry 2025-08-03 07:12:29,421 - DEBUG - Response for deleting network () 2025-08-03 07:12:29,421 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/191e22a9-6191-429f-bf4f-19aa6ec9ab8c 2025-08-03 07:12:29,432 - DEBUG - Response Code: 404 2025-08-03 07:12:29,432 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-03 07:12:29,438 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6874d71b-f512-4e18-8b72-b150f0987cc7 2025-08-03 07:12:29,493 - DEBUG - Requesting: http://10.0.0.38:8082/project/2eca378c-d87b-43fd-8e78-b2304a33c5f5 2025-08-03 07:12:29,572 - INFO - Validated that VN ctest-vn-24377913 is not found in API Server 2025-08-03 07:12:29,584 - DEBUG - VN ctest-vn-24377913 is not present in Agent 10.0.0.38 2025-08-03 07:12:29,584 - INFO - Validated that VN ctest-vn-24377913 is not in any agent 2025-08-03 07:12:29,600 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-24377913 info 2025-08-03 07:12:29,601 - INFO - Deleting VN ctest-vn-22462511 2025-08-03 07:12:29,710 - DEBUG - Response for deleting network () 2025-08-03 07:12:29,710 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ee77b2c8-6c07-4688-9bc8-f5cf90385583 2025-08-03 07:12:29,716 - DEBUG - Response Code: 404 2025-08-03 07:12:29,716 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-03 07:12:29,726 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6874d71b-f512-4e18-8b72-b150f0987cc7 2025-08-03 07:12:29,785 - DEBUG - Requesting: http://10.0.0.38:8082/project/2eca378c-d87b-43fd-8e78-b2304a33c5f5 2025-08-03 07:12:29,865 - INFO - Validated that VN ctest-vn-22462511 is not found in API Server 2025-08-03 07:12:29,878 - DEBUG - VN ctest-vn-22462511 is not present in Agent 10.0.0.38 2025-08-03 07:12:29,878 - INFO - Validated that VN ctest-vn-22462511 is not in any agent 2025-08-03 07:12:29,897 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-22462511 info 2025-08-03 07:12:30,158 - DEBUG - No XMPP flaps were noticed during the test
2025-08-03 07:12:30,159 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-08-03 07:12:30,159 - INFO - -------------------------------------------------------------------------------- 2025-08-03 07:12:30,832 - INFO - Deleted project: ctest-TestBasicPolicy-48736878, ID : 2eca378c-d87b-43fd-8e78-b2304a33c5f5