2025-03-17 02:27:35,468 - INFO - Domain Default found not creating 2025-03-17 02:27:35,616 - INFO - Project ctest-TestBasicPolicy-71007601 not found, creating it 2025-03-17 02:27:36,105 - INFO - Created Project:ctest-TestBasicPolicy-71007601, ID : 9eee1c88-a348-48e4-a338-2517be87f523 2025-03-17 02:27:37,553 - INFO - ================================================================================ 2025-03-17 02:27:37,553 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-03-17 02:27:37,553 - 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-17 02:27:37,810 - DEBUG - Nothing to compare xmpp stats {'10.0.0.46': {'10.0.0.46': '0'}} with 2025-03-17 02:27:37,810 - INFO - Initial checks done. Running the testcase now 2025-03-17 02:27:37,810 - INFO - 2025-03-17 02:27:38,363 - DEBUG - Response for create_network : {'network': {'id': 'c8c699af-843b-4634-bebd-87aea58abd41', 'name': 'ctest-vn-78903743', 'tenant_id': '9eee1c88a34848e4a3382517be87f523', 'project_id': '9eee1c88a34848e4a3382517be87f523', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71007601', 'ctest-vn-78903743'], 'port_security_enabled': True, 'description': ''}} 2025-03-17 02:27:38,574 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b9635c20-d2bf-4b27-9feb-6f83c4ae15fe', 'name': '', 'tenant_id': '9eee1c88a34848e4a3382517be87f523', 'network_id': 'c8c699af-843b-4634-bebd-87aea58abd41', 'ip_version': 4, 'cidr': '37.155.31.0/26', 'allocation_pools': [{'start': '37.155.31.2', 'end': '37.155.31.62'}], 'gateway_ip': '37.155.31.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.155.31.2', 'tags': [], 'project_id': '9eee1c88a34848e4a3382517be87f523'}} 2025-03-17 02:27:38,593 - INFO - Created VN ctest-vn-78903743 2025-03-17 02:27:38,648 - DEBUG - VN ctest-vn-78903743 UUID is c8c699af-843b-4634-bebd-87aea58abd41 2025-03-17 02:27:38,985 - DEBUG - Response for create_network : {'network': {'id': 'afe33f94-6c38-470b-9f71-2068bc946d32', 'name': 'ctest-vn-35891480', 'tenant_id': '9eee1c88a34848e4a3382517be87f523', 'project_id': '9eee1c88a34848e4a3382517be87f523', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71007601', 'ctest-vn-35891480'], 'port_security_enabled': True, 'description': ''}} 2025-03-17 02:27:39,146 - DEBUG - Response for create_subnet : {'subnet': {'id': '9f2903cc-c94a-4ab5-b1a1-68a88e8f326b', 'name': '', 'tenant_id': '9eee1c88a34848e4a3382517be87f523', 'network_id': 'afe33f94-6c38-470b-9f71-2068bc946d32', 'ip_version': 4, 'cidr': '133.216.176.64/26', 'allocation_pools': [{'start': '133.216.176.66', 'end': '133.216.176.126'}], 'gateway_ip': '133.216.176.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.216.176.66', 'tags': [], 'project_id': '9eee1c88a34848e4a3382517be87f523'}} 2025-03-17 02:27:39,165 - INFO - Created VN ctest-vn-35891480 2025-03-17 02:27:39,224 - DEBUG - VN ctest-vn-35891480 UUID is afe33f94-6c38-470b-9f71-2068bc946d32 2025-03-17 02:27:39,344 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-71007601:ctest-vn-78903743, 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-71007601:ctest-vn-35891480, 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-17 02:27:39,679 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c8c699af-843b-4634-bebd-87aea58abd41', 'name': 'ctest-vn-78903743', 'tenant_id': '9eee1c88a34848e4a3382517be87f523', 'project_id': '9eee1c88a34848e4a3382517be87f523', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b9635c20-d2bf-4b27-9feb-6f83c4ae15fe'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71007601', 'ctest-vn-78903743'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71007601', 'ctest-policy-allow-all-75679254']], 'subnet_ipam': [{'subnet_cidr': '37.155.31.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-03-17 02:27:39,936 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'afe33f94-6c38-470b-9f71-2068bc946d32', 'name': 'ctest-vn-35891480', 'tenant_id': '9eee1c88a34848e4a3382517be87f523', 'project_id': '9eee1c88a34848e4a3382517be87f523', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9f2903cc-c94a-4ab5-b1a1-68a88e8f326b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71007601', 'ctest-vn-35891480'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71007601', 'ctest-policy-allow-all-75679254']], 'subnet_ipam': [{'subnet_cidr': '133.216.176.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-03-17 02:27:40,112 - DEBUG - Requesting: http://10.0.0.46:8082/domains 2025-03-17 02:27:40,408 - DEBUG - Requesting: http://10.0.0.46:8082/domains 2025-03-17 02:27:40,442 - DEBUG - Requesting: http://10.0.0.46:8082/domain/cea3de82-6af3-458d-b61f-d5425465021f 2025-03-17 02:27:40,456 - DEBUG - Requesting: http://10.0.0.46:8082/project/9eee1c88-a348-48e4-a338-2517be87f523 2025-03-17 02:27:40,531 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-network/c8c699af-843b-4634-bebd-87aea58abd41 2025-03-17 02:27:40,543 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-network/c8c699af-843b-4634-bebd-87aea58abd41 2025-03-17 02:27:40,555 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/32357ba8-9ea3-458e-a5c7-767944e4ca53 2025-03-17 02:27:40,563 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/32357ba8-9ea3-458e-a5c7-767944e4ca53 2025-03-17 02:27:40,571 - DEBUG - Requesting: http://10.0.0.46:8082/route-target/6e9c4e65-7407-48e8-ad78-cee921383506 2025-03-17 02:27:40,578 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-03-17 02:27:40,579 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-network/c8c699af-843b-4634-bebd-87aea58abd41 2025-03-17 02:27:40,588 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/32357ba8-9ea3-458e-a5c7-767944e4ca53 2025-03-17 02:27:40,605 - INFO - Verified VN network id 8 for VN c8c699af-843b-4634-bebd-87aea58abd41 2025-03-17 02:27:40,605 - INFO - Verifications in API Server for VN ctest-vn-78903743 passed 2025-03-17 02:27:40,605 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-network/c8c699af-843b-4634-bebd-87aea58abd41 2025-03-17 02:27:40,616 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/32357ba8-9ea3-458e-a5c7-767944e4ca53 2025-03-17 02:27:40,624 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/32357ba8-9ea3-458e-a5c7-767944e4ca53 2025-03-17 02:27:40,631 - DEBUG - Requesting: http://10.0.0.46:8082/route-target/6e9c4e65-7407-48e8-ad78-cee921383506 2025-03-17 02:27:40,646 - DEBUG - Control-node 10.0.0.46 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71007601:ctest-vn-78903743', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71007601', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14467419832091100724', 'uuid-lslong': '13744290821976014145'}, 'enable': 'true', 'created': '2025-03-17T02:27:38', 'last-modified': '2025-03-17T02:27:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.008093'} 2025-03-17 02:27:40,653 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-03-17 02:27:40,653 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-78903743 passed 2025-03-17 02:27:40,653 - DEBUG - ====Verifying policy data for ctest-vn-78903743 in API_Server ====== 2025-03-17 02:27:40,653 - DEBUG - Requesting: http://10.0.0.46:8082/domains 2025-03-17 02:27:40,660 - DEBUG - Requesting: http://10.0.0.46:8082/domain/cea3de82-6af3-458d-b61f-d5425465021f 2025-03-17 02:27:40,673 - DEBUG - Requesting: http://10.0.0.46:8082/project/9eee1c88-a348-48e4-a338-2517be87f523 2025-03-17 02:27:40,744 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-network/c8c699af-843b-4634-bebd-87aea58abd41 2025-03-17 02:27:40,755 - DEBUG - ==>Verifying data for policy with id: 97d26f9c-d0ca-4c96-90fd-523404db2e59, fqn: ['default-domain', 'ctest-TestBasicPolicy-71007601', 'ctest-policy-allow-all-75679254'] 2025-03-17 02:27:40,756 - INFO - VN ctest-vn-78903743 Policy verification: verify_vn_policy_in_api_server, status: True 2025-03-17 02:27:40,756 - DEBUG - Verifying the vn in opserver 2025-03-17 02:27:40,756 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71007601:ctest-vn-78903743 virtual network link through opserver 10.0.0.46 2025-03-17 02:27:40,756 - DEBUG - Requesting: http://10.0.0.46:8081/analytics/uves/virtual-networks 2025-03-17 02:27:41,047 - DEBUG - Requesting: http://10.0.0.46:8081/analytics/uves/virtual-networks 2025-03-17 02:27:41,104 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71007601:ctest-vn-78903743', 'href': 'http://10.0.0.46:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71007601:ctest-vn-78903743?flat'} 2025-03-17 02:27:41,104 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71007601:ctest-vn-78903743 is found in opserver 2025-03-17 02:27:41,117 - DEBUG - Do not have enough data to verify VN in agent 2025-03-17 02:27:41,122 - DEBUG - VRF ids for VN ctest-vn-78903743: {} 2025-03-17 02:27:41,123 - DEBUG - Requesting: http://10.0.0.46:8082/domains 2025-03-17 02:27:41,129 - DEBUG - Requesting: http://10.0.0.46:8082/domain/cea3de82-6af3-458d-b61f-d5425465021f 2025-03-17 02:27:41,143 - DEBUG - Requesting: http://10.0.0.46:8082/project/9eee1c88-a348-48e4-a338-2517be87f523 2025-03-17 02:27:41,221 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-network/afe33f94-6c38-470b-9f71-2068bc946d32 2025-03-17 02:27:41,235 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-network/afe33f94-6c38-470b-9f71-2068bc946d32 2025-03-17 02:27:41,247 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/07f4d004-b9ee-4fdf-98cb-f083efd480b9 2025-03-17 02:27:41,257 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/07f4d004-b9ee-4fdf-98cb-f083efd480b9 2025-03-17 02:27:41,265 - DEBUG - Requesting: http://10.0.0.46:8082/route-target/3f61202e-b526-4e91-855d-5cdab7ceba9b 2025-03-17 02:27:41,275 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-17 02:27:41,275 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-network/afe33f94-6c38-470b-9f71-2068bc946d32 2025-03-17 02:27:41,286 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/07f4d004-b9ee-4fdf-98cb-f083efd480b9 2025-03-17 02:27:41,304 - INFO - Verified VN network id 9 for VN afe33f94-6c38-470b-9f71-2068bc946d32 2025-03-17 02:27:41,304 - INFO - Verifications in API Server for VN ctest-vn-35891480 passed 2025-03-17 02:27:41,304 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-network/afe33f94-6c38-470b-9f71-2068bc946d32 2025-03-17 02:27:41,316 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/07f4d004-b9ee-4fdf-98cb-f083efd480b9 2025-03-17 02:27:41,326 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/07f4d004-b9ee-4fdf-98cb-f083efd480b9 2025-03-17 02:27:41,333 - DEBUG - Requesting: http://10.0.0.46:8082/route-target/3f61202e-b526-4e91-855d-5cdab7ceba9b 2025-03-17 02:27:41,348 - DEBUG - Control-node 10.0.0.46 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71007601:ctest-vn-35891480', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71007601', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12674043683054044939', 'uuid-lslong': '11488999758611377458'}, 'enable': 'true', 'created': '2025-03-17T02:27:38', 'last-modified': '2025-03-17T02:27:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.440992'} 2025-03-17 02:27:41,357 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-17 02:27:41,357 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-35891480 passed 2025-03-17 02:27:41,357 - DEBUG - ====Verifying policy data for ctest-vn-35891480 in API_Server ====== 2025-03-17 02:27:41,358 - DEBUG - Requesting: http://10.0.0.46:8082/domains 2025-03-17 02:27:41,364 - DEBUG - Requesting: http://10.0.0.46:8082/domain/cea3de82-6af3-458d-b61f-d5425465021f 2025-03-17 02:27:41,377 - DEBUG - Requesting: http://10.0.0.46:8082/project/9eee1c88-a348-48e4-a338-2517be87f523 2025-03-17 02:27:41,450 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-network/afe33f94-6c38-470b-9f71-2068bc946d32 2025-03-17 02:27:41,463 - DEBUG - ==>Verifying data for policy with id: 97d26f9c-d0ca-4c96-90fd-523404db2e59, fqn: ['default-domain', 'ctest-TestBasicPolicy-71007601', 'ctest-policy-allow-all-75679254'] 2025-03-17 02:27:41,463 - INFO - VN ctest-vn-35891480 Policy verification: verify_vn_policy_in_api_server, status: True 2025-03-17 02:27:41,463 - DEBUG - Verifying the vn in opserver 2025-03-17 02:27:41,463 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71007601:ctest-vn-35891480 virtual network link through opserver 10.0.0.46 2025-03-17 02:27:41,463 - DEBUG - Requesting: http://10.0.0.46:8081/analytics/uves/virtual-networks 2025-03-17 02:27:41,474 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71007601:ctest-vn-35891480', 'href': 'http://10.0.0.46:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71007601:ctest-vn-35891480?flat'} 2025-03-17 02:27:41,475 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71007601:ctest-vn-35891480 is found in opserver 2025-03-17 02:27:41,486 - DEBUG - Do not have enough data to verify VN in agent 2025-03-17 02:27:41,492 - DEBUG - VRF ids for VN ctest-vn-35891480: {} 2025-03-17 02:27:41,562 - DEBUG - Services list from nova: [, , ] 2025-03-17 02:27:42,578 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2891-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2891-1) 2025-03-17 02:27:43,848 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2891-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2891-1) 2025-03-17 02:27:43,848 - INFO - Waiting for VM ctest-TestBasicPolicy-71007601-38067229 to be up.. 2025-03-17 02:27:43,956 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-17 02:27:49,036 - DEBUG - VM is in ACTIVE state now 2025-03-17 02:27:49,036 - INFO - VM name : ctest-TestBasicPolicy-71007601-38067229 2025-03-17 02:27:49,122 - DEBUG - VM ctest-TestBasicPolicy-71007601-38067229 ID is f97a9677-4917-48e6-8120-56483ded7dd6 2025-03-17 02:27:49,146 - DEBUG - VM ctest-TestBasicPolicy-71007601-38067229 launched on Node cn-jenkins-deploy-platform-ansible-os-2891-1. 2025-03-17 02:27:49,227 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine/f97a9677-4917-48e6-8120-56483ded7dd6 2025-03-17 02:27:49,237 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine-interface/77ef038c-1c81-4737-8a63-805baae5e4e4 2025-03-17 02:27:52,495 - 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 1014ms') 2025-03-17 02:27:52,495 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-71007601-38067229 failed! 2025-03-17 02:27:52,552 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-71007601:ctest-vn-78903743 is 37.155.31.1 and allocation pool is NOT set 2025-03-17 02:27:54,612 - 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.35 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.970 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.970/4.658/8.346/3.688 ms') 2025-03-17 02:27:54,612 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-71007601-38067229 passed 2025-03-17 02:27:54,768 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-17 02:27:54,768 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-71007601-38067229, IP 37.155.31.3, Port 22 2025-03-17 02:27:54,924 - DEBUG - VM ctest-TestBasicPolicy-71007601-38067229 is ready for SSH connections 2025-03-17 02:27:54,924 - INFO - Waiting for VM ctest-TestBasicPolicy-71007601-65604969 to be up.. 2025-03-17 02:27:55,003 - DEBUG - VM is in ACTIVE state now 2025-03-17 02:27:55,003 - INFO - VM name : ctest-TestBasicPolicy-71007601-65604969 2025-03-17 02:27:55,089 - DEBUG - VM ctest-TestBasicPolicy-71007601-65604969 ID is 0edefb82-2fe1-41cc-9780-126ad4eae821 2025-03-17 02:27:55,089 - DEBUG - VM ctest-TestBasicPolicy-71007601-65604969 launched on Node cn-jenkins-deploy-platform-ansible-os-2891-1. 2025-03-17 02:27:55,166 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine/0edefb82-2fe1-41cc-9780-126ad4eae821 2025-03-17 02:27:55,176 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine-interface/74e0131e-b1b4-4a18-be24-6e7daef16324 2025-03-17 02:27:56,429 - 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.57 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.410 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.410/1.988/3.566/1.578 ms') 2025-03-17 02:27:56,430 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-71007601-65604969 passed 2025-03-17 02:27:56,584 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-17 02:27:56,584 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-71007601-65604969, IP 133.216.176.67, Port 22 2025-03-17 02:27:56,753 - DEBUG - VM ctest-TestBasicPolicy-71007601-65604969 is ready for SSH connections 2025-03-17 02:27:56,754 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-17 02:27:56,754 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 133.216.176.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.46, gateway password: c0ntrail123 2025-03-17 02:27:56,754 - DEBUG - ping -s 56 -c 3 -W 1 133.216.176.67 2025-03-17 02:28:00,443 - DEBUG - PING 133.216.176.67 (133.216.176.67): 56 data bytes 64 bytes from 133.216.176.67: seq=0 ttl=63 time=3.441 ms 64 bytes from 133.216.176.67: seq=1 ttl=63 time=0.788 ms 64 bytes from 133.216.176.67: seq=2 ttl=63 time=0.896 ms --- 133.216.176.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.788/1.708/3.441 ms 2025-03-17 02:28:00,443 - INFO - Ping to IP 133.216.176.67 from VM ctest-TestBasicPolicy-71007601-38067229 passed 2025-03-17 02:28:00,628 - DEBUG - Policy Update Response {"network-policy": {"uuid": "97d26f9c-d0ca-4c96-90fd-523404db2e59", "href": "http://10.0.0.46:8082/network-policy/97d26f9c-d0ca-4c96-90fd-523404db2e59"}} 2025-03-17 02:28:00,628 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-17 02:28:00,628 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 133.216.176.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.46, gateway password: c0ntrail123 2025-03-17 02:28:00,628 - DEBUG - ping -s 56 -c 3 -W 1 133.216.176.67 2025-03-17 02:28:03,870 - DEBUG - PING 133.216.176.67 (133.216.176.67): 56 data bytes 64 bytes from 133.216.176.67: seq=0 ttl=63 time=1.556 ms --- 133.216.176.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.556/1.556/1.556 ms 2025-03-17 02:28:03,870 - WARNING - Ping to IP 133.216.176.67 from VM ctest-TestBasicPolicy-71007601-38067229 failed 2025-03-17 02:28:03,870 - INFO - Deleting VM ctest-TestBasicPolicy-71007601-65604969 2025-03-17 02:28:03,952 - INFO - Deleting VM ctest-TestBasicPolicy-71007601-38067229 2025-03-17 02:28:04,340 - INFO - Deleted policy ctest-policy-allow-all-75679254 2025-03-17 02:28:04,340 - INFO - Deleting VN ctest-vn-35891480 2025-03-17 02:28:04,375 - DEBUG - VN afe33f94-6c38-470b-9f71-2068bc946d32 still in use: Unable to complete operation on network afe33f94-6c38-470b-9f71-2068bc946d32. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-df5e6efd-df74-4936-a8e8-1f6394da64d5'] 2025-03-17 02:28:04,375 - WARNING - Deleting VN ctest-vn-35891480 failed..Will retry 2025-03-17 02:28:06,487 - DEBUG - Response for deleting network () 2025-03-17 02:28:06,487 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/07f4d004-b9ee-4fdf-98cb-f083efd480b9 2025-03-17 02:28:06,498 - DEBUG - Response Code: 404 2025-03-17 02:28:06,499 - DEBUG - Requesting: http://10.0.0.46:8082/domains 2025-03-17 02:28:06,505 - DEBUG - Requesting: http://10.0.0.46:8082/domain/cea3de82-6af3-458d-b61f-d5425465021f 2025-03-17 02:28:06,562 - DEBUG - Requesting: http://10.0.0.46:8082/project/9eee1c88-a348-48e4-a338-2517be87f523 2025-03-17 02:28:06,635 - INFO - Validated that VN ctest-vn-35891480 is not found in API Server 2025-03-17 02:28:06,646 - DEBUG - VN ctest-vn-35891480 is not present in Agent 10.0.0.46 2025-03-17 02:28:06,646 - INFO - Validated that VN ctest-vn-35891480 is not in any agent 2025-03-17 02:28:06,664 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-35891480 info 2025-03-17 02:28:06,665 - INFO - Deleting VN ctest-vn-78903743 2025-03-17 02:28:06,774 - DEBUG - Response for deleting network () 2025-03-17 02:28:06,774 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/32357ba8-9ea3-458e-a5c7-767944e4ca53 2025-03-17 02:28:06,782 - DEBUG - Response Code: 404 2025-03-17 02:28:06,782 - DEBUG - Requesting: http://10.0.0.46:8082/domains 2025-03-17 02:28:06,789 - DEBUG - Requesting: http://10.0.0.46:8082/domain/cea3de82-6af3-458d-b61f-d5425465021f 2025-03-17 02:28:06,846 - DEBUG - Requesting: http://10.0.0.46:8082/project/9eee1c88-a348-48e4-a338-2517be87f523 2025-03-17 02:28:06,922 - INFO - Validated that VN ctest-vn-78903743 is not found in API Server 2025-03-17 02:28:06,935 - DEBUG - VN ctest-vn-78903743 is not present in Agent 10.0.0.46 2025-03-17 02:28:06,935 - INFO - Validated that VN ctest-vn-78903743 is not in any agent 2025-03-17 02:28:06,953 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-78903743 info 2025-03-17 02:28:07,209 - DEBUG - No XMPP flaps were noticed during the test 2025-03-17 02:28:07,209 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-03-17 02:28:07,210 - INFO - -------------------------------------------------------------------------------- 2025-03-17 02:28:07,898 - INFO - Deleted project: ctest-TestBasicPolicy-71007601, ID : 9eee1c88-a348-48e4-a338-2517be87f523