2025-09-15 11:26:59,314 - INFO - Domain Default found not creating 2025-09-15 11:27:00,120 - INFO - Project ctest-TestBasicPolicy-08284430 not found, creating it 2025-09-15 11:27:00,603 - INFO - Created Project:ctest-TestBasicPolicy-08284430, ID : d78106f7-2a3b-47ec-9aeb-ff2119409327 2025-09-15 11:27:02,066 - INFO - ================================================================================ 2025-09-15 11:27:02,066 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-15 11:27:02,067 - 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-09-15 11:27:02,333 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with 2025-09-15 11:27:02,333 - INFO - Initial checks done. Running the testcase now 2025-09-15 11:27:02,333 - INFO - 2025-09-15 11:27:02,908 - DEBUG - Response for create_network : {'network': {'id': '5a0b9292-93f2-4f20-920c-72c7132f07b2', 'name': 'ctest-vn-19518438', 'tenant_id': 'd78106f72a3b47ec9aebff2119409327', 'project_id': 'd78106f72a3b47ec9aebff2119409327', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08284430', 'ctest-vn-19518438'], 'port_security_enabled': True, 'description': ''}} 2025-09-15 11:27:03,130 - DEBUG - Response for create_subnet : {'subnet': {'id': '498df5aa-31f4-404e-9c71-fcc7ee843934', 'name': '', 'tenant_id': 'd78106f72a3b47ec9aebff2119409327', 'network_id': '5a0b9292-93f2-4f20-920c-72c7132f07b2', 'ip_version': 4, 'cidr': '45.14.222.0/26', 'allocation_pools': [{'start': '45.14.222.2', 'end': '45.14.222.62'}], 'gateway_ip': '45.14.222.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.14.222.2', 'tags': [], 'project_id': 'd78106f72a3b47ec9aebff2119409327'}} 2025-09-15 11:27:03,149 - INFO - Created VN ctest-vn-19518438 2025-09-15 11:27:03,201 - DEBUG - VN ctest-vn-19518438 UUID is 5a0b9292-93f2-4f20-920c-72c7132f07b2 2025-09-15 11:27:03,493 - DEBUG - Response for create_network : {'network': {'id': 'a868480f-f34b-40fb-a735-909c6c3dfc2b', 'name': 'ctest-vn-13047191', 'tenant_id': 'd78106f72a3b47ec9aebff2119409327', 'project_id': 'd78106f72a3b47ec9aebff2119409327', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08284430', 'ctest-vn-13047191'], 'port_security_enabled': True, 'description': ''}} 2025-09-15 11:27:03,660 - DEBUG - Response for create_subnet : {'subnet': {'id': '1d553626-844d-4c5d-b753-39597043853e', 'name': '', 'tenant_id': 'd78106f72a3b47ec9aebff2119409327', 'network_id': 'a868480f-f34b-40fb-a735-909c6c3dfc2b', 'ip_version': 4, 'cidr': '213.189.159.0/26', 'allocation_pools': [{'start': '213.189.159.2', 'end': '213.189.159.62'}], 'gateway_ip': '213.189.159.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '213.189.159.2', 'tags': [], 'project_id': 'd78106f72a3b47ec9aebff2119409327'}} 2025-09-15 11:27:03,679 - INFO - Created VN ctest-vn-13047191 2025-09-15 11:27:03,732 - DEBUG - VN ctest-vn-13047191 UUID is a868480f-f34b-40fb-a735-909c6c3dfc2b 2025-09-15 11:27:03,888 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-08284430:ctest-vn-19518438, 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-08284430:ctest-vn-13047191, 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-09-15 11:27:04,202 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5a0b9292-93f2-4f20-920c-72c7132f07b2', 'name': 'ctest-vn-19518438', 'tenant_id': 'd78106f72a3b47ec9aebff2119409327', 'project_id': 'd78106f72a3b47ec9aebff2119409327', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['498df5aa-31f4-404e-9c71-fcc7ee843934'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08284430', 'ctest-vn-19518438'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-08284430', 'ctest-policy-allow-all-94115817']], 'subnet_ipam': [{'subnet_cidr': '45.14.222.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-15 11:27:04,458 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a868480f-f34b-40fb-a735-909c6c3dfc2b', 'name': 'ctest-vn-13047191', 'tenant_id': 'd78106f72a3b47ec9aebff2119409327', 'project_id': 'd78106f72a3b47ec9aebff2119409327', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1d553626-844d-4c5d-b753-39597043853e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08284430', 'ctest-vn-13047191'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-08284430', 'ctest-policy-allow-all-94115817']], 'subnet_ipam': [{'subnet_cidr': '213.189.159.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-15 11:27:04,617 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-09-15 11:27:04,937 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-09-15 11:27:04,972 - DEBUG - Requesting: http://10.0.0.242:8082/domain/95733b59-5db3-40c1-8907-b12429d7c0e9 2025-09-15 11:27:04,986 - DEBUG - Requesting: http://10.0.0.242:8082/project/d78106f7-2a3b-47ec-9aeb-ff2119409327 2025-09-15 11:27:05,074 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/5a0b9292-93f2-4f20-920c-72c7132f07b2 2025-09-15 11:27:05,088 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/5a0b9292-93f2-4f20-920c-72c7132f07b2 2025-09-15 11:27:05,100 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/eed87032-9eeb-4490-9e45-ba44cccdb2fe 2025-09-15 11:27:05,110 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/eed87032-9eeb-4490-9e45-ba44cccdb2fe 2025-09-15 11:27:05,119 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/627b595b-2008-464e-90fb-0b5b300aa6ba 2025-09-15 11:27:05,130 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-15 11:27:05,130 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/5a0b9292-93f2-4f20-920c-72c7132f07b2 2025-09-15 11:27:05,143 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/eed87032-9eeb-4490-9e45-ba44cccdb2fe 2025-09-15 11:27:05,165 - INFO - Verified VN network id 11 for VN 5a0b9292-93f2-4f20-920c-72c7132f07b2 2025-09-15 11:27:05,165 - INFO - Verifications in API Server for VN ctest-vn-19518438 passed 2025-09-15 11:27:05,165 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/5a0b9292-93f2-4f20-920c-72c7132f07b2 2025-09-15 11:27:05,177 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/eed87032-9eeb-4490-9e45-ba44cccdb2fe 2025-09-15 11:27:05,187 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/eed87032-9eeb-4490-9e45-ba44cccdb2fe 2025-09-15 11:27:05,196 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/627b595b-2008-464e-90fb-0b5b300aa6ba 2025-09-15 11:27:05,214 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-08284430:ctest-vn-19518438', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-08284430', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6488440846402342688', 'uuid-lslong': '10523912628603914162'}, 'enable': 'true', 'created': '2025-09-15T11:27:02', 'last-modified': '2025-09-15T11:27:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.039200'} 2025-09-15 11:27:05,221 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-15 11:27:05,221 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-19518438 passed 2025-09-15 11:27:05,221 - DEBUG - ====Verifying policy data for ctest-vn-19518438 in API_Server ====== 2025-09-15 11:27:05,222 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-09-15 11:27:05,228 - DEBUG - Requesting: http://10.0.0.242:8082/domain/95733b59-5db3-40c1-8907-b12429d7c0e9 2025-09-15 11:27:05,245 - DEBUG - Requesting: http://10.0.0.242:8082/project/d78106f7-2a3b-47ec-9aeb-ff2119409327 2025-09-15 11:27:05,334 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/5a0b9292-93f2-4f20-920c-72c7132f07b2 2025-09-15 11:27:05,348 - DEBUG - ==>Verifying data for policy with id: 2553ec1a-c938-48e4-8f26-749bf9170d8d, fqn: ['default-domain', 'ctest-TestBasicPolicy-08284430', 'ctest-policy-allow-all-94115817'] 2025-09-15 11:27:05,348 - INFO - VN ctest-vn-19518438 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-15 11:27:05,348 - DEBUG - Verifying the vn in opserver 2025-09-15 11:27:05,348 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-08284430:ctest-vn-19518438 virtual network link through opserver 10.0.0.242 2025-09-15 11:27:05,348 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-09-15 11:27:05,684 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-09-15 11:27:05,761 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-08284430:ctest-vn-19518438', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-08284430:ctest-vn-19518438?flat'} 2025-09-15 11:27:05,761 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-08284430:ctest-vn-19518438 is found in opserver 2025-09-15 11:27:05,774 - DEBUG - Do not have enough data to verify VN in agent 2025-09-15 11:27:05,781 - DEBUG - VRF ids for VN ctest-vn-19518438: {} 2025-09-15 11:27:05,781 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-09-15 11:27:05,788 - DEBUG - Requesting: http://10.0.0.242:8082/domain/95733b59-5db3-40c1-8907-b12429d7c0e9 2025-09-15 11:27:05,803 - DEBUG - Requesting: http://10.0.0.242:8082/project/d78106f7-2a3b-47ec-9aeb-ff2119409327 2025-09-15 11:27:05,881 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a868480f-f34b-40fb-a735-909c6c3dfc2b 2025-09-15 11:27:05,896 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a868480f-f34b-40fb-a735-909c6c3dfc2b 2025-09-15 11:27:05,907 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/30cc379a-a598-4b74-91cf-1993bfc81c90 2025-09-15 11:27:05,916 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/30cc379a-a598-4b74-91cf-1993bfc81c90 2025-09-15 11:27:05,925 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/2a39b7d6-389a-419c-98b6-dcd5e8a54292 2025-09-15 11:27:05,935 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-15 11:27:05,935 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a868480f-f34b-40fb-a735-909c6c3dfc2b 2025-09-15 11:27:05,949 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/30cc379a-a598-4b74-91cf-1993bfc81c90 2025-09-15 11:27:05,970 - INFO - Verified VN network id 12 for VN a868480f-f34b-40fb-a735-909c6c3dfc2b 2025-09-15 11:27:05,971 - INFO - Verifications in API Server for VN ctest-vn-13047191 passed 2025-09-15 11:27:05,971 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a868480f-f34b-40fb-a735-909c6c3dfc2b 2025-09-15 11:27:05,984 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/30cc379a-a598-4b74-91cf-1993bfc81c90 2025-09-15 11:27:05,995 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/30cc379a-a598-4b74-91cf-1993bfc81c90 2025-09-15 11:27:06,005 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/2a39b7d6-389a-419c-98b6-dcd5e8a54292 2025-09-15 11:27:06,022 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-08284430:ctest-vn-13047191', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-08284430', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12135028429293306107', 'uuid-lslong': '12048695379604929579'}, 'enable': 'true', 'created': '2025-09-15T11:27:03', 'last-modified': '2025-09-15T11:27:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.597834'} 2025-09-15 11:27:06,030 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-15 11:27:06,030 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-13047191 passed 2025-09-15 11:27:06,030 - DEBUG - ====Verifying policy data for ctest-vn-13047191 in API_Server ====== 2025-09-15 11:27:06,030 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-09-15 11:27:06,039 - DEBUG - Requesting: http://10.0.0.242:8082/domain/95733b59-5db3-40c1-8907-b12429d7c0e9 2025-09-15 11:27:06,055 - DEBUG - Requesting: http://10.0.0.242:8082/project/d78106f7-2a3b-47ec-9aeb-ff2119409327 2025-09-15 11:27:06,143 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a868480f-f34b-40fb-a735-909c6c3dfc2b 2025-09-15 11:27:06,155 - DEBUG - ==>Verifying data for policy with id: 2553ec1a-c938-48e4-8f26-749bf9170d8d, fqn: ['default-domain', 'ctest-TestBasicPolicy-08284430', 'ctest-policy-allow-all-94115817'] 2025-09-15 11:27:06,155 - INFO - VN ctest-vn-13047191 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-15 11:27:06,155 - DEBUG - Verifying the vn in opserver 2025-09-15 11:27:06,155 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-08284430:ctest-vn-13047191 virtual network link through opserver 10.0.0.242 2025-09-15 11:27:06,155 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-09-15 11:27:06,169 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-08284430:ctest-vn-13047191', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-08284430:ctest-vn-13047191?flat'} 2025-09-15 11:27:06,169 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-08284430:ctest-vn-13047191 is found in opserver 2025-09-15 11:27:06,181 - DEBUG - Do not have enough data to verify VN in agent 2025-09-15 11:27:06,188 - DEBUG - VRF ids for VN ctest-vn-13047191: {} 2025-09-15 11:27:06,281 - DEBUG - Services list from nova: [, , ] 2025-09-15 11:27:07,489 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4114-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4114-1) 2025-09-15 11:27:08,779 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4114-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4114-1) 2025-09-15 11:27:08,779 - INFO - Waiting for VM ctest-TestBasicPolicy-08284430-80339363 to be up.. 2025-09-15 11:27:08,884 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-15 11:27:13,963 - DEBUG - VM is in ACTIVE state now 2025-09-15 11:27:13,963 - INFO - VM name : ctest-TestBasicPolicy-08284430-80339363 2025-09-15 11:27:14,037 - DEBUG - VM ctest-TestBasicPolicy-08284430-80339363 ID is d6ccd7fe-aaf7-4e39-b008-13d59a6f1038 2025-09-15 11:27:14,054 - DEBUG - VM ctest-TestBasicPolicy-08284430-80339363 launched on Node cn-jenkins-deploy-platform-ansible-os-4114-1 2025-09-15 11:27:14,123 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/d6ccd7fe-aaf7-4e39-b008-13d59a6f1038 2025-09-15 11:27:14,133 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/9a2e624b-1355-4112-974c-2e6a78e75c76 2025-09-15 11:27:17,392 - 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 1016ms') 2025-09-15 11:27:17,392 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-08284430-80339363 failed! 2025-09-15 11:27:17,449 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-08284430:ctest-vn-19518438 is 45.14.222.1 and allocation pool is NOT set 2025-09-15 11:27:19,512 - 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=13.8 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.952 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.952/7.384/13.816/6.432 ms') 2025-09-15 11:27:19,513 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-08284430-80339363 passed 2025-09-15 11:27:19,664 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 11:27:19,665 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-08284430-80339363, IP 45.14.222.3, Port 22 2025-09-15 11:27:19,830 - DEBUG - VM ctest-TestBasicPolicy-08284430-80339363 is ready for SSH connections 2025-09-15 11:27:19,831 - INFO - Waiting for VM ctest-TestBasicPolicy-08284430-20034801 to be up.. 2025-09-15 11:27:19,910 - DEBUG - VM is in ACTIVE state now 2025-09-15 11:27:19,910 - INFO - VM name : ctest-TestBasicPolicy-08284430-20034801 2025-09-15 11:27:19,988 - DEBUG - VM ctest-TestBasicPolicy-08284430-20034801 ID is 37b2f4f4-7d49-45f5-88be-dc0206359894 2025-09-15 11:27:19,988 - DEBUG - VM ctest-TestBasicPolicy-08284430-20034801 launched on Node cn-jenkins-deploy-platform-ansible-os-4114-1 2025-09-15 11:27:20,072 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/37b2f4f4-7d49-45f5-88be-dc0206359894 2025-09-15 11:27:20,081 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/9056f99c-06fa-4e70-8b04-fa09bb0136b8 2025-09-15 11:27:21,326 - 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=3.52 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.935 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.935/2.229/3.524/1.294 ms') 2025-09-15 11:27:21,326 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-08284430-20034801 passed 2025-09-15 11:27:21,480 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 11:27:21,481 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-08284430-20034801, IP 213.189.159.3, Port 22 2025-09-15 11:27:21,636 - DEBUG - VM ctest-TestBasicPolicy-08284430-20034801 is ready for SSH connections 2025-09-15 11:27:21,636 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 11:27:21,636 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.189.159.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-09-15 11:27:21,636 - DEBUG - ping -s 56 -c 3 -W 1 213.189.159.3 2025-09-15 11:27:25,684 - DEBUG - PING 213.189.159.3 (213.189.159.3): 56 data bytes 64 bytes from 213.189.159.3: seq=0 ttl=63 time=3.514 ms 64 bytes from 213.189.159.3: seq=1 ttl=63 time=1.046 ms 64 bytes from 213.189.159.3: seq=2 ttl=63 time=1.561 ms --- 213.189.159.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.046/2.040/3.514 ms 2025-09-15 11:27:25,684 - INFO - Ping to IP 213.189.159.3 from VM ctest-TestBasicPolicy-08284430-80339363 passed 2025-09-15 11:27:25,860 - DEBUG - Policy Update Response {"network-policy": {"uuid": "2553ec1a-c938-48e4-8f26-749bf9170d8d", "href": "http://10.0.0.242:8082/network-policy/2553ec1a-c938-48e4-8f26-749bf9170d8d"}} 2025-09-15 11:27:25,861 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 11:27:25,861 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.189.159.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-09-15 11:27:25,861 - DEBUG - ping -s 56 -c 3 -W 1 213.189.159.3 2025-09-15 11:27:29,087 - DEBUG - PING 213.189.159.3 (213.189.159.3): 56 data bytes --- 213.189.159.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-15 11:27:29,088 - WARNING - Ping to IP 213.189.159.3 from VM ctest-TestBasicPolicy-08284430-80339363 failed 2025-09-15 11:27:29,088 - INFO - Deleting VM ctest-TestBasicPolicy-08284430-20034801 2025-09-15 11:27:29,158 - INFO - Deleting VM ctest-TestBasicPolicy-08284430-80339363 2025-09-15 11:27:29,536 - INFO - Deleted policy ctest-policy-allow-all-94115817 2025-09-15 11:27:29,536 - INFO - Deleting VN ctest-vn-13047191 2025-09-15 11:27:29,570 - DEBUG - VN a868480f-f34b-40fb-a735-909c6c3dfc2b still in use: Unable to complete operation on network a868480f-f34b-40fb-a735-909c6c3dfc2b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f40dd8e3-f773-456b-af29-a95ff7c9979d'] 2025-09-15 11:27:29,571 - WARNING - Deleting VN ctest-vn-13047191 failed..Will retry 2025-09-15 11:27:31,684 - DEBUG - Response for deleting network () 2025-09-15 11:27:31,684 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/30cc379a-a598-4b74-91cf-1993bfc81c90 2025-09-15 11:27:31,689 - DEBUG - Response Code: 404 2025-09-15 11:27:31,689 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-09-15 11:27:31,694 - DEBUG - Requesting: http://10.0.0.242:8082/domain/95733b59-5db3-40c1-8907-b12429d7c0e9 2025-09-15 11:27:31,749 - DEBUG - Requesting: http://10.0.0.242:8082/project/d78106f7-2a3b-47ec-9aeb-ff2119409327 2025-09-15 11:27:31,826 - INFO - Validated that VN ctest-vn-13047191 is not found in API Server 2025-09-15 11:27:31,837 - DEBUG - VN ctest-vn-13047191 is not present in Agent 10.0.0.242 2025-09-15 11:27:31,837 - INFO - Validated that VN ctest-vn-13047191 is not in any agent 2025-09-15 11:27:31,850 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-13047191 info 2025-09-15 11:27:31,850 - INFO - Deleting VN ctest-vn-19518438 2025-09-15 11:27:31,972 - DEBUG - Response for deleting network () 2025-09-15 11:27:31,972 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/eed87032-9eeb-4490-9e45-ba44cccdb2fe 2025-09-15 11:27:31,980 - DEBUG - Response Code: 404 2025-09-15 11:27:31,980 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-09-15 11:27:31,985 - DEBUG - Requesting: http://10.0.0.242:8082/domain/95733b59-5db3-40c1-8907-b12429d7c0e9 2025-09-15 11:27:32,038 - DEBUG - Requesting: http://10.0.0.242:8082/project/d78106f7-2a3b-47ec-9aeb-ff2119409327 2025-09-15 11:27:32,106 - INFO - Validated that VN ctest-vn-19518438 is not found in API Server 2025-09-15 11:27:32,116 - DEBUG - VN ctest-vn-19518438 is not present in Agent 10.0.0.242 2025-09-15 11:27:32,116 - INFO - Validated that VN ctest-vn-19518438 is not in any agent 2025-09-15 11:27:32,129 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-19518438 info 2025-09-15 11:27:32,382 - DEBUG - No XMPP flaps were noticed during the test 2025-09-15 11:27:32,382 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-09-15 11:27:32,382 - INFO - -------------------------------------------------------------------------------- 2025-09-15 11:27:33,051 - INFO - Deleted project: ctest-TestBasicPolicy-08284430, ID : d78106f7-2a3b-47ec-9aeb-ff2119409327