2025-08-14 14:37:26,995 - INFO - Domain Default found not creating 2025-08-14 14:37:27,127 - INFO - Project ctest-TestBasicPolicy-19135730 not found, creating it 2025-08-14 14:37:27,582 - INFO - Created Project:ctest-TestBasicPolicy-19135730, ID : a100dac2-7a69-4a22-8d17-2368684c9e19 2025-08-14 14:37:29,048 - INFO - ================================================================================ 2025-08-14 14:37:29,048 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-14 14:37:29,048 - 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-14 14:37:29,303 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with 2025-08-14 14:37:29,303 - INFO - Initial checks done. Running the testcase now 2025-08-14 14:37:29,304 - INFO - 2025-08-14 14:37:29,882 - DEBUG - Response for create_network : {'network': {'id': '4fc1ca98-0006-4cf0-8a97-b507b496d499', 'name': 'ctest-vn-89362612', 'tenant_id': 'a100dac27a694a228d172368684c9e19', 'project_id': 'a100dac27a694a228d172368684c9e19', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19135730', 'ctest-vn-89362612'], 'port_security_enabled': True, 'description': ''}} 2025-08-14 14:37:30,049 - DEBUG - Response for create_subnet : {'subnet': {'id': '88854117-9780-4a04-8450-861685a0c208', 'name': '', 'tenant_id': 'a100dac27a694a228d172368684c9e19', 'network_id': '4fc1ca98-0006-4cf0-8a97-b507b496d499', 'ip_version': 4, 'cidr': '11.166.46.192/26', 'allocation_pools': [{'start': '11.166.46.194', 'end': '11.166.46.254'}], 'gateway_ip': '11.166.46.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.166.46.194', 'tags': [], 'project_id': 'a100dac27a694a228d172368684c9e19'}} 2025-08-14 14:37:30,068 - INFO - Created VN ctest-vn-89362612 2025-08-14 14:37:30,118 - DEBUG - VN ctest-vn-89362612 UUID is 4fc1ca98-0006-4cf0-8a97-b507b496d499 2025-08-14 14:37:30,438 - DEBUG - Response for create_network : {'network': {'id': '0b049877-dce8-400c-9f4e-14e15927d1d4', 'name': 'ctest-vn-88180454', 'tenant_id': 'a100dac27a694a228d172368684c9e19', 'project_id': 'a100dac27a694a228d172368684c9e19', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19135730', 'ctest-vn-88180454'], 'port_security_enabled': True, 'description': ''}} 2025-08-14 14:37:30,591 - DEBUG - Response for create_subnet : {'subnet': {'id': '5d2b722d-9d61-4801-8a80-2cb77b2b32b4', 'name': '', 'tenant_id': 'a100dac27a694a228d172368684c9e19', 'network_id': '0b049877-dce8-400c-9f4e-14e15927d1d4', 'ip_version': 4, 'cidr': '2.250.180.0/26', 'allocation_pools': [{'start': '2.250.180.2', 'end': '2.250.180.62'}], 'gateway_ip': '2.250.180.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.250.180.2', 'tags': [], 'project_id': 'a100dac27a694a228d172368684c9e19'}} 2025-08-14 14:37:30,608 - INFO - Created VN ctest-vn-88180454 2025-08-14 14:37:30,662 - DEBUG - VN ctest-vn-88180454 UUID is 0b049877-dce8-400c-9f4e-14e15927d1d4 2025-08-14 14:37:30,809 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-19135730:ctest-vn-89362612, 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-19135730:ctest-vn-88180454, 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-14 14:37:31,100 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4fc1ca98-0006-4cf0-8a97-b507b496d499', 'name': 'ctest-vn-89362612', 'tenant_id': 'a100dac27a694a228d172368684c9e19', 'project_id': 'a100dac27a694a228d172368684c9e19', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['88854117-9780-4a04-8450-861685a0c208'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19135730', 'ctest-vn-89362612'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-19135730', 'ctest-policy-allow-all-88826180']], 'subnet_ipam': [{'subnet_cidr': '11.166.46.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-14 14:37:31,343 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0b049877-dce8-400c-9f4e-14e15927d1d4', 'name': 'ctest-vn-88180454', 'tenant_id': 'a100dac27a694a228d172368684c9e19', 'project_id': 'a100dac27a694a228d172368684c9e19', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5d2b722d-9d61-4801-8a80-2cb77b2b32b4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19135730', 'ctest-vn-88180454'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-19135730', 'ctest-policy-allow-all-88826180']], 'subnet_ipam': [{'subnet_cidr': '2.250.180.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-14 14:37:31,486 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-08-14 14:37:31,824 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-08-14 14:37:31,853 - DEBUG - Requesting: http://10.0.0.33:8082/domain/65c209a9-cf1f-4458-a393-add632cbff53 2025-08-14 14:37:31,865 - DEBUG - Requesting: http://10.0.0.33:8082/project/a100dac2-7a69-4a22-8d17-2368684c9e19 2025-08-14 14:37:31,935 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/4fc1ca98-0006-4cf0-8a97-b507b496d499 2025-08-14 14:37:31,945 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/4fc1ca98-0006-4cf0-8a97-b507b496d499 2025-08-14 14:37:31,953 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e1c089c4-7d7d-4388-95df-8d0571f68d5e 2025-08-14 14:37:31,959 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e1c089c4-7d7d-4388-95df-8d0571f68d5e 2025-08-14 14:37:31,965 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/c40245e2-d102-472a-a6f5-e8faeb4934e9 2025-08-14 14:37:31,970 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-14 14:37:31,970 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/4fc1ca98-0006-4cf0-8a97-b507b496d499 2025-08-14 14:37:31,978 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e1c089c4-7d7d-4388-95df-8d0571f68d5e 2025-08-14 14:37:31,990 - INFO - Verified VN network id 12 for VN 4fc1ca98-0006-4cf0-8a97-b507b496d499 2025-08-14 14:37:31,990 - INFO - Verifications in API Server for VN ctest-vn-89362612 passed 2025-08-14 14:37:31,990 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/4fc1ca98-0006-4cf0-8a97-b507b496d499 2025-08-14 14:37:31,998 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e1c089c4-7d7d-4388-95df-8d0571f68d5e 2025-08-14 14:37:32,003 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e1c089c4-7d7d-4388-95df-8d0571f68d5e 2025-08-14 14:37:32,010 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/c40245e2-d102-472a-a6f5-e8faeb4934e9 2025-08-14 14:37:32,021 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-19135730:ctest-vn-89362612', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-19135730', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5747097353685716208', 'uuid-lslong': '9986649743416546457'}, 'enable': 'true', 'created': '2025-08-14T14:37:29', 'last-modified': '2025-08-14T14:37:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.944968'} 2025-08-14 14:37:32,027 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-14 14:37:32,027 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-89362612 passed 2025-08-14 14:37:32,027 - DEBUG - ====Verifying policy data for ctest-vn-89362612 in API_Server ====== 2025-08-14 14:37:32,027 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-08-14 14:37:32,031 - DEBUG - Requesting: http://10.0.0.33:8082/domain/65c209a9-cf1f-4458-a393-add632cbff53 2025-08-14 14:37:32,041 - DEBUG - Requesting: http://10.0.0.33:8082/project/a100dac2-7a69-4a22-8d17-2368684c9e19 2025-08-14 14:37:32,111 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/4fc1ca98-0006-4cf0-8a97-b507b496d499 2025-08-14 14:37:32,123 - DEBUG - ==>Verifying data for policy with id: 872fa65a-e573-4aa9-9323-7b494c59d3ca, fqn: ['default-domain', 'ctest-TestBasicPolicy-19135730', 'ctest-policy-allow-all-88826180'] 2025-08-14 14:37:32,123 - INFO - VN ctest-vn-89362612 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-14 14:37:32,123 - DEBUG - Verifying the vn in opserver 2025-08-14 14:37:32,123 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-19135730:ctest-vn-89362612 virtual network link through opserver 10.0.0.33 2025-08-14 14:37:32,124 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-08-14 14:37:32,451 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-08-14 14:37:32,501 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-19135730:ctest-vn-89362612', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-19135730:ctest-vn-89362612?flat'} 2025-08-14 14:37:32,501 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-19135730:ctest-vn-89362612 is found in opserver 2025-08-14 14:37:32,511 - DEBUG - Do not have enough data to verify VN in agent 2025-08-14 14:37:32,515 - DEBUG - VRF ids for VN ctest-vn-89362612: {} 2025-08-14 14:37:32,516 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-08-14 14:37:32,520 - DEBUG - Requesting: http://10.0.0.33:8082/domain/65c209a9-cf1f-4458-a393-add632cbff53 2025-08-14 14:37:32,531 - DEBUG - Requesting: http://10.0.0.33:8082/project/a100dac2-7a69-4a22-8d17-2368684c9e19 2025-08-14 14:37:32,606 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/0b049877-dce8-400c-9f4e-14e15927d1d4 2025-08-14 14:37:32,616 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/0b049877-dce8-400c-9f4e-14e15927d1d4 2025-08-14 14:37:32,624 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f0b82e75-3abd-4d12-87f4-d6220600e493 2025-08-14 14:37:32,630 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f0b82e75-3abd-4d12-87f4-d6220600e493 2025-08-14 14:37:32,635 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/ac69953d-ee1c-40a2-8daf-fe8d63aba5e0 2025-08-14 14:37:32,640 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-14 14:37:32,640 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/0b049877-dce8-400c-9f4e-14e15927d1d4 2025-08-14 14:37:32,648 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f0b82e75-3abd-4d12-87f4-d6220600e493 2025-08-14 14:37:32,660 - INFO - Verified VN network id 13 for VN 0b049877-dce8-400c-9f4e-14e15927d1d4 2025-08-14 14:37:32,660 - INFO - Verifications in API Server for VN ctest-vn-88180454 passed 2025-08-14 14:37:32,660 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/0b049877-dce8-400c-9f4e-14e15927d1d4 2025-08-14 14:37:32,669 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f0b82e75-3abd-4d12-87f4-d6220600e493 2025-08-14 14:37:32,675 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f0b82e75-3abd-4d12-87f4-d6220600e493 2025-08-14 14:37:32,680 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/ac69953d-ee1c-40a2-8daf-fe8d63aba5e0 2025-08-14 14:37:32,691 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-19135730:ctest-vn-88180454', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-19135730', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '793927074898788364', 'uuid-lslong': '11479135458309951956'}, 'enable': 'true', 'created': '2025-08-14T14:37:30', 'last-modified': '2025-08-14T14:37:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.379548'} 2025-08-14 14:37:32,697 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-14 14:37:32,697 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-88180454 passed 2025-08-14 14:37:32,697 - DEBUG - ====Verifying policy data for ctest-vn-88180454 in API_Server ====== 2025-08-14 14:37:32,697 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-08-14 14:37:32,702 - DEBUG - Requesting: http://10.0.0.33:8082/domain/65c209a9-cf1f-4458-a393-add632cbff53 2025-08-14 14:37:32,712 - DEBUG - Requesting: http://10.0.0.33:8082/project/a100dac2-7a69-4a22-8d17-2368684c9e19 2025-08-14 14:37:32,785 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/0b049877-dce8-400c-9f4e-14e15927d1d4 2025-08-14 14:37:32,793 - DEBUG - ==>Verifying data for policy with id: 872fa65a-e573-4aa9-9323-7b494c59d3ca, fqn: ['default-domain', 'ctest-TestBasicPolicy-19135730', 'ctest-policy-allow-all-88826180'] 2025-08-14 14:37:32,793 - INFO - VN ctest-vn-88180454 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-14 14:37:32,793 - DEBUG - Verifying the vn in opserver 2025-08-14 14:37:32,793 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-19135730:ctest-vn-88180454 virtual network link through opserver 10.0.0.33 2025-08-14 14:37:32,793 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-08-14 14:37:32,803 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-19135730:ctest-vn-88180454', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-19135730:ctest-vn-88180454?flat'} 2025-08-14 14:37:32,803 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-19135730:ctest-vn-88180454 is found in opserver 2025-08-14 14:37:32,812 - DEBUG - Do not have enough data to verify VN in agent 2025-08-14 14:37:32,817 - DEBUG - VRF ids for VN ctest-vn-88180454: {} 2025-08-14 14:37:32,868 - DEBUG - Services list from nova: [, , ] 2025-08-14 14:37:33,918 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3857-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3857-1) 2025-08-14 14:37:35,099 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3857-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3857-1) 2025-08-14 14:37:35,099 - INFO - Waiting for VM ctest-TestBasicPolicy-19135730-65909260 to be up.. 2025-08-14 14:37:35,193 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-14 14:37:40,269 - DEBUG - VM is in ACTIVE state now 2025-08-14 14:37:40,270 - INFO - VM name : ctest-TestBasicPolicy-19135730-65909260 2025-08-14 14:37:40,346 - DEBUG - VM ctest-TestBasicPolicy-19135730-65909260 ID is 357502c5-f306-47a7-b540-eb17470cf24e 2025-08-14 14:37:40,364 - DEBUG - VM ctest-TestBasicPolicy-19135730-65909260 launched on Node cn-jenkins-deploy-platform-ansible-os-3857-1 2025-08-14 14:37:40,431 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/357502c5-f306-47a7-b540-eb17470cf24e 2025-08-14 14:37:40,439 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/a2dc718b-da82-47c3-9226-a60902926a8d 2025-08-14 14:37:43,682 - 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-14 14:37:43,682 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-19135730-65909260 failed! 2025-08-14 14:37:43,742 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-19135730:ctest-vn-89362612 is 11.166.46.193 and allocation pool is NOT set 2025-08-14 14:37:45,803 - 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=8.02 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.71 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 = 1.710/4.863/8.016/3.153 ms') 2025-08-14 14:37:45,803 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-19135730-65909260 passed 2025-08-14 14:37:45,958 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 14:37:45,958 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-19135730-65909260, IP 11.166.46.195, Port 22 2025-08-14 14:37:46,127 - DEBUG - VM ctest-TestBasicPolicy-19135730-65909260 is ready for SSH connections 2025-08-14 14:37:46,127 - INFO - Waiting for VM ctest-TestBasicPolicy-19135730-97703012 to be up.. 2025-08-14 14:37:46,213 - DEBUG - VM is in ACTIVE state now 2025-08-14 14:37:46,213 - INFO - VM name : ctest-TestBasicPolicy-19135730-97703012 2025-08-14 14:37:46,290 - DEBUG - VM ctest-TestBasicPolicy-19135730-97703012 ID is 9d3a9d93-0999-4638-816d-a7a25c786a47 2025-08-14 14:37:46,290 - DEBUG - VM ctest-TestBasicPolicy-19135730-97703012 launched on Node cn-jenkins-deploy-platform-ansible-os-3857-1 2025-08-14 14:37:46,479 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/9d3a9d93-0999-4638-816d-a7a25c786a47 2025-08-14 14:37:46,489 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/6b75b123-0b04-4381-a4b6-42382a5b9110 2025-08-14 14:37:47,732 - 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.05 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.527 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.527/1.786/3.045/1.259 ms') 2025-08-14 14:37:47,732 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-19135730-97703012 passed 2025-08-14 14:37:47,885 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 14:37:47,886 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-19135730-97703012, IP 2.250.180.3, Port 22 2025-08-14 14:37:48,045 - DEBUG - VM ctest-TestBasicPolicy-19135730-97703012 is ready for SSH connections 2025-08-14 14:37:48,045 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 14:37:48,045 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 2.250.180.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-08-14 14:37:48,045 - DEBUG - ping -s 56 -c 3 -W 1 2.250.180.3 2025-08-14 14:37:52,079 - DEBUG - PING 2.250.180.3 (2.250.180.3): 56 data bytes 64 bytes from 2.250.180.3: seq=0 ttl=63 time=4.033 ms 64 bytes from 2.250.180.3: seq=1 ttl=63 time=0.729 ms 64 bytes from 2.250.180.3: seq=2 ttl=63 time=0.828 ms --- 2.250.180.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.729/1.863/4.033 ms 2025-08-14 14:37:52,079 - INFO - Ping to IP 2.250.180.3 from VM ctest-TestBasicPolicy-19135730-65909260 passed 2025-08-14 14:37:52,257 - DEBUG - Policy Update Response {"network-policy": {"uuid": "872fa65a-e573-4aa9-9323-7b494c59d3ca", "href": "http://10.0.0.33:8082/network-policy/872fa65a-e573-4aa9-9323-7b494c59d3ca"}} 2025-08-14 14:37:52,257 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 14:37:52,258 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 2.250.180.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-08-14 14:37:52,258 - DEBUG - ping -s 56 -c 3 -W 1 2.250.180.3 2025-08-14 14:37:55,484 - DEBUG - PING 2.250.180.3 (2.250.180.3): 56 data bytes --- 2.250.180.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-14 14:37:55,484 - WARNING - Ping to IP 2.250.180.3 from VM ctest-TestBasicPolicy-19135730-65909260 failed 2025-08-14 14:37:55,484 - INFO - Deleting VM ctest-TestBasicPolicy-19135730-97703012 2025-08-14 14:37:55,545 - INFO - Deleting VM ctest-TestBasicPolicy-19135730-65909260 2025-08-14 14:37:55,952 - INFO - Deleted policy ctest-policy-allow-all-88826180 2025-08-14 14:37:55,952 - INFO - Deleting VN ctest-vn-88180454 2025-08-14 14:37:55,989 - DEBUG - VN 0b049877-dce8-400c-9f4e-14e15927d1d4 still in use: Unable to complete operation on network 0b049877-dce8-400c-9f4e-14e15927d1d4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2acd2e70-3f51-474c-8508-900ce1f2219f'] 2025-08-14 14:37:55,989 - WARNING - Deleting VN ctest-vn-88180454 failed..Will retry 2025-08-14 14:37:58,085 - DEBUG - Response for deleting network () 2025-08-14 14:37:58,085 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f0b82e75-3abd-4d12-87f4-d6220600e493 2025-08-14 14:37:58,093 - DEBUG - Response Code: 404 2025-08-14 14:37:58,093 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-08-14 14:37:58,098 - DEBUG - Requesting: http://10.0.0.33:8082/domain/65c209a9-cf1f-4458-a393-add632cbff53 2025-08-14 14:37:58,150 - DEBUG - Requesting: http://10.0.0.33:8082/project/a100dac2-7a69-4a22-8d17-2368684c9e19 2025-08-14 14:37:58,221 - INFO - Validated that VN ctest-vn-88180454 is not found in API Server 2025-08-14 14:37:58,231 - DEBUG - VN ctest-vn-88180454 is not present in Agent 10.0.0.33 2025-08-14 14:37:58,231 - INFO - Validated that VN ctest-vn-88180454 is not in any agent 2025-08-14 14:37:58,245 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-88180454 info 2025-08-14 14:37:58,245 - INFO - Deleting VN ctest-vn-89362612 2025-08-14 14:37:58,338 - DEBUG - Response for deleting network () 2025-08-14 14:37:58,339 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e1c089c4-7d7d-4388-95df-8d0571f68d5e 2025-08-14 14:37:58,343 - DEBUG - Response Code: 404 2025-08-14 14:37:58,343 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-08-14 14:37:58,347 - DEBUG - Requesting: http://10.0.0.33:8082/domain/65c209a9-cf1f-4458-a393-add632cbff53 2025-08-14 14:37:58,398 - DEBUG - Requesting: http://10.0.0.33:8082/project/a100dac2-7a69-4a22-8d17-2368684c9e19 2025-08-14 14:37:58,472 - INFO - Validated that VN ctest-vn-89362612 is not found in API Server 2025-08-14 14:37:58,482 - DEBUG - VN ctest-vn-89362612 is not present in Agent 10.0.0.33 2025-08-14 14:37:58,482 - INFO - Validated that VN ctest-vn-89362612 is not in any agent 2025-08-14 14:37:58,496 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-89362612 info 2025-08-14 14:37:58,755 - DEBUG - No XMPP flaps were noticed during the test
2025-08-14 14:37:58,755 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-08-14 14:37:58,755 - INFO - -------------------------------------------------------------------------------- 2025-08-14 14:37:59,442 - INFO - Deleted project: ctest-TestBasicPolicy-19135730, ID : a100dac2-7a69-4a22-8d17-2368684c9e19