2025-10-09 02:01:27,799 - INFO - Domain Default found not creating 2025-10-09 02:01:27,933 - INFO - Project ctest-TestBasicPolicy-96809937 not found, creating it 2025-10-09 02:01:28,383 - INFO - Created Project:ctest-TestBasicPolicy-96809937, ID : 918421cd-4120-4d37-92ca-b12789b43e6f 2025-10-09 02:01:29,757 - INFO - ================================================================================ 2025-10-09 02:01:29,757 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-09 02:01:29,757 - 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-09 02:01:30,012 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-10-09 02:01:30,012 - INFO - Initial checks done. Running the testcase now 2025-10-09 02:01:30,012 - INFO - 2025-10-09 02:01:30,535 - DEBUG - Response for create_network : {'network': {'id': '6f280651-ccbe-4b53-98f7-2d8a9da64a27', 'name': 'ctest-vn-10531359', 'tenant_id': '918421cd41204d3792cab12789b43e6f', 'project_id': '918421cd41204d3792cab12789b43e6f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96809937', 'ctest-vn-10531359'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 02:01:30,730 - DEBUG - Response for create_subnet : {'subnet': {'id': 'edb1d6ac-a405-48fe-aa6c-4c1c924af133', 'name': '', 'tenant_id': '918421cd41204d3792cab12789b43e6f', 'network_id': '6f280651-ccbe-4b53-98f7-2d8a9da64a27', 'ip_version': 4, 'cidr': '118.247.36.0/26', 'allocation_pools': [{'start': '118.247.36.2', 'end': '118.247.36.62'}], 'gateway_ip': '118.247.36.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.247.36.2', 'tags': [], 'project_id': '918421cd41204d3792cab12789b43e6f'}} 2025-10-09 02:01:30,746 - INFO - Created VN ctest-vn-10531359 2025-10-09 02:01:30,801 - DEBUG - VN ctest-vn-10531359 UUID is 6f280651-ccbe-4b53-98f7-2d8a9da64a27 2025-10-09 02:01:31,136 - DEBUG - Response for create_network : {'network': {'id': '65b0e6a4-f67d-4e3b-9fa1-4d34c308ab63', 'name': 'ctest-vn-80068437', 'tenant_id': '918421cd41204d3792cab12789b43e6f', 'project_id': '918421cd41204d3792cab12789b43e6f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96809937', 'ctest-vn-80068437'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 02:01:31,314 - DEBUG - Response for create_subnet : {'subnet': {'id': '4d64aa86-e44c-4d39-8766-9170438913cc', 'name': '', 'tenant_id': '918421cd41204d3792cab12789b43e6f', 'network_id': '65b0e6a4-f67d-4e3b-9fa1-4d34c308ab63', 'ip_version': 4, 'cidr': '202.69.233.64/26', 'allocation_pools': [{'start': '202.69.233.66', 'end': '202.69.233.126'}], 'gateway_ip': '202.69.233.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '202.69.233.66', 'tags': [], 'project_id': '918421cd41204d3792cab12789b43e6f'}} 2025-10-09 02:01:31,332 - INFO - Created VN ctest-vn-80068437 2025-10-09 02:01:31,385 - DEBUG - VN ctest-vn-80068437 UUID is 65b0e6a4-f67d-4e3b-9fa1-4d34c308ab63 2025-10-09 02:01:31,537 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-96809937:ctest-vn-10531359, 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-96809937:ctest-vn-80068437, 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-09 02:01:31,825 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6f280651-ccbe-4b53-98f7-2d8a9da64a27', 'name': 'ctest-vn-10531359', 'tenant_id': '918421cd41204d3792cab12789b43e6f', 'project_id': '918421cd41204d3792cab12789b43e6f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['edb1d6ac-a405-48fe-aa6c-4c1c924af133'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96809937', 'ctest-vn-10531359'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96809937', 'ctest-policy-allow-all-97668764']], 'subnet_ipam': [{'subnet_cidr': '118.247.36.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-09 02:01:32,048 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '65b0e6a4-f67d-4e3b-9fa1-4d34c308ab63', 'name': 'ctest-vn-80068437', 'tenant_id': '918421cd41204d3792cab12789b43e6f', 'project_id': '918421cd41204d3792cab12789b43e6f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4d64aa86-e44c-4d39-8766-9170438913cc'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96809937', 'ctest-vn-80068437'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96809937', 'ctest-policy-allow-all-97668764']], 'subnet_ipam': [{'subnet_cidr': '202.69.233.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-09 02:01:32,197 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-09 02:01:32,489 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-09 02:01:32,518 - DEBUG - Requesting: http://10.0.0.50:8082/domain/86448381-0e5c-46f2-937e-94571e0d2d9d 2025-10-09 02:01:32,530 - DEBUG - Requesting: http://10.0.0.50:8082/project/918421cd-4120-4d37-92ca-b12789b43e6f 2025-10-09 02:01:32,603 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6f280651-ccbe-4b53-98f7-2d8a9da64a27 2025-10-09 02:01:32,614 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6f280651-ccbe-4b53-98f7-2d8a9da64a27 2025-10-09 02:01:32,623 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0ca21828-dfe6-4184-b5e1-e213d60e2850 2025-10-09 02:01:32,631 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0ca21828-dfe6-4184-b5e1-e213d60e2850 2025-10-09 02:01:32,637 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/996bcbf4-8eba-416a-9726-9d0a8cd41d17 2025-10-09 02:01:32,643 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-09 02:01:32,643 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6f280651-ccbe-4b53-98f7-2d8a9da64a27 2025-10-09 02:01:32,651 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0ca21828-dfe6-4184-b5e1-e213d60e2850 2025-10-09 02:01:32,663 - INFO - Verified VN network id 12 for VN 6f280651-ccbe-4b53-98f7-2d8a9da64a27 2025-10-09 02:01:32,663 - INFO - Verifications in API Server for VN ctest-vn-10531359 passed 2025-10-09 02:01:32,663 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6f280651-ccbe-4b53-98f7-2d8a9da64a27 2025-10-09 02:01:32,672 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0ca21828-dfe6-4184-b5e1-e213d60e2850 2025-10-09 02:01:32,679 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0ca21828-dfe6-4184-b5e1-e213d60e2850 2025-10-09 02:01:32,684 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/996bcbf4-8eba-416a-9726-9d0a8cd41d17 2025-10-09 02:01:32,695 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96809937:ctest-vn-10531359', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96809937', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8009658885675567955', 'uuid-lslong': '11022328686386235943'}, 'enable': 'true', 'created': '2025-10-09T02:01:30', 'last-modified': '2025-10-09T02:01:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.892879'} 2025-10-09 02:01:32,701 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-09 02:01:32,701 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-10531359 passed 2025-10-09 02:01:32,702 - DEBUG - ====Verifying policy data for ctest-vn-10531359 in API_Server ====== 2025-10-09 02:01:32,702 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-09 02:01:32,707 - DEBUG - Requesting: http://10.0.0.50:8082/domain/86448381-0e5c-46f2-937e-94571e0d2d9d 2025-10-09 02:01:32,716 - DEBUG - Requesting: http://10.0.0.50:8082/project/918421cd-4120-4d37-92ca-b12789b43e6f 2025-10-09 02:01:32,783 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6f280651-ccbe-4b53-98f7-2d8a9da64a27 2025-10-09 02:01:32,791 - DEBUG - ==>Verifying data for policy with id: ff112d88-4326-4182-8cfa-6a7bfb36eeeb, fqn: ['default-domain', 'ctest-TestBasicPolicy-96809937', 'ctest-policy-allow-all-97668764'] 2025-10-09 02:01:32,791 - INFO - VN ctest-vn-10531359 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-09 02:01:32,791 - DEBUG - Verifying the vn in opserver 2025-10-09 02:01:32,791 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96809937:ctest-vn-10531359 virtual network link through opserver 10.0.0.50 2025-10-09 02:01:32,792 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-10-09 02:01:33,080 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-10-09 02:01:33,133 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96809937:ctest-vn-10531359', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96809937:ctest-vn-10531359?flat'} 2025-10-09 02:01:33,133 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96809937:ctest-vn-10531359 is found in opserver 2025-10-09 02:01:33,142 - DEBUG - Do not have enough data to verify VN in agent 2025-10-09 02:01:33,147 - DEBUG - VRF ids for VN ctest-vn-10531359: {} 2025-10-09 02:01:33,147 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-09 02:01:33,155 - DEBUG - Requesting: http://10.0.0.50:8082/domain/86448381-0e5c-46f2-937e-94571e0d2d9d 2025-10-09 02:01:33,165 - DEBUG - Requesting: http://10.0.0.50:8082/project/918421cd-4120-4d37-92ca-b12789b43e6f 2025-10-09 02:01:33,239 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/65b0e6a4-f67d-4e3b-9fa1-4d34c308ab63 2025-10-09 02:01:33,250 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/65b0e6a4-f67d-4e3b-9fa1-4d34c308ab63 2025-10-09 02:01:33,261 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b6ce5fc3-3064-4c35-90e0-1ac97acd1d32 2025-10-09 02:01:33,268 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b6ce5fc3-3064-4c35-90e0-1ac97acd1d32 2025-10-09 02:01:33,276 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/be9951ec-8247-4a84-a239-642fc5f8bded 2025-10-09 02:01:33,284 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-09 02:01:33,284 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/65b0e6a4-f67d-4e3b-9fa1-4d34c308ab63 2025-10-09 02:01:33,295 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b6ce5fc3-3064-4c35-90e0-1ac97acd1d32 2025-10-09 02:01:33,310 - INFO - Verified VN network id 13 for VN 65b0e6a4-f67d-4e3b-9fa1-4d34c308ab63 2025-10-09 02:01:33,310 - INFO - Verifications in API Server for VN ctest-vn-80068437 passed 2025-10-09 02:01:33,310 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/65b0e6a4-f67d-4e3b-9fa1-4d34c308ab63 2025-10-09 02:01:33,320 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b6ce5fc3-3064-4c35-90e0-1ac97acd1d32 2025-10-09 02:01:33,327 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b6ce5fc3-3064-4c35-90e0-1ac97acd1d32 2025-10-09 02:01:33,334 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/be9951ec-8247-4a84-a239-642fc5f8bded 2025-10-09 02:01:33,345 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96809937:ctest-vn-80068437', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96809937', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7327610189916229179', 'uuid-lslong': '11502559812286720867'}, 'enable': 'true', 'created': '2025-10-09T02:01:31', 'last-modified': '2025-10-09T02:01:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.318020'} 2025-10-09 02:01:33,351 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-09 02:01:33,351 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-80068437 passed 2025-10-09 02:01:33,351 - DEBUG - ====Verifying policy data for ctest-vn-80068437 in API_Server ====== 2025-10-09 02:01:33,351 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-09 02:01:33,356 - DEBUG - Requesting: http://10.0.0.50:8082/domain/86448381-0e5c-46f2-937e-94571e0d2d9d 2025-10-09 02:01:33,365 - DEBUG - Requesting: http://10.0.0.50:8082/project/918421cd-4120-4d37-92ca-b12789b43e6f 2025-10-09 02:01:33,431 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/65b0e6a4-f67d-4e3b-9fa1-4d34c308ab63 2025-10-09 02:01:33,440 - DEBUG - ==>Verifying data for policy with id: ff112d88-4326-4182-8cfa-6a7bfb36eeeb, fqn: ['default-domain', 'ctest-TestBasicPolicy-96809937', 'ctest-policy-allow-all-97668764'] 2025-10-09 02:01:33,440 - INFO - VN ctest-vn-80068437 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-09 02:01:33,440 - DEBUG - Verifying the vn in opserver 2025-10-09 02:01:33,440 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96809937:ctest-vn-80068437 virtual network link through opserver 10.0.0.50 2025-10-09 02:01:33,440 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-10-09 02:01:33,449 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96809937:ctest-vn-80068437', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96809937:ctest-vn-80068437?flat'} 2025-10-09 02:01:33,449 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96809937:ctest-vn-80068437 is found in opserver 2025-10-09 02:01:33,457 - DEBUG - Do not have enough data to verify VN in agent 2025-10-09 02:01:33,462 - DEBUG - VRF ids for VN ctest-vn-80068437: {} 2025-10-09 02:01:33,519 - DEBUG - Services list from nova: [, , ] 2025-10-09 02:01:34,517 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4251-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4251-1) 2025-10-09 02:01:35,623 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4251-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4251-1) 2025-10-09 02:01:35,623 - INFO - Waiting for VM ctest-TestBasicPolicy-96809937-17982829 to be up.. 2025-10-09 02:01:35,700 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 02:01:40,777 - DEBUG - VM is in ACTIVE state now 2025-10-09 02:01:40,777 - INFO - VM name : ctest-TestBasicPolicy-96809937-17982829 2025-10-09 02:01:40,877 - DEBUG - VM ctest-TestBasicPolicy-96809937-17982829 ID is 07a04718-2db4-4d13-94ad-ff5ed7b98a18 2025-10-09 02:01:40,898 - DEBUG - VM ctest-TestBasicPolicy-96809937-17982829 launched on Node cn-jenkins-deploy-platform-ansible-os-4251-1 2025-10-09 02:01:40,973 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/07a04718-2db4-4d13-94ad-ff5ed7b98a18 2025-10-09 02:01:40,980 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/370877d0-a35b-4433-a7e8-6a5e6b9572ca 2025-10-09 02:01:44,216 - 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-09 02:01:44,216 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-96809937-17982829 failed! 2025-10-09 02:01:44,273 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-96809937:ctest-vn-10531359 is 118.247.36.1 and allocation pool is NOT set 2025-10-09 02:01:46,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=4.90 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.458 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.458/2.676/4.895/2.218 ms') 2025-10-09 02:01:46,334 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-96809937-17982829 passed 2025-10-09 02:01:46,481 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 02:01:46,482 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-96809937-17982829, IP 118.247.36.3, Port 22 2025-10-09 02:01:46,637 - DEBUG - VM ctest-TestBasicPolicy-96809937-17982829 is ready for SSH connections 2025-10-09 02:01:46,638 - INFO - Waiting for VM ctest-TestBasicPolicy-96809937-18488850 to be up.. 2025-10-09 02:01:46,717 - DEBUG - VM is in ACTIVE state now 2025-10-09 02:01:46,717 - INFO - VM name : ctest-TestBasicPolicy-96809937-18488850 2025-10-09 02:01:46,783 - DEBUG - VM ctest-TestBasicPolicy-96809937-18488850 ID is 884a95f6-791c-41c2-86d6-287287cc15b8 2025-10-09 02:01:46,784 - DEBUG - VM ctest-TestBasicPolicy-96809937-18488850 launched on Node cn-jenkins-deploy-platform-ansible-os-4251-1 2025-10-09 02:01:46,848 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/884a95f6-791c-41c2-86d6-287287cc15b8 2025-10-09 02:01:46,855 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/7e136fd9-2d81-4b5c-b684-08f7e60a5633 2025-10-09 02:01:48,087 - 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=0.433 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.433/1.596/2.759/1.163 ms') 2025-10-09 02:01:48,087 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-96809937-18488850 passed 2025-10-09 02:01:48,237 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 02:01:48,237 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-96809937-18488850, IP 202.69.233.67, Port 22 2025-10-09 02:01:48,397 - DEBUG - VM ctest-TestBasicPolicy-96809937-18488850 is ready for SSH connections 2025-10-09 02:01:48,397 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 02:01:48,397 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 202.69.233.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-09 02:01:48,397 - DEBUG - ping -s 56 -c 3 -W 1 202.69.233.67 2025-10-09 02:01:52,437 - DEBUG - PING 202.69.233.67 (202.69.233.67): 56 data bytes 64 bytes from 202.69.233.67: seq=0 ttl=63 time=3.016 ms 64 bytes from 202.69.233.67: seq=1 ttl=63 time=0.857 ms 64 bytes from 202.69.233.67: seq=2 ttl=63 time=1.243 ms --- 202.69.233.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.857/1.705/3.016 ms 2025-10-09 02:01:52,437 - INFO - Ping to IP 202.69.233.67 from VM ctest-TestBasicPolicy-96809937-17982829 passed 2025-10-09 02:01:52,621 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ff112d88-4326-4182-8cfa-6a7bfb36eeeb", "href": "http://10.0.0.50:8082/network-policy/ff112d88-4326-4182-8cfa-6a7bfb36eeeb"}} 2025-10-09 02:01:52,621 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 02:01:52,621 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 202.69.233.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-09 02:01:52,622 - DEBUG - ping -s 56 -c 3 -W 1 202.69.233.67 2025-10-09 02:01:55,836 - DEBUG - PING 202.69.233.67 (202.69.233.67): 56 data bytes --- 202.69.233.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-09 02:01:55,837 - WARNING - Ping to IP 202.69.233.67 from VM ctest-TestBasicPolicy-96809937-17982829 failed 2025-10-09 02:01:55,837 - INFO - Deleting VM ctest-TestBasicPolicy-96809937-18488850 2025-10-09 02:01:55,905 - INFO - Deleting VM ctest-TestBasicPolicy-96809937-17982829 2025-10-09 02:01:56,299 - INFO - Deleted policy ctest-policy-allow-all-97668764 2025-10-09 02:01:56,299 - INFO - Deleting VN ctest-vn-80068437 2025-10-09 02:01:56,338 - DEBUG - VN 65b0e6a4-f67d-4e3b-9fa1-4d34c308ab63 still in use: Unable to complete operation on network 65b0e6a4-f67d-4e3b-9fa1-4d34c308ab63. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4dfc9586-3667-4a69-8bcb-0b2c5d9a4a23'] 2025-10-09 02:01:56,339 - WARNING - Deleting VN ctest-vn-80068437 failed..Will retry 2025-10-09 02:01:58,443 - DEBUG - Response for deleting network () 2025-10-09 02:01:58,443 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b6ce5fc3-3064-4c35-90e0-1ac97acd1d32 2025-10-09 02:01:58,448 - DEBUG - Response Code: 404 2025-10-09 02:01:58,448 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-09 02:01:58,452 - DEBUG - Requesting: http://10.0.0.50:8082/domain/86448381-0e5c-46f2-937e-94571e0d2d9d 2025-10-09 02:01:58,507 - DEBUG - Requesting: http://10.0.0.50:8082/project/918421cd-4120-4d37-92ca-b12789b43e6f 2025-10-09 02:01:58,573 - INFO - Validated that VN ctest-vn-80068437 is not found in API Server 2025-10-09 02:01:58,584 - DEBUG - VN ctest-vn-80068437 is not present in Agent 10.0.0.50 2025-10-09 02:01:58,584 - INFO - Validated that VN ctest-vn-80068437 is not in any agent 2025-10-09 02:01:58,596 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-80068437 info 2025-10-09 02:01:58,596 - INFO - Deleting VN ctest-vn-10531359 2025-10-09 02:01:58,726 - DEBUG - Response for deleting network () 2025-10-09 02:01:58,726 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0ca21828-dfe6-4184-b5e1-e213d60e2850 2025-10-09 02:01:58,735 - DEBUG - Response Code: 404 2025-10-09 02:01:58,735 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-09 02:01:58,741 - DEBUG - Requesting: http://10.0.0.50:8082/domain/86448381-0e5c-46f2-937e-94571e0d2d9d 2025-10-09 02:01:58,795 - DEBUG - Requesting: http://10.0.0.50:8082/project/918421cd-4120-4d37-92ca-b12789b43e6f 2025-10-09 02:01:58,872 - INFO - Validated that VN ctest-vn-10531359 is not found in API Server 2025-10-09 02:01:58,883 - DEBUG - VN ctest-vn-10531359 is not present in Agent 10.0.0.50 2025-10-09 02:01:58,883 - INFO - Validated that VN ctest-vn-10531359 is not in any agent 2025-10-09 02:01:58,898 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-10531359 info 2025-10-09 02:01:59,155 - DEBUG - No XMPP flaps were noticed during the test 2025-10-09 02:01:59,155 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-10-09 02:01:59,155 - INFO - -------------------------------------------------------------------------------- 2025-10-09 02:01:59,812 - INFO - Deleted project: ctest-TestBasicPolicy-96809937, ID : 918421cd-4120-4d37-92ca-b12789b43e6f