2025-11-06 06:33:13,378 - INFO - Domain Default found not creating 2025-11-06 06:33:13,527 - INFO - Project ctest-TestBasicPolicy-87424454 not found, creating it 2025-11-06 06:33:13,968 - INFO - Created Project:ctest-TestBasicPolicy-87424454, ID : 02ade58e-d291-40ad-8d1e-f6e802afe501 2025-11-06 06:33:15,447 - INFO - ================================================================================ 2025-11-06 06:33:15,448 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-06 06:33:15,448 - 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-11-06 06:33:15,701 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.192': '0'}} with 2025-11-06 06:33:15,701 - INFO - Initial checks done. Running the testcase now 2025-11-06 06:33:15,701 - INFO - 2025-11-06 06:33:16,225 - DEBUG - Response for create_network : {'network': {'id': 'fa779940-7cc5-4e94-b4ea-dba3ea9188bd', 'name': 'ctest-vn-62827356', 'tenant_id': '02ade58ed29140ad8d1ef6e802afe501', 'project_id': '02ade58ed29140ad8d1ef6e802afe501', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87424454', 'ctest-vn-62827356'], 'port_security_enabled': True, 'description': ''}} 2025-11-06 06:33:16,356 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f1cc77f1-9bc2-4caa-b342-5296a6363114', 'name': '', 'tenant_id': '02ade58ed29140ad8d1ef6e802afe501', 'network_id': 'fa779940-7cc5-4e94-b4ea-dba3ea9188bd', 'ip_version': 4, 'cidr': '111.176.53.192/26', 'allocation_pools': [{'start': '111.176.53.194', 'end': '111.176.53.254'}], 'gateway_ip': '111.176.53.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.176.53.194', 'tags': [], 'project_id': '02ade58ed29140ad8d1ef6e802afe501'}} 2025-11-06 06:33:16,373 - INFO - Created VN ctest-vn-62827356 2025-11-06 06:33:16,424 - DEBUG - VN ctest-vn-62827356 UUID is fa779940-7cc5-4e94-b4ea-dba3ea9188bd 2025-11-06 06:33:16,732 - DEBUG - Response for create_network : {'network': {'id': 'b1f00b8a-b12e-4e15-a50d-9d1879cb781e', 'name': 'ctest-vn-94205426', 'tenant_id': '02ade58ed29140ad8d1ef6e802afe501', 'project_id': '02ade58ed29140ad8d1ef6e802afe501', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87424454', 'ctest-vn-94205426'], 'port_security_enabled': True, 'description': ''}} 2025-11-06 06:33:16,892 - DEBUG - Response for create_subnet : {'subnet': {'id': '5bfdaf0f-dc18-49c4-9d1f-b5a6cad17db6', 'name': '', 'tenant_id': '02ade58ed29140ad8d1ef6e802afe501', 'network_id': 'b1f00b8a-b12e-4e15-a50d-9d1879cb781e', 'ip_version': 4, 'cidr': '205.133.200.192/26', 'allocation_pools': [{'start': '205.133.200.194', 'end': '205.133.200.254'}], 'gateway_ip': '205.133.200.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '205.133.200.194', 'tags': [], 'project_id': '02ade58ed29140ad8d1ef6e802afe501'}} 2025-11-06 06:33:16,912 - INFO - Created VN ctest-vn-94205426 2025-11-06 06:33:16,964 - DEBUG - VN ctest-vn-94205426 UUID is b1f00b8a-b12e-4e15-a50d-9d1879cb781e 2025-11-06 06:33:17,075 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-87424454:ctest-vn-62827356, 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-87424454:ctest-vn-94205426, 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-11-06 06:33:17,382 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fa779940-7cc5-4e94-b4ea-dba3ea9188bd', 'name': 'ctest-vn-62827356', 'tenant_id': '02ade58ed29140ad8d1ef6e802afe501', 'project_id': '02ade58ed29140ad8d1ef6e802afe501', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f1cc77f1-9bc2-4caa-b342-5296a6363114'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87424454', 'ctest-vn-62827356'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-87424454', 'ctest-policy-allow-all-84237272']], 'subnet_ipam': [{'subnet_cidr': '111.176.53.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-06 06:33:17,607 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b1f00b8a-b12e-4e15-a50d-9d1879cb781e', 'name': 'ctest-vn-94205426', 'tenant_id': '02ade58ed29140ad8d1ef6e802afe501', 'project_id': '02ade58ed29140ad8d1ef6e802afe501', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5bfdaf0f-dc18-49c4-9d1f-b5a6cad17db6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87424454', 'ctest-vn-94205426'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-87424454', 'ctest-policy-allow-all-84237272']], 'subnet_ipam': [{'subnet_cidr': '205.133.200.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-06 06:33:17,752 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-06 06:33:18,044 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-06 06:33:18,073 - DEBUG - Requesting: http://10.0.0.22:8082/domain/60626f23-fc59-43e2-9f52-5aeae7917696 2025-11-06 06:33:18,083 - DEBUG - Requesting: http://10.0.0.22:8082/project/02ade58e-d291-40ad-8d1e-f6e802afe501 2025-11-06 06:33:18,154 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fa779940-7cc5-4e94-b4ea-dba3ea9188bd 2025-11-06 06:33:18,163 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fa779940-7cc5-4e94-b4ea-dba3ea9188bd 2025-11-06 06:33:18,171 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6906a036-e7df-4e74-afd1-8b7cbcd71e75 2025-11-06 06:33:18,177 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6906a036-e7df-4e74-afd1-8b7cbcd71e75 2025-11-06 06:33:18,183 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/f22defb8-6cf6-4061-9e30-b79acec993bc 2025-11-06 06:33:18,188 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-06 06:33:18,188 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fa779940-7cc5-4e94-b4ea-dba3ea9188bd 2025-11-06 06:33:18,196 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6906a036-e7df-4e74-afd1-8b7cbcd71e75 2025-11-06 06:33:18,208 - INFO - Verified VN network id 12 for VN fa779940-7cc5-4e94-b4ea-dba3ea9188bd 2025-11-06 06:33:18,209 - INFO - Verifications in API Server for VN ctest-vn-62827356 passed 2025-11-06 06:33:18,209 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fa779940-7cc5-4e94-b4ea-dba3ea9188bd 2025-11-06 06:33:18,217 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6906a036-e7df-4e74-afd1-8b7cbcd71e75 2025-11-06 06:33:18,223 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6906a036-e7df-4e74-afd1-8b7cbcd71e75 2025-11-06 06:33:18,230 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/f22defb8-6cf6-4061-9e30-b79acec993bc 2025-11-06 06:33:18,240 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-87424454:ctest-vn-62827356', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-87424454', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18048062533960814228', 'uuid-lslong': '13036473568438880445'}, 'enable': 'true', 'created': '2025-11-06T06:33:16', 'last-modified': '2025-11-06T06:33:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.896595'} 2025-11-06 06:33:18,245 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-06 06:33:18,245 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-62827356 passed 2025-11-06 06:33:18,245 - DEBUG - ====Verifying policy data for ctest-vn-62827356 in API_Server ====== 2025-11-06 06:33:18,245 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-06 06:33:18,250 - DEBUG - Requesting: http://10.0.0.22:8082/domain/60626f23-fc59-43e2-9f52-5aeae7917696 2025-11-06 06:33:18,260 - DEBUG - Requesting: http://10.0.0.22:8082/project/02ade58e-d291-40ad-8d1e-f6e802afe501 2025-11-06 06:33:18,330 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fa779940-7cc5-4e94-b4ea-dba3ea9188bd 2025-11-06 06:33:18,338 - DEBUG - ==>Verifying data for policy with id: 49ad50fe-2a61-42cb-87fe-7ac57a13bd78, fqn: ['default-domain', 'ctest-TestBasicPolicy-87424454', 'ctest-policy-allow-all-84237272'] 2025-11-06 06:33:18,338 - INFO - VN ctest-vn-62827356 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-06 06:33:18,338 - DEBUG - Verifying the vn in opserver 2025-11-06 06:33:18,338 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-87424454:ctest-vn-62827356 virtual network link through opserver 10.0.0.22 2025-11-06 06:33:18,338 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-11-06 06:33:18,627 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-11-06 06:33:18,689 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-87424454:ctest-vn-62827356', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-87424454:ctest-vn-62827356?flat'} 2025-11-06 06:33:18,689 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-87424454:ctest-vn-62827356 is found in opserver 2025-11-06 06:33:18,697 - DEBUG - Do not have enough data to verify VN in agent 2025-11-06 06:33:18,702 - DEBUG - VRF ids for VN ctest-vn-62827356: {} 2025-11-06 06:33:18,702 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-06 06:33:18,709 - DEBUG - Requesting: http://10.0.0.22:8082/domain/60626f23-fc59-43e2-9f52-5aeae7917696 2025-11-06 06:33:18,718 - DEBUG - Requesting: http://10.0.0.22:8082/project/02ade58e-d291-40ad-8d1e-f6e802afe501 2025-11-06 06:33:18,783 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/b1f00b8a-b12e-4e15-a50d-9d1879cb781e 2025-11-06 06:33:18,795 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/b1f00b8a-b12e-4e15-a50d-9d1879cb781e 2025-11-06 06:33:18,804 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/cfc24e44-64b1-481c-b7f7-ab5d2ba58570 2025-11-06 06:33:18,811 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/cfc24e44-64b1-481c-b7f7-ab5d2ba58570 2025-11-06 06:33:18,819 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/1e47dbda-98c9-4eca-a1da-9f06fa57d53f 2025-11-06 06:33:18,826 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-06 06:33:18,826 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/b1f00b8a-b12e-4e15-a50d-9d1879cb781e 2025-11-06 06:33:18,834 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/cfc24e44-64b1-481c-b7f7-ab5d2ba58570 2025-11-06 06:33:18,847 - INFO - Verified VN network id 13 for VN b1f00b8a-b12e-4e15-a50d-9d1879cb781e 2025-11-06 06:33:18,847 - INFO - Verifications in API Server for VN ctest-vn-94205426 passed 2025-11-06 06:33:18,847 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/b1f00b8a-b12e-4e15-a50d-9d1879cb781e 2025-11-06 06:33:18,855 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/cfc24e44-64b1-481c-b7f7-ab5d2ba58570 2025-11-06 06:33:18,861 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/cfc24e44-64b1-481c-b7f7-ab5d2ba58570 2025-11-06 06:33:18,868 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/1e47dbda-98c9-4eca-a1da-9f06fa57d53f 2025-11-06 06:33:18,880 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-87424454:ctest-vn-94205426', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-87424454', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12821760829429796373', 'uuid-lslong': '11893334919403501598'}, 'enable': 'true', 'created': '2025-11-06T06:33:16', 'last-modified': '2025-11-06T06:33:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.291300'} 2025-11-06 06:33:18,886 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-06 06:33:18,886 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-94205426 passed 2025-11-06 06:33:18,886 - DEBUG - ====Verifying policy data for ctest-vn-94205426 in API_Server ====== 2025-11-06 06:33:18,887 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-06 06:33:18,891 - DEBUG - Requesting: http://10.0.0.22:8082/domain/60626f23-fc59-43e2-9f52-5aeae7917696 2025-11-06 06:33:18,901 - DEBUG - Requesting: http://10.0.0.22:8082/project/02ade58e-d291-40ad-8d1e-f6e802afe501 2025-11-06 06:33:18,974 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/b1f00b8a-b12e-4e15-a50d-9d1879cb781e 2025-11-06 06:33:18,983 - DEBUG - ==>Verifying data for policy with id: 49ad50fe-2a61-42cb-87fe-7ac57a13bd78, fqn: ['default-domain', 'ctest-TestBasicPolicy-87424454', 'ctest-policy-allow-all-84237272'] 2025-11-06 06:33:18,983 - INFO - VN ctest-vn-94205426 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-06 06:33:18,983 - DEBUG - Verifying the vn in opserver 2025-11-06 06:33:18,984 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-87424454:ctest-vn-94205426 virtual network link through opserver 10.0.0.22 2025-11-06 06:33:18,984 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-11-06 06:33:18,993 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-87424454:ctest-vn-94205426', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-87424454:ctest-vn-94205426?flat'} 2025-11-06 06:33:18,993 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-87424454:ctest-vn-94205426 is found in opserver 2025-11-06 06:33:19,003 - DEBUG - Do not have enough data to verify VN in agent 2025-11-06 06:33:19,009 - DEBUG - VRF ids for VN ctest-vn-94205426: {} 2025-11-06 06:33:19,066 - DEBUG - Services list from nova: [, , ] 2025-11-06 06:33:20,098 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4665-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4665-1) 2025-11-06 06:33:21,160 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4665-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4665-1) 2025-11-06 06:33:21,160 - INFO - Waiting for VM ctest-TestBasicPolicy-87424454-98762359 to be up.. 2025-11-06 06:33:21,236 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-06 06:33:26,310 - DEBUG - VM is in ACTIVE state now 2025-11-06 06:33:26,310 - INFO - VM name : ctest-TestBasicPolicy-87424454-98762359 2025-11-06 06:33:26,396 - DEBUG - VM ctest-TestBasicPolicy-87424454-98762359 ID is aa3cad2b-e89b-4174-bf41-a2cb46ab78b2 2025-11-06 06:33:26,426 - DEBUG - VM ctest-TestBasicPolicy-87424454-98762359 launched on Node cn-jenkins-deploy-platform-ansible-os-4665-1 2025-11-06 06:33:26,500 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/aa3cad2b-e89b-4174-bf41-a2cb46ab78b2 2025-11-06 06:33:26,508 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/21ee659a-f307-466e-bb38-1251d022ccc5 2025-11-06 06:33:29,749 - 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-11-06 06:33:29,749 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-87424454-98762359 failed! 2025-11-06 06:33:29,800 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-87424454:ctest-vn-62827356 is 111.176.53.193 and allocation pool is NOT set 2025-11-06 06:33:31,857 - 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=3.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.303 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 = 0.303/1.957/3.612/1.654 ms') 2025-11-06 06:33:31,858 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-87424454-98762359 passed 2025-11-06 06:33:32,012 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 06:33:32,012 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-87424454-98762359, IP 111.176.53.195, Port 22 2025-11-06 06:33:32,168 - DEBUG - VM ctest-TestBasicPolicy-87424454-98762359 is ready for SSH connections 2025-11-06 06:33:32,168 - INFO - Waiting for VM ctest-TestBasicPolicy-87424454-94637507 to be up.. 2025-11-06 06:33:32,246 - DEBUG - VM is in ACTIVE state now 2025-11-06 06:33:32,246 - INFO - VM name : ctest-TestBasicPolicy-87424454-94637507 2025-11-06 06:33:32,319 - DEBUG - VM ctest-TestBasicPolicy-87424454-94637507 ID is 172305fe-7cac-431c-932a-db32cfae5f27 2025-11-06 06:33:32,319 - DEBUG - VM ctest-TestBasicPolicy-87424454-94637507 launched on Node cn-jenkins-deploy-platform-ansible-os-4665-1 2025-11-06 06:33:32,387 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/172305fe-7cac-431c-932a-db32cfae5f27 2025-11-06 06:33:32,396 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/7de20e4b-8d91-4145-ae4a-8ca9b0a56107 2025-11-06 06:33:33,629 - 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=2.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.504 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.504/1.627/2.750/1.123 ms') 2025-11-06 06:33:33,629 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-87424454-94637507 passed 2025-11-06 06:33:33,776 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 06:33:33,776 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-87424454-94637507, IP 205.133.200.195, Port 22 2025-11-06 06:33:33,936 - DEBUG - VM ctest-TestBasicPolicy-87424454-94637507 is ready for SSH connections 2025-11-06 06:33:33,936 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 06:33:33,936 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 205.133.200.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-06 06:33:33,936 - DEBUG - ping -s 56 -c 3 -W 1 205.133.200.195 2025-11-06 06:33:37,963 - DEBUG - PING 205.133.200.195 (205.133.200.195): 56 data bytes 64 bytes from 205.133.200.195: seq=0 ttl=63 time=3.538 ms 64 bytes from 205.133.200.195: seq=1 ttl=63 time=1.177 ms 64 bytes from 205.133.200.195: seq=2 ttl=63 time=0.874 ms --- 205.133.200.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.874/1.863/3.538 ms 2025-11-06 06:33:37,963 - INFO - Ping to IP 205.133.200.195 from VM ctest-TestBasicPolicy-87424454-98762359 passed 2025-11-06 06:33:38,136 - DEBUG - Policy Update Response {"network-policy": {"uuid": "49ad50fe-2a61-42cb-87fe-7ac57a13bd78", "href": "http://10.0.0.22:8082/network-policy/49ad50fe-2a61-42cb-87fe-7ac57a13bd78"}} 2025-11-06 06:33:38,136 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 06:33:38,136 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 205.133.200.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-06 06:33:38,136 - DEBUG - ping -s 56 -c 3 -W 1 205.133.200.195 2025-11-06 06:33:41,338 - DEBUG - PING 205.133.200.195 (205.133.200.195): 56 data bytes --- 205.133.200.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-06 06:33:41,338 - WARNING - Ping to IP 205.133.200.195 from VM ctest-TestBasicPolicy-87424454-98762359 failed 2025-11-06 06:33:41,338 - INFO - Deleting VM ctest-TestBasicPolicy-87424454-94637507 2025-11-06 06:33:41,439 - INFO - Deleting VM ctest-TestBasicPolicy-87424454-98762359 2025-11-06 06:33:41,824 - INFO - Deleted policy ctest-policy-allow-all-84237272 2025-11-06 06:33:41,824 - INFO - Deleting VN ctest-vn-94205426 2025-11-06 06:33:41,864 - DEBUG - VN b1f00b8a-b12e-4e15-a50d-9d1879cb781e still in use: Unable to complete operation on network b1f00b8a-b12e-4e15-a50d-9d1879cb781e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-82550d6b-0c08-41d3-9fb1-3d971a293e65'] 2025-11-06 06:33:41,864 - WARNING - Deleting VN ctest-vn-94205426 failed..Will retry 2025-11-06 06:33:43,962 - DEBUG - Response for deleting network () 2025-11-06 06:33:43,962 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/cfc24e44-64b1-481c-b7f7-ab5d2ba58570 2025-11-06 06:33:43,970 - DEBUG - Response Code: 404 2025-11-06 06:33:43,971 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-06 06:33:43,975 - DEBUG - Requesting: http://10.0.0.22:8082/domain/60626f23-fc59-43e2-9f52-5aeae7917696 2025-11-06 06:33:44,030 - DEBUG - Requesting: http://10.0.0.22:8082/project/02ade58e-d291-40ad-8d1e-f6e802afe501 2025-11-06 06:33:44,097 - INFO - Validated that VN ctest-vn-94205426 is not found in API Server 2025-11-06 06:33:44,108 - DEBUG - VN ctest-vn-94205426 is not present in Agent 10.0.0.22 2025-11-06 06:33:44,108 - INFO - Validated that VN ctest-vn-94205426 is not in any agent 2025-11-06 06:33:44,121 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-94205426 info 2025-11-06 06:33:44,121 - INFO - Deleting VN ctest-vn-62827356 2025-11-06 06:33:44,214 - DEBUG - Response for deleting network () 2025-11-06 06:33:44,214 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6906a036-e7df-4e74-afd1-8b7cbcd71e75 2025-11-06 06:33:44,221 - DEBUG - Response Code: 404 2025-11-06 06:33:44,221 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-06 06:33:44,226 - DEBUG - Requesting: http://10.0.0.22:8082/domain/60626f23-fc59-43e2-9f52-5aeae7917696 2025-11-06 06:33:44,276 - DEBUG - Requesting: http://10.0.0.22:8082/project/02ade58e-d291-40ad-8d1e-f6e802afe501 2025-11-06 06:33:44,345 - INFO - Validated that VN ctest-vn-62827356 is not found in API Server 2025-11-06 06:33:44,354 - DEBUG - VN ctest-vn-62827356 is not present in Agent 10.0.0.22 2025-11-06 06:33:44,354 - INFO - Validated that VN ctest-vn-62827356 is not in any agent 2025-11-06 06:33:44,369 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-62827356 info 2025-11-06 06:33:44,639 - DEBUG - No XMPP flaps were noticed during the test
2025-11-06 06:33:44,639 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-11-06 06:33:44,639 - INFO - -------------------------------------------------------------------------------- 2025-11-06 06:33:45,310 - INFO - Deleted project: ctest-TestBasicPolicy-87424454, ID : 02ade58e-d291-40ad-8d1e-f6e802afe501