2025-11-05 06:39:43,869 - INFO - Domain Default found not creating 2025-11-05 06:39:44,037 - INFO - Project ctest-TestBasicPolicy-37509734 not found, creating it 2025-11-05 06:39:44,521 - INFO - Created Project:ctest-TestBasicPolicy-37509734, ID : 9b84e939-e1d2-4370-be66-cad19e0ac3f5 2025-11-05 06:39:46,182 - INFO - ================================================================================ 2025-11-05 06:39:46,182 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-05 06:39:46,183 - 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-05 06:39:46,458 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.17': '0'}} with 2025-11-05 06:39:46,458 - INFO - Initial checks done. Running the testcase now 2025-11-05 06:39:46,458 - INFO - 2025-11-05 06:39:47,094 - DEBUG - Response for create_network : {'network': {'id': '9c507e2a-d6ff-448e-a75a-c5249b79c510', 'name': 'ctest-vn-88354753', 'tenant_id': '9b84e939e1d24370be66cad19e0ac3f5', 'project_id': '9b84e939e1d24370be66cad19e0ac3f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37509734', 'ctest-vn-88354753'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 06:39:47,257 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f4f42769-c08e-48d3-98bd-8ff7c331d9ed', 'name': '', 'tenant_id': '9b84e939e1d24370be66cad19e0ac3f5', 'network_id': '9c507e2a-d6ff-448e-a75a-c5249b79c510', 'ip_version': 4, 'cidr': '80.237.163.64/26', 'allocation_pools': [{'start': '80.237.163.66', 'end': '80.237.163.126'}], 'gateway_ip': '80.237.163.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.237.163.66', 'tags': [], 'project_id': '9b84e939e1d24370be66cad19e0ac3f5'}} 2025-11-05 06:39:47,276 - INFO - Created VN ctest-vn-88354753 2025-11-05 06:39:47,329 - DEBUG - VN ctest-vn-88354753 UUID is 9c507e2a-d6ff-448e-a75a-c5249b79c510 2025-11-05 06:39:47,631 - DEBUG - Response for create_network : {'network': {'id': '8ce6a95e-8822-4bab-b257-135985c54b99', 'name': 'ctest-vn-83608077', 'tenant_id': '9b84e939e1d24370be66cad19e0ac3f5', 'project_id': '9b84e939e1d24370be66cad19e0ac3f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37509734', 'ctest-vn-83608077'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 06:39:47,807 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bc440c4e-cb0c-44c2-b97b-5d6b3e942875', 'name': '', 'tenant_id': '9b84e939e1d24370be66cad19e0ac3f5', 'network_id': '8ce6a95e-8822-4bab-b257-135985c54b99', 'ip_version': 4, 'cidr': '141.71.241.0/26', 'allocation_pools': [{'start': '141.71.241.2', 'end': '141.71.241.62'}], 'gateway_ip': '141.71.241.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.71.241.2', 'tags': [], 'project_id': '9b84e939e1d24370be66cad19e0ac3f5'}} 2025-11-05 06:39:47,828 - INFO - Created VN ctest-vn-83608077 2025-11-05 06:39:47,881 - DEBUG - VN ctest-vn-83608077 UUID is 8ce6a95e-8822-4bab-b257-135985c54b99 2025-11-05 06:39:48,004 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-37509734:ctest-vn-88354753, 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-37509734:ctest-vn-83608077, 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-05 06:39:48,307 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9c507e2a-d6ff-448e-a75a-c5249b79c510', 'name': 'ctest-vn-88354753', 'tenant_id': '9b84e939e1d24370be66cad19e0ac3f5', 'project_id': '9b84e939e1d24370be66cad19e0ac3f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f4f42769-c08e-48d3-98bd-8ff7c331d9ed'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37509734', 'ctest-vn-88354753'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-37509734', 'ctest-policy-allow-all-47804110']], 'subnet_ipam': [{'subnet_cidr': '80.237.163.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-05 06:39:48,588 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8ce6a95e-8822-4bab-b257-135985c54b99', 'name': 'ctest-vn-83608077', 'tenant_id': '9b84e939e1d24370be66cad19e0ac3f5', 'project_id': '9b84e939e1d24370be66cad19e0ac3f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bc440c4e-cb0c-44c2-b97b-5d6b3e942875'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37509734', 'ctest-vn-83608077'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-37509734', 'ctest-policy-allow-all-47804110']], 'subnet_ipam': [{'subnet_cidr': '141.71.241.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-05 06:39:48,725 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-11-05 06:39:49,068 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-11-05 06:39:49,100 - DEBUG - Requesting: http://10.0.0.130:8082/domain/e38da72f-f1e5-4c94-a4a6-7a222e1ac34c 2025-11-05 06:39:49,112 - DEBUG - Requesting: http://10.0.0.130:8082/project/9b84e939-e1d2-4370-be66-cad19e0ac3f5 2025-11-05 06:39:49,189 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/9c507e2a-d6ff-448e-a75a-c5249b79c510 2025-11-05 06:39:49,200 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/9c507e2a-d6ff-448e-a75a-c5249b79c510 2025-11-05 06:39:49,209 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/27fdbc19-9930-4071-a75e-69246091afee 2025-11-05 06:39:49,222 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/27fdbc19-9930-4071-a75e-69246091afee 2025-11-05 06:39:49,229 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/89f14b75-e518-46aa-9e41-cb934fdc369d 2025-11-05 06:39:49,235 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-05 06:39:49,235 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/9c507e2a-d6ff-448e-a75a-c5249b79c510 2025-11-05 06:39:49,244 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/27fdbc19-9930-4071-a75e-69246091afee 2025-11-05 06:39:49,259 - INFO - Verified VN network id 11 for VN 9c507e2a-d6ff-448e-a75a-c5249b79c510 2025-11-05 06:39:49,259 - INFO - Verifications in API Server for VN ctest-vn-88354753 passed 2025-11-05 06:39:49,259 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/9c507e2a-d6ff-448e-a75a-c5249b79c510 2025-11-05 06:39:49,268 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/27fdbc19-9930-4071-a75e-69246091afee 2025-11-05 06:39:49,275 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/27fdbc19-9930-4071-a75e-69246091afee 2025-11-05 06:39:49,282 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/89f14b75-e518-46aa-9e41-cb934fdc369d 2025-11-05 06:39:49,296 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-37509734:ctest-vn-88354753', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-37509734', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11263641390514390158', 'uuid-lslong': '12059167713255867664'}, 'enable': 'true', 'created': '2025-11-05T06:39:47', 'last-modified': '2025-11-05T06:39:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.016375'} 2025-11-05 06:39:49,303 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-05 06:39:49,303 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-88354753 passed 2025-11-05 06:39:49,303 - DEBUG - ====Verifying policy data for ctest-vn-88354753 in API_Server ====== 2025-11-05 06:39:49,303 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-11-05 06:39:49,309 - DEBUG - Requesting: http://10.0.0.130:8082/domain/e38da72f-f1e5-4c94-a4a6-7a222e1ac34c 2025-11-05 06:39:49,321 - DEBUG - Requesting: http://10.0.0.130:8082/project/9b84e939-e1d2-4370-be66-cad19e0ac3f5 2025-11-05 06:39:49,396 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/9c507e2a-d6ff-448e-a75a-c5249b79c510 2025-11-05 06:39:49,405 - DEBUG - ==>Verifying data for policy with id: 5dbb0971-9045-4305-ba50-22bdab43c81b, fqn: ['default-domain', 'ctest-TestBasicPolicy-37509734', 'ctest-policy-allow-all-47804110'] 2025-11-05 06:39:49,405 - INFO - VN ctest-vn-88354753 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-05 06:39:49,405 - DEBUG - Verifying the vn in opserver 2025-11-05 06:39:49,405 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-37509734:ctest-vn-88354753 virtual network link through opserver 10.0.0.130 2025-11-05 06:39:49,405 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-11-05 06:39:49,743 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-11-05 06:39:49,805 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-37509734:ctest-vn-88354753', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-37509734:ctest-vn-88354753?flat'} 2025-11-05 06:39:49,805 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-37509734:ctest-vn-88354753 is found in opserver 2025-11-05 06:39:49,815 - DEBUG - Do not have enough data to verify VN in agent 2025-11-05 06:39:49,821 - DEBUG - VRF ids for VN ctest-vn-88354753: {} 2025-11-05 06:39:49,821 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-11-05 06:39:49,827 - DEBUG - Requesting: http://10.0.0.130:8082/domain/e38da72f-f1e5-4c94-a4a6-7a222e1ac34c 2025-11-05 06:39:49,839 - DEBUG - Requesting: http://10.0.0.130:8082/project/9b84e939-e1d2-4370-be66-cad19e0ac3f5 2025-11-05 06:39:49,912 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/8ce6a95e-8822-4bab-b257-135985c54b99 2025-11-05 06:39:49,924 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/8ce6a95e-8822-4bab-b257-135985c54b99 2025-11-05 06:39:49,934 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/b47b62a6-4b42-4ac5-92e8-4db0f71a5ec8 2025-11-05 06:39:49,942 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/b47b62a6-4b42-4ac5-92e8-4db0f71a5ec8 2025-11-05 06:39:49,950 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/cd89b511-4583-4106-bb8a-e39a46921c51 2025-11-05 06:39:49,958 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-05 06:39:49,958 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/8ce6a95e-8822-4bab-b257-135985c54b99 2025-11-05 06:39:49,969 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/b47b62a6-4b42-4ac5-92e8-4db0f71a5ec8 2025-11-05 06:39:49,988 - INFO - Verified VN network id 12 for VN 8ce6a95e-8822-4bab-b257-135985c54b99 2025-11-05 06:39:49,988 - INFO - Verifications in API Server for VN ctest-vn-83608077 passed 2025-11-05 06:39:49,988 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/8ce6a95e-8822-4bab-b257-135985c54b99 2025-11-05 06:39:49,998 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/b47b62a6-4b42-4ac5-92e8-4db0f71a5ec8 2025-11-05 06:39:50,006 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/b47b62a6-4b42-4ac5-92e8-4db0f71a5ec8 2025-11-05 06:39:50,014 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/cd89b511-4583-4106-bb8a-e39a46921c51 2025-11-05 06:39:50,028 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-37509734:ctest-vn-83608077', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-37509734', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10152988633429330859', 'uuid-lslong': '12850761336942316441'}, 'enable': 'true', 'created': '2025-11-05T06:39:47', 'last-modified': '2025-11-05T06:39:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.509695'} 2025-11-05 06:39:50,034 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-05 06:39:50,034 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-83608077 passed 2025-11-05 06:39:50,034 - DEBUG - ====Verifying policy data for ctest-vn-83608077 in API_Server ====== 2025-11-05 06:39:50,035 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-11-05 06:39:50,042 - DEBUG - Requesting: http://10.0.0.130:8082/domain/e38da72f-f1e5-4c94-a4a6-7a222e1ac34c 2025-11-05 06:39:50,054 - DEBUG - Requesting: http://10.0.0.130:8082/project/9b84e939-e1d2-4370-be66-cad19e0ac3f5 2025-11-05 06:39:50,128 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/8ce6a95e-8822-4bab-b257-135985c54b99 2025-11-05 06:39:50,137 - DEBUG - ==>Verifying data for policy with id: 5dbb0971-9045-4305-ba50-22bdab43c81b, fqn: ['default-domain', 'ctest-TestBasicPolicy-37509734', 'ctest-policy-allow-all-47804110'] 2025-11-05 06:39:50,137 - INFO - VN ctest-vn-83608077 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-05 06:39:50,137 - DEBUG - Verifying the vn in opserver 2025-11-05 06:39:50,138 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-37509734:ctest-vn-83608077 virtual network link through opserver 10.0.0.130 2025-11-05 06:39:50,138 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-11-05 06:39:50,147 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-37509734:ctest-vn-83608077', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-37509734:ctest-vn-83608077?flat'} 2025-11-05 06:39:50,148 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-37509734:ctest-vn-83608077 is found in opserver 2025-11-05 06:39:50,157 - DEBUG - Do not have enough data to verify VN in agent 2025-11-05 06:39:50,162 - DEBUG - VRF ids for VN ctest-vn-83608077: {} 2025-11-05 06:39:50,229 - DEBUG - Services list from nova: [, , ] 2025-11-05 06:39:51,381 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4627-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4627-1) 2025-11-05 06:39:52,638 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4627-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4627-1) 2025-11-05 06:39:52,639 - INFO - Waiting for VM ctest-TestBasicPolicy-37509734-44826842 to be up.. 2025-11-05 06:39:52,735 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 06:39:57,826 - DEBUG - VM is in ACTIVE state now 2025-11-05 06:39:57,826 - INFO - VM name : ctest-TestBasicPolicy-37509734-44826842 2025-11-05 06:39:57,911 - DEBUG - VM ctest-TestBasicPolicy-37509734-44826842 ID is 5da25e84-7f01-45d5-8030-794494c3bf89 2025-11-05 06:39:57,936 - DEBUG - VM ctest-TestBasicPolicy-37509734-44826842 launched on Node cn-jenkins-deploy-platform-ansible-os-4627-1 2025-11-05 06:39:58,026 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/5da25e84-7f01-45d5-8030-794494c3bf89 2025-11-05 06:39:58,034 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/0425eef9-b78d-4c3e-8f24-943904ecdce0 2025-11-05 06:40:01,298 - 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 1017ms') 2025-11-05 06:40:01,298 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-37509734-44826842 failed! 2025-11-05 06:40:01,354 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-37509734:ctest-vn-88354753 is 80.237.163.65 and allocation pool is NOT set 2025-11-05 06:40:03,421 - 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=12.7 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.12 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 = 3.116/7.884/12.652/4.768 ms') 2025-11-05 06:40:03,421 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-37509734-44826842 passed 2025-11-05 06:40:03,581 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 06:40:03,582 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-37509734-44826842, IP 80.237.163.67, Port 22 2025-11-05 06:40:03,647 - 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-11-05 06:40:03,744 - DEBUG - VM ctest-TestBasicPolicy-37509734-44826842 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-05 06:40:08,745 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 06:40:08,745 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-37509734-44826842, IP 80.237.163.67, Port 22 2025-11-05 06:40:08,915 - DEBUG - VM ctest-TestBasicPolicy-37509734-44826842 is ready for SSH connections 2025-11-05 06:40:08,915 - INFO - Waiting for VM ctest-TestBasicPolicy-37509734-82162884 to be up.. 2025-11-05 06:40:08,999 - DEBUG - VM is in ACTIVE state now 2025-11-05 06:40:09,000 - INFO - VM name : ctest-TestBasicPolicy-37509734-82162884 2025-11-05 06:40:09,091 - DEBUG - VM ctest-TestBasicPolicy-37509734-82162884 ID is a6de3c95-0f99-47d6-b4f8-96766032b4d5 2025-11-05 06:40:09,091 - DEBUG - VM ctest-TestBasicPolicy-37509734-82162884 launched on Node cn-jenkins-deploy-platform-ansible-os-4627-1 2025-11-05 06:40:09,185 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/a6de3c95-0f99-47d6-b4f8-96766032b4d5 2025-11-05 06:40:09,201 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/9326d737-db97-459d-9c35-d89cb73318af 2025-11-05 06:40:10,453 - 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=4.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.498 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.498/2.608/4.719/2.110 ms') 2025-11-05 06:40:10,453 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-37509734-82162884 passed 2025-11-05 06:40:10,618 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 06:40:10,618 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-37509734-82162884, IP 141.71.241.3, Port 22 2025-11-05 06:40:10,783 - DEBUG - VM ctest-TestBasicPolicy-37509734-82162884 is ready for SSH connections 2025-11-05 06:40:10,784 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 06:40:10,784 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 141.71.241.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-11-05 06:40:10,784 - DEBUG - ping -s 56 -c 3 -W 1 141.71.241.3 2025-11-05 06:40:14,957 - DEBUG - PING 141.71.241.3 (141.71.241.3): 56 data bytes 64 bytes from 141.71.241.3: seq=0 ttl=63 time=4.545 ms 64 bytes from 141.71.241.3: seq=1 ttl=63 time=1.005 ms 64 bytes from 141.71.241.3: seq=2 ttl=63 time=1.195 ms --- 141.71.241.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.005/2.248/4.545 ms 2025-11-05 06:40:14,957 - INFO - Ping to IP 141.71.241.3 from VM ctest-TestBasicPolicy-37509734-44826842 passed 2025-11-05 06:40:15,149 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5dbb0971-9045-4305-ba50-22bdab43c81b", "href": "http://10.0.0.130:8082/network-policy/5dbb0971-9045-4305-ba50-22bdab43c81b"}} 2025-11-05 06:40:15,149 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 06:40:15,149 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 141.71.241.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-11-05 06:40:15,150 - DEBUG - ping -s 56 -c 3 -W 1 141.71.241.3 2025-11-05 06:40:18,382 - DEBUG - PING 141.71.241.3 (141.71.241.3): 56 data bytes --- 141.71.241.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-05 06:40:18,382 - WARNING - Ping to IP 141.71.241.3 from VM ctest-TestBasicPolicy-37509734-44826842 failed 2025-11-05 06:40:18,382 - INFO - Deleting VM ctest-TestBasicPolicy-37509734-82162884 2025-11-05 06:40:18,461 - INFO - Deleting VM ctest-TestBasicPolicy-37509734-44826842 2025-11-05 06:40:18,866 - INFO - Deleted policy ctest-policy-allow-all-47804110 2025-11-05 06:40:18,866 - INFO - Deleting VN ctest-vn-83608077 2025-11-05 06:40:18,908 - DEBUG - VN 8ce6a95e-8822-4bab-b257-135985c54b99 still in use: Unable to complete operation on network 8ce6a95e-8822-4bab-b257-135985c54b99. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d823ec0d-a65d-4772-bd56-914b422970c5'] 2025-11-05 06:40:18,908 - WARNING - Deleting VN ctest-vn-83608077 failed..Will retry 2025-11-05 06:40:21,018 - DEBUG - Response for deleting network () 2025-11-05 06:40:21,018 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/b47b62a6-4b42-4ac5-92e8-4db0f71a5ec8 2025-11-05 06:40:21,025 - DEBUG - Response Code: 404 2025-11-05 06:40:21,025 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-11-05 06:40:21,031 - DEBUG - Requesting: http://10.0.0.130:8082/domain/e38da72f-f1e5-4c94-a4a6-7a222e1ac34c 2025-11-05 06:40:21,091 - DEBUG - Requesting: http://10.0.0.130:8082/project/9b84e939-e1d2-4370-be66-cad19e0ac3f5 2025-11-05 06:40:21,163 - INFO - Validated that VN ctest-vn-83608077 is not found in API Server 2025-11-05 06:40:21,176 - DEBUG - VN ctest-vn-83608077 is not present in Agent 10.0.0.130 2025-11-05 06:40:21,176 - INFO - Validated that VN ctest-vn-83608077 is not in any agent 2025-11-05 06:40:21,192 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-83608077 info 2025-11-05 06:40:21,192 - INFO - Deleting VN ctest-vn-88354753 2025-11-05 06:40:21,302 - DEBUG - Response for deleting network () 2025-11-05 06:40:21,302 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/27fdbc19-9930-4071-a75e-69246091afee 2025-11-05 06:40:21,308 - DEBUG - Response Code: 404 2025-11-05 06:40:21,308 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-11-05 06:40:21,315 - DEBUG - Requesting: http://10.0.0.130:8082/domain/e38da72f-f1e5-4c94-a4a6-7a222e1ac34c 2025-11-05 06:40:21,371 - DEBUG - Requesting: http://10.0.0.130:8082/project/9b84e939-e1d2-4370-be66-cad19e0ac3f5 2025-11-05 06:40:21,443 - INFO - Validated that VN ctest-vn-88354753 is not found in API Server 2025-11-05 06:40:21,454 - DEBUG - VN ctest-vn-88354753 is not present in Agent 10.0.0.130 2025-11-05 06:40:21,454 - INFO - Validated that VN ctest-vn-88354753 is not in any agent 2025-11-05 06:40:21,470 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-88354753 info 2025-11-05 06:40:21,730 - DEBUG - No XMPP flaps were noticed during the test 2025-11-05 06:40:21,730 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2025-11-05 06:40:21,730 - INFO - -------------------------------------------------------------------------------- 2025-11-05 06:40:22,469 - INFO - Deleted project: ctest-TestBasicPolicy-37509734, ID : 9b84e939-e1d2-4370-be66-cad19e0ac3f5