2025-09-09 15:22:34,002 - INFO - Domain Default found not creating 2025-09-09 15:22:34,137 - INFO - Project ctest-TestBasicPolicy-03553007 not found, creating it 2025-09-09 15:22:34,576 - INFO - Created Project:ctest-TestBasicPolicy-03553007, ID : 5c456278-f34b-42af-8316-e68d98545428 2025-09-09 15:22:35,945 - INFO - ================================================================================ 2025-09-09 15:22:35,945 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-09 15:22:35,945 - 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-09 15:22:36,198 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2025-09-09 15:22:36,198 - INFO - Initial checks done. Running the testcase now 2025-09-09 15:22:36,198 - INFO - 2025-09-09 15:22:36,715 - DEBUG - Response for create_network : {'network': {'id': '4818b9be-be8f-49eb-bcf6-412b1eb7db14', 'name': 'ctest-vn-42944465', 'tenant_id': '5c456278f34b42af8316e68d98545428', 'project_id': '5c456278f34b42af8316e68d98545428', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03553007', 'ctest-vn-42944465'], 'port_security_enabled': True, 'description': ''}} 2025-09-09 15:22:36,924 - DEBUG - Response for create_subnet : {'subnet': {'id': '2b3fb742-9beb-4dd6-889f-64e922ac0624', 'name': '', 'tenant_id': '5c456278f34b42af8316e68d98545428', 'network_id': '4818b9be-be8f-49eb-bcf6-412b1eb7db14', 'ip_version': 4, 'cidr': '176.139.177.64/26', 'allocation_pools': [{'start': '176.139.177.66', 'end': '176.139.177.126'}], 'gateway_ip': '176.139.177.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '176.139.177.66', 'tags': [], 'project_id': '5c456278f34b42af8316e68d98545428'}} 2025-09-09 15:22:36,940 - INFO - Created VN ctest-vn-42944465 2025-09-09 15:22:36,996 - DEBUG - VN ctest-vn-42944465 UUID is 4818b9be-be8f-49eb-bcf6-412b1eb7db14 2025-09-09 15:22:37,301 - DEBUG - Response for create_network : {'network': {'id': '23895c1e-3447-4b56-87f1-5f20f1bd0bf9', 'name': 'ctest-vn-70702932', 'tenant_id': '5c456278f34b42af8316e68d98545428', 'project_id': '5c456278f34b42af8316e68d98545428', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03553007', 'ctest-vn-70702932'], 'port_security_enabled': True, 'description': ''}} 2025-09-09 15:22:37,485 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eea6e30a-0f47-46ad-ba5e-fbb5441f0358', 'name': '', 'tenant_id': '5c456278f34b42af8316e68d98545428', 'network_id': '23895c1e-3447-4b56-87f1-5f20f1bd0bf9', 'ip_version': 4, 'cidr': '49.39.97.192/26', 'allocation_pools': [{'start': '49.39.97.194', 'end': '49.39.97.254'}], 'gateway_ip': '49.39.97.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.39.97.194', 'tags': [], 'project_id': '5c456278f34b42af8316e68d98545428'}} 2025-09-09 15:22:37,502 - INFO - Created VN ctest-vn-70702932 2025-09-09 15:22:37,552 - DEBUG - VN ctest-vn-70702932 UUID is 23895c1e-3447-4b56-87f1-5f20f1bd0bf9 2025-09-09 15:22:37,696 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-03553007:ctest-vn-42944465, 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-03553007:ctest-vn-70702932, 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-09 15:22:37,985 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4818b9be-be8f-49eb-bcf6-412b1eb7db14', 'name': 'ctest-vn-42944465', 'tenant_id': '5c456278f34b42af8316e68d98545428', 'project_id': '5c456278f34b42af8316e68d98545428', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2b3fb742-9beb-4dd6-889f-64e922ac0624'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03553007', 'ctest-vn-42944465'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-03553007', 'ctest-policy-allow-all-02601535']], 'subnet_ipam': [{'subnet_cidr': '176.139.177.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-09 15:22:38,201 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '23895c1e-3447-4b56-87f1-5f20f1bd0bf9', 'name': 'ctest-vn-70702932', 'tenant_id': '5c456278f34b42af8316e68d98545428', 'project_id': '5c456278f34b42af8316e68d98545428', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['eea6e30a-0f47-46ad-ba5e-fbb5441f0358'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03553007', 'ctest-vn-70702932'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-03553007', 'ctest-policy-allow-all-02601535']], 'subnet_ipam': [{'subnet_cidr': '49.39.97.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-09 15:22:38,364 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-09 15:22:38,651 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-09 15:22:38,676 - DEBUG - Requesting: http://10.0.0.22:8082/domain/f5af58f8-1851-4fbb-a315-4406264c79a5 2025-09-09 15:22:38,687 - DEBUG - Requesting: http://10.0.0.22:8082/project/5c456278-f34b-42af-8316-e68d98545428 2025-09-09 15:22:38,756 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4818b9be-be8f-49eb-bcf6-412b1eb7db14 2025-09-09 15:22:38,766 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4818b9be-be8f-49eb-bcf6-412b1eb7db14 2025-09-09 15:22:38,774 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0e2869c7-289b-410d-9106-b106c5e88e7e 2025-09-09 15:22:38,779 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0e2869c7-289b-410d-9106-b106c5e88e7e 2025-09-09 15:22:38,785 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/55301725-cf43-42cc-bd5a-c9b19986873c 2025-09-09 15:22:38,790 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-09 15:22:38,790 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4818b9be-be8f-49eb-bcf6-412b1eb7db14 2025-09-09 15:22:38,797 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0e2869c7-289b-410d-9106-b106c5e88e7e 2025-09-09 15:22:38,808 - INFO - Verified VN network id 12 for VN 4818b9be-be8f-49eb-bcf6-412b1eb7db14 2025-09-09 15:22:38,808 - INFO - Verifications in API Server for VN ctest-vn-42944465 passed 2025-09-09 15:22:38,808 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4818b9be-be8f-49eb-bcf6-412b1eb7db14 2025-09-09 15:22:38,817 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0e2869c7-289b-410d-9106-b106c5e88e7e 2025-09-09 15:22:38,824 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0e2869c7-289b-410d-9106-b106c5e88e7e 2025-09-09 15:22:38,831 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/55301725-cf43-42cc-bd5a-c9b19986873c 2025-09-09 15:22:38,843 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-03553007:ctest-vn-42944465', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-03553007', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5195106399063853547', 'uuid-lslong': '13616142176856038164'}, 'enable': 'true', 'created': '2025-09-09T15:22:36', 'last-modified': '2025-09-09T15:22:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.879818'} 2025-09-09 15:22:38,849 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-09 15:22:38,849 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-42944465 passed 2025-09-09 15:22:38,850 - DEBUG - ====Verifying policy data for ctest-vn-42944465 in API_Server ====== 2025-09-09 15:22:38,850 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-09 15:22:38,855 - DEBUG - Requesting: http://10.0.0.22:8082/domain/f5af58f8-1851-4fbb-a315-4406264c79a5 2025-09-09 15:22:38,864 - DEBUG - Requesting: http://10.0.0.22:8082/project/5c456278-f34b-42af-8316-e68d98545428 2025-09-09 15:22:38,939 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4818b9be-be8f-49eb-bcf6-412b1eb7db14 2025-09-09 15:22:38,948 - DEBUG - ==>Verifying data for policy with id: 3db421a2-2a29-4ef3-8c40-fba7f2eba7b0, fqn: ['default-domain', 'ctest-TestBasicPolicy-03553007', 'ctest-policy-allow-all-02601535'] 2025-09-09 15:22:38,948 - INFO - VN ctest-vn-42944465 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-09 15:22:38,948 - DEBUG - Verifying the vn in opserver 2025-09-09 15:22:38,948 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-03553007:ctest-vn-42944465 virtual network link through opserver 10.0.0.22 2025-09-09 15:22:38,948 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-09-09 15:22:39,239 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-09-09 15:22:39,288 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-03553007:ctest-vn-42944465', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-03553007:ctest-vn-42944465?flat'} 2025-09-09 15:22:39,288 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-03553007:ctest-vn-42944465 is found in opserver 2025-09-09 15:22:39,298 - DEBUG - Do not have enough data to verify VN in agent 2025-09-09 15:22:39,302 - DEBUG - VRF ids for VN ctest-vn-42944465: {} 2025-09-09 15:22:39,303 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-09 15:22:39,307 - DEBUG - Requesting: http://10.0.0.22:8082/domain/f5af58f8-1851-4fbb-a315-4406264c79a5 2025-09-09 15:22:39,317 - DEBUG - Requesting: http://10.0.0.22:8082/project/5c456278-f34b-42af-8316-e68d98545428 2025-09-09 15:22:39,383 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/23895c1e-3447-4b56-87f1-5f20f1bd0bf9 2025-09-09 15:22:39,394 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/23895c1e-3447-4b56-87f1-5f20f1bd0bf9 2025-09-09 15:22:39,402 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/37e8ba41-3450-4fdd-b95e-e7a13f6b66bb 2025-09-09 15:22:39,408 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/37e8ba41-3450-4fdd-b95e-e7a13f6b66bb 2025-09-09 15:22:39,414 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/5c128197-9f3e-45e0-b29c-8339f7b0a954 2025-09-09 15:22:39,420 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-09 15:22:39,420 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/23895c1e-3447-4b56-87f1-5f20f1bd0bf9 2025-09-09 15:22:39,428 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/37e8ba41-3450-4fdd-b95e-e7a13f6b66bb 2025-09-09 15:22:39,441 - INFO - Verified VN network id 13 for VN 23895c1e-3447-4b56-87f1-5f20f1bd0bf9 2025-09-09 15:22:39,441 - INFO - Verifications in API Server for VN ctest-vn-70702932 passed 2025-09-09 15:22:39,441 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/23895c1e-3447-4b56-87f1-5f20f1bd0bf9 2025-09-09 15:22:39,450 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/37e8ba41-3450-4fdd-b95e-e7a13f6b66bb 2025-09-09 15:22:39,457 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/37e8ba41-3450-4fdd-b95e-e7a13f6b66bb 2025-09-09 15:22:39,464 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/5c128197-9f3e-45e0-b29c-8339f7b0a954 2025-09-09 15:22:39,477 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-03553007:ctest-vn-70702932', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-03553007', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2560679147932699478', 'uuid-lslong': '9795715259606830073'}, 'enable': 'true', 'created': '2025-09-09T15:22:37', 'last-modified': '2025-09-09T15:22:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.297800'} 2025-09-09 15:22:39,484 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-09 15:22:39,484 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-70702932 passed 2025-09-09 15:22:39,484 - DEBUG - ====Verifying policy data for ctest-vn-70702932 in API_Server ====== 2025-09-09 15:22:39,484 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-09 15:22:39,490 - DEBUG - Requesting: http://10.0.0.22:8082/domain/f5af58f8-1851-4fbb-a315-4406264c79a5 2025-09-09 15:22:39,500 - DEBUG - Requesting: http://10.0.0.22:8082/project/5c456278-f34b-42af-8316-e68d98545428 2025-09-09 15:22:39,572 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/23895c1e-3447-4b56-87f1-5f20f1bd0bf9 2025-09-09 15:22:39,581 - DEBUG - ==>Verifying data for policy with id: 3db421a2-2a29-4ef3-8c40-fba7f2eba7b0, fqn: ['default-domain', 'ctest-TestBasicPolicy-03553007', 'ctest-policy-allow-all-02601535'] 2025-09-09 15:22:39,581 - INFO - VN ctest-vn-70702932 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-09 15:22:39,581 - DEBUG - Verifying the vn in opserver 2025-09-09 15:22:39,581 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-03553007:ctest-vn-70702932 virtual network link through opserver 10.0.0.22 2025-09-09 15:22:39,581 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-09-09 15:22:39,590 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-03553007:ctest-vn-70702932', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-03553007:ctest-vn-70702932?flat'} 2025-09-09 15:22:39,590 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-03553007:ctest-vn-70702932 is found in opserver 2025-09-09 15:22:39,600 - DEBUG - Do not have enough data to verify VN in agent 2025-09-09 15:22:39,604 - DEBUG - VRF ids for VN ctest-vn-70702932: {} 2025-09-09 15:22:39,655 - DEBUG - Services list from nova: [, , ] 2025-09-09 15:22:40,673 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4061-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4061-1) 2025-09-09 15:22:41,761 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4061-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4061-1) 2025-09-09 15:22:41,761 - INFO - Waiting for VM ctest-TestBasicPolicy-03553007-73445884 to be up.. 2025-09-09 15:22:41,859 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-09 15:22:46,926 - DEBUG - VM is in ACTIVE state now 2025-09-09 15:22:46,926 - INFO - VM name : ctest-TestBasicPolicy-03553007-73445884 2025-09-09 15:22:46,993 - DEBUG - VM ctest-TestBasicPolicy-03553007-73445884 ID is 91dd56c5-86fb-4c7e-a217-6a71b3a7d545 2025-09-09 15:22:47,010 - DEBUG - VM ctest-TestBasicPolicy-03553007-73445884 launched on Node cn-jenkins-deploy-platform-ansible-os-4061-1 2025-09-09 15:22:47,076 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/91dd56c5-86fb-4c7e-a217-6a71b3a7d545 2025-09-09 15:22:47,084 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/a548b97c-2109-4f92-9af3-d41fd281c84c 2025-09-09 15:22:50,337 - 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 1028ms') 2025-09-09 15:22:50,338 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-03553007-73445884 failed! 2025-09-09 15:22:50,392 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-03553007:ctest-vn-42944465 is 176.139.177.65 and allocation pool is NOT set 2025-09-09 15:22:52,454 - 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=3.17 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.414 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.414/1.790/3.166/1.376 ms') 2025-09-09 15:22:52,454 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-03553007-73445884 passed 2025-09-09 15:22:52,604 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-09 15:22:52,605 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-03553007-73445884, IP 176.139.177.67, Port 22 2025-09-09 15:22:52,756 - DEBUG - VM ctest-TestBasicPolicy-03553007-73445884 is ready for SSH connections 2025-09-09 15:22:52,756 - INFO - Waiting for VM ctest-TestBasicPolicy-03553007-99962680 to be up.. 2025-09-09 15:22:52,823 - DEBUG - VM is in ACTIVE state now 2025-09-09 15:22:52,824 - INFO - VM name : ctest-TestBasicPolicy-03553007-99962680 2025-09-09 15:22:52,888 - DEBUG - VM ctest-TestBasicPolicy-03553007-99962680 ID is cf0e3961-1460-4820-8488-fd86742955f7 2025-09-09 15:22:52,888 - DEBUG - VM ctest-TestBasicPolicy-03553007-99962680 launched on Node cn-jenkins-deploy-platform-ansible-os-4061-1 2025-09-09 15:22:52,952 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/cf0e3961-1460-4820-8488-fd86742955f7 2025-09-09 15:22:52,960 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/d20e2042-7a11-46c7-aef3-613789d96b6a 2025-09-09 15:22:54,186 - 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=2.93 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.424 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.424/1.675/2.926/1.251 ms') 2025-09-09 15:22:54,187 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-03553007-99962680 passed 2025-09-09 15:22:54,337 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-09 15:22:54,337 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-03553007-99962680, IP 49.39.97.195, Port 22 2025-09-09 15:22:54,491 - DEBUG - VM ctest-TestBasicPolicy-03553007-99962680 is ready for SSH connections 2025-09-09 15:22:54,491 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-09 15:22:54,492 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 49.39.97.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-09 15:22:54,492 - DEBUG - ping -s 56 -c 3 -W 1 49.39.97.195 2025-09-09 15:22:58,201 - DEBUG - PING 49.39.97.195 (49.39.97.195): 56 data bytes 64 bytes from 49.39.97.195: seq=0 ttl=63 time=3.260 ms 64 bytes from 49.39.97.195: seq=1 ttl=63 time=0.829 ms 64 bytes from 49.39.97.195: seq=2 ttl=63 time=0.893 ms --- 49.39.97.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.829/1.660/3.260 ms 2025-09-09 15:22:58,201 - INFO - Ping to IP 49.39.97.195 from VM ctest-TestBasicPolicy-03553007-73445884 passed 2025-09-09 15:22:58,396 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3db421a2-2a29-4ef3-8c40-fba7f2eba7b0", "href": "http://10.0.0.22:8082/network-policy/3db421a2-2a29-4ef3-8c40-fba7f2eba7b0"}} 2025-09-09 15:22:58,396 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-09 15:22:58,396 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 49.39.97.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-09 15:22:58,396 - DEBUG - ping -s 56 -c 3 -W 1 49.39.97.195 2025-09-09 15:23:01,597 - DEBUG - PING 49.39.97.195 (49.39.97.195): 56 data bytes --- 49.39.97.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-09 15:23:01,597 - WARNING - Ping to IP 49.39.97.195 from VM ctest-TestBasicPolicy-03553007-73445884 failed 2025-09-09 15:23:01,597 - INFO - Deleting VM ctest-TestBasicPolicy-03553007-99962680 2025-09-09 15:23:01,667 - INFO - Deleting VM ctest-TestBasicPolicy-03553007-73445884 2025-09-09 15:23:02,043 - INFO - Deleted policy ctest-policy-allow-all-02601535 2025-09-09 15:23:02,044 - INFO - Deleting VN ctest-vn-70702932 2025-09-09 15:23:02,080 - DEBUG - VN 23895c1e-3447-4b56-87f1-5f20f1bd0bf9 still in use: Unable to complete operation on network 23895c1e-3447-4b56-87f1-5f20f1bd0bf9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c96fd823-7871-42f2-a1b5-fe05e3e90ecb'] 2025-09-09 15:23:02,081 - WARNING - Deleting VN ctest-vn-70702932 failed..Will retry 2025-09-09 15:23:04,172 - DEBUG - Response for deleting network () 2025-09-09 15:23:04,172 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/37e8ba41-3450-4fdd-b95e-e7a13f6b66bb 2025-09-09 15:23:04,177 - DEBUG - Response Code: 404 2025-09-09 15:23:04,177 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-09 15:23:04,183 - DEBUG - Requesting: http://10.0.0.22:8082/domain/f5af58f8-1851-4fbb-a315-4406264c79a5 2025-09-09 15:23:04,238 - DEBUG - Requesting: http://10.0.0.22:8082/project/5c456278-f34b-42af-8316-e68d98545428 2025-09-09 15:23:04,305 - INFO - Validated that VN ctest-vn-70702932 is not found in API Server 2025-09-09 15:23:04,314 - DEBUG - VN ctest-vn-70702932 is not present in Agent 10.0.0.22 2025-09-09 15:23:04,314 - INFO - Validated that VN ctest-vn-70702932 is not in any agent 2025-09-09 15:23:04,326 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-70702932 info 2025-09-09 15:23:04,326 - INFO - Deleting VN ctest-vn-42944465 2025-09-09 15:23:04,415 - DEBUG - Response for deleting network () 2025-09-09 15:23:04,415 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0e2869c7-289b-410d-9106-b106c5e88e7e 2025-09-09 15:23:04,420 - DEBUG - Response Code: 404 2025-09-09 15:23:04,420 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-09 15:23:04,425 - DEBUG - Requesting: http://10.0.0.22:8082/domain/f5af58f8-1851-4fbb-a315-4406264c79a5 2025-09-09 15:23:04,477 - DEBUG - Requesting: http://10.0.0.22:8082/project/5c456278-f34b-42af-8316-e68d98545428 2025-09-09 15:23:04,548 - INFO - Validated that VN ctest-vn-42944465 is not found in API Server 2025-09-09 15:23:04,558 - DEBUG - VN ctest-vn-42944465 is not present in Agent 10.0.0.22 2025-09-09 15:23:04,558 - INFO - Validated that VN ctest-vn-42944465 is not in any agent 2025-09-09 15:23:04,570 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-42944465 info 2025-09-09 15:23:04,826 - DEBUG - No XMPP flaps were noticed during the test 2025-09-09 15:23:04,826 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-09-09 15:23:04,826 - INFO - -------------------------------------------------------------------------------- 2025-09-09 15:23:05,475 - INFO - Deleted project: ctest-TestBasicPolicy-03553007, ID : 5c456278-f34b-42af-8316-e68d98545428