2025-02-17 02:23:30,497 - INFO - Domain Default found not creating 2025-02-17 02:23:30,643 - INFO - Project ctest-TestBasicPolicy-83783574 not found, creating it 2025-02-17 02:23:31,091 - INFO - Created Project:ctest-TestBasicPolicy-83783574, ID : e30bc4fa-60f8-4e77-90e7-e22c9d3e497a 2025-02-17 02:23:32,532 - INFO - ================================================================================ 2025-02-17 02:23:32,532 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-02-17 02:23:32,532 - 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-02-17 02:23:32,790 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.23': '0'}} with 2025-02-17 02:23:32,790 - INFO - Initial checks done. Running the testcase now 2025-02-17 02:23:32,790 - INFO - 2025-02-17 02:23:33,332 - DEBUG - Response for create_network : {'network': {'id': '50221de8-4a6d-4eff-a1dc-35d6102eda77', 'name': 'ctest-vn-66074862', 'tenant_id': 'e30bc4fa60f84e7790e7e22c9d3e497a', 'project_id': 'e30bc4fa60f84e7790e7e22c9d3e497a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83783574', 'ctest-vn-66074862'], 'port_security_enabled': True, 'description': ''}} 2025-02-17 02:23:33,519 - DEBUG - Response for create_subnet : {'subnet': {'id': '86daf253-b462-4278-b279-8d4bc940c7ca', 'name': '', 'tenant_id': 'e30bc4fa60f84e7790e7e22c9d3e497a', 'network_id': '50221de8-4a6d-4eff-a1dc-35d6102eda77', 'ip_version': 4, 'cidr': '188.50.119.64/26', 'allocation_pools': [{'start': '188.50.119.66', 'end': '188.50.119.126'}], 'gateway_ip': '188.50.119.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '188.50.119.66', 'tags': [], 'project_id': 'e30bc4fa60f84e7790e7e22c9d3e497a'}} 2025-02-17 02:23:33,537 - INFO - Created VN ctest-vn-66074862 2025-02-17 02:23:33,589 - DEBUG - VN ctest-vn-66074862 UUID is 50221de8-4a6d-4eff-a1dc-35d6102eda77 2025-02-17 02:23:33,879 - DEBUG - Response for create_network : {'network': {'id': 'db39505e-bf85-40c8-81cd-760e7207004f', 'name': 'ctest-vn-43370031', 'tenant_id': 'e30bc4fa60f84e7790e7e22c9d3e497a', 'project_id': 'e30bc4fa60f84e7790e7e22c9d3e497a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83783574', 'ctest-vn-43370031'], 'port_security_enabled': True, 'description': ''}} 2025-02-17 02:23:34,063 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a9f4724d-41f4-4266-8a21-5282095a2078', 'name': '', 'tenant_id': 'e30bc4fa60f84e7790e7e22c9d3e497a', 'network_id': 'db39505e-bf85-40c8-81cd-760e7207004f', 'ip_version': 4, 'cidr': '91.40.35.192/26', 'allocation_pools': [{'start': '91.40.35.194', 'end': '91.40.35.254'}], 'gateway_ip': '91.40.35.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '91.40.35.194', 'tags': [], 'project_id': 'e30bc4fa60f84e7790e7e22c9d3e497a'}} 2025-02-17 02:23:34,081 - INFO - Created VN ctest-vn-43370031 2025-02-17 02:23:34,129 - DEBUG - VN ctest-vn-43370031 UUID is db39505e-bf85-40c8-81cd-760e7207004f 2025-02-17 02:23:34,278 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-83783574:ctest-vn-66074862, 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-83783574:ctest-vn-43370031, 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-02-17 02:23:34,573 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '50221de8-4a6d-4eff-a1dc-35d6102eda77', 'name': 'ctest-vn-66074862', 'tenant_id': 'e30bc4fa60f84e7790e7e22c9d3e497a', 'project_id': 'e30bc4fa60f84e7790e7e22c9d3e497a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['86daf253-b462-4278-b279-8d4bc940c7ca'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83783574', 'ctest-vn-66074862'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-83783574', 'ctest-policy-allow-all-46020656']], 'subnet_ipam': [{'subnet_cidr': '188.50.119.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-17 02:23:34,796 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'db39505e-bf85-40c8-81cd-760e7207004f', 'name': 'ctest-vn-43370031', 'tenant_id': 'e30bc4fa60f84e7790e7e22c9d3e497a', 'project_id': 'e30bc4fa60f84e7790e7e22c9d3e497a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a9f4724d-41f4-4266-8a21-5282095a2078'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83783574', 'ctest-vn-43370031'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-83783574', 'ctest-policy-allow-all-46020656']], 'subnet_ipam': [{'subnet_cidr': '91.40.35.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-17 02:23:34,961 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-02-17 02:23:35,256 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-02-17 02:23:35,285 - DEBUG - Requesting: http://10.0.0.49:8082/domain/377b7d42-8f3e-4743-9f87-91371d930016 2025-02-17 02:23:35,299 - DEBUG - Requesting: http://10.0.0.49:8082/project/e30bc4fa-60f8-4e77-90e7-e22c9d3e497a 2025-02-17 02:23:35,376 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/50221de8-4a6d-4eff-a1dc-35d6102eda77 2025-02-17 02:23:35,386 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/50221de8-4a6d-4eff-a1dc-35d6102eda77 2025-02-17 02:23:35,394 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/08782770-cfa4-443d-af05-7f7835baf200 2025-02-17 02:23:35,402 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/08782770-cfa4-443d-af05-7f7835baf200 2025-02-17 02:23:35,409 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/323f2e61-e6a2-4452-8d14-1151be9a3635 2025-02-17 02:23:35,416 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-17 02:23:35,416 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/50221de8-4a6d-4eff-a1dc-35d6102eda77 2025-02-17 02:23:35,427 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/08782770-cfa4-443d-af05-7f7835baf200 2025-02-17 02:23:35,439 - INFO - Verified VN network id 8 for VN 50221de8-4a6d-4eff-a1dc-35d6102eda77 2025-02-17 02:23:35,439 - INFO - Verifications in API Server for VN ctest-vn-66074862 passed 2025-02-17 02:23:35,439 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/50221de8-4a6d-4eff-a1dc-35d6102eda77 2025-02-17 02:23:35,449 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/08782770-cfa4-443d-af05-7f7835baf200 2025-02-17 02:23:35,455 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/08782770-cfa4-443d-af05-7f7835baf200 2025-02-17 02:23:35,461 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/323f2e61-e6a2-4452-8d14-1151be9a3635 2025-02-17 02:23:35,472 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-83783574:ctest-vn-66074862', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-83783574', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5774210555760692991', 'uuid-lslong': '11663256328493521527'}, 'enable': 'true', 'created': '2025-02-17T02:23:33', 'last-modified': '2025-02-17T02:23:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.925964'} 2025-02-17 02:23:35,479 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-17 02:23:35,479 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66074862 passed 2025-02-17 02:23:35,479 - DEBUG - ====Verifying policy data for ctest-vn-66074862 in API_Server ====== 2025-02-17 02:23:35,479 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-02-17 02:23:35,485 - DEBUG - Requesting: http://10.0.0.49:8082/domain/377b7d42-8f3e-4743-9f87-91371d930016 2025-02-17 02:23:35,497 - DEBUG - Requesting: http://10.0.0.49:8082/project/e30bc4fa-60f8-4e77-90e7-e22c9d3e497a 2025-02-17 02:23:35,565 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/50221de8-4a6d-4eff-a1dc-35d6102eda77 2025-02-17 02:23:35,573 - DEBUG - ==>Verifying data for policy with id: 3d205248-3ccb-4274-8615-4ad2166fdcf6, fqn: ['default-domain', 'ctest-TestBasicPolicy-83783574', 'ctest-policy-allow-all-46020656'] 2025-02-17 02:23:35,573 - INFO - VN ctest-vn-66074862 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-17 02:23:35,573 - DEBUG - Verifying the vn in opserver 2025-02-17 02:23:35,573 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-83783574:ctest-vn-66074862 virtual network link through opserver 10.0.0.49 2025-02-17 02:23:35,573 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-02-17 02:23:35,863 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-02-17 02:23:35,922 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-83783574:ctest-vn-66074862', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-83783574:ctest-vn-66074862?flat'} 2025-02-17 02:23:35,922 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-83783574:ctest-vn-66074862 is found in opserver 2025-02-17 02:23:35,934 - DEBUG - Do not have enough data to verify VN in agent 2025-02-17 02:23:35,940 - DEBUG - VRF ids for VN ctest-vn-66074862: {} 2025-02-17 02:23:35,940 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-02-17 02:23:35,946 - DEBUG - Requesting: http://10.0.0.49:8082/domain/377b7d42-8f3e-4743-9f87-91371d930016 2025-02-17 02:23:35,958 - DEBUG - Requesting: http://10.0.0.49:8082/project/e30bc4fa-60f8-4e77-90e7-e22c9d3e497a 2025-02-17 02:23:36,029 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/db39505e-bf85-40c8-81cd-760e7207004f 2025-02-17 02:23:36,039 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/db39505e-bf85-40c8-81cd-760e7207004f 2025-02-17 02:23:36,046 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/acae2424-805d-418a-936d-500e29d1fa6f 2025-02-17 02:23:36,053 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/acae2424-805d-418a-936d-500e29d1fa6f 2025-02-17 02:23:36,060 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/b998b7ca-53b9-4bd2-a960-9cf742891eb1 2025-02-17 02:23:36,067 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-02-17 02:23:36,067 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/db39505e-bf85-40c8-81cd-760e7207004f 2025-02-17 02:23:36,076 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/acae2424-805d-418a-936d-500e29d1fa6f 2025-02-17 02:23:36,089 - INFO - Verified VN network id 9 for VN db39505e-bf85-40c8-81cd-760e7207004f 2025-02-17 02:23:36,089 - INFO - Verifications in API Server for VN ctest-vn-43370031 passed 2025-02-17 02:23:36,089 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/db39505e-bf85-40c8-81cd-760e7207004f 2025-02-17 02:23:36,097 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/acae2424-805d-418a-936d-500e29d1fa6f 2025-02-17 02:23:36,104 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/acae2424-805d-418a-936d-500e29d1fa6f 2025-02-17 02:23:36,112 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/b998b7ca-53b9-4bd2-a960-9cf742891eb1 2025-02-17 02:23:36,125 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-83783574:ctest-vn-43370031', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-83783574', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15796745535849054408', 'uuid-lslong': '9353261805533069391'}, 'enable': 'true', 'created': '2025-02-17T02:23:33', 'last-modified': '2025-02-17T02:23:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.349094'} 2025-02-17 02:23:36,132 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-02-17 02:23:36,132 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-43370031 passed 2025-02-17 02:23:36,133 - DEBUG - ====Verifying policy data for ctest-vn-43370031 in API_Server ====== 2025-02-17 02:23:36,133 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-02-17 02:23:36,139 - DEBUG - Requesting: http://10.0.0.49:8082/domain/377b7d42-8f3e-4743-9f87-91371d930016 2025-02-17 02:23:36,151 - DEBUG - Requesting: http://10.0.0.49:8082/project/e30bc4fa-60f8-4e77-90e7-e22c9d3e497a 2025-02-17 02:23:36,221 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/db39505e-bf85-40c8-81cd-760e7207004f 2025-02-17 02:23:36,230 - DEBUG - ==>Verifying data for policy with id: 3d205248-3ccb-4274-8615-4ad2166fdcf6, fqn: ['default-domain', 'ctest-TestBasicPolicy-83783574', 'ctest-policy-allow-all-46020656'] 2025-02-17 02:23:36,230 - INFO - VN ctest-vn-43370031 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-17 02:23:36,230 - DEBUG - Verifying the vn in opserver 2025-02-17 02:23:36,231 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-83783574:ctest-vn-43370031 virtual network link through opserver 10.0.0.49 2025-02-17 02:23:36,231 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-02-17 02:23:36,242 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-83783574:ctest-vn-43370031', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-83783574:ctest-vn-43370031?flat'} 2025-02-17 02:23:36,242 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-83783574:ctest-vn-43370031 is found in opserver 2025-02-17 02:23:36,254 - DEBUG - Do not have enough data to verify VN in agent 2025-02-17 02:23:36,259 - DEBUG - VRF ids for VN ctest-vn-43370031: {} 2025-02-17 02:23:36,320 - DEBUG - Services list from nova: [, , ] 2025-02-17 02:23:37,321 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2739-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2739-1) 2025-02-17 02:23:38,550 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2739-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2739-1) 2025-02-17 02:23:38,551 - INFO - Waiting for VM ctest-TestBasicPolicy-83783574-24900224 to be up.. 2025-02-17 02:23:38,634 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-17 02:23:43,720 - DEBUG - VM is in ACTIVE state now 2025-02-17 02:23:43,720 - INFO - VM name : ctest-TestBasicPolicy-83783574-24900224 2025-02-17 02:23:43,815 - DEBUG - VM ctest-TestBasicPolicy-83783574-24900224 ID is 84f8bded-77c8-4f79-84fe-26824861774f 2025-02-17 02:23:43,839 - DEBUG - VM ctest-TestBasicPolicy-83783574-24900224 launched on Node cn-jenkins-deploy-platform-ansible-os-2739-1 2025-02-17 02:23:43,927 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/84f8bded-77c8-4f79-84fe-26824861774f 2025-02-17 02:23:43,936 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/3f429abe-c81f-4aa7-b052-60fac2309859 2025-02-17 02:23:47,207 - 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 1030ms') 2025-02-17 02:23:47,207 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-83783574-24900224 failed! 2025-02-17 02:23:47,261 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-83783574:ctest-vn-66074862 is 188.50.119.65 and allocation pool is NOT set 2025-02-17 02:23:49,323 - 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.29 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.414 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.414/1.850/3.286/1.436 ms') 2025-02-17 02:23:49,323 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-83783574-24900224 passed 2025-02-17 02:23:49,474 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-17 02:23:49,474 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-83783574-24900224, IP 188.50.119.67, Port 22 2025-02-17 02:23:49,633 - DEBUG - VM ctest-TestBasicPolicy-83783574-24900224 is ready for SSH connections 2025-02-17 02:23:49,633 - INFO - Waiting for VM ctest-TestBasicPolicy-83783574-99349875 to be up.. 2025-02-17 02:23:49,708 - DEBUG - VM is in ACTIVE state now 2025-02-17 02:23:49,708 - INFO - VM name : ctest-TestBasicPolicy-83783574-99349875 2025-02-17 02:23:49,801 - DEBUG - VM ctest-TestBasicPolicy-83783574-99349875 ID is 5fd121ff-e8fa-49ac-a691-66bf883fd8c2 2025-02-17 02:23:49,801 - DEBUG - VM ctest-TestBasicPolicy-83783574-99349875 launched on Node cn-jenkins-deploy-platform-ansible-os-2739-1 2025-02-17 02:23:49,877 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/5fd121ff-e8fa-49ac-a691-66bf883fd8c2 2025-02-17 02:23:49,886 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/08363654-38a1-4525-9503-3e25682c4842 2025-02-17 02:23:51,125 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.430 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.430/2.071/3.712/1.641 ms') 2025-02-17 02:23:51,125 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-83783574-99349875 passed 2025-02-17 02:23:51,278 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-17 02:23:51,278 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-83783574-99349875, IP 91.40.35.195, Port 22 2025-02-17 02:23:51,441 - DEBUG - VM ctest-TestBasicPolicy-83783574-99349875 is ready for SSH connections 2025-02-17 02:23:51,441 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-17 02:23:51,441 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 91.40.35.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-02-17 02:23:51,442 - DEBUG - ping -s 56 -c 3 -W 1 91.40.35.195 2025-02-17 02:23:55,477 - DEBUG - PING 91.40.35.195 (91.40.35.195): 56 data bytes 64 bytes from 91.40.35.195: seq=0 ttl=63 time=3.601 ms 64 bytes from 91.40.35.195: seq=1 ttl=63 time=1.063 ms 64 bytes from 91.40.35.195: seq=2 ttl=63 time=0.944 ms --- 91.40.35.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.944/1.869/3.601 ms 2025-02-17 02:23:55,477 - INFO - Ping to IP 91.40.35.195 from VM ctest-TestBasicPolicy-83783574-24900224 passed 2025-02-17 02:23:55,657 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3d205248-3ccb-4274-8615-4ad2166fdcf6", "href": "http://10.0.0.49:8082/network-policy/3d205248-3ccb-4274-8615-4ad2166fdcf6"}} 2025-02-17 02:23:55,658 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-17 02:23:55,658 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 91.40.35.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-02-17 02:23:55,658 - DEBUG - ping -s 56 -c 3 -W 1 91.40.35.195 2025-02-17 02:23:58,868 - DEBUG - PING 91.40.35.195 (91.40.35.195): 56 data bytes 64 bytes from 91.40.35.195: seq=0 ttl=63 time=1.728 ms --- 91.40.35.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.728/1.728/1.728 ms 2025-02-17 02:23:58,868 - WARNING - Ping to IP 91.40.35.195 from VM ctest-TestBasicPolicy-83783574-24900224 failed 2025-02-17 02:23:58,868 - INFO - Deleting VM ctest-TestBasicPolicy-83783574-99349875 2025-02-17 02:23:58,942 - INFO - Deleting VM ctest-TestBasicPolicy-83783574-24900224 2025-02-17 02:23:59,322 - INFO - Deleted policy ctest-policy-allow-all-46020656 2025-02-17 02:23:59,323 - INFO - Deleting VN ctest-vn-43370031 2025-02-17 02:23:59,365 - DEBUG - VN db39505e-bf85-40c8-81cd-760e7207004f still in use: Unable to complete operation on network db39505e-bf85-40c8-81cd-760e7207004f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-853a8f46-905e-44f1-bce0-663f095538b3'] 2025-02-17 02:23:59,365 - WARNING - Deleting VN ctest-vn-43370031 failed..Will retry 2025-02-17 02:24:01,469 - DEBUG - Response for deleting network () 2025-02-17 02:24:01,469 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/acae2424-805d-418a-936d-500e29d1fa6f 2025-02-17 02:24:01,478 - DEBUG - Response Code: 404 2025-02-17 02:24:01,478 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-02-17 02:24:01,486 - DEBUG - Requesting: http://10.0.0.49:8082/domain/377b7d42-8f3e-4743-9f87-91371d930016 2025-02-17 02:24:01,543 - DEBUG - Requesting: http://10.0.0.49:8082/project/e30bc4fa-60f8-4e77-90e7-e22c9d3e497a 2025-02-17 02:24:01,614 - INFO - Validated that VN ctest-vn-43370031 is not found in API Server 2025-02-17 02:24:01,625 - DEBUG - VN ctest-vn-43370031 is not present in Agent 10.0.0.49 2025-02-17 02:24:01,625 - INFO - Validated that VN ctest-vn-43370031 is not in any agent 2025-02-17 02:24:01,642 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-43370031 info 2025-02-17 02:24:01,642 - INFO - Deleting VN ctest-vn-66074862 2025-02-17 02:24:01,753 - DEBUG - Response for deleting network () 2025-02-17 02:24:01,753 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/08782770-cfa4-443d-af05-7f7835baf200 2025-02-17 02:24:01,760 - DEBUG - Response Code: 404 2025-02-17 02:24:01,760 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-02-17 02:24:01,768 - DEBUG - Requesting: http://10.0.0.49:8082/domain/377b7d42-8f3e-4743-9f87-91371d930016 2025-02-17 02:24:01,823 - DEBUG - Requesting: http://10.0.0.49:8082/project/e30bc4fa-60f8-4e77-90e7-e22c9d3e497a 2025-02-17 02:24:01,894 - INFO - Validated that VN ctest-vn-66074862 is not found in API Server 2025-02-17 02:24:01,906 - DEBUG - VN ctest-vn-66074862 is not present in Agent 10.0.0.49 2025-02-17 02:24:01,906 - INFO - Validated that VN ctest-vn-66074862 is not in any agent 2025-02-17 02:24:01,924 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-66074862 info 2025-02-17 02:24:02,188 - DEBUG - No XMPP flaps were noticed during the test 2025-02-17 02:24:02,188 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-02-17 02:24:02,188 - INFO - -------------------------------------------------------------------------------- 2025-02-17 02:24:02,857 - INFO - Deleted project: ctest-TestBasicPolicy-83783574, ID : e30bc4fa-60f8-4e77-90e7-e22c9d3e497a