2025-09-08 02:12:37,461 - INFO - Domain Default found not creating 2025-09-08 02:12:37,595 - INFO - Project ctest-TestBasicPolicy-92582634 not found, creating it 2025-09-08 02:12:38,026 - INFO - Created Project:ctest-TestBasicPolicy-92582634, ID : 284a644c-271b-41f9-b479-378acbded4c8 2025-09-08 02:12:39,402 - INFO - ================================================================================ 2025-09-08 02:12:39,402 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-08 02:12:39,402 - 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-08 02:12:39,662 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with 2025-09-08 02:12:39,663 - INFO - Initial checks done. Running the testcase now 2025-09-08 02:12:39,663 - INFO - 2025-09-08 02:12:40,192 - DEBUG - Response for create_network : {'network': {'id': '89e6d724-d32c-48b6-9f87-e78a540ea8dd', 'name': 'ctest-vn-05611471', 'tenant_id': '284a644c271b41f9b479378acbded4c8', 'project_id': '284a644c271b41f9b479378acbded4c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92582634', 'ctest-vn-05611471'], 'port_security_enabled': True, 'description': ''}} 2025-09-08 02:12:40,390 - DEBUG - Response for create_subnet : {'subnet': {'id': '6b31b11a-89db-461e-986d-91d45ef51a6a', 'name': '', 'tenant_id': '284a644c271b41f9b479378acbded4c8', 'network_id': '89e6d724-d32c-48b6-9f87-e78a540ea8dd', 'ip_version': 4, 'cidr': '60.57.146.128/26', 'allocation_pools': [{'start': '60.57.146.130', 'end': '60.57.146.190'}], 'gateway_ip': '60.57.146.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '60.57.146.130', 'tags': [], 'project_id': '284a644c271b41f9b479378acbded4c8'}} 2025-09-08 02:12:40,406 - INFO - Created VN ctest-vn-05611471 2025-09-08 02:12:40,457 - DEBUG - VN ctest-vn-05611471 UUID is 89e6d724-d32c-48b6-9f87-e78a540ea8dd 2025-09-08 02:12:40,783 - DEBUG - Response for create_network : {'network': {'id': 'f1acf8a1-3f6a-4d39-8e3f-b1e06bd47990', 'name': 'ctest-vn-96379479', 'tenant_id': '284a644c271b41f9b479378acbded4c8', 'project_id': '284a644c271b41f9b479378acbded4c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92582634', 'ctest-vn-96379479'], 'port_security_enabled': True, 'description': ''}} 2025-09-08 02:12:40,951 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c11747ba-0f5c-4af4-9fe1-ae20f5e59405', 'name': '', 'tenant_id': '284a644c271b41f9b479378acbded4c8', 'network_id': 'f1acf8a1-3f6a-4d39-8e3f-b1e06bd47990', 'ip_version': 4, 'cidr': '57.73.105.128/26', 'allocation_pools': [{'start': '57.73.105.130', 'end': '57.73.105.190'}], 'gateway_ip': '57.73.105.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.73.105.130', 'tags': [], 'project_id': '284a644c271b41f9b479378acbded4c8'}} 2025-09-08 02:12:40,968 - INFO - Created VN ctest-vn-96379479 2025-09-08 02:12:41,017 - DEBUG - VN ctest-vn-96379479 UUID is f1acf8a1-3f6a-4d39-8e3f-b1e06bd47990 2025-09-08 02:12:41,165 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-92582634:ctest-vn-05611471, 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-92582634:ctest-vn-96379479, 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-08 02:12:41,452 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '89e6d724-d32c-48b6-9f87-e78a540ea8dd', 'name': 'ctest-vn-05611471', 'tenant_id': '284a644c271b41f9b479378acbded4c8', 'project_id': '284a644c271b41f9b479378acbded4c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6b31b11a-89db-461e-986d-91d45ef51a6a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92582634', 'ctest-vn-05611471'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-92582634', 'ctest-policy-allow-all-08504875']], 'subnet_ipam': [{'subnet_cidr': '60.57.146.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-08 02:12:41,701 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f1acf8a1-3f6a-4d39-8e3f-b1e06bd47990', 'name': 'ctest-vn-96379479', 'tenant_id': '284a644c271b41f9b479378acbded4c8', 'project_id': '284a644c271b41f9b479378acbded4c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c11747ba-0f5c-4af4-9fe1-ae20f5e59405'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92582634', 'ctest-vn-96379479'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-92582634', 'ctest-policy-allow-all-08504875']], 'subnet_ipam': [{'subnet_cidr': '57.73.105.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-08 02:12:41,865 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-09-08 02:12:42,156 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-09-08 02:12:42,182 - DEBUG - Requesting: http://10.0.0.33:8082/domain/be93ce2a-84e9-4163-9294-7027c042c6e3 2025-09-08 02:12:42,192 - DEBUG - Requesting: http://10.0.0.33:8082/project/284a644c-271b-41f9-b479-378acbded4c8 2025-09-08 02:12:42,267 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/89e6d724-d32c-48b6-9f87-e78a540ea8dd 2025-09-08 02:12:42,276 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/89e6d724-d32c-48b6-9f87-e78a540ea8dd 2025-09-08 02:12:42,285 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b00968d3-cc02-4baf-b340-9c89ca5a8794 2025-09-08 02:12:42,292 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b00968d3-cc02-4baf-b340-9c89ca5a8794 2025-09-08 02:12:42,299 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/5d1d1561-1d7b-4d26-98bd-cea9ef1bb6c4 2025-09-08 02:12:42,304 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-08 02:12:42,304 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/89e6d724-d32c-48b6-9f87-e78a540ea8dd 2025-09-08 02:12:42,312 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b00968d3-cc02-4baf-b340-9c89ca5a8794 2025-09-08 02:12:42,323 - INFO - Verified VN network id 12 for VN 89e6d724-d32c-48b6-9f87-e78a540ea8dd 2025-09-08 02:12:42,323 - INFO - Verifications in API Server for VN ctest-vn-05611471 passed 2025-09-08 02:12:42,323 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/89e6d724-d32c-48b6-9f87-e78a540ea8dd 2025-09-08 02:12:42,331 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b00968d3-cc02-4baf-b340-9c89ca5a8794 2025-09-08 02:12:42,337 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b00968d3-cc02-4baf-b340-9c89ca5a8794 2025-09-08 02:12:42,343 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/5d1d1561-1d7b-4d26-98bd-cea9ef1bb6c4 2025-09-08 02:12:42,353 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92582634:ctest-vn-05611471', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92582634', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9936866181001267382', 'uuid-lslong': '11495411155188230365'}, 'enable': 'true', 'created': '2025-09-08T02:12:40', 'last-modified': '2025-09-08T02:12:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.918664'} 2025-09-08 02:12:42,358 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-08 02:12:42,358 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-05611471 passed 2025-09-08 02:12:42,358 - DEBUG - ====Verifying policy data for ctest-vn-05611471 in API_Server ====== 2025-09-08 02:12:42,358 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-09-08 02:12:42,363 - DEBUG - Requesting: http://10.0.0.33:8082/domain/be93ce2a-84e9-4163-9294-7027c042c6e3 2025-09-08 02:12:42,372 - DEBUG - Requesting: http://10.0.0.33:8082/project/284a644c-271b-41f9-b479-378acbded4c8 2025-09-08 02:12:42,447 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/89e6d724-d32c-48b6-9f87-e78a540ea8dd 2025-09-08 02:12:42,456 - DEBUG - ==>Verifying data for policy with id: 3ae4282e-48a1-44cc-971d-1b152407d4b9, fqn: ['default-domain', 'ctest-TestBasicPolicy-92582634', 'ctest-policy-allow-all-08504875'] 2025-09-08 02:12:42,456 - INFO - VN ctest-vn-05611471 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-08 02:12:42,457 - DEBUG - Verifying the vn in opserver 2025-09-08 02:12:42,457 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92582634:ctest-vn-05611471 virtual network link through opserver 10.0.0.33 2025-09-08 02:12:42,457 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-09-08 02:12:42,753 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-09-08 02:12:42,809 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92582634:ctest-vn-05611471', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92582634:ctest-vn-05611471?flat'} 2025-09-08 02:12:42,810 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-92582634:ctest-vn-05611471 is found in opserver 2025-09-08 02:12:42,821 - DEBUG - Do not have enough data to verify VN in agent 2025-09-08 02:12:42,825 - DEBUG - VRF ids for VN ctest-vn-05611471: {} 2025-09-08 02:12:42,825 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-09-08 02:12:42,830 - DEBUG - Requesting: http://10.0.0.33:8082/domain/be93ce2a-84e9-4163-9294-7027c042c6e3 2025-09-08 02:12:42,840 - DEBUG - Requesting: http://10.0.0.33:8082/project/284a644c-271b-41f9-b479-378acbded4c8 2025-09-08 02:12:42,910 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/f1acf8a1-3f6a-4d39-8e3f-b1e06bd47990 2025-09-08 02:12:42,922 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/f1acf8a1-3f6a-4d39-8e3f-b1e06bd47990 2025-09-08 02:12:42,931 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b5bcdcc4-2ca3-49a5-9e20-467c99050ffd 2025-09-08 02:12:42,936 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b5bcdcc4-2ca3-49a5-9e20-467c99050ffd 2025-09-08 02:12:42,942 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/a7284a42-6635-4608-aa60-0405822df76a 2025-09-08 02:12:42,949 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-08 02:12:42,949 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/f1acf8a1-3f6a-4d39-8e3f-b1e06bd47990 2025-09-08 02:12:42,957 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b5bcdcc4-2ca3-49a5-9e20-467c99050ffd 2025-09-08 02:12:42,971 - INFO - Verified VN network id 13 for VN f1acf8a1-3f6a-4d39-8e3f-b1e06bd47990 2025-09-08 02:12:42,973 - INFO - Verifications in API Server for VN ctest-vn-96379479 passed 2025-09-08 02:12:42,973 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/f1acf8a1-3f6a-4d39-8e3f-b1e06bd47990 2025-09-08 02:12:42,982 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b5bcdcc4-2ca3-49a5-9e20-467c99050ffd 2025-09-08 02:12:42,990 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b5bcdcc4-2ca3-49a5-9e20-467c99050ffd 2025-09-08 02:12:42,997 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/a7284a42-6635-4608-aa60-0405822df76a 2025-09-08 02:12:43,007 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92582634:ctest-vn-96379479', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92582634', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17414567230572219705', 'uuid-lslong': '10250106854358415760'}, 'enable': 'true', 'created': '2025-09-08T02:12:40', 'last-modified': '2025-09-08T02:12:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.344086'} 2025-09-08 02:12:43,012 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-08 02:12:43,012 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96379479 passed 2025-09-08 02:12:43,013 - DEBUG - ====Verifying policy data for ctest-vn-96379479 in API_Server ====== 2025-09-08 02:12:43,013 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-09-08 02:12:43,018 - DEBUG - Requesting: http://10.0.0.33:8082/domain/be93ce2a-84e9-4163-9294-7027c042c6e3 2025-09-08 02:12:43,028 - DEBUG - Requesting: http://10.0.0.33:8082/project/284a644c-271b-41f9-b479-378acbded4c8 2025-09-08 02:12:43,095 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/f1acf8a1-3f6a-4d39-8e3f-b1e06bd47990 2025-09-08 02:12:43,104 - DEBUG - ==>Verifying data for policy with id: 3ae4282e-48a1-44cc-971d-1b152407d4b9, fqn: ['default-domain', 'ctest-TestBasicPolicy-92582634', 'ctest-policy-allow-all-08504875'] 2025-09-08 02:12:43,104 - INFO - VN ctest-vn-96379479 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-08 02:12:43,104 - DEBUG - Verifying the vn in opserver 2025-09-08 02:12:43,104 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92582634:ctest-vn-96379479 virtual network link through opserver 10.0.0.33 2025-09-08 02:12:43,104 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-09-08 02:12:43,113 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92582634:ctest-vn-96379479', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92582634:ctest-vn-96379479?flat'} 2025-09-08 02:12:43,113 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-92582634:ctest-vn-96379479 is found in opserver 2025-09-08 02:12:43,122 - DEBUG - Do not have enough data to verify VN in agent 2025-09-08 02:12:43,126 - DEBUG - VRF ids for VN ctest-vn-96379479: {} 2025-09-08 02:12:43,185 - DEBUG - Services list from nova: [, , ] 2025-09-08 02:12:44,171 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4040-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4040-1) 2025-09-08 02:12:45,297 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4040-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4040-1) 2025-09-08 02:12:45,297 - INFO - Waiting for VM ctest-TestBasicPolicy-92582634-47264408 to be up.. 2025-09-08 02:12:45,369 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-08 02:12:50,446 - DEBUG - VM is in ACTIVE state now 2025-09-08 02:12:50,446 - INFO - VM name : ctest-TestBasicPolicy-92582634-47264408 2025-09-08 02:12:50,525 - DEBUG - VM ctest-TestBasicPolicy-92582634-47264408 ID is 3605cc41-a8e2-4a49-bd20-e483f389b5b8 2025-09-08 02:12:50,550 - DEBUG - VM ctest-TestBasicPolicy-92582634-47264408 launched on Node cn-jenkins-deploy-platform-ansible-os-4040-1 2025-09-08 02:12:50,627 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/3605cc41-a8e2-4a49-bd20-e483f389b5b8 2025-09-08 02:12:50,635 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/da780b52-045b-47f5-8fbd-2f628512ef10 2025-09-08 02:12:53,873 - 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 1011ms') 2025-09-08 02:12:53,873 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92582634-47264408 failed! 2025-09-08 02:12:53,925 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-92582634:ctest-vn-05611471 is 60.57.146.129 and allocation pool is NOT set 2025-09-08 02:12:55,987 - 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.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.891 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.891/2.272/3.654/1.381 ms') 2025-09-08 02:12:55,987 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92582634-47264408 passed 2025-09-08 02:12:56,137 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 02:12:56,137 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92582634-47264408, IP 60.57.146.131, Port 22 2025-09-08 02:12:56,296 - DEBUG - VM ctest-TestBasicPolicy-92582634-47264408 is ready for SSH connections 2025-09-08 02:12:56,296 - INFO - Waiting for VM ctest-TestBasicPolicy-92582634-37564961 to be up.. 2025-09-08 02:12:56,377 - DEBUG - VM is in ACTIVE state now 2025-09-08 02:12:56,377 - INFO - VM name : ctest-TestBasicPolicy-92582634-37564961 2025-09-08 02:12:56,451 - DEBUG - VM ctest-TestBasicPolicy-92582634-37564961 ID is 2a35bac5-23c4-48eb-b3be-0b8d7c56e981 2025-09-08 02:12:56,451 - DEBUG - VM ctest-TestBasicPolicy-92582634-37564961 launched on Node cn-jenkins-deploy-platform-ansible-os-4040-1 2025-09-08 02:12:56,526 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/2a35bac5-23c4-48eb-b3be-0b8d7c56e981 2025-09-08 02:12:56,534 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/ccacca01-1a40-45c7-a372-9ac025520a27 2025-09-08 02:12:57,769 - 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.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.430 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.430/1.536/2.643/1.106 ms') 2025-09-08 02:12:57,769 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-92582634-37564961 passed 2025-09-08 02:12:57,917 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 02:12:57,917 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92582634-37564961, IP 57.73.105.131, Port 22 2025-09-08 02:12:58,072 - DEBUG - VM ctest-TestBasicPolicy-92582634-37564961 is ready for SSH connections 2025-09-08 02:12:58,073 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 02:12:58,073 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 57.73.105.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-09-08 02:12:58,073 - DEBUG - ping -s 56 -c 3 -W 1 57.73.105.131 2025-09-08 02:13:02,095 - DEBUG - PING 57.73.105.131 (57.73.105.131): 56 data bytes 64 bytes from 57.73.105.131: seq=0 ttl=63 time=3.715 ms 64 bytes from 57.73.105.131: seq=1 ttl=63 time=0.835 ms 64 bytes from 57.73.105.131: seq=2 ttl=63 time=1.102 ms --- 57.73.105.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.835/1.884/3.715 ms 2025-09-08 02:13:02,095 - INFO - Ping to IP 57.73.105.131 from VM ctest-TestBasicPolicy-92582634-47264408 passed 2025-09-08 02:13:02,273 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3ae4282e-48a1-44cc-971d-1b152407d4b9", "href": "http://10.0.0.33:8082/network-policy/3ae4282e-48a1-44cc-971d-1b152407d4b9"}} 2025-09-08 02:13:02,273 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 02:13:02,273 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 57.73.105.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-09-08 02:13:02,273 - DEBUG - ping -s 56 -c 3 -W 1 57.73.105.131 2025-09-08 02:13:05,466 - DEBUG - PING 57.73.105.131 (57.73.105.131): 56 data bytes --- 57.73.105.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-08 02:13:05,466 - WARNING - Ping to IP 57.73.105.131 from VM ctest-TestBasicPolicy-92582634-47264408 failed 2025-09-08 02:13:05,467 - INFO - Deleting VM ctest-TestBasicPolicy-92582634-37564961 2025-09-08 02:13:05,532 - INFO - Deleting VM ctest-TestBasicPolicy-92582634-47264408 2025-09-08 02:13:05,933 - INFO - Deleted policy ctest-policy-allow-all-08504875 2025-09-08 02:13:05,933 - INFO - Deleting VN ctest-vn-96379479 2025-09-08 02:13:05,966 - DEBUG - VN f1acf8a1-3f6a-4d39-8e3f-b1e06bd47990 still in use: Unable to complete operation on network f1acf8a1-3f6a-4d39-8e3f-b1e06bd47990. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ba2b3466-1b56-4079-864b-0f7295742257'] 2025-09-08 02:13:05,966 - WARNING - Deleting VN ctest-vn-96379479 failed..Will retry 2025-09-08 02:13:08,064 - DEBUG - Response for deleting network () 2025-09-08 02:13:08,064 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b5bcdcc4-2ca3-49a5-9e20-467c99050ffd 2025-09-08 02:13:08,069 - DEBUG - Response Code: 404 2025-09-08 02:13:08,069 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-09-08 02:13:08,073 - DEBUG - Requesting: http://10.0.0.33:8082/domain/be93ce2a-84e9-4163-9294-7027c042c6e3 2025-09-08 02:13:08,126 - DEBUG - Requesting: http://10.0.0.33:8082/project/284a644c-271b-41f9-b479-378acbded4c8 2025-09-08 02:13:08,193 - INFO - Validated that VN ctest-vn-96379479 is not found in API Server 2025-09-08 02:13:08,202 - DEBUG - VN ctest-vn-96379479 is not present in Agent 10.0.0.33 2025-09-08 02:13:08,202 - INFO - Validated that VN ctest-vn-96379479 is not in any agent 2025-09-08 02:13:08,214 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-96379479 info 2025-09-08 02:13:08,214 - INFO - Deleting VN ctest-vn-05611471 2025-09-08 02:13:08,315 - DEBUG - Response for deleting network () 2025-09-08 02:13:08,315 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b00968d3-cc02-4baf-b340-9c89ca5a8794 2025-09-08 02:13:08,319 - DEBUG - Response Code: 404 2025-09-08 02:13:08,320 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-09-08 02:13:08,325 - DEBUG - Requesting: http://10.0.0.33:8082/domain/be93ce2a-84e9-4163-9294-7027c042c6e3 2025-09-08 02:13:08,377 - DEBUG - Requesting: http://10.0.0.33:8082/project/284a644c-271b-41f9-b479-378acbded4c8 2025-09-08 02:13:08,445 - INFO - Validated that VN ctest-vn-05611471 is not found in API Server 2025-09-08 02:13:08,453 - DEBUG - VN ctest-vn-05611471 is not present in Agent 10.0.0.33 2025-09-08 02:13:08,453 - INFO - Validated that VN ctest-vn-05611471 is not in any agent 2025-09-08 02:13:08,465 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-05611471 info 2025-09-08 02:13:08,716 - DEBUG - No XMPP flaps were noticed during the test 2025-09-08 02:13:08,717 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-09-08 02:13:08,717 - INFO - -------------------------------------------------------------------------------- 2025-09-08 02:13:09,377 - INFO - Deleted project: ctest-TestBasicPolicy-92582634, ID : 284a644c-271b-41f9-b479-378acbded4c8