2025-09-15 11:32:40,215 - INFO - Domain Default found not creating 2025-09-15 11:32:40,372 - INFO - Project ctest-TestBasicPolicy-75850686 not found, creating it 2025-09-15 11:32:40,814 - INFO - Created Project:ctest-TestBasicPolicy-75850686, ID : c30bd0d1-0e68-4f34-a33a-192311b53202 2025-09-15 11:32:42,235 - INFO - ================================================================================ 2025-09-15 11:32:42,236 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-15 11:32:42,236 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-09-15 11:32:42,488 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-09-15 11:32:42,488 - INFO - Initial checks done. Running the testcase now 2025-09-15 11:32:42,488 - INFO - 2025-09-15 11:32:43,022 - DEBUG - Response for create_network : {'network': {'id': '029440a4-4fa9-4f40-a29f-b520a4fee62f', 'name': 'ctest-vn-16442295', 'tenant_id': 'c30bd0d10e684f34a33a192311b53202', 'project_id': 'c30bd0d10e684f34a33a192311b53202', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75850686', 'ctest-vn-16442295'], 'port_security_enabled': True, 'description': ''}} 2025-09-15 11:32:43,219 - DEBUG - Response for create_subnet : {'subnet': {'id': '513ea8c9-b3fc-4d9a-a75b-9c0a78d778f5', 'name': '', 'tenant_id': 'c30bd0d10e684f34a33a192311b53202', 'network_id': '029440a4-4fa9-4f40-a29f-b520a4fee62f', 'ip_version': 4, 'cidr': '38.38.232.64/26', 'allocation_pools': [{'start': '38.38.232.66', 'end': '38.38.232.126'}], 'gateway_ip': '38.38.232.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '38.38.232.66', 'tags': [], 'project_id': 'c30bd0d10e684f34a33a192311b53202'}} 2025-09-15 11:32:43,235 - INFO - Created VN ctest-vn-16442295 2025-09-15 11:32:43,287 - DEBUG - VN ctest-vn-16442295 UUID is 029440a4-4fa9-4f40-a29f-b520a4fee62f 2025-09-15 11:32:43,597 - DEBUG - Response for create_network : {'network': {'id': '319bd3e9-1166-458b-bf82-8332ecebdcc7', 'name': 'ctest-vn-05492487', 'tenant_id': 'c30bd0d10e684f34a33a192311b53202', 'project_id': 'c30bd0d10e684f34a33a192311b53202', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75850686', 'ctest-vn-05492487'], 'port_security_enabled': True, 'description': ''}} 2025-09-15 11:32:43,792 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ec12c024-fbdc-4f2c-af5c-8103f896590c', 'name': '', 'tenant_id': 'c30bd0d10e684f34a33a192311b53202', 'network_id': '319bd3e9-1166-458b-bf82-8332ecebdcc7', 'ip_version': 4, 'cidr': '9.26.181.192/26', 'allocation_pools': [{'start': '9.26.181.194', 'end': '9.26.181.254'}], 'gateway_ip': '9.26.181.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '9.26.181.194', 'tags': [], 'project_id': 'c30bd0d10e684f34a33a192311b53202'}} 2025-09-15 11:32:43,808 - INFO - Created VN ctest-vn-05492487 2025-09-15 11:32:43,859 - DEBUG - VN ctest-vn-05492487 UUID is 319bd3e9-1166-458b-bf82-8332ecebdcc7 2025-09-15 11:32:43,971 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-75850686:ctest-vn-16442295, 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-75850686:ctest-vn-05492487, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-09-15 11:32:44,261 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '029440a4-4fa9-4f40-a29f-b520a4fee62f', 'name': 'ctest-vn-16442295', 'tenant_id': 'c30bd0d10e684f34a33a192311b53202', 'project_id': 'c30bd0d10e684f34a33a192311b53202', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['513ea8c9-b3fc-4d9a-a75b-9c0a78d778f5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75850686', 'ctest-vn-16442295'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-75850686', 'ctest-policy-allow-all-38856644']], 'subnet_ipam': [{'subnet_cidr': '38.38.232.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-15 11:32:44,483 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '319bd3e9-1166-458b-bf82-8332ecebdcc7', 'name': 'ctest-vn-05492487', 'tenant_id': 'c30bd0d10e684f34a33a192311b53202', 'project_id': 'c30bd0d10e684f34a33a192311b53202', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ec12c024-fbdc-4f2c-af5c-8103f896590c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75850686', 'ctest-vn-05492487'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-75850686', 'ctest-policy-allow-all-38856644']], 'subnet_ipam': [{'subnet_cidr': '9.26.181.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-15 11:32:44,639 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-15 11:32:44,935 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-15 11:32:44,965 - DEBUG - Requesting: http://10.0.0.22:8082/domain/b060051c-7aee-4d6e-8637-30f7274bf19e 2025-09-15 11:32:44,977 - DEBUG - Requesting: http://10.0.0.22:8082/project/c30bd0d1-0e68-4f34-a33a-192311b53202 2025-09-15 11:32:45,049 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/029440a4-4fa9-4f40-a29f-b520a4fee62f 2025-09-15 11:32:45,059 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/029440a4-4fa9-4f40-a29f-b520a4fee62f 2025-09-15 11:32:45,067 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/622aeb56-4f28-4eb6-b97f-7c69db1da4f8 2025-09-15 11:32:45,073 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/622aeb56-4f28-4eb6-b97f-7c69db1da4f8 2025-09-15 11:32:45,078 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/c9a18841-1af0-47d5-b224-a5b95b06a0f5 2025-09-15 11:32:45,084 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-15 11:32:45,084 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/029440a4-4fa9-4f40-a29f-b520a4fee62f 2025-09-15 11:32:45,092 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/622aeb56-4f28-4eb6-b97f-7c69db1da4f8 2025-09-15 11:32:45,103 - INFO - Verified VN network id 11 for VN 029440a4-4fa9-4f40-a29f-b520a4fee62f 2025-09-15 11:32:45,103 - INFO - Verifications in API Server for VN ctest-vn-16442295 passed 2025-09-15 11:32:45,103 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/029440a4-4fa9-4f40-a29f-b520a4fee62f 2025-09-15 11:32:45,111 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/622aeb56-4f28-4eb6-b97f-7c69db1da4f8 2025-09-15 11:32:45,116 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/622aeb56-4f28-4eb6-b97f-7c69db1da4f8 2025-09-15 11:32:45,122 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/c9a18841-1af0-47d5-b224-a5b95b06a0f5 2025-09-15 11:32:45,131 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-75850686:ctest-vn-16442295', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-75850686', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '185844559084343104', 'uuid-lslong': '11718283907253069359'}, 'enable': 'true', 'created': '2025-09-15T11:32:42', 'last-modified': '2025-09-15T11:32:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.895885'} 2025-09-15 11:32:45,137 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-15 11:32:45,137 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-16442295 passed 2025-09-15 11:32:45,137 - DEBUG - ====Verifying policy data for ctest-vn-16442295 in API_Server ====== 2025-09-15 11:32:45,137 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-15 11:32:45,142 - DEBUG - Requesting: http://10.0.0.22:8082/domain/b060051c-7aee-4d6e-8637-30f7274bf19e 2025-09-15 11:32:45,152 - DEBUG - Requesting: http://10.0.0.22:8082/project/c30bd0d1-0e68-4f34-a33a-192311b53202 2025-09-15 11:32:45,222 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/029440a4-4fa9-4f40-a29f-b520a4fee62f 2025-09-15 11:32:45,230 - DEBUG - ==>Verifying data for policy with id: 83905417-188a-4830-896e-f2794b0f81ce, fqn: ['default-domain', 'ctest-TestBasicPolicy-75850686', 'ctest-policy-allow-all-38856644'] 2025-09-15 11:32:45,231 - INFO - VN ctest-vn-16442295 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-15 11:32:45,231 - DEBUG - Verifying the vn in opserver 2025-09-15 11:32:45,231 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-75850686:ctest-vn-16442295 virtual network link through opserver 10.0.0.22 2025-09-15 11:32:45,231 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-09-15 11:32:45,521 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-09-15 11:32:45,574 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-75850686:ctest-vn-16442295', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-75850686:ctest-vn-16442295?flat'} 2025-09-15 11:32:45,574 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-75850686:ctest-vn-16442295 is found in opserver 2025-09-15 11:32:45,583 - DEBUG - Do not have enough data to verify VN in agent 2025-09-15 11:32:45,587 - DEBUG - VRF ids for VN ctest-vn-16442295: {} 2025-09-15 11:32:45,587 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-15 11:32:45,591 - DEBUG - Requesting: http://10.0.0.22:8082/domain/b060051c-7aee-4d6e-8637-30f7274bf19e 2025-09-15 11:32:45,600 - DEBUG - Requesting: http://10.0.0.22:8082/project/c30bd0d1-0e68-4f34-a33a-192311b53202 2025-09-15 11:32:45,665 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/319bd3e9-1166-458b-bf82-8332ecebdcc7 2025-09-15 11:32:45,674 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/319bd3e9-1166-458b-bf82-8332ecebdcc7 2025-09-15 11:32:45,682 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/8f554887-1255-4cbf-b9bc-73844cecc733 2025-09-15 11:32:45,688 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/8f554887-1255-4cbf-b9bc-73844cecc733 2025-09-15 11:32:45,694 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/3c8827b0-1e2c-4dda-bcba-fcc0080102ce 2025-09-15 11:32:45,700 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-15 11:32:45,700 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/319bd3e9-1166-458b-bf82-8332ecebdcc7 2025-09-15 11:32:45,708 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/8f554887-1255-4cbf-b9bc-73844cecc733 2025-09-15 11:32:45,721 - INFO - Verified VN network id 12 for VN 319bd3e9-1166-458b-bf82-8332ecebdcc7 2025-09-15 11:32:45,721 - INFO - Verifications in API Server for VN ctest-vn-05492487 passed 2025-09-15 11:32:45,721 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/319bd3e9-1166-458b-bf82-8332ecebdcc7 2025-09-15 11:32:45,728 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/8f554887-1255-4cbf-b9bc-73844cecc733 2025-09-15 11:32:45,734 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/8f554887-1255-4cbf-b9bc-73844cecc733 2025-09-15 11:32:45,740 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/3c8827b0-1e2c-4dda-bcba-fcc0080102ce 2025-09-15 11:32:45,750 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-75850686:ctest-vn-05492487', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-75850686', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3574683727221376395', 'uuid-lslong': '13799736462963104967'}, 'enable': 'true', 'created': '2025-09-15T11:32:43', 'last-modified': '2025-09-15T11:32:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.286388'} 2025-09-15 11:32:45,755 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-15 11:32:45,756 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-05492487 passed 2025-09-15 11:32:45,756 - DEBUG - ====Verifying policy data for ctest-vn-05492487 in API_Server ====== 2025-09-15 11:32:45,756 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-15 11:32:45,761 - DEBUG - Requesting: http://10.0.0.22:8082/domain/b060051c-7aee-4d6e-8637-30f7274bf19e 2025-09-15 11:32:45,771 - DEBUG - Requesting: http://10.0.0.22:8082/project/c30bd0d1-0e68-4f34-a33a-192311b53202 2025-09-15 11:32:45,840 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/319bd3e9-1166-458b-bf82-8332ecebdcc7 2025-09-15 11:32:45,848 - DEBUG - ==>Verifying data for policy with id: 83905417-188a-4830-896e-f2794b0f81ce, fqn: ['default-domain', 'ctest-TestBasicPolicy-75850686', 'ctest-policy-allow-all-38856644'] 2025-09-15 11:32:45,848 - INFO - VN ctest-vn-05492487 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-15 11:32:45,848 - DEBUG - Verifying the vn in opserver 2025-09-15 11:32:45,848 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-75850686:ctest-vn-05492487 virtual network link through opserver 10.0.0.22 2025-09-15 11:32:45,848 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-09-15 11:32:45,857 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-75850686:ctest-vn-05492487', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-75850686:ctest-vn-05492487?flat'} 2025-09-15 11:32:45,857 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-75850686:ctest-vn-05492487 is found in opserver 2025-09-15 11:32:45,867 - DEBUG - Do not have enough data to verify VN in agent 2025-09-15 11:32:45,871 - DEBUG - VRF ids for VN ctest-vn-05492487: {} 2025-09-15 11:32:45,926 - DEBUG - Services list from nova: [, , ] 2025-09-15 11:32:46,933 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4115-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4115-1) 2025-09-15 11:32:48,057 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4115-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4115-1) 2025-09-15 11:32:48,057 - INFO - Waiting for VM ctest-TestBasicPolicy-75850686-12020920 to be up.. 2025-09-15 11:32:48,134 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-15 11:32:53,207 - DEBUG - VM is in ACTIVE state now 2025-09-15 11:32:53,207 - INFO - VM name : ctest-TestBasicPolicy-75850686-12020920 2025-09-15 11:32:53,274 - DEBUG - VM ctest-TestBasicPolicy-75850686-12020920 ID is 7c54fe80-caa8-4ca0-9b8e-fb19fb6fbb40 2025-09-15 11:32:53,293 - DEBUG - VM ctest-TestBasicPolicy-75850686-12020920 launched on Node cn-jenkins-deploy-platform-ansible-os-4115-1 2025-09-15 11:32:53,364 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/7c54fe80-caa8-4ca0-9b8e-fb19fb6fbb40 2025-09-15 11:32:53,373 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/d1a68451-0a59-4cdb-8378-4f1315b8850b 2025-09-15 11:32:56,629 - 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 1022ms') 2025-09-15 11:32:56,629 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-75850686-12020920 failed! 2025-09-15 11:32:56,683 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-75850686:ctest-vn-16442295 is 38.38.232.65 and allocation pool is NOT set 2025-09-15 11:32:58,746 - 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=8.00 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.385 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.385/4.192/7.999/3.807 ms') 2025-09-15 11:32:58,746 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-75850686-12020920 passed 2025-09-15 11:32:58,899 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 11:32:58,899 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-75850686-12020920, IP 38.38.232.67, Port 22 2025-09-15 11:32:59,059 - DEBUG - VM ctest-TestBasicPolicy-75850686-12020920 is ready for SSH connections 2025-09-15 11:32:59,059 - INFO - Waiting for VM ctest-TestBasicPolicy-75850686-06309105 to be up.. 2025-09-15 11:32:59,128 - DEBUG - VM is in ACTIVE state now 2025-09-15 11:32:59,128 - INFO - VM name : ctest-TestBasicPolicy-75850686-06309105 2025-09-15 11:32:59,196 - DEBUG - VM ctest-TestBasicPolicy-75850686-06309105 ID is e9c9615f-d1f9-41e7-9921-2884e107e585 2025-09-15 11:32:59,196 - DEBUG - VM ctest-TestBasicPolicy-75850686-06309105 launched on Node cn-jenkins-deploy-platform-ansible-os-4115-1 2025-09-15 11:32:59,260 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/e9c9615f-d1f9-41e7-9921-2884e107e585 2025-09-15 11:32:59,267 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/b727eb4f-6d8d-483e-b2d7-9cef31dcd9f6 2025-09-15 11:33:00,495 - 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.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.584 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.584/1.667/2.751/1.083 ms') 2025-09-15 11:33:00,495 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-75850686-06309105 passed 2025-09-15 11:33:00,643 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 11:33:00,643 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-75850686-06309105, IP 9.26.181.195, Port 22 2025-09-15 11:33:00,812 - DEBUG - VM ctest-TestBasicPolicy-75850686-06309105 is ready for SSH connections 2025-09-15 11:33:00,812 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 11:33:00,812 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 9.26.181.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-15 11:33:00,813 - DEBUG - ping -s 56 -c 3 -W 1 9.26.181.195 2025-09-15 11:33:04,816 - DEBUG - PING 9.26.181.195 (9.26.181.195): 56 data bytes 64 bytes from 9.26.181.195: seq=0 ttl=63 time=3.929 ms 64 bytes from 9.26.181.195: seq=1 ttl=63 time=0.818 ms 64 bytes from 9.26.181.195: seq=2 ttl=63 time=1.120 ms --- 9.26.181.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.818/1.955/3.929 ms 2025-09-15 11:33:04,816 - INFO - Ping to IP 9.26.181.195 from VM ctest-TestBasicPolicy-75850686-12020920 passed 2025-09-15 11:33:05,011 - DEBUG - Policy Update Response {"network-policy": {"uuid": "83905417-188a-4830-896e-f2794b0f81ce", "href": "http://10.0.0.22:8082/network-policy/83905417-188a-4830-896e-f2794b0f81ce"}} 2025-09-15 11:33:05,011 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 11:33:05,011 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 9.26.181.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-15 11:33:05,011 - DEBUG - ping -s 56 -c 3 -W 1 9.26.181.195 2025-09-15 11:33:08,225 - DEBUG - PING 9.26.181.195 (9.26.181.195): 56 data bytes --- 9.26.181.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-15 11:33:08,225 - WARNING - Ping to IP 9.26.181.195 from VM ctest-TestBasicPolicy-75850686-12020920 failed 2025-09-15 11:33:08,225 - INFO - Deleting VM ctest-TestBasicPolicy-75850686-06309105 2025-09-15 11:33:08,307 - INFO - Deleting VM ctest-TestBasicPolicy-75850686-12020920 2025-09-15 11:33:08,639 - INFO - Deleted policy ctest-policy-allow-all-38856644 2025-09-15 11:33:08,640 - INFO - Deleting VN ctest-vn-05492487 2025-09-15 11:33:08,671 - DEBUG - VN 319bd3e9-1166-458b-bf82-8332ecebdcc7 still in use: Unable to complete operation on network 319bd3e9-1166-458b-bf82-8332ecebdcc7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4f1deeae-3418-4383-a421-6a09d84c4de3'] 2025-09-15 11:33:08,671 - WARNING - Deleting VN ctest-vn-05492487 failed..Will retry 2025-09-15 11:33:10,771 - DEBUG - Response for deleting network () 2025-09-15 11:33:10,771 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/8f554887-1255-4cbf-b9bc-73844cecc733 2025-09-15 11:33:10,776 - DEBUG - Response Code: 404 2025-09-15 11:33:10,776 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-15 11:33:10,781 - DEBUG - Requesting: http://10.0.0.22:8082/domain/b060051c-7aee-4d6e-8637-30f7274bf19e 2025-09-15 11:33:10,831 - DEBUG - Requesting: http://10.0.0.22:8082/project/c30bd0d1-0e68-4f34-a33a-192311b53202 2025-09-15 11:33:10,900 - INFO - Validated that VN ctest-vn-05492487 is not found in API Server 2025-09-15 11:33:10,910 - DEBUG - VN ctest-vn-05492487 is not present in Agent 10.0.0.22 2025-09-15 11:33:10,910 - INFO - Validated that VN ctest-vn-05492487 is not in any agent 2025-09-15 11:33:10,924 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-05492487 info 2025-09-15 11:33:10,924 - INFO - Deleting VN ctest-vn-16442295 2025-09-15 11:33:11,031 - DEBUG - Response for deleting network () 2025-09-15 11:33:11,031 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/622aeb56-4f28-4eb6-b97f-7c69db1da4f8 2025-09-15 11:33:11,037 - DEBUG - Response Code: 404 2025-09-15 11:33:11,037 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-15 11:33:11,042 - DEBUG - Requesting: http://10.0.0.22:8082/domain/b060051c-7aee-4d6e-8637-30f7274bf19e 2025-09-15 11:33:11,095 - DEBUG - Requesting: http://10.0.0.22:8082/project/c30bd0d1-0e68-4f34-a33a-192311b53202 2025-09-15 11:33:11,163 - INFO - Validated that VN ctest-vn-16442295 is not found in API Server 2025-09-15 11:33:11,172 - DEBUG - VN ctest-vn-16442295 is not present in Agent 10.0.0.22 2025-09-15 11:33:11,172 - INFO - Validated that VN ctest-vn-16442295 is not in any agent 2025-09-15 11:33:11,184 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-16442295 info 2025-09-15 11:33:11,441 - DEBUG - No XMPP flaps were noticed during the test
2025-09-15 11:33:11,441 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-09-15 11:33:11,441 - INFO - -------------------------------------------------------------------------------- 2025-09-15 11:33:12,111 - INFO - Deleted project: ctest-TestBasicPolicy-75850686, ID : c30bd0d1-0e68-4f34-a33a-192311b53202