2025-11-14 07:51:35,026 - INFO - Domain Default found not creating 2025-11-14 07:51:35,184 - INFO - Project ctest-TestBasicPolicy-34704673 not found, creating it 2025-11-14 07:51:35,632 - INFO - Created Project:ctest-TestBasicPolicy-34704673, ID : 0970f9a8-8ee8-4339-a649-f1ca3aa6367a 2025-11-14 07:51:37,089 - INFO - ================================================================================ 2025-11-14 07:51:37,089 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-14 07:51:37,089 - 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-11-14 07:51:37,348 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.14': '0'}} with 2025-11-14 07:51:37,348 - INFO - Initial checks done. Running the testcase now 2025-11-14 07:51:37,348 - INFO - 2025-11-14 07:51:37,914 - DEBUG - Response for create_network : {'network': {'id': 'e9d9b5f8-3cca-4568-9eb9-c00cf601c6d2', 'name': 'ctest-vn-88078430', 'tenant_id': '0970f9a88ee84339a649f1ca3aa6367a', 'project_id': '0970f9a88ee84339a649f1ca3aa6367a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34704673', 'ctest-vn-88078430'], 'port_security_enabled': True, 'description': ''}} 2025-11-14 07:51:38,108 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ee0eaae3-bd0c-4a30-a3ff-c6a202d30edf', 'name': '', 'tenant_id': '0970f9a88ee84339a649f1ca3aa6367a', 'network_id': 'e9d9b5f8-3cca-4568-9eb9-c00cf601c6d2', 'ip_version': 4, 'cidr': '101.149.176.128/26', 'allocation_pools': [{'start': '101.149.176.130', 'end': '101.149.176.190'}], 'gateway_ip': '101.149.176.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '101.149.176.130', 'tags': [], 'project_id': '0970f9a88ee84339a649f1ca3aa6367a'}} 2025-11-14 07:51:38,123 - INFO - Created VN ctest-vn-88078430 2025-11-14 07:51:38,173 - DEBUG - VN ctest-vn-88078430 UUID is e9d9b5f8-3cca-4568-9eb9-c00cf601c6d2 2025-11-14 07:51:38,488 - DEBUG - Response for create_network : {'network': {'id': 'c8538a13-6023-43fc-9265-be986314ef8c', 'name': 'ctest-vn-18992975', 'tenant_id': '0970f9a88ee84339a649f1ca3aa6367a', 'project_id': '0970f9a88ee84339a649f1ca3aa6367a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34704673', 'ctest-vn-18992975'], 'port_security_enabled': True, 'description': ''}} 2025-11-14 07:51:38,639 - DEBUG - Response for create_subnet : {'subnet': {'id': '0f2f73de-135b-493d-8fcd-19e60ffb04c0', 'name': '', 'tenant_id': '0970f9a88ee84339a649f1ca3aa6367a', 'network_id': 'c8538a13-6023-43fc-9265-be986314ef8c', 'ip_version': 4, 'cidr': '67.97.97.128/26', 'allocation_pools': [{'start': '67.97.97.130', 'end': '67.97.97.190'}], 'gateway_ip': '67.97.97.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '67.97.97.130', 'tags': [], 'project_id': '0970f9a88ee84339a649f1ca3aa6367a'}} 2025-11-14 07:51:38,656 - INFO - Created VN ctest-vn-18992975 2025-11-14 07:51:38,705 - DEBUG - VN ctest-vn-18992975 UUID is c8538a13-6023-43fc-9265-be986314ef8c 2025-11-14 07:51:38,849 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-34704673:ctest-vn-88078430, 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-34704673:ctest-vn-18992975, 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-11-14 07:51:39,139 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e9d9b5f8-3cca-4568-9eb9-c00cf601c6d2', 'name': 'ctest-vn-88078430', 'tenant_id': '0970f9a88ee84339a649f1ca3aa6367a', 'project_id': '0970f9a88ee84339a649f1ca3aa6367a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ee0eaae3-bd0c-4a30-a3ff-c6a202d30edf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34704673', 'ctest-vn-88078430'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-34704673', 'ctest-policy-allow-all-62556167']], 'subnet_ipam': [{'subnet_cidr': '101.149.176.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-14 07:51:39,357 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c8538a13-6023-43fc-9265-be986314ef8c', 'name': 'ctest-vn-18992975', 'tenant_id': '0970f9a88ee84339a649f1ca3aa6367a', 'project_id': '0970f9a88ee84339a649f1ca3aa6367a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0f2f73de-135b-493d-8fcd-19e60ffb04c0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34704673', 'ctest-vn-18992975'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-34704673', 'ctest-policy-allow-all-62556167']], 'subnet_ipam': [{'subnet_cidr': '67.97.97.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-14 07:51:39,525 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-11-14 07:51:39,828 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-11-14 07:51:39,862 - DEBUG - Requesting: http://10.0.0.141:8082/domain/cca70740-afe2-4c9c-87cf-b2c7b25a6d2c 2025-11-14 07:51:39,873 - DEBUG - Requesting: http://10.0.0.141:8082/project/0970f9a8-8ee8-4339-a649-f1ca3aa6367a 2025-11-14 07:51:39,950 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/e9d9b5f8-3cca-4568-9eb9-c00cf601c6d2 2025-11-14 07:51:39,960 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/e9d9b5f8-3cca-4568-9eb9-c00cf601c6d2 2025-11-14 07:51:39,969 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/e5f6dbef-a1a0-454b-93f0-3e56df7bf2cf 2025-11-14 07:51:39,976 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/e5f6dbef-a1a0-454b-93f0-3e56df7bf2cf 2025-11-14 07:51:39,982 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/d85f4c94-320a-4460-9ea0-ab30d46cc352 2025-11-14 07:51:39,988 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-14 07:51:39,988 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/e9d9b5f8-3cca-4568-9eb9-c00cf601c6d2 2025-11-14 07:51:39,997 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/e5f6dbef-a1a0-454b-93f0-3e56df7bf2cf 2025-11-14 07:51:40,009 - INFO - Verified VN network id 11 for VN e9d9b5f8-3cca-4568-9eb9-c00cf601c6d2 2025-11-14 07:51:40,010 - INFO - Verifications in API Server for VN ctest-vn-88078430 passed 2025-11-14 07:51:40,010 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/e9d9b5f8-3cca-4568-9eb9-c00cf601c6d2 2025-11-14 07:51:40,018 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/e5f6dbef-a1a0-454b-93f0-3e56df7bf2cf 2025-11-14 07:51:40,024 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/e5f6dbef-a1a0-454b-93f0-3e56df7bf2cf 2025-11-14 07:51:40,031 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/d85f4c94-320a-4460-9ea0-ab30d46cc352 2025-11-14 07:51:40,043 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-34704673:ctest-vn-88078430', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-34704673', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16850699558559827304', 'uuid-lslong': '11437383890583537362'}, 'enable': 'true', 'created': '2025-11-14T07:51:37', 'last-modified': '2025-11-14T07:51:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.924078'} 2025-11-14 07:51:40,049 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-14 07:51:40,049 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-88078430 passed 2025-11-14 07:51:40,049 - DEBUG - ====Verifying policy data for ctest-vn-88078430 in API_Server ====== 2025-11-14 07:51:40,050 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-11-14 07:51:40,055 - DEBUG - Requesting: http://10.0.0.141:8082/domain/cca70740-afe2-4c9c-87cf-b2c7b25a6d2c 2025-11-14 07:51:40,068 - DEBUG - Requesting: http://10.0.0.141:8082/project/0970f9a8-8ee8-4339-a649-f1ca3aa6367a 2025-11-14 07:51:40,137 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/e9d9b5f8-3cca-4568-9eb9-c00cf601c6d2 2025-11-14 07:51:40,146 - DEBUG - ==>Verifying data for policy with id: ee6c11cb-0cac-4aa6-9689-ce00e1baf6e7, fqn: ['default-domain', 'ctest-TestBasicPolicy-34704673', 'ctest-policy-allow-all-62556167'] 2025-11-14 07:51:40,146 - INFO - VN ctest-vn-88078430 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-14 07:51:40,146 - DEBUG - Verifying the vn in opserver 2025-11-14 07:51:40,146 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-34704673:ctest-vn-88078430 virtual network link through opserver 10.0.0.141 2025-11-14 07:51:40,146 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-11-14 07:51:40,455 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-11-14 07:51:40,516 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-34704673:ctest-vn-88078430', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-34704673:ctest-vn-88078430?flat'} 2025-11-14 07:51:40,516 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-34704673:ctest-vn-88078430 is found in opserver 2025-11-14 07:51:40,527 - DEBUG - Do not have enough data to verify VN in agent 2025-11-14 07:51:40,531 - DEBUG - VRF ids for VN ctest-vn-88078430: {} 2025-11-14 07:51:40,531 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-11-14 07:51:40,538 - DEBUG - Requesting: http://10.0.0.141:8082/domain/cca70740-afe2-4c9c-87cf-b2c7b25a6d2c 2025-11-14 07:51:40,548 - DEBUG - Requesting: http://10.0.0.141:8082/project/0970f9a8-8ee8-4339-a649-f1ca3aa6367a 2025-11-14 07:51:40,618 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/c8538a13-6023-43fc-9265-be986314ef8c 2025-11-14 07:51:40,628 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/c8538a13-6023-43fc-9265-be986314ef8c 2025-11-14 07:51:40,637 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/3823b512-642d-447c-8474-961f90333024 2025-11-14 07:51:40,644 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/3823b512-642d-447c-8474-961f90333024 2025-11-14 07:51:40,652 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/4d04a02c-0b9a-4f7d-9b66-453679c9b528 2025-11-14 07:51:40,659 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-14 07:51:40,659 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/c8538a13-6023-43fc-9265-be986314ef8c 2025-11-14 07:51:40,667 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/3823b512-642d-447c-8474-961f90333024 2025-11-14 07:51:40,681 - INFO - Verified VN network id 12 for VN c8538a13-6023-43fc-9265-be986314ef8c 2025-11-14 07:51:40,681 - INFO - Verifications in API Server for VN ctest-vn-18992975 passed 2025-11-14 07:51:40,681 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/c8538a13-6023-43fc-9265-be986314ef8c 2025-11-14 07:51:40,691 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/3823b512-642d-447c-8474-961f90333024 2025-11-14 07:51:40,698 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/3823b512-642d-447c-8474-961f90333024 2025-11-14 07:51:40,704 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/4d04a02c-0b9a-4f7d-9b66-453679c9b528 2025-11-14 07:51:40,715 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-34704673:ctest-vn-18992975', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-34704673', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14435033046474507260', 'uuid-lslong': '10549047263891877772'}, 'enable': 'true', 'created': '2025-11-14T07:51:38', 'last-modified': '2025-11-14T07:51:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.376562'} 2025-11-14 07:51:40,722 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-14 07:51:40,722 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-18992975 passed 2025-11-14 07:51:40,722 - DEBUG - ====Verifying policy data for ctest-vn-18992975 in API_Server ====== 2025-11-14 07:51:40,722 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-11-14 07:51:40,728 - DEBUG - Requesting: http://10.0.0.141:8082/domain/cca70740-afe2-4c9c-87cf-b2c7b25a6d2c 2025-11-14 07:51:40,738 - DEBUG - Requesting: http://10.0.0.141:8082/project/0970f9a8-8ee8-4339-a649-f1ca3aa6367a 2025-11-14 07:51:40,806 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/c8538a13-6023-43fc-9265-be986314ef8c 2025-11-14 07:51:40,815 - DEBUG - ==>Verifying data for policy with id: ee6c11cb-0cac-4aa6-9689-ce00e1baf6e7, fqn: ['default-domain', 'ctest-TestBasicPolicy-34704673', 'ctest-policy-allow-all-62556167'] 2025-11-14 07:51:40,815 - INFO - VN ctest-vn-18992975 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-14 07:51:40,815 - DEBUG - Verifying the vn in opserver 2025-11-14 07:51:40,815 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-34704673:ctest-vn-18992975 virtual network link through opserver 10.0.0.141 2025-11-14 07:51:40,815 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-11-14 07:51:40,824 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-34704673:ctest-vn-18992975', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-34704673:ctest-vn-18992975?flat'} 2025-11-14 07:51:40,824 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-34704673:ctest-vn-18992975 is found in opserver 2025-11-14 07:51:40,833 - DEBUG - Do not have enough data to verify VN in agent 2025-11-14 07:51:40,837 - DEBUG - VRF ids for VN ctest-vn-18992975: {} 2025-11-14 07:51:40,905 - DEBUG - Services list from nova: [, , ] 2025-11-14 07:51:41,946 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4728-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4728-1) 2025-11-14 07:51:43,162 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4728-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4728-1) 2025-11-14 07:51:43,162 - INFO - Waiting for VM ctest-TestBasicPolicy-34704673-10358507 to be up.. 2025-11-14 07:51:43,245 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-14 07:51:48,316 - DEBUG - VM is in ACTIVE state now 2025-11-14 07:51:48,316 - INFO - VM name : ctest-TestBasicPolicy-34704673-10358507 2025-11-14 07:51:48,387 - DEBUG - VM ctest-TestBasicPolicy-34704673-10358507 ID is 8e2d2326-288f-4d96-a556-3078d4ef8ee0 2025-11-14 07:51:48,407 - DEBUG - VM ctest-TestBasicPolicy-34704673-10358507 launched on Node cn-jenkins-deploy-platform-ansible-os-4728-1 2025-11-14 07:51:48,482 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/8e2d2326-288f-4d96-a556-3078d4ef8ee0 2025-11-14 07:51:48,489 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/52e6c03e-4eaf-422f-8f7d-0bb13454edba 2025-11-14 07:51:51,715 - 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 1035ms') 2025-11-14 07:51:51,715 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-34704673-10358507 failed! 2025-11-14 07:51:51,769 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-34704673:ctest-vn-88078430 is 101.149.176.129 and allocation pool is NOT set 2025-11-14 07:51:53,831 - 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.92 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.903 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.903/4.912/8.921/4.009 ms') 2025-11-14 07:51:53,831 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-34704673-10358507 passed 2025-11-14 07:51:53,981 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-14 07:51:53,981 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-34704673-10358507, IP 101.149.176.131, Port 22 2025-11-14 07:51:54,136 - DEBUG - VM ctest-TestBasicPolicy-34704673-10358507 is ready for SSH connections 2025-11-14 07:51:54,137 - INFO - Waiting for VM ctest-TestBasicPolicy-34704673-64513343 to be up.. 2025-11-14 07:51:54,213 - DEBUG - VM is in ACTIVE state now 2025-11-14 07:51:54,213 - INFO - VM name : ctest-TestBasicPolicy-34704673-64513343 2025-11-14 07:51:54,282 - DEBUG - VM ctest-TestBasicPolicy-34704673-64513343 ID is effc6ca9-a0cf-4e6e-bdde-fd7b3c9558de 2025-11-14 07:51:54,282 - DEBUG - VM ctest-TestBasicPolicy-34704673-64513343 launched on Node cn-jenkins-deploy-platform-ansible-os-4728-1 2025-11-14 07:51:54,360 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/effc6ca9-a0cf-4e6e-bdde-fd7b3c9558de 2025-11-14 07:51:54,369 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/d9c1580d-0d6d-40fe-b0b9-d1d6399c08a9 2025-11-14 07:51:55,617 - 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=3.18 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.789/3.181/1.392 ms') 2025-11-14 07:51:55,617 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-34704673-64513343 passed 2025-11-14 07:51:55,765 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-14 07:51:55,765 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-34704673-64513343, IP 67.97.97.131, Port 22 2025-11-14 07:51:55,931 - DEBUG - VM ctest-TestBasicPolicy-34704673-64513343 is ready for SSH connections 2025-11-14 07:51:55,931 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-14 07:51:55,932 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 67.97.97.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-11-14 07:51:55,932 - DEBUG - ping -s 56 -c 3 -W 1 67.97.97.131 2025-11-14 07:51:59,950 - DEBUG - PING 67.97.97.131 (67.97.97.131): 56 data bytes 64 bytes from 67.97.97.131: seq=0 ttl=63 time=3.293 ms 64 bytes from 67.97.97.131: seq=1 ttl=63 time=0.785 ms 64 bytes from 67.97.97.131: seq=2 ttl=63 time=0.831 ms --- 67.97.97.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.785/1.636/3.293 ms 2025-11-14 07:51:59,950 - INFO - Ping to IP 67.97.97.131 from VM ctest-TestBasicPolicy-34704673-10358507 passed 2025-11-14 07:52:00,125 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ee6c11cb-0cac-4aa6-9689-ce00e1baf6e7", "href": "http://10.0.0.141:8082/network-policy/ee6c11cb-0cac-4aa6-9689-ce00e1baf6e7"}} 2025-11-14 07:52:00,125 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-14 07:52:00,125 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 67.97.97.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-11-14 07:52:00,125 - DEBUG - ping -s 56 -c 3 -W 1 67.97.97.131 2025-11-14 07:52:03,340 - DEBUG - PING 67.97.97.131 (67.97.97.131): 56 data bytes --- 67.97.97.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-14 07:52:03,341 - WARNING - Ping to IP 67.97.97.131 from VM ctest-TestBasicPolicy-34704673-10358507 failed 2025-11-14 07:52:03,341 - INFO - Deleting VM ctest-TestBasicPolicy-34704673-64513343 2025-11-14 07:52:03,415 - INFO - Deleting VM ctest-TestBasicPolicy-34704673-10358507 2025-11-14 07:52:03,791 - INFO - Deleted policy ctest-policy-allow-all-62556167 2025-11-14 07:52:03,791 - INFO - Deleting VN ctest-vn-18992975 2025-11-14 07:52:03,826 - DEBUG - VN c8538a13-6023-43fc-9265-be986314ef8c still in use: Unable to complete operation on network c8538a13-6023-43fc-9265-be986314ef8c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2a97b83c-6e19-4f42-88ab-4331810e929c'] 2025-11-14 07:52:03,826 - WARNING - Deleting VN ctest-vn-18992975 failed..Will retry 2025-11-14 07:52:05,927 - DEBUG - Response for deleting network () 2025-11-14 07:52:05,927 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/3823b512-642d-447c-8474-961f90333024 2025-11-14 07:52:05,933 - DEBUG - Response Code: 404 2025-11-14 07:52:05,933 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-11-14 07:52:05,938 - DEBUG - Requesting: http://10.0.0.141:8082/domain/cca70740-afe2-4c9c-87cf-b2c7b25a6d2c 2025-11-14 07:52:05,991 - DEBUG - Requesting: http://10.0.0.141:8082/project/0970f9a8-8ee8-4339-a649-f1ca3aa6367a 2025-11-14 07:52:06,063 - INFO - Validated that VN ctest-vn-18992975 is not found in API Server 2025-11-14 07:52:06,072 - DEBUG - VN ctest-vn-18992975 is not present in Agent 10.0.0.141 2025-11-14 07:52:06,072 - INFO - Validated that VN ctest-vn-18992975 is not in any agent 2025-11-14 07:52:06,084 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-18992975 info 2025-11-14 07:52:06,084 - INFO - Deleting VN ctest-vn-88078430 2025-11-14 07:52:06,197 - DEBUG - Response for deleting network () 2025-11-14 07:52:06,197 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/e5f6dbef-a1a0-454b-93f0-3e56df7bf2cf 2025-11-14 07:52:06,202 - DEBUG - Response Code: 404 2025-11-14 07:52:06,203 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-11-14 07:52:06,211 - DEBUG - Requesting: http://10.0.0.141:8082/domain/cca70740-afe2-4c9c-87cf-b2c7b25a6d2c 2025-11-14 07:52:06,261 - DEBUG - Requesting: http://10.0.0.141:8082/project/0970f9a8-8ee8-4339-a649-f1ca3aa6367a 2025-11-14 07:52:06,333 - INFO - Validated that VN ctest-vn-88078430 is not found in API Server 2025-11-14 07:52:06,344 - DEBUG - VN ctest-vn-88078430 is not present in Agent 10.0.0.141 2025-11-14 07:52:06,344 - INFO - Validated that VN ctest-vn-88078430 is not in any agent 2025-11-14 07:52:06,358 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-88078430 info 2025-11-14 07:52:06,614 - DEBUG - No XMPP flaps were noticed during the test
2025-11-14 07:52:06,614 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-11-14 07:52:06,614 - INFO - -------------------------------------------------------------------------------- 2025-11-14 07:52:07,288 - INFO - Deleted project: ctest-TestBasicPolicy-34704673, ID : 0970f9a8-8ee8-4339-a649-f1ca3aa6367a