2025-12-29 02:10:00,697 - INFO - Domain Default found not creating 2025-12-29 02:10:00,920 - INFO - Project ctest-TestBasicPolicy-45644759 not found, creating it 2025-12-29 02:10:01,457 - INFO - Created Project:ctest-TestBasicPolicy-45644759, ID : 35b9b6ba-af4d-443d-a6ee-b1d17abf2acf 2025-12-29 02:10:03,182 - INFO - ================================================================================ 2025-12-29 02:10:03,182 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-29 02:10:03,182 - 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-12-29 02:10:03,443 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.14': '0'}} with 2025-12-29 02:10:03,443 - INFO - Initial checks done. Running the testcase now 2025-12-29 02:10:03,443 - INFO - 2025-12-29 02:10:04,029 - DEBUG - Response for create_network : {'network': {'id': '93d30f4d-09c3-4220-a691-b76ef69c98c0', 'name': 'ctest-vn-66201928', 'tenant_id': '35b9b6baaf4d443da6eeb1d17abf2acf', 'project_id': '35b9b6baaf4d443da6eeb1d17abf2acf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45644759', 'ctest-vn-66201928'], 'port_security_enabled': True, 'description': ''}} 2025-12-29 02:10:04,220 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e7084897-0427-4195-a00b-cc47ca569e41', 'name': '', 'tenant_id': '35b9b6baaf4d443da6eeb1d17abf2acf', 'network_id': '93d30f4d-09c3-4220-a691-b76ef69c98c0', 'ip_version': 4, 'cidr': '91.87.86.128/26', 'allocation_pools': [{'start': '91.87.86.130', 'end': '91.87.86.190'}], 'gateway_ip': '91.87.86.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '91.87.86.130', 'tags': [], 'project_id': '35b9b6baaf4d443da6eeb1d17abf2acf'}} 2025-12-29 02:10:04,241 - INFO - Created VN ctest-vn-66201928 2025-12-29 02:10:04,297 - DEBUG - VN ctest-vn-66201928 UUID is 93d30f4d-09c3-4220-a691-b76ef69c98c0 2025-12-29 02:10:04,603 - DEBUG - Response for create_network : {'network': {'id': 'e8ff9ae2-9d8e-4aa3-aace-3b57fc4e331a', 'name': 'ctest-vn-80147737', 'tenant_id': '35b9b6baaf4d443da6eeb1d17abf2acf', 'project_id': '35b9b6baaf4d443da6eeb1d17abf2acf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45644759', 'ctest-vn-80147737'], 'port_security_enabled': True, 'description': ''}} 2025-12-29 02:10:04,798 - DEBUG - Response for create_subnet : {'subnet': {'id': '395e18b5-1f87-4032-a231-f361d54489f2', 'name': '', 'tenant_id': '35b9b6baaf4d443da6eeb1d17abf2acf', 'network_id': 'e8ff9ae2-9d8e-4aa3-aace-3b57fc4e331a', 'ip_version': 4, 'cidr': '107.123.55.64/26', 'allocation_pools': [{'start': '107.123.55.66', 'end': '107.123.55.126'}], 'gateway_ip': '107.123.55.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.123.55.66', 'tags': [], 'project_id': '35b9b6baaf4d443da6eeb1d17abf2acf'}} 2025-12-29 02:10:04,817 - INFO - Created VN ctest-vn-80147737 2025-12-29 02:10:04,873 - DEBUG - VN ctest-vn-80147737 UUID is e8ff9ae2-9d8e-4aa3-aace-3b57fc4e331a 2025-12-29 02:10:04,992 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-45644759:ctest-vn-66201928, 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-45644759:ctest-vn-80147737, 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-12-29 02:10:05,298 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '93d30f4d-09c3-4220-a691-b76ef69c98c0', 'name': 'ctest-vn-66201928', 'tenant_id': '35b9b6baaf4d443da6eeb1d17abf2acf', 'project_id': '35b9b6baaf4d443da6eeb1d17abf2acf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e7084897-0427-4195-a00b-cc47ca569e41'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45644759', 'ctest-vn-66201928'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45644759', 'ctest-policy-allow-all-00204468']], 'subnet_ipam': [{'subnet_cidr': '91.87.86.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-29 02:10:05,540 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e8ff9ae2-9d8e-4aa3-aace-3b57fc4e331a', 'name': 'ctest-vn-80147737', 'tenant_id': '35b9b6baaf4d443da6eeb1d17abf2acf', 'project_id': '35b9b6baaf4d443da6eeb1d17abf2acf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['395e18b5-1f87-4032-a231-f361d54489f2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45644759', 'ctest-vn-80147737'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45644759', 'ctest-policy-allow-all-00204468']], 'subnet_ipam': [{'subnet_cidr': '107.123.55.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-29 02:10:05,721 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-12-29 02:10:06,030 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-12-29 02:10:06,068 - DEBUG - Requesting: http://10.0.0.141:8082/domain/45512d6d-640d-4445-9cd5-76be0ff0d521 2025-12-29 02:10:06,081 - DEBUG - Requesting: http://10.0.0.141:8082/project/35b9b6ba-af4d-443d-a6ee-b1d17abf2acf 2025-12-29 02:10:06,172 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/93d30f4d-09c3-4220-a691-b76ef69c98c0 2025-12-29 02:10:06,185 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/93d30f4d-09c3-4220-a691-b76ef69c98c0 2025-12-29 02:10:06,195 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/1139bd23-ba8c-4994-a916-d705f72b70f6 2025-12-29 02:10:06,202 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/1139bd23-ba8c-4994-a916-d705f72b70f6 2025-12-29 02:10:06,210 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/2bd996a1-683d-40ec-bbd7-539773053d94 2025-12-29 02:10:06,217 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-29 02:10:06,217 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/93d30f4d-09c3-4220-a691-b76ef69c98c0 2025-12-29 02:10:06,227 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/1139bd23-ba8c-4994-a916-d705f72b70f6 2025-12-29 02:10:06,243 - INFO - Verified VN network id 11 for VN 93d30f4d-09c3-4220-a691-b76ef69c98c0 2025-12-29 02:10:06,243 - INFO - Verifications in API Server for VN ctest-vn-66201928 passed 2025-12-29 02:10:06,243 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/93d30f4d-09c3-4220-a691-b76ef69c98c0 2025-12-29 02:10:06,252 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/1139bd23-ba8c-4994-a916-d705f72b70f6 2025-12-29 02:10:06,261 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/1139bd23-ba8c-4994-a916-d705f72b70f6 2025-12-29 02:10:06,270 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/2bd996a1-683d-40ec-bbd7-539773053d94 2025-12-29 02:10:06,286 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45644759:ctest-vn-66201928', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45644759', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10651874367212044832', 'uuid-lslong': '12002576169130825920'}, 'enable': 'true', 'created': '2025-12-29T02:10:03', 'last-modified': '2025-12-29T02:10:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.011802'} 2025-12-29 02:10:06,294 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-29 02:10:06,294 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66201928 passed 2025-12-29 02:10:06,294 - DEBUG - ====Verifying policy data for ctest-vn-66201928 in API_Server ====== 2025-12-29 02:10:06,294 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-12-29 02:10:06,301 - DEBUG - Requesting: http://10.0.0.141:8082/domain/45512d6d-640d-4445-9cd5-76be0ff0d521 2025-12-29 02:10:06,326 - DEBUG - Requesting: http://10.0.0.141:8082/project/35b9b6ba-af4d-443d-a6ee-b1d17abf2acf 2025-12-29 02:10:06,403 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/93d30f4d-09c3-4220-a691-b76ef69c98c0 2025-12-29 02:10:06,418 - DEBUG - ==>Verifying data for policy with id: 4a1b6552-8ebe-4f8c-b122-d92436886d6e, fqn: ['default-domain', 'ctest-TestBasicPolicy-45644759', 'ctest-policy-allow-all-00204468'] 2025-12-29 02:10:06,418 - INFO - VN ctest-vn-66201928 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-29 02:10:06,418 - DEBUG - Verifying the vn in opserver 2025-12-29 02:10:06,418 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45644759:ctest-vn-66201928 virtual network link through opserver 10.0.0.141 2025-12-29 02:10:06,418 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-12-29 02:10:06,722 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-12-29 02:10:06,797 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45644759:ctest-vn-66201928', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45644759:ctest-vn-66201928?flat'} 2025-12-29 02:10:06,797 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45644759:ctest-vn-66201928 is found in opserver 2025-12-29 02:10:06,808 - DEBUG - Do not have enough data to verify VN in agent 2025-12-29 02:10:06,815 - DEBUG - VRF ids for VN ctest-vn-66201928: {} 2025-12-29 02:10:06,815 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-12-29 02:10:06,821 - DEBUG - Requesting: http://10.0.0.141:8082/domain/45512d6d-640d-4445-9cd5-76be0ff0d521 2025-12-29 02:10:06,835 - DEBUG - Requesting: http://10.0.0.141:8082/project/35b9b6ba-af4d-443d-a6ee-b1d17abf2acf 2025-12-29 02:10:06,918 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/e8ff9ae2-9d8e-4aa3-aace-3b57fc4e331a 2025-12-29 02:10:06,931 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/e8ff9ae2-9d8e-4aa3-aace-3b57fc4e331a 2025-12-29 02:10:06,944 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/67de0713-60b4-4c54-8d18-c95ddf8d515c 2025-12-29 02:10:06,953 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/67de0713-60b4-4c54-8d18-c95ddf8d515c 2025-12-29 02:10:06,960 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/bb3aa545-461c-4622-8add-49ded211d5cf 2025-12-29 02:10:06,967 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-29 02:10:06,967 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/e8ff9ae2-9d8e-4aa3-aace-3b57fc4e331a 2025-12-29 02:10:06,978 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/67de0713-60b4-4c54-8d18-c95ddf8d515c 2025-12-29 02:10:06,992 - INFO - Verified VN network id 12 for VN e8ff9ae2-9d8e-4aa3-aace-3b57fc4e331a 2025-12-29 02:10:06,993 - INFO - Verifications in API Server for VN ctest-vn-80147737 passed 2025-12-29 02:10:06,993 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/e8ff9ae2-9d8e-4aa3-aace-3b57fc4e331a 2025-12-29 02:10:07,004 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/67de0713-60b4-4c54-8d18-c95ddf8d515c 2025-12-29 02:10:07,015 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/67de0713-60b4-4c54-8d18-c95ddf8d515c 2025-12-29 02:10:07,022 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/bb3aa545-461c-4622-8add-49ded211d5cf 2025-12-29 02:10:07,035 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45644759:ctest-vn-80147737', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45644759', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16789308233957132963', 'uuid-lslong': '12307840080731321114'}, 'enable': 'true', 'created': '2025-12-29T02:10:04', 'last-modified': '2025-12-29T02:10:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.516618'} 2025-12-29 02:10:07,043 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-29 02:10:07,043 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-80147737 passed 2025-12-29 02:10:07,043 - DEBUG - ====Verifying policy data for ctest-vn-80147737 in API_Server ====== 2025-12-29 02:10:07,043 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-12-29 02:10:07,049 - DEBUG - Requesting: http://10.0.0.141:8082/domain/45512d6d-640d-4445-9cd5-76be0ff0d521 2025-12-29 02:10:07,060 - DEBUG - Requesting: http://10.0.0.141:8082/project/35b9b6ba-af4d-443d-a6ee-b1d17abf2acf 2025-12-29 02:10:07,137 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/e8ff9ae2-9d8e-4aa3-aace-3b57fc4e331a 2025-12-29 02:10:07,148 - DEBUG - ==>Verifying data for policy with id: 4a1b6552-8ebe-4f8c-b122-d92436886d6e, fqn: ['default-domain', 'ctest-TestBasicPolicy-45644759', 'ctest-policy-allow-all-00204468'] 2025-12-29 02:10:07,148 - INFO - VN ctest-vn-80147737 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-29 02:10:07,148 - DEBUG - Verifying the vn in opserver 2025-12-29 02:10:07,148 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45644759:ctest-vn-80147737 virtual network link through opserver 10.0.0.141 2025-12-29 02:10:07,148 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-12-29 02:10:07,158 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45644759:ctest-vn-80147737', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45644759:ctest-vn-80147737?flat'} 2025-12-29 02:10:07,158 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45644759:ctest-vn-80147737 is found in opserver 2025-12-29 02:10:07,169 - DEBUG - Do not have enough data to verify VN in agent 2025-12-29 02:10:07,174 - DEBUG - VRF ids for VN ctest-vn-80147737: {} 2025-12-29 02:10:07,241 - DEBUG - Services list from nova: [, , ] 2025-12-29 02:10:08,327 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4930-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4930-1) 2025-12-29 02:10:09,518 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4930-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4930-1) 2025-12-29 02:10:09,518 - INFO - Waiting for VM ctest-TestBasicPolicy-45644759-98388358 to be up.. 2025-12-29 02:10:09,624 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-29 02:10:14,710 - DEBUG - VM is in ACTIVE state now 2025-12-29 02:10:14,710 - INFO - VM name : ctest-TestBasicPolicy-45644759-98388358 2025-12-29 02:10:14,811 - DEBUG - VM ctest-TestBasicPolicy-45644759-98388358 ID is 5619b92e-e03a-42b9-ad8e-b95fab9421b6 2025-12-29 02:10:14,831 - DEBUG - VM ctest-TestBasicPolicy-45644759-98388358 launched on Node cn-jenkins-deploy-platform-ansible-os-4930-1 2025-12-29 02:10:14,930 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/5619b92e-e03a-42b9-ad8e-b95fab9421b6 2025-12-29 02:10:14,940 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/e0e175bd-6335-4712-8845-0901cc3c6739 2025-12-29 02:10:18,215 - 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 1029ms') 2025-12-29 02:10:18,216 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-45644759-98388358 failed! 2025-12-29 02:10:18,277 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-45644759:ctest-vn-66201928 is 91.87.86.129 and allocation pool is NOT set 2025-12-29 02:10:20,334 - 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=5.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.446 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.446/3.189/5.932/2.743 ms') 2025-12-29 02:10:20,334 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-45644759-98388358 passed 2025-12-29 02:10:20,485 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 02:10:20,485 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45644759-98388358, IP 91.87.86.131, Port 22 2025-12-29 02:10:20,656 - DEBUG - VM ctest-TestBasicPolicy-45644759-98388358 is ready for SSH connections 2025-12-29 02:10:20,656 - INFO - Waiting for VM ctest-TestBasicPolicy-45644759-32275153 to be up.. 2025-12-29 02:10:20,758 - DEBUG - VM is in ACTIVE state now 2025-12-29 02:10:20,758 - INFO - VM name : ctest-TestBasicPolicy-45644759-32275153 2025-12-29 02:10:20,867 - DEBUG - VM ctest-TestBasicPolicy-45644759-32275153 ID is 1065cf5c-ff62-4f70-ba3e-370560a780c4 2025-12-29 02:10:20,868 - DEBUG - VM ctest-TestBasicPolicy-45644759-32275153 launched on Node cn-jenkins-deploy-platform-ansible-os-4930-1 2025-12-29 02:10:20,956 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/1065cf5c-ff62-4f70-ba3e-370560a780c4 2025-12-29 02:10:20,965 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/7bf7554a-754a-493c-83d4-9f96f515f60e 2025-12-29 02:10:22,212 - 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=5.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.895 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.895/3.295/5.696/2.400 ms') 2025-12-29 02:10:22,213 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-45644759-32275153 passed 2025-12-29 02:10:22,365 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 02:10:22,365 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45644759-32275153, IP 107.123.55.67, Port 22 2025-12-29 02:10:22,520 - DEBUG - VM ctest-TestBasicPolicy-45644759-32275153 is ready for SSH connections 2025-12-29 02:10:22,520 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 02:10:22,521 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 107.123.55.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-12-29 02:10:22,521 - DEBUG - ping -s 56 -c 3 -W 1 107.123.55.67 2025-12-29 02:10:26,670 - DEBUG - PING 107.123.55.67 (107.123.55.67): 56 data bytes 64 bytes from 107.123.55.67: seq=0 ttl=63 time=3.675 ms 64 bytes from 107.123.55.67: seq=1 ttl=63 time=0.883 ms 64 bytes from 107.123.55.67: seq=2 ttl=63 time=1.052 ms --- 107.123.55.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.883/1.870/3.675 ms 2025-12-29 02:10:26,670 - INFO - Ping to IP 107.123.55.67 from VM ctest-TestBasicPolicy-45644759-98388358 passed 2025-12-29 02:10:26,857 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4a1b6552-8ebe-4f8c-b122-d92436886d6e", "href": "http://10.0.0.141:8082/network-policy/4a1b6552-8ebe-4f8c-b122-d92436886d6e"}} 2025-12-29 02:10:26,857 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 02:10:26,857 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 107.123.55.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-12-29 02:10:26,857 - DEBUG - ping -s 56 -c 3 -W 1 107.123.55.67 2025-12-29 02:10:30,113 - DEBUG - PING 107.123.55.67 (107.123.55.67): 56 data bytes --- 107.123.55.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-29 02:10:30,113 - WARNING - Ping to IP 107.123.55.67 from VM ctest-TestBasicPolicy-45644759-98388358 failed 2025-12-29 02:10:30,113 - INFO - Deleting VM ctest-TestBasicPolicy-45644759-32275153 2025-12-29 02:10:30,196 - INFO - Deleting VM ctest-TestBasicPolicy-45644759-98388358 2025-12-29 02:10:30,604 - INFO - Deleted policy ctest-policy-allow-all-00204468 2025-12-29 02:10:30,605 - INFO - Deleting VN ctest-vn-80147737 2025-12-29 02:10:30,650 - DEBUG - VN e8ff9ae2-9d8e-4aa3-aace-3b57fc4e331a still in use: Unable to complete operation on network e8ff9ae2-9d8e-4aa3-aace-3b57fc4e331a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ef44ab7a-de8b-4f2e-81b2-762ca58953cb'] 2025-12-29 02:10:30,650 - WARNING - Deleting VN ctest-vn-80147737 failed..Will retry 2025-12-29 02:10:32,787 - DEBUG - Response for deleting network () 2025-12-29 02:10:32,787 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/67de0713-60b4-4c54-8d18-c95ddf8d515c 2025-12-29 02:10:32,793 - DEBUG - Response Code: 404 2025-12-29 02:10:32,793 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-12-29 02:10:32,800 - DEBUG - Requesting: http://10.0.0.141:8082/domain/45512d6d-640d-4445-9cd5-76be0ff0d521 2025-12-29 02:10:32,857 - DEBUG - Requesting: http://10.0.0.141:8082/project/35b9b6ba-af4d-443d-a6ee-b1d17abf2acf 2025-12-29 02:10:32,930 - INFO - Validated that VN ctest-vn-80147737 is not found in API Server 2025-12-29 02:10:32,940 - DEBUG - VN ctest-vn-80147737 is not present in Agent 10.0.0.141 2025-12-29 02:10:32,940 - INFO - Validated that VN ctest-vn-80147737 is not in any agent 2025-12-29 02:10:32,955 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-80147737 info 2025-12-29 02:10:32,956 - INFO - Deleting VN ctest-vn-66201928 2025-12-29 02:10:33,063 - DEBUG - Response for deleting network () 2025-12-29 02:10:33,063 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/1139bd23-ba8c-4994-a916-d705f72b70f6 2025-12-29 02:10:33,070 - DEBUG - Response Code: 404 2025-12-29 02:10:33,070 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-12-29 02:10:33,076 - DEBUG - Requesting: http://10.0.0.141:8082/domain/45512d6d-640d-4445-9cd5-76be0ff0d521 2025-12-29 02:10:33,131 - DEBUG - Requesting: http://10.0.0.141:8082/project/35b9b6ba-af4d-443d-a6ee-b1d17abf2acf 2025-12-29 02:10:33,203 - INFO - Validated that VN ctest-vn-66201928 is not found in API Server 2025-12-29 02:10:33,213 - DEBUG - VN ctest-vn-66201928 is not present in Agent 10.0.0.141 2025-12-29 02:10:33,213 - INFO - Validated that VN ctest-vn-66201928 is not in any agent 2025-12-29 02:10:33,227 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-66201928 info 2025-12-29 02:10:33,485 - DEBUG - No XMPP flaps were noticed during the test
2025-12-29 02:10:33,485 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-12-29 02:10:33,485 - INFO - -------------------------------------------------------------------------------- 2025-12-29 02:10:34,208 - INFO - Deleted project: ctest-TestBasicPolicy-45644759, ID : 35b9b6ba-af4d-443d-a6ee-b1d17abf2acf