2025-10-15 19:39:18,896 - INFO - Domain Default found not creating 2025-10-15 19:39:19,078 - INFO - Project ctest-TestBasicPolicy-84616433 not found, creating it 2025-10-15 19:39:19,565 - INFO - Created Project:ctest-TestBasicPolicy-84616433, ID : cce6d35a-2357-46bc-92fb-c01d8e510407 2025-10-15 19:39:21,065 - INFO - ================================================================================ 2025-10-15 19:39:21,065 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-15 19:39:21,065 - 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-15 19:39:21,339 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.18': '0'}} with 2025-10-15 19:39:21,339 - INFO - Initial checks done. Running the testcase now 2025-10-15 19:39:21,339 - INFO - 2025-10-15 19:39:21,925 - DEBUG - Response for create_network : {'network': {'id': 'c9ee6bdb-6f37-40f0-9a24-2f1cc5c1645c', 'name': 'ctest-vn-90226665', 'tenant_id': 'cce6d35a235746bc92fbc01d8e510407', 'project_id': 'cce6d35a235746bc92fbc01d8e510407', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84616433', 'ctest-vn-90226665'], 'port_security_enabled': True, 'description': ''}} 2025-10-15 19:39:22,141 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c679d1e5-44b8-4969-9bf6-903387d531b2', 'name': '', 'tenant_id': 'cce6d35a235746bc92fbc01d8e510407', 'network_id': 'c9ee6bdb-6f37-40f0-9a24-2f1cc5c1645c', 'ip_version': 4, 'cidr': '35.100.67.128/26', 'allocation_pools': [{'start': '35.100.67.130', 'end': '35.100.67.190'}], 'gateway_ip': '35.100.67.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.100.67.130', 'tags': [], 'project_id': 'cce6d35a235746bc92fbc01d8e510407'}} 2025-10-15 19:39:22,160 - INFO - Created VN ctest-vn-90226665 2025-10-15 19:39:22,214 - DEBUG - VN ctest-vn-90226665 UUID is c9ee6bdb-6f37-40f0-9a24-2f1cc5c1645c 2025-10-15 19:39:22,510 - DEBUG - Response for create_network : {'network': {'id': 'b438fe84-027e-4d7f-9966-8df891095280', 'name': 'ctest-vn-39446505', 'tenant_id': 'cce6d35a235746bc92fbc01d8e510407', 'project_id': 'cce6d35a235746bc92fbc01d8e510407', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84616433', 'ctest-vn-39446505'], 'port_security_enabled': True, 'description': ''}} 2025-10-15 19:39:22,734 - DEBUG - Response for create_subnet : {'subnet': {'id': '9691b9c7-08be-4f9c-ba0b-be92ff1a9383', 'name': '', 'tenant_id': 'cce6d35a235746bc92fbc01d8e510407', 'network_id': 'b438fe84-027e-4d7f-9966-8df891095280', 'ip_version': 4, 'cidr': '217.179.179.64/26', 'allocation_pools': [{'start': '217.179.179.66', 'end': '217.179.179.126'}], 'gateway_ip': '217.179.179.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '217.179.179.66', 'tags': [], 'project_id': 'cce6d35a235746bc92fbc01d8e510407'}} 2025-10-15 19:39:22,753 - INFO - Created VN ctest-vn-39446505 2025-10-15 19:39:22,810 - DEBUG - VN ctest-vn-39446505 UUID is b438fe84-027e-4d7f-9966-8df891095280 2025-10-15 19:39:22,932 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-84616433:ctest-vn-90226665, 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-84616433:ctest-vn-39446505, 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-15 19:39:23,248 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c9ee6bdb-6f37-40f0-9a24-2f1cc5c1645c', 'name': 'ctest-vn-90226665', 'tenant_id': 'cce6d35a235746bc92fbc01d8e510407', 'project_id': 'cce6d35a235746bc92fbc01d8e510407', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c679d1e5-44b8-4969-9bf6-903387d531b2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84616433', 'ctest-vn-90226665'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-84616433', 'ctest-policy-allow-all-49411728']], 'subnet_ipam': [{'subnet_cidr': '35.100.67.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-15 19:39:23,528 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b438fe84-027e-4d7f-9966-8df891095280', 'name': 'ctest-vn-39446505', 'tenant_id': 'cce6d35a235746bc92fbc01d8e510407', 'project_id': 'cce6d35a235746bc92fbc01d8e510407', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9691b9c7-08be-4f9c-ba0b-be92ff1a9383'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84616433', 'ctest-vn-39446505'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-84616433', 'ctest-policy-allow-all-49411728']], 'subnet_ipam': [{'subnet_cidr': '217.179.179.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-15 19:39:23,690 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-15 19:39:23,990 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-15 19:39:24,020 - DEBUG - Requesting: http://10.0.0.22:8082/domain/cd71de06-90f0-40c9-b923-2a3d6bfa1e51 2025-10-15 19:39:24,033 - DEBUG - Requesting: http://10.0.0.22:8082/project/cce6d35a-2357-46bc-92fb-c01d8e510407 2025-10-15 19:39:24,110 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/c9ee6bdb-6f37-40f0-9a24-2f1cc5c1645c 2025-10-15 19:39:24,120 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/c9ee6bdb-6f37-40f0-9a24-2f1cc5c1645c 2025-10-15 19:39:24,129 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1b506cf1-3d7f-4d18-bbc6-17da985f0b32 2025-10-15 19:39:24,137 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1b506cf1-3d7f-4d18-bbc6-17da985f0b32 2025-10-15 19:39:24,144 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/f4d6753c-742f-490c-888c-6b7b4c19ba6f 2025-10-15 19:39:24,150 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-15 19:39:24,150 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/c9ee6bdb-6f37-40f0-9a24-2f1cc5c1645c 2025-10-15 19:39:24,158 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1b506cf1-3d7f-4d18-bbc6-17da985f0b32 2025-10-15 19:39:24,171 - INFO - Verified VN network id 11 for VN c9ee6bdb-6f37-40f0-9a24-2f1cc5c1645c 2025-10-15 19:39:24,171 - INFO - Verifications in API Server for VN ctest-vn-90226665 passed 2025-10-15 19:39:24,171 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/c9ee6bdb-6f37-40f0-9a24-2f1cc5c1645c 2025-10-15 19:39:24,180 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1b506cf1-3d7f-4d18-bbc6-17da985f0b32 2025-10-15 19:39:24,187 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1b506cf1-3d7f-4d18-bbc6-17da985f0b32 2025-10-15 19:39:24,194 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/f4d6753c-742f-490c-888c-6b7b4c19ba6f 2025-10-15 19:39:24,206 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-84616433:ctest-vn-90226665', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-84616433', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14550686036288553200', 'uuid-lslong': '11107054381625861212'}, 'enable': 'true', 'created': '2025-10-15T19:39:21', 'last-modified': '2025-10-15T19:39:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.988884'} 2025-10-15 19:39:24,212 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-15 19:39:24,212 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-90226665 passed 2025-10-15 19:39:24,213 - DEBUG - ====Verifying policy data for ctest-vn-90226665 in API_Server ====== 2025-10-15 19:39:24,213 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-15 19:39:24,217 - DEBUG - Requesting: http://10.0.0.22:8082/domain/cd71de06-90f0-40c9-b923-2a3d6bfa1e51 2025-10-15 19:39:24,227 - DEBUG - Requesting: http://10.0.0.22:8082/project/cce6d35a-2357-46bc-92fb-c01d8e510407 2025-10-15 19:39:24,301 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/c9ee6bdb-6f37-40f0-9a24-2f1cc5c1645c 2025-10-15 19:39:24,310 - DEBUG - ==>Verifying data for policy with id: 19d6eff7-3a18-4289-a649-95e84c58ed93, fqn: ['default-domain', 'ctest-TestBasicPolicy-84616433', 'ctest-policy-allow-all-49411728'] 2025-10-15 19:39:24,310 - INFO - VN ctest-vn-90226665 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-15 19:39:24,310 - DEBUG - Verifying the vn in opserver 2025-10-15 19:39:24,310 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-84616433:ctest-vn-90226665 virtual network link through opserver 10.0.0.22 2025-10-15 19:39:24,311 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-10-15 19:39:24,605 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-10-15 19:39:24,668 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-84616433:ctest-vn-90226665', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-84616433:ctest-vn-90226665?flat'} 2025-10-15 19:39:24,668 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-84616433:ctest-vn-90226665 is found in opserver 2025-10-15 19:39:24,677 - DEBUG - Do not have enough data to verify VN in agent 2025-10-15 19:39:24,681 - DEBUG - VRF ids for VN ctest-vn-90226665: {} 2025-10-15 19:39:24,681 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-15 19:39:24,686 - DEBUG - Requesting: http://10.0.0.22:8082/domain/cd71de06-90f0-40c9-b923-2a3d6bfa1e51 2025-10-15 19:39:24,697 - DEBUG - Requesting: http://10.0.0.22:8082/project/cce6d35a-2357-46bc-92fb-c01d8e510407 2025-10-15 19:39:24,778 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/b438fe84-027e-4d7f-9966-8df891095280 2025-10-15 19:39:24,791 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/b438fe84-027e-4d7f-9966-8df891095280 2025-10-15 19:39:24,801 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5405f2fc-5c15-4786-a8e0-d502d308ea89 2025-10-15 19:39:24,812 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5405f2fc-5c15-4786-a8e0-d502d308ea89 2025-10-15 19:39:24,819 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/2edaf056-e794-417d-8b58-5eb51511eed6 2025-10-15 19:39:24,828 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-15 19:39:24,828 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/b438fe84-027e-4d7f-9966-8df891095280 2025-10-15 19:39:24,838 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5405f2fc-5c15-4786-a8e0-d502d308ea89 2025-10-15 19:39:24,853 - INFO - Verified VN network id 12 for VN b438fe84-027e-4d7f-9966-8df891095280 2025-10-15 19:39:24,853 - INFO - Verifications in API Server for VN ctest-vn-39446505 passed 2025-10-15 19:39:24,854 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/b438fe84-027e-4d7f-9966-8df891095280 2025-10-15 19:39:24,863 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5405f2fc-5c15-4786-a8e0-d502d308ea89 2025-10-15 19:39:24,870 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5405f2fc-5c15-4786-a8e0-d502d308ea89 2025-10-15 19:39:24,877 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/2edaf056-e794-417d-8b58-5eb51511eed6 2025-10-15 19:39:24,889 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-84616433:ctest-vn-39446505', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-84616433', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12986409368453795199', 'uuid-lslong': '11053678434152174208'}, 'enable': 'true', 'created': '2025-10-15T19:39:22', 'last-modified': '2025-10-15T19:39:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.426614'} 2025-10-15 19:39:24,894 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-15 19:39:24,894 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39446505 passed 2025-10-15 19:39:24,894 - DEBUG - ====Verifying policy data for ctest-vn-39446505 in API_Server ====== 2025-10-15 19:39:24,894 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-15 19:39:24,902 - DEBUG - Requesting: http://10.0.0.22:8082/domain/cd71de06-90f0-40c9-b923-2a3d6bfa1e51 2025-10-15 19:39:24,915 - DEBUG - Requesting: http://10.0.0.22:8082/project/cce6d35a-2357-46bc-92fb-c01d8e510407 2025-10-15 19:39:24,988 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/b438fe84-027e-4d7f-9966-8df891095280 2025-10-15 19:39:24,998 - DEBUG - ==>Verifying data for policy with id: 19d6eff7-3a18-4289-a649-95e84c58ed93, fqn: ['default-domain', 'ctest-TestBasicPolicy-84616433', 'ctest-policy-allow-all-49411728'] 2025-10-15 19:39:24,998 - INFO - VN ctest-vn-39446505 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-15 19:39:24,998 - DEBUG - Verifying the vn in opserver 2025-10-15 19:39:24,998 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-84616433:ctest-vn-39446505 virtual network link through opserver 10.0.0.22 2025-10-15 19:39:24,998 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-10-15 19:39:25,009 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-84616433:ctest-vn-39446505', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-84616433:ctest-vn-39446505?flat'} 2025-10-15 19:39:25,009 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-84616433:ctest-vn-39446505 is found in opserver 2025-10-15 19:39:25,019 - DEBUG - Do not have enough data to verify VN in agent 2025-10-15 19:39:25,023 - DEBUG - VRF ids for VN ctest-vn-39446505: {} 2025-10-15 19:39:25,087 - DEBUG - Services list from nova: [, , ] 2025-10-15 19:39:26,150 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4335-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4335-1) 2025-10-15 19:39:27,391 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4335-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4335-1) 2025-10-15 19:39:27,391 - INFO - Waiting for VM ctest-TestBasicPolicy-84616433-92273508 to be up.. 2025-10-15 19:39:27,479 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-15 19:39:32,569 - DEBUG - VM is in ACTIVE state now 2025-10-15 19:39:32,569 - INFO - VM name : ctest-TestBasicPolicy-84616433-92273508 2025-10-15 19:39:32,653 - DEBUG - VM ctest-TestBasicPolicy-84616433-92273508 ID is 4f259ead-3ba2-437a-bc6d-4da93e09ebe8 2025-10-15 19:39:32,681 - DEBUG - VM ctest-TestBasicPolicy-84616433-92273508 launched on Node cn-jenkins-deploy-platform-ansible-os-4335-1 2025-10-15 19:39:32,763 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/4f259ead-3ba2-437a-bc6d-4da93e09ebe8 2025-10-15 19:39:32,774 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/3bc3ed46-1b0e-41ab-bd60-39f0737c849c 2025-10-15 19:39:36,057 - 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 1026ms') 2025-10-15 19:39:36,057 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-84616433-92273508 failed! 2025-10-15 19:39:36,110 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-84616433:ctest-vn-90226665 is 35.100.67.129 and allocation pool is NOT set 2025-10-15 19:39:38,175 - 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.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.785 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.785/4.229/7.674/3.444 ms') 2025-10-15 19:39:38,175 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-84616433-92273508 passed 2025-10-15 19:39:38,334 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 19:39:38,334 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-84616433-92273508, IP 35.100.67.131, Port 22 2025-10-15 19:39:38,500 - DEBUG - VM ctest-TestBasicPolicy-84616433-92273508 is ready for SSH connections 2025-10-15 19:39:38,501 - INFO - Waiting for VM ctest-TestBasicPolicy-84616433-79579731 to be up.. 2025-10-15 19:39:38,583 - DEBUG - VM is in ACTIVE state now 2025-10-15 19:39:38,583 - INFO - VM name : ctest-TestBasicPolicy-84616433-79579731 2025-10-15 19:39:38,664 - DEBUG - VM ctest-TestBasicPolicy-84616433-79579731 ID is 2b3c70ae-0a6b-443b-a03f-f1b72afe1a10 2025-10-15 19:39:38,664 - DEBUG - VM ctest-TestBasicPolicy-84616433-79579731 launched on Node cn-jenkins-deploy-platform-ansible-os-4335-1 2025-10-15 19:39:38,747 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/2b3c70ae-0a6b-443b-a03f-f1b72afe1a10 2025-10-15 19:39:38,757 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/143d7408-bfc3-4bde-8675-afe6ef6f18ed 2025-10-15 19:39:40,000 - 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.13 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.457 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.457/1.794/3.132/1.337 ms') 2025-10-15 19:39:40,000 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-84616433-79579731 passed 2025-10-15 19:39:40,154 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 19:39:40,154 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-84616433-79579731, IP 217.179.179.67, Port 22 2025-10-15 19:39:40,314 - DEBUG - VM ctest-TestBasicPolicy-84616433-79579731 is ready for SSH connections 2025-10-15 19:39:40,314 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 19:39:40,315 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 217.179.179.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-10-15 19:39:40,315 - DEBUG - ping -s 56 -c 3 -W 1 217.179.179.67 2025-10-15 19:39:44,444 - DEBUG - PING 217.179.179.67 (217.179.179.67): 56 data bytes 64 bytes from 217.179.179.67: seq=0 ttl=63 time=4.408 ms 64 bytes from 217.179.179.67: seq=1 ttl=63 time=1.172 ms 64 bytes from 217.179.179.67: seq=2 ttl=63 time=0.993 ms --- 217.179.179.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.993/2.191/4.408 ms 2025-10-15 19:39:44,444 - INFO - Ping to IP 217.179.179.67 from VM ctest-TestBasicPolicy-84616433-92273508 passed 2025-10-15 19:39:44,626 - DEBUG - Policy Update Response {"network-policy": {"uuid": "19d6eff7-3a18-4289-a649-95e84c58ed93", "href": "http://10.0.0.22:8082/network-policy/19d6eff7-3a18-4289-a649-95e84c58ed93"}} 2025-10-15 19:39:44,626 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 19:39:44,626 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 217.179.179.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-10-15 19:39:44,626 - DEBUG - ping -s 56 -c 3 -W 1 217.179.179.67 2025-10-15 19:39:47,860 - DEBUG - PING 217.179.179.67 (217.179.179.67): 56 data bytes --- 217.179.179.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-15 19:39:47,860 - WARNING - Ping to IP 217.179.179.67 from VM ctest-TestBasicPolicy-84616433-92273508 failed 2025-10-15 19:39:47,860 - INFO - Deleting VM ctest-TestBasicPolicy-84616433-79579731 2025-10-15 19:39:47,946 - INFO - Deleting VM ctest-TestBasicPolicy-84616433-92273508 2025-10-15 19:39:48,384 - INFO - Deleted policy ctest-policy-allow-all-49411728 2025-10-15 19:39:48,384 - INFO - Deleting VN ctest-vn-39446505 2025-10-15 19:39:48,424 - DEBUG - VN b438fe84-027e-4d7f-9966-8df891095280 still in use: Unable to complete operation on network b438fe84-027e-4d7f-9966-8df891095280. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7e684677-ba01-46ad-919b-2c5c2d2f3470'] 2025-10-15 19:39:48,424 - WARNING - Deleting VN ctest-vn-39446505 failed..Will retry 2025-10-15 19:39:50,535 - DEBUG - Response for deleting network () 2025-10-15 19:39:50,535 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5405f2fc-5c15-4786-a8e0-d502d308ea89 2025-10-15 19:39:50,547 - DEBUG - Response Code: 404 2025-10-15 19:39:50,547 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-15 19:39:50,552 - DEBUG - Requesting: http://10.0.0.22:8082/domain/cd71de06-90f0-40c9-b923-2a3d6bfa1e51 2025-10-15 19:39:50,603 - DEBUG - Requesting: http://10.0.0.22:8082/project/cce6d35a-2357-46bc-92fb-c01d8e510407 2025-10-15 19:39:50,683 - INFO - Validated that VN ctest-vn-39446505 is not found in API Server 2025-10-15 19:39:50,692 - DEBUG - VN ctest-vn-39446505 is not present in Agent 10.0.0.22 2025-10-15 19:39:50,692 - INFO - Validated that VN ctest-vn-39446505 is not in any agent 2025-10-15 19:39:50,707 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-39446505 info 2025-10-15 19:39:50,707 - INFO - Deleting VN ctest-vn-90226665 2025-10-15 19:39:50,813 - DEBUG - Response for deleting network () 2025-10-15 19:39:50,813 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1b506cf1-3d7f-4d18-bbc6-17da985f0b32 2025-10-15 19:39:50,819 - DEBUG - Response Code: 404 2025-10-15 19:39:50,819 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-10-15 19:39:50,827 - DEBUG - Requesting: http://10.0.0.22:8082/domain/cd71de06-90f0-40c9-b923-2a3d6bfa1e51 2025-10-15 19:39:50,880 - DEBUG - Requesting: http://10.0.0.22:8082/project/cce6d35a-2357-46bc-92fb-c01d8e510407 2025-10-15 19:39:50,961 - INFO - Validated that VN ctest-vn-90226665 is not found in API Server 2025-10-15 19:39:50,971 - DEBUG - VN ctest-vn-90226665 is not present in Agent 10.0.0.22 2025-10-15 19:39:50,971 - INFO - Validated that VN ctest-vn-90226665 is not in any agent 2025-10-15 19:39:50,987 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-90226665 info 2025-10-15 19:39:51,251 - DEBUG - No XMPP flaps were noticed during the test 2025-10-15 19:39:51,251 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-10-15 19:39:51,251 - INFO - -------------------------------------------------------------------------------- 2025-10-15 19:39:51,953 - INFO - Deleted project: ctest-TestBasicPolicy-84616433, ID : cce6d35a-2357-46bc-92fb-c01d8e510407