2025-06-25 01:58:41,730 - INFO - Domain Default found not creating 2025-06-25 01:58:41,858 - INFO - Project ctest-TestBasicPolicy-57712175 not found, creating it 2025-06-25 01:58:42,291 - INFO - Created Project:ctest-TestBasicPolicy-57712175, ID : 37763389-aaa7-4bc0-960a-518ff3a51d8d 2025-06-25 01:58:43,649 - INFO - ================================================================================ 2025-06-25 01:58:43,649 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-25 01:58:43,649 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-06-25 01:58:43,906 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-06-25 01:58:43,906 - INFO - Initial checks done. Running the testcase now 2025-06-25 01:58:43,906 - INFO - 2025-06-25 01:58:44,421 - DEBUG - Response for create_network : {'network': {'id': '5c28a83a-2648-4cdd-8b9c-cf71dcaf1162', 'name': 'ctest-vn-59846399', 'tenant_id': '37763389aaa74bc0960a518ff3a51d8d', 'project_id': '37763389aaa74bc0960a518ff3a51d8d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57712175', 'ctest-vn-59846399'], 'port_security_enabled': True, 'description': ''}} 2025-06-25 01:58:44,601 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c1d85f6b-eda4-4f4c-8dfb-f11f18a91185', 'name': '', 'tenant_id': '37763389aaa74bc0960a518ff3a51d8d', 'network_id': '5c28a83a-2648-4cdd-8b9c-cf71dcaf1162', 'ip_version': 4, 'cidr': '150.17.121.128/26', 'allocation_pools': [{'start': '150.17.121.130', 'end': '150.17.121.190'}], 'gateway_ip': '150.17.121.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '150.17.121.130', 'tags': [], 'project_id': '37763389aaa74bc0960a518ff3a51d8d'}} 2025-06-25 01:58:44,616 - INFO - Created VN ctest-vn-59846399 2025-06-25 01:58:44,668 - DEBUG - VN ctest-vn-59846399 UUID is 5c28a83a-2648-4cdd-8b9c-cf71dcaf1162 2025-06-25 01:58:44,985 - DEBUG - Response for create_network : {'network': {'id': 'b7cd10ae-4766-470e-b9fc-ef4d71d92156', 'name': 'ctest-vn-52020815', 'tenant_id': '37763389aaa74bc0960a518ff3a51d8d', 'project_id': '37763389aaa74bc0960a518ff3a51d8d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57712175', 'ctest-vn-52020815'], 'port_security_enabled': True, 'description': ''}} 2025-06-25 01:58:45,133 - DEBUG - Response for create_subnet : {'subnet': {'id': '62c140c1-ca45-4b09-a730-9692a24ed8df', 'name': '', 'tenant_id': '37763389aaa74bc0960a518ff3a51d8d', 'network_id': 'b7cd10ae-4766-470e-b9fc-ef4d71d92156', 'ip_version': 4, 'cidr': '7.162.178.64/26', 'allocation_pools': [{'start': '7.162.178.66', 'end': '7.162.178.126'}], 'gateway_ip': '7.162.178.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '7.162.178.66', 'tags': [], 'project_id': '37763389aaa74bc0960a518ff3a51d8d'}} 2025-06-25 01:58:45,150 - INFO - Created VN ctest-vn-52020815 2025-06-25 01:58:45,204 - DEBUG - VN ctest-vn-52020815 UUID is b7cd10ae-4766-470e-b9fc-ef4d71d92156 2025-06-25 01:58:45,320 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-57712175:ctest-vn-59846399, 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-57712175:ctest-vn-52020815, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-06-25 01:58:45,626 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5c28a83a-2648-4cdd-8b9c-cf71dcaf1162', 'name': 'ctest-vn-59846399', 'tenant_id': '37763389aaa74bc0960a518ff3a51d8d', 'project_id': '37763389aaa74bc0960a518ff3a51d8d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c1d85f6b-eda4-4f4c-8dfb-f11f18a91185'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57712175', 'ctest-vn-59846399'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-57712175', 'ctest-policy-allow-all-79751507']], 'subnet_ipam': [{'subnet_cidr': '150.17.121.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-25 01:58:45,913 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b7cd10ae-4766-470e-b9fc-ef4d71d92156', 'name': 'ctest-vn-52020815', 'tenant_id': '37763389aaa74bc0960a518ff3a51d8d', 'project_id': '37763389aaa74bc0960a518ff3a51d8d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['62c140c1-ca45-4b09-a730-9692a24ed8df'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57712175', 'ctest-vn-52020815'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-57712175', 'ctest-policy-allow-all-79751507']], 'subnet_ipam': [{'subnet_cidr': '7.162.178.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-25 01:58:46,072 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-25 01:58:46,364 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-25 01:58:46,391 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9b092e04-6227-4fbc-820d-3b9cdf64c691 2025-06-25 01:58:46,404 - DEBUG - Requesting: http://10.0.0.38:8082/project/37763389-aaa7-4bc0-960a-518ff3a51d8d 2025-06-25 01:58:46,471 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5c28a83a-2648-4cdd-8b9c-cf71dcaf1162 2025-06-25 01:58:46,480 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5c28a83a-2648-4cdd-8b9c-cf71dcaf1162 2025-06-25 01:58:46,489 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/47e3933a-0965-4e83-a023-9553926dbfe7 2025-06-25 01:58:46,495 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/47e3933a-0965-4e83-a023-9553926dbfe7 2025-06-25 01:58:46,501 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/6c117d8f-6be0-4cc9-81ea-f4d728a9ba96 2025-06-25 01:58:46,512 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-25 01:58:46,512 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5c28a83a-2648-4cdd-8b9c-cf71dcaf1162 2025-06-25 01:58:46,520 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/47e3933a-0965-4e83-a023-9553926dbfe7 2025-06-25 01:58:46,532 - INFO - Verified VN network id 8 for VN 5c28a83a-2648-4cdd-8b9c-cf71dcaf1162 2025-06-25 01:58:46,532 - INFO - Verifications in API Server for VN ctest-vn-59846399 passed 2025-06-25 01:58:46,532 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5c28a83a-2648-4cdd-8b9c-cf71dcaf1162 2025-06-25 01:58:46,540 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/47e3933a-0965-4e83-a023-9553926dbfe7 2025-06-25 01:58:46,546 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/47e3933a-0965-4e83-a023-9553926dbfe7 2025-06-25 01:58:46,552 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/6c117d8f-6be0-4cc9-81ea-f4d728a9ba96 2025-06-25 01:58:46,562 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-57712175:ctest-vn-59846399', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-57712175', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6640742618261638365', 'uuid-lslong': '10060143755579560290'}, 'enable': 'true', 'created': '2025-06-25T01:58:44', 'last-modified': '2025-06-25T01:58:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.958099'} 2025-06-25 01:58:46,567 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-25 01:58:46,568 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-59846399 passed 2025-06-25 01:58:46,568 - DEBUG - ====Verifying policy data for ctest-vn-59846399 in API_Server ====== 2025-06-25 01:58:46,568 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-25 01:58:46,572 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9b092e04-6227-4fbc-820d-3b9cdf64c691 2025-06-25 01:58:46,582 - DEBUG - Requesting: http://10.0.0.38:8082/project/37763389-aaa7-4bc0-960a-518ff3a51d8d 2025-06-25 01:58:46,650 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5c28a83a-2648-4cdd-8b9c-cf71dcaf1162 2025-06-25 01:58:46,659 - DEBUG - ==>Verifying data for policy with id: ead90dc7-0e55-4550-b97e-87043094fc83, fqn: ['default-domain', 'ctest-TestBasicPolicy-57712175', 'ctest-policy-allow-all-79751507'] 2025-06-25 01:58:46,659 - INFO - VN ctest-vn-59846399 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-25 01:58:46,659 - DEBUG - Verifying the vn in opserver 2025-06-25 01:58:46,659 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-57712175:ctest-vn-59846399 virtual network link through opserver 10.0.0.38 2025-06-25 01:58:46,659 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-25 01:58:46,946 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-25 01:58:46,994 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-57712175:ctest-vn-59846399', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-57712175:ctest-vn-59846399?flat'} 2025-06-25 01:58:46,994 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-57712175:ctest-vn-59846399 is found in opserver 2025-06-25 01:58:47,005 - DEBUG - Do not have enough data to verify VN in agent 2025-06-25 01:58:47,010 - DEBUG - VRF ids for VN ctest-vn-59846399: {} 2025-06-25 01:58:47,010 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-25 01:58:47,015 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9b092e04-6227-4fbc-820d-3b9cdf64c691 2025-06-25 01:58:47,026 - DEBUG - Requesting: http://10.0.0.38:8082/project/37763389-aaa7-4bc0-960a-518ff3a51d8d 2025-06-25 01:58:47,107 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b7cd10ae-4766-470e-b9fc-ef4d71d92156 2025-06-25 01:58:47,118 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b7cd10ae-4766-470e-b9fc-ef4d71d92156 2025-06-25 01:58:47,128 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/daef7249-ce89-4f75-b055-179704a511e8 2025-06-25 01:58:47,137 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/daef7249-ce89-4f75-b055-179704a511e8 2025-06-25 01:58:47,144 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b9492419-1cfe-4f36-b257-0fa4dd2e1314 2025-06-25 01:58:47,150 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-25 01:58:47,150 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b7cd10ae-4766-470e-b9fc-ef4d71d92156 2025-06-25 01:58:47,159 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/daef7249-ce89-4f75-b055-179704a511e8 2025-06-25 01:58:47,171 - INFO - Verified VN network id 9 for VN b7cd10ae-4766-470e-b9fc-ef4d71d92156 2025-06-25 01:58:47,171 - INFO - Verifications in API Server for VN ctest-vn-52020815 passed 2025-06-25 01:58:47,171 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b7cd10ae-4766-470e-b9fc-ef4d71d92156 2025-06-25 01:58:47,180 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/daef7249-ce89-4f75-b055-179704a511e8 2025-06-25 01:58:47,186 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/daef7249-ce89-4f75-b055-179704a511e8 2025-06-25 01:58:47,192 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b9492419-1cfe-4f36-b257-0fa4dd2e1314 2025-06-25 01:58:47,203 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-57712175:ctest-vn-52020815', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-57712175', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13244260419874735886', 'uuid-lslong': '13401849707049328982'}, 'enable': 'true', 'created': '2025-06-25T01:58:44', 'last-modified': '2025-06-25T01:58:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.361286'} 2025-06-25 01:58:47,208 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-25 01:58:47,208 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-52020815 passed 2025-06-25 01:58:47,209 - DEBUG - ====Verifying policy data for ctest-vn-52020815 in API_Server ====== 2025-06-25 01:58:47,209 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-25 01:58:47,213 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9b092e04-6227-4fbc-820d-3b9cdf64c691 2025-06-25 01:58:47,223 - DEBUG - Requesting: http://10.0.0.38:8082/project/37763389-aaa7-4bc0-960a-518ff3a51d8d 2025-06-25 01:58:47,296 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b7cd10ae-4766-470e-b9fc-ef4d71d92156 2025-06-25 01:58:47,305 - DEBUG - ==>Verifying data for policy with id: ead90dc7-0e55-4550-b97e-87043094fc83, fqn: ['default-domain', 'ctest-TestBasicPolicy-57712175', 'ctest-policy-allow-all-79751507'] 2025-06-25 01:58:47,305 - INFO - VN ctest-vn-52020815 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-25 01:58:47,305 - DEBUG - Verifying the vn in opserver 2025-06-25 01:58:47,305 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-57712175:ctest-vn-52020815 virtual network link through opserver 10.0.0.38 2025-06-25 01:58:47,305 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-25 01:58:47,314 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-57712175:ctest-vn-52020815', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-57712175:ctest-vn-52020815?flat'} 2025-06-25 01:58:47,314 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-57712175:ctest-vn-52020815 is found in opserver 2025-06-25 01:58:47,325 - DEBUG - Do not have enough data to verify VN in agent 2025-06-25 01:58:47,329 - DEBUG - VRF ids for VN ctest-vn-52020815: {} 2025-06-25 01:58:47,378 - DEBUG - Services list from nova: [, , ] 2025-06-25 01:58:48,342 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3543-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3543-1) 2025-06-25 01:58:49,485 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3543-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3543-1) 2025-06-25 01:58:49,485 - INFO - Waiting for VM ctest-TestBasicPolicy-57712175-48553451 to be up.. 2025-06-25 01:58:49,546 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-25 01:58:54,616 - DEBUG - VM is in ACTIVE state now 2025-06-25 01:58:54,616 - INFO - VM name : ctest-TestBasicPolicy-57712175-48553451 2025-06-25 01:58:54,683 - DEBUG - VM ctest-TestBasicPolicy-57712175-48553451 ID is a1338ed1-c93f-4de1-ab77-3250111a3f87 2025-06-25 01:58:54,700 - DEBUG - VM ctest-TestBasicPolicy-57712175-48553451 launched on Node cn-jenkins-deploy-platform-ansible-os-3543-1 2025-06-25 01:58:54,769 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a1338ed1-c93f-4de1-ab77-3250111a3f87 2025-06-25 01:58:54,776 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9e67fcdc-4c56-4ea1-9359-a33740916db2 2025-06-25 01:58:58,013 - 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 1004ms') 2025-06-25 01:58:58,013 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-57712175-48553451 failed! 2025-06-25 01:58:58,068 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-57712175:ctest-vn-59846399 is 150.17.121.129 and allocation pool is NOT set 2025-06-25 01:59:00,124 - 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=2.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.367 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.367/1.652/2.937/1.285 ms') 2025-06-25 01:59:00,125 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-57712175-48553451 passed 2025-06-25 01:59:00,276 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-25 01:59:00,276 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-57712175-48553451, IP 150.17.121.131, Port 22 2025-06-25 01:59:00,427 - DEBUG - VM ctest-TestBasicPolicy-57712175-48553451 is ready for SSH connections 2025-06-25 01:59:00,427 - INFO - Waiting for VM ctest-TestBasicPolicy-57712175-08117422 to be up.. 2025-06-25 01:59:00,495 - DEBUG - VM is in ACTIVE state now 2025-06-25 01:59:00,495 - INFO - VM name : ctest-TestBasicPolicy-57712175-08117422 2025-06-25 01:59:00,561 - DEBUG - VM ctest-TestBasicPolicy-57712175-08117422 ID is dc651f4e-3e52-43cf-9b00-2807f165ebfb 2025-06-25 01:59:00,561 - DEBUG - VM ctest-TestBasicPolicy-57712175-08117422 launched on Node cn-jenkins-deploy-platform-ansible-os-3543-1 2025-06-25 01:59:00,625 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/dc651f4e-3e52-43cf-9b00-2807f165ebfb 2025-06-25 01:59:00,633 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4bcbcfe9-5598-460d-ad96-5842faca0352 2025-06-25 01:59:01,864 - 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=2.51 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.320 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.320/1.416/2.513/1.096 ms') 2025-06-25 01:59:01,864 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-57712175-08117422 passed 2025-06-25 01:59:02,012 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-25 01:59:02,012 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-57712175-08117422, IP 7.162.178.67, Port 22 2025-06-25 01:59:02,167 - DEBUG - VM ctest-TestBasicPolicy-57712175-08117422 is ready for SSH connections 2025-06-25 01:59:02,167 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-25 01:59:02,167 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 7.162.178.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-25 01:59:02,167 - DEBUG - ping -s 56 -c 3 -W 1 7.162.178.67 2025-06-25 01:59:06,127 - DEBUG - PING 7.162.178.67 (7.162.178.67): 56 data bytes 64 bytes from 7.162.178.67: seq=0 ttl=63 time=3.025 ms 64 bytes from 7.162.178.67: seq=1 ttl=63 time=0.718 ms 64 bytes from 7.162.178.67: seq=2 ttl=63 time=0.739 ms --- 7.162.178.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.718/1.494/3.025 ms 2025-06-25 01:59:06,127 - INFO - Ping to IP 7.162.178.67 from VM ctest-TestBasicPolicy-57712175-48553451 passed 2025-06-25 01:59:06,296 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ead90dc7-0e55-4550-b97e-87043094fc83", "href": "http://10.0.0.38:8082/network-policy/ead90dc7-0e55-4550-b97e-87043094fc83"}} 2025-06-25 01:59:06,296 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-25 01:59:06,296 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 7.162.178.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-25 01:59:06,296 - DEBUG - ping -s 56 -c 3 -W 1 7.162.178.67 2025-06-25 01:59:09,489 - DEBUG - PING 7.162.178.67 (7.162.178.67): 56 data bytes --- 7.162.178.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-25 01:59:09,489 - WARNING - Ping to IP 7.162.178.67 from VM ctest-TestBasicPolicy-57712175-48553451 failed 2025-06-25 01:59:09,489 - INFO - Deleting VM ctest-TestBasicPolicy-57712175-08117422 2025-06-25 01:59:09,548 - INFO - Deleting VM ctest-TestBasicPolicy-57712175-48553451 2025-06-25 01:59:09,885 - INFO - Deleted policy ctest-policy-allow-all-79751507 2025-06-25 01:59:09,885 - INFO - Deleting VN ctest-vn-52020815 2025-06-25 01:59:09,914 - DEBUG - VN b7cd10ae-4766-470e-b9fc-ef4d71d92156 still in use: Unable to complete operation on network b7cd10ae-4766-470e-b9fc-ef4d71d92156. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-57b6375a-2af0-434f-8018-4a2e04b83577'] 2025-06-25 01:59:09,914 - WARNING - Deleting VN ctest-vn-52020815 failed..Will retry 2025-06-25 01:59:12,009 - DEBUG - Response for deleting network () 2025-06-25 01:59:12,009 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/daef7249-ce89-4f75-b055-179704a511e8 2025-06-25 01:59:12,014 - DEBUG - Response Code: 404 2025-06-25 01:59:12,014 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-25 01:59:12,019 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9b092e04-6227-4fbc-820d-3b9cdf64c691 2025-06-25 01:59:12,073 - DEBUG - Requesting: http://10.0.0.38:8082/project/37763389-aaa7-4bc0-960a-518ff3a51d8d 2025-06-25 01:59:12,145 - INFO - Validated that VN ctest-vn-52020815 is not found in API Server 2025-06-25 01:59:12,155 - DEBUG - VN ctest-vn-52020815 is not present in Agent 10.0.0.38 2025-06-25 01:59:12,155 - INFO - Validated that VN ctest-vn-52020815 is not in any agent 2025-06-25 01:59:12,169 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-52020815 info 2025-06-25 01:59:12,169 - INFO - Deleting VN ctest-vn-59846399 2025-06-25 01:59:12,266 - DEBUG - Response for deleting network () 2025-06-25 01:59:12,266 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/47e3933a-0965-4e83-a023-9553926dbfe7 2025-06-25 01:59:12,271 - DEBUG - Response Code: 404 2025-06-25 01:59:12,271 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-25 01:59:12,282 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9b092e04-6227-4fbc-820d-3b9cdf64c691 2025-06-25 01:59:12,332 - DEBUG - Requesting: http://10.0.0.38:8082/project/37763389-aaa7-4bc0-960a-518ff3a51d8d 2025-06-25 01:59:12,401 - INFO - Validated that VN ctest-vn-59846399 is not found in API Server 2025-06-25 01:59:12,414 - DEBUG - VN ctest-vn-59846399 is not present in Agent 10.0.0.38 2025-06-25 01:59:12,414 - INFO - Validated that VN ctest-vn-59846399 is not in any agent 2025-06-25 01:59:12,428 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-59846399 info 2025-06-25 01:59:12,681 - DEBUG - No XMPP flaps were noticed during the test
2025-06-25 01:59:12,681 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-06-25 01:59:12,681 - INFO - -------------------------------------------------------------------------------- 2025-06-25 01:59:13,331 - INFO - Deleted project: ctest-TestBasicPolicy-57712175, ID : 37763389-aaa7-4bc0-960a-518ff3a51d8d