2025-06-01 18:00:17,696 - INFO - Domain Default found not creating 2025-06-01 18:00:17,831 - INFO - Project ctest-TestBasicPolicy-02506064 not found, creating it 2025-06-01 18:00:18,270 - INFO - Created Project:ctest-TestBasicPolicy-02506064, ID : 178bd3fb-c690-4d1a-b89b-857e07781f80 2025-06-01 18:00:19,795 - INFO - ================================================================================ 2025-06-01 18:00:19,796 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-01 18:00:19,796 - 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-06-01 18:00:20,051 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-06-01 18:00:20,051 - INFO - Initial checks done. Running the testcase now 2025-06-01 18:00:20,051 - INFO - 2025-06-01 18:00:20,631 - DEBUG - Response for create_network : {'network': {'id': 'f8a1f80b-d7b8-4b7b-951a-c7e69c449110', 'name': 'ctest-vn-12148588', 'tenant_id': '178bd3fbc6904d1ab89b857e07781f80', 'project_id': '178bd3fbc6904d1ab89b857e07781f80', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02506064', 'ctest-vn-12148588'], 'port_security_enabled': True, 'description': ''}} 2025-06-01 18:00:20,823 - DEBUG - Response for create_subnet : {'subnet': {'id': '9846b4c7-3612-409d-9661-71a32e9410fd', 'name': '', 'tenant_id': '178bd3fbc6904d1ab89b857e07781f80', 'network_id': 'f8a1f80b-d7b8-4b7b-951a-c7e69c449110', 'ip_version': 4, 'cidr': '104.88.206.0/26', 'allocation_pools': [{'start': '104.88.206.2', 'end': '104.88.206.62'}], 'gateway_ip': '104.88.206.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.88.206.2', 'tags': [], 'project_id': '178bd3fbc6904d1ab89b857e07781f80'}} 2025-06-01 18:00:20,841 - INFO - Created VN ctest-vn-12148588 2025-06-01 18:00:20,892 - DEBUG - VN ctest-vn-12148588 UUID is f8a1f80b-d7b8-4b7b-951a-c7e69c449110 2025-06-01 18:00:21,217 - DEBUG - Response for create_network : {'network': {'id': '312e4d57-5ea8-4709-9422-1ba44a801268', 'name': 'ctest-vn-60284680', 'tenant_id': '178bd3fbc6904d1ab89b857e07781f80', 'project_id': '178bd3fbc6904d1ab89b857e07781f80', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02506064', 'ctest-vn-60284680'], 'port_security_enabled': True, 'description': ''}} 2025-06-01 18:00:21,406 - DEBUG - Response for create_subnet : {'subnet': {'id': '15387b73-5689-434d-a1c0-e4f7a71c5f89', 'name': '', 'tenant_id': '178bd3fbc6904d1ab89b857e07781f80', 'network_id': '312e4d57-5ea8-4709-9422-1ba44a801268', 'ip_version': 4, 'cidr': '205.36.58.64/26', 'allocation_pools': [{'start': '205.36.58.66', 'end': '205.36.58.126'}], 'gateway_ip': '205.36.58.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '205.36.58.66', 'tags': [], 'project_id': '178bd3fbc6904d1ab89b857e07781f80'}} 2025-06-01 18:00:21,423 - INFO - Created VN ctest-vn-60284680 2025-06-01 18:00:21,476 - DEBUG - VN ctest-vn-60284680 UUID is 312e4d57-5ea8-4709-9422-1ba44a801268 2025-06-01 18:00:21,589 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-02506064:ctest-vn-12148588, 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-02506064:ctest-vn-60284680, 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-06-01 18:00:21,896 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f8a1f80b-d7b8-4b7b-951a-c7e69c449110', 'name': 'ctest-vn-12148588', 'tenant_id': '178bd3fbc6904d1ab89b857e07781f80', 'project_id': '178bd3fbc6904d1ab89b857e07781f80', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9846b4c7-3612-409d-9661-71a32e9410fd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02506064', 'ctest-vn-12148588'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-02506064', 'ctest-policy-allow-all-15343465']], 'subnet_ipam': [{'subnet_cidr': '104.88.206.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-01 18:00:22,136 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '312e4d57-5ea8-4709-9422-1ba44a801268', 'name': 'ctest-vn-60284680', 'tenant_id': '178bd3fbc6904d1ab89b857e07781f80', 'project_id': '178bd3fbc6904d1ab89b857e07781f80', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['15387b73-5689-434d-a1c0-e4f7a71c5f89'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02506064', 'ctest-vn-60284680'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-02506064', 'ctest-policy-allow-all-15343465']], 'subnet_ipam': [{'subnet_cidr': '205.36.58.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-01 18:00:22,292 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-01 18:00:22,639 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-01 18:00:22,667 - DEBUG - Requesting: http://10.0.0.254:8082/domain/599e2ccf-47f2-4ef8-ae58-9875888f00f2 2025-06-01 18:00:22,680 - DEBUG - Requesting: http://10.0.0.254:8082/project/178bd3fb-c690-4d1a-b89b-857e07781f80 2025-06-01 18:00:22,756 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f8a1f80b-d7b8-4b7b-951a-c7e69c449110 2025-06-01 18:00:22,769 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f8a1f80b-d7b8-4b7b-951a-c7e69c449110 2025-06-01 18:00:22,779 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/6375756c-e292-4514-af9f-77e68e35a877 2025-06-01 18:00:22,787 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/6375756c-e292-4514-af9f-77e68e35a877 2025-06-01 18:00:22,794 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/5051b0d3-3d05-49d7-ad98-b824d95b3fbd 2025-06-01 18:00:22,801 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-01 18:00:22,801 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f8a1f80b-d7b8-4b7b-951a-c7e69c449110 2025-06-01 18:00:22,811 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/6375756c-e292-4514-af9f-77e68e35a877 2025-06-01 18:00:22,824 - INFO - Verified VN network id 8 for VN f8a1f80b-d7b8-4b7b-951a-c7e69c449110 2025-06-01 18:00:22,824 - INFO - Verifications in API Server for VN ctest-vn-12148588 passed 2025-06-01 18:00:22,824 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f8a1f80b-d7b8-4b7b-951a-c7e69c449110 2025-06-01 18:00:22,834 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/6375756c-e292-4514-af9f-77e68e35a877 2025-06-01 18:00:22,841 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/6375756c-e292-4514-af9f-77e68e35a877 2025-06-01 18:00:22,852 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/5051b0d3-3d05-49d7-ad98-b824d95b3fbd 2025-06-01 18:00:22,864 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-02506064:ctest-vn-12148588', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-02506064', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17915873522404051835', 'uuid-lslong': '10744119654323884304'}, 'enable': 'true', 'created': '2025-06-01T18:00:20', 'last-modified': '2025-06-01T18:00:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.984117'} 2025-06-01 18:00:22,871 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-01 18:00:22,871 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-12148588 passed 2025-06-01 18:00:22,871 - DEBUG - ====Verifying policy data for ctest-vn-12148588 in API_Server ====== 2025-06-01 18:00:22,871 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-01 18:00:22,877 - DEBUG - Requesting: http://10.0.0.254:8082/domain/599e2ccf-47f2-4ef8-ae58-9875888f00f2 2025-06-01 18:00:22,891 - DEBUG - Requesting: http://10.0.0.254:8082/project/178bd3fb-c690-4d1a-b89b-857e07781f80 2025-06-01 18:00:22,993 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f8a1f80b-d7b8-4b7b-951a-c7e69c449110 2025-06-01 18:00:23,004 - DEBUG - ==>Verifying data for policy with id: 43c4c161-b8a5-47ad-9de8-5609ce445fdc, fqn: ['default-domain', 'ctest-TestBasicPolicy-02506064', 'ctest-policy-allow-all-15343465'] 2025-06-01 18:00:23,004 - INFO - VN ctest-vn-12148588 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-01 18:00:23,004 - DEBUG - Verifying the vn in opserver 2025-06-01 18:00:23,004 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-02506064:ctest-vn-12148588 virtual network link through opserver 10.0.0.254 2025-06-01 18:00:23,004 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-01 18:00:23,338 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-01 18:00:23,395 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-02506064:ctest-vn-12148588', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-02506064:ctest-vn-12148588?flat'} 2025-06-01 18:00:23,395 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-02506064:ctest-vn-12148588 is found in opserver 2025-06-01 18:00:23,406 - DEBUG - Do not have enough data to verify VN in agent 2025-06-01 18:00:23,412 - DEBUG - VRF ids for VN ctest-vn-12148588: {} 2025-06-01 18:00:23,412 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-01 18:00:23,419 - DEBUG - Requesting: http://10.0.0.254:8082/domain/599e2ccf-47f2-4ef8-ae58-9875888f00f2 2025-06-01 18:00:23,431 - DEBUG - Requesting: http://10.0.0.254:8082/project/178bd3fb-c690-4d1a-b89b-857e07781f80 2025-06-01 18:00:23,505 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/312e4d57-5ea8-4709-9422-1ba44a801268 2025-06-01 18:00:23,517 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/312e4d57-5ea8-4709-9422-1ba44a801268 2025-06-01 18:00:23,527 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/84344bf1-fd45-4bfd-bfc6-b2722efeb73f 2025-06-01 18:00:23,534 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/84344bf1-fd45-4bfd-bfc6-b2722efeb73f 2025-06-01 18:00:23,541 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/1b622994-ed97-4bd4-b2cb-9f4a3dfafb93 2025-06-01 18:00:23,548 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-01 18:00:23,548 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/312e4d57-5ea8-4709-9422-1ba44a801268 2025-06-01 18:00:23,557 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/84344bf1-fd45-4bfd-bfc6-b2722efeb73f 2025-06-01 18:00:23,572 - INFO - Verified VN network id 9 for VN 312e4d57-5ea8-4709-9422-1ba44a801268 2025-06-01 18:00:23,572 - INFO - Verifications in API Server for VN ctest-vn-60284680 passed 2025-06-01 18:00:23,572 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/312e4d57-5ea8-4709-9422-1ba44a801268 2025-06-01 18:00:23,582 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/84344bf1-fd45-4bfd-bfc6-b2722efeb73f 2025-06-01 18:00:23,590 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/84344bf1-fd45-4bfd-bfc6-b2722efeb73f 2025-06-01 18:00:23,596 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/1b622994-ed97-4bd4-b2cb-9f4a3dfafb93 2025-06-01 18:00:23,609 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-02506064:ctest-vn-60284680', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-02506064', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3543854994432739081', 'uuid-lslong': '10674124459259990632'}, 'enable': 'true', 'created': '2025-06-01T18:00:21', 'last-modified': '2025-06-01T18:00:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.495554'} 2025-06-01 18:00:23,616 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-01 18:00:23,616 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-60284680 passed 2025-06-01 18:00:23,616 - DEBUG - ====Verifying policy data for ctest-vn-60284680 in API_Server ====== 2025-06-01 18:00:23,616 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-01 18:00:23,622 - DEBUG - Requesting: http://10.0.0.254:8082/domain/599e2ccf-47f2-4ef8-ae58-9875888f00f2 2025-06-01 18:00:23,634 - DEBUG - Requesting: http://10.0.0.254:8082/project/178bd3fb-c690-4d1a-b89b-857e07781f80 2025-06-01 18:00:23,714 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/312e4d57-5ea8-4709-9422-1ba44a801268 2025-06-01 18:00:23,726 - DEBUG - ==>Verifying data for policy with id: 43c4c161-b8a5-47ad-9de8-5609ce445fdc, fqn: ['default-domain', 'ctest-TestBasicPolicy-02506064', 'ctest-policy-allow-all-15343465'] 2025-06-01 18:00:23,726 - INFO - VN ctest-vn-60284680 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-01 18:00:23,726 - DEBUG - Verifying the vn in opserver 2025-06-01 18:00:23,726 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-02506064:ctest-vn-60284680 virtual network link through opserver 10.0.0.254 2025-06-01 18:00:23,726 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-01 18:00:23,737 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-02506064:ctest-vn-60284680', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-02506064:ctest-vn-60284680?flat'} 2025-06-01 18:00:23,737 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-02506064:ctest-vn-60284680 is found in opserver 2025-06-01 18:00:23,748 - DEBUG - Do not have enough data to verify VN in agent 2025-06-01 18:00:23,754 - DEBUG - VRF ids for VN ctest-vn-60284680: {} 2025-06-01 18:00:23,808 - DEBUG - Services list from nova: [, , ] 2025-06-01 18:00:24,885 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3381-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3381-1) 2025-06-01 18:00:26,235 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3381-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3381-1) 2025-06-01 18:00:26,235 - INFO - Waiting for VM ctest-TestBasicPolicy-02506064-19101675 to be up.. 2025-06-01 18:00:26,320 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-01 18:00:31,400 - DEBUG - VM is in ACTIVE state now 2025-06-01 18:00:31,400 - INFO - VM name : ctest-TestBasicPolicy-02506064-19101675 2025-06-01 18:00:31,475 - DEBUG - VM ctest-TestBasicPolicy-02506064-19101675 ID is 75833818-94af-4f90-b64e-3dc640d905fa 2025-06-01 18:00:31,493 - DEBUG - VM ctest-TestBasicPolicy-02506064-19101675 launched on Node cn-jenkins-deploy-platform-ansible-os-3381-1 2025-06-01 18:00:31,568 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/75833818-94af-4f90-b64e-3dc640d905fa 2025-06-01 18:00:31,578 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/9eb73c93-b219-4822-bb9c-0ebd6b80f8cb 2025-06-01 18:00:34,818 - 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 1003ms') 2025-06-01 18:00:34,819 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-02506064-19101675 failed! 2025-06-01 18:00:34,872 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-02506064:ctest-vn-12148588 is 104.88.206.1 and allocation pool is NOT set 2025-06-01 18:00:36,931 - 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=8.18 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.411 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 = 0.411/4.297/8.183/3.886 ms') 2025-06-01 18:00:36,931 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-02506064-19101675 passed 2025-06-01 18:00:37,080 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-01 18:00:37,081 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-02506064-19101675, IP 104.88.206.3, Port 22 2025-06-01 18:00:37,244 - DEBUG - VM ctest-TestBasicPolicy-02506064-19101675 is ready for SSH connections 2025-06-01 18:00:37,244 - INFO - Waiting for VM ctest-TestBasicPolicy-02506064-71081076 to be up.. 2025-06-01 18:00:37,325 - DEBUG - VM is in ACTIVE state now 2025-06-01 18:00:37,325 - INFO - VM name : ctest-TestBasicPolicy-02506064-71081076 2025-06-01 18:00:37,401 - DEBUG - VM ctest-TestBasicPolicy-02506064-71081076 ID is 4c1935c9-a053-4000-bc89-3cab7dfaa031 2025-06-01 18:00:37,402 - DEBUG - VM ctest-TestBasicPolicy-02506064-71081076 launched on Node cn-jenkins-deploy-platform-ansible-os-3381-1 2025-06-01 18:00:37,477 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/4c1935c9-a053-4000-bc89-3cab7dfaa031 2025-06-01 18:00:37,486 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/1f85ba33-f601-41d3-a76b-98ffd8ef7d04 2025-06-01 18:00:38,735 - 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.42 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.830 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.830/2.626/4.423/1.796 ms') 2025-06-01 18:00:38,735 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-02506064-71081076 passed 2025-06-01 18:00:38,892 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-01 18:00:38,892 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-02506064-71081076, IP 205.36.58.67, Port 22 2025-06-01 18:00:39,052 - DEBUG - VM ctest-TestBasicPolicy-02506064-71081076 is ready for SSH connections 2025-06-01 18:00:39,052 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-01 18:00:39,052 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 205.36.58.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-01 18:00:39,052 - DEBUG - ping -s 56 -c 3 -W 1 205.36.58.67 2025-06-01 18:00:43,116 - DEBUG - PING 205.36.58.67 (205.36.58.67): 56 data bytes 64 bytes from 205.36.58.67: seq=0 ttl=63 time=3.982 ms 64 bytes from 205.36.58.67: seq=1 ttl=63 time=0.876 ms 64 bytes from 205.36.58.67: seq=2 ttl=63 time=1.032 ms --- 205.36.58.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.876/1.963/3.982 ms 2025-06-01 18:00:43,116 - INFO - Ping to IP 205.36.58.67 from VM ctest-TestBasicPolicy-02506064-19101675 passed 2025-06-01 18:00:43,304 - DEBUG - Policy Update Response {"network-policy": {"uuid": "43c4c161-b8a5-47ad-9de8-5609ce445fdc", "href": "http://10.0.0.254:8082/network-policy/43c4c161-b8a5-47ad-9de8-5609ce445fdc"}} 2025-06-01 18:00:43,304 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-01 18:00:43,305 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 205.36.58.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-01 18:00:43,305 - DEBUG - ping -s 56 -c 3 -W 1 205.36.58.67 2025-06-01 18:00:46,530 - DEBUG - PING 205.36.58.67 (205.36.58.67): 56 data bytes --- 205.36.58.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-01 18:00:46,530 - WARNING - Ping to IP 205.36.58.67 from VM ctest-TestBasicPolicy-02506064-19101675 failed 2025-06-01 18:00:46,530 - INFO - Deleting VM ctest-TestBasicPolicy-02506064-71081076 2025-06-01 18:00:46,599 - INFO - Deleting VM ctest-TestBasicPolicy-02506064-19101675 2025-06-01 18:00:46,971 - INFO - Deleted policy ctest-policy-allow-all-15343465 2025-06-01 18:00:46,972 - INFO - Deleting VN ctest-vn-60284680 2025-06-01 18:00:47,008 - DEBUG - VN 312e4d57-5ea8-4709-9422-1ba44a801268 still in use: Unable to complete operation on network 312e4d57-5ea8-4709-9422-1ba44a801268. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-598ace26-cb8b-4515-a9d3-5614c11a387c'] 2025-06-01 18:00:47,008 - WARNING - Deleting VN ctest-vn-60284680 failed..Will retry 2025-06-01 18:00:49,109 - DEBUG - Response for deleting network () 2025-06-01 18:00:49,109 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/84344bf1-fd45-4bfd-bfc6-b2722efeb73f 2025-06-01 18:00:49,115 - DEBUG - Response Code: 404 2025-06-01 18:00:49,115 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-01 18:00:49,120 - DEBUG - Requesting: http://10.0.0.254:8082/domain/599e2ccf-47f2-4ef8-ae58-9875888f00f2 2025-06-01 18:00:49,174 - DEBUG - Requesting: http://10.0.0.254:8082/project/178bd3fb-c690-4d1a-b89b-857e07781f80 2025-06-01 18:00:49,245 - INFO - Validated that VN ctest-vn-60284680 is not found in API Server 2025-06-01 18:00:49,256 - DEBUG - VN ctest-vn-60284680 is not present in Agent 10.0.0.254 2025-06-01 18:00:49,256 - INFO - Validated that VN ctest-vn-60284680 is not in any agent 2025-06-01 18:00:49,271 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-60284680 info 2025-06-01 18:00:49,272 - INFO - Deleting VN ctest-vn-12148588 2025-06-01 18:00:49,369 - DEBUG - Response for deleting network () 2025-06-01 18:00:49,369 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/6375756c-e292-4514-af9f-77e68e35a877 2025-06-01 18:00:49,375 - DEBUG - Response Code: 404 2025-06-01 18:00:49,375 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-01 18:00:49,381 - DEBUG - Requesting: http://10.0.0.254:8082/domain/599e2ccf-47f2-4ef8-ae58-9875888f00f2 2025-06-01 18:00:49,434 - DEBUG - Requesting: http://10.0.0.254:8082/project/178bd3fb-c690-4d1a-b89b-857e07781f80 2025-06-01 18:00:49,507 - INFO - Validated that VN ctest-vn-12148588 is not found in API Server 2025-06-01 18:00:49,518 - DEBUG - VN ctest-vn-12148588 is not present in Agent 10.0.0.254 2025-06-01 18:00:49,518 - INFO - Validated that VN ctest-vn-12148588 is not in any agent 2025-06-01 18:00:49,534 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-12148588 info 2025-06-01 18:00:49,793 - DEBUG - No XMPP flaps were noticed during the test
2025-06-01 18:00:49,794 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-06-01 18:00:49,794 - INFO - -------------------------------------------------------------------------------- 2025-06-01 18:00:50,538 - INFO - Deleted project: ctest-TestBasicPolicy-02506064, ID : 178bd3fb-c690-4d1a-b89b-857e07781f80