2025-09-15 11:46:10,806 - INFO - Domain Default found not creating 2025-09-15 11:46:10,976 - INFO - Project ctest-TestBasicPolicy-34058696 not found, creating it 2025-09-15 11:46:11,680 - INFO - Created Project:ctest-TestBasicPolicy-34058696, ID : 337c268a-4586-426c-bb5f-0b7be8206569 2025-09-15 11:46:13,249 - INFO - ================================================================================ 2025-09-15 11:46:13,249 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-15 11:46:13,249 - 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:46:13,502 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-09-15 11:46:13,502 - INFO - Initial checks done. Running the testcase now 2025-09-15 11:46:13,502 - INFO - 2025-09-15 11:46:14,038 - DEBUG - Response for create_network : {'network': {'id': 'bd001de7-c6c4-4cf7-8bfd-58b9d49e25db', 'name': 'ctest-vn-65562416', 'tenant_id': '337c268a4586426cbb5f0b7be8206569', 'project_id': '337c268a4586426cbb5f0b7be8206569', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34058696', 'ctest-vn-65562416'], 'port_security_enabled': True, 'description': ''}} 2025-09-15 11:46:14,205 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cfdf8968-fa7e-43ae-91c2-97d21647ddd7', 'name': '', 'tenant_id': '337c268a4586426cbb5f0b7be8206569', 'network_id': 'bd001de7-c6c4-4cf7-8bfd-58b9d49e25db', 'ip_version': 4, 'cidr': '18.138.207.0/26', 'allocation_pools': [{'start': '18.138.207.2', 'end': '18.138.207.62'}], 'gateway_ip': '18.138.207.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.138.207.2', 'tags': [], 'project_id': '337c268a4586426cbb5f0b7be8206569'}} 2025-09-15 11:46:14,228 - INFO - Created VN ctest-vn-65562416 2025-09-15 11:46:14,281 - DEBUG - VN ctest-vn-65562416 UUID is bd001de7-c6c4-4cf7-8bfd-58b9d49e25db 2025-09-15 11:46:14,564 - DEBUG - Response for create_network : {'network': {'id': 'f67716bf-bd45-4abc-81e2-42f9ae649496', 'name': 'ctest-vn-56586957', 'tenant_id': '337c268a4586426cbb5f0b7be8206569', 'project_id': '337c268a4586426cbb5f0b7be8206569', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34058696', 'ctest-vn-56586957'], 'port_security_enabled': True, 'description': ''}} 2025-09-15 11:46:14,755 - DEBUG - Response for create_subnet : {'subnet': {'id': '7e28a419-48b3-4c19-ae5d-914c694058ff', 'name': '', 'tenant_id': '337c268a4586426cbb5f0b7be8206569', 'network_id': 'f67716bf-bd45-4abc-81e2-42f9ae649496', 'ip_version': 4, 'cidr': '205.229.130.0/26', 'allocation_pools': [{'start': '205.229.130.2', 'end': '205.229.130.62'}], 'gateway_ip': '205.229.130.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '205.229.130.2', 'tags': [], 'project_id': '337c268a4586426cbb5f0b7be8206569'}} 2025-09-15 11:46:14,771 - INFO - Created VN ctest-vn-56586957 2025-09-15 11:46:14,821 - DEBUG - VN ctest-vn-56586957 UUID is f67716bf-bd45-4abc-81e2-42f9ae649496 2025-09-15 11:46:14,935 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-34058696:ctest-vn-65562416, 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-34058696:ctest-vn-56586957, 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:46:15,219 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bd001de7-c6c4-4cf7-8bfd-58b9d49e25db', 'name': 'ctest-vn-65562416', 'tenant_id': '337c268a4586426cbb5f0b7be8206569', 'project_id': '337c268a4586426cbb5f0b7be8206569', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cfdf8968-fa7e-43ae-91c2-97d21647ddd7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34058696', 'ctest-vn-65562416'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-34058696', 'ctest-policy-allow-all-95488611']], 'subnet_ipam': [{'subnet_cidr': '18.138.207.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-15 11:46:15,437 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f67716bf-bd45-4abc-81e2-42f9ae649496', 'name': 'ctest-vn-56586957', 'tenant_id': '337c268a4586426cbb5f0b7be8206569', 'project_id': '337c268a4586426cbb5f0b7be8206569', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7e28a419-48b3-4c19-ae5d-914c694058ff'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34058696', 'ctest-vn-56586957'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-34058696', 'ctest-policy-allow-all-95488611']], 'subnet_ipam': [{'subnet_cidr': '205.229.130.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-15 11:46:15,605 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-15 11:46:15,903 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-15 11:46:15,932 - DEBUG - Requesting: http://10.0.0.38:8082/domain/32c5e2e0-3441-478a-b5fe-124d47d945e6 2025-09-15 11:46:15,943 - DEBUG - Requesting: http://10.0.0.38:8082/project/337c268a-4586-426c-bb5f-0b7be8206569 2025-09-15 11:46:16,010 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bd001de7-c6c4-4cf7-8bfd-58b9d49e25db 2025-09-15 11:46:16,022 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bd001de7-c6c4-4cf7-8bfd-58b9d49e25db 2025-09-15 11:46:16,033 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/11efae03-498b-43b7-bce1-70c31e14b901 2025-09-15 11:46:16,041 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/11efae03-498b-43b7-bce1-70c31e14b901 2025-09-15 11:46:16,047 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/1f3c841e-3370-4f52-8349-08a7a012b67b 2025-09-15 11:46:16,053 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-15 11:46:16,053 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bd001de7-c6c4-4cf7-8bfd-58b9d49e25db 2025-09-15 11:46:16,063 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/11efae03-498b-43b7-bce1-70c31e14b901 2025-09-15 11:46:16,078 - INFO - Verified VN network id 11 for VN bd001de7-c6c4-4cf7-8bfd-58b9d49e25db 2025-09-15 11:46:16,078 - INFO - Verifications in API Server for VN ctest-vn-65562416 passed 2025-09-15 11:46:16,078 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bd001de7-c6c4-4cf7-8bfd-58b9d49e25db 2025-09-15 11:46:16,087 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/11efae03-498b-43b7-bce1-70c31e14b901 2025-09-15 11:46:16,094 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/11efae03-498b-43b7-bce1-70c31e14b901 2025-09-15 11:46:16,101 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/1f3c841e-3370-4f52-8349-08a7a012b67b 2025-09-15 11:46:16,113 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-34058696:ctest-vn-65562416', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-34058696', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13618918154477784311', 'uuid-lslong': '10087316295539107291'}, 'enable': 'true', 'created': '2025-09-15T11:46:14', 'last-modified': '2025-09-15T11:46:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.916232'} 2025-09-15 11:46:16,119 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-15 11:46:16,119 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-65562416 passed 2025-09-15 11:46:16,119 - DEBUG - ====Verifying policy data for ctest-vn-65562416 in API_Server ====== 2025-09-15 11:46:16,119 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-15 11:46:16,125 - DEBUG - Requesting: http://10.0.0.38:8082/domain/32c5e2e0-3441-478a-b5fe-124d47d945e6 2025-09-15 11:46:16,138 - DEBUG - Requesting: http://10.0.0.38:8082/project/337c268a-4586-426c-bb5f-0b7be8206569 2025-09-15 11:46:16,207 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bd001de7-c6c4-4cf7-8bfd-58b9d49e25db 2025-09-15 11:46:16,220 - DEBUG - ==>Verifying data for policy with id: 2ba15717-2572-406d-bfc5-bc724dd540ec, fqn: ['default-domain', 'ctest-TestBasicPolicy-34058696', 'ctest-policy-allow-all-95488611'] 2025-09-15 11:46:16,220 - INFO - VN ctest-vn-65562416 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-15 11:46:16,220 - DEBUG - Verifying the vn in opserver 2025-09-15 11:46:16,220 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-34058696:ctest-vn-65562416 virtual network link through opserver 10.0.0.38 2025-09-15 11:46:16,221 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-09-15 11:46:16,512 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-09-15 11:46:16,559 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-34058696:ctest-vn-65562416', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-34058696:ctest-vn-65562416?flat'} 2025-09-15 11:46:16,559 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-34058696:ctest-vn-65562416 is found in opserver 2025-09-15 11:46:16,568 - DEBUG - Do not have enough data to verify VN in agent 2025-09-15 11:46:16,572 - DEBUG - VRF ids for VN ctest-vn-65562416: {} 2025-09-15 11:46:16,572 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-15 11:46:16,577 - DEBUG - Requesting: http://10.0.0.38:8082/domain/32c5e2e0-3441-478a-b5fe-124d47d945e6 2025-09-15 11:46:16,587 - DEBUG - Requesting: http://10.0.0.38:8082/project/337c268a-4586-426c-bb5f-0b7be8206569 2025-09-15 11:46:16,654 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f67716bf-bd45-4abc-81e2-42f9ae649496 2025-09-15 11:46:16,669 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f67716bf-bd45-4abc-81e2-42f9ae649496 2025-09-15 11:46:16,680 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4046a633-0ae5-487d-a962-8a32dae36ce6 2025-09-15 11:46:16,687 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4046a633-0ae5-487d-a962-8a32dae36ce6 2025-09-15 11:46:16,693 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/9ffec34f-9201-4f27-9a30-a75819f3e91e 2025-09-15 11:46:16,699 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-15 11:46:16,699 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f67716bf-bd45-4abc-81e2-42f9ae649496 2025-09-15 11:46:16,710 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4046a633-0ae5-487d-a962-8a32dae36ce6 2025-09-15 11:46:16,725 - INFO - Verified VN network id 12 for VN f67716bf-bd45-4abc-81e2-42f9ae649496 2025-09-15 11:46:16,725 - INFO - Verifications in API Server for VN ctest-vn-56586957 passed 2025-09-15 11:46:16,725 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f67716bf-bd45-4abc-81e2-42f9ae649496 2025-09-15 11:46:16,734 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4046a633-0ae5-487d-a962-8a32dae36ce6 2025-09-15 11:46:16,741 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4046a633-0ae5-487d-a962-8a32dae36ce6 2025-09-15 11:46:16,747 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/9ffec34f-9201-4f27-9a30-a75819f3e91e 2025-09-15 11:46:16,760 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-34058696:ctest-vn-56586957', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-34058696', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17759688668328839868', 'uuid-lslong': '9359116615769429142'}, 'enable': 'true', 'created': '2025-09-15T11:46:14', 'last-modified': '2025-09-15T11:46:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.344623'} 2025-09-15 11:46:16,765 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-15 11:46:16,765 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-56586957 passed 2025-09-15 11:46:16,765 - DEBUG - ====Verifying policy data for ctest-vn-56586957 in API_Server ====== 2025-09-15 11:46:16,765 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-15 11:46:16,771 - DEBUG - Requesting: http://10.0.0.38:8082/domain/32c5e2e0-3441-478a-b5fe-124d47d945e6 2025-09-15 11:46:16,782 - DEBUG - Requesting: http://10.0.0.38:8082/project/337c268a-4586-426c-bb5f-0b7be8206569 2025-09-15 11:46:16,851 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f67716bf-bd45-4abc-81e2-42f9ae649496 2025-09-15 11:46:16,861 - DEBUG - ==>Verifying data for policy with id: 2ba15717-2572-406d-bfc5-bc724dd540ec, fqn: ['default-domain', 'ctest-TestBasicPolicy-34058696', 'ctest-policy-allow-all-95488611'] 2025-09-15 11:46:16,861 - INFO - VN ctest-vn-56586957 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-15 11:46:16,861 - DEBUG - Verifying the vn in opserver 2025-09-15 11:46:16,861 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-34058696:ctest-vn-56586957 virtual network link through opserver 10.0.0.38 2025-09-15 11:46:16,861 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-09-15 11:46:16,872 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-34058696:ctest-vn-56586957', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-34058696:ctest-vn-56586957?flat'} 2025-09-15 11:46:16,872 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-34058696:ctest-vn-56586957 is found in opserver 2025-09-15 11:46:16,883 - DEBUG - Do not have enough data to verify VN in agent 2025-09-15 11:46:16,888 - DEBUG - VRF ids for VN ctest-vn-56586957: {} 2025-09-15 11:46:16,951 - DEBUG - Services list from nova: [, , ] 2025-09-15 11:46:17,950 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4116-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4116-1) 2025-09-15 11:46:19,072 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4116-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4116-1) 2025-09-15 11:46:19,072 - INFO - Waiting for VM ctest-TestBasicPolicy-34058696-73569559 to be up.. 2025-09-15 11:46:19,144 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-15 11:46:24,227 - DEBUG - VM is in ACTIVE state now 2025-09-15 11:46:24,227 - INFO - VM name : ctest-TestBasicPolicy-34058696-73569559 2025-09-15 11:46:24,305 - DEBUG - VM ctest-TestBasicPolicy-34058696-73569559 ID is 442b50e3-12d6-4ad0-a889-c18879c27c70 2025-09-15 11:46:24,328 - DEBUG - VM ctest-TestBasicPolicy-34058696-73569559 launched on Node cn-jenkins-deploy-platform-ansible-os-4116-1 2025-09-15 11:46:24,409 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/442b50e3-12d6-4ad0-a889-c18879c27c70 2025-09-15 11:46:24,418 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/cbe7d42d-357f-40ec-8acf-10ff638c3b55 2025-09-15 11:46:27,673 - 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 1006ms') 2025-09-15 11:46:27,673 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-34058696-73569559 failed! 2025-09-15 11:46:27,733 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-34058696:ctest-vn-65562416 is 18.138.207.1 and allocation pool is NOT set 2025-09-15 11:46:29,798 - 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=6.57 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.510 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.510/3.538/6.566/3.028 ms') 2025-09-15 11:46:29,798 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-34058696-73569559 passed 2025-09-15 11:46:29,949 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 11:46:29,949 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-34058696-73569559, IP 18.138.207.3, Port 22 2025-09-15 11:46:30,119 - DEBUG - VM ctest-TestBasicPolicy-34058696-73569559 is ready for SSH connections 2025-09-15 11:46:30,120 - INFO - Waiting for VM ctest-TestBasicPolicy-34058696-71963789 to be up.. 2025-09-15 11:46:30,192 - DEBUG - VM is in ACTIVE state now 2025-09-15 11:46:30,192 - INFO - VM name : ctest-TestBasicPolicy-34058696-71963789 2025-09-15 11:46:30,266 - DEBUG - VM ctest-TestBasicPolicy-34058696-71963789 ID is 718fa5e6-5298-480b-aa87-61d39877b16f 2025-09-15 11:46:30,266 - DEBUG - VM ctest-TestBasicPolicy-34058696-71963789 launched on Node cn-jenkins-deploy-platform-ansible-os-4116-1 2025-09-15 11:46:30,340 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/718fa5e6-5298-480b-aa87-61d39877b16f 2025-09-15 11:46:30,348 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/247dbbaa-b457-4a66-b27f-9015f5188bc7 2025-09-15 11:46:31,582 - 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=4.22 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.14 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 = 1.137/2.676/4.215/1.539 ms') 2025-09-15 11:46:31,582 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-34058696-71963789 passed 2025-09-15 11:46:31,737 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 11:46:31,737 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-34058696-71963789, IP 205.229.130.3, Port 22 2025-09-15 11:46:31,896 - DEBUG - VM ctest-TestBasicPolicy-34058696-71963789 is ready for SSH connections 2025-09-15 11:46:31,896 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 11:46:31,896 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 205.229.130.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-15 11:46:31,897 - DEBUG - ping -s 56 -c 3 -W 1 205.229.130.3 2025-09-15 11:46:35,918 - DEBUG - PING 205.229.130.3 (205.229.130.3): 56 data bytes 64 bytes from 205.229.130.3: seq=0 ttl=63 time=3.276 ms 64 bytes from 205.229.130.3: seq=1 ttl=63 time=0.784 ms 64 bytes from 205.229.130.3: seq=2 ttl=63 time=1.043 ms --- 205.229.130.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.784/1.701/3.276 ms 2025-09-15 11:46:35,918 - INFO - Ping to IP 205.229.130.3 from VM ctest-TestBasicPolicy-34058696-73569559 passed 2025-09-15 11:46:36,093 - DEBUG - Policy Update Response {"network-policy": {"uuid": "2ba15717-2572-406d-bfc5-bc724dd540ec", "href": "http://10.0.0.38:8082/network-policy/2ba15717-2572-406d-bfc5-bc724dd540ec"}} 2025-09-15 11:46:36,093 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 11:46:36,093 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 205.229.130.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-15 11:46:36,093 - DEBUG - ping -s 56 -c 3 -W 1 205.229.130.3 2025-09-15 11:46:39,298 - DEBUG - PING 205.229.130.3 (205.229.130.3): 56 data bytes --- 205.229.130.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-15 11:46:39,299 - WARNING - Ping to IP 205.229.130.3 from VM ctest-TestBasicPolicy-34058696-73569559 failed 2025-09-15 11:46:39,299 - INFO - Deleting VM ctest-TestBasicPolicy-34058696-71963789 2025-09-15 11:46:39,364 - INFO - Deleting VM ctest-TestBasicPolicy-34058696-73569559 2025-09-15 11:46:39,746 - INFO - Deleted policy ctest-policy-allow-all-95488611 2025-09-15 11:46:39,746 - INFO - Deleting VN ctest-vn-56586957 2025-09-15 11:46:39,778 - DEBUG - VN f67716bf-bd45-4abc-81e2-42f9ae649496 still in use: Unable to complete operation on network f67716bf-bd45-4abc-81e2-42f9ae649496. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5cb6ef3b-bb37-4b7a-93e4-685e2c8f4680'] 2025-09-15 11:46:39,779 - WARNING - Deleting VN ctest-vn-56586957 failed..Will retry 2025-09-15 11:46:41,879 - DEBUG - Response for deleting network () 2025-09-15 11:46:41,879 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4046a633-0ae5-487d-a962-8a32dae36ce6 2025-09-15 11:46:41,884 - DEBUG - Response Code: 404 2025-09-15 11:46:41,884 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-15 11:46:41,890 - DEBUG - Requesting: http://10.0.0.38:8082/domain/32c5e2e0-3441-478a-b5fe-124d47d945e6 2025-09-15 11:46:41,942 - DEBUG - Requesting: http://10.0.0.38:8082/project/337c268a-4586-426c-bb5f-0b7be8206569 2025-09-15 11:46:42,021 - INFO - Validated that VN ctest-vn-56586957 is not found in API Server 2025-09-15 11:46:42,031 - DEBUG - VN ctest-vn-56586957 is not present in Agent 10.0.0.38 2025-09-15 11:46:42,031 - INFO - Validated that VN ctest-vn-56586957 is not in any agent 2025-09-15 11:46:42,044 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-56586957 info 2025-09-15 11:46:42,044 - INFO - Deleting VN ctest-vn-65562416 2025-09-15 11:46:42,140 - DEBUG - Response for deleting network () 2025-09-15 11:46:42,140 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/11efae03-498b-43b7-bce1-70c31e14b901 2025-09-15 11:46:42,144 - DEBUG - Response Code: 404 2025-09-15 11:46:42,145 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-15 11:46:42,149 - DEBUG - Requesting: http://10.0.0.38:8082/domain/32c5e2e0-3441-478a-b5fe-124d47d945e6 2025-09-15 11:46:42,206 - DEBUG - Requesting: http://10.0.0.38:8082/project/337c268a-4586-426c-bb5f-0b7be8206569 2025-09-15 11:46:42,278 - INFO - Validated that VN ctest-vn-65562416 is not found in API Server 2025-09-15 11:46:42,286 - DEBUG - VN ctest-vn-65562416 is not present in Agent 10.0.0.38 2025-09-15 11:46:42,286 - INFO - Validated that VN ctest-vn-65562416 is not in any agent 2025-09-15 11:46:42,299 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-65562416 info 2025-09-15 11:46:42,553 - DEBUG - No XMPP flaps were noticed during the test 2025-09-15 11:46:42,554 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-09-15 11:46:42,554 - INFO - -------------------------------------------------------------------------------- 2025-09-15 11:46:43,254 - INFO - Deleted project: ctest-TestBasicPolicy-34058696, ID : 337c268a-4586-426c-bb5f-0b7be8206569