2025-10-30 14:41:59,559 - INFO - Domain Default found not creating 2025-10-30 14:41:59,703 - INFO - Project ctest-TestBasicPolicy-96246785 not found, creating it 2025-10-30 14:42:00,129 - INFO - Created Project:ctest-TestBasicPolicy-96246785, ID : e8e19e7c-f093-4ddd-9296-456b78cbe455 2025-10-30 14:42:02,227 - INFO - ================================================================================ 2025-10-30 14:42:02,228 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-30 14:42:02,228 - 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-10-30 14:42:02,484 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-30 14:42:02,485 - INFO - Initial checks done. Running the testcase now 2025-10-30 14:42:02,485 - INFO - 2025-10-30 14:42:03,017 - DEBUG - Response for create_network : {'network': {'id': '3a8a6018-cb5b-4b50-8106-f39e395b087c', 'name': 'ctest-vn-21768180', 'tenant_id': 'e8e19e7cf0934ddd9296456b78cbe455', 'project_id': 'e8e19e7cf0934ddd9296456b78cbe455', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96246785', 'ctest-vn-21768180'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 14:42:03,217 - DEBUG - Response for create_subnet : {'subnet': {'id': '48be8f60-8cf7-4225-9560-5efb33ee6e7d', 'name': '', 'tenant_id': 'e8e19e7cf0934ddd9296456b78cbe455', 'network_id': '3a8a6018-cb5b-4b50-8106-f39e395b087c', 'ip_version': 4, 'cidr': '120.174.112.128/26', 'allocation_pools': [{'start': '120.174.112.130', 'end': '120.174.112.190'}], 'gateway_ip': '120.174.112.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.174.112.130', 'tags': [], 'project_id': 'e8e19e7cf0934ddd9296456b78cbe455'}} 2025-10-30 14:42:03,238 - INFO - Created VN ctest-vn-21768180 2025-10-30 14:42:03,292 - DEBUG - VN ctest-vn-21768180 UUID is 3a8a6018-cb5b-4b50-8106-f39e395b087c 2025-10-30 14:42:03,596 - DEBUG - Response for create_network : {'network': {'id': '4b175873-7acb-4a04-b0ee-929ce2a448bc', 'name': 'ctest-vn-38348629', 'tenant_id': 'e8e19e7cf0934ddd9296456b78cbe455', 'project_id': 'e8e19e7cf0934ddd9296456b78cbe455', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96246785', 'ctest-vn-38348629'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 14:42:03,799 - DEBUG - Response for create_subnet : {'subnet': {'id': '1f4dd088-e561-494b-b60b-205b5d74b4e4', 'name': '', 'tenant_id': 'e8e19e7cf0934ddd9296456b78cbe455', 'network_id': '4b175873-7acb-4a04-b0ee-929ce2a448bc', 'ip_version': 4, 'cidr': '203.157.70.192/26', 'allocation_pools': [{'start': '203.157.70.194', 'end': '203.157.70.254'}], 'gateway_ip': '203.157.70.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.157.70.194', 'tags': [], 'project_id': 'e8e19e7cf0934ddd9296456b78cbe455'}} 2025-10-30 14:42:03,817 - INFO - Created VN ctest-vn-38348629 2025-10-30 14:42:03,868 - DEBUG - VN ctest-vn-38348629 UUID is 4b175873-7acb-4a04-b0ee-929ce2a448bc 2025-10-30 14:42:04,020 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-96246785:ctest-vn-21768180, 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-96246785:ctest-vn-38348629, 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-10-30 14:42:04,326 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3a8a6018-cb5b-4b50-8106-f39e395b087c', 'name': 'ctest-vn-21768180', 'tenant_id': 'e8e19e7cf0934ddd9296456b78cbe455', 'project_id': 'e8e19e7cf0934ddd9296456b78cbe455', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['48be8f60-8cf7-4225-9560-5efb33ee6e7d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96246785', 'ctest-vn-21768180'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96246785', 'ctest-policy-allow-all-04217534']], 'subnet_ipam': [{'subnet_cidr': '120.174.112.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-30 14:42:04,551 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4b175873-7acb-4a04-b0ee-929ce2a448bc', 'name': 'ctest-vn-38348629', 'tenant_id': 'e8e19e7cf0934ddd9296456b78cbe455', 'project_id': 'e8e19e7cf0934ddd9296456b78cbe455', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1f4dd088-e561-494b-b60b-205b5d74b4e4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96246785', 'ctest-vn-38348629'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96246785', 'ctest-policy-allow-all-04217534']], 'subnet_ipam': [{'subnet_cidr': '203.157.70.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-30 14:42:04,720 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-30 14:42:05,017 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-30 14:42:05,103 - DEBUG - Requesting: http://10.0.0.254:8082/domain/3a998d4b-fa35-4901-9cfb-5f88130a0355 2025-10-30 14:42:05,124 - DEBUG - Requesting: http://10.0.0.254:8082/project/e8e19e7c-f093-4ddd-9296-456b78cbe455 2025-10-30 14:42:05,214 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3a8a6018-cb5b-4b50-8106-f39e395b087c 2025-10-30 14:42:05,226 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3a8a6018-cb5b-4b50-8106-f39e395b087c 2025-10-30 14:42:05,236 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ddc58853-e2fd-41a5-9bb5-4c87426a5ec5 2025-10-30 14:42:05,246 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ddc58853-e2fd-41a5-9bb5-4c87426a5ec5 2025-10-30 14:42:05,253 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/fd8d986a-affb-4206-9123-ca2cd86f5b1f 2025-10-30 14:42:05,260 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-30 14:42:05,260 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3a8a6018-cb5b-4b50-8106-f39e395b087c 2025-10-30 14:42:05,270 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ddc58853-e2fd-41a5-9bb5-4c87426a5ec5 2025-10-30 14:42:05,285 - INFO - Verified VN network id 11 for VN 3a8a6018-cb5b-4b50-8106-f39e395b087c 2025-10-30 14:42:05,285 - INFO - Verifications in API Server for VN ctest-vn-21768180 passed 2025-10-30 14:42:05,286 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3a8a6018-cb5b-4b50-8106-f39e395b087c 2025-10-30 14:42:05,296 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ddc58853-e2fd-41a5-9bb5-4c87426a5ec5 2025-10-30 14:42:05,304 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ddc58853-e2fd-41a5-9bb5-4c87426a5ec5 2025-10-30 14:42:05,312 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/fd8d986a-affb-4206-9123-ca2cd86f5b1f 2025-10-30 14:42:05,323 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96246785:ctest-vn-21768180', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96246785', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4218289660593130320', 'uuid-lslong': '9297386341645617276'}, 'enable': 'true', 'created': '2025-10-30T14:42:02', 'last-modified': '2025-10-30T14:42:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.029905'} 2025-10-30 14:42:05,329 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-30 14:42:05,329 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-21768180 passed 2025-10-30 14:42:05,329 - DEBUG - ====Verifying policy data for ctest-vn-21768180 in API_Server ====== 2025-10-30 14:42:05,329 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-30 14:42:05,336 - DEBUG - Requesting: http://10.0.0.254:8082/domain/3a998d4b-fa35-4901-9cfb-5f88130a0355 2025-10-30 14:42:05,348 - DEBUG - Requesting: http://10.0.0.254:8082/project/e8e19e7c-f093-4ddd-9296-456b78cbe455 2025-10-30 14:42:05,417 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3a8a6018-cb5b-4b50-8106-f39e395b087c 2025-10-30 14:42:05,425 - DEBUG - ==>Verifying data for policy with id: d7d07b29-c20c-4d04-9ffa-9c605e4235cb, fqn: ['default-domain', 'ctest-TestBasicPolicy-96246785', 'ctest-policy-allow-all-04217534'] 2025-10-30 14:42:05,425 - INFO - VN ctest-vn-21768180 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-30 14:42:05,425 - DEBUG - Verifying the vn in opserver 2025-10-30 14:42:05,425 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96246785:ctest-vn-21768180 virtual network link through opserver 10.0.0.254 2025-10-30 14:42:05,425 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-30 14:42:05,714 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-30 14:42:05,767 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96246785:ctest-vn-21768180', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96246785:ctest-vn-21768180?flat'} 2025-10-30 14:42:05,767 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96246785:ctest-vn-21768180 is found in opserver 2025-10-30 14:42:05,776 - DEBUG - Do not have enough data to verify VN in agent 2025-10-30 14:42:05,780 - DEBUG - VRF ids for VN ctest-vn-21768180: {} 2025-10-30 14:42:05,780 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-30 14:42:05,785 - DEBUG - Requesting: http://10.0.0.254:8082/domain/3a998d4b-fa35-4901-9cfb-5f88130a0355 2025-10-30 14:42:05,795 - DEBUG - Requesting: http://10.0.0.254:8082/project/e8e19e7c-f093-4ddd-9296-456b78cbe455 2025-10-30 14:42:05,862 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/4b175873-7acb-4a04-b0ee-929ce2a448bc 2025-10-30 14:42:05,873 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/4b175873-7acb-4a04-b0ee-929ce2a448bc 2025-10-30 14:42:05,881 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/5bd9b43d-2775-45b3-84de-92c80c23fb82 2025-10-30 14:42:05,887 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/5bd9b43d-2775-45b3-84de-92c80c23fb82 2025-10-30 14:42:05,893 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/91387261-f002-4201-a07d-5e9040140d40 2025-10-30 14:42:05,898 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-30 14:42:05,898 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/4b175873-7acb-4a04-b0ee-929ce2a448bc 2025-10-30 14:42:05,906 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/5bd9b43d-2775-45b3-84de-92c80c23fb82 2025-10-30 14:42:05,918 - INFO - Verified VN network id 12 for VN 4b175873-7acb-4a04-b0ee-929ce2a448bc 2025-10-30 14:42:05,918 - INFO - Verifications in API Server for VN ctest-vn-38348629 passed 2025-10-30 14:42:05,919 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/4b175873-7acb-4a04-b0ee-929ce2a448bc 2025-10-30 14:42:05,926 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/5bd9b43d-2775-45b3-84de-92c80c23fb82 2025-10-30 14:42:05,932 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/5bd9b43d-2775-45b3-84de-92c80c23fb82 2025-10-30 14:42:05,939 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/91387261-f002-4201-a07d-5e9040140d40 2025-10-30 14:42:05,950 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96246785:ctest-vn-38348629', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96246785', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5410890730313566724', 'uuid-lslong': '12749288797647423676'}, 'enable': 'true', 'created': '2025-10-30T14:42:03', 'last-modified': '2025-10-30T14:42:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.417169'} 2025-10-30 14:42:05,955 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-30 14:42:05,955 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38348629 passed 2025-10-30 14:42:05,955 - DEBUG - ====Verifying policy data for ctest-vn-38348629 in API_Server ====== 2025-10-30 14:42:05,955 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-30 14:42:05,960 - DEBUG - Requesting: http://10.0.0.254:8082/domain/3a998d4b-fa35-4901-9cfb-5f88130a0355 2025-10-30 14:42:05,969 - DEBUG - Requesting: http://10.0.0.254:8082/project/e8e19e7c-f093-4ddd-9296-456b78cbe455 2025-10-30 14:42:06,036 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/4b175873-7acb-4a04-b0ee-929ce2a448bc 2025-10-30 14:42:06,044 - DEBUG - ==>Verifying data for policy with id: d7d07b29-c20c-4d04-9ffa-9c605e4235cb, fqn: ['default-domain', 'ctest-TestBasicPolicy-96246785', 'ctest-policy-allow-all-04217534'] 2025-10-30 14:42:06,045 - INFO - VN ctest-vn-38348629 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-30 14:42:06,045 - DEBUG - Verifying the vn in opserver 2025-10-30 14:42:06,045 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96246785:ctest-vn-38348629 virtual network link through opserver 10.0.0.254 2025-10-30 14:42:06,045 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-30 14:42:06,054 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96246785:ctest-vn-38348629', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96246785:ctest-vn-38348629?flat'} 2025-10-30 14:42:06,054 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96246785:ctest-vn-38348629 is found in opserver 2025-10-30 14:42:06,063 - DEBUG - Do not have enough data to verify VN in agent 2025-10-30 14:42:06,068 - DEBUG - VRF ids for VN ctest-vn-38348629: {} 2025-10-30 14:42:06,123 - DEBUG - Services list from nova: [, , ] 2025-10-30 14:42:07,150 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4545-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4545-1) 2025-10-30 14:42:08,324 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4545-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4545-1) 2025-10-30 14:42:08,324 - INFO - Waiting for VM ctest-TestBasicPolicy-96246785-48820238 to be up.. 2025-10-30 14:42:08,406 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 14:42:13,485 - DEBUG - VM is in ACTIVE state now 2025-10-30 14:42:13,485 - INFO - VM name : ctest-TestBasicPolicy-96246785-48820238 2025-10-30 14:42:13,574 - DEBUG - VM ctest-TestBasicPolicy-96246785-48820238 ID is 1d6f3f7c-979e-4997-b6f3-8a4957aaf0ab 2025-10-30 14:42:13,593 - DEBUG - VM ctest-TestBasicPolicy-96246785-48820238 launched on Node cn-jenkins-deploy-platform-ansible-os-4545-1 2025-10-30 14:42:13,668 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/1d6f3f7c-979e-4997-b6f3-8a4957aaf0ab 2025-10-30 14:42:13,676 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/5922ff14-7b96-4551-b830-6a4120dddd1b 2025-10-30 14:42:16,918 - 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 1005ms') 2025-10-30 14:42:16,918 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-96246785-48820238 failed! 2025-10-30 14:42:16,976 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-96246785:ctest-vn-21768180 is 120.174.112.129 and allocation pool is NOT set 2025-10-30 14:42:19,038 - 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=10.4 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.386 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.386/5.411/10.436/5.025 ms') 2025-10-30 14:42:19,038 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-96246785-48820238 passed 2025-10-30 14:42:19,188 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 14:42:19,188 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-96246785-48820238, IP 120.174.112.131, Port 22 2025-10-30 14:42:19,351 - DEBUG - VM ctest-TestBasicPolicy-96246785-48820238 is ready for SSH connections 2025-10-30 14:42:19,351 - INFO - Waiting for VM ctest-TestBasicPolicy-96246785-59025594 to be up.. 2025-10-30 14:42:19,431 - DEBUG - VM is in ACTIVE state now 2025-10-30 14:42:19,431 - INFO - VM name : ctest-TestBasicPolicy-96246785-59025594 2025-10-30 14:42:19,509 - DEBUG - VM ctest-TestBasicPolicy-96246785-59025594 ID is ca185e38-e309-43e2-9f12-3a334396b2a3 2025-10-30 14:42:19,510 - DEBUG - VM ctest-TestBasicPolicy-96246785-59025594 launched on Node cn-jenkins-deploy-platform-ansible-os-4545-1 2025-10-30 14:42:19,591 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/ca185e38-e309-43e2-9f12-3a334396b2a3 2025-10-30 14:42:19,601 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a0c80ba3-f6d8-4e30-a2b4-42518f1638c9 2025-10-30 14:42:20,834 - 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.06 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.644 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.644/2.353/4.062/1.709 ms') 2025-10-30 14:42:20,834 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-96246785-59025594 passed 2025-10-30 14:42:20,984 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 14:42:20,984 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-96246785-59025594, IP 203.157.70.195, Port 22 2025-10-30 14:42:21,143 - DEBUG - VM ctest-TestBasicPolicy-96246785-59025594 is ready for SSH connections 2025-10-30 14:42:21,143 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 14:42:21,143 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 203.157.70.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-30 14:42:21,143 - DEBUG - ping -s 56 -c 3 -W 1 203.157.70.195 2025-10-30 14:42:25,146 - DEBUG - PING 203.157.70.195 (203.157.70.195): 56 data bytes 64 bytes from 203.157.70.195: seq=0 ttl=63 time=3.648 ms 64 bytes from 203.157.70.195: seq=1 ttl=63 time=0.984 ms 64 bytes from 203.157.70.195: seq=2 ttl=63 time=0.997 ms --- 203.157.70.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.984/1.876/3.648 ms 2025-10-30 14:42:25,146 - INFO - Ping to IP 203.157.70.195 from VM ctest-TestBasicPolicy-96246785-48820238 passed 2025-10-30 14:42:25,324 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d7d07b29-c20c-4d04-9ffa-9c605e4235cb", "href": "http://10.0.0.254:8082/network-policy/d7d07b29-c20c-4d04-9ffa-9c605e4235cb"}} 2025-10-30 14:42:25,324 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 14:42:25,324 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 203.157.70.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-30 14:42:25,324 - DEBUG - ping -s 56 -c 3 -W 1 203.157.70.195 2025-10-30 14:42:28,542 - DEBUG - PING 203.157.70.195 (203.157.70.195): 56 data bytes --- 203.157.70.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-30 14:42:28,542 - WARNING - Ping to IP 203.157.70.195 from VM ctest-TestBasicPolicy-96246785-48820238 failed 2025-10-30 14:42:28,542 - INFO - Deleting VM ctest-TestBasicPolicy-96246785-59025594 2025-10-30 14:42:28,610 - INFO - Deleting VM ctest-TestBasicPolicy-96246785-48820238 2025-10-30 14:42:29,004 - INFO - Deleted policy ctest-policy-allow-all-04217534 2025-10-30 14:42:29,004 - INFO - Deleting VN ctest-vn-38348629 2025-10-30 14:42:29,042 - DEBUG - VN 4b175873-7acb-4a04-b0ee-929ce2a448bc still in use: Unable to complete operation on network 4b175873-7acb-4a04-b0ee-929ce2a448bc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-864ded41-955e-42ae-a576-dbbd72699afc'] 2025-10-30 14:42:29,042 - WARNING - Deleting VN ctest-vn-38348629 failed..Will retry 2025-10-30 14:42:31,151 - DEBUG - Response for deleting network () 2025-10-30 14:42:31,151 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/5bd9b43d-2775-45b3-84de-92c80c23fb82 2025-10-30 14:42:31,156 - DEBUG - Response Code: 404 2025-10-30 14:42:31,157 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-30 14:42:31,166 - DEBUG - Requesting: http://10.0.0.254:8082/domain/3a998d4b-fa35-4901-9cfb-5f88130a0355 2025-10-30 14:42:31,221 - DEBUG - Requesting: http://10.0.0.254:8082/project/e8e19e7c-f093-4ddd-9296-456b78cbe455 2025-10-30 14:42:31,291 - INFO - Validated that VN ctest-vn-38348629 is not found in API Server 2025-10-30 14:42:31,300 - DEBUG - VN ctest-vn-38348629 is not present in Agent 10.0.0.254 2025-10-30 14:42:31,300 - INFO - Validated that VN ctest-vn-38348629 is not in any agent 2025-10-30 14:42:31,312 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-38348629 info 2025-10-30 14:42:31,312 - INFO - Deleting VN ctest-vn-21768180 2025-10-30 14:42:31,414 - DEBUG - Response for deleting network () 2025-10-30 14:42:31,414 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ddc58853-e2fd-41a5-9bb5-4c87426a5ec5 2025-10-30 14:42:31,421 - DEBUG - Response Code: 404 2025-10-30 14:42:31,421 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-30 14:42:31,426 - DEBUG - Requesting: http://10.0.0.254:8082/domain/3a998d4b-fa35-4901-9cfb-5f88130a0355 2025-10-30 14:42:31,476 - DEBUG - Requesting: http://10.0.0.254:8082/project/e8e19e7c-f093-4ddd-9296-456b78cbe455 2025-10-30 14:42:31,546 - INFO - Validated that VN ctest-vn-21768180 is not found in API Server 2025-10-30 14:42:31,555 - DEBUG - VN ctest-vn-21768180 is not present in Agent 10.0.0.254 2025-10-30 14:42:31,555 - INFO - Validated that VN ctest-vn-21768180 is not in any agent 2025-10-30 14:42:31,568 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-21768180 info 2025-10-30 14:42:31,821 - DEBUG - No XMPP flaps were noticed during the test
2025-10-30 14:42:31,821 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-10-30 14:42:31,821 - INFO - -------------------------------------------------------------------------------- 2025-10-30 14:42:32,490 - INFO - Deleted project: ctest-TestBasicPolicy-96246785, ID : e8e19e7c-f093-4ddd-9296-456b78cbe455