2026-01-28 21:03:57,491 - INFO - Domain Default found not creating 2026-01-28 21:03:57,680 - INFO - Project ctest-TestBasicPolicy-29965246 not found, creating it 2026-01-28 21:03:58,168 - INFO - Created Project:ctest-TestBasicPolicy-29965246, ID : 46de7b24-358e-4cf3-a4f7-107a8ba9c0e8 2026-01-28 21:03:59,854 - INFO - ================================================================================ 2026-01-28 21:03:59,855 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-28 21:03:59,855 - 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 2026-01-28 21:04:00,112 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2026-01-28 21:04:00,112 - INFO - Initial checks done. Running the testcase now 2026-01-28 21:04:00,112 - INFO - 2026-01-28 21:04:00,764 - DEBUG - Response for create_network : {'network': {'id': '3ee19731-e52a-4bb9-b97e-9ac9bd66d3dd', 'name': 'ctest-vn-56718082', 'tenant_id': '46de7b24358e4cf3a4f7107a8ba9c0e8', 'project_id': '46de7b24358e4cf3a4f7107a8ba9c0e8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29965246', 'ctest-vn-56718082'], 'port_security_enabled': True, 'description': ''}} 2026-01-28 21:04:00,982 - DEBUG - Response for create_subnet : {'subnet': {'id': '2bb30fac-6d00-41b4-a5fe-b047c1b7342c', 'name': '', 'tenant_id': '46de7b24358e4cf3a4f7107a8ba9c0e8', 'network_id': '3ee19731-e52a-4bb9-b97e-9ac9bd66d3dd', 'ip_version': 4, 'cidr': '116.137.118.192/26', 'allocation_pools': [{'start': '116.137.118.194', 'end': '116.137.118.254'}], 'gateway_ip': '116.137.118.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '116.137.118.194', 'tags': [], 'project_id': '46de7b24358e4cf3a4f7107a8ba9c0e8'}} 2026-01-28 21:04:01,002 - INFO - Created VN ctest-vn-56718082 2026-01-28 21:04:01,057 - DEBUG - VN ctest-vn-56718082 UUID is 3ee19731-e52a-4bb9-b97e-9ac9bd66d3dd 2026-01-28 21:04:01,375 - DEBUG - Response for create_network : {'network': {'id': 'af7d763f-f580-45f2-a094-8e36246fe4ff', 'name': 'ctest-vn-75647906', 'tenant_id': '46de7b24358e4cf3a4f7107a8ba9c0e8', 'project_id': '46de7b24358e4cf3a4f7107a8ba9c0e8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29965246', 'ctest-vn-75647906'], 'port_security_enabled': True, 'description': ''}} 2026-01-28 21:04:01,556 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd63fedac-9940-484d-ad00-0b3872b1588f', 'name': '', 'tenant_id': '46de7b24358e4cf3a4f7107a8ba9c0e8', 'network_id': 'af7d763f-f580-45f2-a094-8e36246fe4ff', 'ip_version': 4, 'cidr': '4.65.178.128/26', 'allocation_pools': [{'start': '4.65.178.130', 'end': '4.65.178.190'}], 'gateway_ip': '4.65.178.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '4.65.178.130', 'tags': [], 'project_id': '46de7b24358e4cf3a4f7107a8ba9c0e8'}} 2026-01-28 21:04:01,576 - INFO - Created VN ctest-vn-75647906 2026-01-28 21:04:01,629 - DEBUG - VN ctest-vn-75647906 UUID is af7d763f-f580-45f2-a094-8e36246fe4ff 2026-01-28 21:04:01,747 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-29965246:ctest-vn-56718082, 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-29965246:ctest-vn-75647906, 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] 2026-01-28 21:04:02,058 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3ee19731-e52a-4bb9-b97e-9ac9bd66d3dd', 'name': 'ctest-vn-56718082', 'tenant_id': '46de7b24358e4cf3a4f7107a8ba9c0e8', 'project_id': '46de7b24358e4cf3a4f7107a8ba9c0e8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2bb30fac-6d00-41b4-a5fe-b047c1b7342c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29965246', 'ctest-vn-56718082'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29965246', 'ctest-policy-allow-all-45322952']], 'subnet_ipam': [{'subnet_cidr': '116.137.118.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-28 21:04:02,304 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'af7d763f-f580-45f2-a094-8e36246fe4ff', 'name': 'ctest-vn-75647906', 'tenant_id': '46de7b24358e4cf3a4f7107a8ba9c0e8', 'project_id': '46de7b24358e4cf3a4f7107a8ba9c0e8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d63fedac-9940-484d-ad00-0b3872b1588f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29965246', 'ctest-vn-75647906'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29965246', 'ctest-policy-allow-all-45322952']], 'subnet_ipam': [{'subnet_cidr': '4.65.178.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-28 21:04:02,453 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-28 21:04:02,798 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-28 21:04:02,833 - DEBUG - Requesting: http://10.0.0.22:8082/domain/d536af28-4a2e-4f55-8d01-a8dceff6911e 2026-01-28 21:04:02,847 - DEBUG - Requesting: http://10.0.0.22:8082/project/46de7b24-358e-4cf3-a4f7-107a8ba9c0e8 2026-01-28 21:04:02,925 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/3ee19731-e52a-4bb9-b97e-9ac9bd66d3dd 2026-01-28 21:04:02,936 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/3ee19731-e52a-4bb9-b97e-9ac9bd66d3dd 2026-01-28 21:04:02,946 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/61193143-7193-4cc4-a4af-55fd62c78748 2026-01-28 21:04:02,955 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/61193143-7193-4cc4-a4af-55fd62c78748 2026-01-28 21:04:02,962 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/dcafb1e4-0266-4c69-a169-1b7aec32e0a3 2026-01-28 21:04:02,969 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-28 21:04:02,970 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/3ee19731-e52a-4bb9-b97e-9ac9bd66d3dd 2026-01-28 21:04:02,980 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/61193143-7193-4cc4-a4af-55fd62c78748 2026-01-28 21:04:02,996 - INFO - Verified VN network id 12 for VN 3ee19731-e52a-4bb9-b97e-9ac9bd66d3dd 2026-01-28 21:04:02,996 - INFO - Verifications in API Server for VN ctest-vn-56718082 passed 2026-01-28 21:04:02,996 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/3ee19731-e52a-4bb9-b97e-9ac9bd66d3dd 2026-01-28 21:04:03,006 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/61193143-7193-4cc4-a4af-55fd62c78748 2026-01-28 21:04:03,015 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/61193143-7193-4cc4-a4af-55fd62c78748 2026-01-28 21:04:03,023 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/dcafb1e4-0266-4c69-a169-1b7aec32e0a3 2026-01-28 21:04:03,036 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29965246:ctest-vn-56718082', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29965246', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4531068940665375673', 'uuid-lslong': '13366290935338947549'}, 'enable': 'true', 'created': '2026-01-28T21:04:00', 'last-modified': '2026-01-28T21:04:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.001557'} 2026-01-28 21:04:03,043 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-28 21:04:03,043 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-56718082 passed 2026-01-28 21:04:03,044 - DEBUG - ====Verifying policy data for ctest-vn-56718082 in API_Server ====== 2026-01-28 21:04:03,044 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-28 21:04:03,051 - DEBUG - Requesting: http://10.0.0.22:8082/domain/d536af28-4a2e-4f55-8d01-a8dceff6911e 2026-01-28 21:04:03,063 - DEBUG - Requesting: http://10.0.0.22:8082/project/46de7b24-358e-4cf3-a4f7-107a8ba9c0e8 2026-01-28 21:04:03,134 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/3ee19731-e52a-4bb9-b97e-9ac9bd66d3dd 2026-01-28 21:04:03,145 - DEBUG - ==>Verifying data for policy with id: acae92a4-b9e6-435c-8d1f-d3f3c28e0c10, fqn: ['default-domain', 'ctest-TestBasicPolicy-29965246', 'ctest-policy-allow-all-45322952'] 2026-01-28 21:04:03,145 - INFO - VN ctest-vn-56718082 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-28 21:04:03,146 - DEBUG - Verifying the vn in opserver 2026-01-28 21:04:03,146 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29965246:ctest-vn-56718082 virtual network link through opserver 10.0.0.22 2026-01-28 21:04:03,146 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-01-28 21:04:03,488 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-01-28 21:04:03,559 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29965246:ctest-vn-56718082', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29965246:ctest-vn-56718082?flat'} 2026-01-28 21:04:03,559 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29965246:ctest-vn-56718082 is found in opserver 2026-01-28 21:04:03,573 - DEBUG - Do not have enough data to verify VN in agent 2026-01-28 21:04:03,578 - DEBUG - VRF ids for VN ctest-vn-56718082: {} 2026-01-28 21:04:03,578 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-28 21:04:03,585 - DEBUG - Requesting: http://10.0.0.22:8082/domain/d536af28-4a2e-4f55-8d01-a8dceff6911e 2026-01-28 21:04:03,599 - DEBUG - Requesting: http://10.0.0.22:8082/project/46de7b24-358e-4cf3-a4f7-107a8ba9c0e8 2026-01-28 21:04:03,674 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/af7d763f-f580-45f2-a094-8e36246fe4ff 2026-01-28 21:04:03,689 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/af7d763f-f580-45f2-a094-8e36246fe4ff 2026-01-28 21:04:03,702 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/4816abbd-c530-48fb-8bf9-d2dca9a2a19d 2026-01-28 21:04:03,712 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/4816abbd-c530-48fb-8bf9-d2dca9a2a19d 2026-01-28 21:04:03,721 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/6e449efb-7b4a-4609-a7ee-3f6cac7a097d 2026-01-28 21:04:03,729 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-28 21:04:03,729 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/af7d763f-f580-45f2-a094-8e36246fe4ff 2026-01-28 21:04:03,739 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/4816abbd-c530-48fb-8bf9-d2dca9a2a19d 2026-01-28 21:04:03,758 - INFO - Verified VN network id 13 for VN af7d763f-f580-45f2-a094-8e36246fe4ff 2026-01-28 21:04:03,759 - INFO - Verifications in API Server for VN ctest-vn-75647906 passed 2026-01-28 21:04:03,759 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/af7d763f-f580-45f2-a094-8e36246fe4ff 2026-01-28 21:04:03,770 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/4816abbd-c530-48fb-8bf9-d2dca9a2a19d 2026-01-28 21:04:03,777 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/4816abbd-c530-48fb-8bf9-d2dca9a2a19d 2026-01-28 21:04:03,786 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/6e449efb-7b4a-4609-a7ee-3f6cac7a097d 2026-01-28 21:04:03,799 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29965246:ctest-vn-75647906', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29965246', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12645393345800062450', 'uuid-lslong': '11571029705812337919'}, 'enable': 'true', 'created': '2026-01-28T21:04:01', 'last-modified': '2026-01-28T21:04:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.526471'} 2026-01-28 21:04:03,806 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-28 21:04:03,806 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-75647906 passed 2026-01-28 21:04:03,806 - DEBUG - ====Verifying policy data for ctest-vn-75647906 in API_Server ====== 2026-01-28 21:04:03,806 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-28 21:04:03,813 - DEBUG - Requesting: http://10.0.0.22:8082/domain/d536af28-4a2e-4f55-8d01-a8dceff6911e 2026-01-28 21:04:03,827 - DEBUG - Requesting: http://10.0.0.22:8082/project/46de7b24-358e-4cf3-a4f7-107a8ba9c0e8 2026-01-28 21:04:03,906 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/af7d763f-f580-45f2-a094-8e36246fe4ff 2026-01-28 21:04:03,919 - DEBUG - ==>Verifying data for policy with id: acae92a4-b9e6-435c-8d1f-d3f3c28e0c10, fqn: ['default-domain', 'ctest-TestBasicPolicy-29965246', 'ctest-policy-allow-all-45322952'] 2026-01-28 21:04:03,919 - INFO - VN ctest-vn-75647906 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-28 21:04:03,919 - DEBUG - Verifying the vn in opserver 2026-01-28 21:04:03,919 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29965246:ctest-vn-75647906 virtual network link through opserver 10.0.0.22 2026-01-28 21:04:03,919 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-01-28 21:04:03,930 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29965246:ctest-vn-75647906', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29965246:ctest-vn-75647906?flat'} 2026-01-28 21:04:03,930 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29965246:ctest-vn-75647906 is found in opserver 2026-01-28 21:04:03,941 - DEBUG - Do not have enough data to verify VN in agent 2026-01-28 21:04:03,946 - DEBUG - VRF ids for VN ctest-vn-75647906: {} 2026-01-28 21:04:04,013 - DEBUG - Services list from nova: [, , ] 2026-01-28 21:04:05,217 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5103-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5103-1) 2026-01-28 21:04:06,554 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5103-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5103-1) 2026-01-28 21:04:06,555 - INFO - Waiting for VM ctest-TestBasicPolicy-29965246-95461801 to be up.. 2026-01-28 21:04:06,661 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-28 21:04:11,751 - DEBUG - VM is in ACTIVE state now 2026-01-28 21:04:11,751 - INFO - VM name : ctest-TestBasicPolicy-29965246-95461801 2026-01-28 21:04:11,833 - DEBUG - VM ctest-TestBasicPolicy-29965246-95461801 ID is 145c8f69-c11d-4d59-96f8-767f13fbcbd9 2026-01-28 21:04:11,854 - DEBUG - VM ctest-TestBasicPolicy-29965246-95461801 launched on Node cn-jenkins-deploy-platform-ansible-os-5103-1 2026-01-28 21:04:11,939 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/145c8f69-c11d-4d59-96f8-767f13fbcbd9 2026-01-28 21:04:11,949 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/f5ff3099-8ed4-4f24-82fa-ceb9fa3a5ac0 2026-01-28 21:04:15,206 - 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 1001ms') 2026-01-28 21:04:15,206 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-29965246-95461801 failed! 2026-01-28 21:04:15,261 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-29965246:ctest-vn-56718082 is 116.137.118.193 and allocation pool is NOT set 2026-01-28 21:04:17,326 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=7.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.17 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.166/5.523/7.881/2.357 ms') 2026-01-28 21:04:17,326 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-29965246-95461801 passed 2026-01-28 21:04:17,489 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 21:04:17,490 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29965246-95461801, IP 116.137.118.195, Port 22 2026-01-28 21:04:17,555 - 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': ''} 2026-01-28 21:04:17,650 - DEBUG - VM ctest-TestBasicPolicy-29965246-95461801 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-28 21:04:22,650 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 21:04:22,651 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29965246-95461801, IP 116.137.118.195, Port 22 2026-01-28 21:04:22,819 - DEBUG - VM ctest-TestBasicPolicy-29965246-95461801 is ready for SSH connections 2026-01-28 21:04:22,819 - INFO - Waiting for VM ctest-TestBasicPolicy-29965246-80422347 to be up.. 2026-01-28 21:04:22,944 - DEBUG - VM is in ACTIVE state now 2026-01-28 21:04:22,945 - INFO - VM name : ctest-TestBasicPolicy-29965246-80422347 2026-01-28 21:04:23,030 - DEBUG - VM ctest-TestBasicPolicy-29965246-80422347 ID is 91ea2826-a65e-4c15-9130-2a75018fa4a9 2026-01-28 21:04:23,030 - DEBUG - VM ctest-TestBasicPolicy-29965246-80422347 launched on Node cn-jenkins-deploy-platform-ansible-os-5103-1 2026-01-28 21:04:23,117 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/91ea2826-a65e-4c15-9130-2a75018fa4a9 2026-01-28 21:04:23,127 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/213ed832-7b81-45ae-9597-7ad3580d10a3 2026-01-28 21:04:24,363 - 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.41 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.546 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.546/2.476/4.407/1.930 ms') 2026-01-28 21:04:24,364 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-29965246-80422347 passed 2026-01-28 21:04:24,517 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 21:04:24,517 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29965246-80422347, IP 4.65.178.131, Port 22 2026-01-28 21:04:24,672 - DEBUG - VM ctest-TestBasicPolicy-29965246-80422347 is ready for SSH connections 2026-01-28 21:04:24,673 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 21:04:24,673 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 4.65.178.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-01-28 21:04:24,673 - DEBUG - ping -s 56 -c 3 -W 1 4.65.178.131 2026-01-28 21:04:28,905 - DEBUG - PING 4.65.178.131 (4.65.178.131): 56 data bytes 64 bytes from 4.65.178.131: seq=0 ttl=63 time=3.934 ms 64 bytes from 4.65.178.131: seq=1 ttl=63 time=1.064 ms 64 bytes from 4.65.178.131: seq=2 ttl=63 time=1.137 ms --- 4.65.178.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.064/2.045/3.934 ms 2026-01-28 21:04:28,905 - INFO - Ping to IP 4.65.178.131 from VM ctest-TestBasicPolicy-29965246-95461801 passed 2026-01-28 21:04:29,093 - DEBUG - Policy Update Response {"network-policy": {"uuid": "acae92a4-b9e6-435c-8d1f-d3f3c28e0c10", "href": "http://10.0.0.22:8082/network-policy/acae92a4-b9e6-435c-8d1f-d3f3c28e0c10"}} 2026-01-28 21:04:29,093 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 21:04:29,093 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 4.65.178.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-01-28 21:04:29,093 - DEBUG - ping -s 56 -c 3 -W 1 4.65.178.131 2026-01-28 21:04:32,333 - DEBUG - PING 4.65.178.131 (4.65.178.131): 56 data bytes --- 4.65.178.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-28 21:04:32,333 - WARNING - Ping to IP 4.65.178.131 from VM ctest-TestBasicPolicy-29965246-95461801 failed 2026-01-28 21:04:32,333 - INFO - Deleting VM ctest-TestBasicPolicy-29965246-80422347 2026-01-28 21:04:32,409 - INFO - Deleting VM ctest-TestBasicPolicy-29965246-95461801 2026-01-28 21:04:32,833 - INFO - Deleted policy ctest-policy-allow-all-45322952 2026-01-28 21:04:32,833 - INFO - Deleting VN ctest-vn-75647906 2026-01-28 21:04:32,879 - DEBUG - VN af7d763f-f580-45f2-a094-8e36246fe4ff still in use: Unable to complete operation on network af7d763f-f580-45f2-a094-8e36246fe4ff. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-39013cdd-4e95-406e-9f61-3af8b5c0f778'] 2026-01-28 21:04:32,879 - WARNING - Deleting VN ctest-vn-75647906 failed..Will retry 2026-01-28 21:04:34,991 - DEBUG - Response for deleting network () 2026-01-28 21:04:34,991 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/4816abbd-c530-48fb-8bf9-d2dca9a2a19d 2026-01-28 21:04:34,998 - DEBUG - Response Code: 404 2026-01-28 21:04:34,998 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-28 21:04:35,005 - DEBUG - Requesting: http://10.0.0.22:8082/domain/d536af28-4a2e-4f55-8d01-a8dceff6911e 2026-01-28 21:04:35,058 - DEBUG - Requesting: http://10.0.0.22:8082/project/46de7b24-358e-4cf3-a4f7-107a8ba9c0e8 2026-01-28 21:04:35,132 - INFO - Validated that VN ctest-vn-75647906 is not found in API Server 2026-01-28 21:04:35,143 - DEBUG - VN ctest-vn-75647906 is not present in Agent 10.0.0.22 2026-01-28 21:04:35,143 - INFO - Validated that VN ctest-vn-75647906 is not in any agent 2026-01-28 21:04:35,158 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-75647906 info 2026-01-28 21:04:35,158 - INFO - Deleting VN ctest-vn-56718082 2026-01-28 21:04:35,267 - DEBUG - Response for deleting network () 2026-01-28 21:04:35,268 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/61193143-7193-4cc4-a4af-55fd62c78748 2026-01-28 21:04:35,275 - DEBUG - Response Code: 404 2026-01-28 21:04:35,275 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-28 21:04:35,281 - DEBUG - Requesting: http://10.0.0.22:8082/domain/d536af28-4a2e-4f55-8d01-a8dceff6911e 2026-01-28 21:04:35,335 - DEBUG - Requesting: http://10.0.0.22:8082/project/46de7b24-358e-4cf3-a4f7-107a8ba9c0e8 2026-01-28 21:04:35,410 - INFO - Validated that VN ctest-vn-56718082 is not found in API Server 2026-01-28 21:04:35,423 - DEBUG - VN ctest-vn-56718082 is not present in Agent 10.0.0.22 2026-01-28 21:04:35,424 - INFO - Validated that VN ctest-vn-56718082 is not in any agent 2026-01-28 21:04:35,441 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-56718082 info 2026-01-28 21:04:35,695 - DEBUG - No XMPP flaps were noticed during the test 2026-01-28 21:04:35,695 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36] 2026-01-28 21:04:35,695 - INFO - -------------------------------------------------------------------------------- 2026-01-28 21:04:36,415 - INFO - Deleted project: ctest-TestBasicPolicy-29965246, ID : 46de7b24-358e-4cf3-a4f7-107a8ba9c0e8