2025-11-21 17:51:19,728 - INFO - Domain Default found not creating 2025-11-21 17:51:19,922 - INFO - Project ctest-TestBasicPolicy-54950600 not found, creating it 2025-11-21 17:51:20,452 - INFO - Created Project:ctest-TestBasicPolicy-54950600, ID : e034ec91-f8b3-4704-bc70-14f465db4c76 2025-11-21 17:51:22,338 - INFO - ================================================================================ 2025-11-21 17:51:22,338 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-21 17:51:22,338 - 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-21 17:51:22,609 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.18': '0'}} with 2025-11-21 17:51:22,609 - INFO - Initial checks done. Running the testcase now 2025-11-21 17:51:22,609 - INFO - 2025-11-21 17:51:23,285 - DEBUG - Response for create_network : {'network': {'id': 'a6b94bb8-48ae-45f3-993b-be8295aad0e5', 'name': 'ctest-vn-00253978', 'tenant_id': 'e034ec91f8b34704bc7014f465db4c76', 'project_id': 'e034ec91f8b34704bc7014f465db4c76', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54950600', 'ctest-vn-00253978'], 'port_security_enabled': True, 'description': ''}} 2025-11-21 17:51:23,489 - DEBUG - Response for create_subnet : {'subnet': {'id': '6d5c942e-9a0b-48f6-8f8b-9f40cc25c0c9', 'name': '', 'tenant_id': 'e034ec91f8b34704bc7014f465db4c76', 'network_id': 'a6b94bb8-48ae-45f3-993b-be8295aad0e5', 'ip_version': 4, 'cidr': '190.220.159.192/26', 'allocation_pools': [{'start': '190.220.159.194', 'end': '190.220.159.254'}], 'gateway_ip': '190.220.159.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '190.220.159.194', 'tags': [], 'project_id': 'e034ec91f8b34704bc7014f465db4c76'}} 2025-11-21 17:51:23,516 - INFO - Created VN ctest-vn-00253978 2025-11-21 17:51:23,571 - DEBUG - VN ctest-vn-00253978 UUID is a6b94bb8-48ae-45f3-993b-be8295aad0e5 2025-11-21 17:51:23,917 - DEBUG - Response for create_network : {'network': {'id': '254155dd-b5fa-4c85-811f-28435cb6a9f9', 'name': 'ctest-vn-66446951', 'tenant_id': 'e034ec91f8b34704bc7014f465db4c76', 'project_id': 'e034ec91f8b34704bc7014f465db4c76', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54950600', 'ctest-vn-66446951'], 'port_security_enabled': True, 'description': ''}} 2025-11-21 17:51:24,085 - DEBUG - Response for create_subnet : {'subnet': {'id': '80887973-0cd5-440e-b94f-f938634bf5a3', 'name': '', 'tenant_id': 'e034ec91f8b34704bc7014f465db4c76', 'network_id': '254155dd-b5fa-4c85-811f-28435cb6a9f9', 'ip_version': 4, 'cidr': '114.215.19.192/26', 'allocation_pools': [{'start': '114.215.19.194', 'end': '114.215.19.254'}], 'gateway_ip': '114.215.19.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.215.19.194', 'tags': [], 'project_id': 'e034ec91f8b34704bc7014f465db4c76'}} 2025-11-21 17:51:24,107 - INFO - Created VN ctest-vn-66446951 2025-11-21 17:51:24,163 - DEBUG - VN ctest-vn-66446951 UUID is 254155dd-b5fa-4c85-811f-28435cb6a9f9 2025-11-21 17:51:24,294 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-54950600:ctest-vn-00253978, 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-54950600:ctest-vn-66446951, 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-21 17:51:24,637 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a6b94bb8-48ae-45f3-993b-be8295aad0e5', 'name': 'ctest-vn-00253978', 'tenant_id': 'e034ec91f8b34704bc7014f465db4c76', 'project_id': 'e034ec91f8b34704bc7014f465db4c76', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6d5c942e-9a0b-48f6-8f8b-9f40cc25c0c9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54950600', 'ctest-vn-00253978'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54950600', 'ctest-policy-allow-all-36624848']], 'subnet_ipam': [{'subnet_cidr': '190.220.159.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-21 17:51:24,940 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '254155dd-b5fa-4c85-811f-28435cb6a9f9', 'name': 'ctest-vn-66446951', 'tenant_id': 'e034ec91f8b34704bc7014f465db4c76', 'project_id': 'e034ec91f8b34704bc7014f465db4c76', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['80887973-0cd5-440e-b94f-f938634bf5a3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54950600', 'ctest-vn-66446951'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54950600', 'ctest-policy-allow-all-36624848']], 'subnet_ipam': [{'subnet_cidr': '114.215.19.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-21 17:51:25,103 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-21 17:51:25,453 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-21 17:51:25,492 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2e9e2302-54c2-4afe-9d57-d7ec484ec2c7 2025-11-21 17:51:25,506 - DEBUG - Requesting: http://10.0.0.38:8082/project/e034ec91-f8b3-4704-bc70-14f465db4c76 2025-11-21 17:51:25,594 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a6b94bb8-48ae-45f3-993b-be8295aad0e5 2025-11-21 17:51:25,610 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a6b94bb8-48ae-45f3-993b-be8295aad0e5 2025-11-21 17:51:25,622 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7b1049e5-9b94-4035-8098-8410c847d1af 2025-11-21 17:51:25,630 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7b1049e5-9b94-4035-8098-8410c847d1af 2025-11-21 17:51:25,639 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c6a16592-3899-4f7c-814c-dfac30fb510b 2025-11-21 17:51:25,647 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-21 17:51:25,647 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a6b94bb8-48ae-45f3-993b-be8295aad0e5 2025-11-21 17:51:25,659 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7b1049e5-9b94-4035-8098-8410c847d1af 2025-11-21 17:51:25,678 - INFO - Verified VN network id 11 for VN a6b94bb8-48ae-45f3-993b-be8295aad0e5 2025-11-21 17:51:25,678 - INFO - Verifications in API Server for VN ctest-vn-00253978 passed 2025-11-21 17:51:25,678 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a6b94bb8-48ae-45f3-993b-be8295aad0e5 2025-11-21 17:51:25,690 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7b1049e5-9b94-4035-8098-8410c847d1af 2025-11-21 17:51:25,699 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7b1049e5-9b94-4035-8098-8410c847d1af 2025-11-21 17:51:25,708 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c6a16592-3899-4f7c-814c-dfac30fb510b 2025-11-21 17:51:25,722 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54950600:ctest-vn-00253978', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54950600', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12013716735852955123', 'uuid-lslong': '11041628379494928613'}, 'enable': 'true', 'created': '2025-11-21T17:51:23', 'last-modified': '2025-11-21T17:51:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.120619'} 2025-11-21 17:51:25,729 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-21 17:51:25,729 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-00253978 passed 2025-11-21 17:51:25,729 - DEBUG - ====Verifying policy data for ctest-vn-00253978 in API_Server ====== 2025-11-21 17:51:25,729 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-21 17:51:25,736 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2e9e2302-54c2-4afe-9d57-d7ec484ec2c7 2025-11-21 17:51:25,749 - DEBUG - Requesting: http://10.0.0.38:8082/project/e034ec91-f8b3-4704-bc70-14f465db4c76 2025-11-21 17:51:25,828 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a6b94bb8-48ae-45f3-993b-be8295aad0e5 2025-11-21 17:51:25,841 - DEBUG - ==>Verifying data for policy with id: df5ed448-99e0-4b18-80e2-c1a03b584afc, fqn: ['default-domain', 'ctest-TestBasicPolicy-54950600', 'ctest-policy-allow-all-36624848'] 2025-11-21 17:51:25,841 - INFO - VN ctest-vn-00253978 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-21 17:51:25,841 - DEBUG - Verifying the vn in opserver 2025-11-21 17:51:25,841 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54950600:ctest-vn-00253978 virtual network link through opserver 10.0.0.38 2025-11-21 17:51:25,841 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-11-21 17:51:26,183 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-11-21 17:51:26,260 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54950600:ctest-vn-00253978', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54950600:ctest-vn-00253978?flat'} 2025-11-21 17:51:26,260 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54950600:ctest-vn-00253978 is found in opserver 2025-11-21 17:51:26,272 - DEBUG - Do not have enough data to verify VN in agent 2025-11-21 17:51:26,279 - DEBUG - VRF ids for VN ctest-vn-00253978: {} 2025-11-21 17:51:26,279 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-21 17:51:26,286 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2e9e2302-54c2-4afe-9d57-d7ec484ec2c7 2025-11-21 17:51:26,301 - DEBUG - Requesting: http://10.0.0.38:8082/project/e034ec91-f8b3-4704-bc70-14f465db4c76 2025-11-21 17:51:26,378 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/254155dd-b5fa-4c85-811f-28435cb6a9f9 2025-11-21 17:51:26,392 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/254155dd-b5fa-4c85-811f-28435cb6a9f9 2025-11-21 17:51:26,403 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b27d1350-bd8e-40a8-8975-e59b540d51ab 2025-11-21 17:51:26,413 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b27d1350-bd8e-40a8-8975-e59b540d51ab 2025-11-21 17:51:26,422 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/cb4370a1-c0b2-4f0b-a5f8-f909708a0c8d 2025-11-21 17:51:26,430 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-21 17:51:26,430 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/254155dd-b5fa-4c85-811f-28435cb6a9f9 2025-11-21 17:51:26,440 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b27d1350-bd8e-40a8-8975-e59b540d51ab 2025-11-21 17:51:26,458 - INFO - Verified VN network id 12 for VN 254155dd-b5fa-4c85-811f-28435cb6a9f9 2025-11-21 17:51:26,459 - INFO - Verifications in API Server for VN ctest-vn-66446951 passed 2025-11-21 17:51:26,459 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/254155dd-b5fa-4c85-811f-28435cb6a9f9 2025-11-21 17:51:26,471 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b27d1350-bd8e-40a8-8975-e59b540d51ab 2025-11-21 17:51:26,481 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b27d1350-bd8e-40a8-8975-e59b540d51ab 2025-11-21 17:51:26,490 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/cb4370a1-c0b2-4f0b-a5f8-f909708a0c8d 2025-11-21 17:51:26,507 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54950600:ctest-vn-66446951', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54950600', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2684521263618739333', 'uuid-lslong': '9304199624954128889'}, 'enable': 'true', 'created': '2025-11-21T17:51:23', 'last-modified': '2025-11-21T17:51:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.643650'} 2025-11-21 17:51:26,515 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-21 17:51:26,515 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66446951 passed 2025-11-21 17:51:26,515 - DEBUG - ====Verifying policy data for ctest-vn-66446951 in API_Server ====== 2025-11-21 17:51:26,515 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-21 17:51:26,522 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2e9e2302-54c2-4afe-9d57-d7ec484ec2c7 2025-11-21 17:51:26,537 - DEBUG - Requesting: http://10.0.0.38:8082/project/e034ec91-f8b3-4704-bc70-14f465db4c76 2025-11-21 17:51:26,618 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/254155dd-b5fa-4c85-811f-28435cb6a9f9 2025-11-21 17:51:26,629 - DEBUG - ==>Verifying data for policy with id: df5ed448-99e0-4b18-80e2-c1a03b584afc, fqn: ['default-domain', 'ctest-TestBasicPolicy-54950600', 'ctest-policy-allow-all-36624848'] 2025-11-21 17:51:26,629 - INFO - VN ctest-vn-66446951 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-21 17:51:26,629 - DEBUG - Verifying the vn in opserver 2025-11-21 17:51:26,629 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54950600:ctest-vn-66446951 virtual network link through opserver 10.0.0.38 2025-11-21 17:51:26,629 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-11-21 17:51:26,641 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54950600:ctest-vn-66446951', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54950600:ctest-vn-66446951?flat'} 2025-11-21 17:51:26,641 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54950600:ctest-vn-66446951 is found in opserver 2025-11-21 17:51:26,653 - DEBUG - Do not have enough data to verify VN in agent 2025-11-21 17:51:26,659 - DEBUG - VRF ids for VN ctest-vn-66446951: {} 2025-11-21 17:51:26,730 - DEBUG - Services list from nova: [, , ] 2025-11-21 17:51:27,924 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4792-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4792-1) 2025-11-21 17:51:29,258 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4792-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4792-1) 2025-11-21 17:51:29,259 - INFO - Waiting for VM ctest-TestBasicPolicy-54950600-00882756 to be up.. 2025-11-21 17:51:29,351 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-21 17:51:34,442 - DEBUG - VM is in ACTIVE state now 2025-11-21 17:51:34,442 - INFO - VM name : ctest-TestBasicPolicy-54950600-00882756 2025-11-21 17:51:34,535 - DEBUG - VM ctest-TestBasicPolicy-54950600-00882756 ID is 69a8c153-6450-487f-aebd-62dee1d65feb 2025-11-21 17:51:34,558 - DEBUG - VM ctest-TestBasicPolicy-54950600-00882756 launched on Node cn-jenkins-deploy-platform-ansible-os-4792-1 2025-11-21 17:51:34,647 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/69a8c153-6450-487f-aebd-62dee1d65feb 2025-11-21 17:51:34,656 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c9778c15-d607-4b34-886f-54583ef9e147 2025-11-21 17:51:37,919 - 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 1021ms') 2025-11-21 17:51:37,919 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-54950600-00882756 failed! 2025-11-21 17:51:37,975 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-54950600:ctest-vn-00253978 is 190.220.159.193 and allocation pool is NOT set 2025-11-21 17:51:40,049 - 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=13.0 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=4.95 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 = 4.948/8.984/13.020/4.036 ms') 2025-11-21 17:51:40,049 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-54950600-00882756 passed 2025-11-21 17:51:40,219 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 17:51:40,219 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54950600-00882756, IP 190.220.159.195, Port 22 2025-11-21 17:51:40,289 - 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-21 17:51:40,413 - DEBUG - VM ctest-TestBasicPolicy-54950600-00882756 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-21 17:51:45,414 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 17:51:45,415 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54950600-00882756, IP 190.220.159.195, Port 22 2025-11-21 17:51:45,581 - DEBUG - VM ctest-TestBasicPolicy-54950600-00882756 is ready for SSH connections 2025-11-21 17:51:45,581 - INFO - Waiting for VM ctest-TestBasicPolicy-54950600-85423264 to be up.. 2025-11-21 17:51:45,668 - DEBUG - VM is in ACTIVE state now 2025-11-21 17:51:45,668 - INFO - VM name : ctest-TestBasicPolicy-54950600-85423264 2025-11-21 17:51:45,760 - DEBUG - VM ctest-TestBasicPolicy-54950600-85423264 ID is 119e6469-e095-42e2-b856-2eb1ac3d0cbf 2025-11-21 17:51:45,760 - DEBUG - VM ctest-TestBasicPolicy-54950600-85423264 launched on Node cn-jenkins-deploy-platform-ansible-os-4792-1 2025-11-21 17:51:45,845 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/119e6469-e095-42e2-b856-2eb1ac3d0cbf 2025-11-21 17:51:45,857 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f8065e23-1e68-438b-85a5-27c92864eab4 2025-11-21 17:51:47,111 - 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.38 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.446 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.446/1.912/3.378/1.466 ms') 2025-11-21 17:51:47,111 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-54950600-85423264 passed 2025-11-21 17:51:47,267 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 17:51:47,267 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54950600-85423264, IP 114.215.19.195, Port 22 2025-11-21 17:51:47,423 - DEBUG - VM ctest-TestBasicPolicy-54950600-85423264 is ready for SSH connections 2025-11-21 17:51:47,423 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 17:51:47,423 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 114.215.19.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-21 17:51:47,423 - DEBUG - ping -s 56 -c 3 -W 1 114.215.19.195 2025-11-21 17:51:51,656 - DEBUG - PING 114.215.19.195 (114.215.19.195): 56 data bytes 64 bytes from 114.215.19.195: seq=0 ttl=63 time=4.273 ms 64 bytes from 114.215.19.195: seq=1 ttl=63 time=1.148 ms 64 bytes from 114.215.19.195: seq=2 ttl=63 time=1.025 ms --- 114.215.19.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.025/2.148/4.273 ms 2025-11-21 17:51:51,656 - INFO - Ping to IP 114.215.19.195 from VM ctest-TestBasicPolicy-54950600-00882756 passed 2025-11-21 17:51:51,839 - DEBUG - Policy Update Response {"network-policy": {"uuid": "df5ed448-99e0-4b18-80e2-c1a03b584afc", "href": "http://10.0.0.38:8082/network-policy/df5ed448-99e0-4b18-80e2-c1a03b584afc"}} 2025-11-21 17:51:51,839 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 17:51:51,839 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 114.215.19.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-21 17:51:51,839 - DEBUG - ping -s 56 -c 3 -W 1 114.215.19.195 2025-11-21 17:51:55,088 - DEBUG - PING 114.215.19.195 (114.215.19.195): 56 data bytes --- 114.215.19.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-21 17:51:55,089 - WARNING - Ping to IP 114.215.19.195 from VM ctest-TestBasicPolicy-54950600-00882756 failed 2025-11-21 17:51:55,089 - INFO - Deleting VM ctest-TestBasicPolicy-54950600-85423264 2025-11-21 17:51:55,173 - INFO - Deleting VM ctest-TestBasicPolicy-54950600-00882756 2025-11-21 17:51:55,697 - INFO - Deleted policy ctest-policy-allow-all-36624848 2025-11-21 17:51:55,697 - INFO - Deleting VN ctest-vn-66446951 2025-11-21 17:51:55,749 - DEBUG - VN 254155dd-b5fa-4c85-811f-28435cb6a9f9 still in use: Unable to complete operation on network 254155dd-b5fa-4c85-811f-28435cb6a9f9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-13e516c0-0590-487d-a65c-406a552a13e8'] 2025-11-21 17:51:55,749 - WARNING - Deleting VN ctest-vn-66446951 failed..Will retry 2025-11-21 17:51:57,884 - DEBUG - Response for deleting network () 2025-11-21 17:51:57,884 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b27d1350-bd8e-40a8-8975-e59b540d51ab 2025-11-21 17:51:57,891 - DEBUG - Response Code: 404 2025-11-21 17:51:57,891 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-21 17:51:57,897 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2e9e2302-54c2-4afe-9d57-d7ec484ec2c7 2025-11-21 17:51:57,954 - DEBUG - Requesting: http://10.0.0.38:8082/project/e034ec91-f8b3-4704-bc70-14f465db4c76 2025-11-21 17:51:58,027 - INFO - Validated that VN ctest-vn-66446951 is not found in API Server 2025-11-21 17:51:58,044 - DEBUG - VN ctest-vn-66446951 is not present in Agent 10.0.0.38 2025-11-21 17:51:58,044 - INFO - Validated that VN ctest-vn-66446951 is not in any agent 2025-11-21 17:51:58,065 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-66446951 info 2025-11-21 17:51:58,065 - INFO - Deleting VN ctest-vn-00253978 2025-11-21 17:51:58,195 - DEBUG - Response for deleting network () 2025-11-21 17:51:58,195 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7b1049e5-9b94-4035-8098-8410c847d1af 2025-11-21 17:51:58,201 - DEBUG - Response Code: 404 2025-11-21 17:51:58,201 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-21 17:51:58,208 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2e9e2302-54c2-4afe-9d57-d7ec484ec2c7 2025-11-21 17:51:58,264 - DEBUG - Requesting: http://10.0.0.38:8082/project/e034ec91-f8b3-4704-bc70-14f465db4c76 2025-11-21 17:51:58,344 - INFO - Validated that VN ctest-vn-00253978 is not found in API Server 2025-11-21 17:51:58,355 - DEBUG - VN ctest-vn-00253978 is not present in Agent 10.0.0.38 2025-11-21 17:51:58,355 - INFO - Validated that VN ctest-vn-00253978 is not in any agent 2025-11-21 17:51:58,371 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-00253978 info 2025-11-21 17:51:58,629 - DEBUG - No XMPP flaps were noticed during the test 2025-11-21 17:51:58,629 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36] 2025-11-21 17:51:58,629 - INFO - -------------------------------------------------------------------------------- 2025-11-21 17:51:59,386 - INFO - Deleted project: ctest-TestBasicPolicy-54950600, ID : e034ec91-f8b3-4704-bc70-14f465db4c76