2025-10-30 15:28:01,674 - INFO - Domain Default found not creating 2025-10-30 15:28:01,910 - INFO - Project ctest-TestBasicPolicy-40790757 not found, creating it 2025-10-30 15:28:02,501 - INFO - Created Project:ctest-TestBasicPolicy-40790757, ID : c647f396-213c-4783-8cb8-328ad88853e1 2025-10-30 15:28:04,216 - INFO - ================================================================================ 2025-10-30 15:28:04,216 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-30 15:28:04,216 - 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-30 15:28:04,501 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-30 15:28:04,501 - INFO - Initial checks done. Running the testcase now 2025-10-30 15:28:04,501 - INFO - 2025-10-30 15:28:05,240 - DEBUG - Response for create_network : {'network': {'id': '9d88cabe-76cb-46ad-aaf5-741a618efbe0', 'name': 'ctest-vn-63532155', 'tenant_id': 'c647f396213c47838cb8328ad88853e1', 'project_id': 'c647f396213c47838cb8328ad88853e1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40790757', 'ctest-vn-63532155'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 15:28:05,510 - DEBUG - Response for create_subnet : {'subnet': {'id': '87c592b0-dc6b-454e-ad91-f9ce9a8802cd', 'name': '', 'tenant_id': 'c647f396213c47838cb8328ad88853e1', 'network_id': '9d88cabe-76cb-46ad-aaf5-741a618efbe0', 'ip_version': 4, 'cidr': '51.171.125.64/26', 'allocation_pools': [{'start': '51.171.125.66', 'end': '51.171.125.126'}], 'gateway_ip': '51.171.125.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '51.171.125.66', 'tags': [], 'project_id': 'c647f396213c47838cb8328ad88853e1'}} 2025-10-30 15:28:05,531 - INFO - Created VN ctest-vn-63532155 2025-10-30 15:28:05,586 - DEBUG - VN ctest-vn-63532155 UUID is 9d88cabe-76cb-46ad-aaf5-741a618efbe0 2025-10-30 15:28:05,947 - DEBUG - Response for create_network : {'network': {'id': '8e8636b6-612d-40c8-8ba9-b2f2a339e1ec', 'name': 'ctest-vn-88077886', 'tenant_id': 'c647f396213c47838cb8328ad88853e1', 'project_id': 'c647f396213c47838cb8328ad88853e1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40790757', 'ctest-vn-88077886'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 15:28:06,109 - DEBUG - Response for create_subnet : {'subnet': {'id': '7cf772e3-a541-478c-98b0-6a102975d5de', 'name': '', 'tenant_id': 'c647f396213c47838cb8328ad88853e1', 'network_id': '8e8636b6-612d-40c8-8ba9-b2f2a339e1ec', 'ip_version': 4, 'cidr': '189.154.209.0/26', 'allocation_pools': [{'start': '189.154.209.2', 'end': '189.154.209.62'}], 'gateway_ip': '189.154.209.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '189.154.209.2', 'tags': [], 'project_id': 'c647f396213c47838cb8328ad88853e1'}} 2025-10-30 15:28:06,128 - INFO - Created VN ctest-vn-88077886 2025-10-30 15:28:06,182 - DEBUG - VN ctest-vn-88077886 UUID is 8e8636b6-612d-40c8-8ba9-b2f2a339e1ec 2025-10-30 15:28:06,315 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-40790757:ctest-vn-63532155, 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-40790757:ctest-vn-88077886, 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-30 15:28:06,662 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9d88cabe-76cb-46ad-aaf5-741a618efbe0', 'name': 'ctest-vn-63532155', 'tenant_id': 'c647f396213c47838cb8328ad88853e1', 'project_id': 'c647f396213c47838cb8328ad88853e1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['87c592b0-dc6b-454e-ad91-f9ce9a8802cd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40790757', 'ctest-vn-63532155'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40790757', 'ctest-policy-allow-all-15884216']], 'subnet_ipam': [{'subnet_cidr': '51.171.125.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-30 15:28:06,935 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8e8636b6-612d-40c8-8ba9-b2f2a339e1ec', 'name': 'ctest-vn-88077886', 'tenant_id': 'c647f396213c47838cb8328ad88853e1', 'project_id': 'c647f396213c47838cb8328ad88853e1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7cf772e3-a541-478c-98b0-6a102975d5de'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40790757', 'ctest-vn-88077886'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40790757', 'ctest-policy-allow-all-15884216']], 'subnet_ipam': [{'subnet_cidr': '189.154.209.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-30 15:28:07,102 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-30 15:28:07,408 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-30 15:28:07,458 - DEBUG - Requesting: http://10.0.0.254:8082/domain/f86596b4-702b-490e-9836-c3cee65b9471 2025-10-30 15:28:07,479 - DEBUG - Requesting: http://10.0.0.254:8082/project/c647f396-213c-4783-8cb8-328ad88853e1 2025-10-30 15:28:07,565 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/9d88cabe-76cb-46ad-aaf5-741a618efbe0 2025-10-30 15:28:07,580 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/9d88cabe-76cb-46ad-aaf5-741a618efbe0 2025-10-30 15:28:07,595 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/267e19df-d2f1-43a0-ad88-003105d4af40 2025-10-30 15:28:07,607 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/267e19df-d2f1-43a0-ad88-003105d4af40 2025-10-30 15:28:07,616 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/9210754e-c190-4d86-b308-b0f60ebefe47 2025-10-30 15:28:07,624 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-30 15:28:07,624 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/9d88cabe-76cb-46ad-aaf5-741a618efbe0 2025-10-30 15:28:07,637 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/267e19df-d2f1-43a0-ad88-003105d4af40 2025-10-30 15:28:07,656 - INFO - Verified VN network id 11 for VN 9d88cabe-76cb-46ad-aaf5-741a618efbe0 2025-10-30 15:28:07,656 - INFO - Verifications in API Server for VN ctest-vn-63532155 passed 2025-10-30 15:28:07,656 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/9d88cabe-76cb-46ad-aaf5-741a618efbe0 2025-10-30 15:28:07,671 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/267e19df-d2f1-43a0-ad88-003105d4af40 2025-10-30 15:28:07,680 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/267e19df-d2f1-43a0-ad88-003105d4af40 2025-10-30 15:28:07,690 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/9210754e-c190-4d86-b308-b0f60ebefe47 2025-10-30 15:28:07,705 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40790757:ctest-vn-63532155', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40790757', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11351545780172965549', 'uuid-lslong': '12318880012396592096'}, 'enable': 'true', 'created': '2025-10-30T15:28:05', 'last-modified': '2025-10-30T15:28:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.068913'} 2025-10-30 15:28:07,713 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-30 15:28:07,714 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-63532155 passed 2025-10-30 15:28:07,714 - DEBUG - ====Verifying policy data for ctest-vn-63532155 in API_Server ====== 2025-10-30 15:28:07,714 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-30 15:28:07,722 - DEBUG - Requesting: http://10.0.0.254:8082/domain/f86596b4-702b-490e-9836-c3cee65b9471 2025-10-30 15:28:07,736 - DEBUG - Requesting: http://10.0.0.254:8082/project/c647f396-213c-4783-8cb8-328ad88853e1 2025-10-30 15:28:07,812 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/9d88cabe-76cb-46ad-aaf5-741a618efbe0 2025-10-30 15:28:07,824 - DEBUG - ==>Verifying data for policy with id: a00a02dc-2006-46a8-b31d-082ef8f543a9, fqn: ['default-domain', 'ctest-TestBasicPolicy-40790757', 'ctest-policy-allow-all-15884216'] 2025-10-30 15:28:07,824 - INFO - VN ctest-vn-63532155 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-30 15:28:07,824 - DEBUG - Verifying the vn in opserver 2025-10-30 15:28:07,824 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40790757:ctest-vn-63532155 virtual network link through opserver 10.0.0.254 2025-10-30 15:28:07,825 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-30 15:28:08,147 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-30 15:28:08,572 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40790757:ctest-vn-63532155', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40790757:ctest-vn-63532155?flat'} 2025-10-30 15:28:08,572 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40790757:ctest-vn-63532155 is found in opserver 2025-10-30 15:28:08,595 - DEBUG - Do not have enough data to verify VN in agent 2025-10-30 15:28:08,603 - DEBUG - VRF ids for VN ctest-vn-63532155: {} 2025-10-30 15:28:08,603 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-30 15:28:08,618 - DEBUG - Requesting: http://10.0.0.254:8082/domain/f86596b4-702b-490e-9836-c3cee65b9471 2025-10-30 15:28:08,647 - DEBUG - Requesting: http://10.0.0.254:8082/project/c647f396-213c-4783-8cb8-328ad88853e1 2025-10-30 15:28:08,730 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/8e8636b6-612d-40c8-8ba9-b2f2a339e1ec 2025-10-30 15:28:08,744 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/8e8636b6-612d-40c8-8ba9-b2f2a339e1ec 2025-10-30 15:28:08,754 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/21852c5d-c5fc-4e8d-b26e-c5dbfb34cc66 2025-10-30 15:28:08,763 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/21852c5d-c5fc-4e8d-b26e-c5dbfb34cc66 2025-10-30 15:28:08,771 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/df12c218-86aa-4962-89d4-77cc5a9f6dcb 2025-10-30 15:28:08,779 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-30 15:28:08,779 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/8e8636b6-612d-40c8-8ba9-b2f2a339e1ec 2025-10-30 15:28:08,791 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/21852c5d-c5fc-4e8d-b26e-c5dbfb34cc66 2025-10-30 15:28:08,810 - INFO - Verified VN network id 12 for VN 8e8636b6-612d-40c8-8ba9-b2f2a339e1ec 2025-10-30 15:28:08,811 - INFO - Verifications in API Server for VN ctest-vn-88077886 passed 2025-10-30 15:28:08,811 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/8e8636b6-612d-40c8-8ba9-b2f2a339e1ec 2025-10-30 15:28:08,823 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/21852c5d-c5fc-4e8d-b26e-c5dbfb34cc66 2025-10-30 15:28:08,833 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/21852c5d-c5fc-4e8d-b26e-c5dbfb34cc66 2025-10-30 15:28:08,840 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/df12c218-86aa-4962-89d4-77cc5a9f6dcb 2025-10-30 15:28:08,855 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40790757:ctest-vn-88077886', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40790757', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10269956157207298248', 'uuid-lslong': '10063771597526393324'}, 'enable': 'true', 'created': '2025-10-30T15:28:05', 'last-modified': '2025-10-30T15:28:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.954225'} 2025-10-30 15:28:08,863 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-30 15:28:08,863 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-88077886 passed 2025-10-30 15:28:08,863 - DEBUG - ====Verifying policy data for ctest-vn-88077886 in API_Server ====== 2025-10-30 15:28:08,863 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-30 15:28:08,871 - DEBUG - Requesting: http://10.0.0.254:8082/domain/f86596b4-702b-490e-9836-c3cee65b9471 2025-10-30 15:28:08,885 - DEBUG - Requesting: http://10.0.0.254:8082/project/c647f396-213c-4783-8cb8-328ad88853e1 2025-10-30 15:28:08,969 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/8e8636b6-612d-40c8-8ba9-b2f2a339e1ec 2025-10-30 15:28:08,990 - DEBUG - ==>Verifying data for policy with id: a00a02dc-2006-46a8-b31d-082ef8f543a9, fqn: ['default-domain', 'ctest-TestBasicPolicy-40790757', 'ctest-policy-allow-all-15884216'] 2025-10-30 15:28:08,990 - INFO - VN ctest-vn-88077886 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-30 15:28:08,991 - DEBUG - Verifying the vn in opserver 2025-10-30 15:28:08,991 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40790757:ctest-vn-88077886 virtual network link through opserver 10.0.0.254 2025-10-30 15:28:08,991 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-30 15:28:09,006 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40790757:ctest-vn-88077886', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40790757:ctest-vn-88077886?flat'} 2025-10-30 15:28:09,006 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40790757:ctest-vn-88077886 is found in opserver 2025-10-30 15:28:09,019 - DEBUG - Do not have enough data to verify VN in agent 2025-10-30 15:28:09,028 - DEBUG - VRF ids for VN ctest-vn-88077886: {} 2025-10-30 15:28:09,116 - DEBUG - Services list from nova: [, , ] 2025-10-30 15:28:10,419 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4547-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4547-1) 2025-10-30 15:28:11,688 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4547-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4547-1) 2025-10-30 15:28:11,688 - INFO - Waiting for VM ctest-TestBasicPolicy-40790757-49407696 to be up.. 2025-10-30 15:28:11,768 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 15:28:16,900 - DEBUG - VM is in ACTIVE state now 2025-10-30 15:28:16,900 - INFO - VM name : ctest-TestBasicPolicy-40790757-49407696 2025-10-30 15:28:17,020 - DEBUG - VM ctest-TestBasicPolicy-40790757-49407696 ID is b9b9628b-ea98-4b64-be42-a72a7c80a998 2025-10-30 15:28:17,057 - DEBUG - VM ctest-TestBasicPolicy-40790757-49407696 launched on Node cn-jenkins-deploy-platform-ansible-os-4547-1 2025-10-30 15:28:17,186 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b9b9628b-ea98-4b64-be42-a72a7c80a998 2025-10-30 15:28:17,198 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/60a7c36b-23af-4a87-9bc2-0d9182ae36e8 2025-10-30 15:28:20,483 - 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 1008ms') 2025-10-30 15:28:20,483 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-40790757-49407696 failed! 2025-10-30 15:28:20,538 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-40790757:ctest-vn-63532155 is 51.171.125.65 and allocation pool is NOT set 2025-10-30 15:28:22,612 - 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=10.7 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.371 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.371/5.551/10.732/5.180 ms') 2025-10-30 15:28:22,612 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-40790757-49407696 passed 2025-10-30 15:28:22,766 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 15:28:22,766 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40790757-49407696, IP 51.171.125.67, Port 22 2025-10-30 15:28:22,833 - 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-30 15:28:22,926 - DEBUG - VM ctest-TestBasicPolicy-40790757-49407696 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-30 15:28:27,927 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 15:28:27,927 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40790757-49407696, IP 51.171.125.67, Port 22 2025-10-30 15:28:28,119 - DEBUG - VM ctest-TestBasicPolicy-40790757-49407696 is ready for SSH connections 2025-10-30 15:28:28,120 - INFO - Waiting for VM ctest-TestBasicPolicy-40790757-38071967 to be up.. 2025-10-30 15:28:28,320 - DEBUG - VM is in ACTIVE state now 2025-10-30 15:28:28,320 - INFO - VM name : ctest-TestBasicPolicy-40790757-38071967 2025-10-30 15:28:28,483 - DEBUG - VM ctest-TestBasicPolicy-40790757-38071967 ID is 94f0e9f1-d3b9-42f4-9842-3c127c17ab53 2025-10-30 15:28:28,484 - DEBUG - VM ctest-TestBasicPolicy-40790757-38071967 launched on Node cn-jenkins-deploy-platform-ansible-os-4547-1 2025-10-30 15:28:28,576 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/94f0e9f1-d3b9-42f4-9842-3c127c17ab53 2025-10-30 15:28:28,587 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/49ae786a-b224-4bd8-84e7-c95b631937b2 2025-10-30 15:28:29,852 - 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=6.63 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.777 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.777/3.702/6.628/2.925 ms') 2025-10-30 15:28:29,852 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-40790757-38071967 passed 2025-10-30 15:28:30,014 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 15:28:30,015 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40790757-38071967, IP 189.154.209.3, Port 22 2025-10-30 15:28:30,199 - DEBUG - VM ctest-TestBasicPolicy-40790757-38071967 is ready for SSH connections 2025-10-30 15:28:30,200 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 15:28:30,200 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 189.154.209.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-30 15:28:30,201 - DEBUG - ping -s 56 -c 3 -W 1 189.154.209.3 2025-10-30 15:28:34,583 - DEBUG - PING 189.154.209.3 (189.154.209.3): 56 data bytes 64 bytes from 189.154.209.3: seq=0 ttl=63 time=4.171 ms 64 bytes from 189.154.209.3: seq=1 ttl=63 time=1.513 ms 64 bytes from 189.154.209.3: seq=2 ttl=63 time=1.606 ms --- 189.154.209.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.513/2.430/4.171 ms 2025-10-30 15:28:34,584 - INFO - Ping to IP 189.154.209.3 from VM ctest-TestBasicPolicy-40790757-49407696 passed 2025-10-30 15:28:34,786 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a00a02dc-2006-46a8-b31d-082ef8f543a9", "href": "http://10.0.0.254:8082/network-policy/a00a02dc-2006-46a8-b31d-082ef8f543a9"}} 2025-10-30 15:28:34,786 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 15:28:34,786 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 189.154.209.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-30 15:28:34,786 - DEBUG - ping -s 56 -c 3 -W 1 189.154.209.3 2025-10-30 15:28:38,069 - DEBUG - PING 189.154.209.3 (189.154.209.3): 56 data bytes --- 189.154.209.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-30 15:28:38,070 - WARNING - Ping to IP 189.154.209.3 from VM ctest-TestBasicPolicy-40790757-49407696 failed 2025-10-30 15:28:38,070 - INFO - Deleting VM ctest-TestBasicPolicy-40790757-38071967 2025-10-30 15:28:38,187 - INFO - Deleting VM ctest-TestBasicPolicy-40790757-49407696 2025-10-30 15:28:38,687 - INFO - Deleted policy ctest-policy-allow-all-15884216 2025-10-30 15:28:38,687 - INFO - Deleting VN ctest-vn-88077886 2025-10-30 15:28:38,728 - DEBUG - VN 8e8636b6-612d-40c8-8ba9-b2f2a339e1ec still in use: Unable to complete operation on network 8e8636b6-612d-40c8-8ba9-b2f2a339e1ec. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b10a56ba-1af7-4356-8a8c-8855f031ff01'] 2025-10-30 15:28:38,728 - WARNING - Deleting VN ctest-vn-88077886 failed..Will retry 2025-10-30 15:28:40,917 - DEBUG - Response for deleting network () 2025-10-30 15:28:40,917 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/21852c5d-c5fc-4e8d-b26e-c5dbfb34cc66 2025-10-30 15:28:40,924 - DEBUG - Response Code: 404 2025-10-30 15:28:40,925 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-30 15:28:40,936 - DEBUG - Requesting: http://10.0.0.254:8082/domain/f86596b4-702b-490e-9836-c3cee65b9471 2025-10-30 15:28:40,992 - DEBUG - Requesting: http://10.0.0.254:8082/project/c647f396-213c-4783-8cb8-328ad88853e1 2025-10-30 15:28:41,082 - INFO - Validated that VN ctest-vn-88077886 is not found in API Server 2025-10-30 15:28:41,099 - DEBUG - VN ctest-vn-88077886 is not present in Agent 10.0.0.254 2025-10-30 15:28:41,099 - INFO - Validated that VN ctest-vn-88077886 is not in any agent 2025-10-30 15:28:41,126 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-88077886 info 2025-10-30 15:28:41,126 - INFO - Deleting VN ctest-vn-63532155 2025-10-30 15:28:41,261 - DEBUG - Response for deleting network () 2025-10-30 15:28:41,261 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/267e19df-d2f1-43a0-ad88-003105d4af40 2025-10-30 15:28:41,269 - DEBUG - Response Code: 404 2025-10-30 15:28:41,269 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-30 15:28:41,275 - DEBUG - Requesting: http://10.0.0.254:8082/domain/f86596b4-702b-490e-9836-c3cee65b9471 2025-10-30 15:28:41,332 - DEBUG - Requesting: http://10.0.0.254:8082/project/c647f396-213c-4783-8cb8-328ad88853e1 2025-10-30 15:28:41,427 - INFO - Validated that VN ctest-vn-63532155 is not found in API Server 2025-10-30 15:28:41,446 - DEBUG - VN ctest-vn-63532155 is not present in Agent 10.0.0.254 2025-10-30 15:28:41,446 - INFO - Validated that VN ctest-vn-63532155 is not in any agent 2025-10-30 15:28:41,476 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-63532155 info 2025-10-30 15:28:41,764 - DEBUG - No XMPP flaps were noticed during the test 2025-10-30 15:28:41,764 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:37] 2025-10-30 15:28:41,764 - INFO - -------------------------------------------------------------------------------- 2025-10-30 15:28:42,536 - INFO - Deleted project: ctest-TestBasicPolicy-40790757, ID : c647f396-213c-4783-8cb8-328ad88853e1