2025-06-21 10:07:17,629 - INFO - Domain Default found not creating 2025-06-21 10:07:17,789 - INFO - Project ctest-TestBasicPolicy-92269193 not found, creating it 2025-06-21 10:07:18,269 - INFO - Created Project:ctest-TestBasicPolicy-92269193, ID : b6729482-361d-4f50-adcc-967495415cc8 2025-06-21 10:07:19,773 - INFO - ================================================================================ 2025-06-21 10:07:19,774 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-21 10:07:19,774 - 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-06-21 10:07:20,046 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-06-21 10:07:20,046 - INFO - Initial checks done. Running the testcase now 2025-06-21 10:07:20,046 - INFO - 2025-06-21 10:07:20,627 - DEBUG - Response for create_network : {'network': {'id': '6a1e7740-b609-47d5-a450-38a4ae97d835', 'name': 'ctest-vn-43274226', 'tenant_id': 'b6729482361d4f50adcc967495415cc8', 'project_id': 'b6729482361d4f50adcc967495415cc8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92269193', 'ctest-vn-43274226'], 'port_security_enabled': True, 'description': ''}} 2025-06-21 10:07:20,833 - DEBUG - Response for create_subnet : {'subnet': {'id': '28378798-9c3a-4654-8395-7d17463a1155', 'name': '', 'tenant_id': 'b6729482361d4f50adcc967495415cc8', 'network_id': '6a1e7740-b609-47d5-a450-38a4ae97d835', 'ip_version': 4, 'cidr': '210.124.164.0/26', 'allocation_pools': [{'start': '210.124.164.2', 'end': '210.124.164.62'}], 'gateway_ip': '210.124.164.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '210.124.164.2', 'tags': [], 'project_id': 'b6729482361d4f50adcc967495415cc8'}} 2025-06-21 10:07:20,853 - INFO - Created VN ctest-vn-43274226 2025-06-21 10:07:20,908 - DEBUG - VN ctest-vn-43274226 UUID is 6a1e7740-b609-47d5-a450-38a4ae97d835 2025-06-21 10:07:21,254 - DEBUG - Response for create_network : {'network': {'id': 'b195d679-d4dc-42b9-b848-1ae91c4be481', 'name': 'ctest-vn-45732798', 'tenant_id': 'b6729482361d4f50adcc967495415cc8', 'project_id': 'b6729482361d4f50adcc967495415cc8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92269193', 'ctest-vn-45732798'], 'port_security_enabled': True, 'description': ''}} 2025-06-21 10:07:21,425 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a770ca18-abde-4ab8-a539-d9866dca2e4e', 'name': '', 'tenant_id': 'b6729482361d4f50adcc967495415cc8', 'network_id': 'b195d679-d4dc-42b9-b848-1ae91c4be481', 'ip_version': 4, 'cidr': '122.88.104.128/26', 'allocation_pools': [{'start': '122.88.104.130', 'end': '122.88.104.190'}], 'gateway_ip': '122.88.104.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.88.104.130', 'tags': [], 'project_id': 'b6729482361d4f50adcc967495415cc8'}} 2025-06-21 10:07:21,444 - INFO - Created VN ctest-vn-45732798 2025-06-21 10:07:21,496 - DEBUG - VN ctest-vn-45732798 UUID is b195d679-d4dc-42b9-b848-1ae91c4be481 2025-06-21 10:07:21,618 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-92269193:ctest-vn-43274226, 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-92269193:ctest-vn-45732798, 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-06-21 10:07:21,948 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6a1e7740-b609-47d5-a450-38a4ae97d835', 'name': 'ctest-vn-43274226', 'tenant_id': 'b6729482361d4f50adcc967495415cc8', 'project_id': 'b6729482361d4f50adcc967495415cc8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['28378798-9c3a-4654-8395-7d17463a1155'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92269193', 'ctest-vn-43274226'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-92269193', 'ctest-policy-allow-all-95081965']], 'subnet_ipam': [{'subnet_cidr': '210.124.164.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-21 10:07:22,211 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b195d679-d4dc-42b9-b848-1ae91c4be481', 'name': 'ctest-vn-45732798', 'tenant_id': 'b6729482361d4f50adcc967495415cc8', 'project_id': 'b6729482361d4f50adcc967495415cc8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a770ca18-abde-4ab8-a539-d9866dca2e4e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92269193', 'ctest-vn-45732798'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-92269193', 'ctest-policy-allow-all-95081965']], 'subnet_ipam': [{'subnet_cidr': '122.88.104.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-21 10:07:22,384 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-21 10:07:22,683 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-21 10:07:22,720 - DEBUG - Requesting: http://10.0.0.254:8082/domain/0bb1e9b5-0306-4716-bae9-4ceaa292eecf 2025-06-21 10:07:22,735 - DEBUG - Requesting: http://10.0.0.254:8082/project/b6729482-361d-4f50-adcc-967495415cc8 2025-06-21 10:07:22,816 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6a1e7740-b609-47d5-a450-38a4ae97d835 2025-06-21 10:07:22,828 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6a1e7740-b609-47d5-a450-38a4ae97d835 2025-06-21 10:07:22,839 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/add42dfc-bb88-4f82-8571-2e01069b0626 2025-06-21 10:07:22,849 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/add42dfc-bb88-4f82-8571-2e01069b0626 2025-06-21 10:07:22,858 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/74bcce8e-5e0b-43f6-98b3-9e7d80b434b7 2025-06-21 10:07:22,866 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-21 10:07:22,866 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6a1e7740-b609-47d5-a450-38a4ae97d835 2025-06-21 10:07:22,878 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/add42dfc-bb88-4f82-8571-2e01069b0626 2025-06-21 10:07:22,899 - INFO - Verified VN network id 8 for VN 6a1e7740-b609-47d5-a450-38a4ae97d835 2025-06-21 10:07:22,900 - INFO - Verifications in API Server for VN ctest-vn-43274226 passed 2025-06-21 10:07:22,900 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6a1e7740-b609-47d5-a450-38a4ae97d835 2025-06-21 10:07:22,911 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/add42dfc-bb88-4f82-8571-2e01069b0626 2025-06-21 10:07:22,920 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/add42dfc-bb88-4f82-8571-2e01069b0626 2025-06-21 10:07:22,930 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/74bcce8e-5e0b-43f6-98b3-9e7d80b434b7 2025-06-21 10:07:22,943 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92269193:ctest-vn-43274226', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92269193', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7646680337137354709', 'uuid-lslong': '11840025700312012853'}, 'enable': 'true', 'created': '2025-06-21T10:07:20', 'last-modified': '2025-06-21T10:07:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.030147'} 2025-06-21 10:07:22,950 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-21 10:07:22,950 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-43274226 passed 2025-06-21 10:07:22,950 - DEBUG - ====Verifying policy data for ctest-vn-43274226 in API_Server ====== 2025-06-21 10:07:22,950 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-21 10:07:22,956 - DEBUG - Requesting: http://10.0.0.254:8082/domain/0bb1e9b5-0306-4716-bae9-4ceaa292eecf 2025-06-21 10:07:22,969 - DEBUG - Requesting: http://10.0.0.254:8082/project/b6729482-361d-4f50-adcc-967495415cc8 2025-06-21 10:07:23,056 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6a1e7740-b609-47d5-a450-38a4ae97d835 2025-06-21 10:07:23,068 - DEBUG - ==>Verifying data for policy with id: 7b088cf0-1593-4d84-a461-a9979a0a54fe, fqn: ['default-domain', 'ctest-TestBasicPolicy-92269193', 'ctest-policy-allow-all-95081965'] 2025-06-21 10:07:23,068 - INFO - VN ctest-vn-43274226 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-21 10:07:23,068 - DEBUG - Verifying the vn in opserver 2025-06-21 10:07:23,068 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92269193:ctest-vn-43274226 virtual network link through opserver 10.0.0.254 2025-06-21 10:07:23,069 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-21 10:07:23,363 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-21 10:07:23,426 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92269193:ctest-vn-43274226', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92269193:ctest-vn-43274226?flat'} 2025-06-21 10:07:23,426 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-92269193:ctest-vn-43274226 is found in opserver 2025-06-21 10:07:23,438 - DEBUG - Do not have enough data to verify VN in agent 2025-06-21 10:07:23,444 - DEBUG - VRF ids for VN ctest-vn-43274226: {} 2025-06-21 10:07:23,444 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-21 10:07:23,451 - DEBUG - Requesting: http://10.0.0.254:8082/domain/0bb1e9b5-0306-4716-bae9-4ceaa292eecf 2025-06-21 10:07:23,465 - DEBUG - Requesting: http://10.0.0.254:8082/project/b6729482-361d-4f50-adcc-967495415cc8 2025-06-21 10:07:23,540 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b195d679-d4dc-42b9-b848-1ae91c4be481 2025-06-21 10:07:23,553 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b195d679-d4dc-42b9-b848-1ae91c4be481 2025-06-21 10:07:23,570 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/66c101d3-9c64-4700-b5f2-623305fee00e 2025-06-21 10:07:23,581 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/66c101d3-9c64-4700-b5f2-623305fee00e 2025-06-21 10:07:23,588 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/9a722f5e-b941-4527-b5eb-e52dc1230627 2025-06-21 10:07:23,596 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-21 10:07:23,596 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b195d679-d4dc-42b9-b848-1ae91c4be481 2025-06-21 10:07:23,608 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/66c101d3-9c64-4700-b5f2-623305fee00e 2025-06-21 10:07:23,624 - INFO - Verified VN network id 9 for VN b195d679-d4dc-42b9-b848-1ae91c4be481 2025-06-21 10:07:23,624 - INFO - Verifications in API Server for VN ctest-vn-45732798 passed 2025-06-21 10:07:23,624 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b195d679-d4dc-42b9-b848-1ae91c4be481 2025-06-21 10:07:23,637 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/66c101d3-9c64-4700-b5f2-623305fee00e 2025-06-21 10:07:23,646 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/66c101d3-9c64-4700-b5f2-623305fee00e 2025-06-21 10:07:23,655 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/9a722f5e-b941-4527-b5eb-e52dc1230627 2025-06-21 10:07:23,670 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92269193:ctest-vn-45732798', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92269193', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12796369734993724089', 'uuid-lslong': '13278893089806345345'}, 'enable': 'true', 'created': '2025-06-21T10:07:21', 'last-modified': '2025-06-21T10:07:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.482031'} 2025-06-21 10:07:23,678 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-21 10:07:23,678 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-45732798 passed 2025-06-21 10:07:23,678 - DEBUG - ====Verifying policy data for ctest-vn-45732798 in API_Server ====== 2025-06-21 10:07:23,678 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-21 10:07:23,686 - DEBUG - Requesting: http://10.0.0.254:8082/domain/0bb1e9b5-0306-4716-bae9-4ceaa292eecf 2025-06-21 10:07:23,699 - DEBUG - Requesting: http://10.0.0.254:8082/project/b6729482-361d-4f50-adcc-967495415cc8 2025-06-21 10:07:23,775 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b195d679-d4dc-42b9-b848-1ae91c4be481 2025-06-21 10:07:23,788 - DEBUG - ==>Verifying data for policy with id: 7b088cf0-1593-4d84-a461-a9979a0a54fe, fqn: ['default-domain', 'ctest-TestBasicPolicy-92269193', 'ctest-policy-allow-all-95081965'] 2025-06-21 10:07:23,789 - INFO - VN ctest-vn-45732798 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-21 10:07:23,789 - DEBUG - Verifying the vn in opserver 2025-06-21 10:07:23,789 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92269193:ctest-vn-45732798 virtual network link through opserver 10.0.0.254 2025-06-21 10:07:23,789 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-21 10:07:23,802 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92269193:ctest-vn-45732798', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92269193:ctest-vn-45732798?flat'} 2025-06-21 10:07:23,802 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-92269193:ctest-vn-45732798 is found in opserver 2025-06-21 10:07:23,816 - DEBUG - Do not have enough data to verify VN in agent 2025-06-21 10:07:23,823 - DEBUG - VRF ids for VN ctest-vn-45732798: {} 2025-06-21 10:07:23,890 - DEBUG - Services list from nova: [, , ] 2025-06-21 10:07:24,951 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3510-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3510-1) 2025-06-21 10:07:26,264 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3510-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3510-1) 2025-06-21 10:07:26,264 - INFO - Waiting for VM ctest-TestBasicPolicy-92269193-98096402 to be up.. 2025-06-21 10:07:26,368 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-21 10:07:31,458 - DEBUG - VM is in ACTIVE state now 2025-06-21 10:07:31,459 - INFO - VM name : ctest-TestBasicPolicy-92269193-98096402 2025-06-21 10:07:31,541 - DEBUG - VM ctest-TestBasicPolicy-92269193-98096402 ID is bf017396-0244-4673-84d5-1fab69853776 2025-06-21 10:07:31,565 - DEBUG - VM ctest-TestBasicPolicy-92269193-98096402 launched on Node cn-jenkins-deploy-platform-ansible-os-3510-1 2025-06-21 10:07:31,666 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/bf017396-0244-4673-84d5-1fab69853776 2025-06-21 10:07:31,675 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/1c2ab3d1-7c7d-4034-91a0-55937e67ee12 2025-06-21 10:07:34,906 - 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 1011ms') 2025-06-21 10:07:34,906 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92269193-98096402 failed! 2025-06-21 10:07:34,964 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-92269193:ctest-vn-43274226 is 210.124.164.1 and allocation pool is NOT set 2025-06-21 10:07:37,021 - 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=7.29 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.455 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.455/3.871/7.287/3.416 ms') 2025-06-21 10:07:37,022 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92269193-98096402 passed 2025-06-21 10:07:37,184 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-21 10:07:37,184 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92269193-98096402, IP 210.124.164.3, Port 22 2025-06-21 10:07:37,350 - DEBUG - VM ctest-TestBasicPolicy-92269193-98096402 is ready for SSH connections 2025-06-21 10:07:37,350 - INFO - Waiting for VM ctest-TestBasicPolicy-92269193-38916705 to be up.. 2025-06-21 10:07:37,441 - DEBUG - VM is in ACTIVE state now 2025-06-21 10:07:37,442 - INFO - VM name : ctest-TestBasicPolicy-92269193-38916705 2025-06-21 10:07:37,534 - DEBUG - VM ctest-TestBasicPolicy-92269193-38916705 ID is 280069cf-b231-49f3-8565-1436c36da2f5 2025-06-21 10:07:37,534 - DEBUG - VM ctest-TestBasicPolicy-92269193-38916705 launched on Node cn-jenkins-deploy-platform-ansible-os-3510-1 2025-06-21 10:07:37,638 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/280069cf-b231-49f3-8565-1436c36da2f5 2025-06-21 10:07:37,649 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/f5f4d854-fab0-4f3a-94ea-a141cf00231c 2025-06-21 10:07:38,901 - 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=5.57 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.952 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.952/3.260/5.568/2.308 ms') 2025-06-21 10:07:38,901 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-92269193-38916705 passed 2025-06-21 10:07:39,060 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-21 10:07:39,060 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92269193-38916705, IP 122.88.104.131, Port 22 2025-06-21 10:07:39,216 - DEBUG - VM ctest-TestBasicPolicy-92269193-38916705 is ready for SSH connections 2025-06-21 10:07:39,216 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-21 10:07:39,216 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 122.88.104.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-21 10:07:39,216 - DEBUG - ping -s 56 -c 3 -W 1 122.88.104.131 2025-06-21 10:07:42,935 - DEBUG - PING 122.88.104.131 (122.88.104.131): 56 data bytes 64 bytes from 122.88.104.131: seq=0 ttl=63 time=6.384 ms 64 bytes from 122.88.104.131: seq=1 ttl=63 time=0.835 ms 64 bytes from 122.88.104.131: seq=2 ttl=63 time=0.992 ms --- 122.88.104.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.835/2.737/6.384 ms 2025-06-21 10:07:42,935 - INFO - Ping to IP 122.88.104.131 from VM ctest-TestBasicPolicy-92269193-98096402 passed 2025-06-21 10:07:43,116 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7b088cf0-1593-4d84-a461-a9979a0a54fe", "href": "http://10.0.0.254:8082/network-policy/7b088cf0-1593-4d84-a461-a9979a0a54fe"}} 2025-06-21 10:07:43,116 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-21 10:07:43,116 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 122.88.104.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-21 10:07:43,116 - DEBUG - ping -s 56 -c 3 -W 1 122.88.104.131 2025-06-21 10:07:46,336 - DEBUG - PING 122.88.104.131 (122.88.104.131): 56 data bytes 64 bytes from 122.88.104.131: seq=0 ttl=63 time=1.561 ms --- 122.88.104.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.561/1.561/1.561 ms 2025-06-21 10:07:46,336 - WARNING - Ping to IP 122.88.104.131 from VM ctest-TestBasicPolicy-92269193-98096402 failed 2025-06-21 10:07:46,336 - INFO - Deleting VM ctest-TestBasicPolicy-92269193-38916705 2025-06-21 10:07:46,408 - INFO - Deleting VM ctest-TestBasicPolicy-92269193-98096402 2025-06-21 10:07:46,852 - INFO - Deleted policy ctest-policy-allow-all-95081965 2025-06-21 10:07:46,852 - INFO - Deleting VN ctest-vn-45732798 2025-06-21 10:07:46,912 - DEBUG - VN b195d679-d4dc-42b9-b848-1ae91c4be481 still in use: Unable to complete operation on network b195d679-d4dc-42b9-b848-1ae91c4be481. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1878cc3b-2109-41ae-832b-e037dac9e9c5'] 2025-06-21 10:07:46,912 - WARNING - Deleting VN ctest-vn-45732798 failed..Will retry 2025-06-21 10:07:49,028 - DEBUG - Response for deleting network () 2025-06-21 10:07:49,029 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/66c101d3-9c64-4700-b5f2-623305fee00e 2025-06-21 10:07:49,036 - DEBUG - Response Code: 404 2025-06-21 10:07:49,036 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-21 10:07:49,045 - DEBUG - Requesting: http://10.0.0.254:8082/domain/0bb1e9b5-0306-4716-bae9-4ceaa292eecf 2025-06-21 10:07:49,104 - DEBUG - Requesting: http://10.0.0.254:8082/project/b6729482-361d-4f50-adcc-967495415cc8 2025-06-21 10:07:49,182 - INFO - Validated that VN ctest-vn-45732798 is not found in API Server 2025-06-21 10:07:49,194 - DEBUG - VN ctest-vn-45732798 is not present in Agent 10.0.0.254 2025-06-21 10:07:49,194 - INFO - Validated that VN ctest-vn-45732798 is not in any agent 2025-06-21 10:07:49,215 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-45732798 info 2025-06-21 10:07:49,215 - INFO - Deleting VN ctest-vn-43274226 2025-06-21 10:07:49,331 - DEBUG - Response for deleting network () 2025-06-21 10:07:49,332 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/add42dfc-bb88-4f82-8571-2e01069b0626 2025-06-21 10:07:49,340 - DEBUG - Response Code: 404 2025-06-21 10:07:49,340 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-21 10:07:49,346 - DEBUG - Requesting: http://10.0.0.254:8082/domain/0bb1e9b5-0306-4716-bae9-4ceaa292eecf 2025-06-21 10:07:49,402 - DEBUG - Requesting: http://10.0.0.254:8082/project/b6729482-361d-4f50-adcc-967495415cc8 2025-06-21 10:07:49,478 - INFO - Validated that VN ctest-vn-43274226 is not found in API Server 2025-06-21 10:07:49,492 - DEBUG - VN ctest-vn-43274226 is not present in Agent 10.0.0.254 2025-06-21 10:07:49,492 - INFO - Validated that VN ctest-vn-43274226 is not in any agent 2025-06-21 10:07:49,511 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-43274226 info 2025-06-21 10:07:49,775 - DEBUG - No XMPP flaps were noticed during the test
2025-06-21 10:07:49,775 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-06-21 10:07:49,776 - INFO - -------------------------------------------------------------------------------- 2025-06-21 10:07:50,468 - INFO - Deleted project: ctest-TestBasicPolicy-92269193, ID : b6729482-361d-4f50-adcc-967495415cc8