2025-03-20 02:23:36,900 - INFO - Domain Default found not creating 2025-03-20 02:23:37,044 - INFO - Project ctest-TestBasicPolicy-90328565 not found, creating it 2025-03-20 02:23:37,486 - INFO - Created Project:ctest-TestBasicPolicy-90328565, ID : 9e93cc59-327b-44e6-8742-ae3c0d57fa89 2025-03-20 02:23:38,895 - INFO - ================================================================================ 2025-03-20 02:23:38,895 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-03-20 02:23:38,895 - 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-03-20 02:23:39,155 - DEBUG - Nothing to compare xmpp stats {'10.0.0.28': {'10.0.0.28': '0'}} with 2025-03-20 02:23:39,155 - INFO - Initial checks done. Running the testcase now 2025-03-20 02:23:39,156 - INFO - 2025-03-20 02:23:39,723 - DEBUG - Response for create_network : {'network': {'id': '06b9328f-e744-48e9-8ad8-f897918d8227', 'name': 'ctest-vn-93595851', 'tenant_id': '9e93cc59327b44e68742ae3c0d57fa89', 'project_id': '9e93cc59327b44e68742ae3c0d57fa89', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90328565', 'ctest-vn-93595851'], 'port_security_enabled': True, 'description': ''}} 2025-03-20 02:23:39,917 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd9b60306-f0d4-407a-a022-59007eba66e0', 'name': '', 'tenant_id': '9e93cc59327b44e68742ae3c0d57fa89', 'network_id': '06b9328f-e744-48e9-8ad8-f897918d8227', 'ip_version': 4, 'cidr': '33.104.68.128/26', 'allocation_pools': [{'start': '33.104.68.130', 'end': '33.104.68.190'}], 'gateway_ip': '33.104.68.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.104.68.130', 'tags': [], 'project_id': '9e93cc59327b44e68742ae3c0d57fa89'}} 2025-03-20 02:23:39,935 - INFO - Created VN ctest-vn-93595851 2025-03-20 02:23:39,989 - DEBUG - VN ctest-vn-93595851 UUID is 06b9328f-e744-48e9-8ad8-f897918d8227 2025-03-20 02:23:40,283 - DEBUG - Response for create_network : {'network': {'id': '91dcb79e-c114-4670-9b1d-b179ea20f5ef', 'name': 'ctest-vn-77180588', 'tenant_id': '9e93cc59327b44e68742ae3c0d57fa89', 'project_id': '9e93cc59327b44e68742ae3c0d57fa89', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90328565', 'ctest-vn-77180588'], 'port_security_enabled': True, 'description': ''}} 2025-03-20 02:23:40,432 - DEBUG - Response for create_subnet : {'subnet': {'id': '50c10ecc-23c4-4caa-bbb6-989bace82a3c', 'name': '', 'tenant_id': '9e93cc59327b44e68742ae3c0d57fa89', 'network_id': '91dcb79e-c114-4670-9b1d-b179ea20f5ef', 'ip_version': 4, 'cidr': '58.92.9.64/26', 'allocation_pools': [{'start': '58.92.9.66', 'end': '58.92.9.126'}], 'gateway_ip': '58.92.9.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.92.9.66', 'tags': [], 'project_id': '9e93cc59327b44e68742ae3c0d57fa89'}} 2025-03-20 02:23:40,449 - INFO - Created VN ctest-vn-77180588 2025-03-20 02:23:40,505 - DEBUG - VN ctest-vn-77180588 UUID is 91dcb79e-c114-4670-9b1d-b179ea20f5ef 2025-03-20 02:23:40,613 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-90328565:ctest-vn-93595851, 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-90328565:ctest-vn-77180588, 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-03-20 02:23:40,916 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '06b9328f-e744-48e9-8ad8-f897918d8227', 'name': 'ctest-vn-93595851', 'tenant_id': '9e93cc59327b44e68742ae3c0d57fa89', 'project_id': '9e93cc59327b44e68742ae3c0d57fa89', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d9b60306-f0d4-407a-a022-59007eba66e0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90328565', 'ctest-vn-93595851'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90328565', 'ctest-policy-allow-all-93137452']], 'subnet_ipam': [{'subnet_cidr': '33.104.68.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-03-20 02:23:41,193 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '91dcb79e-c114-4670-9b1d-b179ea20f5ef', 'name': 'ctest-vn-77180588', 'tenant_id': '9e93cc59327b44e68742ae3c0d57fa89', 'project_id': '9e93cc59327b44e68742ae3c0d57fa89', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['50c10ecc-23c4-4caa-bbb6-989bace82a3c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90328565', 'ctest-vn-77180588'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90328565', 'ctest-policy-allow-all-93137452']], 'subnet_ipam': [{'subnet_cidr': '58.92.9.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-03-20 02:23:41,349 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2025-03-20 02:23:41,646 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2025-03-20 02:23:41,674 - DEBUG - Requesting: http://10.0.0.28:8082/domain/3536b47e-348d-4aae-8e45-ae91973cd2bc 2025-03-20 02:23:41,690 - DEBUG - Requesting: http://10.0.0.28:8082/project/9e93cc59-327b-44e6-8742-ae3c0d57fa89 2025-03-20 02:23:41,758 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/06b9328f-e744-48e9-8ad8-f897918d8227 2025-03-20 02:23:41,772 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/06b9328f-e744-48e9-8ad8-f897918d8227 2025-03-20 02:23:41,783 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/a02237b2-8596-4a24-a534-5036690df5bb 2025-03-20 02:23:41,792 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/a02237b2-8596-4a24-a534-5036690df5bb 2025-03-20 02:23:41,801 - DEBUG - Requesting: http://10.0.0.28:8082/route-target/a97f73f8-0b52-4ee7-b1bf-fd79bc2313f5 2025-03-20 02:23:41,809 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-03-20 02:23:41,809 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/06b9328f-e744-48e9-8ad8-f897918d8227 2025-03-20 02:23:41,821 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/a02237b2-8596-4a24-a534-5036690df5bb 2025-03-20 02:23:41,836 - INFO - Verified VN network id 9 for VN 06b9328f-e744-48e9-8ad8-f897918d8227 2025-03-20 02:23:41,836 - INFO - Verifications in API Server for VN ctest-vn-93595851 passed 2025-03-20 02:23:41,836 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/06b9328f-e744-48e9-8ad8-f897918d8227 2025-03-20 02:23:41,845 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/a02237b2-8596-4a24-a534-5036690df5bb 2025-03-20 02:23:41,852 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/a02237b2-8596-4a24-a534-5036690df5bb 2025-03-20 02:23:41,858 - DEBUG - Requesting: http://10.0.0.28:8082/route-target/a97f73f8-0b52-4ee7-b1bf-fd79bc2313f5 2025-03-20 02:23:41,870 - DEBUG - Control-node 10.0.0.28 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90328565:ctest-vn-93595851', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90328565', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '484474028560763113', 'uuid-lslong': '10005019902069277223'}, 'enable': 'true', 'created': '2025-03-20T02:23:39', 'last-modified': '2025-03-20T02:23:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.980844'} 2025-03-20 02:23:41,877 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-03-20 02:23:41,877 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-93595851 passed 2025-03-20 02:23:41,877 - DEBUG - ====Verifying policy data for ctest-vn-93595851 in API_Server ====== 2025-03-20 02:23:41,877 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2025-03-20 02:23:41,883 - DEBUG - Requesting: http://10.0.0.28:8082/domain/3536b47e-348d-4aae-8e45-ae91973cd2bc 2025-03-20 02:23:41,894 - DEBUG - Requesting: http://10.0.0.28:8082/project/9e93cc59-327b-44e6-8742-ae3c0d57fa89 2025-03-20 02:23:41,983 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/06b9328f-e744-48e9-8ad8-f897918d8227 2025-03-20 02:23:41,995 - DEBUG - ==>Verifying data for policy with id: 4bd67c61-7a82-4bab-91fb-fa56854d3b82, fqn: ['default-domain', 'ctest-TestBasicPolicy-90328565', 'ctest-policy-allow-all-93137452'] 2025-03-20 02:23:41,995 - INFO - VN ctest-vn-93595851 Policy verification: verify_vn_policy_in_api_server, status: True 2025-03-20 02:23:41,995 - DEBUG - Verifying the vn in opserver 2025-03-20 02:23:41,995 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90328565:ctest-vn-93595851 virtual network link through opserver 10.0.0.28 2025-03-20 02:23:41,995 - DEBUG - Requesting: http://10.0.0.28:8081/analytics/uves/virtual-networks 2025-03-20 02:23:42,288 - DEBUG - Requesting: http://10.0.0.28:8081/analytics/uves/virtual-networks 2025-03-20 02:23:42,339 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90328565:ctest-vn-93595851', 'href': 'http://10.0.0.28:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90328565:ctest-vn-93595851?flat'} 2025-03-20 02:23:42,339 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90328565:ctest-vn-93595851 is found in opserver 2025-03-20 02:23:42,350 - DEBUG - Do not have enough data to verify VN in agent 2025-03-20 02:23:42,355 - DEBUG - VRF ids for VN ctest-vn-93595851: {} 2025-03-20 02:23:42,355 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2025-03-20 02:23:42,361 - DEBUG - Requesting: http://10.0.0.28:8082/domain/3536b47e-348d-4aae-8e45-ae91973cd2bc 2025-03-20 02:23:42,375 - DEBUG - Requesting: http://10.0.0.28:8082/project/9e93cc59-327b-44e6-8742-ae3c0d57fa89 2025-03-20 02:23:42,455 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/91dcb79e-c114-4670-9b1d-b179ea20f5ef 2025-03-20 02:23:42,468 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/91dcb79e-c114-4670-9b1d-b179ea20f5ef 2025-03-20 02:23:42,477 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/efca63f0-dc0c-4c79-91dd-5069c0b32655 2025-03-20 02:23:42,483 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/efca63f0-dc0c-4c79-91dd-5069c0b32655 2025-03-20 02:23:42,490 - DEBUG - Requesting: http://10.0.0.28:8082/route-target/1128ef75-2791-4df6-8dfe-dd0c2f6217df 2025-03-20 02:23:42,496 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-20 02:23:42,496 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/91dcb79e-c114-4670-9b1d-b179ea20f5ef 2025-03-20 02:23:42,507 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/efca63f0-dc0c-4c79-91dd-5069c0b32655 2025-03-20 02:23:42,520 - INFO - Verified VN network id 10 for VN 91dcb79e-c114-4670-9b1d-b179ea20f5ef 2025-03-20 02:23:42,520 - INFO - Verifications in API Server for VN ctest-vn-77180588 passed 2025-03-20 02:23:42,521 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/91dcb79e-c114-4670-9b1d-b179ea20f5ef 2025-03-20 02:23:42,530 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/efca63f0-dc0c-4c79-91dd-5069c0b32655 2025-03-20 02:23:42,536 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/efca63f0-dc0c-4c79-91dd-5069c0b32655 2025-03-20 02:23:42,543 - DEBUG - Requesting: http://10.0.0.28:8082/route-target/1128ef75-2791-4df6-8dfe-dd0c2f6217df 2025-03-20 02:23:42,555 - DEBUG - Control-node 10.0.0.28 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90328565:ctest-vn-77180588', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90328565', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10510477522847942256', 'uuid-lslong': '11177284987380626927'}, 'enable': 'true', 'created': '2025-03-20T02:23:40', 'last-modified': '2025-03-20T02:23:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.432187'} 2025-03-20 02:23:42,561 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-20 02:23:42,562 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-77180588 passed 2025-03-20 02:23:42,562 - DEBUG - ====Verifying policy data for ctest-vn-77180588 in API_Server ====== 2025-03-20 02:23:42,562 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2025-03-20 02:23:42,567 - DEBUG - Requesting: http://10.0.0.28:8082/domain/3536b47e-348d-4aae-8e45-ae91973cd2bc 2025-03-20 02:23:42,577 - DEBUG - Requesting: http://10.0.0.28:8082/project/9e93cc59-327b-44e6-8742-ae3c0d57fa89 2025-03-20 02:23:42,653 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/91dcb79e-c114-4670-9b1d-b179ea20f5ef 2025-03-20 02:23:42,666 - DEBUG - ==>Verifying data for policy with id: 4bd67c61-7a82-4bab-91fb-fa56854d3b82, fqn: ['default-domain', 'ctest-TestBasicPolicy-90328565', 'ctest-policy-allow-all-93137452'] 2025-03-20 02:23:42,666 - INFO - VN ctest-vn-77180588 Policy verification: verify_vn_policy_in_api_server, status: True 2025-03-20 02:23:42,666 - DEBUG - Verifying the vn in opserver 2025-03-20 02:23:42,666 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90328565:ctest-vn-77180588 virtual network link through opserver 10.0.0.28 2025-03-20 02:23:42,666 - DEBUG - Requesting: http://10.0.0.28:8081/analytics/uves/virtual-networks 2025-03-20 02:23:42,678 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90328565:ctest-vn-77180588', 'href': 'http://10.0.0.28:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90328565:ctest-vn-77180588?flat'} 2025-03-20 02:23:42,678 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90328565:ctest-vn-77180588 is found in opserver 2025-03-20 02:23:42,688 - DEBUG - Do not have enough data to verify VN in agent 2025-03-20 02:23:42,694 - DEBUG - VRF ids for VN ctest-vn-77180588: {} 2025-03-20 02:23:42,754 - DEBUG - Services list from nova: [, , ] 2025-03-20 02:23:43,784 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2927-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2927-1) 2025-03-20 02:23:45,000 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2927-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2927-1) 2025-03-20 02:23:45,000 - INFO - Waiting for VM ctest-TestBasicPolicy-90328565-56347765 to be up.. 2025-03-20 02:23:45,086 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-20 02:23:50,169 - DEBUG - VM is in ACTIVE state now 2025-03-20 02:23:50,169 - INFO - VM name : ctest-TestBasicPolicy-90328565-56347765 2025-03-20 02:23:50,240 - DEBUG - VM ctest-TestBasicPolicy-90328565-56347765 ID is 12ef5e15-b4e3-41d5-aac2-7c6ecdc09916 2025-03-20 02:23:50,262 - DEBUG - VM ctest-TestBasicPolicy-90328565-56347765 launched on Node cn-jenkins-deploy-platform-ansible-os-2927-1. 2025-03-20 02:23:50,338 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/12ef5e15-b4e3-41d5-aac2-7c6ecdc09916 2025-03-20 02:23:50,347 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/215ff03e-16e7-44a2-8a1e-4afec8e62958 2025-03-20 02:23:53,604 - 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 1015ms') 2025-03-20 02:23:53,605 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-90328565-56347765 failed! 2025-03-20 02:23:53,665 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-90328565:ctest-vn-93595851 is 33.104.68.129 and allocation pool is NOT set 2025-03-20 02:23:55,721 - 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=3.64 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.552 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.552/2.095/3.638/1.543 ms') 2025-03-20 02:23:55,721 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-90328565-56347765 passed 2025-03-20 02:23:55,869 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-20 02:23:55,869 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-90328565-56347765, IP 33.104.68.131, Port 22 2025-03-20 02:23:56,028 - DEBUG - VM ctest-TestBasicPolicy-90328565-56347765 is ready for SSH connections 2025-03-20 02:23:56,028 - INFO - Waiting for VM ctest-TestBasicPolicy-90328565-99520260 to be up.. 2025-03-20 02:23:56,111 - DEBUG - VM is in ACTIVE state now 2025-03-20 02:23:56,112 - INFO - VM name : ctest-TestBasicPolicy-90328565-99520260 2025-03-20 02:23:56,191 - DEBUG - VM ctest-TestBasicPolicy-90328565-99520260 ID is 7d3f6c7a-bb1e-4274-a193-d48f53444f4a 2025-03-20 02:23:56,191 - DEBUG - VM ctest-TestBasicPolicy-90328565-99520260 launched on Node cn-jenkins-deploy-platform-ansible-os-2927-1. 2025-03-20 02:23:56,271 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/7d3f6c7a-bb1e-4274-a193-d48f53444f4a 2025-03-20 02:23:56,280 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/481f2635-0c20-48fb-b26f-cb6b55765140 2025-03-20 02:23:57,521 - 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=5.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.376 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.376/3.099/5.823/2.723 ms') 2025-03-20 02:23:57,521 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-90328565-99520260 passed 2025-03-20 02:23:57,677 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-20 02:23:57,677 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-90328565-99520260, IP 58.92.9.67, Port 22 2025-03-20 02:23:57,833 - DEBUG - VM ctest-TestBasicPolicy-90328565-99520260 is ready for SSH connections 2025-03-20 02:23:57,833 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-20 02:23:57,833 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 58.92.9.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123 2025-03-20 02:23:57,833 - DEBUG - ping -s 56 -c 3 -W 1 58.92.9.67 2025-03-20 02:24:01,514 - DEBUG - PING 58.92.9.67 (58.92.9.67): 56 data bytes 64 bytes from 58.92.9.67: seq=0 ttl=63 time=3.822 ms 64 bytes from 58.92.9.67: seq=1 ttl=63 time=1.037 ms 64 bytes from 58.92.9.67: seq=2 ttl=63 time=0.954 ms --- 58.92.9.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.954/1.937/3.822 ms 2025-03-20 02:24:01,514 - INFO - Ping to IP 58.92.9.67 from VM ctest-TestBasicPolicy-90328565-56347765 passed 2025-03-20 02:24:01,692 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4bd67c61-7a82-4bab-91fb-fa56854d3b82", "href": "http://10.0.0.28:8082/network-policy/4bd67c61-7a82-4bab-91fb-fa56854d3b82"}} 2025-03-20 02:24:01,693 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-20 02:24:01,693 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 58.92.9.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123 2025-03-20 02:24:01,693 - DEBUG - ping -s 56 -c 3 -W 1 58.92.9.67 2025-03-20 02:24:04,897 - DEBUG - PING 58.92.9.67 (58.92.9.67): 56 data bytes --- 58.92.9.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-03-20 02:24:04,897 - WARNING - Ping to IP 58.92.9.67 from VM ctest-TestBasicPolicy-90328565-56347765 failed 2025-03-20 02:24:04,897 - INFO - Deleting VM ctest-TestBasicPolicy-90328565-99520260 2025-03-20 02:24:04,962 - INFO - Deleting VM ctest-TestBasicPolicy-90328565-56347765 2025-03-20 02:24:05,303 - INFO - Deleted policy ctest-policy-allow-all-93137452 2025-03-20 02:24:05,304 - INFO - Deleting VN ctest-vn-77180588 2025-03-20 02:24:05,337 - DEBUG - VN 91dcb79e-c114-4670-9b1d-b179ea20f5ef still in use: Unable to complete operation on network 91dcb79e-c114-4670-9b1d-b179ea20f5ef. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ae55088b-b750-4ef4-bd6d-efc9b657d201'] 2025-03-20 02:24:05,337 - WARNING - Deleting VN ctest-vn-77180588 failed..Will retry 2025-03-20 02:24:07,436 - DEBUG - Response for deleting network () 2025-03-20 02:24:07,436 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/efca63f0-dc0c-4c79-91dd-5069c0b32655 2025-03-20 02:24:07,444 - DEBUG - Response Code: 404 2025-03-20 02:24:07,444 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2025-03-20 02:24:07,451 - DEBUG - Requesting: http://10.0.0.28:8082/domain/3536b47e-348d-4aae-8e45-ae91973cd2bc 2025-03-20 02:24:07,507 - DEBUG - Requesting: http://10.0.0.28:8082/project/9e93cc59-327b-44e6-8742-ae3c0d57fa89 2025-03-20 02:24:07,581 - INFO - Validated that VN ctest-vn-77180588 is not found in API Server 2025-03-20 02:24:07,591 - DEBUG - VN ctest-vn-77180588 is not present in Agent 10.0.0.28 2025-03-20 02:24:07,592 - INFO - Validated that VN ctest-vn-77180588 is not in any agent 2025-03-20 02:24:07,606 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-77180588 info 2025-03-20 02:24:07,606 - INFO - Deleting VN ctest-vn-93595851 2025-03-20 02:24:07,725 - DEBUG - Response for deleting network () 2025-03-20 02:24:07,725 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/a02237b2-8596-4a24-a534-5036690df5bb 2025-03-20 02:24:07,733 - DEBUG - Response Code: 404 2025-03-20 02:24:07,733 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2025-03-20 02:24:07,738 - DEBUG - Requesting: http://10.0.0.28:8082/domain/3536b47e-348d-4aae-8e45-ae91973cd2bc 2025-03-20 02:24:07,794 - DEBUG - Requesting: http://10.0.0.28:8082/project/9e93cc59-327b-44e6-8742-ae3c0d57fa89 2025-03-20 02:24:07,871 - INFO - Validated that VN ctest-vn-93595851 is not found in API Server 2025-03-20 02:24:07,883 - DEBUG - VN ctest-vn-93595851 is not present in Agent 10.0.0.28 2025-03-20 02:24:07,883 - INFO - Validated that VN ctest-vn-93595851 is not in any agent 2025-03-20 02:24:07,898 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-93595851 info 2025-03-20 02:24:08,158 - DEBUG - No XMPP flaps were noticed during the test
2025-03-20 02:24:08,158 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-03-20 02:24:08,158 - INFO - -------------------------------------------------------------------------------- 2025-03-20 02:24:08,840 - INFO - Deleted project: ctest-TestBasicPolicy-90328565, ID : 9e93cc59-327b-44e6-8742-ae3c0d57fa89