2025-07-28 02:23:04,146 - INFO - Domain Default found not creating 2025-07-28 02:23:04,293 - INFO - Project ctest-TestBasicPolicy-80874159 not found, creating it 2025-07-28 02:23:04,767 - INFO - Created Project:ctest-TestBasicPolicy-80874159, ID : b8516365-4206-4b9d-b801-919ff03a0119 2025-07-28 02:23:06,194 - INFO - ================================================================================ 2025-07-28 02:23:06,194 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-28 02:23:06,194 - 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-28 02:23:06,449 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.25': '0'}} with 2025-07-28 02:23:06,449 - INFO - Initial checks done. Running the testcase now 2025-07-28 02:23:06,449 - INFO - 2025-07-28 02:23:07,021 - DEBUG - Response for create_network : {'network': {'id': 'c1982105-601b-454d-bc8d-85889f471f6e', 'name': 'ctest-vn-56146715', 'tenant_id': 'b851636542064b9db801919ff03a0119', 'project_id': 'b851636542064b9db801919ff03a0119', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80874159', 'ctest-vn-56146715'], 'port_security_enabled': True, 'description': ''}} 2025-07-28 02:23:07,178 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e8839aaf-06f9-4512-9d6d-7dd0121bb90d', 'name': '', 'tenant_id': 'b851636542064b9db801919ff03a0119', 'network_id': 'c1982105-601b-454d-bc8d-85889f471f6e', 'ip_version': 4, 'cidr': '172.101.86.128/26', 'allocation_pools': [{'start': '172.101.86.130', 'end': '172.101.86.190'}], 'gateway_ip': '172.101.86.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '172.101.86.130', 'tags': [], 'project_id': 'b851636542064b9db801919ff03a0119'}} 2025-07-28 02:23:07,196 - INFO - Created VN ctest-vn-56146715 2025-07-28 02:23:07,251 - DEBUG - VN ctest-vn-56146715 UUID is c1982105-601b-454d-bc8d-85889f471f6e 2025-07-28 02:23:07,584 - DEBUG - Response for create_network : {'network': {'id': 'ce650ece-fded-49e0-910c-d06b057b892e', 'name': 'ctest-vn-63798631', 'tenant_id': 'b851636542064b9db801919ff03a0119', 'project_id': 'b851636542064b9db801919ff03a0119', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80874159', 'ctest-vn-63798631'], 'port_security_enabled': True, 'description': ''}} 2025-07-28 02:23:07,755 - DEBUG - Response for create_subnet : {'subnet': {'id': '4aaa1e50-5b59-481e-8a7d-930b70de49e9', 'name': '', 'tenant_id': 'b851636542064b9db801919ff03a0119', 'network_id': 'ce650ece-fded-49e0-910c-d06b057b892e', 'ip_version': 4, 'cidr': '4.152.211.0/26', 'allocation_pools': [{'start': '4.152.211.2', 'end': '4.152.211.62'}], 'gateway_ip': '4.152.211.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '4.152.211.2', 'tags': [], 'project_id': 'b851636542064b9db801919ff03a0119'}} 2025-07-28 02:23:07,772 - INFO - Created VN ctest-vn-63798631 2025-07-28 02:23:07,827 - DEBUG - VN ctest-vn-63798631 UUID is ce650ece-fded-49e0-910c-d06b057b892e 2025-07-28 02:23:07,979 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-80874159:ctest-vn-56146715, 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-80874159:ctest-vn-63798631, 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-28 02:23:08,269 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c1982105-601b-454d-bc8d-85889f471f6e', 'name': 'ctest-vn-56146715', 'tenant_id': 'b851636542064b9db801919ff03a0119', 'project_id': 'b851636542064b9db801919ff03a0119', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e8839aaf-06f9-4512-9d6d-7dd0121bb90d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80874159', 'ctest-vn-56146715'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-80874159', 'ctest-policy-allow-all-59840762']], 'subnet_ipam': [{'subnet_cidr': '172.101.86.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-28 02:23:08,504 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ce650ece-fded-49e0-910c-d06b057b892e', 'name': 'ctest-vn-63798631', 'tenant_id': 'b851636542064b9db801919ff03a0119', 'project_id': 'b851636542064b9db801919ff03a0119', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4aaa1e50-5b59-481e-8a7d-930b70de49e9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80874159', 'ctest-vn-63798631'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-80874159', 'ctest-policy-allow-all-59840762']], 'subnet_ipam': [{'subnet_cidr': '4.152.211.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-28 02:23:08,671 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-07-28 02:23:08,962 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-07-28 02:23:08,991 - DEBUG - Requesting: http://10.0.0.27:8082/domain/ca933165-11b8-4c9b-ba4e-b4d0e2be4491 2025-07-28 02:23:09,005 - DEBUG - Requesting: http://10.0.0.27:8082/project/b8516365-4206-4b9d-b801-919ff03a0119 2025-07-28 02:23:09,081 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/c1982105-601b-454d-bc8d-85889f471f6e 2025-07-28 02:23:09,092 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/c1982105-601b-454d-bc8d-85889f471f6e 2025-07-28 02:23:09,103 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/69dd03b4-0888-48bd-aa8a-7162c5bf7a9b 2025-07-28 02:23:09,112 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/69dd03b4-0888-48bd-aa8a-7162c5bf7a9b 2025-07-28 02:23:09,119 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/c687e77a-9db7-4e11-9b34-3bee48ac1983 2025-07-28 02:23:09,125 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-28 02:23:09,126 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/c1982105-601b-454d-bc8d-85889f471f6e 2025-07-28 02:23:09,135 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/69dd03b4-0888-48bd-aa8a-7162c5bf7a9b 2025-07-28 02:23:09,150 - INFO - Verified VN network id 12 for VN c1982105-601b-454d-bc8d-85889f471f6e 2025-07-28 02:23:09,150 - INFO - Verifications in API Server for VN ctest-vn-56146715 passed 2025-07-28 02:23:09,150 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/c1982105-601b-454d-bc8d-85889f471f6e 2025-07-28 02:23:09,160 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/69dd03b4-0888-48bd-aa8a-7162c5bf7a9b 2025-07-28 02:23:09,168 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/69dd03b4-0888-48bd-aa8a-7162c5bf7a9b 2025-07-28 02:23:09,175 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/c687e77a-9db7-4e11-9b34-3bee48ac1983 2025-07-28 02:23:09,187 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-80874159:ctest-vn-56146715', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80874159', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13949936152751064397', 'uuid-lslong': '13586662472680939374'}, 'enable': 'true', 'created': '2025-07-28T02:23:06', 'last-modified': '2025-07-28T02:23:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.939805'} 2025-07-28 02:23:09,194 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-28 02:23:09,194 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-56146715 passed 2025-07-28 02:23:09,194 - DEBUG - ====Verifying policy data for ctest-vn-56146715 in API_Server ====== 2025-07-28 02:23:09,195 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-07-28 02:23:09,201 - DEBUG - Requesting: http://10.0.0.27:8082/domain/ca933165-11b8-4c9b-ba4e-b4d0e2be4491 2025-07-28 02:23:09,214 - DEBUG - Requesting: http://10.0.0.27:8082/project/b8516365-4206-4b9d-b801-919ff03a0119 2025-07-28 02:23:09,285 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/c1982105-601b-454d-bc8d-85889f471f6e 2025-07-28 02:23:09,296 - DEBUG - ==>Verifying data for policy with id: c2ec53aa-cde9-43e1-9629-48332209d83d, fqn: ['default-domain', 'ctest-TestBasicPolicy-80874159', 'ctest-policy-allow-all-59840762'] 2025-07-28 02:23:09,296 - INFO - VN ctest-vn-56146715 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-28 02:23:09,296 - DEBUG - Verifying the vn in opserver 2025-07-28 02:23:09,296 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-80874159:ctest-vn-56146715 virtual network link through opserver 10.0.0.27 2025-07-28 02:23:09,296 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-07-28 02:23:09,586 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-07-28 02:23:09,642 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-80874159:ctest-vn-56146715', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-80874159:ctest-vn-56146715?flat'} 2025-07-28 02:23:09,642 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-80874159:ctest-vn-56146715 is found in opserver 2025-07-28 02:23:09,654 - DEBUG - Do not have enough data to verify VN in agent 2025-07-28 02:23:09,660 - DEBUG - VRF ids for VN ctest-vn-56146715: {} 2025-07-28 02:23:09,660 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-07-28 02:23:09,667 - DEBUG - Requesting: http://10.0.0.27:8082/domain/ca933165-11b8-4c9b-ba4e-b4d0e2be4491 2025-07-28 02:23:09,681 - DEBUG - Requesting: http://10.0.0.27:8082/project/b8516365-4206-4b9d-b801-919ff03a0119 2025-07-28 02:23:09,751 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/ce650ece-fded-49e0-910c-d06b057b892e 2025-07-28 02:23:09,763 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/ce650ece-fded-49e0-910c-d06b057b892e 2025-07-28 02:23:09,773 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/a7d8616c-4a80-48ca-b79a-6f0cf9f9ce2f 2025-07-28 02:23:09,780 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/a7d8616c-4a80-48ca-b79a-6f0cf9f9ce2f 2025-07-28 02:23:09,789 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/e5fdbc92-5dcd-4760-aa2a-f984d94689f5 2025-07-28 02:23:09,798 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-28 02:23:09,798 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/ce650ece-fded-49e0-910c-d06b057b892e 2025-07-28 02:23:09,808 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/a7d8616c-4a80-48ca-b79a-6f0cf9f9ce2f 2025-07-28 02:23:09,825 - INFO - Verified VN network id 13 for VN ce650ece-fded-49e0-910c-d06b057b892e 2025-07-28 02:23:09,825 - INFO - Verifications in API Server for VN ctest-vn-63798631 passed 2025-07-28 02:23:09,825 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/ce650ece-fded-49e0-910c-d06b057b892e 2025-07-28 02:23:09,835 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/a7d8616c-4a80-48ca-b79a-6f0cf9f9ce2f 2025-07-28 02:23:09,843 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/a7d8616c-4a80-48ca-b79a-6f0cf9f9ce2f 2025-07-28 02:23:09,851 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/e5fdbc92-5dcd-4760-aa2a-f984d94689f5 2025-07-28 02:23:09,865 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-80874159:ctest-vn-63798631', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80874159', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14872309626647169504', 'uuid-lslong': '10451957993292138798'}, 'enable': 'true', 'created': '2025-07-28T02:23:07', 'last-modified': '2025-07-28T02:23:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.385993'} 2025-07-28 02:23:09,871 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-28 02:23:09,871 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-63798631 passed 2025-07-28 02:23:09,872 - DEBUG - ====Verifying policy data for ctest-vn-63798631 in API_Server ====== 2025-07-28 02:23:09,872 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-07-28 02:23:09,878 - DEBUG - Requesting: http://10.0.0.27:8082/domain/ca933165-11b8-4c9b-ba4e-b4d0e2be4491 2025-07-28 02:23:09,890 - DEBUG - Requesting: http://10.0.0.27:8082/project/b8516365-4206-4b9d-b801-919ff03a0119 2025-07-28 02:23:09,961 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/ce650ece-fded-49e0-910c-d06b057b892e 2025-07-28 02:23:09,971 - DEBUG - ==>Verifying data for policy with id: c2ec53aa-cde9-43e1-9629-48332209d83d, fqn: ['default-domain', 'ctest-TestBasicPolicy-80874159', 'ctest-policy-allow-all-59840762'] 2025-07-28 02:23:09,971 - INFO - VN ctest-vn-63798631 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-28 02:23:09,971 - DEBUG - Verifying the vn in opserver 2025-07-28 02:23:09,971 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-80874159:ctest-vn-63798631 virtual network link through opserver 10.0.0.27 2025-07-28 02:23:09,971 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-07-28 02:23:09,982 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-80874159:ctest-vn-63798631', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-80874159:ctest-vn-63798631?flat'} 2025-07-28 02:23:09,982 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-80874159:ctest-vn-63798631 is found in opserver 2025-07-28 02:23:09,994 - DEBUG - Do not have enough data to verify VN in agent 2025-07-28 02:23:10,001 - DEBUG - VRF ids for VN ctest-vn-63798631: {} 2025-07-28 02:23:10,063 - DEBUG - Services list from nova: [, , ] 2025-07-28 02:23:11,049 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3720-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3720-1) 2025-07-28 02:23:12,128 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3720-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3720-1) 2025-07-28 02:23:12,128 - INFO - Waiting for VM ctest-TestBasicPolicy-80874159-73293714 to be up.. 2025-07-28 02:23:12,204 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-28 02:23:17,281 - DEBUG - VM is in ACTIVE state now 2025-07-28 02:23:17,281 - INFO - VM name : ctest-TestBasicPolicy-80874159-73293714 2025-07-28 02:23:17,355 - DEBUG - VM ctest-TestBasicPolicy-80874159-73293714 ID is d49d7e57-b77c-4dcb-bb30-ff7a43c73f9d 2025-07-28 02:23:17,376 - DEBUG - VM ctest-TestBasicPolicy-80874159-73293714 launched on Node cn-jenkins-deploy-platform-ansible-os-3720-1 2025-07-28 02:23:17,454 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/d49d7e57-b77c-4dcb-bb30-ff7a43c73f9d 2025-07-28 02:23:17,463 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/013cbff3-5958-4070-9bd3-66adb089a100 2025-07-28 02:23:20,738 - 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 1027ms') 2025-07-28 02:23:20,738 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80874159-73293714 failed! 2025-07-28 02:23:20,795 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-80874159:ctest-vn-56146715 is 172.101.86.129 and allocation pool is NOT set 2025-07-28 02:23:22,856 - 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.73 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.447 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.447/1.588/2.730/1.141 ms') 2025-07-28 02:23:22,857 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80874159-73293714 passed 2025-07-28 02:23:23,007 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-28 02:23:23,007 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-80874159-73293714, IP 172.101.86.131, Port 22 2025-07-28 02:23:23,166 - DEBUG - VM ctest-TestBasicPolicy-80874159-73293714 is ready for SSH connections 2025-07-28 02:23:23,166 - INFO - Waiting for VM ctest-TestBasicPolicy-80874159-55033166 to be up.. 2025-07-28 02:23:23,244 - DEBUG - VM is in ACTIVE state now 2025-07-28 02:23:23,244 - INFO - VM name : ctest-TestBasicPolicy-80874159-55033166 2025-07-28 02:23:23,325 - DEBUG - VM ctest-TestBasicPolicy-80874159-55033166 ID is b3f0c8f6-58e5-4ec3-96f9-0460a1828081 2025-07-28 02:23:23,325 - DEBUG - VM ctest-TestBasicPolicy-80874159-55033166 launched on Node cn-jenkins-deploy-platform-ansible-os-3720-1 2025-07-28 02:23:23,402 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/b3f0c8f6-58e5-4ec3-96f9-0460a1828081 2025-07-28 02:23:23,411 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/3c431069-9045-4b1d-8dfb-3cce89eeddf3 2025-07-28 02:23:24,653 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=2.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.397 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.397/1.580/2.763/1.183 ms') 2025-07-28 02:23:24,653 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-80874159-55033166 passed 2025-07-28 02:23:24,803 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-28 02:23:24,803 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-80874159-55033166, IP 4.152.211.3, Port 22 2025-07-28 02:23:24,954 - DEBUG - VM ctest-TestBasicPolicy-80874159-55033166 is ready for SSH connections 2025-07-28 02:23:24,954 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-28 02:23:24,954 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 4.152.211.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-07-28 02:23:24,954 - DEBUG - ping -s 56 -c 3 -W 1 4.152.211.3 2025-07-28 02:23:28,954 - DEBUG - PING 4.152.211.3 (4.152.211.3): 56 data bytes 64 bytes from 4.152.211.3: seq=0 ttl=63 time=3.234 ms 64 bytes from 4.152.211.3: seq=1 ttl=63 time=0.872 ms 64 bytes from 4.152.211.3: seq=2 ttl=63 time=0.962 ms --- 4.152.211.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.872/1.689/3.234 ms 2025-07-28 02:23:28,954 - INFO - Ping to IP 4.152.211.3 from VM ctest-TestBasicPolicy-80874159-73293714 passed 2025-07-28 02:23:29,134 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c2ec53aa-cde9-43e1-9629-48332209d83d", "href": "http://10.0.0.27:8082/network-policy/c2ec53aa-cde9-43e1-9629-48332209d83d"}} 2025-07-28 02:23:29,135 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-28 02:23:29,135 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 4.152.211.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-07-28 02:23:29,135 - DEBUG - ping -s 56 -c 3 -W 1 4.152.211.3 2025-07-28 02:23:32,336 - DEBUG - PING 4.152.211.3 (4.152.211.3): 56 data bytes --- 4.152.211.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-28 02:23:32,336 - WARNING - Ping to IP 4.152.211.3 from VM ctest-TestBasicPolicy-80874159-73293714 failed 2025-07-28 02:23:32,337 - INFO - Deleting VM ctest-TestBasicPolicy-80874159-55033166 2025-07-28 02:23:32,405 - INFO - Deleting VM ctest-TestBasicPolicy-80874159-73293714 2025-07-28 02:23:32,804 - INFO - Deleted policy ctest-policy-allow-all-59840762 2025-07-28 02:23:32,804 - INFO - Deleting VN ctest-vn-63798631 2025-07-28 02:23:32,838 - DEBUG - VN ce650ece-fded-49e0-910c-d06b057b892e still in use: Unable to complete operation on network ce650ece-fded-49e0-910c-d06b057b892e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-301cbf20-6e6b-420e-975d-0715bd635820'] 2025-07-28 02:23:32,839 - WARNING - Deleting VN ctest-vn-63798631 failed..Will retry 2025-07-28 02:23:34,943 - DEBUG - Response for deleting network () 2025-07-28 02:23:34,943 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/a7d8616c-4a80-48ca-b79a-6f0cf9f9ce2f 2025-07-28 02:23:34,951 - DEBUG - Response Code: 404 2025-07-28 02:23:34,951 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-07-28 02:23:34,956 - DEBUG - Requesting: http://10.0.0.27:8082/domain/ca933165-11b8-4c9b-ba4e-b4d0e2be4491 2025-07-28 02:23:35,013 - DEBUG - Requesting: http://10.0.0.27:8082/project/b8516365-4206-4b9d-b801-919ff03a0119 2025-07-28 02:23:35,087 - INFO - Validated that VN ctest-vn-63798631 is not found in API Server 2025-07-28 02:23:35,097 - DEBUG - VN ctest-vn-63798631 is not present in Agent 10.0.0.27 2025-07-28 02:23:35,098 - INFO - Validated that VN ctest-vn-63798631 is not in any agent 2025-07-28 02:23:35,113 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-63798631 info 2025-07-28 02:23:35,113 - INFO - Deleting VN ctest-vn-56146715 2025-07-28 02:23:35,211 - DEBUG - Response for deleting network () 2025-07-28 02:23:35,211 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/69dd03b4-0888-48bd-aa8a-7162c5bf7a9b 2025-07-28 02:23:35,217 - DEBUG - Response Code: 404 2025-07-28 02:23:35,217 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-07-28 02:23:35,226 - DEBUG - Requesting: http://10.0.0.27:8082/domain/ca933165-11b8-4c9b-ba4e-b4d0e2be4491 2025-07-28 02:23:35,280 - DEBUG - Requesting: http://10.0.0.27:8082/project/b8516365-4206-4b9d-b801-919ff03a0119 2025-07-28 02:23:35,354 - INFO - Validated that VN ctest-vn-56146715 is not found in API Server 2025-07-28 02:23:35,365 - DEBUG - VN ctest-vn-56146715 is not present in Agent 10.0.0.27 2025-07-28 02:23:35,365 - INFO - Validated that VN ctest-vn-56146715 is not in any agent 2025-07-28 02:23:35,381 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-56146715 info 2025-07-28 02:23:35,637 - DEBUG - No XMPP flaps were noticed during the test 2025-07-28 02:23:35,637 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-07-28 02:23:35,637 - INFO - -------------------------------------------------------------------------------- 2025-07-28 02:23:36,312 - INFO - Deleted project: ctest-TestBasicPolicy-80874159, ID : b8516365-4206-4b9d-b801-919ff03a0119