2025-09-18 23:52:27,287 - INFO - Domain Default found not creating 2025-09-18 23:52:27,450 - INFO - Project ctest-TestBasicPolicy-76447769 not found, creating it 2025-09-18 23:52:27,936 - INFO - Created Project:ctest-TestBasicPolicy-76447769, ID : fb4a1598-5717-4f3a-b174-262975a32ee6 2025-09-18 23:52:29,408 - INFO - ================================================================================ 2025-09-18 23:52:29,408 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-18 23:52:29,408 - 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-18 23:52:29,666 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-09-18 23:52:29,666 - INFO - Initial checks done. Running the testcase now 2025-09-18 23:52:29,666 - INFO - 2025-09-18 23:52:30,243 - DEBUG - Response for create_network : {'network': {'id': 'a240086c-5d5b-4af7-9df0-ad54cfb5367e', 'name': 'ctest-vn-04493985', 'tenant_id': 'fb4a159857174f3ab174262975a32ee6', 'project_id': 'fb4a159857174f3ab174262975a32ee6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76447769', 'ctest-vn-04493985'], 'port_security_enabled': True, 'description': ''}} 2025-09-18 23:52:30,462 - DEBUG - Response for create_subnet : {'subnet': {'id': '07e6d8cd-e503-47c2-b91c-9eece59f2e86', 'name': '', 'tenant_id': 'fb4a159857174f3ab174262975a32ee6', 'network_id': 'a240086c-5d5b-4af7-9df0-ad54cfb5367e', 'ip_version': 4, 'cidr': '152.131.61.64/26', 'allocation_pools': [{'start': '152.131.61.66', 'end': '152.131.61.126'}], 'gateway_ip': '152.131.61.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '152.131.61.66', 'tags': [], 'project_id': 'fb4a159857174f3ab174262975a32ee6'}} 2025-09-18 23:52:30,487 - INFO - Created VN ctest-vn-04493985 2025-09-18 23:52:30,541 - DEBUG - VN ctest-vn-04493985 UUID is a240086c-5d5b-4af7-9df0-ad54cfb5367e 2025-09-18 23:52:30,871 - DEBUG - Response for create_network : {'network': {'id': 'b99a3863-7d0d-4bb2-8737-88a2d8ca414b', 'name': 'ctest-vn-49742013', 'tenant_id': 'fb4a159857174f3ab174262975a32ee6', 'project_id': 'fb4a159857174f3ab174262975a32ee6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76447769', 'ctest-vn-49742013'], 'port_security_enabled': True, 'description': ''}} 2025-09-18 23:52:31,080 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bd596aee-f15c-4a4e-b8f1-e9b4ac204267', 'name': '', 'tenant_id': 'fb4a159857174f3ab174262975a32ee6', 'network_id': 'b99a3863-7d0d-4bb2-8737-88a2d8ca414b', 'ip_version': 4, 'cidr': '118.101.139.64/26', 'allocation_pools': [{'start': '118.101.139.66', 'end': '118.101.139.126'}], 'gateway_ip': '118.101.139.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.101.139.66', 'tags': [], 'project_id': 'fb4a159857174f3ab174262975a32ee6'}} 2025-09-18 23:52:31,099 - INFO - Created VN ctest-vn-49742013 2025-09-18 23:52:31,149 - DEBUG - VN ctest-vn-49742013 UUID is b99a3863-7d0d-4bb2-8737-88a2d8ca414b 2025-09-18 23:52:31,297 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-76447769:ctest-vn-04493985, 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-76447769:ctest-vn-49742013, 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-18 23:52:31,594 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a240086c-5d5b-4af7-9df0-ad54cfb5367e', 'name': 'ctest-vn-04493985', 'tenant_id': 'fb4a159857174f3ab174262975a32ee6', 'project_id': 'fb4a159857174f3ab174262975a32ee6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['07e6d8cd-e503-47c2-b91c-9eece59f2e86'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76447769', 'ctest-vn-04493985'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-76447769', 'ctest-policy-allow-all-10617347']], 'subnet_ipam': [{'subnet_cidr': '152.131.61.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-18 23:52:31,795 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b99a3863-7d0d-4bb2-8737-88a2d8ca414b', 'name': 'ctest-vn-49742013', 'tenant_id': 'fb4a159857174f3ab174262975a32ee6', 'project_id': 'fb4a159857174f3ab174262975a32ee6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bd596aee-f15c-4a4e-b8f1-e9b4ac204267'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76447769', 'ctest-vn-49742013'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-76447769', 'ctest-policy-allow-all-10617347']], 'subnet_ipam': [{'subnet_cidr': '118.101.139.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-18 23:52:31,961 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-18 23:52:32,256 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-18 23:52:32,284 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d789ab2d-28d2-4b01-a04e-f8ca66c076dd 2025-09-18 23:52:32,297 - DEBUG - Requesting: http://10.0.0.38:8082/project/fb4a1598-5717-4f3a-b174-262975a32ee6 2025-09-18 23:52:32,370 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a240086c-5d5b-4af7-9df0-ad54cfb5367e 2025-09-18 23:52:32,379 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a240086c-5d5b-4af7-9df0-ad54cfb5367e 2025-09-18 23:52:32,387 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5cecf3be-7fad-4f44-9943-c0f046177c81 2025-09-18 23:52:32,393 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5cecf3be-7fad-4f44-9943-c0f046177c81 2025-09-18 23:52:32,399 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/1b9c8722-5b5c-4235-9ffb-3c5df106daa1 2025-09-18 23:52:32,406 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-18 23:52:32,406 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a240086c-5d5b-4af7-9df0-ad54cfb5367e 2025-09-18 23:52:32,414 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5cecf3be-7fad-4f44-9943-c0f046177c81 2025-09-18 23:52:32,426 - INFO - Verified VN network id 11 for VN a240086c-5d5b-4af7-9df0-ad54cfb5367e 2025-09-18 23:52:32,426 - INFO - Verifications in API Server for VN ctest-vn-04493985 passed 2025-09-18 23:52:32,426 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a240086c-5d5b-4af7-9df0-ad54cfb5367e 2025-09-18 23:52:32,434 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5cecf3be-7fad-4f44-9943-c0f046177c81 2025-09-18 23:52:32,440 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5cecf3be-7fad-4f44-9943-c0f046177c81 2025-09-18 23:52:32,447 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/1b9c8722-5b5c-4235-9ffb-3c5df106daa1 2025-09-18 23:52:32,457 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-76447769:ctest-vn-04493985', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-76447769', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11691353894169561847', 'uuid-lslong': '11380786838138861182'}, 'enable': 'true', 'created': '2025-09-18T23:52:30', 'last-modified': '2025-09-18T23:52:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.894482'} 2025-09-18 23:52:32,462 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-18 23:52:32,462 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04493985 passed 2025-09-18 23:52:32,462 - DEBUG - ====Verifying policy data for ctest-vn-04493985 in API_Server ====== 2025-09-18 23:52:32,462 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-18 23:52:32,469 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d789ab2d-28d2-4b01-a04e-f8ca66c076dd 2025-09-18 23:52:32,479 - DEBUG - Requesting: http://10.0.0.38:8082/project/fb4a1598-5717-4f3a-b174-262975a32ee6 2025-09-18 23:52:32,554 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a240086c-5d5b-4af7-9df0-ad54cfb5367e 2025-09-18 23:52:32,562 - DEBUG - ==>Verifying data for policy with id: 68fe7915-983c-4ee5-9960-56194fe3e5a4, fqn: ['default-domain', 'ctest-TestBasicPolicy-76447769', 'ctest-policy-allow-all-10617347'] 2025-09-18 23:52:32,562 - INFO - VN ctest-vn-04493985 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-18 23:52:32,563 - DEBUG - Verifying the vn in opserver 2025-09-18 23:52:32,563 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-76447769:ctest-vn-04493985 virtual network link through opserver 10.0.0.38 2025-09-18 23:52:32,563 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-09-18 23:52:32,858 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-09-18 23:52:32,917 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-76447769:ctest-vn-04493985', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-76447769:ctest-vn-04493985?flat'} 2025-09-18 23:52:32,917 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-76447769:ctest-vn-04493985 is found in opserver 2025-09-18 23:52:32,927 - DEBUG - Do not have enough data to verify VN in agent 2025-09-18 23:52:32,931 - DEBUG - VRF ids for VN ctest-vn-04493985: {} 2025-09-18 23:52:32,931 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-18 23:52:32,936 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d789ab2d-28d2-4b01-a04e-f8ca66c076dd 2025-09-18 23:52:32,947 - DEBUG - Requesting: http://10.0.0.38:8082/project/fb4a1598-5717-4f3a-b174-262975a32ee6 2025-09-18 23:52:33,016 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b99a3863-7d0d-4bb2-8737-88a2d8ca414b 2025-09-18 23:52:33,029 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b99a3863-7d0d-4bb2-8737-88a2d8ca414b 2025-09-18 23:52:33,037 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4510dc87-378f-4048-85cb-dadf1df6d66f 2025-09-18 23:52:33,044 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4510dc87-378f-4048-85cb-dadf1df6d66f 2025-09-18 23:52:33,051 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/984a68cf-4f1f-4aac-b6ba-eacfc661378d 2025-09-18 23:52:33,057 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-18 23:52:33,057 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b99a3863-7d0d-4bb2-8737-88a2d8ca414b 2025-09-18 23:52:33,065 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4510dc87-378f-4048-85cb-dadf1df6d66f 2025-09-18 23:52:33,076 - INFO - Verified VN network id 12 for VN b99a3863-7d0d-4bb2-8737-88a2d8ca414b 2025-09-18 23:52:33,077 - INFO - Verifications in API Server for VN ctest-vn-49742013 passed 2025-09-18 23:52:33,077 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b99a3863-7d0d-4bb2-8737-88a2d8ca414b 2025-09-18 23:52:33,084 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4510dc87-378f-4048-85cb-dadf1df6d66f 2025-09-18 23:52:33,089 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4510dc87-378f-4048-85cb-dadf1df6d66f 2025-09-18 23:52:33,095 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/984a68cf-4f1f-4aac-b6ba-eacfc661378d 2025-09-18 23:52:33,105 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-76447769:ctest-vn-49742013', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-76447769', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13374064043381050290', 'uuid-lslong': '9743406551842570571'}, 'enable': 'true', 'created': '2025-09-18T23:52:30', 'last-modified': '2025-09-18T23:52:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.341284'} 2025-09-18 23:52:33,110 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-18 23:52:33,110 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-49742013 passed 2025-09-18 23:52:33,110 - DEBUG - ====Verifying policy data for ctest-vn-49742013 in API_Server ====== 2025-09-18 23:52:33,110 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-18 23:52:33,117 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d789ab2d-28d2-4b01-a04e-f8ca66c076dd 2025-09-18 23:52:33,131 - DEBUG - Requesting: http://10.0.0.38:8082/project/fb4a1598-5717-4f3a-b174-262975a32ee6 2025-09-18 23:52:33,214 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b99a3863-7d0d-4bb2-8737-88a2d8ca414b 2025-09-18 23:52:33,225 - DEBUG - ==>Verifying data for policy with id: 68fe7915-983c-4ee5-9960-56194fe3e5a4, fqn: ['default-domain', 'ctest-TestBasicPolicy-76447769', 'ctest-policy-allow-all-10617347'] 2025-09-18 23:52:33,225 - INFO - VN ctest-vn-49742013 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-18 23:52:33,225 - DEBUG - Verifying the vn in opserver 2025-09-18 23:52:33,225 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-76447769:ctest-vn-49742013 virtual network link through opserver 10.0.0.38 2025-09-18 23:52:33,225 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-09-18 23:52:33,238 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-76447769:ctest-vn-49742013', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-76447769:ctest-vn-49742013?flat'} 2025-09-18 23:52:33,238 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-76447769:ctest-vn-49742013 is found in opserver 2025-09-18 23:52:33,247 - DEBUG - Do not have enough data to verify VN in agent 2025-09-18 23:52:33,252 - DEBUG - VRF ids for VN ctest-vn-49742013: {} 2025-09-18 23:52:33,310 - DEBUG - Services list from nova: [, , ] 2025-09-18 23:52:34,333 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4143-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4143-1) 2025-09-18 23:52:35,582 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4143-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4143-1) 2025-09-18 23:52:35,582 - INFO - Waiting for VM ctest-TestBasicPolicy-76447769-16989321 to be up.. 2025-09-18 23:52:35,679 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-18 23:52:40,757 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-18 23:52:45,835 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-18 23:52:50,907 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-18 23:52:55,987 - DEBUG - VM is in ACTIVE state now 2025-09-18 23:52:55,987 - INFO - VM name : ctest-TestBasicPolicy-76447769-16989321 2025-09-18 23:52:56,067 - DEBUG - VM ctest-TestBasicPolicy-76447769-16989321 ID is 98c8c1ff-44ae-49be-8d1c-bb953c63a134 2025-09-18 23:52:56,087 - DEBUG - VM ctest-TestBasicPolicy-76447769-16989321 launched on Node cn-jenkins-deploy-platform-ansible-os-4143-1 2025-09-18 23:52:56,163 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/98c8c1ff-44ae-49be-8d1c-bb953c63a134 2025-09-18 23:52:56,170 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a6345507-1bab-422e-97fe-7fc4b9659e34 2025-09-18 23:52:59,382 - 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 1007ms') 2025-09-18 23:52:59,382 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-76447769-16989321 failed! 2025-09-18 23:52:59,437 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-76447769:ctest-vn-04493985 is 152.131.61.65 and allocation pool is NOT set 2025-09-18 23:53:03,510 - 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=2 ttl=63 time=3.15 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1011ms\r\nrtt min/avg/max/mdev = 3.148/3.148/3.148/0.000 ms') 2025-09-18 23:53:03,510 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-76447769-16989321 passed 2025-09-18 23:53:03,665 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 23:53:03,665 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-76447769-16989321, IP 152.131.61.67, Port 22 2025-09-18 23:53:03,840 - DEBUG - VM ctest-TestBasicPolicy-76447769-16989321 is ready for SSH connections 2025-09-18 23:53:03,841 - INFO - Waiting for VM ctest-TestBasicPolicy-76447769-42265142 to be up.. 2025-09-18 23:53:03,909 - DEBUG - VM is in ACTIVE state now 2025-09-18 23:53:03,910 - INFO - VM name : ctest-TestBasicPolicy-76447769-42265142 2025-09-18 23:53:03,979 - DEBUG - VM ctest-TestBasicPolicy-76447769-42265142 ID is f2de6290-0765-475a-b92b-89a2f83f1684 2025-09-18 23:53:03,979 - DEBUG - VM ctest-TestBasicPolicy-76447769-42265142 launched on Node cn-jenkins-deploy-platform-ansible-os-4143-1 2025-09-18 23:53:04,049 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f2de6290-0765-475a-b92b-89a2f83f1684 2025-09-18 23:53:04,057 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/83319bbc-942d-4843-97e9-df61cd056680 2025-09-18 23:53:05,299 - 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.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.680 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.680/3.322/5.964/2.642 ms') 2025-09-18 23:53:05,299 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-76447769-42265142 passed 2025-09-18 23:53:05,453 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 23:53:05,453 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-76447769-42265142, IP 118.101.139.67, Port 22 2025-09-18 23:53:05,635 - DEBUG - VM ctest-TestBasicPolicy-76447769-42265142 is ready for SSH connections 2025-09-18 23:53:05,635 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 23:53:05,636 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 118.101.139.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-18 23:53:05,636 - DEBUG - ping -s 56 -c 3 -W 1 118.101.139.67 2025-09-18 23:53:09,655 - DEBUG - PING 118.101.139.67 (118.101.139.67): 56 data bytes 64 bytes from 118.101.139.67: seq=0 ttl=63 time=3.857 ms 64 bytes from 118.101.139.67: seq=1 ttl=63 time=1.053 ms 64 bytes from 118.101.139.67: seq=2 ttl=63 time=1.096 ms --- 118.101.139.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.053/2.002/3.857 ms 2025-09-18 23:53:09,655 - INFO - Ping to IP 118.101.139.67 from VM ctest-TestBasicPolicy-76447769-16989321 passed 2025-09-18 23:53:09,837 - DEBUG - Policy Update Response {"network-policy": {"uuid": "68fe7915-983c-4ee5-9960-56194fe3e5a4", "href": "http://10.0.0.38:8082/network-policy/68fe7915-983c-4ee5-9960-56194fe3e5a4"}} 2025-09-18 23:53:09,837 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 23:53:09,837 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 118.101.139.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-18 23:53:09,837 - DEBUG - ping -s 56 -c 3 -W 1 118.101.139.67 2025-09-18 23:53:13,075 - DEBUG - PING 118.101.139.67 (118.101.139.67): 56 data bytes --- 118.101.139.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-18 23:53:13,076 - WARNING - Ping to IP 118.101.139.67 from VM ctest-TestBasicPolicy-76447769-16989321 failed 2025-09-18 23:53:13,076 - INFO - Deleting VM ctest-TestBasicPolicy-76447769-42265142 2025-09-18 23:53:13,138 - INFO - Deleting VM ctest-TestBasicPolicy-76447769-16989321 2025-09-18 23:53:13,520 - INFO - Deleted policy ctest-policy-allow-all-10617347 2025-09-18 23:53:13,520 - INFO - Deleting VN ctest-vn-49742013 2025-09-18 23:53:13,556 - DEBUG - VN b99a3863-7d0d-4bb2-8737-88a2d8ca414b still in use: Unable to complete operation on network b99a3863-7d0d-4bb2-8737-88a2d8ca414b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bbe6348d-3b0f-43d0-bd45-fa61b3ce62c7'] 2025-09-18 23:53:13,556 - WARNING - Deleting VN ctest-vn-49742013 failed..Will retry 2025-09-18 23:53:15,677 - DEBUG - Response for deleting network () 2025-09-18 23:53:15,677 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4510dc87-378f-4048-85cb-dadf1df6d66f 2025-09-18 23:53:15,682 - DEBUG - Response Code: 404 2025-09-18 23:53:15,682 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-18 23:53:15,692 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d789ab2d-28d2-4b01-a04e-f8ca66c076dd 2025-09-18 23:53:15,751 - DEBUG - Requesting: http://10.0.0.38:8082/project/fb4a1598-5717-4f3a-b174-262975a32ee6 2025-09-18 23:53:15,831 - INFO - Validated that VN ctest-vn-49742013 is not found in API Server 2025-09-18 23:53:15,843 - DEBUG - VN ctest-vn-49742013 is not present in Agent 10.0.0.38 2025-09-18 23:53:15,843 - INFO - Validated that VN ctest-vn-49742013 is not in any agent 2025-09-18 23:53:15,857 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-49742013 info 2025-09-18 23:53:15,857 - INFO - Deleting VN ctest-vn-04493985 2025-09-18 23:53:15,954 - DEBUG - Response for deleting network () 2025-09-18 23:53:15,954 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5cecf3be-7fad-4f44-9943-c0f046177c81 2025-09-18 23:53:15,961 - DEBUG - Response Code: 404 2025-09-18 23:53:15,961 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-18 23:53:15,968 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d789ab2d-28d2-4b01-a04e-f8ca66c076dd 2025-09-18 23:53:16,021 - DEBUG - Requesting: http://10.0.0.38:8082/project/fb4a1598-5717-4f3a-b174-262975a32ee6 2025-09-18 23:53:16,090 - INFO - Validated that VN ctest-vn-04493985 is not found in API Server 2025-09-18 23:53:16,099 - DEBUG - VN ctest-vn-04493985 is not present in Agent 10.0.0.38 2025-09-18 23:53:16,099 - INFO - Validated that VN ctest-vn-04493985 is not in any agent 2025-09-18 23:53:16,111 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-04493985 info 2025-09-18 23:53:16,366 - DEBUG - No XMPP flaps were noticed during the test
2025-09-18 23:53:16,366 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:47]
2025-09-18 23:53:16,366 - INFO - -------------------------------------------------------------------------------- 2025-09-18 23:53:17,084 - INFO - Deleted project: ctest-TestBasicPolicy-76447769, ID : fb4a1598-5717-4f3a-b174-262975a32ee6