2025-10-24 13:20:30,672 - INFO - Domain Default found not creating 2025-10-24 13:20:30,812 - INFO - Project ctest-TestBasicPolicy-69050350 not found, creating it 2025-10-24 13:20:31,232 - INFO - Created Project:ctest-TestBasicPolicy-69050350, ID : 1ecfd518-48d1-4476-a2aa-e0ac8cb26660 2025-10-24 13:20:32,631 - INFO - ================================================================================ 2025-10-24 13:20:32,632 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-24 13:20:32,632 - 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-24 13:20:32,885 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-24 13:20:32,885 - INFO - Initial checks done. Running the testcase now 2025-10-24 13:20:32,885 - INFO - 2025-10-24 13:20:33,406 - DEBUG - Response for create_network : {'network': {'id': '49d442e8-a7df-4224-a510-98af3b0b9c0f', 'name': 'ctest-vn-19120731', 'tenant_id': '1ecfd51848d14476a2aae0ac8cb26660', 'project_id': '1ecfd51848d14476a2aae0ac8cb26660', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69050350', 'ctest-vn-19120731'], 'port_security_enabled': True, 'description': ''}} 2025-10-24 13:20:33,594 - DEBUG - Response for create_subnet : {'subnet': {'id': '65888a6b-8ab5-4293-8ff2-65a72628fd59', 'name': '', 'tenant_id': '1ecfd51848d14476a2aae0ac8cb26660', 'network_id': '49d442e8-a7df-4224-a510-98af3b0b9c0f', 'ip_version': 4, 'cidr': '52.83.137.192/26', 'allocation_pools': [{'start': '52.83.137.194', 'end': '52.83.137.254'}], 'gateway_ip': '52.83.137.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.83.137.194', 'tags': [], 'project_id': '1ecfd51848d14476a2aae0ac8cb26660'}} 2025-10-24 13:20:33,611 - INFO - Created VN ctest-vn-19120731 2025-10-24 13:20:33,661 - DEBUG - VN ctest-vn-19120731 UUID is 49d442e8-a7df-4224-a510-98af3b0b9c0f 2025-10-24 13:20:33,977 - DEBUG - Response for create_network : {'network': {'id': 'c76e85f3-e9ae-4c75-91ff-fd773bc0757a', 'name': 'ctest-vn-61580086', 'tenant_id': '1ecfd51848d14476a2aae0ac8cb26660', 'project_id': '1ecfd51848d14476a2aae0ac8cb26660', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69050350', 'ctest-vn-61580086'], 'port_security_enabled': True, 'description': ''}} 2025-10-24 13:20:34,191 - DEBUG - Response for create_subnet : {'subnet': {'id': '975fb6ba-367d-4d43-a1bc-d5134cb96794', 'name': '', 'tenant_id': '1ecfd51848d14476a2aae0ac8cb26660', 'network_id': 'c76e85f3-e9ae-4c75-91ff-fd773bc0757a', 'ip_version': 4, 'cidr': '90.237.91.128/26', 'allocation_pools': [{'start': '90.237.91.130', 'end': '90.237.91.190'}], 'gateway_ip': '90.237.91.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.237.91.130', 'tags': [], 'project_id': '1ecfd51848d14476a2aae0ac8cb26660'}} 2025-10-24 13:20:34,208 - INFO - Created VN ctest-vn-61580086 2025-10-24 13:20:34,261 - DEBUG - VN ctest-vn-61580086 UUID is c76e85f3-e9ae-4c75-91ff-fd773bc0757a 2025-10-24 13:20:34,376 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-69050350:ctest-vn-19120731, 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-69050350:ctest-vn-61580086, 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-24 13:20:34,660 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '49d442e8-a7df-4224-a510-98af3b0b9c0f', 'name': 'ctest-vn-19120731', 'tenant_id': '1ecfd51848d14476a2aae0ac8cb26660', 'project_id': '1ecfd51848d14476a2aae0ac8cb26660', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['65888a6b-8ab5-4293-8ff2-65a72628fd59'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69050350', 'ctest-vn-19120731'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-69050350', 'ctest-policy-allow-all-85688384']], 'subnet_ipam': [{'subnet_cidr': '52.83.137.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-24 13:20:34,924 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c76e85f3-e9ae-4c75-91ff-fd773bc0757a', 'name': 'ctest-vn-61580086', 'tenant_id': '1ecfd51848d14476a2aae0ac8cb26660', 'project_id': '1ecfd51848d14476a2aae0ac8cb26660', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['975fb6ba-367d-4d43-a1bc-d5134cb96794'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69050350', 'ctest-vn-61580086'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-69050350', 'ctest-policy-allow-all-85688384']], 'subnet_ipam': [{'subnet_cidr': '90.237.91.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-24 13:20:35,065 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-24 13:20:35,362 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-24 13:20:35,389 - DEBUG - Requesting: http://10.0.0.254:8082/domain/50c900fd-0a35-4530-8cfc-f3f20e598ed1 2025-10-24 13:20:35,400 - DEBUG - Requesting: http://10.0.0.254:8082/project/1ecfd518-48d1-4476-a2aa-e0ac8cb26660 2025-10-24 13:20:35,470 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/49d442e8-a7df-4224-a510-98af3b0b9c0f 2025-10-24 13:20:35,479 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/49d442e8-a7df-4224-a510-98af3b0b9c0f 2025-10-24 13:20:35,487 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/91ec2def-ebfe-4f76-86a1-768c340177af 2025-10-24 13:20:35,493 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/91ec2def-ebfe-4f76-86a1-768c340177af 2025-10-24 13:20:35,498 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/ac41a94f-d5cc-4b8c-a445-001dd1d1f4c3 2025-10-24 13:20:35,504 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-24 13:20:35,504 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/49d442e8-a7df-4224-a510-98af3b0b9c0f 2025-10-24 13:20:35,511 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/91ec2def-ebfe-4f76-86a1-768c340177af 2025-10-24 13:20:35,523 - INFO - Verified VN network id 12 for VN 49d442e8-a7df-4224-a510-98af3b0b9c0f 2025-10-24 13:20:35,523 - INFO - Verifications in API Server for VN ctest-vn-19120731 passed 2025-10-24 13:20:35,523 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/49d442e8-a7df-4224-a510-98af3b0b9c0f 2025-10-24 13:20:35,531 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/91ec2def-ebfe-4f76-86a1-768c340177af 2025-10-24 13:20:35,536 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/91ec2def-ebfe-4f76-86a1-768c340177af 2025-10-24 13:20:35,542 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/ac41a94f-d5cc-4b8c-a445-001dd1d1f4c3 2025-10-24 13:20:35,551 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-69050350:ctest-vn-19120731', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-69050350', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5319950626847670820', 'uuid-lslong': '11894174494262795279'}, 'enable': 'true', 'created': '2025-10-24T13:20:33', 'last-modified': '2025-10-24T13:20:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.913996'} 2025-10-24 13:20:35,557 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-24 13:20:35,557 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-19120731 passed 2025-10-24 13:20:35,557 - DEBUG - ====Verifying policy data for ctest-vn-19120731 in API_Server ====== 2025-10-24 13:20:35,557 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-24 13:20:35,562 - DEBUG - Requesting: http://10.0.0.254:8082/domain/50c900fd-0a35-4530-8cfc-f3f20e598ed1 2025-10-24 13:20:35,571 - DEBUG - Requesting: http://10.0.0.254:8082/project/1ecfd518-48d1-4476-a2aa-e0ac8cb26660 2025-10-24 13:20:35,637 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/49d442e8-a7df-4224-a510-98af3b0b9c0f 2025-10-24 13:20:35,645 - DEBUG - ==>Verifying data for policy with id: b2a933ce-ed9b-4283-bdc1-32b499b24a3c, fqn: ['default-domain', 'ctest-TestBasicPolicy-69050350', 'ctest-policy-allow-all-85688384'] 2025-10-24 13:20:35,645 - INFO - VN ctest-vn-19120731 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-24 13:20:35,645 - DEBUG - Verifying the vn in opserver 2025-10-24 13:20:35,645 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-69050350:ctest-vn-19120731 virtual network link through opserver 10.0.0.254 2025-10-24 13:20:35,646 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-24 13:20:35,936 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-24 13:20:35,989 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-69050350:ctest-vn-19120731', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-69050350:ctest-vn-19120731?flat'} 2025-10-24 13:20:35,989 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-69050350:ctest-vn-19120731 is found in opserver 2025-10-24 13:20:35,999 - DEBUG - Do not have enough data to verify VN in agent 2025-10-24 13:20:36,003 - DEBUG - VRF ids for VN ctest-vn-19120731: {} 2025-10-24 13:20:36,003 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-24 13:20:36,008 - DEBUG - Requesting: http://10.0.0.254:8082/domain/50c900fd-0a35-4530-8cfc-f3f20e598ed1 2025-10-24 13:20:36,019 - DEBUG - Requesting: http://10.0.0.254:8082/project/1ecfd518-48d1-4476-a2aa-e0ac8cb26660 2025-10-24 13:20:36,086 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/c76e85f3-e9ae-4c75-91ff-fd773bc0757a 2025-10-24 13:20:36,096 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/c76e85f3-e9ae-4c75-91ff-fd773bc0757a 2025-10-24 13:20:36,105 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/d7a4c2a4-9032-4541-b7b2-3bccd03da044 2025-10-24 13:20:36,111 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/d7a4c2a4-9032-4541-b7b2-3bccd03da044 2025-10-24 13:20:36,118 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/5b0e3f75-1cf4-48d1-af2a-7d79addcb1f3 2025-10-24 13:20:36,125 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-24 13:20:36,125 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/c76e85f3-e9ae-4c75-91ff-fd773bc0757a 2025-10-24 13:20:36,133 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/d7a4c2a4-9032-4541-b7b2-3bccd03da044 2025-10-24 13:20:36,146 - INFO - Verified VN network id 13 for VN c76e85f3-e9ae-4c75-91ff-fd773bc0757a 2025-10-24 13:20:36,146 - INFO - Verifications in API Server for VN ctest-vn-61580086 passed 2025-10-24 13:20:36,146 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/c76e85f3-e9ae-4c75-91ff-fd773bc0757a 2025-10-24 13:20:36,154 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/d7a4c2a4-9032-4541-b7b2-3bccd03da044 2025-10-24 13:20:36,161 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/d7a4c2a4-9032-4541-b7b2-3bccd03da044 2025-10-24 13:20:36,166 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/5b0e3f75-1cf4-48d1-af2a-7d79addcb1f3 2025-10-24 13:20:36,176 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-69050350:ctest-vn-61580086', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-69050350', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14370570743629892725', 'uuid-lslong': '10520405943106172282'}, 'enable': 'true', 'created': '2025-10-24T13:20:33', 'last-modified': '2025-10-24T13:20:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.317558'} 2025-10-24 13:20:36,181 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-24 13:20:36,182 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-61580086 passed 2025-10-24 13:20:36,182 - DEBUG - ====Verifying policy data for ctest-vn-61580086 in API_Server ====== 2025-10-24 13:20:36,182 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-24 13:20:36,187 - DEBUG - Requesting: http://10.0.0.254:8082/domain/50c900fd-0a35-4530-8cfc-f3f20e598ed1 2025-10-24 13:20:36,200 - DEBUG - Requesting: http://10.0.0.254:8082/project/1ecfd518-48d1-4476-a2aa-e0ac8cb26660 2025-10-24 13:20:36,274 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/c76e85f3-e9ae-4c75-91ff-fd773bc0757a 2025-10-24 13:20:36,284 - DEBUG - ==>Verifying data for policy with id: b2a933ce-ed9b-4283-bdc1-32b499b24a3c, fqn: ['default-domain', 'ctest-TestBasicPolicy-69050350', 'ctest-policy-allow-all-85688384'] 2025-10-24 13:20:36,284 - INFO - VN ctest-vn-61580086 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-24 13:20:36,284 - DEBUG - Verifying the vn in opserver 2025-10-24 13:20:36,284 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-69050350:ctest-vn-61580086 virtual network link through opserver 10.0.0.254 2025-10-24 13:20:36,284 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-24 13:20:36,294 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-69050350:ctest-vn-61580086', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-69050350:ctest-vn-61580086?flat'} 2025-10-24 13:20:36,294 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-69050350:ctest-vn-61580086 is found in opserver 2025-10-24 13:20:36,304 - DEBUG - Do not have enough data to verify VN in agent 2025-10-24 13:20:36,308 - DEBUG - VRF ids for VN ctest-vn-61580086: {} 2025-10-24 13:20:36,370 - DEBUG - Services list from nova: [, , ] 2025-10-24 13:20:37,355 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4476-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4476-1) 2025-10-24 13:20:38,454 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4476-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4476-1) 2025-10-24 13:20:38,454 - INFO - Waiting for VM ctest-TestBasicPolicy-69050350-64850919 to be up.. 2025-10-24 13:20:38,534 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-24 13:20:43,610 - DEBUG - VM is in ACTIVE state now 2025-10-24 13:20:43,610 - INFO - VM name : ctest-TestBasicPolicy-69050350-64850919 2025-10-24 13:20:43,683 - DEBUG - VM ctest-TestBasicPolicy-69050350-64850919 ID is 3530f763-fa60-4f24-b2d3-c9b5ef5a49c7 2025-10-24 13:20:43,701 - DEBUG - VM ctest-TestBasicPolicy-69050350-64850919 launched on Node cn-jenkins-deploy-platform-ansible-os-4476-1 2025-10-24 13:20:43,770 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/3530f763-fa60-4f24-b2d3-c9b5ef5a49c7 2025-10-24 13:20:43,777 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/f7ca379c-1994-4b43-8f33-22b8ad58f430 2025-10-24 13:20:47,011 - 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 1010ms') 2025-10-24 13:20:47,011 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-69050350-64850919 failed! 2025-10-24 13:20:47,069 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-69050350:ctest-vn-19120731 is 52.83.137.193 and allocation pool is NOT set 2025-10-24 13:20:49,142 - 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=2.81 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.53 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 = 2.813/3.173/3.534/0.360 ms') 2025-10-24 13:20:49,143 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-69050350-64850919 passed 2025-10-24 13:20:49,289 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 13:20:49,289 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-69050350-64850919, IP 52.83.137.195, Port 22 2025-10-24 13:20:49,444 - DEBUG - VM ctest-TestBasicPolicy-69050350-64850919 is ready for SSH connections 2025-10-24 13:20:49,444 - INFO - Waiting for VM ctest-TestBasicPolicy-69050350-55579274 to be up.. 2025-10-24 13:20:49,523 - DEBUG - VM is in ACTIVE state now 2025-10-24 13:20:49,523 - INFO - VM name : ctest-TestBasicPolicy-69050350-55579274 2025-10-24 13:20:49,603 - DEBUG - VM ctest-TestBasicPolicy-69050350-55579274 ID is f8e9fd70-67a4-40db-9021-f6cc5c5fa88a 2025-10-24 13:20:49,603 - DEBUG - VM ctest-TestBasicPolicy-69050350-55579274 launched on Node cn-jenkins-deploy-platform-ansible-os-4476-1 2025-10-24 13:20:49,675 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/f8e9fd70-67a4-40db-9021-f6cc5c5fa88a 2025-10-24 13:20:49,683 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/e45ec9d1-fd14-4883-8bf3-3b945deb36fb 2025-10-24 13:20:50,920 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.76 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 = 2.757/2.758/2.759/0.001 ms') 2025-10-24 13:20:50,920 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-69050350-55579274 passed 2025-10-24 13:20:51,073 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 13:20:51,073 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-69050350-55579274, IP 90.237.91.131, Port 22 2025-10-24 13:20:51,224 - DEBUG - VM ctest-TestBasicPolicy-69050350-55579274 is ready for SSH connections 2025-10-24 13:20:51,224 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 13:20:51,224 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 90.237.91.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-24 13:20:51,224 - DEBUG - ping -s 56 -c 3 -W 1 90.237.91.131 2025-10-24 13:20:54,927 - DEBUG - PING 90.237.91.131 (90.237.91.131): 56 data bytes 64 bytes from 90.237.91.131: seq=0 ttl=63 time=3.282 ms 64 bytes from 90.237.91.131: seq=1 ttl=63 time=0.922 ms 64 bytes from 90.237.91.131: seq=2 ttl=63 time=1.028 ms --- 90.237.91.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.922/1.744/3.282 ms 2025-10-24 13:20:54,927 - INFO - Ping to IP 90.237.91.131 from VM ctest-TestBasicPolicy-69050350-64850919 passed 2025-10-24 13:20:55,108 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b2a933ce-ed9b-4283-bdc1-32b499b24a3c", "href": "http://10.0.0.254:8082/network-policy/b2a933ce-ed9b-4283-bdc1-32b499b24a3c"}} 2025-10-24 13:20:55,109 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 13:20:55,109 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 90.237.91.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-24 13:20:55,109 - DEBUG - ping -s 56 -c 3 -W 1 90.237.91.131 2025-10-24 13:20:58,317 - DEBUG - PING 90.237.91.131 (90.237.91.131): 56 data bytes --- 90.237.91.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-24 13:20:58,317 - WARNING - Ping to IP 90.237.91.131 from VM ctest-TestBasicPolicy-69050350-64850919 failed 2025-10-24 13:20:58,317 - INFO - Deleting VM ctest-TestBasicPolicy-69050350-55579274 2025-10-24 13:20:58,387 - INFO - Deleting VM ctest-TestBasicPolicy-69050350-64850919 2025-10-24 13:20:58,794 - INFO - Deleted policy ctest-policy-allow-all-85688384 2025-10-24 13:20:58,794 - INFO - Deleting VN ctest-vn-61580086 2025-10-24 13:20:58,827 - DEBUG - VN c76e85f3-e9ae-4c75-91ff-fd773bc0757a still in use: Unable to complete operation on network c76e85f3-e9ae-4c75-91ff-fd773bc0757a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8dbbb598-c708-44ad-ab80-dfce9b18a763'] 2025-10-24 13:20:58,827 - WARNING - Deleting VN ctest-vn-61580086 failed..Will retry 2025-10-24 13:21:00,963 - DEBUG - Response for deleting network () 2025-10-24 13:21:00,963 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/d7a4c2a4-9032-4541-b7b2-3bccd03da044 2025-10-24 13:21:00,978 - DEBUG - Response Code: 404 2025-10-24 13:21:00,978 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-24 13:21:00,986 - DEBUG - Requesting: http://10.0.0.254:8082/domain/50c900fd-0a35-4530-8cfc-f3f20e598ed1 2025-10-24 13:21:01,043 - DEBUG - Requesting: http://10.0.0.254:8082/project/1ecfd518-48d1-4476-a2aa-e0ac8cb26660 2025-10-24 13:21:01,115 - INFO - Validated that VN ctest-vn-61580086 is not found in API Server 2025-10-24 13:21:01,125 - DEBUG - VN ctest-vn-61580086 is not present in Agent 10.0.0.254 2025-10-24 13:21:01,125 - INFO - Validated that VN ctest-vn-61580086 is not in any agent 2025-10-24 13:21:01,138 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-61580086 info 2025-10-24 13:21:01,138 - INFO - Deleting VN ctest-vn-19120731 2025-10-24 13:21:01,239 - DEBUG - Response for deleting network () 2025-10-24 13:21:01,239 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/91ec2def-ebfe-4f76-86a1-768c340177af 2025-10-24 13:21:01,244 - DEBUG - Response Code: 404 2025-10-24 13:21:01,244 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-24 13:21:01,252 - DEBUG - Requesting: http://10.0.0.254:8082/domain/50c900fd-0a35-4530-8cfc-f3f20e598ed1 2025-10-24 13:21:01,309 - DEBUG - Requesting: http://10.0.0.254:8082/project/1ecfd518-48d1-4476-a2aa-e0ac8cb26660 2025-10-24 13:21:01,379 - INFO - Validated that VN ctest-vn-19120731 is not found in API Server 2025-10-24 13:21:01,389 - DEBUG - VN ctest-vn-19120731 is not present in Agent 10.0.0.254 2025-10-24 13:21:01,389 - INFO - Validated that VN ctest-vn-19120731 is not in any agent 2025-10-24 13:21:01,404 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-19120731 info 2025-10-24 13:21:01,659 - DEBUG - No XMPP flaps were noticed during the test
2025-10-24 13:21:01,659 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-10-24 13:21:01,660 - INFO - -------------------------------------------------------------------------------- 2025-10-24 13:21:02,319 - INFO - Deleted project: ctest-TestBasicPolicy-69050350, ID : 1ecfd518-48d1-4476-a2aa-e0ac8cb26660