2025-08-20 18:18:35,882 - INFO - Domain Default found not creating 2025-08-20 18:18:36,025 - INFO - Project ctest-TestBasicPolicy-64813187 not found, creating it 2025-08-20 18:18:36,500 - INFO - Created Project:ctest-TestBasicPolicy-64813187, ID : 8096d50f-8eb3-4fb6-bfcb-df87a16245c7 2025-08-20 18:18:38,124 - INFO - ================================================================================ 2025-08-20 18:18:38,124 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-20 18:18:38,124 - 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-20 18:18:38,381 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-08-20 18:18:38,381 - INFO - Initial checks done. Running the testcase now 2025-08-20 18:18:38,381 - INFO - 2025-08-20 18:18:38,998 - DEBUG - Response for create_network : {'network': {'id': 'db4591ff-4c40-45de-aa72-c3ee7339770c', 'name': 'ctest-vn-24652660', 'tenant_id': '8096d50f8eb34fb6bfcbdf87a16245c7', 'project_id': '8096d50f8eb34fb6bfcbdf87a16245c7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64813187', 'ctest-vn-24652660'], 'port_security_enabled': True, 'description': ''}} 2025-08-20 18:18:39,210 - DEBUG - Response for create_subnet : {'subnet': {'id': '7c1a5c25-27ec-44d4-89d8-0490d6c8a876', 'name': '', 'tenant_id': '8096d50f8eb34fb6bfcbdf87a16245c7', 'network_id': 'db4591ff-4c40-45de-aa72-c3ee7339770c', 'ip_version': 4, 'cidr': '156.141.223.64/26', 'allocation_pools': [{'start': '156.141.223.66', 'end': '156.141.223.126'}], 'gateway_ip': '156.141.223.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.141.223.66', 'tags': [], 'project_id': '8096d50f8eb34fb6bfcbdf87a16245c7'}} 2025-08-20 18:18:39,228 - INFO - Created VN ctest-vn-24652660 2025-08-20 18:18:39,280 - DEBUG - VN ctest-vn-24652660 UUID is db4591ff-4c40-45de-aa72-c3ee7339770c 2025-08-20 18:18:39,579 - DEBUG - Response for create_network : {'network': {'id': 'd9a0bf82-9b1a-4a08-8779-dce14d7a5750', 'name': 'ctest-vn-47813452', 'tenant_id': '8096d50f8eb34fb6bfcbdf87a16245c7', 'project_id': '8096d50f8eb34fb6bfcbdf87a16245c7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64813187', 'ctest-vn-47813452'], 'port_security_enabled': True, 'description': ''}} 2025-08-20 18:18:39,790 - DEBUG - Response for create_subnet : {'subnet': {'id': '8ff04b01-21ff-4f81-8a1f-77f105ddf6ce', 'name': '', 'tenant_id': '8096d50f8eb34fb6bfcbdf87a16245c7', 'network_id': 'd9a0bf82-9b1a-4a08-8779-dce14d7a5750', 'ip_version': 4, 'cidr': '110.107.74.64/26', 'allocation_pools': [{'start': '110.107.74.66', 'end': '110.107.74.126'}], 'gateway_ip': '110.107.74.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '110.107.74.66', 'tags': [], 'project_id': '8096d50f8eb34fb6bfcbdf87a16245c7'}} 2025-08-20 18:18:39,809 - INFO - Created VN ctest-vn-47813452 2025-08-20 18:18:39,864 - DEBUG - VN ctest-vn-47813452 UUID is d9a0bf82-9b1a-4a08-8779-dce14d7a5750 2025-08-20 18:18:39,985 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-64813187:ctest-vn-24652660, 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-64813187:ctest-vn-47813452, 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-20 18:18:40,301 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'db4591ff-4c40-45de-aa72-c3ee7339770c', 'name': 'ctest-vn-24652660', 'tenant_id': '8096d50f8eb34fb6bfcbdf87a16245c7', 'project_id': '8096d50f8eb34fb6bfcbdf87a16245c7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7c1a5c25-27ec-44d4-89d8-0490d6c8a876'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64813187', 'ctest-vn-24652660'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-64813187', 'ctest-policy-allow-all-85348108']], 'subnet_ipam': [{'subnet_cidr': '156.141.223.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-20 18:18:40,560 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd9a0bf82-9b1a-4a08-8779-dce14d7a5750', 'name': 'ctest-vn-47813452', 'tenant_id': '8096d50f8eb34fb6bfcbdf87a16245c7', 'project_id': '8096d50f8eb34fb6bfcbdf87a16245c7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8ff04b01-21ff-4f81-8a1f-77f105ddf6ce'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64813187', 'ctest-vn-47813452'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-64813187', 'ctest-policy-allow-all-85348108']], 'subnet_ipam': [{'subnet_cidr': '110.107.74.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-20 18:18:40,728 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-08-20 18:18:41,065 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-08-20 18:18:41,095 - DEBUG - Requesting: http://10.0.0.65:8082/domain/eab089a9-0c4b-4f99-8746-a4187e503a3a 2025-08-20 18:18:41,109 - DEBUG - Requesting: http://10.0.0.65:8082/project/8096d50f-8eb3-4fb6-bfcb-df87a16245c7 2025-08-20 18:18:41,189 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/db4591ff-4c40-45de-aa72-c3ee7339770c 2025-08-20 18:18:41,201 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/db4591ff-4c40-45de-aa72-c3ee7339770c 2025-08-20 18:18:41,211 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/802e27af-d788-49cb-a0ad-201d2ffeb897 2025-08-20 18:18:41,219 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/802e27af-d788-49cb-a0ad-201d2ffeb897 2025-08-20 18:18:41,235 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/da5279f7-7ead-444e-acf6-b51e9bb1588f 2025-08-20 18:18:41,243 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-20 18:18:41,243 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/db4591ff-4c40-45de-aa72-c3ee7339770c 2025-08-20 18:18:41,253 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/802e27af-d788-49cb-a0ad-201d2ffeb897 2025-08-20 18:18:41,268 - INFO - Verified VN network id 11 for VN db4591ff-4c40-45de-aa72-c3ee7339770c 2025-08-20 18:18:41,268 - INFO - Verifications in API Server for VN ctest-vn-24652660 passed 2025-08-20 18:18:41,268 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/db4591ff-4c40-45de-aa72-c3ee7339770c 2025-08-20 18:18:41,278 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/802e27af-d788-49cb-a0ad-201d2ffeb897 2025-08-20 18:18:41,287 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/802e27af-d788-49cb-a0ad-201d2ffeb897 2025-08-20 18:18:41,295 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/da5279f7-7ead-444e-acf6-b51e9bb1588f 2025-08-20 18:18:41,309 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-64813187:ctest-vn-24652660', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-64813187', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15800195393381221854', 'uuid-lslong': '12282094562695542540'}, 'enable': 'true', 'created': '2025-08-20T18:18:38', 'last-modified': '2025-08-20T18:18:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.038307'} 2025-08-20 18:18:41,316 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-20 18:18:41,316 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-24652660 passed 2025-08-20 18:18:41,317 - DEBUG - ====Verifying policy data for ctest-vn-24652660 in API_Server ====== 2025-08-20 18:18:41,317 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-08-20 18:18:41,323 - DEBUG - Requesting: http://10.0.0.65:8082/domain/eab089a9-0c4b-4f99-8746-a4187e503a3a 2025-08-20 18:18:41,336 - DEBUG - Requesting: http://10.0.0.65:8082/project/8096d50f-8eb3-4fb6-bfcb-df87a16245c7 2025-08-20 18:18:41,411 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/db4591ff-4c40-45de-aa72-c3ee7339770c 2025-08-20 18:18:41,423 - DEBUG - ==>Verifying data for policy with id: d8f41047-c66e-4f7e-bcef-345739ce46ef, fqn: ['default-domain', 'ctest-TestBasicPolicy-64813187', 'ctest-policy-allow-all-85348108'] 2025-08-20 18:18:41,423 - INFO - VN ctest-vn-24652660 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-20 18:18:41,424 - DEBUG - Verifying the vn in opserver 2025-08-20 18:18:41,424 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-64813187:ctest-vn-24652660 virtual network link through opserver 10.0.0.65 2025-08-20 18:18:41,424 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-08-20 18:18:41,757 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-08-20 18:18:41,815 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-64813187:ctest-vn-24652660', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-64813187:ctest-vn-24652660?flat'} 2025-08-20 18:18:41,815 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-64813187:ctest-vn-24652660 is found in opserver 2025-08-20 18:18:41,827 - DEBUG - Do not have enough data to verify VN in agent 2025-08-20 18:18:41,832 - DEBUG - VRF ids for VN ctest-vn-24652660: {} 2025-08-20 18:18:41,833 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-08-20 18:18:41,839 - DEBUG - Requesting: http://10.0.0.65:8082/domain/eab089a9-0c4b-4f99-8746-a4187e503a3a 2025-08-20 18:18:41,851 - DEBUG - Requesting: http://10.0.0.65:8082/project/8096d50f-8eb3-4fb6-bfcb-df87a16245c7 2025-08-20 18:18:41,925 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/d9a0bf82-9b1a-4a08-8779-dce14d7a5750 2025-08-20 18:18:41,938 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/d9a0bf82-9b1a-4a08-8779-dce14d7a5750 2025-08-20 18:18:41,949 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/3533d465-3900-41df-bbc1-4b32a919092b 2025-08-20 18:18:41,958 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/3533d465-3900-41df-bbc1-4b32a919092b 2025-08-20 18:18:41,968 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/d761ae5c-09ab-48da-bc01-07b343b5a514 2025-08-20 18:18:41,975 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-20 18:18:41,975 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/d9a0bf82-9b1a-4a08-8779-dce14d7a5750 2025-08-20 18:18:41,987 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/3533d465-3900-41df-bbc1-4b32a919092b 2025-08-20 18:18:42,002 - INFO - Verified VN network id 12 for VN d9a0bf82-9b1a-4a08-8779-dce14d7a5750 2025-08-20 18:18:42,002 - INFO - Verifications in API Server for VN ctest-vn-47813452 passed 2025-08-20 18:18:42,002 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/d9a0bf82-9b1a-4a08-8779-dce14d7a5750 2025-08-20 18:18:42,013 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/3533d465-3900-41df-bbc1-4b32a919092b 2025-08-20 18:18:42,023 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/3533d465-3900-41df-bbc1-4b32a919092b 2025-08-20 18:18:42,031 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/d761ae5c-09ab-48da-bc01-07b343b5a514 2025-08-20 18:18:42,046 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-64813187:ctest-vn-47813452', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-64813187', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15681744470172912136', 'uuid-lslong': '9762076527527876432'}, 'enable': 'true', 'created': '2025-08-20T18:18:39', 'last-modified': '2025-08-20T18:18:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.521403'} 2025-08-20 18:18:42,057 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-20 18:18:42,057 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-47813452 passed 2025-08-20 18:18:42,058 - DEBUG - ====Verifying policy data for ctest-vn-47813452 in API_Server ====== 2025-08-20 18:18:42,058 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-08-20 18:18:42,066 - DEBUG - Requesting: http://10.0.0.65:8082/domain/eab089a9-0c4b-4f99-8746-a4187e503a3a 2025-08-20 18:18:42,080 - DEBUG - Requesting: http://10.0.0.65:8082/project/8096d50f-8eb3-4fb6-bfcb-df87a16245c7 2025-08-20 18:18:42,151 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/d9a0bf82-9b1a-4a08-8779-dce14d7a5750 2025-08-20 18:18:42,162 - DEBUG - ==>Verifying data for policy with id: d8f41047-c66e-4f7e-bcef-345739ce46ef, fqn: ['default-domain', 'ctest-TestBasicPolicy-64813187', 'ctest-policy-allow-all-85348108'] 2025-08-20 18:18:42,162 - INFO - VN ctest-vn-47813452 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-20 18:18:42,162 - DEBUG - Verifying the vn in opserver 2025-08-20 18:18:42,162 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-64813187:ctest-vn-47813452 virtual network link through opserver 10.0.0.65 2025-08-20 18:18:42,162 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-08-20 18:18:42,173 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-64813187:ctest-vn-47813452', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-64813187:ctest-vn-47813452?flat'} 2025-08-20 18:18:42,173 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-64813187:ctest-vn-47813452 is found in opserver 2025-08-20 18:18:42,184 - DEBUG - Do not have enough data to verify VN in agent 2025-08-20 18:18:42,190 - DEBUG - VRF ids for VN ctest-vn-47813452: {} 2025-08-20 18:18:42,245 - DEBUG - Services list from nova: [, , ] 2025-08-20 18:18:43,335 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3900-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3900-1) 2025-08-20 18:18:44,531 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3900-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3900-1) 2025-08-20 18:18:44,532 - INFO - Waiting for VM ctest-TestBasicPolicy-64813187-70328007 to be up.. 2025-08-20 18:18:44,610 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-20 18:18:49,693 - DEBUG - VM is in ACTIVE state now 2025-08-20 18:18:49,693 - INFO - VM name : ctest-TestBasicPolicy-64813187-70328007 2025-08-20 18:18:49,773 - DEBUG - VM ctest-TestBasicPolicy-64813187-70328007 ID is 429c1dda-e345-4a6a-9ee9-6339a3899946 2025-08-20 18:18:49,802 - DEBUG - VM ctest-TestBasicPolicy-64813187-70328007 launched on Node cn-jenkins-deploy-platform-ansible-os-3900-1 2025-08-20 18:18:49,884 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/429c1dda-e345-4a6a-9ee9-6339a3899946 2025-08-20 18:18:49,896 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/31928368-a3ff-4af3-8f73-8b43bc18e0c7 2025-08-20 18:18:53,166 - 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 1009ms') 2025-08-20 18:18:53,166 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-64813187-70328007 failed! 2025-08-20 18:18:53,228 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-64813187:ctest-vn-24652660 is 156.141.223.65 and allocation pool is NOT set 2025-08-20 18:18:55,306 - 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.20 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.487 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.487/4.343/8.200/3.856 ms') 2025-08-20 18:18:55,306 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-64813187-70328007 passed 2025-08-20 18:18:55,464 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 18:18:55,464 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-64813187-70328007, IP 156.141.223.67, Port 22 2025-08-20 18:18:55,642 - DEBUG - VM ctest-TestBasicPolicy-64813187-70328007 is ready for SSH connections 2025-08-20 18:18:55,642 - INFO - Waiting for VM ctest-TestBasicPolicy-64813187-61631176 to be up.. 2025-08-20 18:18:55,725 - DEBUG - VM is in ACTIVE state now 2025-08-20 18:18:55,725 - INFO - VM name : ctest-TestBasicPolicy-64813187-61631176 2025-08-20 18:18:55,799 - DEBUG - VM ctest-TestBasicPolicy-64813187-61631176 ID is aed79efa-9bda-4906-a180-2f5afcb0d0e7 2025-08-20 18:18:55,800 - DEBUG - VM ctest-TestBasicPolicy-64813187-61631176 launched on Node cn-jenkins-deploy-platform-ansible-os-3900-1 2025-08-20 18:18:55,881 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/aed79efa-9bda-4906-a180-2f5afcb0d0e7 2025-08-20 18:18:55,892 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/9119b3c7-aa1c-445b-bbbf-76ac8425e4f9 2025-08-20 18:18:57,145 - 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.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.38 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 = 1.375/2.746/4.118/1.371 ms') 2025-08-20 18:18:57,145 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-64813187-61631176 passed 2025-08-20 18:18:57,304 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 18:18:57,304 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-64813187-61631176, IP 110.107.74.67, Port 22 2025-08-20 18:18:57,472 - DEBUG - VM ctest-TestBasicPolicy-64813187-61631176 is ready for SSH connections 2025-08-20 18:18:57,472 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 18:18:57,472 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 110.107.74.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-08-20 18:18:57,472 - DEBUG - ping -s 56 -c 3 -W 1 110.107.74.67 2025-08-20 18:19:01,535 - DEBUG - PING 110.107.74.67 (110.107.74.67): 56 data bytes 64 bytes from 110.107.74.67: seq=0 ttl=63 time=4.476 ms 64 bytes from 110.107.74.67: seq=1 ttl=63 time=1.501 ms 64 bytes from 110.107.74.67: seq=2 ttl=63 time=1.341 ms --- 110.107.74.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.341/2.439/4.476 ms 2025-08-20 18:19:01,535 - INFO - Ping to IP 110.107.74.67 from VM ctest-TestBasicPolicy-64813187-70328007 passed 2025-08-20 18:19:01,724 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d8f41047-c66e-4f7e-bcef-345739ce46ef", "href": "http://10.0.0.65:8082/network-policy/d8f41047-c66e-4f7e-bcef-345739ce46ef"}} 2025-08-20 18:19:01,724 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 18:19:01,724 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 110.107.74.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-08-20 18:19:01,724 - DEBUG - ping -s 56 -c 3 -W 1 110.107.74.67 2025-08-20 18:19:04,949 - DEBUG - PING 110.107.74.67 (110.107.74.67): 56 data bytes --- 110.107.74.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-20 18:19:04,949 - WARNING - Ping to IP 110.107.74.67 from VM ctest-TestBasicPolicy-64813187-70328007 failed 2025-08-20 18:19:04,949 - INFO - Deleting VM ctest-TestBasicPolicy-64813187-61631176 2025-08-20 18:19:05,025 - INFO - Deleting VM ctest-TestBasicPolicy-64813187-70328007 2025-08-20 18:19:05,460 - INFO - Deleted policy ctest-policy-allow-all-85348108 2025-08-20 18:19:05,460 - INFO - Deleting VN ctest-vn-47813452 2025-08-20 18:19:05,504 - DEBUG - VN d9a0bf82-9b1a-4a08-8779-dce14d7a5750 still in use: Unable to complete operation on network d9a0bf82-9b1a-4a08-8779-dce14d7a5750. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-49c406bd-b0c2-411e-9289-1b7c5b946a27'] 2025-08-20 18:19:05,504 - WARNING - Deleting VN ctest-vn-47813452 failed..Will retry 2025-08-20 18:19:07,627 - DEBUG - Response for deleting network () 2025-08-20 18:19:07,627 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/3533d465-3900-41df-bbc1-4b32a919092b 2025-08-20 18:19:07,636 - DEBUG - Response Code: 404 2025-08-20 18:19:07,636 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-08-20 18:19:07,643 - DEBUG - Requesting: http://10.0.0.65:8082/domain/eab089a9-0c4b-4f99-8746-a4187e503a3a 2025-08-20 18:19:07,699 - DEBUG - Requesting: http://10.0.0.65:8082/project/8096d50f-8eb3-4fb6-bfcb-df87a16245c7 2025-08-20 18:19:07,783 - INFO - Validated that VN ctest-vn-47813452 is not found in API Server 2025-08-20 18:19:07,798 - DEBUG - VN ctest-vn-47813452 is not present in Agent 10.0.0.65 2025-08-20 18:19:07,798 - INFO - Validated that VN ctest-vn-47813452 is not in any agent 2025-08-20 18:19:07,815 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-47813452 info 2025-08-20 18:19:07,815 - INFO - Deleting VN ctest-vn-24652660 2025-08-20 18:19:07,937 - DEBUG - Response for deleting network () 2025-08-20 18:19:07,938 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/802e27af-d788-49cb-a0ad-201d2ffeb897 2025-08-20 18:19:07,944 - DEBUG - Response Code: 404 2025-08-20 18:19:07,944 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-08-20 18:19:07,950 - DEBUG - Requesting: http://10.0.0.65:8082/domain/eab089a9-0c4b-4f99-8746-a4187e503a3a 2025-08-20 18:19:08,010 - DEBUG - Requesting: http://10.0.0.65:8082/project/8096d50f-8eb3-4fb6-bfcb-df87a16245c7 2025-08-20 18:19:08,085 - INFO - Validated that VN ctest-vn-24652660 is not found in API Server 2025-08-20 18:19:08,097 - DEBUG - VN ctest-vn-24652660 is not present in Agent 10.0.0.65 2025-08-20 18:19:08,097 - INFO - Validated that VN ctest-vn-24652660 is not in any agent 2025-08-20 18:19:08,114 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-24652660 info 2025-08-20 18:19:08,376 - DEBUG - No XMPP flaps were noticed during the test 2025-08-20 18:19:08,376 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-08-20 18:19:08,376 - INFO - -------------------------------------------------------------------------------- 2025-08-20 18:19:09,148 - INFO - Deleted project: ctest-TestBasicPolicy-64813187, ID : 8096d50f-8eb3-4fb6-bfcb-df87a16245c7