2025-04-21 08:15:52,289 - INFO - Domain Default found not creating 2025-04-21 08:15:52,430 - INFO - Project ctest-TestBasicPolicy-38767311 not found, creating it 2025-04-21 08:15:52,903 - INFO - Created Project:ctest-TestBasicPolicy-38767311, ID : ebcf018e-b70e-499e-b206-21dbd75a5e30 2025-04-21 08:15:54,482 - INFO - ================================================================================ 2025-04-21 08:15:54,482 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-21 08:15:54,483 - 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-04-21 08:15:54,739 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-04-21 08:15:54,739 - INFO - Initial checks done. Running the testcase now 2025-04-21 08:15:54,739 - INFO - 2025-04-21 08:15:55,384 - DEBUG - Response for create_network : {'network': {'id': 'ba60cc2e-ec4f-4ef9-a5f2-5919e9cc9f9c', 'name': 'ctest-vn-73646627', 'tenant_id': 'ebcf018eb70e499eb20621dbd75a5e30', 'project_id': 'ebcf018eb70e499eb20621dbd75a5e30', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38767311', 'ctest-vn-73646627'], 'port_security_enabled': True, 'description': ''}} 2025-04-21 08:15:55,563 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bc267c77-ec4d-479d-a190-2dfd8dc362a3', 'name': '', 'tenant_id': 'ebcf018eb70e499eb20621dbd75a5e30', 'network_id': 'ba60cc2e-ec4f-4ef9-a5f2-5919e9cc9f9c', 'ip_version': 4, 'cidr': '80.176.96.0/26', 'allocation_pools': [{'start': '80.176.96.2', 'end': '80.176.96.62'}], 'gateway_ip': '80.176.96.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.176.96.2', 'tags': [], 'project_id': 'ebcf018eb70e499eb20621dbd75a5e30'}} 2025-04-21 08:15:55,583 - INFO - Created VN ctest-vn-73646627 2025-04-21 08:15:55,641 - DEBUG - VN ctest-vn-73646627 UUID is ba60cc2e-ec4f-4ef9-a5f2-5919e9cc9f9c 2025-04-21 08:15:55,943 - DEBUG - Response for create_network : {'network': {'id': 'b53092bc-23f6-445a-bd08-9824f12ad316', 'name': 'ctest-vn-34612833', 'tenant_id': 'ebcf018eb70e499eb20621dbd75a5e30', 'project_id': 'ebcf018eb70e499eb20621dbd75a5e30', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38767311', 'ctest-vn-34612833'], 'port_security_enabled': True, 'description': ''}} 2025-04-21 08:15:56,208 - DEBUG - Response for create_subnet : {'subnet': {'id': '12703f60-0acc-45cf-839a-ab9c95f5edc7', 'name': '', 'tenant_id': 'ebcf018eb70e499eb20621dbd75a5e30', 'network_id': 'b53092bc-23f6-445a-bd08-9824f12ad316', 'ip_version': 4, 'cidr': '32.14.227.128/26', 'allocation_pools': [{'start': '32.14.227.130', 'end': '32.14.227.190'}], 'gateway_ip': '32.14.227.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.14.227.130', 'tags': [], 'project_id': 'ebcf018eb70e499eb20621dbd75a5e30'}} 2025-04-21 08:15:56,351 - INFO - Created VN ctest-vn-34612833 2025-04-21 08:15:56,404 - DEBUG - VN ctest-vn-34612833 UUID is b53092bc-23f6-445a-bd08-9824f12ad316 2025-04-21 08:15:56,560 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-38767311:ctest-vn-73646627, 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-38767311:ctest-vn-34612833, 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-04-21 08:15:56,860 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ba60cc2e-ec4f-4ef9-a5f2-5919e9cc9f9c', 'name': 'ctest-vn-73646627', 'tenant_id': 'ebcf018eb70e499eb20621dbd75a5e30', 'project_id': 'ebcf018eb70e499eb20621dbd75a5e30', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bc267c77-ec4d-479d-a190-2dfd8dc362a3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38767311', 'ctest-vn-73646627'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-38767311', 'ctest-policy-allow-all-68039091']], 'subnet_ipam': [{'subnet_cidr': '80.176.96.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-21 08:15:57,092 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b53092bc-23f6-445a-bd08-9824f12ad316', 'name': 'ctest-vn-34612833', 'tenant_id': 'ebcf018eb70e499eb20621dbd75a5e30', 'project_id': 'ebcf018eb70e499eb20621dbd75a5e30', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['12703f60-0acc-45cf-839a-ab9c95f5edc7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38767311', 'ctest-vn-34612833'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-38767311', 'ctest-policy-allow-all-68039091']], 'subnet_ipam': [{'subnet_cidr': '32.14.227.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-21 08:15:57,256 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-04-21 08:15:57,591 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-04-21 08:15:57,620 - DEBUG - Requesting: http://10.0.0.50:8082/domain/de4b6d8e-32dc-4ffe-af7b-ee363ba02ef8 2025-04-21 08:15:57,636 - DEBUG - Requesting: http://10.0.0.50:8082/project/ebcf018e-b70e-499e-b206-21dbd75a5e30 2025-04-21 08:15:57,712 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ba60cc2e-ec4f-4ef9-a5f2-5919e9cc9f9c 2025-04-21 08:15:57,725 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ba60cc2e-ec4f-4ef9-a5f2-5919e9cc9f9c 2025-04-21 08:15:57,736 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8516cbe0-a03b-4b07-9233-50abcfee5b4b 2025-04-21 08:15:57,744 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8516cbe0-a03b-4b07-9233-50abcfee5b4b 2025-04-21 08:15:57,753 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/6a195989-337e-4905-9645-eca94cf0286d 2025-04-21 08:15:57,760 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-21 08:15:57,760 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ba60cc2e-ec4f-4ef9-a5f2-5919e9cc9f9c 2025-04-21 08:15:57,770 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8516cbe0-a03b-4b07-9233-50abcfee5b4b 2025-04-21 08:15:57,786 - INFO - Verified VN network id 8 for VN ba60cc2e-ec4f-4ef9-a5f2-5919e9cc9f9c 2025-04-21 08:15:57,786 - INFO - Verifications in API Server for VN ctest-vn-73646627 passed 2025-04-21 08:15:57,786 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ba60cc2e-ec4f-4ef9-a5f2-5919e9cc9f9c 2025-04-21 08:15:57,796 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8516cbe0-a03b-4b07-9233-50abcfee5b4b 2025-04-21 08:15:57,805 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8516cbe0-a03b-4b07-9233-50abcfee5b4b 2025-04-21 08:15:57,813 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/6a195989-337e-4905-9645-eca94cf0286d 2025-04-21 08:15:57,827 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-38767311:ctest-vn-73646627', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38767311', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13429958590724001529', 'uuid-lslong': '11957717928453644188'}, 'enable': 'true', 'created': '2025-04-21T08:15:55', 'last-modified': '2025-04-21T08:15:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.987738'} 2025-04-21 08:15:57,834 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-21 08:15:57,834 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-73646627 passed 2025-04-21 08:15:57,834 - DEBUG - ====Verifying policy data for ctest-vn-73646627 in API_Server ====== 2025-04-21 08:15:57,834 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-04-21 08:15:57,840 - DEBUG - Requesting: http://10.0.0.50:8082/domain/de4b6d8e-32dc-4ffe-af7b-ee363ba02ef8 2025-04-21 08:15:57,854 - DEBUG - Requesting: http://10.0.0.50:8082/project/ebcf018e-b70e-499e-b206-21dbd75a5e30 2025-04-21 08:15:57,931 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ba60cc2e-ec4f-4ef9-a5f2-5919e9cc9f9c 2025-04-21 08:15:57,942 - DEBUG - ==>Verifying data for policy with id: fd5c8077-1f3e-4ad6-81df-bfa65b979781, fqn: ['default-domain', 'ctest-TestBasicPolicy-38767311', 'ctest-policy-allow-all-68039091'] 2025-04-21 08:15:57,942 - INFO - VN ctest-vn-73646627 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-21 08:15:57,942 - DEBUG - Verifying the vn in opserver 2025-04-21 08:15:57,942 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-38767311:ctest-vn-73646627 virtual network link through opserver 10.0.0.50 2025-04-21 08:15:57,942 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-04-21 08:15:58,273 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-04-21 08:15:58,329 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-38767311:ctest-vn-73646627', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-38767311:ctest-vn-73646627?flat'} 2025-04-21 08:15:58,329 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-38767311:ctest-vn-73646627 is found in opserver 2025-04-21 08:15:58,340 - DEBUG - Do not have enough data to verify VN in agent 2025-04-21 08:15:58,346 - DEBUG - VRF ids for VN ctest-vn-73646627: {} 2025-04-21 08:15:58,346 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-04-21 08:15:58,351 - DEBUG - Requesting: http://10.0.0.50:8082/domain/de4b6d8e-32dc-4ffe-af7b-ee363ba02ef8 2025-04-21 08:15:58,363 - DEBUG - Requesting: http://10.0.0.50:8082/project/ebcf018e-b70e-499e-b206-21dbd75a5e30 2025-04-21 08:15:58,434 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b53092bc-23f6-445a-bd08-9824f12ad316 2025-04-21 08:15:58,448 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b53092bc-23f6-445a-bd08-9824f12ad316 2025-04-21 08:15:58,459 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8b91e093-1941-45ac-8c9d-2b9e0826c138 2025-04-21 08:15:58,467 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8b91e093-1941-45ac-8c9d-2b9e0826c138 2025-04-21 08:15:58,474 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/1cf5bd05-5179-4782-bd46-b4f9b670c2bf 2025-04-21 08:15:58,481 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-21 08:15:58,481 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b53092bc-23f6-445a-bd08-9824f12ad316 2025-04-21 08:15:58,492 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8b91e093-1941-45ac-8c9d-2b9e0826c138 2025-04-21 08:15:58,507 - INFO - Verified VN network id 9 for VN b53092bc-23f6-445a-bd08-9824f12ad316 2025-04-21 08:15:58,507 - INFO - Verifications in API Server for VN ctest-vn-34612833 passed 2025-04-21 08:15:58,507 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b53092bc-23f6-445a-bd08-9824f12ad316 2025-04-21 08:15:58,517 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8b91e093-1941-45ac-8c9d-2b9e0826c138 2025-04-21 08:15:58,525 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8b91e093-1941-45ac-8c9d-2b9e0826c138 2025-04-21 08:15:58,533 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/1cf5bd05-5179-4782-bd46-b4f9b670c2bf 2025-04-21 08:15:58,547 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-38767311:ctest-vn-34612833', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38767311', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13056096656501916762', 'uuid-lslong': '13621304357414425366'}, 'enable': 'true', 'created': '2025-04-21T08:15:55', 'last-modified': '2025-04-21T08:15:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.479266'} 2025-04-21 08:15:58,555 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-21 08:15:58,555 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-34612833 passed 2025-04-21 08:15:58,555 - DEBUG - ====Verifying policy data for ctest-vn-34612833 in API_Server ====== 2025-04-21 08:15:58,555 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-04-21 08:15:58,561 - DEBUG - Requesting: http://10.0.0.50:8082/domain/de4b6d8e-32dc-4ffe-af7b-ee363ba02ef8 2025-04-21 08:15:58,574 - DEBUG - Requesting: http://10.0.0.50:8082/project/ebcf018e-b70e-499e-b206-21dbd75a5e30 2025-04-21 08:15:58,646 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b53092bc-23f6-445a-bd08-9824f12ad316 2025-04-21 08:15:58,658 - DEBUG - ==>Verifying data for policy with id: fd5c8077-1f3e-4ad6-81df-bfa65b979781, fqn: ['default-domain', 'ctest-TestBasicPolicy-38767311', 'ctest-policy-allow-all-68039091'] 2025-04-21 08:15:58,658 - INFO - VN ctest-vn-34612833 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-21 08:15:58,658 - DEBUG - Verifying the vn in opserver 2025-04-21 08:15:58,658 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-38767311:ctest-vn-34612833 virtual network link through opserver 10.0.0.50 2025-04-21 08:15:58,658 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-04-21 08:15:58,671 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-38767311:ctest-vn-34612833', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-38767311:ctest-vn-34612833?flat'} 2025-04-21 08:15:58,671 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-38767311:ctest-vn-34612833 is found in opserver 2025-04-21 08:15:58,682 - DEBUG - Do not have enough data to verify VN in agent 2025-04-21 08:15:58,688 - DEBUG - VRF ids for VN ctest-vn-34612833: {} 2025-04-21 08:15:58,746 - DEBUG - Services list from nova: [, , ] 2025-04-21 08:15:59,831 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3149-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3149-1) 2025-04-21 08:16:01,152 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3149-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3149-1) 2025-04-21 08:16:01,152 - INFO - Waiting for VM ctest-TestBasicPolicy-38767311-09996338 to be up.. 2025-04-21 08:16:01,231 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-21 08:16:06,309 - DEBUG - VM is in ACTIVE state now 2025-04-21 08:16:06,310 - INFO - VM name : ctest-TestBasicPolicy-38767311-09996338 2025-04-21 08:16:06,387 - DEBUG - VM ctest-TestBasicPolicy-38767311-09996338 ID is 34d643f8-c2ef-4633-b8e0-4f0b16e32d09 2025-04-21 08:16:06,407 - DEBUG - VM ctest-TestBasicPolicy-38767311-09996338 launched on Node cn-jenkins-deploy-platform-ansible-os-3149-1 2025-04-21 08:16:06,487 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/34d643f8-c2ef-4633-b8e0-4f0b16e32d09 2025-04-21 08:16:06,496 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/db9cd8a5-4e49-4802-83ae-44ebc7109b45 2025-04-21 08:16:09,763 - 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 1023ms') 2025-04-21 08:16:09,763 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-38767311-09996338 failed! 2025-04-21 08:16:09,816 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-38767311:ctest-vn-73646627 is 80.176.96.1 and allocation pool is NOT set 2025-04-21 08:16:11,880 - 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.38 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.334 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.334/3.357/6.381/3.023 ms') 2025-04-21 08:16:11,880 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-38767311-09996338 passed 2025-04-21 08:16:12,028 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-21 08:16:12,029 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-38767311-09996338, IP 80.176.96.3, Port 22 2025-04-21 08:16:12,183 - DEBUG - VM ctest-TestBasicPolicy-38767311-09996338 is ready for SSH connections 2025-04-21 08:16:12,183 - INFO - Waiting for VM ctest-TestBasicPolicy-38767311-73211699 to be up.. 2025-04-21 08:16:12,261 - DEBUG - VM is in ACTIVE state now 2025-04-21 08:16:12,261 - INFO - VM name : ctest-TestBasicPolicy-38767311-73211699 2025-04-21 08:16:12,336 - DEBUG - VM ctest-TestBasicPolicy-38767311-73211699 ID is a877185b-6976-460a-87e9-e073babc998d 2025-04-21 08:16:12,336 - DEBUG - VM ctest-TestBasicPolicy-38767311-73211699 launched on Node cn-jenkins-deploy-platform-ansible-os-3149-1 2025-04-21 08:16:12,409 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a877185b-6976-460a-87e9-e073babc998d 2025-04-21 08:16:12,418 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/4bd9b3af-4740-4177-9315-1330a0d5ef7b 2025-04-21 08:16:13,655 - 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.00 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.410 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.410/1.703/2.996/1.293 ms') 2025-04-21 08:16:13,655 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-38767311-73211699 passed 2025-04-21 08:16:13,804 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-21 08:16:13,804 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-38767311-73211699, IP 32.14.227.131, Port 22 2025-04-21 08:16:13,963 - DEBUG - VM ctest-TestBasicPolicy-38767311-73211699 is ready for SSH connections 2025-04-21 08:16:13,963 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-21 08:16:13,964 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 32.14.227.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-04-21 08:16:13,964 - DEBUG - ping -s 56 -c 3 -W 1 32.14.227.131 2025-04-21 08:16:17,671 - DEBUG - PING 32.14.227.131 (32.14.227.131): 56 data bytes 64 bytes from 32.14.227.131: seq=0 ttl=63 time=3.545 ms 64 bytes from 32.14.227.131: seq=1 ttl=63 time=0.705 ms 64 bytes from 32.14.227.131: seq=2 ttl=63 time=0.714 ms --- 32.14.227.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.705/1.654/3.545 ms 2025-04-21 08:16:17,671 - INFO - Ping to IP 32.14.227.131 from VM ctest-TestBasicPolicy-38767311-09996338 passed 2025-04-21 08:16:17,848 - DEBUG - Policy Update Response {"network-policy": {"uuid": "fd5c8077-1f3e-4ad6-81df-bfa65b979781", "href": "http://10.0.0.50:8082/network-policy/fd5c8077-1f3e-4ad6-81df-bfa65b979781"}} 2025-04-21 08:16:17,848 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-21 08:16:17,848 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 32.14.227.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-04-21 08:16:17,848 - DEBUG - ping -s 56 -c 3 -W 1 32.14.227.131 2025-04-21 08:16:21,062 - DEBUG - PING 32.14.227.131 (32.14.227.131): 56 data bytes --- 32.14.227.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-04-21 08:16:21,063 - WARNING - Ping to IP 32.14.227.131 from VM ctest-TestBasicPolicy-38767311-09996338 failed 2025-04-21 08:16:21,063 - INFO - Deleting VM ctest-TestBasicPolicy-38767311-73211699 2025-04-21 08:16:21,123 - INFO - Deleting VM ctest-TestBasicPolicy-38767311-09996338 2025-04-21 08:16:21,510 - INFO - Deleted policy ctest-policy-allow-all-68039091 2025-04-21 08:16:21,511 - INFO - Deleting VN ctest-vn-34612833 2025-04-21 08:16:21,549 - DEBUG - VN b53092bc-23f6-445a-bd08-9824f12ad316 still in use: Unable to complete operation on network b53092bc-23f6-445a-bd08-9824f12ad316. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-56a65e43-643c-45b5-9fbc-a1217d122fc8'] 2025-04-21 08:16:21,549 - WARNING - Deleting VN ctest-vn-34612833 failed..Will retry 2025-04-21 08:16:23,650 - DEBUG - Response for deleting network () 2025-04-21 08:16:23,650 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8b91e093-1941-45ac-8c9d-2b9e0826c138 2025-04-21 08:16:23,660 - DEBUG - Response Code: 404 2025-04-21 08:16:23,660 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-04-21 08:16:23,665 - DEBUG - Requesting: http://10.0.0.50:8082/domain/de4b6d8e-32dc-4ffe-af7b-ee363ba02ef8 2025-04-21 08:16:23,718 - DEBUG - Requesting: http://10.0.0.50:8082/project/ebcf018e-b70e-499e-b206-21dbd75a5e30 2025-04-21 08:16:23,794 - INFO - Validated that VN ctest-vn-34612833 is not found in API Server 2025-04-21 08:16:23,804 - DEBUG - VN ctest-vn-34612833 is not present in Agent 10.0.0.50 2025-04-21 08:16:23,804 - INFO - Validated that VN ctest-vn-34612833 is not in any agent 2025-04-21 08:16:23,820 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-34612833 info 2025-04-21 08:16:23,820 - INFO - Deleting VN ctest-vn-73646627 2025-04-21 08:16:23,935 - DEBUG - Response for deleting network () 2025-04-21 08:16:23,935 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8516cbe0-a03b-4b07-9233-50abcfee5b4b 2025-04-21 08:16:23,941 - DEBUG - Response Code: 404 2025-04-21 08:16:23,941 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-04-21 08:16:23,948 - DEBUG - Requesting: http://10.0.0.50:8082/domain/de4b6d8e-32dc-4ffe-af7b-ee363ba02ef8 2025-04-21 08:16:24,001 - DEBUG - Requesting: http://10.0.0.50:8082/project/ebcf018e-b70e-499e-b206-21dbd75a5e30 2025-04-21 08:16:24,070 - INFO - Validated that VN ctest-vn-73646627 is not found in API Server 2025-04-21 08:16:24,082 - DEBUG - VN ctest-vn-73646627 is not present in Agent 10.0.0.50 2025-04-21 08:16:24,082 - INFO - Validated that VN ctest-vn-73646627 is not in any agent 2025-04-21 08:16:24,097 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-73646627 info 2025-04-21 08:16:24,350 - DEBUG - No XMPP flaps were noticed during the test
2025-04-21 08:16:24,350 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-04-21 08:16:24,350 - INFO - -------------------------------------------------------------------------------- 2025-04-21 08:16:25,055 - INFO - Deleted project: ctest-TestBasicPolicy-38767311, ID : ebcf018e-b70e-499e-b206-21dbd75a5e30