2025-01-02 21:10:36,483 - INFO - Domain Default found not creating 2025-01-02 21:10:36,647 - INFO - Project ctest-TestBasicPolicy-36748700 not found, creating it 2025-01-02 21:10:37,137 - INFO - Created Project:ctest-TestBasicPolicy-36748700, ID : c1a34c37-0fd7-416c-bf1b-b33692b294c2 2025-01-02 21:10:38,647 - INFO - ================================================================================ 2025-01-02 21:10:38,648 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-02 21:10:38,648 - 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-01-02 21:10:38,913 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.5': '0'}} with 2025-01-02 21:10:38,913 - INFO - Initial checks done. Running the testcase now 2025-01-02 21:10:38,913 - INFO - 2025-01-02 21:10:39,476 - DEBUG - Response for create_network : {'network': {'id': '753a5072-9eb7-48cd-8f60-560c0e91c6c5', 'name': 'ctest-vn-55691562', 'tenant_id': 'c1a34c370fd7416cbf1bb33692b294c2', 'project_id': 'c1a34c370fd7416cbf1bb33692b294c2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36748700', 'ctest-vn-55691562'], 'port_security_enabled': True, 'description': ''}} 2025-01-02 21:10:39,676 - DEBUG - Response for create_subnet : {'subnet': {'id': '52b4001d-4775-4d55-83b7-5bccc0c63ecf', 'name': '', 'tenant_id': 'c1a34c370fd7416cbf1bb33692b294c2', 'network_id': '753a5072-9eb7-48cd-8f60-560c0e91c6c5', 'ip_version': 4, 'cidr': '180.63.254.128/26', 'allocation_pools': [{'start': '180.63.254.130', 'end': '180.63.254.190'}], 'gateway_ip': '180.63.254.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '180.63.254.130', 'tags': [], 'project_id': 'c1a34c370fd7416cbf1bb33692b294c2'}} 2025-01-02 21:10:39,699 - INFO - Created VN ctest-vn-55691562 2025-01-02 21:10:39,754 - DEBUG - VN ctest-vn-55691562 UUID is 753a5072-9eb7-48cd-8f60-560c0e91c6c5 2025-01-02 21:10:40,076 - DEBUG - Response for create_network : {'network': {'id': 'f6d1e4e7-1fe6-4e0c-b05d-cf158d7da60b', 'name': 'ctest-vn-46811392', 'tenant_id': 'c1a34c370fd7416cbf1bb33692b294c2', 'project_id': 'c1a34c370fd7416cbf1bb33692b294c2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36748700', 'ctest-vn-46811392'], 'port_security_enabled': True, 'description': ''}} 2025-01-02 21:10:40,276 - DEBUG - Response for create_subnet : {'subnet': {'id': '8fdd67c5-575e-41b1-a14b-e7810b777500', 'name': '', 'tenant_id': 'c1a34c370fd7416cbf1bb33692b294c2', 'network_id': 'f6d1e4e7-1fe6-4e0c-b05d-cf158d7da60b', 'ip_version': 4, 'cidr': '96.63.224.64/26', 'allocation_pools': [{'start': '96.63.224.66', 'end': '96.63.224.126'}], 'gateway_ip': '96.63.224.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '96.63.224.66', 'tags': [], 'project_id': 'c1a34c370fd7416cbf1bb33692b294c2'}} 2025-01-02 21:10:40,297 - INFO - Created VN ctest-vn-46811392 2025-01-02 21:10:40,354 - DEBUG - VN ctest-vn-46811392 UUID is f6d1e4e7-1fe6-4e0c-b05d-cf158d7da60b 2025-01-02 21:10:40,483 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-36748700:ctest-vn-55691562, 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-36748700:ctest-vn-46811392, 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-01-02 21:10:40,805 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '753a5072-9eb7-48cd-8f60-560c0e91c6c5', 'name': 'ctest-vn-55691562', 'tenant_id': 'c1a34c370fd7416cbf1bb33692b294c2', 'project_id': 'c1a34c370fd7416cbf1bb33692b294c2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['52b4001d-4775-4d55-83b7-5bccc0c63ecf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36748700', 'ctest-vn-55691562'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-36748700', 'ctest-policy-allow-all-20094469']], 'subnet_ipam': [{'subnet_cidr': '180.63.254.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-02 21:10:41,040 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f6d1e4e7-1fe6-4e0c-b05d-cf158d7da60b', 'name': 'ctest-vn-46811392', 'tenant_id': 'c1a34c370fd7416cbf1bb33692b294c2', 'project_id': 'c1a34c370fd7416cbf1bb33692b294c2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8fdd67c5-575e-41b1-a14b-e7810b777500'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36748700', 'ctest-vn-46811392'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-36748700', 'ctest-policy-allow-all-20094469']], 'subnet_ipam': [{'subnet_cidr': '96.63.224.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-02 21:10:41,190 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-01-02 21:10:41,494 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-01-02 21:10:41,525 - DEBUG - Requesting: http://10.0.0.27:8082/domain/ff1d9636-669e-42d1-b5ad-a9f17819e12f 2025-01-02 21:10:41,541 - DEBUG - Requesting: http://10.0.0.27:8082/project/c1a34c37-0fd7-416c-bf1b-b33692b294c2 2025-01-02 21:10:41,621 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/753a5072-9eb7-48cd-8f60-560c0e91c6c5 2025-01-02 21:10:41,633 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/753a5072-9eb7-48cd-8f60-560c0e91c6c5 2025-01-02 21:10:41,644 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/07a4f0d3-bf05-4a1b-90ef-972e3760408e 2025-01-02 21:10:41,652 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/07a4f0d3-bf05-4a1b-90ef-972e3760408e 2025-01-02 21:10:41,660 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/217341b5-d0b2-497c-b778-e85a37db1be2 2025-01-02 21:10:41,668 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-02 21:10:41,668 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/753a5072-9eb7-48cd-8f60-560c0e91c6c5 2025-01-02 21:10:41,678 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/07a4f0d3-bf05-4a1b-90ef-972e3760408e 2025-01-02 21:10:41,695 - INFO - Verified VN network id 8 for VN 753a5072-9eb7-48cd-8f60-560c0e91c6c5 2025-01-02 21:10:41,695 - INFO - Verifications in API Server for VN ctest-vn-55691562 passed 2025-01-02 21:10:41,695 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/753a5072-9eb7-48cd-8f60-560c0e91c6c5 2025-01-02 21:10:41,707 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/07a4f0d3-bf05-4a1b-90ef-972e3760408e 2025-01-02 21:10:41,715 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/07a4f0d3-bf05-4a1b-90ef-972e3760408e 2025-01-02 21:10:41,723 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/217341b5-d0b2-497c-b778-e85a37db1be2 2025-01-02 21:10:41,736 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36748700:ctest-vn-55691562', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36748700', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8447152504306092237', 'uuid-lslong': '10331352154971948741'}, 'enable': 'true', 'created': '2025-01-02T21:10:39', 'last-modified': '2025-01-02T21:10:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.967284'} 2025-01-02 21:10:41,743 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-02 21:10:41,744 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-55691562 passed 2025-01-02 21:10:41,744 - DEBUG - ====Verifying policy data for ctest-vn-55691562 in API_Server ====== 2025-01-02 21:10:41,744 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-01-02 21:10:41,750 - DEBUG - Requesting: http://10.0.0.27:8082/domain/ff1d9636-669e-42d1-b5ad-a9f17819e12f 2025-01-02 21:10:41,764 - DEBUG - Requesting: http://10.0.0.27:8082/project/c1a34c37-0fd7-416c-bf1b-b33692b294c2 2025-01-02 21:10:41,842 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/753a5072-9eb7-48cd-8f60-560c0e91c6c5 2025-01-02 21:10:41,853 - DEBUG - ==>Verifying data for policy with id: 34c300fd-ade1-4e7f-88ed-4aef1bcc8122, fqn: ['default-domain', 'ctest-TestBasicPolicy-36748700', 'ctest-policy-allow-all-20094469'] 2025-01-02 21:10:41,853 - INFO - VN ctest-vn-55691562 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-02 21:10:41,853 - DEBUG - Verifying the vn in opserver 2025-01-02 21:10:41,854 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36748700:ctest-vn-55691562 virtual network link through opserver 10.0.0.27 2025-01-02 21:10:41,854 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-01-02 21:10:42,152 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-01-02 21:10:42,215 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36748700:ctest-vn-55691562', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36748700:ctest-vn-55691562?flat'} 2025-01-02 21:10:42,215 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-36748700:ctest-vn-55691562 is found in opserver 2025-01-02 21:10:42,227 - DEBUG - Do not have enough data to verify VN in agent 2025-01-02 21:10:42,233 - DEBUG - VRF ids for VN ctest-vn-55691562: {} 2025-01-02 21:10:42,233 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-01-02 21:10:42,239 - DEBUG - Requesting: http://10.0.0.27:8082/domain/ff1d9636-669e-42d1-b5ad-a9f17819e12f 2025-01-02 21:10:42,253 - DEBUG - Requesting: http://10.0.0.27:8082/project/c1a34c37-0fd7-416c-bf1b-b33692b294c2 2025-01-02 21:10:42,334 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/f6d1e4e7-1fe6-4e0c-b05d-cf158d7da60b 2025-01-02 21:10:42,348 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/f6d1e4e7-1fe6-4e0c-b05d-cf158d7da60b 2025-01-02 21:10:42,359 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/261f117a-230b-4eb9-b83b-38099afb6dca 2025-01-02 21:10:42,369 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/261f117a-230b-4eb9-b83b-38099afb6dca 2025-01-02 21:10:42,378 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/669389ac-f57f-41d2-adb0-887cb16bc472 2025-01-02 21:10:42,386 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-01-02 21:10:42,386 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/f6d1e4e7-1fe6-4e0c-b05d-cf158d7da60b 2025-01-02 21:10:42,398 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/261f117a-230b-4eb9-b83b-38099afb6dca 2025-01-02 21:10:42,418 - INFO - Verified VN network id 9 for VN f6d1e4e7-1fe6-4e0c-b05d-cf158d7da60b 2025-01-02 21:10:42,418 - INFO - Verifications in API Server for VN ctest-vn-46811392 passed 2025-01-02 21:10:42,418 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/f6d1e4e7-1fe6-4e0c-b05d-cf158d7da60b 2025-01-02 21:10:42,432 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/261f117a-230b-4eb9-b83b-38099afb6dca 2025-01-02 21:10:42,441 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/261f117a-230b-4eb9-b83b-38099afb6dca 2025-01-02 21:10:42,450 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/669389ac-f57f-41d2-adb0-887cb16bc472 2025-01-02 21:10:42,467 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36748700:ctest-vn-46811392', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36748700', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17785248084786564620', 'uuid-lslong': '12708541414984492555'}, 'enable': 'true', 'created': '2025-01-02T21:10:40', 'last-modified': '2025-01-02T21:10:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.448006'} 2025-01-02 21:10:42,475 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-01-02 21:10:42,475 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46811392 passed 2025-01-02 21:10:42,475 - DEBUG - ====Verifying policy data for ctest-vn-46811392 in API_Server ====== 2025-01-02 21:10:42,475 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-01-02 21:10:42,483 - DEBUG - Requesting: http://10.0.0.27:8082/domain/ff1d9636-669e-42d1-b5ad-a9f17819e12f 2025-01-02 21:10:42,501 - DEBUG - Requesting: http://10.0.0.27:8082/project/c1a34c37-0fd7-416c-bf1b-b33692b294c2 2025-01-02 21:10:42,582 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/f6d1e4e7-1fe6-4e0c-b05d-cf158d7da60b 2025-01-02 21:10:42,593 - DEBUG - ==>Verifying data for policy with id: 34c300fd-ade1-4e7f-88ed-4aef1bcc8122, fqn: ['default-domain', 'ctest-TestBasicPolicy-36748700', 'ctest-policy-allow-all-20094469'] 2025-01-02 21:10:42,593 - INFO - VN ctest-vn-46811392 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-02 21:10:42,593 - DEBUG - Verifying the vn in opserver 2025-01-02 21:10:42,593 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36748700:ctest-vn-46811392 virtual network link through opserver 10.0.0.27 2025-01-02 21:10:42,593 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-01-02 21:10:42,605 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36748700:ctest-vn-46811392', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36748700:ctest-vn-46811392?flat'} 2025-01-02 21:10:42,605 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-36748700:ctest-vn-46811392 is found in opserver 2025-01-02 21:10:42,618 - DEBUG - Do not have enough data to verify VN in agent 2025-01-02 21:10:42,623 - DEBUG - VRF ids for VN ctest-vn-46811392: {} 2025-01-02 21:10:42,682 - DEBUG - Services list from nova: [, , ] 2025-01-02 21:10:43,705 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2512-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2512-1) 2025-01-02 21:10:44,939 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2512-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2512-1) 2025-01-02 21:10:44,940 - INFO - Waiting for VM ctest-TestBasicPolicy-36748700-52708173 to be up.. 2025-01-02 21:10:45,032 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-02 21:10:50,122 - DEBUG - VM is in ACTIVE state now 2025-01-02 21:10:50,122 - INFO - VM name : ctest-TestBasicPolicy-36748700-52708173 2025-01-02 21:10:50,213 - DEBUG - VM ctest-TestBasicPolicy-36748700-52708173 ID is da3fbebf-e0ea-467f-a231-bde1855596c7 2025-01-02 21:10:50,235 - DEBUG - VM ctest-TestBasicPolicy-36748700-52708173 launched on Node cn-jenkins-deploy-platform-ansible-os-2512-1 2025-01-02 21:10:50,318 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/da3fbebf-e0ea-467f-a231-bde1855596c7 2025-01-02 21:10:50,330 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/a058e32a-afe9-4b37-96d2-cd2d307cf219 2025-01-02 21:10:53,582 - 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 1007ms') 2025-01-02 21:10:53,582 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-36748700-52708173 failed! 2025-01-02 21:10:53,638 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-36748700:ctest-vn-55691562 is 180.63.254.129 and allocation pool is NOT set 2025-01-02 21:10:55,710 - 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=3.99 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.938 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.938/2.464/3.991/1.526 ms') 2025-01-02 21:10:55,711 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-36748700-52708173 passed 2025-01-02 21:10:55,882 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 21:10:55,882 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-36748700-52708173, IP 180.63.254.131, Port 22 2025-01-02 21:10:56,042 - DEBUG - VM ctest-TestBasicPolicy-36748700-52708173 is ready for SSH connections 2025-01-02 21:10:56,042 - INFO - Waiting for VM ctest-TestBasicPolicy-36748700-50473761 to be up.. 2025-01-02 21:10:56,135 - DEBUG - VM is in ACTIVE state now 2025-01-02 21:10:56,136 - INFO - VM name : ctest-TestBasicPolicy-36748700-50473761 2025-01-02 21:10:56,218 - DEBUG - VM ctest-TestBasicPolicy-36748700-50473761 ID is 716500a9-9266-44b1-b67d-eeb0f91d95cc 2025-01-02 21:10:56,218 - DEBUG - VM ctest-TestBasicPolicy-36748700-50473761 launched on Node cn-jenkins-deploy-platform-ansible-os-2512-1 2025-01-02 21:10:56,311 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/716500a9-9266-44b1-b67d-eeb0f91d95cc 2025-01-02 21:10:56,330 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/87d14001-d7ea-4ab3-97a5-19db3ffd8bb3 2025-01-02 21:10:57,587 - 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.61 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.19 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 = 1.191/2.402/3.614/1.211 ms') 2025-01-02 21:10:57,587 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-36748700-50473761 passed 2025-01-02 21:10:57,742 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 21:10:57,742 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-36748700-50473761, IP 96.63.224.67, Port 22 2025-01-02 21:10:57,902 - DEBUG - VM ctest-TestBasicPolicy-36748700-50473761 is ready for SSH connections 2025-01-02 21:10:57,902 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 21:10:57,902 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 96.63.224.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-01-02 21:10:57,902 - DEBUG - ping -s 56 -c 3 -W 1 96.63.224.67 2025-01-02 21:11:01,913 - DEBUG - PING 96.63.224.67 (96.63.224.67): 56 data bytes 64 bytes from 96.63.224.67: seq=0 ttl=63 time=3.425 ms 64 bytes from 96.63.224.67: seq=1 ttl=63 time=0.968 ms 64 bytes from 96.63.224.67: seq=2 ttl=63 time=0.856 ms --- 96.63.224.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.856/1.749/3.425 ms 2025-01-02 21:11:01,913 - INFO - Ping to IP 96.63.224.67 from VM ctest-TestBasicPolicy-36748700-52708173 passed 2025-01-02 21:11:02,093 - DEBUG - Policy Update Response {"network-policy": {"uuid": "34c300fd-ade1-4e7f-88ed-4aef1bcc8122", "href": "http://10.0.0.27:8082/network-policy/34c300fd-ade1-4e7f-88ed-4aef1bcc8122"}} 2025-01-02 21:11:02,094 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 21:11:02,094 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 96.63.224.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-01-02 21:11:02,094 - DEBUG - ping -s 56 -c 3 -W 1 96.63.224.67 2025-01-02 21:11:05,301 - DEBUG - PING 96.63.224.67 (96.63.224.67): 56 data bytes 64 bytes from 96.63.224.67: seq=0 ttl=63 time=1.509 ms --- 96.63.224.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.509/1.509/1.509 ms 2025-01-02 21:11:05,301 - WARNING - Ping to IP 96.63.224.67 from VM ctest-TestBasicPolicy-36748700-52708173 failed 2025-01-02 21:11:05,301 - INFO - Deleting VM ctest-TestBasicPolicy-36748700-50473761 2025-01-02 21:11:05,380 - INFO - Deleting VM ctest-TestBasicPolicy-36748700-52708173 2025-01-02 21:11:05,793 - INFO - Deleted policy ctest-policy-allow-all-20094469 2025-01-02 21:11:05,793 - INFO - Deleting VN ctest-vn-46811392 2025-01-02 21:11:05,829 - DEBUG - VN f6d1e4e7-1fe6-4e0c-b05d-cf158d7da60b still in use: Unable to complete operation on network f6d1e4e7-1fe6-4e0c-b05d-cf158d7da60b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fca9a910-ba7f-4b55-b4c6-eeb57f4bccff'] 2025-01-02 21:11:05,829 - WARNING - Deleting VN ctest-vn-46811392 failed..Will retry 2025-01-02 21:11:07,976 - DEBUG - Response for deleting network () 2025-01-02 21:11:07,976 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/261f117a-230b-4eb9-b83b-38099afb6dca 2025-01-02 21:11:07,985 - DEBUG - Response Code: 404 2025-01-02 21:11:07,986 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-01-02 21:11:07,992 - DEBUG - Requesting: http://10.0.0.27:8082/domain/ff1d9636-669e-42d1-b5ad-a9f17819e12f 2025-01-02 21:11:08,050 - DEBUG - Requesting: http://10.0.0.27:8082/project/c1a34c37-0fd7-416c-bf1b-b33692b294c2 2025-01-02 21:11:08,121 - INFO - Validated that VN ctest-vn-46811392 is not found in API Server 2025-01-02 21:11:08,134 - DEBUG - VN ctest-vn-46811392 is not present in Agent 10.0.0.27 2025-01-02 21:11:08,134 - INFO - Validated that VN ctest-vn-46811392 is not in any agent 2025-01-02 21:11:08,151 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-46811392 info 2025-01-02 21:11:08,151 - INFO - Deleting VN ctest-vn-55691562 2025-01-02 21:11:08,255 - DEBUG - Response for deleting network () 2025-01-02 21:11:08,255 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/07a4f0d3-bf05-4a1b-90ef-972e3760408e 2025-01-02 21:11:08,264 - DEBUG - Response Code: 404 2025-01-02 21:11:08,264 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-01-02 21:11:08,271 - DEBUG - Requesting: http://10.0.0.27:8082/domain/ff1d9636-669e-42d1-b5ad-a9f17819e12f 2025-01-02 21:11:08,327 - DEBUG - Requesting: http://10.0.0.27:8082/project/c1a34c37-0fd7-416c-bf1b-b33692b294c2 2025-01-02 21:11:08,403 - INFO - Validated that VN ctest-vn-55691562 is not found in API Server 2025-01-02 21:11:08,415 - DEBUG - VN ctest-vn-55691562 is not present in Agent 10.0.0.27 2025-01-02 21:11:08,415 - INFO - Validated that VN ctest-vn-55691562 is not in any agent 2025-01-02 21:11:08,431 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-55691562 info 2025-01-02 21:11:08,688 - DEBUG - No XMPP flaps were noticed during the test
2025-01-02 21:11:08,688 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-01-02 21:11:08,688 - INFO - -------------------------------------------------------------------------------- 2025-01-02 21:11:09,367 - INFO - Deleted project: ctest-TestBasicPolicy-36748700, ID : c1a34c37-0fd7-416c-bf1b-b33692b294c2