2025-10-31 07:55:09,507 - INFO - Domain Default found not creating 2025-10-31 07:55:09,648 - INFO - Project ctest-TestBasicPolicy-42967658 not found, creating it 2025-10-31 07:55:10,067 - INFO - Created Project:ctest-TestBasicPolicy-42967658, ID : fba91588-024f-4549-8beb-90d7289c09a3 2025-10-31 07:55:11,397 - INFO - ================================================================================ 2025-10-31 07:55:11,397 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-31 07:55:11,397 - 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-31 07:55:11,651 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with 2025-10-31 07:55:11,652 - INFO - Initial checks done. Running the testcase now 2025-10-31 07:55:11,652 - INFO - 2025-10-31 07:55:12,157 - DEBUG - Response for create_network : {'network': {'id': '82ed2914-06d8-4f53-881a-6cb2addcc5a7', 'name': 'ctest-vn-84353984', 'tenant_id': 'fba91588024f45498beb90d7289c09a3', 'project_id': 'fba91588024f45498beb90d7289c09a3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-42967658', 'ctest-vn-84353984'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 07:55:12,294 - DEBUG - Response for create_subnet : {'subnet': {'id': '2b9693d2-712c-4dfe-9c91-21e11af10aaf', 'name': '', 'tenant_id': 'fba91588024f45498beb90d7289c09a3', 'network_id': '82ed2914-06d8-4f53-881a-6cb2addcc5a7', 'ip_version': 4, 'cidr': '34.236.159.0/26', 'allocation_pools': [{'start': '34.236.159.2', 'end': '34.236.159.62'}], 'gateway_ip': '34.236.159.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.236.159.2', 'tags': [], 'project_id': 'fba91588024f45498beb90d7289c09a3'}} 2025-10-31 07:55:12,314 - INFO - Created VN ctest-vn-84353984 2025-10-31 07:55:12,365 - DEBUG - VN ctest-vn-84353984 UUID is 82ed2914-06d8-4f53-881a-6cb2addcc5a7 2025-10-31 07:55:12,680 - DEBUG - Response for create_network : {'network': {'id': 'e9c31207-b678-4b1b-a952-aea712ea14ec', 'name': 'ctest-vn-30089817', 'tenant_id': 'fba91588024f45498beb90d7289c09a3', 'project_id': 'fba91588024f45498beb90d7289c09a3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-42967658', 'ctest-vn-30089817'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 07:55:12,850 - DEBUG - Response for create_subnet : {'subnet': {'id': '3d2e4d61-8b0b-4da2-add2-cce1500d42cf', 'name': '', 'tenant_id': 'fba91588024f45498beb90d7289c09a3', 'network_id': 'e9c31207-b678-4b1b-a952-aea712ea14ec', 'ip_version': 4, 'cidr': '218.190.69.64/26', 'allocation_pools': [{'start': '218.190.69.66', 'end': '218.190.69.126'}], 'gateway_ip': '218.190.69.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '218.190.69.66', 'tags': [], 'project_id': 'fba91588024f45498beb90d7289c09a3'}} 2025-10-31 07:55:12,864 - INFO - Created VN ctest-vn-30089817 2025-10-31 07:55:12,913 - DEBUG - VN ctest-vn-30089817 UUID is e9c31207-b678-4b1b-a952-aea712ea14ec 2025-10-31 07:55:13,053 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-42967658:ctest-vn-84353984, 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-42967658:ctest-vn-30089817, 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-31 07:55:13,336 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '82ed2914-06d8-4f53-881a-6cb2addcc5a7', 'name': 'ctest-vn-84353984', 'tenant_id': 'fba91588024f45498beb90d7289c09a3', 'project_id': 'fba91588024f45498beb90d7289c09a3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2b9693d2-712c-4dfe-9c91-21e11af10aaf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-42967658', 'ctest-vn-84353984'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-42967658', 'ctest-policy-allow-all-59729467']], 'subnet_ipam': [{'subnet_cidr': '34.236.159.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-31 07:55:13,604 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e9c31207-b678-4b1b-a952-aea712ea14ec', 'name': 'ctest-vn-30089817', 'tenant_id': 'fba91588024f45498beb90d7289c09a3', 'project_id': 'fba91588024f45498beb90d7289c09a3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3d2e4d61-8b0b-4da2-add2-cce1500d42cf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-42967658', 'ctest-vn-30089817'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-42967658', 'ctest-policy-allow-all-59729467']], 'subnet_ipam': [{'subnet_cidr': '218.190.69.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-31 07:55:13,757 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-31 07:55:14,051 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-31 07:55:14,077 - DEBUG - Requesting: http://10.0.0.254:8082/domain/12a3e0c6-666b-4d63-86e6-56a0562d662f 2025-10-31 07:55:14,088 - DEBUG - Requesting: http://10.0.0.254:8082/project/fba91588-024f-4549-8beb-90d7289c09a3 2025-10-31 07:55:14,153 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/82ed2914-06d8-4f53-881a-6cb2addcc5a7 2025-10-31 07:55:14,162 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/82ed2914-06d8-4f53-881a-6cb2addcc5a7 2025-10-31 07:55:14,170 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/96fa8c48-df27-419a-85ba-fac45d714ea5 2025-10-31 07:55:14,175 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/96fa8c48-df27-419a-85ba-fac45d714ea5 2025-10-31 07:55:14,181 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/92bfdbb4-058d-465e-b389-34448ead30d4 2025-10-31 07:55:14,186 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-31 07:55:14,186 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/82ed2914-06d8-4f53-881a-6cb2addcc5a7 2025-10-31 07:55:14,194 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/96fa8c48-df27-419a-85ba-fac45d714ea5 2025-10-31 07:55:14,205 - INFO - Verified VN network id 12 for VN 82ed2914-06d8-4f53-881a-6cb2addcc5a7 2025-10-31 07:55:14,205 - INFO - Verifications in API Server for VN ctest-vn-84353984 passed 2025-10-31 07:55:14,205 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/82ed2914-06d8-4f53-881a-6cb2addcc5a7 2025-10-31 07:55:14,212 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/96fa8c48-df27-419a-85ba-fac45d714ea5 2025-10-31 07:55:14,217 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/96fa8c48-df27-419a-85ba-fac45d714ea5 2025-10-31 07:55:14,221 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/92bfdbb4-058d-465e-b389-34448ead30d4 2025-10-31 07:55:14,230 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-42967658:ctest-vn-84353984', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-42967658', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9434241960401981267', 'uuid-lslong': '9807270653229581735'}, 'enable': 'true', 'created': '2025-10-31T07:55:12', 'last-modified': '2025-10-31T07:55:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.913605'} 2025-10-31 07:55:14,235 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-31 07:55:14,235 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-84353984 passed 2025-10-31 07:55:14,235 - DEBUG - ====Verifying policy data for ctest-vn-84353984 in API_Server ====== 2025-10-31 07:55:14,235 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-31 07:55:14,239 - DEBUG - Requesting: http://10.0.0.254:8082/domain/12a3e0c6-666b-4d63-86e6-56a0562d662f 2025-10-31 07:55:14,248 - DEBUG - Requesting: http://10.0.0.254:8082/project/fba91588-024f-4549-8beb-90d7289c09a3 2025-10-31 07:55:14,322 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/82ed2914-06d8-4f53-881a-6cb2addcc5a7 2025-10-31 07:55:14,332 - DEBUG - ==>Verifying data for policy with id: fcd2b3f2-c5f5-44f5-97f4-0681fa89b8af, fqn: ['default-domain', 'ctest-TestBasicPolicy-42967658', 'ctest-policy-allow-all-59729467'] 2025-10-31 07:55:14,332 - INFO - VN ctest-vn-84353984 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-31 07:55:14,332 - DEBUG - Verifying the vn in opserver 2025-10-31 07:55:14,332 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-42967658:ctest-vn-84353984 virtual network link through opserver 10.0.0.254 2025-10-31 07:55:14,332 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-31 07:55:14,639 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-31 07:55:14,698 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-42967658:ctest-vn-84353984', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-42967658:ctest-vn-84353984?flat'} 2025-10-31 07:55:14,698 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-42967658:ctest-vn-84353984 is found in opserver 2025-10-31 07:55:14,706 - DEBUG - Do not have enough data to verify VN in agent 2025-10-31 07:55:14,709 - DEBUG - VRF ids for VN ctest-vn-84353984: {} 2025-10-31 07:55:14,710 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-31 07:55:14,715 - DEBUG - Requesting: http://10.0.0.254:8082/domain/12a3e0c6-666b-4d63-86e6-56a0562d662f 2025-10-31 07:55:14,724 - DEBUG - Requesting: http://10.0.0.254:8082/project/fba91588-024f-4549-8beb-90d7289c09a3 2025-10-31 07:55:14,789 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e9c31207-b678-4b1b-a952-aea712ea14ec 2025-10-31 07:55:14,801 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e9c31207-b678-4b1b-a952-aea712ea14ec 2025-10-31 07:55:14,810 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a709d1dd-81df-4df1-a750-a1734f8cb67f 2025-10-31 07:55:14,816 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a709d1dd-81df-4df1-a750-a1734f8cb67f 2025-10-31 07:55:14,822 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/70268b11-2542-4b7d-9407-a4282322d8f6 2025-10-31 07:55:14,829 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-31 07:55:14,829 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e9c31207-b678-4b1b-a952-aea712ea14ec 2025-10-31 07:55:14,837 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a709d1dd-81df-4df1-a750-a1734f8cb67f 2025-10-31 07:55:14,848 - INFO - Verified VN network id 13 for VN e9c31207-b678-4b1b-a952-aea712ea14ec 2025-10-31 07:55:14,848 - INFO - Verifications in API Server for VN ctest-vn-30089817 passed 2025-10-31 07:55:14,848 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e9c31207-b678-4b1b-a952-aea712ea14ec 2025-10-31 07:55:14,857 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a709d1dd-81df-4df1-a750-a1734f8cb67f 2025-10-31 07:55:14,867 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a709d1dd-81df-4df1-a750-a1734f8cb67f 2025-10-31 07:55:14,874 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/70268b11-2542-4b7d-9407-a4282322d8f6 2025-10-31 07:55:14,886 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-42967658:ctest-vn-30089817', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-42967658', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16844326855631194907', 'uuid-lslong': '12201006373100197100'}, 'enable': 'true', 'created': '2025-10-31T07:55:12', 'last-modified': '2025-10-31T07:55:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.350714'} 2025-10-31 07:55:14,892 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-31 07:55:14,892 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-30089817 passed 2025-10-31 07:55:14,892 - DEBUG - ====Verifying policy data for ctest-vn-30089817 in API_Server ====== 2025-10-31 07:55:14,892 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-31 07:55:14,898 - DEBUG - Requesting: http://10.0.0.254:8082/domain/12a3e0c6-666b-4d63-86e6-56a0562d662f 2025-10-31 07:55:14,909 - DEBUG - Requesting: http://10.0.0.254:8082/project/fba91588-024f-4549-8beb-90d7289c09a3 2025-10-31 07:55:14,975 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e9c31207-b678-4b1b-a952-aea712ea14ec 2025-10-31 07:55:14,984 - DEBUG - ==>Verifying data for policy with id: fcd2b3f2-c5f5-44f5-97f4-0681fa89b8af, fqn: ['default-domain', 'ctest-TestBasicPolicy-42967658', 'ctest-policy-allow-all-59729467'] 2025-10-31 07:55:14,984 - INFO - VN ctest-vn-30089817 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-31 07:55:14,984 - DEBUG - Verifying the vn in opserver 2025-10-31 07:55:14,984 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-42967658:ctest-vn-30089817 virtual network link through opserver 10.0.0.254 2025-10-31 07:55:14,984 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-31 07:55:14,992 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-42967658:ctest-vn-30089817', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-42967658:ctest-vn-30089817?flat'} 2025-10-31 07:55:14,992 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-42967658:ctest-vn-30089817 is found in opserver 2025-10-31 07:55:15,000 - DEBUG - Do not have enough data to verify VN in agent 2025-10-31 07:55:15,004 - DEBUG - VRF ids for VN ctest-vn-30089817: {} 2025-10-31 07:55:15,054 - DEBUG - Services list from nova: [, , ] 2025-10-31 07:55:16,012 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4572-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4572-1) 2025-10-31 07:55:17,087 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4572-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4572-1) 2025-10-31 07:55:17,087 - INFO - Waiting for VM ctest-TestBasicPolicy-42967658-97778842 to be up.. 2025-10-31 07:55:17,156 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-31 07:55:22,235 - DEBUG - VM is in ACTIVE state now 2025-10-31 07:55:22,235 - INFO - VM name : ctest-TestBasicPolicy-42967658-97778842 2025-10-31 07:55:22,310 - DEBUG - VM ctest-TestBasicPolicy-42967658-97778842 ID is 9c8f6d2f-ef62-4745-b096-794f513d51ce 2025-10-31 07:55:22,327 - DEBUG - VM ctest-TestBasicPolicy-42967658-97778842 launched on Node cn-jenkins-deploy-platform-ansible-os-4572-1 2025-10-31 07:55:22,405 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/9c8f6d2f-ef62-4745-b096-794f513d51ce 2025-10-31 07:55:22,414 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/f6812237-85a9-4dff-8df9-2562c4c04ced 2025-10-31 07:55:25,663 - 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-10-31 07:55:25,663 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-42967658-97778842 failed! 2025-10-31 07:55:25,717 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-42967658:ctest-vn-84353984 is 34.236.159.1 and allocation pool is NOT set 2025-10-31 07:55:27,781 - 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=4.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.28 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 = 1.276/3.007/4.738/1.731 ms') 2025-10-31 07:55:27,781 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-42967658-97778842 passed 2025-10-31 07:55:27,929 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 07:55:27,929 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-42967658-97778842, IP 34.236.159.3, Port 22 2025-10-31 07:55:28,081 - DEBUG - VM ctest-TestBasicPolicy-42967658-97778842 is ready for SSH connections 2025-10-31 07:55:28,081 - INFO - Waiting for VM ctest-TestBasicPolicy-42967658-81420003 to be up.. 2025-10-31 07:55:28,152 - DEBUG - VM is in ACTIVE state now 2025-10-31 07:55:28,152 - INFO - VM name : ctest-TestBasicPolicy-42967658-81420003 2025-10-31 07:55:28,219 - DEBUG - VM ctest-TestBasicPolicy-42967658-81420003 ID is 4d1ea799-da86-4237-87f5-56fab5485f30 2025-10-31 07:55:28,219 - DEBUG - VM ctest-TestBasicPolicy-42967658-81420003 launched on Node cn-jenkins-deploy-platform-ansible-os-4572-1 2025-10-31 07:55:28,291 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/4d1ea799-da86-4237-87f5-56fab5485f30 2025-10-31 07:55:28,298 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/baf2cb6c-827d-451f-ad46-2968b10fa2e9 2025-10-31 07:55:29,524 - 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.34 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.921 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.921/2.132/3.343/1.211 ms') 2025-10-31 07:55:29,524 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-42967658-81420003 passed 2025-10-31 07:55:29,673 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 07:55:29,674 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-42967658-81420003, IP 218.190.69.67, Port 22 2025-10-31 07:55:29,833 - DEBUG - VM ctest-TestBasicPolicy-42967658-81420003 is ready for SSH connections 2025-10-31 07:55:29,833 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 07:55:29,833 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 218.190.69.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-31 07:55:29,833 - DEBUG - ping -s 56 -c 3 -W 1 218.190.69.67 2025-10-31 07:55:33,522 - DEBUG - PING 218.190.69.67 (218.190.69.67): 56 data bytes 64 bytes from 218.190.69.67: seq=0 ttl=63 time=3.461 ms 64 bytes from 218.190.69.67: seq=1 ttl=63 time=0.747 ms 64 bytes from 218.190.69.67: seq=2 ttl=63 time=0.690 ms --- 218.190.69.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.690/1.632/3.461 ms 2025-10-31 07:55:33,522 - INFO - Ping to IP 218.190.69.67 from VM ctest-TestBasicPolicy-42967658-97778842 passed 2025-10-31 07:55:33,689 - DEBUG - Policy Update Response {"network-policy": {"uuid": "fcd2b3f2-c5f5-44f5-97f4-0681fa89b8af", "href": "http://10.0.0.254:8082/network-policy/fcd2b3f2-c5f5-44f5-97f4-0681fa89b8af"}} 2025-10-31 07:55:33,689 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 07:55:33,689 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 218.190.69.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-31 07:55:33,689 - DEBUG - ping -s 56 -c 3 -W 1 218.190.69.67 2025-10-31 07:55:36,920 - DEBUG - PING 218.190.69.67 (218.190.69.67): 56 data bytes --- 218.190.69.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-31 07:55:36,920 - WARNING - Ping to IP 218.190.69.67 from VM ctest-TestBasicPolicy-42967658-97778842 failed 2025-10-31 07:55:36,920 - INFO - Deleting VM ctest-TestBasicPolicy-42967658-81420003 2025-10-31 07:55:36,978 - INFO - Deleting VM ctest-TestBasicPolicy-42967658-97778842 2025-10-31 07:55:37,327 - INFO - Deleted policy ctest-policy-allow-all-59729467 2025-10-31 07:55:37,327 - INFO - Deleting VN ctest-vn-30089817 2025-10-31 07:55:37,366 - DEBUG - VN e9c31207-b678-4b1b-a952-aea712ea14ec still in use: Unable to complete operation on network e9c31207-b678-4b1b-a952-aea712ea14ec. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-07e18be1-6a71-4949-8cfe-7ce604625618'] 2025-10-31 07:55:37,366 - WARNING - Deleting VN ctest-vn-30089817 failed..Will retry 2025-10-31 07:55:39,459 - DEBUG - Response for deleting network () 2025-10-31 07:55:39,459 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a709d1dd-81df-4df1-a750-a1734f8cb67f 2025-10-31 07:55:39,464 - DEBUG - Response Code: 404 2025-10-31 07:55:39,465 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-31 07:55:39,469 - DEBUG - Requesting: http://10.0.0.254:8082/domain/12a3e0c6-666b-4d63-86e6-56a0562d662f 2025-10-31 07:55:39,522 - DEBUG - Requesting: http://10.0.0.254:8082/project/fba91588-024f-4549-8beb-90d7289c09a3 2025-10-31 07:55:39,596 - INFO - Validated that VN ctest-vn-30089817 is not found in API Server 2025-10-31 07:55:39,605 - DEBUG - VN ctest-vn-30089817 is not present in Agent 10.0.0.254 2025-10-31 07:55:39,605 - INFO - Validated that VN ctest-vn-30089817 is not in any agent 2025-10-31 07:55:39,617 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-30089817 info 2025-10-31 07:55:39,617 - INFO - Deleting VN ctest-vn-84353984 2025-10-31 07:55:39,700 - DEBUG - Response for deleting network () 2025-10-31 07:55:39,700 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/96fa8c48-df27-419a-85ba-fac45d714ea5 2025-10-31 07:55:39,704 - DEBUG - Response Code: 404 2025-10-31 07:55:39,704 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-31 07:55:39,709 - DEBUG - Requesting: http://10.0.0.254:8082/domain/12a3e0c6-666b-4d63-86e6-56a0562d662f 2025-10-31 07:55:39,761 - DEBUG - Requesting: http://10.0.0.254:8082/project/fba91588-024f-4549-8beb-90d7289c09a3 2025-10-31 07:55:39,828 - INFO - Validated that VN ctest-vn-84353984 is not found in API Server 2025-10-31 07:55:39,839 - DEBUG - VN ctest-vn-84353984 is not present in Agent 10.0.0.254 2025-10-31 07:55:39,839 - INFO - Validated that VN ctest-vn-84353984 is not in any agent 2025-10-31 07:55:39,851 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-84353984 info 2025-10-31 07:55:40,106 - DEBUG - No XMPP flaps were noticed during the test
2025-10-31 07:55:40,106 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-10-31 07:55:40,106 - INFO - -------------------------------------------------------------------------------- 2025-10-31 07:55:40,744 - INFO - Deleted project: ctest-TestBasicPolicy-42967658, ID : fba91588-024f-4549-8beb-90d7289c09a3