2025-10-12 07:31:49,719 - INFO - Domain Default found not creating 2025-10-12 07:31:50,063 - INFO - Project ctest-TestBasicPolicy-52833540 not found, creating it 2025-10-12 07:31:50,885 - INFO - Created Project:ctest-TestBasicPolicy-52833540, ID : b6d92b10-11b9-41e2-8197-c6801509b8b6 2025-10-12 07:31:52,920 - INFO - ================================================================================ 2025-10-12 07:31:52,921 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-12 07:31:52,921 - 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-12 07:31:53,258 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.254': '0'}} with 2025-10-12 07:31:53,258 - INFO - Initial checks done. Running the testcase now 2025-10-12 07:31:53,259 - INFO - 2025-10-12 07:31:54,143 - DEBUG - Response for create_network : {'network': {'id': '60c576a1-958c-4a51-aae8-49dd6fd6f42f', 'name': 'ctest-vn-30838724', 'tenant_id': 'b6d92b1011b941e28197c6801509b8b6', 'project_id': 'b6d92b1011b941e28197c6801509b8b6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52833540', 'ctest-vn-30838724'], 'port_security_enabled': True, 'description': ''}} 2025-10-12 07:31:54,348 - DEBUG - Response for create_subnet : {'subnet': {'id': '6c0c8ba0-d744-4afa-8cc5-f383b83a8769', 'name': '', 'tenant_id': 'b6d92b1011b941e28197c6801509b8b6', 'network_id': '60c576a1-958c-4a51-aae8-49dd6fd6f42f', 'ip_version': 4, 'cidr': '82.10.233.192/26', 'allocation_pools': [{'start': '82.10.233.194', 'end': '82.10.233.254'}], 'gateway_ip': '82.10.233.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '82.10.233.194', 'tags': [], 'project_id': 'b6d92b1011b941e28197c6801509b8b6'}} 2025-10-12 07:31:54,373 - INFO - Created VN ctest-vn-30838724 2025-10-12 07:31:54,429 - DEBUG - VN ctest-vn-30838724 UUID is 60c576a1-958c-4a51-aae8-49dd6fd6f42f 2025-10-12 07:31:54,814 - DEBUG - Response for create_network : {'network': {'id': 'df077c03-efa5-4058-ab0c-5f25385a9a0b', 'name': 'ctest-vn-25558594', 'tenant_id': 'b6d92b1011b941e28197c6801509b8b6', 'project_id': 'b6d92b1011b941e28197c6801509b8b6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52833540', 'ctest-vn-25558594'], 'port_security_enabled': True, 'description': ''}} 2025-10-12 07:31:54,996 - DEBUG - Response for create_subnet : {'subnet': {'id': '5743c1d3-0cd6-4baa-acf8-7a4c7ca5e468', 'name': '', 'tenant_id': 'b6d92b1011b941e28197c6801509b8b6', 'network_id': 'df077c03-efa5-4058-ab0c-5f25385a9a0b', 'ip_version': 4, 'cidr': '76.55.17.0/26', 'allocation_pools': [{'start': '76.55.17.2', 'end': '76.55.17.62'}], 'gateway_ip': '76.55.17.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '76.55.17.2', 'tags': [], 'project_id': 'b6d92b1011b941e28197c6801509b8b6'}} 2025-10-12 07:31:55,015 - INFO - Created VN ctest-vn-25558594 2025-10-12 07:31:55,068 - DEBUG - VN ctest-vn-25558594 UUID is df077c03-efa5-4058-ab0c-5f25385a9a0b 2025-10-12 07:31:55,243 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-52833540:ctest-vn-30838724, 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-52833540:ctest-vn-25558594, 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-12 07:31:55,715 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '60c576a1-958c-4a51-aae8-49dd6fd6f42f', 'name': 'ctest-vn-30838724', 'tenant_id': 'b6d92b1011b941e28197c6801509b8b6', 'project_id': 'b6d92b1011b941e28197c6801509b8b6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6c0c8ba0-d744-4afa-8cc5-f383b83a8769'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52833540', 'ctest-vn-30838724'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-52833540', 'ctest-policy-allow-all-16341604']], 'subnet_ipam': [{'subnet_cidr': '82.10.233.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-12 07:31:56,038 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'df077c03-efa5-4058-ab0c-5f25385a9a0b', 'name': 'ctest-vn-25558594', 'tenant_id': 'b6d92b1011b941e28197c6801509b8b6', 'project_id': 'b6d92b1011b941e28197c6801509b8b6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5743c1d3-0cd6-4baa-acf8-7a4c7ca5e468'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52833540', 'ctest-vn-25558594'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-52833540', 'ctest-policy-allow-all-16341604']], 'subnet_ipam': [{'subnet_cidr': '76.55.17.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-12 07:31:56,197 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-10-12 07:31:56,540 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-10-12 07:31:56,614 - DEBUG - Requesting: http://10.0.0.48:8082/domain/323c2aa9-4b1c-428e-b869-e75875bfdd80 2025-10-12 07:31:56,648 - DEBUG - Requesting: http://10.0.0.48:8082/project/b6d92b10-11b9-41e2-8197-c6801509b8b6 2025-10-12 07:31:56,764 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/60c576a1-958c-4a51-aae8-49dd6fd6f42f 2025-10-12 07:31:56,800 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/60c576a1-958c-4a51-aae8-49dd6fd6f42f 2025-10-12 07:31:56,830 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/e1089079-b25f-481e-bbb4-43563b009417 2025-10-12 07:31:56,853 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/e1089079-b25f-481e-bbb4-43563b009417 2025-10-12 07:31:56,873 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/08e595b6-f8c8-40cb-8111-8cd79dd4251b 2025-10-12 07:31:56,891 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-12 07:31:56,891 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/60c576a1-958c-4a51-aae8-49dd6fd6f42f 2025-10-12 07:31:56,918 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/e1089079-b25f-481e-bbb4-43563b009417 2025-10-12 07:31:56,956 - INFO - Verified VN network id 11 for VN 60c576a1-958c-4a51-aae8-49dd6fd6f42f 2025-10-12 07:31:56,957 - INFO - Verifications in API Server for VN ctest-vn-30838724 passed 2025-10-12 07:31:56,957 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/60c576a1-958c-4a51-aae8-49dd6fd6f42f 2025-10-12 07:31:56,985 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/e1089079-b25f-481e-bbb4-43563b009417 2025-10-12 07:31:57,005 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/e1089079-b25f-481e-bbb4-43563b009417 2025-10-12 07:31:57,025 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/08e595b6-f8c8-40cb-8111-8cd79dd4251b 2025-10-12 07:31:57,058 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-52833540:ctest-vn-30838724', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-52833540', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6973110034423892561', 'uuid-lslong': '12315174396457579567'}, 'enable': 'true', 'created': '2025-10-12T07:31:54', 'last-modified': '2025-10-12T07:31:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.397233'} 2025-10-12 07:31:57,077 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-12 07:31:57,078 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-30838724 passed 2025-10-12 07:31:57,078 - DEBUG - ====Verifying policy data for ctest-vn-30838724 in API_Server ====== 2025-10-12 07:31:57,078 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-10-12 07:31:57,090 - DEBUG - Requesting: http://10.0.0.48:8082/domain/323c2aa9-4b1c-428e-b869-e75875bfdd80 2025-10-12 07:31:57,122 - DEBUG - Requesting: http://10.0.0.48:8082/project/b6d92b10-11b9-41e2-8197-c6801509b8b6 2025-10-12 07:31:57,248 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/60c576a1-958c-4a51-aae8-49dd6fd6f42f 2025-10-12 07:31:57,273 - DEBUG - ==>Verifying data for policy with id: 3e27a8f8-6043-476a-84e8-96b8ed89d294, fqn: ['default-domain', 'ctest-TestBasicPolicy-52833540', 'ctest-policy-allow-all-16341604'] 2025-10-12 07:31:57,273 - INFO - VN ctest-vn-30838724 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-12 07:31:57,274 - DEBUG - Verifying the vn in opserver 2025-10-12 07:31:57,274 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-52833540:ctest-vn-30838724 virtual network link through opserver 10.0.0.48 2025-10-12 07:31:57,274 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-10-12 07:31:57,612 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-10-12 07:31:57,693 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-52833540:ctest-vn-30838724', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-52833540:ctest-vn-30838724?flat'} 2025-10-12 07:31:57,693 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-52833540:ctest-vn-30838724 is found in opserver 2025-10-12 07:31:57,718 - DEBUG - Do not have enough data to verify VN in agent 2025-10-12 07:31:57,731 - DEBUG - VRF ids for VN ctest-vn-30838724: {} 2025-10-12 07:31:57,732 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-10-12 07:31:57,746 - DEBUG - Requesting: http://10.0.0.48:8082/domain/323c2aa9-4b1c-428e-b869-e75875bfdd80 2025-10-12 07:31:57,777 - DEBUG - Requesting: http://10.0.0.48:8082/project/b6d92b10-11b9-41e2-8197-c6801509b8b6 2025-10-12 07:31:57,882 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/df077c03-efa5-4058-ab0c-5f25385a9a0b 2025-10-12 07:31:57,908 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/df077c03-efa5-4058-ab0c-5f25385a9a0b 2025-10-12 07:31:57,930 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/c8745cb9-8d85-4d06-8ddd-9c068e96cb7c 2025-10-12 07:31:57,948 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/c8745cb9-8d85-4d06-8ddd-9c068e96cb7c 2025-10-12 07:31:57,967 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/26b5d97a-193e-4c69-a34e-e0356e4972c5 2025-10-12 07:31:57,986 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-12 07:31:57,986 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/df077c03-efa5-4058-ab0c-5f25385a9a0b 2025-10-12 07:31:58,001 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/c8745cb9-8d85-4d06-8ddd-9c068e96cb7c 2025-10-12 07:31:58,027 - INFO - Verified VN network id 12 for VN df077c03-efa5-4058-ab0c-5f25385a9a0b 2025-10-12 07:31:58,027 - INFO - Verifications in API Server for VN ctest-vn-25558594 passed 2025-10-12 07:31:58,027 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/df077c03-efa5-4058-ab0c-5f25385a9a0b 2025-10-12 07:31:58,042 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/c8745cb9-8d85-4d06-8ddd-9c068e96cb7c 2025-10-12 07:31:58,056 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/c8745cb9-8d85-4d06-8ddd-9c068e96cb7c 2025-10-12 07:31:58,067 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/26b5d97a-193e-4c69-a34e-e0356e4972c5 2025-10-12 07:31:58,087 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-52833540:ctest-vn-25558594', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-52833540', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16070950151642234968', 'uuid-lslong': '12325330893670095371'}, 'enable': 'true', 'created': '2025-10-12T07:31:54', 'last-modified': '2025-10-12T07:31:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.080576'} 2025-10-12 07:31:58,096 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-12 07:31:58,096 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-25558594 passed 2025-10-12 07:31:58,097 - DEBUG - ====Verifying policy data for ctest-vn-25558594 in API_Server ====== 2025-10-12 07:31:58,097 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-10-12 07:31:58,106 - DEBUG - Requesting: http://10.0.0.48:8082/domain/323c2aa9-4b1c-428e-b869-e75875bfdd80 2025-10-12 07:31:58,124 - DEBUG - Requesting: http://10.0.0.48:8082/project/b6d92b10-11b9-41e2-8197-c6801509b8b6 2025-10-12 07:31:58,214 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/df077c03-efa5-4058-ab0c-5f25385a9a0b 2025-10-12 07:31:58,228 - DEBUG - ==>Verifying data for policy with id: 3e27a8f8-6043-476a-84e8-96b8ed89d294, fqn: ['default-domain', 'ctest-TestBasicPolicy-52833540', 'ctest-policy-allow-all-16341604'] 2025-10-12 07:31:58,228 - INFO - VN ctest-vn-25558594 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-12 07:31:58,229 - DEBUG - Verifying the vn in opserver 2025-10-12 07:31:58,229 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-52833540:ctest-vn-25558594 virtual network link through opserver 10.0.0.48 2025-10-12 07:31:58,229 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-10-12 07:31:58,243 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-52833540:ctest-vn-25558594', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-52833540:ctest-vn-25558594?flat'} 2025-10-12 07:31:58,243 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-52833540:ctest-vn-25558594 is found in opserver 2025-10-12 07:31:58,258 - DEBUG - Do not have enough data to verify VN in agent 2025-10-12 07:31:58,265 - DEBUG - VRF ids for VN ctest-vn-25558594: {} 2025-10-12 07:31:58,358 - DEBUG - Services list from nova: [, , ] 2025-10-12 07:31:59,670 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4291-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4291-1) 2025-10-12 07:32:01,025 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4291-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4291-1) 2025-10-12 07:32:01,026 - INFO - Waiting for VM ctest-TestBasicPolicy-52833540-99188570 to be up.. 2025-10-12 07:32:01,125 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-12 07:32:06,283 - DEBUG - VM is in ACTIVE state now 2025-10-12 07:32:06,283 - INFO - VM name : ctest-TestBasicPolicy-52833540-99188570 2025-10-12 07:32:06,424 - DEBUG - VM ctest-TestBasicPolicy-52833540-99188570 ID is d76fa4e1-2a40-47fe-8bcc-611f55834843 2025-10-12 07:32:06,451 - DEBUG - VM ctest-TestBasicPolicy-52833540-99188570 launched on Node cn-jenkins-deploy-platform-ansible-os-4291-1 2025-10-12 07:32:06,530 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/d76fa4e1-2a40-47fe-8bcc-611f55834843 2025-10-12 07:32:06,538 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/1e32c401-1489-4be4-a545-737e0ad92dd4 2025-10-12 07:32:09,814 - 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 1016ms') 2025-10-12 07:32:09,814 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-52833540-99188570 failed! 2025-10-12 07:32:09,877 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-52833540:ctest-vn-30838724 is 82.10.233.193 and allocation pool is NOT set 2025-10-12 07:32:11,967 - 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=20.0 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=4.29 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 = 4.288/12.143/19.999/7.855 ms') 2025-10-12 07:32:11,967 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-52833540-99188570 passed 2025-10-12 07:32:12,121 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-12 07:32:12,121 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-52833540-99188570, IP 82.10.233.195, Port 22 2025-10-12 07:32:12,295 - DEBUG - VM ctest-TestBasicPolicy-52833540-99188570 is ready for SSH connections 2025-10-12 07:32:12,295 - INFO - Waiting for VM ctest-TestBasicPolicy-52833540-08461970 to be up.. 2025-10-12 07:32:12,410 - DEBUG - VM is in ACTIVE state now 2025-10-12 07:32:12,410 - INFO - VM name : ctest-TestBasicPolicy-52833540-08461970 2025-10-12 07:32:12,519 - DEBUG - VM ctest-TestBasicPolicy-52833540-08461970 ID is 9e9b5c03-2479-4100-9871-a1edb74965ff 2025-10-12 07:32:12,519 - DEBUG - VM ctest-TestBasicPolicy-52833540-08461970 launched on Node cn-jenkins-deploy-platform-ansible-os-4291-1 2025-10-12 07:32:12,610 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/9e9b5c03-2479-4100-9871-a1edb74965ff 2025-10-12 07:32:12,632 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/5f142a46-733b-4105-b6e4-f31035380bf9 2025-10-12 07:32:13,886 - 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.69 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.09 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 = 1.093/2.893/4.694/1.800 ms') 2025-10-12 07:32:13,886 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-52833540-08461970 passed 2025-10-12 07:32:14,052 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-12 07:32:14,053 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-52833540-08461970, IP 76.55.17.3, Port 22 2025-10-12 07:32:14,131 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-12 07:32:14,268 - DEBUG - VM ctest-TestBasicPolicy-52833540-08461970 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-12 07:32:19,270 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-12 07:32:19,270 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-52833540-08461970, IP 76.55.17.3, Port 22 2025-10-12 07:32:19,478 - DEBUG - VM ctest-TestBasicPolicy-52833540-08461970 is ready for SSH connections 2025-10-12 07:32:19,478 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-12 07:32:19,478 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 76.55.17.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-10-12 07:32:19,478 - DEBUG - ping -s 56 -c 3 -W 1 76.55.17.3 2025-10-12 07:32:23,971 - DEBUG - PING 76.55.17.3 (76.55.17.3): 56 data bytes 64 bytes from 76.55.17.3: seq=0 ttl=63 time=4.722 ms 64 bytes from 76.55.17.3: seq=1 ttl=63 time=1.798 ms 64 bytes from 76.55.17.3: seq=2 ttl=63 time=1.903 ms --- 76.55.17.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.798/2.807/4.722 ms 2025-10-12 07:32:23,971 - INFO - Ping to IP 76.55.17.3 from VM ctest-TestBasicPolicy-52833540-99188570 passed 2025-10-12 07:32:24,229 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3e27a8f8-6043-476a-84e8-96b8ed89d294", "href": "http://10.0.0.48:8082/network-policy/3e27a8f8-6043-476a-84e8-96b8ed89d294"}} 2025-10-12 07:32:24,229 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-12 07:32:24,229 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 76.55.17.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-10-12 07:32:24,230 - DEBUG - ping -s 56 -c 3 -W 1 76.55.17.3 2025-10-12 07:32:27,502 - DEBUG - PING 76.55.17.3 (76.55.17.3): 56 data bytes --- 76.55.17.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-12 07:32:27,503 - WARNING - Ping to IP 76.55.17.3 from VM ctest-TestBasicPolicy-52833540-99188570 failed 2025-10-12 07:32:27,503 - INFO - Deleting VM ctest-TestBasicPolicy-52833540-08461970 2025-10-12 07:32:27,637 - INFO - Deleting VM ctest-TestBasicPolicy-52833540-99188570 2025-10-12 07:32:28,227 - INFO - Deleted policy ctest-policy-allow-all-16341604 2025-10-12 07:32:28,227 - INFO - Deleting VN ctest-vn-25558594 2025-10-12 07:32:28,268 - DEBUG - VN df077c03-efa5-4058-ab0c-5f25385a9a0b still in use: Unable to complete operation on network df077c03-efa5-4058-ab0c-5f25385a9a0b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-dcbe6b92-e9d5-47ec-8ca2-1c920d6ae26c'] 2025-10-12 07:32:28,268 - WARNING - Deleting VN ctest-vn-25558594 failed..Will retry 2025-10-12 07:32:30,463 - DEBUG - Response for deleting network () 2025-10-12 07:32:30,463 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/c8745cb9-8d85-4d06-8ddd-9c068e96cb7c 2025-10-12 07:32:30,469 - DEBUG - Response Code: 404 2025-10-12 07:32:30,469 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-10-12 07:32:30,476 - DEBUG - Requesting: http://10.0.0.48:8082/domain/323c2aa9-4b1c-428e-b869-e75875bfdd80 2025-10-12 07:32:30,539 - DEBUG - Requesting: http://10.0.0.48:8082/project/b6d92b10-11b9-41e2-8197-c6801509b8b6 2025-10-12 07:32:30,632 - INFO - Validated that VN ctest-vn-25558594 is not found in API Server 2025-10-12 07:32:30,647 - DEBUG - VN ctest-vn-25558594 is not present in Agent 10.0.0.48 2025-10-12 07:32:30,647 - INFO - Validated that VN ctest-vn-25558594 is not in any agent 2025-10-12 07:32:30,667 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-25558594 info 2025-10-12 07:32:30,667 - INFO - Deleting VN ctest-vn-30838724 2025-10-12 07:32:30,800 - DEBUG - Response for deleting network () 2025-10-12 07:32:30,800 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/e1089079-b25f-481e-bbb4-43563b009417 2025-10-12 07:32:30,809 - DEBUG - Response Code: 404 2025-10-12 07:32:30,810 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-10-12 07:32:30,815 - DEBUG - Requesting: http://10.0.0.48:8082/domain/323c2aa9-4b1c-428e-b869-e75875bfdd80 2025-10-12 07:32:30,870 - DEBUG - Requesting: http://10.0.0.48:8082/project/b6d92b10-11b9-41e2-8197-c6801509b8b6 2025-10-12 07:32:30,952 - INFO - Validated that VN ctest-vn-30838724 is not found in API Server 2025-10-12 07:32:30,964 - DEBUG - VN ctest-vn-30838724 is not present in Agent 10.0.0.48 2025-10-12 07:32:30,964 - INFO - Validated that VN ctest-vn-30838724 is not in any agent 2025-10-12 07:32:30,981 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-30838724 info 2025-10-12 07:32:31,271 - DEBUG - No XMPP flaps were noticed during the test 2025-10-12 07:32:31,271 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:39] 2025-10-12 07:32:31,271 - INFO - -------------------------------------------------------------------------------- 2025-10-12 07:32:32,160 - INFO - Deleted project: ctest-TestBasicPolicy-52833540, ID : b6d92b10-11b9-41e2-8197-c6801509b8b6