2025-12-11 17:40:08,876 - INFO - Domain Default found not creating 2025-12-11 17:40:09,102 - INFO - Project ctest-TestBasicPolicy-09621842 not found, creating it 2025-12-11 17:40:09,625 - INFO - Created Project:ctest-TestBasicPolicy-09621842, ID : c5d88fdc-756d-42e4-b5b1-dd3f53d3f155 2025-12-11 17:40:11,424 - INFO - ================================================================================ 2025-12-11 17:40:11,424 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-11 17:40:11,424 - 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-12-11 17:40:11,699 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.193': '0'}} with 2025-12-11 17:40:11,699 - INFO - Initial checks done. Running the testcase now 2025-12-11 17:40:11,700 - INFO - 2025-12-11 17:40:12,349 - DEBUG - Response for create_network : {'network': {'id': '061cf21f-eb38-41da-b496-4c0c71b56358', 'name': 'ctest-vn-31920932', 'tenant_id': 'c5d88fdc756d42e4b5b1dd3f53d3f155', 'project_id': 'c5d88fdc756d42e4b5b1dd3f53d3f155', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09621842', 'ctest-vn-31920932'], 'port_security_enabled': True, 'description': ''}} 2025-12-11 17:40:12,547 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fef8ab43-c670-4da4-8074-2c3e0c886541', 'name': '', 'tenant_id': 'c5d88fdc756d42e4b5b1dd3f53d3f155', 'network_id': '061cf21f-eb38-41da-b496-4c0c71b56358', 'ip_version': 4, 'cidr': '11.37.48.192/26', 'allocation_pools': [{'start': '11.37.48.194', 'end': '11.37.48.254'}], 'gateway_ip': '11.37.48.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.37.48.194', 'tags': [], 'project_id': 'c5d88fdc756d42e4b5b1dd3f53d3f155'}} 2025-12-11 17:40:12,571 - INFO - Created VN ctest-vn-31920932 2025-12-11 17:40:12,629 - DEBUG - VN ctest-vn-31920932 UUID is 061cf21f-eb38-41da-b496-4c0c71b56358 2025-12-11 17:40:12,989 - DEBUG - Response for create_network : {'network': {'id': '4a86a272-e196-415b-adc2-ed07f13eb39d', 'name': 'ctest-vn-94311712', 'tenant_id': 'c5d88fdc756d42e4b5b1dd3f53d3f155', 'project_id': 'c5d88fdc756d42e4b5b1dd3f53d3f155', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09621842', 'ctest-vn-94311712'], 'port_security_enabled': True, 'description': ''}} 2025-12-11 17:40:13,164 - DEBUG - Response for create_subnet : {'subnet': {'id': '14224500-2d66-4289-8927-0245e7e3f2f2', 'name': '', 'tenant_id': 'c5d88fdc756d42e4b5b1dd3f53d3f155', 'network_id': '4a86a272-e196-415b-adc2-ed07f13eb39d', 'ip_version': 4, 'cidr': '172.101.182.192/26', 'allocation_pools': [{'start': '172.101.182.194', 'end': '172.101.182.254'}], 'gateway_ip': '172.101.182.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '172.101.182.194', 'tags': [], 'project_id': 'c5d88fdc756d42e4b5b1dd3f53d3f155'}} 2025-12-11 17:40:13,186 - INFO - Created VN ctest-vn-94311712 2025-12-11 17:40:13,241 - DEBUG - VN ctest-vn-94311712 UUID is 4a86a272-e196-415b-adc2-ed07f13eb39d 2025-12-11 17:40:13,374 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-09621842:ctest-vn-31920932, 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-09621842:ctest-vn-94311712, 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-12-11 17:40:13,696 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '061cf21f-eb38-41da-b496-4c0c71b56358', 'name': 'ctest-vn-31920932', 'tenant_id': 'c5d88fdc756d42e4b5b1dd3f53d3f155', 'project_id': 'c5d88fdc756d42e4b5b1dd3f53d3f155', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fef8ab43-c670-4da4-8074-2c3e0c886541'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09621842', 'ctest-vn-31920932'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09621842', 'ctest-policy-allow-all-34140047']], 'subnet_ipam': [{'subnet_cidr': '11.37.48.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-11 17:40:13,948 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4a86a272-e196-415b-adc2-ed07f13eb39d', 'name': 'ctest-vn-94311712', 'tenant_id': 'c5d88fdc756d42e4b5b1dd3f53d3f155', 'project_id': 'c5d88fdc756d42e4b5b1dd3f53d3f155', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['14224500-2d66-4289-8927-0245e7e3f2f2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09621842', 'ctest-vn-94311712'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09621842', 'ctest-policy-allow-all-34140047']], 'subnet_ipam': [{'subnet_cidr': '172.101.182.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-11 17:40:14,118 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-11 17:40:14,435 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-11 17:40:14,467 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c5bebfe9-6116-4cd9-968e-9aeff1d4aaed 2025-12-11 17:40:14,479 - DEBUG - Requesting: http://10.0.0.38:8082/project/c5d88fdc-756d-42e4-b5b1-dd3f53d3f155 2025-12-11 17:40:14,557 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/061cf21f-eb38-41da-b496-4c0c71b56358 2025-12-11 17:40:14,568 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/061cf21f-eb38-41da-b496-4c0c71b56358 2025-12-11 17:40:14,577 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/202b2d1f-ad85-4186-98cf-1bc14fd955cc 2025-12-11 17:40:14,585 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/202b2d1f-ad85-4186-98cf-1bc14fd955cc 2025-12-11 17:40:14,592 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/550dbffc-105a-45fd-8eac-1a26517b84cd 2025-12-11 17:40:14,599 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-11 17:40:14,599 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/061cf21f-eb38-41da-b496-4c0c71b56358 2025-12-11 17:40:14,609 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/202b2d1f-ad85-4186-98cf-1bc14fd955cc 2025-12-11 17:40:14,625 - INFO - Verified VN network id 11 for VN 061cf21f-eb38-41da-b496-4c0c71b56358 2025-12-11 17:40:14,626 - INFO - Verifications in API Server for VN ctest-vn-31920932 passed 2025-12-11 17:40:14,626 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/061cf21f-eb38-41da-b496-4c0c71b56358 2025-12-11 17:40:14,639 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/202b2d1f-ad85-4186-98cf-1bc14fd955cc 2025-12-11 17:40:14,647 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/202b2d1f-ad85-4186-98cf-1bc14fd955cc 2025-12-11 17:40:14,657 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/550dbffc-105a-45fd-8eac-1a26517b84cd 2025-12-11 17:40:14,672 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09621842:ctest-vn-31920932', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09621842', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '440493082479706586', 'uuid-lslong': '13012671789664658264'}, 'enable': 'true', 'created': '2025-12-11T17:40:12', 'last-modified': '2025-12-11T17:40:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.002958'} 2025-12-11 17:40:14,680 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-11 17:40:14,680 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31920932 passed 2025-12-11 17:40:14,680 - DEBUG - ====Verifying policy data for ctest-vn-31920932 in API_Server ====== 2025-12-11 17:40:14,680 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-11 17:40:14,686 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c5bebfe9-6116-4cd9-968e-9aeff1d4aaed 2025-12-11 17:40:14,698 - DEBUG - Requesting: http://10.0.0.38:8082/project/c5d88fdc-756d-42e4-b5b1-dd3f53d3f155 2025-12-11 17:40:14,779 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/061cf21f-eb38-41da-b496-4c0c71b56358 2025-12-11 17:40:14,792 - DEBUG - ==>Verifying data for policy with id: 387a050d-7be5-40e4-88cd-7c7fbdd27db0, fqn: ['default-domain', 'ctest-TestBasicPolicy-09621842', 'ctest-policy-allow-all-34140047'] 2025-12-11 17:40:14,792 - INFO - VN ctest-vn-31920932 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-11 17:40:14,792 - DEBUG - Verifying the vn in opserver 2025-12-11 17:40:14,793 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09621842:ctest-vn-31920932 virtual network link through opserver 10.0.0.38 2025-12-11 17:40:14,793 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-11 17:40:15,099 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-11 17:40:15,182 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09621842:ctest-vn-31920932', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09621842:ctest-vn-31920932?flat'} 2025-12-11 17:40:15,182 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09621842:ctest-vn-31920932 is found in opserver 2025-12-11 17:40:15,196 - DEBUG - Do not have enough data to verify VN in agent 2025-12-11 17:40:15,202 - DEBUG - VRF ids for VN ctest-vn-31920932: {} 2025-12-11 17:40:15,202 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-11 17:40:15,212 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c5bebfe9-6116-4cd9-968e-9aeff1d4aaed 2025-12-11 17:40:15,232 - DEBUG - Requesting: http://10.0.0.38:8082/project/c5d88fdc-756d-42e4-b5b1-dd3f53d3f155 2025-12-11 17:40:15,306 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4a86a272-e196-415b-adc2-ed07f13eb39d 2025-12-11 17:40:15,319 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4a86a272-e196-415b-adc2-ed07f13eb39d 2025-12-11 17:40:15,330 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0132a9bc-a83e-49f5-9b58-ab6cf7de1456 2025-12-11 17:40:15,340 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0132a9bc-a83e-49f5-9b58-ab6cf7de1456 2025-12-11 17:40:15,349 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/fd4f2fd7-3d8e-4d44-9fd6-ca5cc83c4ac2 2025-12-11 17:40:15,358 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-11 17:40:15,358 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4a86a272-e196-415b-adc2-ed07f13eb39d 2025-12-11 17:40:15,369 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0132a9bc-a83e-49f5-9b58-ab6cf7de1456 2025-12-11 17:40:15,383 - INFO - Verified VN network id 12 for VN 4a86a272-e196-415b-adc2-ed07f13eb39d 2025-12-11 17:40:15,383 - INFO - Verifications in API Server for VN ctest-vn-94311712 passed 2025-12-11 17:40:15,383 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4a86a272-e196-415b-adc2-ed07f13eb39d 2025-12-11 17:40:15,394 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0132a9bc-a83e-49f5-9b58-ab6cf7de1456 2025-12-11 17:40:15,404 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0132a9bc-a83e-49f5-9b58-ab6cf7de1456 2025-12-11 17:40:15,416 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/fd4f2fd7-3d8e-4d44-9fd6-ca5cc83c4ac2 2025-12-11 17:40:15,429 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09621842:ctest-vn-94311712', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09621842', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5370158219980587355', 'uuid-lslong': '12520830532411372445'}, 'enable': 'true', 'created': '2025-12-11T17:40:12', 'last-modified': '2025-12-11T17:40:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.507482'} 2025-12-11 17:40:15,437 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-11 17:40:15,437 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-94311712 passed 2025-12-11 17:40:15,437 - DEBUG - ====Verifying policy data for ctest-vn-94311712 in API_Server ====== 2025-12-11 17:40:15,437 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-11 17:40:15,444 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c5bebfe9-6116-4cd9-968e-9aeff1d4aaed 2025-12-11 17:40:15,459 - DEBUG - Requesting: http://10.0.0.38:8082/project/c5d88fdc-756d-42e4-b5b1-dd3f53d3f155 2025-12-11 17:40:15,540 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4a86a272-e196-415b-adc2-ed07f13eb39d 2025-12-11 17:40:15,552 - DEBUG - ==>Verifying data for policy with id: 387a050d-7be5-40e4-88cd-7c7fbdd27db0, fqn: ['default-domain', 'ctest-TestBasicPolicy-09621842', 'ctest-policy-allow-all-34140047'] 2025-12-11 17:40:15,552 - INFO - VN ctest-vn-94311712 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-11 17:40:15,552 - DEBUG - Verifying the vn in opserver 2025-12-11 17:40:15,552 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09621842:ctest-vn-94311712 virtual network link through opserver 10.0.0.38 2025-12-11 17:40:15,553 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-11 17:40:15,565 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09621842:ctest-vn-94311712', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09621842:ctest-vn-94311712?flat'} 2025-12-11 17:40:15,565 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09621842:ctest-vn-94311712 is found in opserver 2025-12-11 17:40:15,577 - DEBUG - Do not have enough data to verify VN in agent 2025-12-11 17:40:15,582 - DEBUG - VRF ids for VN ctest-vn-94311712: {} 2025-12-11 17:40:15,664 - DEBUG - Services list from nova: [, , ] 2025-12-11 17:40:16,820 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4888-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4888-1) 2025-12-11 17:40:18,158 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4888-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4888-1) 2025-12-11 17:40:18,158 - INFO - Waiting for VM ctest-TestBasicPolicy-09621842-27840497 to be up.. 2025-12-11 17:40:18,279 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-11 17:40:23,371 - DEBUG - VM is in ACTIVE state now 2025-12-11 17:40:23,371 - INFO - VM name : ctest-TestBasicPolicy-09621842-27840497 2025-12-11 17:40:23,463 - DEBUG - VM ctest-TestBasicPolicy-09621842-27840497 ID is 6ad49b0c-5896-4225-bc19-1d9f1106a103 2025-12-11 17:40:23,488 - DEBUG - VM ctest-TestBasicPolicy-09621842-27840497 launched on Node cn-jenkins-deploy-platform-ansible-os-4888-1 2025-12-11 17:40:23,580 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6ad49b0c-5896-4225-bc19-1d9f1106a103 2025-12-11 17:40:23,590 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/341b89b2-e65d-46d4-b409-e039b7ff9d8d 2025-12-11 17:40:26,847 - 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 1014ms') 2025-12-11 17:40:26,848 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-09621842-27840497 failed! 2025-12-11 17:40:26,905 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-09621842:ctest-vn-31920932 is 11.37.48.193 and allocation pool is NOT set 2025-12-11 17:40:28,977 - 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=9.99 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.26 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 = 2.261/6.123/9.985/3.862 ms') 2025-12-11 17:40:28,977 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-09621842-27840497 passed 2025-12-11 17:40:29,137 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 17:40:29,137 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-09621842-27840497, IP 11.37.48.195, Port 22 2025-12-11 17:40:29,203 - 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-12-11 17:40:29,300 - DEBUG - VM ctest-TestBasicPolicy-09621842-27840497 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-11 17:40:34,301 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 17:40:34,301 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-09621842-27840497, IP 11.37.48.195, Port 22 2025-12-11 17:40:34,471 - DEBUG - VM ctest-TestBasicPolicy-09621842-27840497 is ready for SSH connections 2025-12-11 17:40:34,471 - INFO - Waiting for VM ctest-TestBasicPolicy-09621842-01708041 to be up.. 2025-12-11 17:40:34,569 - DEBUG - VM is in ACTIVE state now 2025-12-11 17:40:34,569 - INFO - VM name : ctest-TestBasicPolicy-09621842-01708041 2025-12-11 17:40:34,659 - DEBUG - VM ctest-TestBasicPolicy-09621842-01708041 ID is 816dad56-3261-4ba5-bf94-bf25ae322ba3 2025-12-11 17:40:34,659 - DEBUG - VM ctest-TestBasicPolicy-09621842-01708041 launched on Node cn-jenkins-deploy-platform-ansible-os-4888-1 2025-12-11 17:40:34,743 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/816dad56-3261-4ba5-bf94-bf25ae322ba3 2025-12-11 17:40:34,754 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/25055438-f24f-46ec-8aee-9b7bed8785d2 2025-12-11 17:40:36,004 - 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.54 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.591 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.591/2.067/3.543/1.476 ms') 2025-12-11 17:40:36,004 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-09621842-01708041 passed 2025-12-11 17:40:36,161 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 17:40:36,162 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-09621842-01708041, IP 172.101.182.195, Port 22 2025-12-11 17:40:36,340 - DEBUG - VM ctest-TestBasicPolicy-09621842-01708041 is ready for SSH connections 2025-12-11 17:40:36,340 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 17:40:36,340 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 172.101.182.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-11 17:40:36,341 - DEBUG - ping -s 56 -c 3 -W 1 172.101.182.195 2025-12-11 17:40:40,083 - DEBUG - PING 172.101.182.195 (172.101.182.195): 56 data bytes 64 bytes from 172.101.182.195: seq=0 ttl=63 time=4.394 ms 64 bytes from 172.101.182.195: seq=1 ttl=63 time=1.233 ms 64 bytes from 172.101.182.195: seq=2 ttl=63 time=1.487 ms --- 172.101.182.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.233/2.371/4.394 ms 2025-12-11 17:40:40,083 - INFO - Ping to IP 172.101.182.195 from VM ctest-TestBasicPolicy-09621842-27840497 passed 2025-12-11 17:40:40,269 - DEBUG - Policy Update Response {"network-policy": {"uuid": "387a050d-7be5-40e4-88cd-7c7fbdd27db0", "href": "http://10.0.0.38:8082/network-policy/387a050d-7be5-40e4-88cd-7c7fbdd27db0"}} 2025-12-11 17:40:40,269 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 17:40:40,269 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 172.101.182.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-11 17:40:40,269 - DEBUG - ping -s 56 -c 3 -W 1 172.101.182.195 2025-12-11 17:40:43,515 - DEBUG - PING 172.101.182.195 (172.101.182.195): 56 data bytes --- 172.101.182.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-11 17:40:43,515 - WARNING - Ping to IP 172.101.182.195 from VM ctest-TestBasicPolicy-09621842-27840497 failed 2025-12-11 17:40:43,515 - INFO - Deleting VM ctest-TestBasicPolicy-09621842-01708041 2025-12-11 17:40:43,601 - INFO - Deleting VM ctest-TestBasicPolicy-09621842-27840497 2025-12-11 17:40:44,283 - INFO - Deleted policy ctest-policy-allow-all-34140047 2025-12-11 17:40:44,284 - INFO - Deleting VN ctest-vn-94311712 2025-12-11 17:40:44,333 - DEBUG - VN 4a86a272-e196-415b-adc2-ed07f13eb39d still in use: Unable to complete operation on network 4a86a272-e196-415b-adc2-ed07f13eb39d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d68c4469-01ca-4bec-9ca9-ad69b500257c'] 2025-12-11 17:40:44,333 - WARNING - Deleting VN ctest-vn-94311712 failed..Will retry 2025-12-11 17:40:46,471 - DEBUG - Response for deleting network () 2025-12-11 17:40:46,472 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0132a9bc-a83e-49f5-9b58-ab6cf7de1456 2025-12-11 17:40:46,483 - DEBUG - Response Code: 404 2025-12-11 17:40:46,483 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-11 17:40:46,490 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c5bebfe9-6116-4cd9-968e-9aeff1d4aaed 2025-12-11 17:40:46,547 - DEBUG - Requesting: http://10.0.0.38:8082/project/c5d88fdc-756d-42e4-b5b1-dd3f53d3f155 2025-12-11 17:40:46,625 - INFO - Validated that VN ctest-vn-94311712 is not found in API Server 2025-12-11 17:40:46,642 - DEBUG - VN ctest-vn-94311712 is not present in Agent 10.0.0.38 2025-12-11 17:40:46,642 - INFO - Validated that VN ctest-vn-94311712 is not in any agent 2025-12-11 17:40:46,661 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-94311712 info 2025-12-11 17:40:46,661 - INFO - Deleting VN ctest-vn-31920932 2025-12-11 17:40:46,802 - DEBUG - Response for deleting network () 2025-12-11 17:40:46,802 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/202b2d1f-ad85-4186-98cf-1bc14fd955cc 2025-12-11 17:40:46,808 - DEBUG - Response Code: 404 2025-12-11 17:40:46,808 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-11 17:40:46,816 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c5bebfe9-6116-4cd9-968e-9aeff1d4aaed 2025-12-11 17:40:46,871 - DEBUG - Requesting: http://10.0.0.38:8082/project/c5d88fdc-756d-42e4-b5b1-dd3f53d3f155 2025-12-11 17:40:46,951 - INFO - Validated that VN ctest-vn-31920932 is not found in API Server 2025-12-11 17:40:46,963 - DEBUG - VN ctest-vn-31920932 is not present in Agent 10.0.0.38 2025-12-11 17:40:46,963 - INFO - Validated that VN ctest-vn-31920932 is not in any agent 2025-12-11 17:40:46,983 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-31920932 info 2025-12-11 17:40:47,256 - DEBUG - No XMPP flaps were noticed during the test 2025-12-11 17:40:47,256 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36] 2025-12-11 17:40:47,256 - INFO - -------------------------------------------------------------------------------- 2025-12-11 17:40:48,008 - INFO - Deleted project: ctest-TestBasicPolicy-09621842, ID : c5d88fdc-756d-42e4-b5b1-dd3f53d3f155