2025-08-11 18:33:19,407 - INFO - Domain Default found not creating 2025-08-11 18:33:19,531 - INFO - Project ctest-TestBasicPolicy-98427122 not found, creating it 2025-08-11 18:33:19,958 - INFO - Created Project:ctest-TestBasicPolicy-98427122, ID : 5f830cda-a691-498c-9dbb-2fd633db082c 2025-08-11 18:33:21,298 - INFO - ================================================================================ 2025-08-11 18:33:21,298 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-11 18:33:21,298 - 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-08-11 18:33:21,555 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with 2025-08-11 18:33:21,555 - INFO - Initial checks done. Running the testcase now 2025-08-11 18:33:21,555 - INFO - 2025-08-11 18:33:22,076 - DEBUG - Response for create_network : {'network': {'id': '81ce38ff-7a13-4d57-886e-75a1b320b114', 'name': 'ctest-vn-14993540', 'tenant_id': '5f830cdaa691498c9dbb2fd633db082c', 'project_id': '5f830cdaa691498c9dbb2fd633db082c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98427122', 'ctest-vn-14993540'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 18:33:22,267 - DEBUG - Response for create_subnet : {'subnet': {'id': '3b62586c-b6fc-4c5c-9902-710ddc3c1bdf', 'name': '', 'tenant_id': '5f830cdaa691498c9dbb2fd633db082c', 'network_id': '81ce38ff-7a13-4d57-886e-75a1b320b114', 'ip_version': 4, 'cidr': '4.13.102.192/26', 'allocation_pools': [{'start': '4.13.102.194', 'end': '4.13.102.254'}], 'gateway_ip': '4.13.102.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '4.13.102.194', 'tags': [], 'project_id': '5f830cdaa691498c9dbb2fd633db082c'}} 2025-08-11 18:33:22,283 - INFO - Created VN ctest-vn-14993540 2025-08-11 18:33:22,333 - DEBUG - VN ctest-vn-14993540 UUID is 81ce38ff-7a13-4d57-886e-75a1b320b114 2025-08-11 18:33:22,643 - DEBUG - Response for create_network : {'network': {'id': '3a5ee3c6-b2ff-419b-b62f-1a31661694f5', 'name': 'ctest-vn-80708823', 'tenant_id': '5f830cdaa691498c9dbb2fd633db082c', 'project_id': '5f830cdaa691498c9dbb2fd633db082c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98427122', 'ctest-vn-80708823'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 18:33:22,816 - DEBUG - Response for create_subnet : {'subnet': {'id': '425e48df-2a18-406b-b2d8-7b04ff336d57', 'name': '', 'tenant_id': '5f830cdaa691498c9dbb2fd633db082c', 'network_id': '3a5ee3c6-b2ff-419b-b62f-1a31661694f5', 'ip_version': 4, 'cidr': '132.172.249.0/26', 'allocation_pools': [{'start': '132.172.249.2', 'end': '132.172.249.62'}], 'gateway_ip': '132.172.249.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.172.249.2', 'tags': [], 'project_id': '5f830cdaa691498c9dbb2fd633db082c'}} 2025-08-11 18:33:22,838 - INFO - Created VN ctest-vn-80708823 2025-08-11 18:33:22,889 - DEBUG - VN ctest-vn-80708823 UUID is 3a5ee3c6-b2ff-419b-b62f-1a31661694f5 2025-08-11 18:33:23,033 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-98427122:ctest-vn-14993540, 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-98427122:ctest-vn-80708823, 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-08-11 18:33:23,321 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '81ce38ff-7a13-4d57-886e-75a1b320b114', 'name': 'ctest-vn-14993540', 'tenant_id': '5f830cdaa691498c9dbb2fd633db082c', 'project_id': '5f830cdaa691498c9dbb2fd633db082c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3b62586c-b6fc-4c5c-9902-710ddc3c1bdf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98427122', 'ctest-vn-14993540'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-98427122', 'ctest-policy-allow-all-21297176']], 'subnet_ipam': [{'subnet_cidr': '4.13.102.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-11 18:33:23,542 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3a5ee3c6-b2ff-419b-b62f-1a31661694f5', 'name': 'ctest-vn-80708823', 'tenant_id': '5f830cdaa691498c9dbb2fd633db082c', 'project_id': '5f830cdaa691498c9dbb2fd633db082c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['425e48df-2a18-406b-b2d8-7b04ff336d57'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98427122', 'ctest-vn-80708823'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-98427122', 'ctest-policy-allow-all-21297176']], 'subnet_ipam': [{'subnet_cidr': '132.172.249.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-11 18:33:23,713 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-08-11 18:33:24,003 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-08-11 18:33:24,034 - DEBUG - Requesting: http://10.0.0.242:8082/domain/ae624269-2d4a-472d-80bf-18980a270f1b 2025-08-11 18:33:24,045 - DEBUG - Requesting: http://10.0.0.242:8082/project/5f830cda-a691-498c-9dbb-2fd633db082c 2025-08-11 18:33:24,115 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/81ce38ff-7a13-4d57-886e-75a1b320b114 2025-08-11 18:33:24,124 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/81ce38ff-7a13-4d57-886e-75a1b320b114 2025-08-11 18:33:24,133 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/15b1701f-415f-47d9-a89e-8bdb02dc8659 2025-08-11 18:33:24,139 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/15b1701f-415f-47d9-a89e-8bdb02dc8659 2025-08-11 18:33:24,145 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/f54e1503-10d3-401f-b5fa-ac6087993beb 2025-08-11 18:33:24,150 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-11 18:33:24,150 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/81ce38ff-7a13-4d57-886e-75a1b320b114 2025-08-11 18:33:24,158 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/15b1701f-415f-47d9-a89e-8bdb02dc8659 2025-08-11 18:33:24,170 - INFO - Verified VN network id 11 for VN 81ce38ff-7a13-4d57-886e-75a1b320b114 2025-08-11 18:33:24,170 - INFO - Verifications in API Server for VN ctest-vn-14993540 passed 2025-08-11 18:33:24,170 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/81ce38ff-7a13-4d57-886e-75a1b320b114 2025-08-11 18:33:24,178 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/15b1701f-415f-47d9-a89e-8bdb02dc8659 2025-08-11 18:33:24,184 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/15b1701f-415f-47d9-a89e-8bdb02dc8659 2025-08-11 18:33:24,190 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/f54e1503-10d3-401f-b5fa-ac6087993beb 2025-08-11 18:33:24,200 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-98427122:ctest-vn-14993540', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-98427122', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9353476146011000151', 'uuid-lslong': '9830924373951820052'}, 'enable': 'true', 'created': '2025-08-11T18:33:22', 'last-modified': '2025-08-11T18:33:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.900185'} 2025-08-11 18:33:24,206 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-11 18:33:24,206 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-14993540 passed 2025-08-11 18:33:24,207 - DEBUG - ====Verifying policy data for ctest-vn-14993540 in API_Server ====== 2025-08-11 18:33:24,207 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-08-11 18:33:24,211 - DEBUG - Requesting: http://10.0.0.242:8082/domain/ae624269-2d4a-472d-80bf-18980a270f1b 2025-08-11 18:33:24,221 - DEBUG - Requesting: http://10.0.0.242:8082/project/5f830cda-a691-498c-9dbb-2fd633db082c 2025-08-11 18:33:24,290 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/81ce38ff-7a13-4d57-886e-75a1b320b114 2025-08-11 18:33:24,300 - DEBUG - ==>Verifying data for policy with id: feb0f912-cd04-4190-aa27-c14534b08b5e, fqn: ['default-domain', 'ctest-TestBasicPolicy-98427122', 'ctest-policy-allow-all-21297176'] 2025-08-11 18:33:24,300 - INFO - VN ctest-vn-14993540 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-11 18:33:24,300 - DEBUG - Verifying the vn in opserver 2025-08-11 18:33:24,300 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-98427122:ctest-vn-14993540 virtual network link through opserver 10.0.0.242 2025-08-11 18:33:24,300 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-08-11 18:33:24,590 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-08-11 18:33:24,642 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-98427122:ctest-vn-14993540', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-98427122:ctest-vn-14993540?flat'} 2025-08-11 18:33:24,642 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-98427122:ctest-vn-14993540 is found in opserver 2025-08-11 18:33:24,653 - DEBUG - Do not have enough data to verify VN in agent 2025-08-11 18:33:24,657 - DEBUG - VRF ids for VN ctest-vn-14993540: {} 2025-08-11 18:33:24,657 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-08-11 18:33:24,662 - DEBUG - Requesting: http://10.0.0.242:8082/domain/ae624269-2d4a-472d-80bf-18980a270f1b 2025-08-11 18:33:24,673 - DEBUG - Requesting: http://10.0.0.242:8082/project/5f830cda-a691-498c-9dbb-2fd633db082c 2025-08-11 18:33:24,742 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/3a5ee3c6-b2ff-419b-b62f-1a31661694f5 2025-08-11 18:33:24,752 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/3a5ee3c6-b2ff-419b-b62f-1a31661694f5 2025-08-11 18:33:24,761 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/df735eec-85ec-487b-a3a1-e5a74cd45b30 2025-08-11 18:33:24,767 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/df735eec-85ec-487b-a3a1-e5a74cd45b30 2025-08-11 18:33:24,773 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/3081c413-5b56-4b35-b092-643836bae6e1 2025-08-11 18:33:24,778 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-11 18:33:24,778 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/3a5ee3c6-b2ff-419b-b62f-1a31661694f5 2025-08-11 18:33:24,786 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/df735eec-85ec-487b-a3a1-e5a74cd45b30 2025-08-11 18:33:24,798 - INFO - Verified VN network id 12 for VN 3a5ee3c6-b2ff-419b-b62f-1a31661694f5 2025-08-11 18:33:24,798 - INFO - Verifications in API Server for VN ctest-vn-80708823 passed 2025-08-11 18:33:24,798 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/3a5ee3c6-b2ff-419b-b62f-1a31661694f5 2025-08-11 18:33:24,807 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/df735eec-85ec-487b-a3a1-e5a74cd45b30 2025-08-11 18:33:24,813 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/df735eec-85ec-487b-a3a1-e5a74cd45b30 2025-08-11 18:33:24,818 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/3081c413-5b56-4b35-b092-643836bae6e1 2025-08-11 18:33:24,829 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-98427122:ctest-vn-80708823', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-98427122', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4206049544556724635', 'uuid-lslong': '13127740238276760821'}, 'enable': 'true', 'created': '2025-08-11T18:33:22', 'last-modified': '2025-08-11T18:33:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.307428'} 2025-08-11 18:33:24,834 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-11 18:33:24,835 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-80708823 passed 2025-08-11 18:33:24,835 - DEBUG - ====Verifying policy data for ctest-vn-80708823 in API_Server ====== 2025-08-11 18:33:24,835 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-08-11 18:33:24,840 - DEBUG - Requesting: http://10.0.0.242:8082/domain/ae624269-2d4a-472d-80bf-18980a270f1b 2025-08-11 18:33:24,850 - DEBUG - Requesting: http://10.0.0.242:8082/project/5f830cda-a691-498c-9dbb-2fd633db082c 2025-08-11 18:33:24,916 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/3a5ee3c6-b2ff-419b-b62f-1a31661694f5 2025-08-11 18:33:24,925 - DEBUG - ==>Verifying data for policy with id: feb0f912-cd04-4190-aa27-c14534b08b5e, fqn: ['default-domain', 'ctest-TestBasicPolicy-98427122', 'ctest-policy-allow-all-21297176'] 2025-08-11 18:33:24,926 - INFO - VN ctest-vn-80708823 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-11 18:33:24,926 - DEBUG - Verifying the vn in opserver 2025-08-11 18:33:24,926 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-98427122:ctest-vn-80708823 virtual network link through opserver 10.0.0.242 2025-08-11 18:33:24,926 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-08-11 18:33:24,935 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-98427122:ctest-vn-80708823', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-98427122:ctest-vn-80708823?flat'} 2025-08-11 18:33:24,935 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-98427122:ctest-vn-80708823 is found in opserver 2025-08-11 18:33:24,944 - DEBUG - Do not have enough data to verify VN in agent 2025-08-11 18:33:24,949 - DEBUG - VRF ids for VN ctest-vn-80708823: {} 2025-08-11 18:33:24,996 - DEBUG - Services list from nova: [, , ] 2025-08-11 18:33:25,933 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3820-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3820-1) 2025-08-11 18:33:26,997 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3820-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3820-1) 2025-08-11 18:33:26,998 - INFO - Waiting for VM ctest-TestBasicPolicy-98427122-67166016 to be up.. 2025-08-11 18:33:27,062 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 18:33:32,129 - DEBUG - VM is in ACTIVE state now 2025-08-11 18:33:32,130 - INFO - VM name : ctest-TestBasicPolicy-98427122-67166016 2025-08-11 18:33:32,200 - DEBUG - VM ctest-TestBasicPolicy-98427122-67166016 ID is 44d0e437-6c58-4b09-8f4d-9ecbf4e2baae 2025-08-11 18:33:32,219 - DEBUG - VM ctest-TestBasicPolicy-98427122-67166016 launched on Node cn-jenkins-deploy-platform-ansible-os-3820-1 2025-08-11 18:33:32,288 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/44d0e437-6c58-4b09-8f4d-9ecbf4e2baae 2025-08-11 18:33:32,295 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/11d528a5-295d-44de-96b0-fdab4cf82af7 2025-08-11 18:33:35,546 - 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 1015ms') 2025-08-11 18:33:35,546 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-98427122-67166016 failed! 2025-08-11 18:33:35,601 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-98427122:ctest-vn-14993540 is 4.13.102.193 and allocation pool is NOT set 2025-08-11 18:33:37,660 - 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=2.86 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.61 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 = 2.611/2.736/2.862/0.125 ms') 2025-08-11 18:33:37,661 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-98427122-67166016 passed 2025-08-11 18:33:37,813 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 18:33:37,813 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-98427122-67166016, IP 4.13.102.195, Port 22 2025-08-11 18:33:37,968 - DEBUG - VM ctest-TestBasicPolicy-98427122-67166016 is ready for SSH connections 2025-08-11 18:33:37,969 - INFO - Waiting for VM ctest-TestBasicPolicy-98427122-46703069 to be up.. 2025-08-11 18:33:38,042 - DEBUG - VM is in ACTIVE state now 2025-08-11 18:33:38,042 - INFO - VM name : ctest-TestBasicPolicy-98427122-46703069 2025-08-11 18:33:38,109 - DEBUG - VM ctest-TestBasicPolicy-98427122-46703069 ID is 3e4e5db9-3329-4c84-99f0-46bcd7da618e 2025-08-11 18:33:38,109 - DEBUG - VM ctest-TestBasicPolicy-98427122-46703069 launched on Node cn-jenkins-deploy-platform-ansible-os-3820-1 2025-08-11 18:33:38,176 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/3e4e5db9-3329-4c84-99f0-46bcd7da618e 2025-08-11 18:33:38,184 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/c81cfccc-2fc1-469e-bc29-ba2205e23c8a 2025-08-11 18:33:39,420 - 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.89 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.08 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 = 2.082/2.987/3.892/0.905 ms') 2025-08-11 18:33:39,420 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-98427122-46703069 passed 2025-08-11 18:33:39,573 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 18:33:39,573 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-98427122-46703069, IP 132.172.249.3, Port 22 2025-08-11 18:33:39,729 - DEBUG - VM ctest-TestBasicPolicy-98427122-46703069 is ready for SSH connections 2025-08-11 18:33:39,729 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 18:33:39,729 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 132.172.249.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-08-11 18:33:39,729 - DEBUG - ping -s 56 -c 3 -W 1 132.172.249.3 2025-08-11 18:33:43,657 - DEBUG - PING 132.172.249.3 (132.172.249.3): 56 data bytes 64 bytes from 132.172.249.3: seq=0 ttl=63 time=3.321 ms 64 bytes from 132.172.249.3: seq=1 ttl=63 time=0.656 ms 64 bytes from 132.172.249.3: seq=2 ttl=63 time=0.776 ms --- 132.172.249.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.656/1.584/3.321 ms 2025-08-11 18:33:43,657 - INFO - Ping to IP 132.172.249.3 from VM ctest-TestBasicPolicy-98427122-67166016 passed 2025-08-11 18:33:43,833 - DEBUG - Policy Update Response {"network-policy": {"uuid": "feb0f912-cd04-4190-aa27-c14534b08b5e", "href": "http://10.0.0.242:8082/network-policy/feb0f912-cd04-4190-aa27-c14534b08b5e"}} 2025-08-11 18:33:43,833 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 18:33:43,833 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 132.172.249.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-08-11 18:33:43,833 - DEBUG - ping -s 56 -c 3 -W 1 132.172.249.3 2025-08-11 18:33:47,022 - DEBUG - PING 132.172.249.3 (132.172.249.3): 56 data bytes --- 132.172.249.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-11 18:33:47,022 - WARNING - Ping to IP 132.172.249.3 from VM ctest-TestBasicPolicy-98427122-67166016 failed 2025-08-11 18:33:47,022 - INFO - Deleting VM ctest-TestBasicPolicy-98427122-46703069 2025-08-11 18:33:47,096 - INFO - Deleting VM ctest-TestBasicPolicy-98427122-67166016 2025-08-11 18:33:47,456 - INFO - Deleted policy ctest-policy-allow-all-21297176 2025-08-11 18:33:47,456 - INFO - Deleting VN ctest-vn-80708823 2025-08-11 18:33:47,491 - DEBUG - VN 3a5ee3c6-b2ff-419b-b62f-1a31661694f5 still in use: Unable to complete operation on network 3a5ee3c6-b2ff-419b-b62f-1a31661694f5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b91c1856-49ab-41c0-b515-312056442158'] 2025-08-11 18:33:47,492 - WARNING - Deleting VN ctest-vn-80708823 failed..Will retry 2025-08-11 18:33:49,576 - DEBUG - Response for deleting network () 2025-08-11 18:33:49,576 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/df735eec-85ec-487b-a3a1-e5a74cd45b30 2025-08-11 18:33:49,581 - DEBUG - Response Code: 404 2025-08-11 18:33:49,581 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-08-11 18:33:49,587 - DEBUG - Requesting: http://10.0.0.242:8082/domain/ae624269-2d4a-472d-80bf-18980a270f1b 2025-08-11 18:33:49,643 - DEBUG - Requesting: http://10.0.0.242:8082/project/5f830cda-a691-498c-9dbb-2fd633db082c 2025-08-11 18:33:49,714 - INFO - Validated that VN ctest-vn-80708823 is not found in API Server 2025-08-11 18:33:49,724 - DEBUG - VN ctest-vn-80708823 is not present in Agent 10.0.0.242 2025-08-11 18:33:49,724 - INFO - Validated that VN ctest-vn-80708823 is not in any agent 2025-08-11 18:33:49,738 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-80708823 info 2025-08-11 18:33:49,738 - INFO - Deleting VN ctest-vn-14993540 2025-08-11 18:33:49,825 - DEBUG - Response for deleting network () 2025-08-11 18:33:49,825 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/15b1701f-415f-47d9-a89e-8bdb02dc8659 2025-08-11 18:33:49,832 - DEBUG - Response Code: 404 2025-08-11 18:33:49,833 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-08-11 18:33:49,837 - DEBUG - Requesting: http://10.0.0.242:8082/domain/ae624269-2d4a-472d-80bf-18980a270f1b 2025-08-11 18:33:49,890 - DEBUG - Requesting: http://10.0.0.242:8082/project/5f830cda-a691-498c-9dbb-2fd633db082c 2025-08-11 18:33:49,960 - INFO - Validated that VN ctest-vn-14993540 is not found in API Server 2025-08-11 18:33:49,971 - DEBUG - VN ctest-vn-14993540 is not present in Agent 10.0.0.242 2025-08-11 18:33:49,971 - INFO - Validated that VN ctest-vn-14993540 is not in any agent 2025-08-11 18:33:49,987 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-14993540 info 2025-08-11 18:33:50,238 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 18:33:50,239 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-08-11 18:33:50,239 - INFO - -------------------------------------------------------------------------------- 2025-08-11 18:33:50,891 - INFO - Deleted project: ctest-TestBasicPolicy-98427122, ID : 5f830cda-a691-498c-9dbb-2fd633db082c