2025-04-30 11:27:42,970 - INFO - Domain Default found not creating 2025-04-30 11:27:43,095 - INFO - Project ctest-TestBasicPolicy-65548555 not found, creating it 2025-04-30 11:27:43,521 - INFO - Created Project:ctest-TestBasicPolicy-65548555, ID : 8f0bd39e-e62d-4dda-a058-b8329f17beea 2025-04-30 11:27:44,869 - INFO - ================================================================================ 2025-04-30 11:27:44,869 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-30 11:27:44,869 - 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-04-30 11:27:45,129 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-04-30 11:27:45,129 - INFO - Initial checks done. Running the testcase now 2025-04-30 11:27:45,129 - INFO - 2025-04-30 11:27:45,661 - DEBUG - Response for create_network : {'network': {'id': '81fa4e41-d58f-4840-8833-c80d1580efc1', 'name': 'ctest-vn-12351971', 'tenant_id': '8f0bd39ee62d4ddaa058b8329f17beea', 'project_id': '8f0bd39ee62d4ddaa058b8329f17beea', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65548555', 'ctest-vn-12351971'], 'port_security_enabled': True, 'description': ''}} 2025-04-30 11:27:45,838 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f47c1590-98c7-463a-912d-9590fcd3e57f', 'name': '', 'tenant_id': '8f0bd39ee62d4ddaa058b8329f17beea', 'network_id': '81fa4e41-d58f-4840-8833-c80d1580efc1', 'ip_version': 4, 'cidr': '72.86.201.0/26', 'allocation_pools': [{'start': '72.86.201.2', 'end': '72.86.201.62'}], 'gateway_ip': '72.86.201.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '72.86.201.2', 'tags': [], 'project_id': '8f0bd39ee62d4ddaa058b8329f17beea'}} 2025-04-30 11:27:45,854 - INFO - Created VN ctest-vn-12351971 2025-04-30 11:27:45,904 - DEBUG - VN ctest-vn-12351971 UUID is 81fa4e41-d58f-4840-8833-c80d1580efc1 2025-04-30 11:27:46,226 - DEBUG - Response for create_network : {'network': {'id': '9a917c98-0f3a-4c19-a8af-0ec5e14e245b', 'name': 'ctest-vn-74958833', 'tenant_id': '8f0bd39ee62d4ddaa058b8329f17beea', 'project_id': '8f0bd39ee62d4ddaa058b8329f17beea', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65548555', 'ctest-vn-74958833'], 'port_security_enabled': True, 'description': ''}} 2025-04-30 11:27:46,385 - DEBUG - Response for create_subnet : {'subnet': {'id': '64950f23-f023-4bb0-be92-bb3aa4bf27c1', 'name': '', 'tenant_id': '8f0bd39ee62d4ddaa058b8329f17beea', 'network_id': '9a917c98-0f3a-4c19-a8af-0ec5e14e245b', 'ip_version': 4, 'cidr': '189.186.157.192/26', 'allocation_pools': [{'start': '189.186.157.194', 'end': '189.186.157.254'}], 'gateway_ip': '189.186.157.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '189.186.157.194', 'tags': [], 'project_id': '8f0bd39ee62d4ddaa058b8329f17beea'}} 2025-04-30 11:27:46,401 - INFO - Created VN ctest-vn-74958833 2025-04-30 11:27:46,452 - DEBUG - VN ctest-vn-74958833 UUID is 9a917c98-0f3a-4c19-a8af-0ec5e14e245b 2025-04-30 11:27:46,596 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-65548555:ctest-vn-12351971, 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-65548555:ctest-vn-74958833, 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-04-30 11:27:46,892 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '81fa4e41-d58f-4840-8833-c80d1580efc1', 'name': 'ctest-vn-12351971', 'tenant_id': '8f0bd39ee62d4ddaa058b8329f17beea', 'project_id': '8f0bd39ee62d4ddaa058b8329f17beea', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f47c1590-98c7-463a-912d-9590fcd3e57f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65548555', 'ctest-vn-12351971'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65548555', 'ctest-policy-allow-all-96930173']], 'subnet_ipam': [{'subnet_cidr': '72.86.201.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-30 11:27:47,116 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9a917c98-0f3a-4c19-a8af-0ec5e14e245b', 'name': 'ctest-vn-74958833', 'tenant_id': '8f0bd39ee62d4ddaa058b8329f17beea', 'project_id': '8f0bd39ee62d4ddaa058b8329f17beea', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['64950f23-f023-4bb0-be92-bb3aa4bf27c1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65548555', 'ctest-vn-74958833'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65548555', 'ctest-policy-allow-all-96930173']], 'subnet_ipam': [{'subnet_cidr': '189.186.157.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-30 11:27:47,292 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-30 11:27:47,589 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-30 11:27:47,613 - DEBUG - Requesting: http://10.0.0.38:8082/domain/27b0ab73-5356-4339-8288-37ca7243669a 2025-04-30 11:27:47,625 - DEBUG - Requesting: http://10.0.0.38:8082/project/8f0bd39e-e62d-4dda-a058-b8329f17beea 2025-04-30 11:27:47,700 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/81fa4e41-d58f-4840-8833-c80d1580efc1 2025-04-30 11:27:47,710 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/81fa4e41-d58f-4840-8833-c80d1580efc1 2025-04-30 11:27:47,719 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1dfcdd03-31b4-435b-96d2-12b6968edd32 2025-04-30 11:27:47,725 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1dfcdd03-31b4-435b-96d2-12b6968edd32 2025-04-30 11:27:47,731 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/0f55e873-1826-480f-b9ce-afe3aaeec8c2 2025-04-30 11:27:47,737 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-30 11:27:47,737 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/81fa4e41-d58f-4840-8833-c80d1580efc1 2025-04-30 11:27:47,745 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1dfcdd03-31b4-435b-96d2-12b6968edd32 2025-04-30 11:27:47,757 - INFO - Verified VN network id 8 for VN 81fa4e41-d58f-4840-8833-c80d1580efc1 2025-04-30 11:27:47,757 - INFO - Verifications in API Server for VN ctest-vn-12351971 passed 2025-04-30 11:27:47,757 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/81fa4e41-d58f-4840-8833-c80d1580efc1 2025-04-30 11:27:47,765 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1dfcdd03-31b4-435b-96d2-12b6968edd32 2025-04-30 11:27:47,771 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1dfcdd03-31b4-435b-96d2-12b6968edd32 2025-04-30 11:27:47,777 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/0f55e873-1826-480f-b9ce-afe3aaeec8c2 2025-04-30 11:27:47,788 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65548555:ctest-vn-12351971', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65548555', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9365884419733145664', 'uuid-lslong': '9814407971491344321'}, 'enable': 'true', 'created': '2025-04-30T11:27:45', 'last-modified': '2025-04-30T11:27:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.914986'} 2025-04-30 11:27:47,794 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-30 11:27:47,795 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-12351971 passed 2025-04-30 11:27:47,795 - DEBUG - ====Verifying policy data for ctest-vn-12351971 in API_Server ====== 2025-04-30 11:27:47,795 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-30 11:27:47,800 - DEBUG - Requesting: http://10.0.0.38:8082/domain/27b0ab73-5356-4339-8288-37ca7243669a 2025-04-30 11:27:47,813 - DEBUG - Requesting: http://10.0.0.38:8082/project/8f0bd39e-e62d-4dda-a058-b8329f17beea 2025-04-30 11:27:47,888 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/81fa4e41-d58f-4840-8833-c80d1580efc1 2025-04-30 11:27:47,897 - DEBUG - ==>Verifying data for policy with id: 0e24d0f8-5454-4d19-b294-519e71d5a367, fqn: ['default-domain', 'ctest-TestBasicPolicy-65548555', 'ctest-policy-allow-all-96930173'] 2025-04-30 11:27:47,897 - INFO - VN ctest-vn-12351971 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-30 11:27:47,897 - DEBUG - Verifying the vn in opserver 2025-04-30 11:27:47,897 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65548555:ctest-vn-12351971 virtual network link through opserver 10.0.0.38 2025-04-30 11:27:47,897 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-04-30 11:27:48,183 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-04-30 11:27:48,230 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65548555:ctest-vn-12351971', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65548555:ctest-vn-12351971?flat'} 2025-04-30 11:27:48,230 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65548555:ctest-vn-12351971 is found in opserver 2025-04-30 11:27:48,241 - DEBUG - Do not have enough data to verify VN in agent 2025-04-30 11:27:48,245 - DEBUG - VRF ids for VN ctest-vn-12351971: {} 2025-04-30 11:27:48,245 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-30 11:27:48,250 - DEBUG - Requesting: http://10.0.0.38:8082/domain/27b0ab73-5356-4339-8288-37ca7243669a 2025-04-30 11:27:48,261 - DEBUG - Requesting: http://10.0.0.38:8082/project/8f0bd39e-e62d-4dda-a058-b8329f17beea 2025-04-30 11:27:48,330 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9a917c98-0f3a-4c19-a8af-0ec5e14e245b 2025-04-30 11:27:48,341 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9a917c98-0f3a-4c19-a8af-0ec5e14e245b 2025-04-30 11:27:48,350 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/26104b0f-ce0c-4c6c-a81d-85800a44f563 2025-04-30 11:27:48,356 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/26104b0f-ce0c-4c6c-a81d-85800a44f563 2025-04-30 11:27:48,361 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/241e6ee7-e730-4c91-9cd6-26bab68788bc 2025-04-30 11:27:48,367 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-30 11:27:48,367 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9a917c98-0f3a-4c19-a8af-0ec5e14e245b 2025-04-30 11:27:48,375 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/26104b0f-ce0c-4c6c-a81d-85800a44f563 2025-04-30 11:27:48,387 - INFO - Verified VN network id 9 for VN 9a917c98-0f3a-4c19-a8af-0ec5e14e245b 2025-04-30 11:27:48,387 - INFO - Verifications in API Server for VN ctest-vn-74958833 passed 2025-04-30 11:27:48,387 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9a917c98-0f3a-4c19-a8af-0ec5e14e245b 2025-04-30 11:27:48,395 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/26104b0f-ce0c-4c6c-a81d-85800a44f563 2025-04-30 11:27:48,401 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/26104b0f-ce0c-4c6c-a81d-85800a44f563 2025-04-30 11:27:48,406 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/241e6ee7-e730-4c91-9cd6-26bab68788bc 2025-04-30 11:27:48,417 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65548555:ctest-vn-74958833', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65548555', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11137820345996299289', 'uuid-lslong': '12154950162347598939'}, 'enable': 'true', 'created': '2025-04-30T11:27:46', 'last-modified': '2025-04-30T11:27:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.324226'} 2025-04-30 11:27:48,423 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-30 11:27:48,423 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-74958833 passed 2025-04-30 11:27:48,423 - DEBUG - ====Verifying policy data for ctest-vn-74958833 in API_Server ====== 2025-04-30 11:27:48,423 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-30 11:27:48,428 - DEBUG - Requesting: http://10.0.0.38:8082/domain/27b0ab73-5356-4339-8288-37ca7243669a 2025-04-30 11:27:48,438 - DEBUG - Requesting: http://10.0.0.38:8082/project/8f0bd39e-e62d-4dda-a058-b8329f17beea 2025-04-30 11:27:48,508 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9a917c98-0f3a-4c19-a8af-0ec5e14e245b 2025-04-30 11:27:48,517 - DEBUG - ==>Verifying data for policy with id: 0e24d0f8-5454-4d19-b294-519e71d5a367, fqn: ['default-domain', 'ctest-TestBasicPolicy-65548555', 'ctest-policy-allow-all-96930173'] 2025-04-30 11:27:48,517 - INFO - VN ctest-vn-74958833 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-30 11:27:48,517 - DEBUG - Verifying the vn in opserver 2025-04-30 11:27:48,517 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65548555:ctest-vn-74958833 virtual network link through opserver 10.0.0.38 2025-04-30 11:27:48,517 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-04-30 11:27:48,526 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65548555:ctest-vn-74958833', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65548555:ctest-vn-74958833?flat'} 2025-04-30 11:27:48,526 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65548555:ctest-vn-74958833 is found in opserver 2025-04-30 11:27:48,535 - DEBUG - Do not have enough data to verify VN in agent 2025-04-30 11:27:48,540 - DEBUG - VRF ids for VN ctest-vn-74958833: {} 2025-04-30 11:27:48,587 - DEBUG - Services list from nova: [, , ] 2025-04-30 11:27:49,518 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3247-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3247-1) 2025-04-30 11:27:50,671 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3247-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3247-1) 2025-04-30 11:27:50,671 - INFO - Waiting for VM ctest-TestBasicPolicy-65548555-23581784 to be up.. 2025-04-30 11:27:50,741 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-30 11:27:55,805 - DEBUG - VM is in ACTIVE state now 2025-04-30 11:27:55,805 - INFO - VM name : ctest-TestBasicPolicy-65548555-23581784 2025-04-30 11:27:55,873 - DEBUG - VM ctest-TestBasicPolicy-65548555-23581784 ID is a1722a59-24dd-45d0-bf7e-271997b5a035 2025-04-30 11:27:55,889 - DEBUG - VM ctest-TestBasicPolicy-65548555-23581784 launched on Node cn-jenkins-deploy-platform-ansible-os-3247-1 2025-04-30 11:27:55,952 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a1722a59-24dd-45d0-bf7e-271997b5a035 2025-04-30 11:27:55,960 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/730bf5d4-4524-43b9-91db-b0f83e3281f6 2025-04-30 11:27:59,215 - 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 1020ms') 2025-04-30 11:27:59,216 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-65548555-23581784 failed! 2025-04-30 11:27:59,272 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-65548555:ctest-vn-12351971 is 72.86.201.1 and allocation pool is NOT set 2025-04-30 11:28:01,328 - 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.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.355 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.355/1.511/2.668/1.156 ms') 2025-04-30 11:28:01,328 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-65548555-23581784 passed 2025-04-30 11:28:01,476 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-30 11:28:01,476 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-65548555-23581784, IP 72.86.201.3, Port 22 2025-04-30 11:28:01,627 - DEBUG - VM ctest-TestBasicPolicy-65548555-23581784 is ready for SSH connections 2025-04-30 11:28:01,627 - INFO - Waiting for VM ctest-TestBasicPolicy-65548555-33630544 to be up.. 2025-04-30 11:28:01,697 - DEBUG - VM is in ACTIVE state now 2025-04-30 11:28:01,697 - INFO - VM name : ctest-TestBasicPolicy-65548555-33630544 2025-04-30 11:28:01,765 - DEBUG - VM ctest-TestBasicPolicy-65548555-33630544 ID is 467c8687-7933-4582-a3a4-a5a3b35da8d2 2025-04-30 11:28:01,765 - DEBUG - VM ctest-TestBasicPolicy-65548555-33630544 launched on Node cn-jenkins-deploy-platform-ansible-os-3247-1 2025-04-30 11:28:01,828 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/467c8687-7933-4582-a3a4-a5a3b35da8d2 2025-04-30 11:28:01,835 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e36186c2-8e61-453a-a549-9df9a76a6b5c 2025-04-30 11:28:03,064 - 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.69 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.329 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.329/1.507/2.685/1.178 ms') 2025-04-30 11:28:03,064 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-65548555-33630544 passed 2025-04-30 11:28:03,212 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-30 11:28:03,212 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-65548555-33630544, IP 189.186.157.195, Port 22 2025-04-30 11:28:03,367 - DEBUG - VM ctest-TestBasicPolicy-65548555-33630544 is ready for SSH connections 2025-04-30 11:28:03,367 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-30 11:28:03,367 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 189.186.157.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-04-30 11:28:03,367 - DEBUG - ping -s 56 -c 3 -W 1 189.186.157.195 2025-04-30 11:28:07,026 - DEBUG - PING 189.186.157.195 (189.186.157.195): 56 data bytes 64 bytes from 189.186.157.195: seq=0 ttl=63 time=3.083 ms 64 bytes from 189.186.157.195: seq=1 ttl=63 time=0.713 ms 64 bytes from 189.186.157.195: seq=2 ttl=63 time=0.778 ms --- 189.186.157.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.713/1.524/3.083 ms 2025-04-30 11:28:07,026 - INFO - Ping to IP 189.186.157.195 from VM ctest-TestBasicPolicy-65548555-23581784 passed 2025-04-30 11:28:07,203 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0e24d0f8-5454-4d19-b294-519e71d5a367", "href": "http://10.0.0.38:8082/network-policy/0e24d0f8-5454-4d19-b294-519e71d5a367"}} 2025-04-30 11:28:07,204 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-30 11:28:07,204 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 189.186.157.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-04-30 11:28:07,204 - DEBUG - ping -s 56 -c 3 -W 1 189.186.157.195 2025-04-30 11:28:10,405 - DEBUG - PING 189.186.157.195 (189.186.157.195): 56 data bytes --- 189.186.157.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-04-30 11:28:10,405 - WARNING - Ping to IP 189.186.157.195 from VM ctest-TestBasicPolicy-65548555-23581784 failed 2025-04-30 11:28:10,405 - INFO - Deleting VM ctest-TestBasicPolicy-65548555-33630544 2025-04-30 11:28:10,461 - INFO - Deleting VM ctest-TestBasicPolicy-65548555-23581784 2025-04-30 11:28:10,802 - INFO - Deleted policy ctest-policy-allow-all-96930173 2025-04-30 11:28:10,802 - INFO - Deleting VN ctest-vn-74958833 2025-04-30 11:28:10,837 - DEBUG - VN 9a917c98-0f3a-4c19-a8af-0ec5e14e245b still in use: Unable to complete operation on network 9a917c98-0f3a-4c19-a8af-0ec5e14e245b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-619c20c4-2d2c-4c0a-a298-78bb0dc0317b'] 2025-04-30 11:28:10,837 - WARNING - Deleting VN ctest-vn-74958833 failed..Will retry 2025-04-30 11:28:12,924 - DEBUG - Response for deleting network () 2025-04-30 11:28:12,924 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/26104b0f-ce0c-4c6c-a81d-85800a44f563 2025-04-30 11:28:12,931 - DEBUG - Response Code: 404 2025-04-30 11:28:12,931 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-30 11:28:12,935 - DEBUG - Requesting: http://10.0.0.38:8082/domain/27b0ab73-5356-4339-8288-37ca7243669a 2025-04-30 11:28:12,988 - DEBUG - Requesting: http://10.0.0.38:8082/project/8f0bd39e-e62d-4dda-a058-b8329f17beea 2025-04-30 11:28:13,058 - INFO - Validated that VN ctest-vn-74958833 is not found in API Server 2025-04-30 11:28:13,069 - DEBUG - VN ctest-vn-74958833 is not present in Agent 10.0.0.38 2025-04-30 11:28:13,069 - INFO - Validated that VN ctest-vn-74958833 is not in any agent 2025-04-30 11:28:13,083 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-74958833 info 2025-04-30 11:28:13,083 - INFO - Deleting VN ctest-vn-12351971 2025-04-30 11:28:13,185 - DEBUG - Response for deleting network () 2025-04-30 11:28:13,185 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1dfcdd03-31b4-435b-96d2-12b6968edd32 2025-04-30 11:28:13,191 - DEBUG - Response Code: 404 2025-04-30 11:28:13,191 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-30 11:28:13,196 - DEBUG - Requesting: http://10.0.0.38:8082/domain/27b0ab73-5356-4339-8288-37ca7243669a 2025-04-30 11:28:13,253 - DEBUG - Requesting: http://10.0.0.38:8082/project/8f0bd39e-e62d-4dda-a058-b8329f17beea 2025-04-30 11:28:13,323 - INFO - Validated that VN ctest-vn-12351971 is not found in API Server 2025-04-30 11:28:13,333 - DEBUG - VN ctest-vn-12351971 is not present in Agent 10.0.0.38 2025-04-30 11:28:13,333 - INFO - Validated that VN ctest-vn-12351971 is not in any agent 2025-04-30 11:28:13,347 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-12351971 info 2025-04-30 11:28:13,600 - DEBUG - No XMPP flaps were noticed during the test
2025-04-30 11:28:13,600 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-04-30 11:28:13,600 - INFO - -------------------------------------------------------------------------------- 2025-04-30 11:28:14,274 - INFO - Deleted project: ctest-TestBasicPolicy-65548555, ID : 8f0bd39e-e62d-4dda-a058-b8329f17beea