2025-10-05 18:52:05,528 - INFO - Domain Default found not creating 2025-10-05 18:52:05,645 - INFO - Project ctest-TestBasicPolicy-94497914 not found, creating it 2025-10-05 18:52:06,120 - INFO - Created Project:ctest-TestBasicPolicy-94497914, ID : deb56109-808b-4888-9533-6110464626f2 2025-10-05 18:52:07,421 - INFO - ================================================================================ 2025-10-05 18:52:07,422 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-05 18:52:07,422 - 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-05 18:52:07,673 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-05 18:52:07,673 - INFO - Initial checks done. Running the testcase now 2025-10-05 18:52:07,673 - INFO - 2025-10-05 18:52:08,169 - DEBUG - Response for create_network : {'network': {'id': 'cac8e01b-9a03-420d-a93f-ee2741870044', 'name': 'ctest-vn-68439197', 'tenant_id': 'deb56109808b488895336110464626f2', 'project_id': 'deb56109808b488895336110464626f2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94497914', 'ctest-vn-68439197'], 'port_security_enabled': True, 'description': ''}} 2025-10-05 18:52:08,376 - DEBUG - Response for create_subnet : {'subnet': {'id': '2356dd0d-286a-4dcf-89c7-2129cdfdc1d6', 'name': '', 'tenant_id': 'deb56109808b488895336110464626f2', 'network_id': 'cac8e01b-9a03-420d-a93f-ee2741870044', 'ip_version': 4, 'cidr': '211.75.166.192/26', 'allocation_pools': [{'start': '211.75.166.194', 'end': '211.75.166.254'}], 'gateway_ip': '211.75.166.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.75.166.194', 'tags': [], 'project_id': 'deb56109808b488895336110464626f2'}} 2025-10-05 18:52:08,390 - INFO - Created VN ctest-vn-68439197 2025-10-05 18:52:08,439 - DEBUG - VN ctest-vn-68439197 UUID is cac8e01b-9a03-420d-a93f-ee2741870044 2025-10-05 18:52:08,721 - DEBUG - Response for create_network : {'network': {'id': '53470f44-049c-4cec-9213-7ace7c560c63', 'name': 'ctest-vn-01751164', 'tenant_id': 'deb56109808b488895336110464626f2', 'project_id': 'deb56109808b488895336110464626f2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94497914', 'ctest-vn-01751164'], 'port_security_enabled': True, 'description': ''}} 2025-10-05 18:52:08,902 - DEBUG - Response for create_subnet : {'subnet': {'id': '3bc114b9-3df3-4887-b99c-c3a84a45ded4', 'name': '', 'tenant_id': 'deb56109808b488895336110464626f2', 'network_id': '53470f44-049c-4cec-9213-7ace7c560c63', 'ip_version': 4, 'cidr': '89.15.221.64/26', 'allocation_pools': [{'start': '89.15.221.66', 'end': '89.15.221.126'}], 'gateway_ip': '89.15.221.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.15.221.66', 'tags': [], 'project_id': 'deb56109808b488895336110464626f2'}} 2025-10-05 18:52:08,916 - INFO - Created VN ctest-vn-01751164 2025-10-05 18:52:08,967 - DEBUG - VN ctest-vn-01751164 UUID is 53470f44-049c-4cec-9213-7ace7c560c63 2025-10-05 18:52:09,107 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-94497914:ctest-vn-68439197, 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-94497914:ctest-vn-01751164, 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-05 18:52:09,380 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cac8e01b-9a03-420d-a93f-ee2741870044', 'name': 'ctest-vn-68439197', 'tenant_id': 'deb56109808b488895336110464626f2', 'project_id': 'deb56109808b488895336110464626f2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2356dd0d-286a-4dcf-89c7-2129cdfdc1d6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94497914', 'ctest-vn-68439197'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-94497914', 'ctest-policy-allow-all-52998030']], 'subnet_ipam': [{'subnet_cidr': '211.75.166.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-05 18:52:09,635 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '53470f44-049c-4cec-9213-7ace7c560c63', 'name': 'ctest-vn-01751164', 'tenant_id': 'deb56109808b488895336110464626f2', 'project_id': 'deb56109808b488895336110464626f2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3bc114b9-3df3-4887-b99c-c3a84a45ded4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94497914', 'ctest-vn-01751164'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-94497914', 'ctest-policy-allow-all-52998030']], 'subnet_ipam': [{'subnet_cidr': '89.15.221.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-05 18:52:09,783 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-05 18:52:10,072 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-05 18:52:10,096 - DEBUG - Requesting: http://10.0.0.254:8082/domain/995b2b3b-a114-42d5-a9a0-da3b5cc5c114 2025-10-05 18:52:10,106 - DEBUG - Requesting: http://10.0.0.254:8082/project/deb56109-808b-4888-9533-6110464626f2 2025-10-05 18:52:10,171 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/cac8e01b-9a03-420d-a93f-ee2741870044 2025-10-05 18:52:10,179 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/cac8e01b-9a03-420d-a93f-ee2741870044 2025-10-05 18:52:10,186 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ae79edb2-30d7-46d6-88fc-c5b8ba5be52a 2025-10-05 18:52:10,195 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ae79edb2-30d7-46d6-88fc-c5b8ba5be52a 2025-10-05 18:52:10,201 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/14533630-c36f-4c7d-a607-f59eed9eb050 2025-10-05 18:52:10,207 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-05 18:52:10,207 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/cac8e01b-9a03-420d-a93f-ee2741870044 2025-10-05 18:52:10,214 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ae79edb2-30d7-46d6-88fc-c5b8ba5be52a 2025-10-05 18:52:10,226 - INFO - Verified VN network id 12 for VN cac8e01b-9a03-420d-a93f-ee2741870044 2025-10-05 18:52:10,226 - INFO - Verifications in API Server for VN ctest-vn-68439197 passed 2025-10-05 18:52:10,227 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/cac8e01b-9a03-420d-a93f-ee2741870044 2025-10-05 18:52:10,235 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ae79edb2-30d7-46d6-88fc-c5b8ba5be52a 2025-10-05 18:52:10,242 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ae79edb2-30d7-46d6-88fc-c5b8ba5be52a 2025-10-05 18:52:10,248 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/14533630-c36f-4c7d-a607-f59eed9eb050 2025-10-05 18:52:10,259 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94497914:ctest-vn-68439197', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94497914', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14612175400156217869', 'uuid-lslong': '12195728168313094212'}, 'enable': 'true', 'created': '2025-10-05T18:52:08', 'last-modified': '2025-10-05T18:52:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.899192'} 2025-10-05 18:52:10,265 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-05 18:52:10,265 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68439197 passed 2025-10-05 18:52:10,265 - DEBUG - ====Verifying policy data for ctest-vn-68439197 in API_Server ====== 2025-10-05 18:52:10,265 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-05 18:52:10,270 - DEBUG - Requesting: http://10.0.0.254:8082/domain/995b2b3b-a114-42d5-a9a0-da3b5cc5c114 2025-10-05 18:52:10,280 - DEBUG - Requesting: http://10.0.0.254:8082/project/deb56109-808b-4888-9533-6110464626f2 2025-10-05 18:52:10,353 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/cac8e01b-9a03-420d-a93f-ee2741870044 2025-10-05 18:52:10,361 - DEBUG - ==>Verifying data for policy with id: d7c166f1-f581-46fc-a3cd-fd6e01fc7707, fqn: ['default-domain', 'ctest-TestBasicPolicy-94497914', 'ctest-policy-allow-all-52998030'] 2025-10-05 18:52:10,361 - INFO - VN ctest-vn-68439197 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-05 18:52:10,361 - DEBUG - Verifying the vn in opserver 2025-10-05 18:52:10,361 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94497914:ctest-vn-68439197 virtual network link through opserver 10.0.0.254 2025-10-05 18:52:10,362 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-05 18:52:10,647 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-05 18:52:10,692 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94497914:ctest-vn-68439197', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94497914:ctest-vn-68439197?flat'} 2025-10-05 18:52:10,693 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-94497914:ctest-vn-68439197 is found in opserver 2025-10-05 18:52:10,700 - DEBUG - Do not have enough data to verify VN in agent 2025-10-05 18:52:10,704 - DEBUG - VRF ids for VN ctest-vn-68439197: {} 2025-10-05 18:52:10,704 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-05 18:52:10,708 - DEBUG - Requesting: http://10.0.0.254:8082/domain/995b2b3b-a114-42d5-a9a0-da3b5cc5c114 2025-10-05 18:52:10,717 - DEBUG - Requesting: http://10.0.0.254:8082/project/deb56109-808b-4888-9533-6110464626f2 2025-10-05 18:52:10,782 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/53470f44-049c-4cec-9213-7ace7c560c63 2025-10-05 18:52:10,791 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/53470f44-049c-4cec-9213-7ace7c560c63 2025-10-05 18:52:10,803 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/123cc9cb-d62a-4480-b612-a6f157821bb4 2025-10-05 18:52:10,810 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/123cc9cb-d62a-4480-b612-a6f157821bb4 2025-10-05 18:52:10,815 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/d7fd0503-b755-4563-8b63-5c8dbc8bc2bb 2025-10-05 18:52:10,820 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-05 18:52:10,820 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/53470f44-049c-4cec-9213-7ace7c560c63 2025-10-05 18:52:10,828 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/123cc9cb-d62a-4480-b612-a6f157821bb4 2025-10-05 18:52:10,838 - INFO - Verified VN network id 13 for VN 53470f44-049c-4cec-9213-7ace7c560c63 2025-10-05 18:52:10,838 - INFO - Verifications in API Server for VN ctest-vn-01751164 passed 2025-10-05 18:52:10,839 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/53470f44-049c-4cec-9213-7ace7c560c63 2025-10-05 18:52:10,846 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/123cc9cb-d62a-4480-b612-a6f157821bb4 2025-10-05 18:52:10,852 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/123cc9cb-d62a-4480-b612-a6f157821bb4 2025-10-05 18:52:10,857 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/d7fd0503-b755-4563-8b63-5c8dbc8bc2bb 2025-10-05 18:52:10,866 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94497914:ctest-vn-01751164', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94497914', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6000781813304020204', 'uuid-lslong': '10525891781362846819'}, 'enable': 'true', 'created': '2025-10-05T18:52:08', 'last-modified': '2025-10-05T18:52:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.294739'} 2025-10-05 18:52:10,871 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-05 18:52:10,871 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-01751164 passed 2025-10-05 18:52:10,871 - DEBUG - ====Verifying policy data for ctest-vn-01751164 in API_Server ====== 2025-10-05 18:52:10,871 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-05 18:52:10,876 - DEBUG - Requesting: http://10.0.0.254:8082/domain/995b2b3b-a114-42d5-a9a0-da3b5cc5c114 2025-10-05 18:52:10,884 - DEBUG - Requesting: http://10.0.0.254:8082/project/deb56109-808b-4888-9533-6110464626f2 2025-10-05 18:52:10,949 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/53470f44-049c-4cec-9213-7ace7c560c63 2025-10-05 18:52:10,956 - DEBUG - ==>Verifying data for policy with id: d7c166f1-f581-46fc-a3cd-fd6e01fc7707, fqn: ['default-domain', 'ctest-TestBasicPolicy-94497914', 'ctest-policy-allow-all-52998030'] 2025-10-05 18:52:10,956 - INFO - VN ctest-vn-01751164 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-05 18:52:10,956 - DEBUG - Verifying the vn in opserver 2025-10-05 18:52:10,956 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94497914:ctest-vn-01751164 virtual network link through opserver 10.0.0.254 2025-10-05 18:52:10,956 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-05 18:52:10,963 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94497914:ctest-vn-01751164', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94497914:ctest-vn-01751164?flat'} 2025-10-05 18:52:10,963 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-94497914:ctest-vn-01751164 is found in opserver 2025-10-05 18:52:10,971 - DEBUG - Do not have enough data to verify VN in agent 2025-10-05 18:52:10,974 - DEBUG - VRF ids for VN ctest-vn-01751164: {} 2025-10-05 18:52:11,021 - DEBUG - Services list from nova: [, , ] 2025-10-05 18:52:11,986 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4214-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4214-1) 2025-10-05 18:52:13,007 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4214-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4214-1) 2025-10-05 18:52:13,008 - INFO - Waiting for VM ctest-TestBasicPolicy-94497914-21189844 to be up.. 2025-10-05 18:52:13,072 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-05 18:52:18,137 - DEBUG - VM is in ACTIVE state now 2025-10-05 18:52:18,137 - INFO - VM name : ctest-TestBasicPolicy-94497914-21189844 2025-10-05 18:52:18,200 - DEBUG - VM ctest-TestBasicPolicy-94497914-21189844 ID is 245c0219-04dc-4c2a-9f4d-4b871c419902 2025-10-05 18:52:18,216 - DEBUG - VM ctest-TestBasicPolicy-94497914-21189844 launched on Node cn-jenkins-deploy-platform-ansible-os-4214-1 2025-10-05 18:52:18,278 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/245c0219-04dc-4c2a-9f4d-4b871c419902 2025-10-05 18:52:18,285 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/10994389-434c-4e64-9e7b-cffbe0063843 2025-10-05 18:52:21,530 - 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 1024ms') 2025-10-05 18:52:21,530 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94497914-21189844 failed! 2025-10-05 18:52:21,583 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-94497914:ctest-vn-68439197 is 211.75.166.193 and allocation pool is NOT set 2025-10-05 18:52:23,647 - 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=5.15 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.396 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.396/2.770/5.145/2.374 ms') 2025-10-05 18:52:23,647 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94497914-21189844 passed 2025-10-05 18:52:23,799 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-05 18:52:23,799 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-94497914-21189844, IP 211.75.166.195, Port 22 2025-10-05 18:52:23,955 - DEBUG - VM ctest-TestBasicPolicy-94497914-21189844 is ready for SSH connections 2025-10-05 18:52:23,955 - INFO - Waiting for VM ctest-TestBasicPolicy-94497914-45744660 to be up.. 2025-10-05 18:52:24,021 - DEBUG - VM is in ACTIVE state now 2025-10-05 18:52:24,021 - INFO - VM name : ctest-TestBasicPolicy-94497914-45744660 2025-10-05 18:52:24,080 - DEBUG - VM ctest-TestBasicPolicy-94497914-45744660 ID is 573b4fe4-8935-4022-a57f-acf156c72933 2025-10-05 18:52:24,080 - DEBUG - VM ctest-TestBasicPolicy-94497914-45744660 launched on Node cn-jenkins-deploy-platform-ansible-os-4214-1 2025-10-05 18:52:24,140 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/573b4fe4-8935-4022-a57f-acf156c72933 2025-10-05 18:52:24,146 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/cf62acf7-4957-4c68-9174-4e760f829331 2025-10-05 18:52:25,377 - 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.97 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.60 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.598/3.281/4.965/1.683 ms') 2025-10-05 18:52:25,377 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-94497914-45744660 passed 2025-10-05 18:52:25,527 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-05 18:52:25,527 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-94497914-45744660, IP 89.15.221.67, Port 22 2025-10-05 18:52:25,678 - DEBUG - VM ctest-TestBasicPolicy-94497914-45744660 is ready for SSH connections 2025-10-05 18:52:25,679 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-05 18:52:25,679 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 89.15.221.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-05 18:52:25,679 - DEBUG - ping -s 56 -c 3 -W 1 89.15.221.67 2025-10-05 18:52:29,345 - DEBUG - PING 89.15.221.67 (89.15.221.67): 56 data bytes 64 bytes from 89.15.221.67: seq=0 ttl=63 time=3.671 ms 64 bytes from 89.15.221.67: seq=1 ttl=63 time=0.933 ms 64 bytes from 89.15.221.67: seq=2 ttl=63 time=0.690 ms --- 89.15.221.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.690/1.764/3.671 ms 2025-10-05 18:52:29,345 - INFO - Ping to IP 89.15.221.67 from VM ctest-TestBasicPolicy-94497914-21189844 passed 2025-10-05 18:52:29,519 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d7c166f1-f581-46fc-a3cd-fd6e01fc7707", "href": "http://10.0.0.254:8082/network-policy/d7c166f1-f581-46fc-a3cd-fd6e01fc7707"}} 2025-10-05 18:52:29,519 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-05 18:52:29,519 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 89.15.221.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-05 18:52:29,519 - DEBUG - ping -s 56 -c 3 -W 1 89.15.221.67 2025-10-05 18:52:32,722 - DEBUG - PING 89.15.221.67 (89.15.221.67): 56 data bytes 64 bytes from 89.15.221.67: seq=0 ttl=63 time=1.221 ms --- 89.15.221.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.221/1.221/1.221 ms 2025-10-05 18:52:32,722 - WARNING - Ping to IP 89.15.221.67 from VM ctest-TestBasicPolicy-94497914-21189844 failed 2025-10-05 18:52:32,723 - INFO - Deleting VM ctest-TestBasicPolicy-94497914-45744660 2025-10-05 18:52:32,788 - INFO - Deleting VM ctest-TestBasicPolicy-94497914-21189844 2025-10-05 18:52:33,123 - INFO - Deleted policy ctest-policy-allow-all-52998030 2025-10-05 18:52:33,123 - INFO - Deleting VN ctest-vn-01751164 2025-10-05 18:52:33,155 - DEBUG - VN 53470f44-049c-4cec-9213-7ace7c560c63 still in use: Unable to complete operation on network 53470f44-049c-4cec-9213-7ace7c560c63. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9775ceb1-d03b-4342-83ac-3a801b66bbe2'] 2025-10-05 18:52:33,155 - WARNING - Deleting VN ctest-vn-01751164 failed..Will retry 2025-10-05 18:52:35,250 - DEBUG - Response for deleting network () 2025-10-05 18:52:35,250 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/123cc9cb-d62a-4480-b612-a6f157821bb4 2025-10-05 18:52:35,255 - DEBUG - Response Code: 404 2025-10-05 18:52:35,256 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-05 18:52:35,260 - DEBUG - Requesting: http://10.0.0.254:8082/domain/995b2b3b-a114-42d5-a9a0-da3b5cc5c114 2025-10-05 18:52:35,312 - DEBUG - Requesting: http://10.0.0.254:8082/project/deb56109-808b-4888-9533-6110464626f2 2025-10-05 18:52:35,377 - INFO - Validated that VN ctest-vn-01751164 is not found in API Server 2025-10-05 18:52:35,386 - DEBUG - VN ctest-vn-01751164 is not present in Agent 10.0.0.254 2025-10-05 18:52:35,386 - INFO - Validated that VN ctest-vn-01751164 is not in any agent 2025-10-05 18:52:35,397 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-01751164 info 2025-10-05 18:52:35,397 - INFO - Deleting VN ctest-vn-68439197 2025-10-05 18:52:35,482 - DEBUG - Response for deleting network () 2025-10-05 18:52:35,482 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ae79edb2-30d7-46d6-88fc-c5b8ba5be52a 2025-10-05 18:52:35,488 - DEBUG - Response Code: 404 2025-10-05 18:52:35,488 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-05 18:52:35,492 - DEBUG - Requesting: http://10.0.0.254:8082/domain/995b2b3b-a114-42d5-a9a0-da3b5cc5c114 2025-10-05 18:52:35,544 - DEBUG - Requesting: http://10.0.0.254:8082/project/deb56109-808b-4888-9533-6110464626f2 2025-10-05 18:52:35,619 - INFO - Validated that VN ctest-vn-68439197 is not found in API Server 2025-10-05 18:52:35,628 - DEBUG - VN ctest-vn-68439197 is not present in Agent 10.0.0.254 2025-10-05 18:52:35,628 - INFO - Validated that VN ctest-vn-68439197 is not in any agent 2025-10-05 18:52:35,641 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-68439197 info 2025-10-05 18:52:35,891 - DEBUG - No XMPP flaps were noticed during the test 2025-10-05 18:52:35,891 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:28] 2025-10-05 18:52:35,891 - INFO - -------------------------------------------------------------------------------- 2025-10-05 18:52:36,907 - INFO - Deleted project: ctest-TestBasicPolicy-94497914, ID : deb56109-808b-4888-9533-6110464626f2