2025-10-24 20:23:38,769 - INFO - Domain Default found not creating 2025-10-24 20:23:39,132 - INFO - Project ctest-TestBasicPolicy-10643907 not found, creating it 2025-10-24 20:23:39,881 - INFO - Created Project:ctest-TestBasicPolicy-10643907, ID : 1f14d19e-7707-4944-aa25-5680a5c15ac2 2025-10-24 20:23:41,834 - INFO - ================================================================================ 2025-10-24 20:23:41,835 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-24 20:23:41,835 - 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-10-24 20:23:42,167 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.14': '0'}} with 2025-10-24 20:23:42,167 - INFO - Initial checks done. Running the testcase now 2025-10-24 20:23:42,167 - INFO - 2025-10-24 20:23:42,988 - DEBUG - Response for create_network : {'network': {'id': '553e7793-7385-4e5a-ad83-29c76fc9533b', 'name': 'ctest-vn-02822688', 'tenant_id': '1f14d19e77074944aa255680a5c15ac2', 'project_id': '1f14d19e77074944aa255680a5c15ac2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10643907', 'ctest-vn-02822688'], 'port_security_enabled': True, 'description': ''}} 2025-10-24 20:23:43,236 - DEBUG - Response for create_subnet : {'subnet': {'id': '93d56977-664e-4f5d-a93e-88a4d7e38bbd', 'name': '', 'tenant_id': '1f14d19e77074944aa255680a5c15ac2', 'network_id': '553e7793-7385-4e5a-ad83-29c76fc9533b', 'ip_version': 4, 'cidr': '165.238.96.0/26', 'allocation_pools': [{'start': '165.238.96.2', 'end': '165.238.96.62'}], 'gateway_ip': '165.238.96.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '165.238.96.2', 'tags': [], 'project_id': '1f14d19e77074944aa255680a5c15ac2'}} 2025-10-24 20:23:43,266 - INFO - Created VN ctest-vn-02822688 2025-10-24 20:23:43,327 - DEBUG - VN ctest-vn-02822688 UUID is 553e7793-7385-4e5a-ad83-29c76fc9533b 2025-10-24 20:23:43,792 - DEBUG - Response for create_network : {'network': {'id': 'ecb02c07-9151-4cc0-8990-72f19ddb71c4', 'name': 'ctest-vn-80703178', 'tenant_id': '1f14d19e77074944aa255680a5c15ac2', 'project_id': '1f14d19e77074944aa255680a5c15ac2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10643907', 'ctest-vn-80703178'], 'port_security_enabled': True, 'description': ''}} 2025-10-24 20:23:44,032 - DEBUG - Response for create_subnet : {'subnet': {'id': '03cc29f3-4621-40e1-be56-3ffa07702389', 'name': '', 'tenant_id': '1f14d19e77074944aa255680a5c15ac2', 'network_id': 'ecb02c07-9151-4cc0-8990-72f19ddb71c4', 'ip_version': 4, 'cidr': '65.149.111.128/26', 'allocation_pools': [{'start': '65.149.111.130', 'end': '65.149.111.190'}], 'gateway_ip': '65.149.111.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '65.149.111.130', 'tags': [], 'project_id': '1f14d19e77074944aa255680a5c15ac2'}} 2025-10-24 20:23:44,052 - INFO - Created VN ctest-vn-80703178 2025-10-24 20:23:44,107 - DEBUG - VN ctest-vn-80703178 UUID is ecb02c07-9151-4cc0-8990-72f19ddb71c4 2025-10-24 20:23:44,253 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-10643907:ctest-vn-02822688, 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-10643907:ctest-vn-80703178, 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-10-24 20:23:44,613 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '553e7793-7385-4e5a-ad83-29c76fc9533b', 'name': 'ctest-vn-02822688', 'tenant_id': '1f14d19e77074944aa255680a5c15ac2', 'project_id': '1f14d19e77074944aa255680a5c15ac2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['93d56977-664e-4f5d-a93e-88a4d7e38bbd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10643907', 'ctest-vn-02822688'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-10643907', 'ctest-policy-allow-all-67753839']], 'subnet_ipam': [{'subnet_cidr': '165.238.96.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-24 20:23:44,852 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ecb02c07-9151-4cc0-8990-72f19ddb71c4', 'name': 'ctest-vn-80703178', 'tenant_id': '1f14d19e77074944aa255680a5c15ac2', 'project_id': '1f14d19e77074944aa255680a5c15ac2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['03cc29f3-4621-40e1-be56-3ffa07702389'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10643907', 'ctest-vn-80703178'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-10643907', 'ctest-policy-allow-all-67753839']], 'subnet_ipam': [{'subnet_cidr': '65.149.111.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-24 20:23:45,007 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-24 20:23:45,317 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-24 20:23:45,394 - DEBUG - Requesting: http://10.0.0.22:8082/domain/4d58c87c-9580-41b5-9c39-fe0c3ac8cd45 2025-10-24 20:23:45,423 - DEBUG - Requesting: http://10.0.0.22:8082/project/1f14d19e-7707-4944-aa25-5680a5c15ac2 2025-10-24 20:23:45,512 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/553e7793-7385-4e5a-ad83-29c76fc9533b 2025-10-24 20:23:45,529 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/553e7793-7385-4e5a-ad83-29c76fc9533b 2025-10-24 20:23:45,543 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/33175a17-ffa6-4be3-8619-f0d0c54282ec 2025-10-24 20:23:45,554 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/33175a17-ffa6-4be3-8619-f0d0c54282ec 2025-10-24 20:23:45,563 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/0c17e810-6841-4804-bda0-bf9adbe97f89 2025-10-24 20:23:45,574 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-24 20:23:45,574 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/553e7793-7385-4e5a-ad83-29c76fc9533b 2025-10-24 20:23:45,590 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/33175a17-ffa6-4be3-8619-f0d0c54282ec 2025-10-24 20:23:45,607 - INFO - Verified VN network id 11 for VN 553e7793-7385-4e5a-ad83-29c76fc9533b 2025-10-24 20:23:45,607 - INFO - Verifications in API Server for VN ctest-vn-02822688 passed 2025-10-24 20:23:45,607 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/553e7793-7385-4e5a-ad83-29c76fc9533b 2025-10-24 20:23:45,619 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/33175a17-ffa6-4be3-8619-f0d0c54282ec 2025-10-24 20:23:45,628 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/33175a17-ffa6-4be3-8619-f0d0c54282ec 2025-10-24 20:23:45,638 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/0c17e810-6841-4804-bda0-bf9adbe97f89 2025-10-24 20:23:45,655 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-10643907:ctest-vn-02822688', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-10643907', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6142478416961949274', 'uuid-lslong': '12502882927061324603'}, 'enable': 'true', 'created': '2025-10-24T20:23:42', 'last-modified': '2025-10-24T20:23:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.058841'} 2025-10-24 20:23:45,665 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-24 20:23:45,665 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-02822688 passed 2025-10-24 20:23:45,665 - DEBUG - ====Verifying policy data for ctest-vn-02822688 in API_Server ====== 2025-10-24 20:23:45,665 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-24 20:23:45,673 - DEBUG - Requesting: http://10.0.0.22:8082/domain/4d58c87c-9580-41b5-9c39-fe0c3ac8cd45 2025-10-24 20:23:45,692 - DEBUG - Requesting: http://10.0.0.22:8082/project/1f14d19e-7707-4944-aa25-5680a5c15ac2 2025-10-24 20:23:45,782 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/553e7793-7385-4e5a-ad83-29c76fc9533b 2025-10-24 20:23:45,801 - DEBUG - ==>Verifying data for policy with id: 9a50c25e-0c00-469e-956e-c6aa339190f2, fqn: ['default-domain', 'ctest-TestBasicPolicy-10643907', 'ctest-policy-allow-all-67753839'] 2025-10-24 20:23:45,801 - INFO - VN ctest-vn-02822688 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-24 20:23:45,801 - DEBUG - Verifying the vn in opserver 2025-10-24 20:23:45,802 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-10643907:ctest-vn-02822688 virtual network link through opserver 10.0.0.22 2025-10-24 20:23:45,802 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-10-24 20:23:46,150 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-10-24 20:23:46,278 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-10643907:ctest-vn-02822688', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-10643907:ctest-vn-02822688?flat'} 2025-10-24 20:23:46,278 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-10643907:ctest-vn-02822688 is found in opserver 2025-10-24 20:23:46,296 - DEBUG - Do not have enough data to verify VN in agent 2025-10-24 20:23:46,310 - DEBUG - VRF ids for VN ctest-vn-02822688: {} 2025-10-24 20:23:46,310 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-24 20:23:46,323 - DEBUG - Requesting: http://10.0.0.22:8082/domain/4d58c87c-9580-41b5-9c39-fe0c3ac8cd45 2025-10-24 20:23:46,345 - DEBUG - Requesting: http://10.0.0.22:8082/project/1f14d19e-7707-4944-aa25-5680a5c15ac2 2025-10-24 20:23:46,442 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/ecb02c07-9151-4cc0-8990-72f19ddb71c4 2025-10-24 20:23:46,460 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/ecb02c07-9151-4cc0-8990-72f19ddb71c4 2025-10-24 20:23:46,477 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/2b488e7b-c0dd-4db3-b1e3-b61415d773f4 2025-10-24 20:23:46,488 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/2b488e7b-c0dd-4db3-b1e3-b61415d773f4 2025-10-24 20:23:46,496 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/d550073d-5215-40c8-896a-11d37f75c717 2025-10-24 20:23:46,505 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-24 20:23:46,505 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/ecb02c07-9151-4cc0-8990-72f19ddb71c4 2025-10-24 20:23:46,520 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/2b488e7b-c0dd-4db3-b1e3-b61415d773f4 2025-10-24 20:23:46,542 - INFO - Verified VN network id 12 for VN ecb02c07-9151-4cc0-8990-72f19ddb71c4 2025-10-24 20:23:46,542 - INFO - Verifications in API Server for VN ctest-vn-80703178 passed 2025-10-24 20:23:46,542 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/ecb02c07-9151-4cc0-8990-72f19ddb71c4 2025-10-24 20:23:46,552 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/2b488e7b-c0dd-4db3-b1e3-b61415d773f4 2025-10-24 20:23:46,560 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/2b488e7b-c0dd-4db3-b1e3-b61415d773f4 2025-10-24 20:23:46,568 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/d550073d-5215-40c8-896a-11d37f75c717 2025-10-24 20:23:46,583 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-10643907:ctest-vn-80703178', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-10643907', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17055180199866485952', 'uuid-lslong': '9912549161903550916'}, 'enable': 'true', 'created': '2025-10-24T20:23:43', 'last-modified': '2025-10-24T20:23:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.751940'} 2025-10-24 20:23:46,590 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-24 20:23:46,590 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-80703178 passed 2025-10-24 20:23:46,590 - DEBUG - ====Verifying policy data for ctest-vn-80703178 in API_Server ====== 2025-10-24 20:23:46,590 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-24 20:23:46,598 - DEBUG - Requesting: http://10.0.0.22:8082/domain/4d58c87c-9580-41b5-9c39-fe0c3ac8cd45 2025-10-24 20:23:46,615 - DEBUG - Requesting: http://10.0.0.22:8082/project/1f14d19e-7707-4944-aa25-5680a5c15ac2 2025-10-24 20:23:46,701 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/ecb02c07-9151-4cc0-8990-72f19ddb71c4 2025-10-24 20:23:46,712 - DEBUG - ==>Verifying data for policy with id: 9a50c25e-0c00-469e-956e-c6aa339190f2, fqn: ['default-domain', 'ctest-TestBasicPolicy-10643907', 'ctest-policy-allow-all-67753839'] 2025-10-24 20:23:46,712 - INFO - VN ctest-vn-80703178 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-24 20:23:46,712 - DEBUG - Verifying the vn in opserver 2025-10-24 20:23:46,712 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-10643907:ctest-vn-80703178 virtual network link through opserver 10.0.0.22 2025-10-24 20:23:46,712 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-10-24 20:23:46,724 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-10643907:ctest-vn-80703178', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-10643907:ctest-vn-80703178?flat'} 2025-10-24 20:23:46,725 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-10643907:ctest-vn-80703178 is found in opserver 2025-10-24 20:23:46,739 - DEBUG - Do not have enough data to verify VN in agent 2025-10-24 20:23:46,746 - DEBUG - VRF ids for VN ctest-vn-80703178: {} 2025-10-24 20:23:46,856 - DEBUG - Services list from nova: [, , ] 2025-10-24 20:23:48,434 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4481-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4481-1) 2025-10-24 20:23:49,713 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4481-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4481-1) 2025-10-24 20:23:49,713 - INFO - Waiting for VM ctest-TestBasicPolicy-10643907-45925789 to be up.. 2025-10-24 20:23:49,822 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-24 20:23:54,998 - DEBUG - VM is in ACTIVE state now 2025-10-24 20:23:54,998 - INFO - VM name : ctest-TestBasicPolicy-10643907-45925789 2025-10-24 20:23:55,098 - DEBUG - VM ctest-TestBasicPolicy-10643907-45925789 ID is afbb8975-27c4-4a87-ae11-9300deea8027 2025-10-24 20:23:55,116 - DEBUG - VM ctest-TestBasicPolicy-10643907-45925789 launched on Node cn-jenkins-deploy-platform-ansible-os-4481-1 2025-10-24 20:23:55,203 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/afbb8975-27c4-4a87-ae11-9300deea8027 2025-10-24 20:23:55,214 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/94e67a0e-5c9a-4ac9-b5dc-bfe248ac1169 2025-10-24 20:23:58,500 - 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 1003ms') 2025-10-24 20:23:58,500 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-10643907-45925789 failed! 2025-10-24 20:23:58,564 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-10643907:ctest-vn-02822688 is 165.238.96.1 and allocation pool is NOT set 2025-10-24 20:24:00,650 - 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=5.19 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=5.81 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 = 5.188/5.499/5.810/0.311 ms') 2025-10-24 20:24:00,650 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-10643907-45925789 passed 2025-10-24 20:24:00,803 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 20:24:00,803 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-10643907-45925789, IP 165.238.96.3, Port 22 2025-10-24 20:24:00,977 - DEBUG - VM ctest-TestBasicPolicy-10643907-45925789 is ready for SSH connections 2025-10-24 20:24:00,977 - INFO - Waiting for VM ctest-TestBasicPolicy-10643907-04064017 to be up.. 2025-10-24 20:24:01,089 - DEBUG - VM is in ACTIVE state now 2025-10-24 20:24:01,089 - INFO - VM name : ctest-TestBasicPolicy-10643907-04064017 2025-10-24 20:24:01,182 - DEBUG - VM ctest-TestBasicPolicy-10643907-04064017 ID is 73bd840b-1008-4c04-b2ec-51469cfe7440 2025-10-24 20:24:01,182 - DEBUG - VM ctest-TestBasicPolicy-10643907-04064017 launched on Node cn-jenkins-deploy-platform-ansible-os-4481-1 2025-10-24 20:24:01,272 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/73bd840b-1008-4c04-b2ec-51469cfe7440 2025-10-24 20:24:01,282 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/e18890fe-8e04-4aa3-b33c-08b267291535 2025-10-24 20:24:02,529 - 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=9.10 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.522 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.522/4.811/9.100/4.289 ms') 2025-10-24 20:24:02,529 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-10643907-04064017 passed 2025-10-24 20:24:02,699 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 20:24:02,699 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-10643907-04064017, IP 65.149.111.131, Port 22 2025-10-24 20:24:02,885 - DEBUG - VM ctest-TestBasicPolicy-10643907-04064017 is ready for SSH connections 2025-10-24 20:24:02,886 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 20:24:02,886 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 65.149.111.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-10-24 20:24:02,887 - DEBUG - ping -s 56 -c 3 -W 1 65.149.111.131 2025-10-24 20:24:07,229 - DEBUG - PING 65.149.111.131 (65.149.111.131): 56 data bytes 64 bytes from 65.149.111.131: seq=0 ttl=63 time=4.264 ms 64 bytes from 65.149.111.131: seq=1 ttl=63 time=2.263 ms 64 bytes from 65.149.111.131: seq=2 ttl=63 time=1.424 ms --- 65.149.111.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.424/2.650/4.264 ms 2025-10-24 20:24:07,229 - INFO - Ping to IP 65.149.111.131 from VM ctest-TestBasicPolicy-10643907-45925789 passed 2025-10-24 20:24:07,471 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9a50c25e-0c00-469e-956e-c6aa339190f2", "href": "http://10.0.0.22:8082/network-policy/9a50c25e-0c00-469e-956e-c6aa339190f2"}} 2025-10-24 20:24:07,471 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 20:24:07,472 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 65.149.111.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-10-24 20:24:07,472 - DEBUG - ping -s 56 -c 3 -W 1 65.149.111.131 2025-10-24 20:24:10,755 - DEBUG - PING 65.149.111.131 (65.149.111.131): 56 data bytes --- 65.149.111.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-24 20:24:10,756 - WARNING - Ping to IP 65.149.111.131 from VM ctest-TestBasicPolicy-10643907-45925789 failed 2025-10-24 20:24:10,756 - INFO - Deleting VM ctest-TestBasicPolicy-10643907-04064017 2025-10-24 20:24:10,896 - INFO - Deleting VM ctest-TestBasicPolicy-10643907-45925789 2025-10-24 20:24:11,494 - INFO - Deleted policy ctest-policy-allow-all-67753839 2025-10-24 20:24:11,494 - INFO - Deleting VN ctest-vn-80703178 2025-10-24 20:24:11,547 - DEBUG - VN ecb02c07-9151-4cc0-8990-72f19ddb71c4 still in use: Unable to complete operation on network ecb02c07-9151-4cc0-8990-72f19ddb71c4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-18f6984f-0ff8-4f1b-b983-30c790e59d44'] 2025-10-24 20:24:11,547 - WARNING - Deleting VN ctest-vn-80703178 failed..Will retry 2025-10-24 20:24:13,767 - DEBUG - Response for deleting network () 2025-10-24 20:24:13,767 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/2b488e7b-c0dd-4db3-b1e3-b61415d773f4 2025-10-24 20:24:13,773 - DEBUG - Response Code: 404 2025-10-24 20:24:13,773 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-24 20:24:13,781 - DEBUG - Requesting: http://10.0.0.22:8082/domain/4d58c87c-9580-41b5-9c39-fe0c3ac8cd45 2025-10-24 20:24:13,839 - DEBUG - Requesting: http://10.0.0.22:8082/project/1f14d19e-7707-4944-aa25-5680a5c15ac2 2025-10-24 20:24:13,933 - INFO - Validated that VN ctest-vn-80703178 is not found in API Server 2025-10-24 20:24:13,949 - DEBUG - VN ctest-vn-80703178 is not present in Agent 10.0.0.22 2025-10-24 20:24:13,949 - INFO - Validated that VN ctest-vn-80703178 is not in any agent 2025-10-24 20:24:13,969 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-80703178 info 2025-10-24 20:24:13,969 - INFO - Deleting VN ctest-vn-02822688 2025-10-24 20:24:14,114 - DEBUG - Response for deleting network () 2025-10-24 20:24:14,114 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/33175a17-ffa6-4be3-8619-f0d0c54282ec 2025-10-24 20:24:14,121 - DEBUG - Response Code: 404 2025-10-24 20:24:14,121 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-24 20:24:14,128 - DEBUG - Requesting: http://10.0.0.22:8082/domain/4d58c87c-9580-41b5-9c39-fe0c3ac8cd45 2025-10-24 20:24:14,181 - DEBUG - Requesting: http://10.0.0.22:8082/project/1f14d19e-7707-4944-aa25-5680a5c15ac2 2025-10-24 20:24:14,281 - INFO - Validated that VN ctest-vn-02822688 is not found in API Server 2025-10-24 20:24:14,294 - DEBUG - VN ctest-vn-02822688 is not present in Agent 10.0.0.22 2025-10-24 20:24:14,295 - INFO - Validated that VN ctest-vn-02822688 is not in any agent 2025-10-24 20:24:14,325 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-02822688 info 2025-10-24 20:24:14,638 - DEBUG - No XMPP flaps were noticed during the test 2025-10-24 20:24:14,638 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:33] 2025-10-24 20:24:14,639 - INFO - -------------------------------------------------------------------------------- 2025-10-24 20:24:15,472 - INFO - Deleted project: ctest-TestBasicPolicy-10643907, ID : 1f14d19e-7707-4944-aa25-5680a5c15ac2