2025-02-10 17:39:43,839 - INFO - Domain Default found not creating 2025-02-10 17:39:43,964 - INFO - Project ctest-TestBasicPolicy-72811583 not found, creating it 2025-02-10 17:39:44,401 - INFO - Created Project:ctest-TestBasicPolicy-72811583, ID : e6cc98c0-02e7-442a-90a6-16f47e4bec07 2025-02-10 17:39:45,863 - INFO - ================================================================================ 2025-02-10 17:39:45,863 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-02-10 17:39:45,863 - 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-10 17:39:46,122 - DEBUG - Nothing to compare xmpp stats {'10.0.0.31': {'10.20.0.18': '0'}} with 2025-02-10 17:39:46,123 - INFO - Initial checks done. Running the testcase now 2025-02-10 17:39:46,123 - INFO - 2025-02-10 17:39:46,689 - DEBUG - Response for create_network : {'network': {'id': 'cd798956-5219-48ec-9955-0a2bdafa08c7', 'name': 'ctest-vn-75161565', 'tenant_id': 'e6cc98c002e7442a90a616f47e4bec07', 'project_id': 'e6cc98c002e7442a90a616f47e4bec07', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72811583', 'ctest-vn-75161565'], 'port_security_enabled': True, 'description': ''}} 2025-02-10 17:39:46,873 - DEBUG - Response for create_subnet : {'subnet': {'id': '218ed433-e353-45b9-8439-8878b41bc28f', 'name': '', 'tenant_id': 'e6cc98c002e7442a90a616f47e4bec07', 'network_id': 'cd798956-5219-48ec-9955-0a2bdafa08c7', 'ip_version': 4, 'cidr': '153.233.251.192/26', 'allocation_pools': [{'start': '153.233.251.194', 'end': '153.233.251.254'}], 'gateway_ip': '153.233.251.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '153.233.251.194', 'tags': [], 'project_id': 'e6cc98c002e7442a90a616f47e4bec07'}} 2025-02-10 17:39:46,889 - INFO - Created VN ctest-vn-75161565 2025-02-10 17:39:46,940 - DEBUG - VN ctest-vn-75161565 UUID is cd798956-5219-48ec-9955-0a2bdafa08c7 2025-02-10 17:39:47,255 - DEBUG - Response for create_network : {'network': {'id': '973212fc-5722-493d-8b62-c8a1c6dd8b06', 'name': 'ctest-vn-43035849', 'tenant_id': 'e6cc98c002e7442a90a616f47e4bec07', 'project_id': 'e6cc98c002e7442a90a616f47e4bec07', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72811583', 'ctest-vn-43035849'], 'port_security_enabled': True, 'description': ''}} 2025-02-10 17:39:47,402 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f14d06a8-8af2-48a1-ba9f-933d6e2a2417', 'name': '', 'tenant_id': 'e6cc98c002e7442a90a616f47e4bec07', 'network_id': '973212fc-5722-493d-8b62-c8a1c6dd8b06', 'ip_version': 4, 'cidr': '165.141.179.128/26', 'allocation_pools': [{'start': '165.141.179.130', 'end': '165.141.179.190'}], 'gateway_ip': '165.141.179.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '165.141.179.130', 'tags': [], 'project_id': 'e6cc98c002e7442a90a616f47e4bec07'}} 2025-02-10 17:39:47,420 - INFO - Created VN ctest-vn-43035849 2025-02-10 17:39:47,476 - DEBUG - VN ctest-vn-43035849 UUID is 973212fc-5722-493d-8b62-c8a1c6dd8b06 2025-02-10 17:39:47,628 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-72811583:ctest-vn-75161565, 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-72811583:ctest-vn-43035849, 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-10 17:39:47,928 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cd798956-5219-48ec-9955-0a2bdafa08c7', 'name': 'ctest-vn-75161565', 'tenant_id': 'e6cc98c002e7442a90a616f47e4bec07', 'project_id': 'e6cc98c002e7442a90a616f47e4bec07', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['218ed433-e353-45b9-8439-8878b41bc28f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72811583', 'ctest-vn-75161565'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-72811583', 'ctest-policy-allow-all-36488951']], 'subnet_ipam': [{'subnet_cidr': '153.233.251.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-10 17:39:48,152 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '973212fc-5722-493d-8b62-c8a1c6dd8b06', 'name': 'ctest-vn-43035849', 'tenant_id': 'e6cc98c002e7442a90a616f47e4bec07', 'project_id': 'e6cc98c002e7442a90a616f47e4bec07', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f14d06a8-8af2-48a1-ba9f-933d6e2a2417'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72811583', 'ctest-vn-43035849'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-72811583', 'ctest-policy-allow-all-36488951']], 'subnet_ipam': [{'subnet_cidr': '165.141.179.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-10 17:39:48,304 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-02-10 17:39:48,603 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-02-10 17:39:48,632 - DEBUG - Requesting: http://10.0.0.31:8082/domain/4f62b827-e11c-4665-a6b3-3012057af6bc 2025-02-10 17:39:48,645 - DEBUG - Requesting: http://10.0.0.31:8082/project/e6cc98c0-02e7-442a-90a6-16f47e4bec07 2025-02-10 17:39:48,716 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/cd798956-5219-48ec-9955-0a2bdafa08c7 2025-02-10 17:39:48,727 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/cd798956-5219-48ec-9955-0a2bdafa08c7 2025-02-10 17:39:48,736 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/0487e4a3-fde1-483b-92ae-d7834eac08a6 2025-02-10 17:39:48,743 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/0487e4a3-fde1-483b-92ae-d7834eac08a6 2025-02-10 17:39:48,750 - DEBUG - Requesting: http://10.0.0.31:8082/route-target/c3efcd8a-5a88-415a-8837-ff9162bbf2ae 2025-02-10 17:39:48,756 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-10 17:39:48,756 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/cd798956-5219-48ec-9955-0a2bdafa08c7 2025-02-10 17:39:48,765 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/0487e4a3-fde1-483b-92ae-d7834eac08a6 2025-02-10 17:39:48,778 - INFO - Verified VN network id 9 for VN cd798956-5219-48ec-9955-0a2bdafa08c7 2025-02-10 17:39:48,778 - INFO - Verifications in API Server for VN ctest-vn-75161565 passed 2025-02-10 17:39:48,778 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/cd798956-5219-48ec-9955-0a2bdafa08c7 2025-02-10 17:39:48,789 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/0487e4a3-fde1-483b-92ae-d7834eac08a6 2025-02-10 17:39:48,796 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/0487e4a3-fde1-483b-92ae-d7834eac08a6 2025-02-10 17:39:48,803 - DEBUG - Requesting: http://10.0.0.31:8082/route-target/c3efcd8a-5a88-415a-8837-ff9162bbf2ae 2025-02-10 17:39:48,814 - DEBUG - Control-node 10.0.0.31 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-72811583:ctest-vn-75161565', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-72811583', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14806016253794797804', 'uuid-lslong': '11048748444297070791'}, 'enable': 'true', 'created': '2025-02-10T17:39:46', 'last-modified': '2025-02-10T17:39:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.915635'} 2025-02-10 17:39:48,821 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-10 17:39:48,821 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-75161565 passed 2025-02-10 17:39:48,821 - DEBUG - ====Verifying policy data for ctest-vn-75161565 in API_Server ====== 2025-02-10 17:39:48,821 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-02-10 17:39:48,827 - DEBUG - Requesting: http://10.0.0.31:8082/domain/4f62b827-e11c-4665-a6b3-3012057af6bc 2025-02-10 17:39:48,837 - DEBUG - Requesting: http://10.0.0.31:8082/project/e6cc98c0-02e7-442a-90a6-16f47e4bec07 2025-02-10 17:39:48,913 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/cd798956-5219-48ec-9955-0a2bdafa08c7 2025-02-10 17:39:48,923 - DEBUG - ==>Verifying data for policy with id: ae62f364-cee5-423b-b6ca-95659daca735, fqn: ['default-domain', 'ctest-TestBasicPolicy-72811583', 'ctest-policy-allow-all-36488951'] 2025-02-10 17:39:48,923 - INFO - VN ctest-vn-75161565 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-10 17:39:48,923 - DEBUG - Verifying the vn in opserver 2025-02-10 17:39:48,923 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-72811583:ctest-vn-75161565 virtual network link through opserver 10.0.0.31 2025-02-10 17:39:48,923 - DEBUG - Requesting: http://10.0.0.31:8081/analytics/uves/virtual-networks 2025-02-10 17:39:49,218 - DEBUG - Requesting: http://10.0.0.31:8081/analytics/uves/virtual-networks 2025-02-10 17:39:49,275 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-72811583:ctest-vn-75161565', 'href': 'http://10.0.0.31:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-72811583:ctest-vn-75161565?flat'} 2025-02-10 17:39:49,275 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-72811583:ctest-vn-75161565 is found in opserver 2025-02-10 17:39:49,287 - DEBUG - Do not have enough data to verify VN in agent 2025-02-10 17:39:49,292 - DEBUG - VRF ids for VN ctest-vn-75161565: {} 2025-02-10 17:39:49,292 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-02-10 17:39:49,298 - DEBUG - Requesting: http://10.0.0.31:8082/domain/4f62b827-e11c-4665-a6b3-3012057af6bc 2025-02-10 17:39:49,309 - DEBUG - Requesting: http://10.0.0.31:8082/project/e6cc98c0-02e7-442a-90a6-16f47e4bec07 2025-02-10 17:39:49,384 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/973212fc-5722-493d-8b62-c8a1c6dd8b06 2025-02-10 17:39:49,396 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/973212fc-5722-493d-8b62-c8a1c6dd8b06 2025-02-10 17:39:49,405 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/a309d269-2541-466c-93a0-c21521123c79 2025-02-10 17:39:49,411 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/a309d269-2541-466c-93a0-c21521123c79 2025-02-10 17:39:49,418 - DEBUG - Requesting: http://10.0.0.31:8082/route-target/4517e96d-a251-462e-8eb6-c8e79f6044b5 2025-02-10 17:39:49,423 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-10 17:39:49,423 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/973212fc-5722-493d-8b62-c8a1c6dd8b06 2025-02-10 17:39:49,432 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/a309d269-2541-466c-93a0-c21521123c79 2025-02-10 17:39:49,445 - INFO - Verified VN network id 10 for VN 973212fc-5722-493d-8b62-c8a1c6dd8b06 2025-02-10 17:39:49,445 - INFO - Verifications in API Server for VN ctest-vn-43035849 passed 2025-02-10 17:39:49,445 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/973212fc-5722-493d-8b62-c8a1c6dd8b06 2025-02-10 17:39:49,454 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/a309d269-2541-466c-93a0-c21521123c79 2025-02-10 17:39:49,461 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/a309d269-2541-466c-93a0-c21521123c79 2025-02-10 17:39:49,467 - DEBUG - Requesting: http://10.0.0.31:8082/route-target/4517e96d-a251-462e-8eb6-c8e79f6044b5 2025-02-10 17:39:49,478 - DEBUG - Control-node 10.0.0.31 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-72811583:ctest-vn-43035849', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-72811583', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10894791323565574461', 'uuid-lslong': '10043810716141325062'}, 'enable': 'true', 'created': '2025-02-10T17:39:47', 'last-modified': '2025-02-10T17:39:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.344954'} 2025-02-10 17:39:49,485 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-10 17:39:49,485 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-43035849 passed 2025-02-10 17:39:49,485 - DEBUG - ====Verifying policy data for ctest-vn-43035849 in API_Server ====== 2025-02-10 17:39:49,485 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-02-10 17:39:49,490 - DEBUG - Requesting: http://10.0.0.31:8082/domain/4f62b827-e11c-4665-a6b3-3012057af6bc 2025-02-10 17:39:49,501 - DEBUG - Requesting: http://10.0.0.31:8082/project/e6cc98c0-02e7-442a-90a6-16f47e4bec07 2025-02-10 17:39:49,577 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/973212fc-5722-493d-8b62-c8a1c6dd8b06 2025-02-10 17:39:49,587 - DEBUG - ==>Verifying data for policy with id: ae62f364-cee5-423b-b6ca-95659daca735, fqn: ['default-domain', 'ctest-TestBasicPolicy-72811583', 'ctest-policy-allow-all-36488951'] 2025-02-10 17:39:49,587 - INFO - VN ctest-vn-43035849 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-10 17:39:49,587 - DEBUG - Verifying the vn in opserver 2025-02-10 17:39:49,587 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-72811583:ctest-vn-43035849 virtual network link through opserver 10.0.0.31 2025-02-10 17:39:49,587 - DEBUG - Requesting: http://10.0.0.31:8081/analytics/uves/virtual-networks 2025-02-10 17:39:49,597 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-72811583:ctest-vn-43035849', 'href': 'http://10.0.0.31:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-72811583:ctest-vn-43035849?flat'} 2025-02-10 17:39:49,597 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-72811583:ctest-vn-43035849 is found in opserver 2025-02-10 17:39:49,607 - DEBUG - Do not have enough data to verify VN in agent 2025-02-10 17:39:49,612 - DEBUG - VRF ids for VN ctest-vn-43035849: {} 2025-02-10 17:39:49,666 - DEBUG - Services list from nova: [, , ] 2025-02-10 17:39:50,654 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2716-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2716-1) 2025-02-10 17:39:51,942 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2716-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2716-1) 2025-02-10 17:39:51,942 - INFO - Waiting for VM ctest-TestBasicPolicy-72811583-26675996 to be up.. 2025-02-10 17:39:52,023 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-10 17:39:57,097 - DEBUG - VM is in ACTIVE state now 2025-02-10 17:39:57,098 - INFO - VM name : ctest-TestBasicPolicy-72811583-26675996 2025-02-10 17:39:57,170 - DEBUG - VM ctest-TestBasicPolicy-72811583-26675996 ID is f5d82059-f7bb-428d-843d-56674314f3ef 2025-02-10 17:39:57,189 - DEBUG - VM ctest-TestBasicPolicy-72811583-26675996 launched on Node cn-jenkins-deploy-platform-ansible-os-2716-1 2025-02-10 17:39:57,263 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/f5d82059-f7bb-428d-843d-56674314f3ef 2025-02-10 17:39:57,272 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/e62dc640-e9b0-495f-b844-4f611bdb1851 2025-02-10 17:40:00,533 - 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 1023ms') 2025-02-10 17:40:00,533 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-72811583-26675996 failed! 2025-02-10 17:40:00,592 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-72811583:ctest-vn-75161565 is 153.233.251.193 and allocation pool is NOT set 2025-02-10 17:40:02,654 - 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=4.04 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.450 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.450/2.244/4.038/1.794 ms') 2025-02-10 17:40:02,655 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-72811583-26675996 passed 2025-02-10 17:40:02,804 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-10 17:40:02,804 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-72811583-26675996, IP 153.233.251.195, Port 22 2025-02-10 17:40:02,959 - DEBUG - VM ctest-TestBasicPolicy-72811583-26675996 is ready for SSH connections 2025-02-10 17:40:02,960 - INFO - Waiting for VM ctest-TestBasicPolicy-72811583-46589420 to be up.. 2025-02-10 17:40:03,036 - DEBUG - VM is in ACTIVE state now 2025-02-10 17:40:03,036 - INFO - VM name : ctest-TestBasicPolicy-72811583-46589420 2025-02-10 17:40:03,108 - DEBUG - VM ctest-TestBasicPolicy-72811583-46589420 ID is 65117caa-03e4-4f67-8411-e9efb027997c 2025-02-10 17:40:03,109 - DEBUG - VM ctest-TestBasicPolicy-72811583-46589420 launched on Node cn-jenkins-deploy-platform-ansible-os-2716-1 2025-02-10 17:40:03,183 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/65117caa-03e4-4f67-8411-e9efb027997c 2025-02-10 17:40:03,193 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/1e84bd9a-da7a-4ae4-b899-13fd546bc4c4 2025-02-10 17:40:04,428 - 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.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.348 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.348/1.993/3.638/1.645 ms') 2025-02-10 17:40:04,428 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-72811583-46589420 passed 2025-02-10 17:40:04,584 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-10 17:40:04,584 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-72811583-46589420, IP 165.141.179.131, Port 22 2025-02-10 17:40:04,739 - DEBUG - VM ctest-TestBasicPolicy-72811583-46589420 is ready for SSH connections 2025-02-10 17:40:04,740 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-10 17:40:04,740 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 165.141.179.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123 2025-02-10 17:40:04,740 - DEBUG - ping -s 56 -c 3 -W 1 165.141.179.131 2025-02-10 17:40:08,423 - DEBUG - PING 165.141.179.131 (165.141.179.131): 56 data bytes 64 bytes from 165.141.179.131: seq=0 ttl=63 time=3.492 ms 64 bytes from 165.141.179.131: seq=1 ttl=63 time=0.786 ms 64 bytes from 165.141.179.131: seq=2 ttl=63 time=0.753 ms --- 165.141.179.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.753/1.677/3.492 ms 2025-02-10 17:40:08,423 - INFO - Ping to IP 165.141.179.131 from VM ctest-TestBasicPolicy-72811583-26675996 passed 2025-02-10 17:40:08,600 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ae62f364-cee5-423b-b6ca-95659daca735", "href": "http://10.0.0.31:8082/network-policy/ae62f364-cee5-423b-b6ca-95659daca735"}} 2025-02-10 17:40:08,600 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-10 17:40:08,600 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 165.141.179.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123 2025-02-10 17:40:08,600 - DEBUG - ping -s 56 -c 3 -W 1 165.141.179.131 2025-02-10 17:40:11,799 - DEBUG - PING 165.141.179.131 (165.141.179.131): 56 data bytes --- 165.141.179.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-02-10 17:40:11,799 - WARNING - Ping to IP 165.141.179.131 from VM ctest-TestBasicPolicy-72811583-26675996 failed 2025-02-10 17:40:11,799 - INFO - Deleting VM ctest-TestBasicPolicy-72811583-46589420 2025-02-10 17:40:11,863 - INFO - Deleting VM ctest-TestBasicPolicy-72811583-26675996 2025-02-10 17:40:12,201 - INFO - Deleted policy ctest-policy-allow-all-36488951 2025-02-10 17:40:12,201 - INFO - Deleting VN ctest-vn-43035849 2025-02-10 17:40:12,234 - DEBUG - VN 973212fc-5722-493d-8b62-c8a1c6dd8b06 still in use: Unable to complete operation on network 973212fc-5722-493d-8b62-c8a1c6dd8b06. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7b9289c4-c73a-4a5e-b8a3-ec9a3cbf9720'] 2025-02-10 17:40:12,234 - WARNING - Deleting VN ctest-vn-43035849 failed..Will retry 2025-02-10 17:40:14,336 - DEBUG - Response for deleting network () 2025-02-10 17:40:14,336 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/a309d269-2541-466c-93a0-c21521123c79 2025-02-10 17:40:14,341 - DEBUG - Response Code: 404 2025-02-10 17:40:14,342 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-02-10 17:40:14,349 - DEBUG - Requesting: http://10.0.0.31:8082/domain/4f62b827-e11c-4665-a6b3-3012057af6bc 2025-02-10 17:40:14,405 - DEBUG - Requesting: http://10.0.0.31:8082/project/e6cc98c0-02e7-442a-90a6-16f47e4bec07 2025-02-10 17:40:14,476 - INFO - Validated that VN ctest-vn-43035849 is not found in API Server 2025-02-10 17:40:14,487 - DEBUG - VN ctest-vn-43035849 is not present in Agent 10.0.0.31 2025-02-10 17:40:14,487 - INFO - Validated that VN ctest-vn-43035849 is not in any agent 2025-02-10 17:40:14,501 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-43035849 info 2025-02-10 17:40:14,501 - INFO - Deleting VN ctest-vn-75161565 2025-02-10 17:40:14,596 - DEBUG - Response for deleting network () 2025-02-10 17:40:14,597 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/0487e4a3-fde1-483b-92ae-d7834eac08a6 2025-02-10 17:40:14,603 - DEBUG - Response Code: 404 2025-02-10 17:40:14,603 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-02-10 17:40:14,609 - DEBUG - Requesting: http://10.0.0.31:8082/domain/4f62b827-e11c-4665-a6b3-3012057af6bc 2025-02-10 17:40:14,665 - DEBUG - Requesting: http://10.0.0.31:8082/project/e6cc98c0-02e7-442a-90a6-16f47e4bec07 2025-02-10 17:40:14,742 - INFO - Validated that VN ctest-vn-75161565 is not found in API Server 2025-02-10 17:40:14,753 - DEBUG - VN ctest-vn-75161565 is not present in Agent 10.0.0.31 2025-02-10 17:40:14,753 - INFO - Validated that VN ctest-vn-75161565 is not in any agent 2025-02-10 17:40:14,768 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-75161565 info 2025-02-10 17:40:15,030 - DEBUG - No XMPP flaps were noticed during the test
2025-02-10 17:40:15,030 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-02-10 17:40:15,030 - INFO - -------------------------------------------------------------------------------- 2025-02-10 17:40:15,682 - INFO - Deleted project: ctest-TestBasicPolicy-72811583, ID : e6cc98c0-02e7-442a-90a6-16f47e4bec07