2025-07-13 02:09:25,239 - INFO - Domain Default found not creating 2025-07-13 02:09:25,387 - INFO - Project ctest-TestBasicPolicy-55095591 not found, creating it 2025-07-13 02:09:25,836 - INFO - Created Project:ctest-TestBasicPolicy-55095591, ID : 3e4f111b-cf7a-4577-9fca-c3829bd5b74b 2025-07-13 02:09:27,257 - INFO - ================================================================================ 2025-07-13 02:09:27,257 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-13 02:09:27,257 - 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-07-13 02:09:27,517 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with 2025-07-13 02:09:27,517 - INFO - Initial checks done. Running the testcase now 2025-07-13 02:09:27,517 - INFO - 2025-07-13 02:09:28,057 - DEBUG - Response for create_network : {'network': {'id': 'd0864a51-db3c-4179-93d3-b98bd9726179', 'name': 'ctest-vn-76984362', 'tenant_id': '3e4f111bcf7a45779fcac3829bd5b74b', 'project_id': '3e4f111bcf7a45779fcac3829bd5b74b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55095591', 'ctest-vn-76984362'], 'port_security_enabled': True, 'description': ''}} 2025-07-13 02:09:28,274 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cb89c575-065f-40f6-a42e-dd5887728499', 'name': '', 'tenant_id': '3e4f111bcf7a45779fcac3829bd5b74b', 'network_id': 'd0864a51-db3c-4179-93d3-b98bd9726179', 'ip_version': 4, 'cidr': '136.174.40.0/26', 'allocation_pools': [{'start': '136.174.40.2', 'end': '136.174.40.62'}], 'gateway_ip': '136.174.40.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '136.174.40.2', 'tags': [], 'project_id': '3e4f111bcf7a45779fcac3829bd5b74b'}} 2025-07-13 02:09:28,289 - INFO - Created VN ctest-vn-76984362 2025-07-13 02:09:28,340 - DEBUG - VN ctest-vn-76984362 UUID is d0864a51-db3c-4179-93d3-b98bd9726179 2025-07-13 02:09:28,651 - DEBUG - Response for create_network : {'network': {'id': '24a845e3-3bfe-44bd-af0a-d642f4e8eb60', 'name': 'ctest-vn-76884357', 'tenant_id': '3e4f111bcf7a45779fcac3829bd5b74b', 'project_id': '3e4f111bcf7a45779fcac3829bd5b74b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55095591', 'ctest-vn-76884357'], 'port_security_enabled': True, 'description': ''}} 2025-07-13 02:09:28,843 - DEBUG - Response for create_subnet : {'subnet': {'id': '53fe1f59-7530-4d97-aa0e-add012f956bf', 'name': '', 'tenant_id': '3e4f111bcf7a45779fcac3829bd5b74b', 'network_id': '24a845e3-3bfe-44bd-af0a-d642f4e8eb60', 'ip_version': 4, 'cidr': '27.70.253.64/26', 'allocation_pools': [{'start': '27.70.253.66', 'end': '27.70.253.126'}], 'gateway_ip': '27.70.253.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '27.70.253.66', 'tags': [], 'project_id': '3e4f111bcf7a45779fcac3829bd5b74b'}} 2025-07-13 02:09:28,860 - INFO - Created VN ctest-vn-76884357 2025-07-13 02:09:28,912 - DEBUG - VN ctest-vn-76884357 UUID is 24a845e3-3bfe-44bd-af0a-d642f4e8eb60 2025-07-13 02:09:29,059 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-55095591:ctest-vn-76984362, 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-55095591:ctest-vn-76884357, 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-07-13 02:09:29,346 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd0864a51-db3c-4179-93d3-b98bd9726179', 'name': 'ctest-vn-76984362', 'tenant_id': '3e4f111bcf7a45779fcac3829bd5b74b', 'project_id': '3e4f111bcf7a45779fcac3829bd5b74b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cb89c575-065f-40f6-a42e-dd5887728499'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55095591', 'ctest-vn-76984362'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-55095591', 'ctest-policy-allow-all-56182874']], 'subnet_ipam': [{'subnet_cidr': '136.174.40.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-13 02:09:29,567 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '24a845e3-3bfe-44bd-af0a-d642f4e8eb60', 'name': 'ctest-vn-76884357', 'tenant_id': '3e4f111bcf7a45779fcac3829bd5b74b', 'project_id': '3e4f111bcf7a45779fcac3829bd5b74b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['53fe1f59-7530-4d97-aa0e-add012f956bf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55095591', 'ctest-vn-76884357'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-55095591', 'ctest-policy-allow-all-56182874']], 'subnet_ipam': [{'subnet_cidr': '27.70.253.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-13 02:09:29,736 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-13 02:09:30,027 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-13 02:09:30,052 - DEBUG - Requesting: http://10.0.0.50:8082/domain/eac9f20a-cdd3-46df-b574-483accdd8921 2025-07-13 02:09:30,064 - DEBUG - Requesting: http://10.0.0.50:8082/project/3e4f111b-cf7a-4577-9fca-c3829bd5b74b 2025-07-13 02:09:30,136 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d0864a51-db3c-4179-93d3-b98bd9726179 2025-07-13 02:09:30,146 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d0864a51-db3c-4179-93d3-b98bd9726179 2025-07-13 02:09:30,155 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fc31edb1-867f-45fd-8123-16e2b3073714 2025-07-13 02:09:30,162 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fc31edb1-867f-45fd-8123-16e2b3073714 2025-07-13 02:09:30,168 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/c06cb913-aff8-41fc-a6b6-e7bf363bf203 2025-07-13 02:09:30,173 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-13 02:09:30,174 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d0864a51-db3c-4179-93d3-b98bd9726179 2025-07-13 02:09:30,182 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fc31edb1-867f-45fd-8123-16e2b3073714 2025-07-13 02:09:30,195 - INFO - Verified VN network id 8 for VN d0864a51-db3c-4179-93d3-b98bd9726179 2025-07-13 02:09:30,195 - INFO - Verifications in API Server for VN ctest-vn-76984362 passed 2025-07-13 02:09:30,195 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d0864a51-db3c-4179-93d3-b98bd9726179 2025-07-13 02:09:30,204 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fc31edb1-867f-45fd-8123-16e2b3073714 2025-07-13 02:09:30,212 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fc31edb1-867f-45fd-8123-16e2b3073714 2025-07-13 02:09:30,218 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/c06cb913-aff8-41fc-a6b6-e7bf363bf203 2025-07-13 02:09:30,229 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-55095591:ctest-vn-76984362', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-55095591', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15025778922199204217', 'uuid-lslong': '10652061553961099641'}, 'enable': 'true', 'created': '2025-07-13T02:09:28', 'last-modified': '2025-07-13T02:09:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.900630'} 2025-07-13 02:09:30,235 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-13 02:09:30,235 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76984362 passed 2025-07-13 02:09:30,236 - DEBUG - ====Verifying policy data for ctest-vn-76984362 in API_Server ====== 2025-07-13 02:09:30,236 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-13 02:09:30,240 - DEBUG - Requesting: http://10.0.0.50:8082/domain/eac9f20a-cdd3-46df-b574-483accdd8921 2025-07-13 02:09:30,250 - DEBUG - Requesting: http://10.0.0.50:8082/project/3e4f111b-cf7a-4577-9fca-c3829bd5b74b 2025-07-13 02:09:30,326 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d0864a51-db3c-4179-93d3-b98bd9726179 2025-07-13 02:09:30,337 - DEBUG - ==>Verifying data for policy with id: 012e7b42-1949-442d-94dc-12cd57e5213f, fqn: ['default-domain', 'ctest-TestBasicPolicy-55095591', 'ctest-policy-allow-all-56182874'] 2025-07-13 02:09:30,337 - INFO - VN ctest-vn-76984362 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-13 02:09:30,337 - DEBUG - Verifying the vn in opserver 2025-07-13 02:09:30,337 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-55095591:ctest-vn-76984362 virtual network link through opserver 10.0.0.50 2025-07-13 02:09:30,337 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-07-13 02:09:30,631 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-07-13 02:09:30,678 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-55095591:ctest-vn-76984362', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-55095591:ctest-vn-76984362?flat'} 2025-07-13 02:09:30,678 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-55095591:ctest-vn-76984362 is found in opserver 2025-07-13 02:09:30,689 - DEBUG - Do not have enough data to verify VN in agent 2025-07-13 02:09:30,693 - DEBUG - VRF ids for VN ctest-vn-76984362: {} 2025-07-13 02:09:30,693 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-13 02:09:30,699 - DEBUG - Requesting: http://10.0.0.50:8082/domain/eac9f20a-cdd3-46df-b574-483accdd8921 2025-07-13 02:09:30,713 - DEBUG - Requesting: http://10.0.0.50:8082/project/3e4f111b-cf7a-4577-9fca-c3829bd5b74b 2025-07-13 02:09:30,781 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/24a845e3-3bfe-44bd-af0a-d642f4e8eb60 2025-07-13 02:09:30,792 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/24a845e3-3bfe-44bd-af0a-d642f4e8eb60 2025-07-13 02:09:30,801 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/57c69c85-ed3d-42ad-8cce-7a1e740887b3 2025-07-13 02:09:30,812 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/57c69c85-ed3d-42ad-8cce-7a1e740887b3 2025-07-13 02:09:30,819 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/8bb7446f-ea94-402c-894d-73a0868a48b5 2025-07-13 02:09:30,826 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-13 02:09:30,826 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/24a845e3-3bfe-44bd-af0a-d642f4e8eb60 2025-07-13 02:09:30,835 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/57c69c85-ed3d-42ad-8cce-7a1e740887b3 2025-07-13 02:09:30,848 - INFO - Verified VN network id 9 for VN 24a845e3-3bfe-44bd-af0a-d642f4e8eb60 2025-07-13 02:09:30,848 - INFO - Verifications in API Server for VN ctest-vn-76884357 passed 2025-07-13 02:09:30,848 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/24a845e3-3bfe-44bd-af0a-d642f4e8eb60 2025-07-13 02:09:30,857 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/57c69c85-ed3d-42ad-8cce-7a1e740887b3 2025-07-13 02:09:30,864 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/57c69c85-ed3d-42ad-8cce-7a1e740887b3 2025-07-13 02:09:30,870 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/8bb7446f-ea94-402c-894d-73a0868a48b5 2025-07-13 02:09:30,883 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-55095591:ctest-vn-76884357', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-55095591', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2641438023719208125', 'uuid-lslong': '12613129289469586272'}, 'enable': 'true', 'created': '2025-07-13T02:09:28', 'last-modified': '2025-07-13T02:09:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.336620'} 2025-07-13 02:09:30,889 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-13 02:09:30,889 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76884357 passed 2025-07-13 02:09:30,889 - DEBUG - ====Verifying policy data for ctest-vn-76884357 in API_Server ====== 2025-07-13 02:09:30,890 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-13 02:09:30,894 - DEBUG - Requesting: http://10.0.0.50:8082/domain/eac9f20a-cdd3-46df-b574-483accdd8921 2025-07-13 02:09:30,906 - DEBUG - Requesting: http://10.0.0.50:8082/project/3e4f111b-cf7a-4577-9fca-c3829bd5b74b 2025-07-13 02:09:30,986 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/24a845e3-3bfe-44bd-af0a-d642f4e8eb60 2025-07-13 02:09:30,999 - DEBUG - ==>Verifying data for policy with id: 012e7b42-1949-442d-94dc-12cd57e5213f, fqn: ['default-domain', 'ctest-TestBasicPolicy-55095591', 'ctest-policy-allow-all-56182874'] 2025-07-13 02:09:30,999 - INFO - VN ctest-vn-76884357 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-13 02:09:30,999 - DEBUG - Verifying the vn in opserver 2025-07-13 02:09:30,999 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-55095591:ctest-vn-76884357 virtual network link through opserver 10.0.0.50 2025-07-13 02:09:30,999 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-07-13 02:09:31,010 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-55095591:ctest-vn-76884357', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-55095591:ctest-vn-76884357?flat'} 2025-07-13 02:09:31,010 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-55095591:ctest-vn-76884357 is found in opserver 2025-07-13 02:09:31,025 - DEBUG - Do not have enough data to verify VN in agent 2025-07-13 02:09:31,029 - DEBUG - VRF ids for VN ctest-vn-76884357: {} 2025-07-13 02:09:31,082 - DEBUG - Services list from nova: [, , ] 2025-07-13 02:09:32,059 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3633-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3633-1) 2025-07-13 02:09:33,240 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3633-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3633-1) 2025-07-13 02:09:33,240 - INFO - Waiting for VM ctest-TestBasicPolicy-55095591-05169073 to be up.. 2025-07-13 02:09:33,311 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-13 02:09:38,386 - DEBUG - VM is in ACTIVE state now 2025-07-13 02:09:38,386 - INFO - VM name : ctest-TestBasicPolicy-55095591-05169073 2025-07-13 02:09:38,456 - DEBUG - VM ctest-TestBasicPolicy-55095591-05169073 ID is 25672c21-6473-4dec-9043-852b9310ddf6 2025-07-13 02:09:38,473 - DEBUG - VM ctest-TestBasicPolicy-55095591-05169073 launched on Node cn-jenkins-deploy-platform-ansible-os-3633-1 2025-07-13 02:09:38,540 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/25672c21-6473-4dec-9043-852b9310ddf6 2025-07-13 02:09:38,548 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/ebd56a38-6b15-458a-aabf-0cc959826dd5 2025-07-13 02:09:41,807 - 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 1028ms') 2025-07-13 02:09:41,807 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-55095591-05169073 failed! 2025-07-13 02:09:41,860 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-55095591:ctest-vn-76984362 is 136.174.40.1 and allocation pool is NOT set 2025-07-13 02:09:43,919 - 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=3.13 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.413 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.413/1.773/3.134/1.360 ms') 2025-07-13 02:09:43,920 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-55095591-05169073 passed 2025-07-13 02:09:44,076 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-13 02:09:44,076 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-55095591-05169073, IP 136.174.40.3, Port 22 2025-07-13 02:09:44,231 - DEBUG - VM ctest-TestBasicPolicy-55095591-05169073 is ready for SSH connections 2025-07-13 02:09:44,231 - INFO - Waiting for VM ctest-TestBasicPolicy-55095591-14883655 to be up.. 2025-07-13 02:09:44,300 - DEBUG - VM is in ACTIVE state now 2025-07-13 02:09:44,300 - INFO - VM name : ctest-TestBasicPolicy-55095591-14883655 2025-07-13 02:09:44,361 - DEBUG - VM ctest-TestBasicPolicy-55095591-14883655 ID is f3e31063-841a-486f-a031-9e3b6852c248 2025-07-13 02:09:44,361 - DEBUG - VM ctest-TestBasicPolicy-55095591-14883655 launched on Node cn-jenkins-deploy-platform-ansible-os-3633-1 2025-07-13 02:09:44,427 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f3e31063-841a-486f-a031-9e3b6852c248 2025-07-13 02:09:44,436 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/fe422c52-c89c-4d0f-ac7b-e8c01662fb27 2025-07-13 02:09:45,675 - 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.61 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.416 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.416/1.514/2.613/1.098 ms') 2025-07-13 02:09:45,675 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-55095591-14883655 passed 2025-07-13 02:09:45,824 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-13 02:09:45,824 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-55095591-14883655, IP 27.70.253.67, Port 22 2025-07-13 02:09:45,987 - DEBUG - VM ctest-TestBasicPolicy-55095591-14883655 is ready for SSH connections 2025-07-13 02:09:45,987 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-13 02:09:45,987 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 27.70.253.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-07-13 02:09:45,987 - DEBUG - ping -s 56 -c 3 -W 1 27.70.253.67 2025-07-13 02:09:49,948 - DEBUG - PING 27.70.253.67 (27.70.253.67): 56 data bytes 64 bytes from 27.70.253.67: seq=0 ttl=63 time=3.114 ms 64 bytes from 27.70.253.67: seq=1 ttl=63 time=0.738 ms 64 bytes from 27.70.253.67: seq=2 ttl=63 time=0.908 ms --- 27.70.253.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.738/1.586/3.114 ms 2025-07-13 02:09:49,948 - INFO - Ping to IP 27.70.253.67 from VM ctest-TestBasicPolicy-55095591-05169073 passed 2025-07-13 02:09:50,131 - DEBUG - Policy Update Response {"network-policy": {"uuid": "012e7b42-1949-442d-94dc-12cd57e5213f", "href": "http://10.0.0.50:8082/network-policy/012e7b42-1949-442d-94dc-12cd57e5213f"}} 2025-07-13 02:09:50,132 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-13 02:09:50,132 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 27.70.253.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-07-13 02:09:50,132 - DEBUG - ping -s 56 -c 3 -W 1 27.70.253.67 2025-07-13 02:09:53,329 - DEBUG - PING 27.70.253.67 (27.70.253.67): 56 data bytes --- 27.70.253.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-13 02:09:53,329 - WARNING - Ping to IP 27.70.253.67 from VM ctest-TestBasicPolicy-55095591-05169073 failed 2025-07-13 02:09:53,329 - INFO - Deleting VM ctest-TestBasicPolicy-55095591-14883655 2025-07-13 02:09:53,391 - INFO - Deleting VM ctest-TestBasicPolicy-55095591-05169073 2025-07-13 02:09:53,772 - INFO - Deleted policy ctest-policy-allow-all-56182874 2025-07-13 02:09:53,772 - INFO - Deleting VN ctest-vn-76884357 2025-07-13 02:09:53,814 - DEBUG - VN 24a845e3-3bfe-44bd-af0a-d642f4e8eb60 still in use: Unable to complete operation on network 24a845e3-3bfe-44bd-af0a-d642f4e8eb60. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e6621417-aef6-447d-b501-5c4570c8dd63'] 2025-07-13 02:09:53,814 - WARNING - Deleting VN ctest-vn-76884357 failed..Will retry 2025-07-13 02:09:55,911 - DEBUG - Response for deleting network () 2025-07-13 02:09:55,911 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/57c69c85-ed3d-42ad-8cce-7a1e740887b3 2025-07-13 02:09:55,918 - DEBUG - Response Code: 404 2025-07-13 02:09:55,918 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-13 02:09:55,923 - DEBUG - Requesting: http://10.0.0.50:8082/domain/eac9f20a-cdd3-46df-b574-483accdd8921 2025-07-13 02:09:55,976 - DEBUG - Requesting: http://10.0.0.50:8082/project/3e4f111b-cf7a-4577-9fca-c3829bd5b74b 2025-07-13 02:09:56,044 - INFO - Validated that VN ctest-vn-76884357 is not found in API Server 2025-07-13 02:09:56,054 - DEBUG - VN ctest-vn-76884357 is not present in Agent 10.0.0.50 2025-07-13 02:09:56,054 - INFO - Validated that VN ctest-vn-76884357 is not in any agent 2025-07-13 02:09:56,069 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-76884357 info 2025-07-13 02:09:56,069 - INFO - Deleting VN ctest-vn-76984362 2025-07-13 02:09:56,175 - DEBUG - Response for deleting network () 2025-07-13 02:09:56,175 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fc31edb1-867f-45fd-8123-16e2b3073714 2025-07-13 02:09:56,180 - DEBUG - Response Code: 404 2025-07-13 02:09:56,181 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-13 02:09:56,186 - DEBUG - Requesting: http://10.0.0.50:8082/domain/eac9f20a-cdd3-46df-b574-483accdd8921 2025-07-13 02:09:56,242 - DEBUG - Requesting: http://10.0.0.50:8082/project/3e4f111b-cf7a-4577-9fca-c3829bd5b74b 2025-07-13 02:09:56,311 - INFO - Validated that VN ctest-vn-76984362 is not found in API Server 2025-07-13 02:09:56,322 - DEBUG - VN ctest-vn-76984362 is not present in Agent 10.0.0.50 2025-07-13 02:09:56,322 - INFO - Validated that VN ctest-vn-76984362 is not in any agent 2025-07-13 02:09:56,337 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-76984362 info 2025-07-13 02:09:56,605 - DEBUG - No XMPP flaps were noticed during the test
2025-07-13 02:09:56,605 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-07-13 02:09:56,605 - INFO - -------------------------------------------------------------------------------- 2025-07-13 02:09:57,262 - INFO - Deleted project: ctest-TestBasicPolicy-55095591, ID : 3e4f111b-cf7a-4577-9fca-c3829bd5b74b