2025-04-30 17:49:31,332 - INFO - Domain Default found not creating 2025-04-30 17:49:31,458 - INFO - Project ctest-TestBasicPolicy-48614896 not found, creating it 2025-04-30 17:49:31,885 - INFO - Created Project:ctest-TestBasicPolicy-48614896, ID : 9a88e3a4-a70d-44d7-b3ec-068b0e4dfd24 2025-04-30 17:49:33,223 - INFO - ================================================================================ 2025-04-30 17:49:33,223 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-30 17:49:33,223 - 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-04-30 17:49:33,475 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-04-30 17:49:33,475 - INFO - Initial checks done. Running the testcase now 2025-04-30 17:49:33,475 - INFO - 2025-04-30 17:49:34,073 - DEBUG - Response for create_network : {'network': {'id': '1cc27853-54b4-4ecc-8d5c-78b3ab5d3b8e', 'name': 'ctest-vn-17387429', 'tenant_id': '9a88e3a4a70d44d7b3ec068b0e4dfd24', 'project_id': '9a88e3a4a70d44d7b3ec068b0e4dfd24', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48614896', 'ctest-vn-17387429'], 'port_security_enabled': True, 'description': ''}} 2025-04-30 17:49:34,241 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cca2242d-2a9c-4ed7-9ad4-c826bdf63188', 'name': '', 'tenant_id': '9a88e3a4a70d44d7b3ec068b0e4dfd24', 'network_id': '1cc27853-54b4-4ecc-8d5c-78b3ab5d3b8e', 'ip_version': 4, 'cidr': '142.211.18.192/26', 'allocation_pools': [{'start': '142.211.18.194', 'end': '142.211.18.254'}], 'gateway_ip': '142.211.18.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.211.18.194', 'tags': [], 'project_id': '9a88e3a4a70d44d7b3ec068b0e4dfd24'}} 2025-04-30 17:49:34,257 - INFO - Created VN ctest-vn-17387429 2025-04-30 17:49:34,314 - DEBUG - VN ctest-vn-17387429 UUID is 1cc27853-54b4-4ecc-8d5c-78b3ab5d3b8e 2025-04-30 17:49:34,631 - DEBUG - Response for create_network : {'network': {'id': 'e47cc675-8e69-4e5b-9516-17d04f07b1f7', 'name': 'ctest-vn-34549820', 'tenant_id': '9a88e3a4a70d44d7b3ec068b0e4dfd24', 'project_id': '9a88e3a4a70d44d7b3ec068b0e4dfd24', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48614896', 'ctest-vn-34549820'], 'port_security_enabled': True, 'description': ''}} 2025-04-30 17:49:34,795 - DEBUG - Response for create_subnet : {'subnet': {'id': '373c2b56-e6ef-470d-905a-33a1899533b5', 'name': '', 'tenant_id': '9a88e3a4a70d44d7b3ec068b0e4dfd24', 'network_id': 'e47cc675-8e69-4e5b-9516-17d04f07b1f7', 'ip_version': 4, 'cidr': '53.176.205.192/26', 'allocation_pools': [{'start': '53.176.205.194', 'end': '53.176.205.254'}], 'gateway_ip': '53.176.205.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '53.176.205.194', 'tags': [], 'project_id': '9a88e3a4a70d44d7b3ec068b0e4dfd24'}} 2025-04-30 17:49:34,809 - INFO - Created VN ctest-vn-34549820 2025-04-30 17:49:34,862 - DEBUG - VN ctest-vn-34549820 UUID is e47cc675-8e69-4e5b-9516-17d04f07b1f7 2025-04-30 17:49:35,010 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-48614896:ctest-vn-17387429, 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-48614896:ctest-vn-34549820, 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-04-30 17:49:35,303 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1cc27853-54b4-4ecc-8d5c-78b3ab5d3b8e', 'name': 'ctest-vn-17387429', 'tenant_id': '9a88e3a4a70d44d7b3ec068b0e4dfd24', 'project_id': '9a88e3a4a70d44d7b3ec068b0e4dfd24', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cca2242d-2a9c-4ed7-9ad4-c826bdf63188'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48614896', 'ctest-vn-17387429'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48614896', 'ctest-policy-allow-all-84091561']], 'subnet_ipam': [{'subnet_cidr': '142.211.18.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-30 17:49:35,560 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e47cc675-8e69-4e5b-9516-17d04f07b1f7', 'name': 'ctest-vn-34549820', 'tenant_id': '9a88e3a4a70d44d7b3ec068b0e4dfd24', 'project_id': '9a88e3a4a70d44d7b3ec068b0e4dfd24', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['373c2b56-e6ef-470d-905a-33a1899533b5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48614896', 'ctest-vn-34549820'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48614896', 'ctest-policy-allow-all-84091561']], 'subnet_ipam': [{'subnet_cidr': '53.176.205.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-30 17:49:35,726 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-30 17:49:36,030 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-30 17:49:36,055 - DEBUG - Requesting: http://10.0.0.38:8082/domain/fd163d6c-c7da-4c3a-9403-e194a3e7b7c4 2025-04-30 17:49:36,067 - DEBUG - Requesting: http://10.0.0.38:8082/project/9a88e3a4-a70d-44d7-b3ec-068b0e4dfd24 2025-04-30 17:49:36,136 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1cc27853-54b4-4ecc-8d5c-78b3ab5d3b8e 2025-04-30 17:49:36,146 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1cc27853-54b4-4ecc-8d5c-78b3ab5d3b8e 2025-04-30 17:49:36,155 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/81c6ac98-1a8a-4a98-a7b5-330bb18a2d93 2025-04-30 17:49:36,161 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/81c6ac98-1a8a-4a98-a7b5-330bb18a2d93 2025-04-30 17:49:36,168 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/88be7b45-299f-463a-8c2f-1e40d23e53ca 2025-04-30 17:49:36,173 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-30 17:49:36,173 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1cc27853-54b4-4ecc-8d5c-78b3ab5d3b8e 2025-04-30 17:49:36,181 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/81c6ac98-1a8a-4a98-a7b5-330bb18a2d93 2025-04-30 17:49:36,193 - INFO - Verified VN network id 9 for VN 1cc27853-54b4-4ecc-8d5c-78b3ab5d3b8e 2025-04-30 17:49:36,193 - INFO - Verifications in API Server for VN ctest-vn-17387429 passed 2025-04-30 17:49:36,193 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1cc27853-54b4-4ecc-8d5c-78b3ab5d3b8e 2025-04-30 17:49:36,202 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/81c6ac98-1a8a-4a98-a7b5-330bb18a2d93 2025-04-30 17:49:36,209 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/81c6ac98-1a8a-4a98-a7b5-330bb18a2d93 2025-04-30 17:49:36,215 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/88be7b45-299f-463a-8c2f-1e40d23e53ca 2025-04-30 17:49:36,226 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48614896:ctest-vn-17387429', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48614896', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2072351077842570956', 'uuid-lslong': '10186149170274712462'}, 'enable': 'true', 'created': '2025-04-30T17:49:34', 'last-modified': '2025-04-30T17:49:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.948995'} 2025-04-30 17:49:36,232 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-30 17:49:36,232 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-17387429 passed 2025-04-30 17:49:36,232 - DEBUG - ====Verifying policy data for ctest-vn-17387429 in API_Server ====== 2025-04-30 17:49:36,233 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-30 17:49:36,238 - DEBUG - Requesting: http://10.0.0.38:8082/domain/fd163d6c-c7da-4c3a-9403-e194a3e7b7c4 2025-04-30 17:49:36,249 - DEBUG - Requesting: http://10.0.0.38:8082/project/9a88e3a4-a70d-44d7-b3ec-068b0e4dfd24 2025-04-30 17:49:36,317 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1cc27853-54b4-4ecc-8d5c-78b3ab5d3b8e 2025-04-30 17:49:36,326 - DEBUG - ==>Verifying data for policy with id: ef732009-a774-431b-9fe9-483aff5ff0c9, fqn: ['default-domain', 'ctest-TestBasicPolicy-48614896', 'ctest-policy-allow-all-84091561'] 2025-04-30 17:49:36,327 - INFO - VN ctest-vn-17387429 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-30 17:49:36,327 - DEBUG - Verifying the vn in opserver 2025-04-30 17:49:36,327 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48614896:ctest-vn-17387429 virtual network link through opserver 10.0.0.38 2025-04-30 17:49:36,327 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-04-30 17:49:36,616 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-04-30 17:49:36,663 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48614896:ctest-vn-17387429', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48614896:ctest-vn-17387429?flat'} 2025-04-30 17:49:36,663 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48614896:ctest-vn-17387429 is found in opserver 2025-04-30 17:49:36,675 - DEBUG - Do not have enough data to verify VN in agent 2025-04-30 17:49:36,680 - DEBUG - VRF ids for VN ctest-vn-17387429: {} 2025-04-30 17:49:36,680 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-30 17:49:36,685 - DEBUG - Requesting: http://10.0.0.38:8082/domain/fd163d6c-c7da-4c3a-9403-e194a3e7b7c4 2025-04-30 17:49:36,697 - DEBUG - Requesting: http://10.0.0.38:8082/project/9a88e3a4-a70d-44d7-b3ec-068b0e4dfd24 2025-04-30 17:49:36,776 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e47cc675-8e69-4e5b-9516-17d04f07b1f7 2025-04-30 17:49:36,788 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e47cc675-8e69-4e5b-9516-17d04f07b1f7 2025-04-30 17:49:36,796 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5b650c55-6e76-4b94-b04c-b39895480960 2025-04-30 17:49:36,803 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5b650c55-6e76-4b94-b04c-b39895480960 2025-04-30 17:49:36,810 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/47eea627-5a91-46f6-864f-911d123bd586 2025-04-30 17:49:36,816 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-30 17:49:36,816 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e47cc675-8e69-4e5b-9516-17d04f07b1f7 2025-04-30 17:49:36,827 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5b650c55-6e76-4b94-b04c-b39895480960 2025-04-30 17:49:36,842 - INFO - Verified VN network id 10 for VN e47cc675-8e69-4e5b-9516-17d04f07b1f7 2025-04-30 17:49:36,843 - INFO - Verifications in API Server for VN ctest-vn-34549820 passed 2025-04-30 17:49:36,843 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e47cc675-8e69-4e5b-9516-17d04f07b1f7 2025-04-30 17:49:36,854 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5b650c55-6e76-4b94-b04c-b39895480960 2025-04-30 17:49:36,860 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5b650c55-6e76-4b94-b04c-b39895480960 2025-04-30 17:49:36,866 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/47eea627-5a91-46f6-864f-911d123bd586 2025-04-30 17:49:36,876 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48614896:ctest-vn-34549820', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48614896', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16464252545962430043', 'uuid-lslong': '10742800144585437687'}, 'enable': 'true', 'created': '2025-04-30T17:49:34', 'last-modified': '2025-04-30T17:49:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.353610'} 2025-04-30 17:49:36,882 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-30 17:49:36,882 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-34549820 passed 2025-04-30 17:49:36,882 - DEBUG - ====Verifying policy data for ctest-vn-34549820 in API_Server ====== 2025-04-30 17:49:36,882 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-30 17:49:36,887 - DEBUG - Requesting: http://10.0.0.38:8082/domain/fd163d6c-c7da-4c3a-9403-e194a3e7b7c4 2025-04-30 17:49:36,897 - DEBUG - Requesting: http://10.0.0.38:8082/project/9a88e3a4-a70d-44d7-b3ec-068b0e4dfd24 2025-04-30 17:49:36,970 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e47cc675-8e69-4e5b-9516-17d04f07b1f7 2025-04-30 17:49:36,980 - DEBUG - ==>Verifying data for policy with id: ef732009-a774-431b-9fe9-483aff5ff0c9, fqn: ['default-domain', 'ctest-TestBasicPolicy-48614896', 'ctest-policy-allow-all-84091561'] 2025-04-30 17:49:36,980 - INFO - VN ctest-vn-34549820 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-30 17:49:36,980 - DEBUG - Verifying the vn in opserver 2025-04-30 17:49:36,980 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48614896:ctest-vn-34549820 virtual network link through opserver 10.0.0.38 2025-04-30 17:49:36,981 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-04-30 17:49:36,990 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48614896:ctest-vn-34549820', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48614896:ctest-vn-34549820?flat'} 2025-04-30 17:49:36,990 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48614896:ctest-vn-34549820 is found in opserver 2025-04-30 17:49:37,000 - DEBUG - Do not have enough data to verify VN in agent 2025-04-30 17:49:37,005 - DEBUG - VRF ids for VN ctest-vn-34549820: {} 2025-04-30 17:49:37,054 - DEBUG - Services list from nova: [, , ] 2025-04-30 17:49:38,012 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3250-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3250-1) 2025-04-30 17:49:39,190 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3250-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3250-1) 2025-04-30 17:49:39,190 - INFO - Waiting for VM ctest-TestBasicPolicy-48614896-94994892 to be up.. 2025-04-30 17:49:39,256 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-30 17:49:44,400 - DEBUG - VM is in ACTIVE state now 2025-04-30 17:49:44,401 - INFO - VM name : ctest-TestBasicPolicy-48614896-94994892 2025-04-30 17:49:44,565 - DEBUG - VM ctest-TestBasicPolicy-48614896-94994892 ID is d8c2201a-cfa5-40be-9880-b16c70397f42 2025-04-30 17:49:44,590 - DEBUG - VM ctest-TestBasicPolicy-48614896-94994892 launched on Node cn-jenkins-deploy-platform-ansible-os-3250-1 2025-04-30 17:49:44,748 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d8c2201a-cfa5-40be-9880-b16c70397f42 2025-04-30 17:49:44,790 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3bb19341-1270-4c06-8073-5cd079594812 2025-04-30 17:49:48,099 - 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 1032ms') 2025-04-30 17:49:48,099 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48614896-94994892 failed! 2025-04-30 17:49:48,158 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-48614896:ctest-vn-17387429 is 142.211.18.193 and allocation pool is NOT set 2025-04-30 17:49:50,216 - 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.35 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.367 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.367/1.360/2.353/0.993 ms') 2025-04-30 17:49:50,216 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48614896-94994892 passed 2025-04-30 17:49:50,362 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-30 17:49:50,362 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48614896-94994892, IP 142.211.18.195, Port 22 2025-04-30 17:49:50,513 - DEBUG - VM ctest-TestBasicPolicy-48614896-94994892 is ready for SSH connections 2025-04-30 17:49:50,513 - INFO - Waiting for VM ctest-TestBasicPolicy-48614896-53954849 to be up.. 2025-04-30 17:49:50,578 - DEBUG - VM is in ACTIVE state now 2025-04-30 17:49:50,578 - INFO - VM name : ctest-TestBasicPolicy-48614896-53954849 2025-04-30 17:49:50,639 - DEBUG - VM ctest-TestBasicPolicy-48614896-53954849 ID is 068bc71b-3db9-46dc-b11b-b76d34da1abd 2025-04-30 17:49:50,639 - DEBUG - VM ctest-TestBasicPolicy-48614896-53954849 launched on Node cn-jenkins-deploy-platform-ansible-os-3250-1 2025-04-30 17:49:50,699 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/068bc71b-3db9-46dc-b11b-b76d34da1abd 2025-04-30 17:49:50,706 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4127c45c-8e2e-4b12-a7a6-b642594d520b 2025-04-30 17:49:51,935 - 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.38 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.371 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.371/2.874/5.377/2.503 ms') 2025-04-30 17:49:51,935 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-48614896-53954849 passed 2025-04-30 17:49:52,082 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-30 17:49:52,082 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48614896-53954849, IP 53.176.205.195, Port 22 2025-04-30 17:49:52,234 - DEBUG - VM ctest-TestBasicPolicy-48614896-53954849 is ready for SSH connections 2025-04-30 17:49:52,234 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-30 17:49:52,234 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 53.176.205.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-04-30 17:49:52,234 - DEBUG - ping -s 56 -c 3 -W 1 53.176.205.195 2025-04-30 17:49:55,903 - DEBUG - PING 53.176.205.195 (53.176.205.195): 56 data bytes 64 bytes from 53.176.205.195: seq=0 ttl=63 time=3.770 ms 64 bytes from 53.176.205.195: seq=1 ttl=63 time=0.739 ms 64 bytes from 53.176.205.195: seq=2 ttl=63 time=0.743 ms --- 53.176.205.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.739/1.750/3.770 ms 2025-04-30 17:49:55,903 - INFO - Ping to IP 53.176.205.195 from VM ctest-TestBasicPolicy-48614896-94994892 passed 2025-04-30 17:49:56,074 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ef732009-a774-431b-9fe9-483aff5ff0c9", "href": "http://10.0.0.38:8082/network-policy/ef732009-a774-431b-9fe9-483aff5ff0c9"}} 2025-04-30 17:49:56,074 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-30 17:49:56,074 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 53.176.205.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-04-30 17:49:56,074 - DEBUG - ping -s 56 -c 3 -W 1 53.176.205.195 2025-04-30 17:49:59,264 - DEBUG - PING 53.176.205.195 (53.176.205.195): 56 data bytes --- 53.176.205.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-04-30 17:49:59,264 - WARNING - Ping to IP 53.176.205.195 from VM ctest-TestBasicPolicy-48614896-94994892 failed 2025-04-30 17:49:59,264 - INFO - Deleting VM ctest-TestBasicPolicy-48614896-53954849 2025-04-30 17:49:59,324 - INFO - Deleting VM ctest-TestBasicPolicy-48614896-94994892 2025-04-30 17:49:59,653 - INFO - Deleted policy ctest-policy-allow-all-84091561 2025-04-30 17:49:59,653 - INFO - Deleting VN ctest-vn-34549820 2025-04-30 17:49:59,685 - DEBUG - VN e47cc675-8e69-4e5b-9516-17d04f07b1f7 still in use: Unable to complete operation on network e47cc675-8e69-4e5b-9516-17d04f07b1f7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2a0431b5-36fa-4b54-84ed-9a3b3badba21'] 2025-04-30 17:49:59,685 - WARNING - Deleting VN ctest-vn-34549820 failed..Will retry 2025-04-30 17:50:01,775 - DEBUG - Response for deleting network () 2025-04-30 17:50:01,775 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5b650c55-6e76-4b94-b04c-b39895480960 2025-04-30 17:50:01,780 - DEBUG - Response Code: 404 2025-04-30 17:50:01,780 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-30 17:50:01,785 - DEBUG - Requesting: http://10.0.0.38:8082/domain/fd163d6c-c7da-4c3a-9403-e194a3e7b7c4 2025-04-30 17:50:01,840 - DEBUG - Requesting: http://10.0.0.38:8082/project/9a88e3a4-a70d-44d7-b3ec-068b0e4dfd24 2025-04-30 17:50:01,907 - INFO - Validated that VN ctest-vn-34549820 is not found in API Server 2025-04-30 17:50:01,917 - DEBUG - VN ctest-vn-34549820 is not present in Agent 10.0.0.38 2025-04-30 17:50:01,917 - INFO - Validated that VN ctest-vn-34549820 is not in any agent 2025-04-30 17:50:01,931 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-34549820 info 2025-04-30 17:50:01,931 - INFO - Deleting VN ctest-vn-17387429 2025-04-30 17:50:02,020 - DEBUG - Response for deleting network () 2025-04-30 17:50:02,020 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/81c6ac98-1a8a-4a98-a7b5-330bb18a2d93 2025-04-30 17:50:02,027 - DEBUG - Response Code: 404 2025-04-30 17:50:02,027 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-30 17:50:02,032 - DEBUG - Requesting: http://10.0.0.38:8082/domain/fd163d6c-c7da-4c3a-9403-e194a3e7b7c4 2025-04-30 17:50:02,083 - DEBUG - Requesting: http://10.0.0.38:8082/project/9a88e3a4-a70d-44d7-b3ec-068b0e4dfd24 2025-04-30 17:50:02,149 - INFO - Validated that VN ctest-vn-17387429 is not found in API Server 2025-04-30 17:50:02,160 - DEBUG - VN ctest-vn-17387429 is not present in Agent 10.0.0.38 2025-04-30 17:50:02,160 - INFO - Validated that VN ctest-vn-17387429 is not in any agent 2025-04-30 17:50:02,174 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-17387429 info 2025-04-30 17:50:02,427 - DEBUG - No XMPP flaps were noticed during the test 2025-04-30 17:50:02,427 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-04-30 17:50:02,427 - INFO - -------------------------------------------------------------------------------- 2025-04-30 17:50:03,093 - INFO - Deleted project: ctest-TestBasicPolicy-48614896, ID : 9a88e3a4-a70d-44d7-b3ec-068b0e4dfd24