2025-10-09 09:23:59,812 - INFO - Domain Default found not creating 2025-10-09 09:23:59,963 - INFO - Project ctest-TestBasicPolicy-75285997 not found, creating it 2025-10-09 09:24:00,411 - INFO - Created Project:ctest-TestBasicPolicy-75285997, ID : 6e728769-db45-4820-8758-1132e7ba8f6e 2025-10-09 09:24:01,791 - INFO - ================================================================================ 2025-10-09 09:24:01,791 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-09 09:24:01,791 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-10-09 09:24:02,043 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-10-09 09:24:02,043 - INFO - Initial checks done. Running the testcase now 2025-10-09 09:24:02,043 - INFO - 2025-10-09 09:24:02,572 - DEBUG - Response for create_network : {'network': {'id': '48f3308c-f89a-4e70-9a82-67f1de18edf0', 'name': 'ctest-vn-68039429', 'tenant_id': '6e728769db45482087581132e7ba8f6e', 'project_id': '6e728769db45482087581132e7ba8f6e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75285997', 'ctest-vn-68039429'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 09:24:02,769 - DEBUG - Response for create_subnet : {'subnet': {'id': '60207689-97ce-4c09-b5c0-dcef729e75af', 'name': '', 'tenant_id': '6e728769db45482087581132e7ba8f6e', 'network_id': '48f3308c-f89a-4e70-9a82-67f1de18edf0', 'ip_version': 4, 'cidr': '59.45.15.0/26', 'allocation_pools': [{'start': '59.45.15.2', 'end': '59.45.15.62'}], 'gateway_ip': '59.45.15.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '59.45.15.2', 'tags': [], 'project_id': '6e728769db45482087581132e7ba8f6e'}} 2025-10-09 09:24:02,786 - INFO - Created VN ctest-vn-68039429 2025-10-09 09:24:02,839 - DEBUG - VN ctest-vn-68039429 UUID is 48f3308c-f89a-4e70-9a82-67f1de18edf0 2025-10-09 09:24:03,151 - DEBUG - Response for create_network : {'network': {'id': '3bae5a4f-fe62-4f6f-89c5-e63e8e665fda', 'name': 'ctest-vn-12280777', 'tenant_id': '6e728769db45482087581132e7ba8f6e', 'project_id': '6e728769db45482087581132e7ba8f6e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75285997', 'ctest-vn-12280777'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 09:24:03,297 - DEBUG - Response for create_subnet : {'subnet': {'id': '8997ae0f-bca0-4d28-806e-2c05aab0304f', 'name': '', 'tenant_id': '6e728769db45482087581132e7ba8f6e', 'network_id': '3bae5a4f-fe62-4f6f-89c5-e63e8e665fda', 'ip_version': 4, 'cidr': '167.32.33.0/26', 'allocation_pools': [{'start': '167.32.33.2', 'end': '167.32.33.62'}], 'gateway_ip': '167.32.33.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.32.33.2', 'tags': [], 'project_id': '6e728769db45482087581132e7ba8f6e'}} 2025-10-09 09:24:03,314 - INFO - Created VN ctest-vn-12280777 2025-10-09 09:24:03,367 - DEBUG - VN ctest-vn-12280777 UUID is 3bae5a4f-fe62-4f6f-89c5-e63e8e665fda 2025-10-09 09:24:03,515 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-75285997:ctest-vn-68039429, 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-75285997:ctest-vn-12280777, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-10-09 09:24:03,809 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '48f3308c-f89a-4e70-9a82-67f1de18edf0', 'name': 'ctest-vn-68039429', 'tenant_id': '6e728769db45482087581132e7ba8f6e', 'project_id': '6e728769db45482087581132e7ba8f6e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['60207689-97ce-4c09-b5c0-dcef729e75af'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75285997', 'ctest-vn-68039429'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-75285997', 'ctest-policy-allow-all-50424245']], 'subnet_ipam': [{'subnet_cidr': '59.45.15.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-09 09:24:04,088 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3bae5a4f-fe62-4f6f-89c5-e63e8e665fda', 'name': 'ctest-vn-12280777', 'tenant_id': '6e728769db45482087581132e7ba8f6e', 'project_id': '6e728769db45482087581132e7ba8f6e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8997ae0f-bca0-4d28-806e-2c05aab0304f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75285997', 'ctest-vn-12280777'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-75285997', 'ctest-policy-allow-all-50424245']], 'subnet_ipam': [{'subnet_cidr': '167.32.33.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-09 09:24:04,231 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-09 09:24:04,545 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-09 09:24:04,579 - DEBUG - Requesting: http://10.0.0.33:8082/domain/167dd854-1fc3-4ffe-a685-ab45cd131818 2025-10-09 09:24:04,604 - DEBUG - Requesting: http://10.0.0.33:8082/project/6e728769-db45-4820-8758-1132e7ba8f6e 2025-10-09 09:24:04,656 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/48f3308c-f89a-4e70-9a82-67f1de18edf0 2025-10-09 09:24:04,671 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/48f3308c-f89a-4e70-9a82-67f1de18edf0 2025-10-09 09:24:04,693 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/21c5b690-b56e-4835-84e6-36c3c16bbae3 2025-10-09 09:24:04,706 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/21c5b690-b56e-4835-84e6-36c3c16bbae3 2025-10-09 09:24:04,716 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/b802d1fc-ec76-46ad-8f62-9a887f36ea2f 2025-10-09 09:24:04,729 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-09 09:24:04,729 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/48f3308c-f89a-4e70-9a82-67f1de18edf0 2025-10-09 09:24:04,751 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/21c5b690-b56e-4835-84e6-36c3c16bbae3 2025-10-09 09:24:04,772 - INFO - Verified VN network id 12 for VN 48f3308c-f89a-4e70-9a82-67f1de18edf0 2025-10-09 09:24:04,772 - INFO - Verifications in API Server for VN ctest-vn-68039429 passed 2025-10-09 09:24:04,773 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/48f3308c-f89a-4e70-9a82-67f1de18edf0 2025-10-09 09:24:04,784 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/21c5b690-b56e-4835-84e6-36c3c16bbae3 2025-10-09 09:24:04,797 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/21c5b690-b56e-4835-84e6-36c3c16bbae3 2025-10-09 09:24:04,807 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/b802d1fc-ec76-46ad-8f62-9a887f36ea2f 2025-10-09 09:24:04,824 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-75285997:ctest-vn-68039429', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-75285997', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5256598572095917680', 'uuid-lslong': '11133575517324242416'}, 'enable': 'true', 'created': '2025-10-09T09:24:02', 'last-modified': '2025-10-09T09:24:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.037931'} 2025-10-09 09:24:04,836 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-09 09:24:04,836 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68039429 passed 2025-10-09 09:24:04,836 - DEBUG - ====Verifying policy data for ctest-vn-68039429 in API_Server ====== 2025-10-09 09:24:04,836 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-09 09:24:04,844 - DEBUG - Requesting: http://10.0.0.33:8082/domain/167dd854-1fc3-4ffe-a685-ab45cd131818 2025-10-09 09:24:04,859 - DEBUG - Requesting: http://10.0.0.33:8082/project/6e728769-db45-4820-8758-1132e7ba8f6e 2025-10-09 09:24:04,958 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/48f3308c-f89a-4e70-9a82-67f1de18edf0 2025-10-09 09:24:04,969 - DEBUG - ==>Verifying data for policy with id: 5179b4a0-1734-4421-9cea-7a414cd5c2fe, fqn: ['default-domain', 'ctest-TestBasicPolicy-75285997', 'ctest-policy-allow-all-50424245'] 2025-10-09 09:24:04,969 - INFO - VN ctest-vn-68039429 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-09 09:24:04,969 - DEBUG - Verifying the vn in opserver 2025-10-09 09:24:04,969 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-75285997:ctest-vn-68039429 virtual network link through opserver 10.0.0.33 2025-10-09 09:24:04,969 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-10-09 09:24:05,262 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-10-09 09:24:05,310 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-75285997:ctest-vn-68039429', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-75285997:ctest-vn-68039429?flat'} 2025-10-09 09:24:05,310 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-75285997:ctest-vn-68039429 is found in opserver 2025-10-09 09:24:05,318 - DEBUG - Do not have enough data to verify VN in agent 2025-10-09 09:24:05,321 - DEBUG - VRF ids for VN ctest-vn-68039429: {} 2025-10-09 09:24:05,322 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-09 09:24:05,326 - DEBUG - Requesting: http://10.0.0.33:8082/domain/167dd854-1fc3-4ffe-a685-ab45cd131818 2025-10-09 09:24:05,337 - DEBUG - Requesting: http://10.0.0.33:8082/project/6e728769-db45-4820-8758-1132e7ba8f6e 2025-10-09 09:24:05,405 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3bae5a4f-fe62-4f6f-89c5-e63e8e665fda 2025-10-09 09:24:05,415 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3bae5a4f-fe62-4f6f-89c5-e63e8e665fda 2025-10-09 09:24:05,423 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f84ba627-2bb1-4c8b-9ba0-12f6bdb23173 2025-10-09 09:24:05,428 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f84ba627-2bb1-4c8b-9ba0-12f6bdb23173 2025-10-09 09:24:05,435 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/8e42a627-2b60-4e76-9e6f-18513c7a8c64 2025-10-09 09:24:05,441 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-09 09:24:05,441 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3bae5a4f-fe62-4f6f-89c5-e63e8e665fda 2025-10-09 09:24:05,448 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f84ba627-2bb1-4c8b-9ba0-12f6bdb23173 2025-10-09 09:24:05,460 - INFO - Verified VN network id 13 for VN 3bae5a4f-fe62-4f6f-89c5-e63e8e665fda 2025-10-09 09:24:05,460 - INFO - Verifications in API Server for VN ctest-vn-12280777 passed 2025-10-09 09:24:05,460 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3bae5a4f-fe62-4f6f-89c5-e63e8e665fda 2025-10-09 09:24:05,469 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f84ba627-2bb1-4c8b-9ba0-12f6bdb23173 2025-10-09 09:24:05,475 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f84ba627-2bb1-4c8b-9ba0-12f6bdb23173 2025-10-09 09:24:05,483 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/8e42a627-2b60-4e76-9e6f-18513c7a8c64 2025-10-09 09:24:05,494 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-75285997:ctest-vn-12280777', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-75285997', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4300473993802174319', 'uuid-lslong': '9927594109959561178'}, 'enable': 'true', 'created': '2025-10-09T09:24:03', 'last-modified': '2025-10-09T09:24:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.477693'} 2025-10-09 09:24:05,500 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-09 09:24:05,500 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-12280777 passed 2025-10-09 09:24:05,500 - DEBUG - ====Verifying policy data for ctest-vn-12280777 in API_Server ====== 2025-10-09 09:24:05,500 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-09 09:24:05,507 - DEBUG - Requesting: http://10.0.0.33:8082/domain/167dd854-1fc3-4ffe-a685-ab45cd131818 2025-10-09 09:24:05,517 - DEBUG - Requesting: http://10.0.0.33:8082/project/6e728769-db45-4820-8758-1132e7ba8f6e 2025-10-09 09:24:05,583 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3bae5a4f-fe62-4f6f-89c5-e63e8e665fda 2025-10-09 09:24:05,590 - DEBUG - ==>Verifying data for policy with id: 5179b4a0-1734-4421-9cea-7a414cd5c2fe, fqn: ['default-domain', 'ctest-TestBasicPolicy-75285997', 'ctest-policy-allow-all-50424245'] 2025-10-09 09:24:05,590 - INFO - VN ctest-vn-12280777 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-09 09:24:05,590 - DEBUG - Verifying the vn in opserver 2025-10-09 09:24:05,590 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-75285997:ctest-vn-12280777 virtual network link through opserver 10.0.0.33 2025-10-09 09:24:05,590 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-10-09 09:24:05,598 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-75285997:ctest-vn-12280777', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-75285997:ctest-vn-12280777?flat'} 2025-10-09 09:24:05,598 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-75285997:ctest-vn-12280777 is found in opserver 2025-10-09 09:24:05,606 - DEBUG - Do not have enough data to verify VN in agent 2025-10-09 09:24:05,610 - DEBUG - VRF ids for VN ctest-vn-12280777: {} 2025-10-09 09:24:05,666 - DEBUG - Services list from nova: [, , ] 2025-10-09 09:24:06,659 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4255-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4255-1) 2025-10-09 09:24:07,768 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4255-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4255-1) 2025-10-09 09:24:07,768 - INFO - Waiting for VM ctest-TestBasicPolicy-75285997-27324155 to be up.. 2025-10-09 09:24:07,840 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 09:24:12,924 - DEBUG - VM is in ACTIVE state now 2025-10-09 09:24:12,924 - INFO - VM name : ctest-TestBasicPolicy-75285997-27324155 2025-10-09 09:24:13,000 - DEBUG - VM ctest-TestBasicPolicy-75285997-27324155 ID is ab3eef4d-a21e-428c-917e-166096e8cf16 2025-10-09 09:24:13,027 - DEBUG - VM ctest-TestBasicPolicy-75285997-27324155 launched on Node cn-jenkins-deploy-platform-ansible-os-4255-1 2025-10-09 09:24:13,126 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/ab3eef4d-a21e-428c-917e-166096e8cf16 2025-10-09 09:24:13,134 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/94fd5c03-5b93-4ad7-9d0e-3a17b7776903 2025-10-09 09:24:16,353 - 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 1019ms') 2025-10-09 09:24:16,353 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-75285997-27324155 failed! 2025-10-09 09:24:16,411 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-75285997:ctest-vn-68039429 is 59.45.15.1 and allocation pool is NOT set 2025-10-09 09:24:18,469 - 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.12 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.434 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.434/1.776/3.119/1.342 ms') 2025-10-09 09:24:18,469 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-75285997-27324155 passed 2025-10-09 09:24:18,615 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 09:24:18,615 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-75285997-27324155, IP 59.45.15.3, Port 22 2025-10-09 09:24:18,778 - DEBUG - VM ctest-TestBasicPolicy-75285997-27324155 is ready for SSH connections 2025-10-09 09:24:18,778 - INFO - Waiting for VM ctest-TestBasicPolicy-75285997-92108142 to be up.. 2025-10-09 09:24:18,853 - DEBUG - VM is in ACTIVE state now 2025-10-09 09:24:18,853 - INFO - VM name : ctest-TestBasicPolicy-75285997-92108142 2025-10-09 09:24:18,926 - DEBUG - VM ctest-TestBasicPolicy-75285997-92108142 ID is a6ec1643-3e83-454f-8b4b-64660dd6d950 2025-10-09 09:24:18,927 - DEBUG - VM ctest-TestBasicPolicy-75285997-92108142 launched on Node cn-jenkins-deploy-platform-ansible-os-4255-1 2025-10-09 09:24:18,992 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/a6ec1643-3e83-454f-8b4b-64660dd6d950 2025-10-09 09:24:19,003 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/a6f60008-b90e-41d5-981b-c311fe2d4a5e 2025-10-09 09:24:20,233 - 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.48 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.428 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 = 0.428/1.954/3.480/1.526 ms') 2025-10-09 09:24:20,233 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-75285997-92108142 passed 2025-10-09 09:24:20,383 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 09:24:20,383 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-75285997-92108142, IP 167.32.33.3, Port 22 2025-10-09 09:24:20,543 - DEBUG - VM ctest-TestBasicPolicy-75285997-92108142 is ready for SSH connections 2025-10-09 09:24:20,543 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 09:24:20,543 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 167.32.33.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-09 09:24:20,543 - DEBUG - ping -s 56 -c 3 -W 1 167.32.33.3 2025-10-09 09:24:24,560 - DEBUG - PING 167.32.33.3 (167.32.33.3): 56 data bytes 64 bytes from 167.32.33.3: seq=0 ttl=63 time=3.548 ms 64 bytes from 167.32.33.3: seq=1 ttl=63 time=1.063 ms 64 bytes from 167.32.33.3: seq=2 ttl=63 time=0.874 ms --- 167.32.33.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.874/1.828/3.548 ms 2025-10-09 09:24:24,561 - INFO - Ping to IP 167.32.33.3 from VM ctest-TestBasicPolicy-75285997-27324155 passed 2025-10-09 09:24:24,739 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5179b4a0-1734-4421-9cea-7a414cd5c2fe", "href": "http://10.0.0.33:8082/network-policy/5179b4a0-1734-4421-9cea-7a414cd5c2fe"}} 2025-10-09 09:24:24,739 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 09:24:24,739 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 167.32.33.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-09 09:24:24,739 - DEBUG - ping -s 56 -c 3 -W 1 167.32.33.3 2025-10-09 09:24:27,951 - DEBUG - PING 167.32.33.3 (167.32.33.3): 56 data bytes --- 167.32.33.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-09 09:24:27,951 - WARNING - Ping to IP 167.32.33.3 from VM ctest-TestBasicPolicy-75285997-27324155 failed 2025-10-09 09:24:27,951 - INFO - Deleting VM ctest-TestBasicPolicy-75285997-92108142 2025-10-09 09:24:28,023 - INFO - Deleting VM ctest-TestBasicPolicy-75285997-27324155 2025-10-09 09:24:28,375 - INFO - Deleted policy ctest-policy-allow-all-50424245 2025-10-09 09:24:28,375 - INFO - Deleting VN ctest-vn-12280777 2025-10-09 09:24:28,404 - DEBUG - VN 3bae5a4f-fe62-4f6f-89c5-e63e8e665fda still in use: Unable to complete operation on network 3bae5a4f-fe62-4f6f-89c5-e63e8e665fda. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b3e53069-b2a4-4e62-9d0e-655a288bf365'] 2025-10-09 09:24:28,404 - WARNING - Deleting VN ctest-vn-12280777 failed..Will retry 2025-10-09 09:24:30,509 - DEBUG - Response for deleting network () 2025-10-09 09:24:30,509 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f84ba627-2bb1-4c8b-9ba0-12f6bdb23173 2025-10-09 09:24:30,513 - DEBUG - Response Code: 404 2025-10-09 09:24:30,513 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-09 09:24:30,520 - DEBUG - Requesting: http://10.0.0.33:8082/domain/167dd854-1fc3-4ffe-a685-ab45cd131818 2025-10-09 09:24:30,571 - DEBUG - Requesting: http://10.0.0.33:8082/project/6e728769-db45-4820-8758-1132e7ba8f6e 2025-10-09 09:24:30,643 - INFO - Validated that VN ctest-vn-12280777 is not found in API Server 2025-10-09 09:24:30,651 - DEBUG - VN ctest-vn-12280777 is not present in Agent 10.0.0.33 2025-10-09 09:24:30,651 - INFO - Validated that VN ctest-vn-12280777 is not in any agent 2025-10-09 09:24:30,663 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-12280777 info 2025-10-09 09:24:30,663 - INFO - Deleting VN ctest-vn-68039429 2025-10-09 09:24:30,752 - DEBUG - Response for deleting network () 2025-10-09 09:24:30,752 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/21c5b690-b56e-4835-84e6-36c3c16bbae3 2025-10-09 09:24:30,756 - DEBUG - Response Code: 404 2025-10-09 09:24:30,756 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-09 09:24:30,764 - DEBUG - Requesting: http://10.0.0.33:8082/domain/167dd854-1fc3-4ffe-a685-ab45cd131818 2025-10-09 09:24:30,815 - DEBUG - Requesting: http://10.0.0.33:8082/project/6e728769-db45-4820-8758-1132e7ba8f6e 2025-10-09 09:24:30,882 - INFO - Validated that VN ctest-vn-68039429 is not found in API Server 2025-10-09 09:24:30,891 - DEBUG - VN ctest-vn-68039429 is not present in Agent 10.0.0.33 2025-10-09 09:24:30,891 - INFO - Validated that VN ctest-vn-68039429 is not in any agent 2025-10-09 09:24:30,903 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-68039429 info 2025-10-09 09:24:31,155 - DEBUG - No XMPP flaps were noticed during the test 2025-10-09 09:24:31,155 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-10-09 09:24:31,155 - INFO - -------------------------------------------------------------------------------- 2025-10-09 09:24:31,831 - INFO - Deleted project: ctest-TestBasicPolicy-75285997, ID : 6e728769-db45-4820-8758-1132e7ba8f6e