2025-10-08 20:10:57,389 - INFO - Domain Default found not creating 2025-10-08 20:10:57,533 - INFO - Project ctest-TestBasicPolicy-92425476 not found, creating it 2025-10-08 20:10:57,974 - INFO - Created Project:ctest-TestBasicPolicy-92425476, ID : 3548a222-73c9-4043-aa7e-7af3a92ca202 2025-10-08 20:10:59,517 - INFO - ================================================================================ 2025-10-08 20:10:59,517 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-08 20:10:59,517 - 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-08 20:10:59,770 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-10-08 20:10:59,770 - INFO - Initial checks done. Running the testcase now 2025-10-08 20:10:59,771 - INFO - 2025-10-08 20:11:00,334 - DEBUG - Response for create_network : {'network': {'id': '07292482-ac1b-4d06-a8bc-0fbf00392e93', 'name': 'ctest-vn-74408006', 'tenant_id': '3548a22273c94043aa7e7af3a92ca202', 'project_id': '3548a22273c94043aa7e7af3a92ca202', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92425476', 'ctest-vn-74408006'], 'port_security_enabled': True, 'description': ''}} 2025-10-08 20:11:00,535 - DEBUG - Response for create_subnet : {'subnet': {'id': '20c9b72b-d19b-411a-9abc-9fcfb33274b8', 'name': '', 'tenant_id': '3548a22273c94043aa7e7af3a92ca202', 'network_id': '07292482-ac1b-4d06-a8bc-0fbf00392e93', 'ip_version': 4, 'cidr': '164.108.40.192/26', 'allocation_pools': [{'start': '164.108.40.194', 'end': '164.108.40.254'}], 'gateway_ip': '164.108.40.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.108.40.194', 'tags': [], 'project_id': '3548a22273c94043aa7e7af3a92ca202'}} 2025-10-08 20:11:00,552 - INFO - Created VN ctest-vn-74408006 2025-10-08 20:11:00,605 - DEBUG - VN ctest-vn-74408006 UUID is 07292482-ac1b-4d06-a8bc-0fbf00392e93 2025-10-08 20:11:00,920 - DEBUG - Response for create_network : {'network': {'id': '08d39651-1585-49b6-90d7-cffa58e8ce82', 'name': 'ctest-vn-43952275', 'tenant_id': '3548a22273c94043aa7e7af3a92ca202', 'project_id': '3548a22273c94043aa7e7af3a92ca202', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92425476', 'ctest-vn-43952275'], 'port_security_enabled': True, 'description': ''}} 2025-10-08 20:11:01,114 - DEBUG - Response for create_subnet : {'subnet': {'id': '9794b877-15ab-4880-b20d-6b4675123666', 'name': '', 'tenant_id': '3548a22273c94043aa7e7af3a92ca202', 'network_id': '08d39651-1585-49b6-90d7-cffa58e8ce82', 'ip_version': 4, 'cidr': '75.60.62.192/26', 'allocation_pools': [{'start': '75.60.62.194', 'end': '75.60.62.254'}], 'gateway_ip': '75.60.62.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.60.62.194', 'tags': [], 'project_id': '3548a22273c94043aa7e7af3a92ca202'}} 2025-10-08 20:11:01,133 - INFO - Created VN ctest-vn-43952275 2025-10-08 20:11:01,185 - DEBUG - VN ctest-vn-43952275 UUID is 08d39651-1585-49b6-90d7-cffa58e8ce82 2025-10-08 20:11:01,303 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-92425476:ctest-vn-74408006, 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-92425476:ctest-vn-43952275, 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-08 20:11:01,594 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '07292482-ac1b-4d06-a8bc-0fbf00392e93', 'name': 'ctest-vn-74408006', 'tenant_id': '3548a22273c94043aa7e7af3a92ca202', 'project_id': '3548a22273c94043aa7e7af3a92ca202', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['20c9b72b-d19b-411a-9abc-9fcfb33274b8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92425476', 'ctest-vn-74408006'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-92425476', 'ctest-policy-allow-all-91089650']], 'subnet_ipam': [{'subnet_cidr': '164.108.40.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-08 20:11:01,815 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '08d39651-1585-49b6-90d7-cffa58e8ce82', 'name': 'ctest-vn-43952275', 'tenant_id': '3548a22273c94043aa7e7af3a92ca202', 'project_id': '3548a22273c94043aa7e7af3a92ca202', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9794b877-15ab-4880-b20d-6b4675123666'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92425476', 'ctest-vn-43952275'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-92425476', 'ctest-policy-allow-all-91089650']], 'subnet_ipam': [{'subnet_cidr': '75.60.62.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-08 20:11:01,965 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-08 20:11:02,306 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-08 20:11:02,384 - DEBUG - Requesting: http://10.0.0.33:8082/domain/20407c53-86fd-41b5-b27a-64afa268f713 2025-10-08 20:11:02,395 - DEBUG - Requesting: http://10.0.0.33:8082/project/3548a222-73c9-4043-aa7e-7af3a92ca202 2025-10-08 20:11:02,473 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/07292482-ac1b-4d06-a8bc-0fbf00392e93 2025-10-08 20:11:02,483 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/07292482-ac1b-4d06-a8bc-0fbf00392e93 2025-10-08 20:11:02,492 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/305c6c17-3c22-4c6a-8db6-cd82d9d324a2 2025-10-08 20:11:02,498 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/305c6c17-3c22-4c6a-8db6-cd82d9d324a2 2025-10-08 20:11:02,505 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/a9461b8c-88ec-4a04-b11d-6140d3ad3452 2025-10-08 20:11:02,510 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-08 20:11:02,510 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/07292482-ac1b-4d06-a8bc-0fbf00392e93 2025-10-08 20:11:02,518 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/305c6c17-3c22-4c6a-8db6-cd82d9d324a2 2025-10-08 20:11:02,530 - INFO - Verified VN network id 11 for VN 07292482-ac1b-4d06-a8bc-0fbf00392e93 2025-10-08 20:11:02,530 - INFO - Verifications in API Server for VN ctest-vn-74408006 passed 2025-10-08 20:11:02,530 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/07292482-ac1b-4d06-a8bc-0fbf00392e93 2025-10-08 20:11:02,539 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/305c6c17-3c22-4c6a-8db6-cd82d9d324a2 2025-10-08 20:11:02,545 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/305c6c17-3c22-4c6a-8db6-cd82d9d324a2 2025-10-08 20:11:02,551 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/a9461b8c-88ec-4a04-b11d-6140d3ad3452 2025-10-08 20:11:02,562 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92425476:ctest-vn-74408006', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92425476', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '515983775962451206', 'uuid-lslong': '12158610407010414227'}, 'enable': 'true', 'created': '2025-10-08T20:11:00', 'last-modified': '2025-10-08T20:11:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.990365'} 2025-10-08 20:11:02,567 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-08 20:11:02,568 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-74408006 passed 2025-10-08 20:11:02,568 - DEBUG - ====Verifying policy data for ctest-vn-74408006 in API_Server ====== 2025-10-08 20:11:02,568 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-08 20:11:02,573 - DEBUG - Requesting: http://10.0.0.33:8082/domain/20407c53-86fd-41b5-b27a-64afa268f713 2025-10-08 20:11:02,583 - DEBUG - Requesting: http://10.0.0.33:8082/project/3548a222-73c9-4043-aa7e-7af3a92ca202 2025-10-08 20:11:02,655 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/07292482-ac1b-4d06-a8bc-0fbf00392e93 2025-10-08 20:11:02,665 - DEBUG - ==>Verifying data for policy with id: dcaa2624-06e9-45a1-9b19-0b439a92414b, fqn: ['default-domain', 'ctest-TestBasicPolicy-92425476', 'ctest-policy-allow-all-91089650'] 2025-10-08 20:11:02,665 - INFO - VN ctest-vn-74408006 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-08 20:11:02,665 - DEBUG - Verifying the vn in opserver 2025-10-08 20:11:02,665 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92425476:ctest-vn-74408006 virtual network link through opserver 10.0.0.33 2025-10-08 20:11:02,665 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-10-08 20:11:02,995 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-10-08 20:11:03,048 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92425476:ctest-vn-74408006', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92425476:ctest-vn-74408006?flat'} 2025-10-08 20:11:03,048 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-92425476:ctest-vn-74408006 is found in opserver 2025-10-08 20:11:03,057 - DEBUG - Do not have enough data to verify VN in agent 2025-10-08 20:11:03,061 - DEBUG - VRF ids for VN ctest-vn-74408006: {} 2025-10-08 20:11:03,061 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-08 20:11:03,066 - DEBUG - Requesting: http://10.0.0.33:8082/domain/20407c53-86fd-41b5-b27a-64afa268f713 2025-10-08 20:11:03,077 - DEBUG - Requesting: http://10.0.0.33:8082/project/3548a222-73c9-4043-aa7e-7af3a92ca202 2025-10-08 20:11:03,146 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/08d39651-1585-49b6-90d7-cffa58e8ce82 2025-10-08 20:11:03,157 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/08d39651-1585-49b6-90d7-cffa58e8ce82 2025-10-08 20:11:03,165 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4dbf50c9-9250-437d-8340-efd3735ba32d 2025-10-08 20:11:03,171 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4dbf50c9-9250-437d-8340-efd3735ba32d 2025-10-08 20:11:03,177 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/a84dd6b5-e0cc-491a-a174-03e28c4ad0ba 2025-10-08 20:11:03,183 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-08 20:11:03,183 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/08d39651-1585-49b6-90d7-cffa58e8ce82 2025-10-08 20:11:03,191 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4dbf50c9-9250-437d-8340-efd3735ba32d 2025-10-08 20:11:03,203 - INFO - Verified VN network id 12 for VN 08d39651-1585-49b6-90d7-cffa58e8ce82 2025-10-08 20:11:03,204 - INFO - Verifications in API Server for VN ctest-vn-43952275 passed 2025-10-08 20:11:03,204 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/08d39651-1585-49b6-90d7-cffa58e8ce82 2025-10-08 20:11:03,212 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4dbf50c9-9250-437d-8340-efd3735ba32d 2025-10-08 20:11:03,218 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4dbf50c9-9250-437d-8340-efd3735ba32d 2025-10-08 20:11:03,224 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/a84dd6b5-e0cc-491a-a174-03e28c4ad0ba 2025-10-08 20:11:03,234 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92425476:ctest-vn-43952275', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92425476', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '636017247386945974', 'uuid-lslong': '10437039335594839682'}, 'enable': 'true', 'created': '2025-10-08T20:11:00', 'last-modified': '2025-10-08T20:11:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.439593'} 2025-10-08 20:11:03,239 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-08 20:11:03,239 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-43952275 passed 2025-10-08 20:11:03,240 - DEBUG - ====Verifying policy data for ctest-vn-43952275 in API_Server ====== 2025-10-08 20:11:03,240 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-08 20:11:03,244 - DEBUG - Requesting: http://10.0.0.33:8082/domain/20407c53-86fd-41b5-b27a-64afa268f713 2025-10-08 20:11:03,253 - DEBUG - Requesting: http://10.0.0.33:8082/project/3548a222-73c9-4043-aa7e-7af3a92ca202 2025-10-08 20:11:03,325 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/08d39651-1585-49b6-90d7-cffa58e8ce82 2025-10-08 20:11:03,333 - DEBUG - ==>Verifying data for policy with id: dcaa2624-06e9-45a1-9b19-0b439a92414b, fqn: ['default-domain', 'ctest-TestBasicPolicy-92425476', 'ctest-policy-allow-all-91089650'] 2025-10-08 20:11:03,333 - INFO - VN ctest-vn-43952275 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-08 20:11:03,333 - DEBUG - Verifying the vn in opserver 2025-10-08 20:11:03,334 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92425476:ctest-vn-43952275 virtual network link through opserver 10.0.0.33 2025-10-08 20:11:03,334 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-10-08 20:11:03,342 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92425476:ctest-vn-43952275', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92425476:ctest-vn-43952275?flat'} 2025-10-08 20:11:03,342 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-92425476:ctest-vn-43952275 is found in opserver 2025-10-08 20:11:03,350 - DEBUG - Do not have enough data to verify VN in agent 2025-10-08 20:11:03,354 - DEBUG - VRF ids for VN ctest-vn-43952275: {} 2025-10-08 20:11:03,433 - DEBUG - Services list from nova: [, , ] 2025-10-08 20:11:04,515 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4243-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4243-1) 2025-10-08 20:11:05,686 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4243-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4243-1) 2025-10-08 20:11:05,686 - INFO - Waiting for VM ctest-TestBasicPolicy-92425476-27980137 to be up.. 2025-10-08 20:11:05,759 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-08 20:11:10,843 - DEBUG - VM is in ACTIVE state now 2025-10-08 20:11:10,844 - INFO - VM name : ctest-TestBasicPolicy-92425476-27980137 2025-10-08 20:11:10,931 - DEBUG - VM ctest-TestBasicPolicy-92425476-27980137 ID is d4dd66c3-ae29-4d04-9feb-2825523e81f3 2025-10-08 20:11:10,958 - DEBUG - VM ctest-TestBasicPolicy-92425476-27980137 launched on Node cn-jenkins-deploy-platform-ansible-os-4243-1 2025-10-08 20:11:11,041 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/d4dd66c3-ae29-4d04-9feb-2825523e81f3 2025-10-08 20:11:11,051 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/0439b312-8faa-4287-9abb-3e4d485e0f26 2025-10-08 20:11:14,308 - 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 1018ms') 2025-10-08 20:11:14,309 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92425476-27980137 failed! 2025-10-08 20:11:14,361 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-92425476:ctest-vn-74408006 is 164.108.40.193 and allocation pool is NOT set 2025-10-08 20:11:16,427 - 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=6.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.66 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 = 2.655/4.737/6.820/2.082 ms') 2025-10-08 20:11:16,427 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92425476-27980137 passed 2025-10-08 20:11:16,577 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 20:11:16,577 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92425476-27980137, IP 164.108.40.195, Port 22 2025-10-08 20:11:16,633 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-08 20:11:16,708 - DEBUG - VM ctest-TestBasicPolicy-92425476-27980137 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-08 20:11:21,710 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 20:11:21,710 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92425476-27980137, IP 164.108.40.195, Port 22 2025-10-08 20:11:21,865 - DEBUG - VM ctest-TestBasicPolicy-92425476-27980137 is ready for SSH connections 2025-10-08 20:11:21,865 - INFO - Waiting for VM ctest-TestBasicPolicy-92425476-02397994 to be up.. 2025-10-08 20:11:21,934 - DEBUG - VM is in ACTIVE state now 2025-10-08 20:11:21,934 - INFO - VM name : ctest-TestBasicPolicy-92425476-02397994 2025-10-08 20:11:22,003 - DEBUG - VM ctest-TestBasicPolicy-92425476-02397994 ID is 63fb837f-a61f-43b4-93b1-6c5ac809cf4c 2025-10-08 20:11:22,003 - DEBUG - VM ctest-TestBasicPolicy-92425476-02397994 launched on Node cn-jenkins-deploy-platform-ansible-os-4243-1 2025-10-08 20:11:22,076 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/63fb837f-a61f-43b4-93b1-6c5ac809cf4c 2025-10-08 20:11:22,084 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/a2fd8207-a00d-4041-b2da-a53c4a1e1225 2025-10-08 20:11:23,318 - 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.19 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.401 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.401/1.793/3.186/1.392 ms') 2025-10-08 20:11:23,318 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-92425476-02397994 passed 2025-10-08 20:11:23,465 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 20:11:23,466 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92425476-02397994, IP 75.60.62.195, Port 22 2025-10-08 20:11:23,621 - DEBUG - VM ctest-TestBasicPolicy-92425476-02397994 is ready for SSH connections 2025-10-08 20:11:23,621 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 20:11:23,621 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 75.60.62.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-08 20:11:23,621 - DEBUG - ping -s 56 -c 3 -W 1 75.60.62.195 2025-10-08 20:11:27,675 - DEBUG - PING 75.60.62.195 (75.60.62.195): 56 data bytes 64 bytes from 75.60.62.195: seq=0 ttl=63 time=3.513 ms 64 bytes from 75.60.62.195: seq=1 ttl=63 time=0.924 ms 64 bytes from 75.60.62.195: seq=2 ttl=63 time=0.868 ms --- 75.60.62.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.868/1.768/3.513 ms 2025-10-08 20:11:27,675 - INFO - Ping to IP 75.60.62.195 from VM ctest-TestBasicPolicy-92425476-27980137 passed 2025-10-08 20:11:27,849 - DEBUG - Policy Update Response {"network-policy": {"uuid": "dcaa2624-06e9-45a1-9b19-0b439a92414b", "href": "http://10.0.0.33:8082/network-policy/dcaa2624-06e9-45a1-9b19-0b439a92414b"}} 2025-10-08 20:11:27,849 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 20:11:27,850 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 75.60.62.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-08 20:11:27,850 - DEBUG - ping -s 56 -c 3 -W 1 75.60.62.195 2025-10-08 20:11:31,079 - DEBUG - PING 75.60.62.195 (75.60.62.195): 56 data bytes --- 75.60.62.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-08 20:11:31,079 - WARNING - Ping to IP 75.60.62.195 from VM ctest-TestBasicPolicy-92425476-27980137 failed 2025-10-08 20:11:31,079 - INFO - Deleting VM ctest-TestBasicPolicy-92425476-02397994 2025-10-08 20:11:31,152 - INFO - Deleting VM ctest-TestBasicPolicy-92425476-27980137 2025-10-08 20:11:31,551 - INFO - Deleted policy ctest-policy-allow-all-91089650 2025-10-08 20:11:31,551 - INFO - Deleting VN ctest-vn-43952275 2025-10-08 20:11:31,586 - DEBUG - VN 08d39651-1585-49b6-90d7-cffa58e8ce82 still in use: Unable to complete operation on network 08d39651-1585-49b6-90d7-cffa58e8ce82. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e7edd90a-f129-40b8-89ae-f1c9bf2378e1'] 2025-10-08 20:11:31,586 - WARNING - Deleting VN ctest-vn-43952275 failed..Will retry 2025-10-08 20:11:33,691 - DEBUG - Response for deleting network () 2025-10-08 20:11:33,692 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4dbf50c9-9250-437d-8340-efd3735ba32d 2025-10-08 20:11:33,697 - DEBUG - Response Code: 404 2025-10-08 20:11:33,697 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-08 20:11:33,702 - DEBUG - Requesting: http://10.0.0.33:8082/domain/20407c53-86fd-41b5-b27a-64afa268f713 2025-10-08 20:11:33,755 - DEBUG - Requesting: http://10.0.0.33:8082/project/3548a222-73c9-4043-aa7e-7af3a92ca202 2025-10-08 20:11:33,821 - INFO - Validated that VN ctest-vn-43952275 is not found in API Server 2025-10-08 20:11:33,830 - DEBUG - VN ctest-vn-43952275 is not present in Agent 10.0.0.33 2025-10-08 20:11:33,830 - INFO - Validated that VN ctest-vn-43952275 is not in any agent 2025-10-08 20:11:33,843 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-43952275 info 2025-10-08 20:11:33,843 - INFO - Deleting VN ctest-vn-74408006 2025-10-08 20:11:33,940 - DEBUG - Response for deleting network () 2025-10-08 20:11:33,940 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/305c6c17-3c22-4c6a-8db6-cd82d9d324a2 2025-10-08 20:11:33,946 - DEBUG - Response Code: 404 2025-10-08 20:11:33,946 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-08 20:11:33,951 - DEBUG - Requesting: http://10.0.0.33:8082/domain/20407c53-86fd-41b5-b27a-64afa268f713 2025-10-08 20:11:34,003 - DEBUG - Requesting: http://10.0.0.33:8082/project/3548a222-73c9-4043-aa7e-7af3a92ca202 2025-10-08 20:11:34,073 - INFO - Validated that VN ctest-vn-74408006 is not found in API Server 2025-10-08 20:11:34,083 - DEBUG - VN ctest-vn-74408006 is not present in Agent 10.0.0.33 2025-10-08 20:11:34,083 - INFO - Validated that VN ctest-vn-74408006 is not in any agent 2025-10-08 20:11:34,097 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-74408006 info 2025-10-08 20:11:34,350 - DEBUG - No XMPP flaps were noticed during the test
2025-10-08 20:11:34,350 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2025-10-08 20:11:34,351 - INFO - -------------------------------------------------------------------------------- 2025-10-08 20:11:35,044 - INFO - Deleted project: ctest-TestBasicPolicy-92425476, ID : 3548a222-73c9-4043-aa7e-7af3a92ca202