2025-05-09 15:00:26,800 - INFO - Domain Default found not creating 2025-05-09 15:00:26,954 - INFO - Project ctest-TestBasicPolicy-71837175 not found, creating it 2025-05-09 15:00:27,396 - INFO - Created Project:ctest-TestBasicPolicy-71837175, ID : 838326d8-1f65-4b20-a926-a51d97c9369f 2025-05-09 15:00:28,781 - INFO - ================================================================================ 2025-05-09 15:00:28,781 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-05-09 15:00:28,781 - 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-05-09 15:00:29,046 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-05-09 15:00:29,046 - INFO - Initial checks done. Running the testcase now 2025-05-09 15:00:29,046 - INFO - 2025-05-09 15:00:29,573 - DEBUG - Response for create_network : {'network': {'id': 'ad33a684-670b-4a0a-bd38-b5126212b433', 'name': 'ctest-vn-57601921', 'tenant_id': '838326d81f654b20a926a51d97c9369f', 'project_id': '838326d81f654b20a926a51d97c9369f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71837175', 'ctest-vn-57601921'], 'port_security_enabled': True, 'description': ''}} 2025-05-09 15:00:29,716 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd91320d8-e1d7-4c21-b55c-84ed99994d0c', 'name': '', 'tenant_id': '838326d81f654b20a926a51d97c9369f', 'network_id': 'ad33a684-670b-4a0a-bd38-b5126212b433', 'ip_version': 4, 'cidr': '198.63.166.192/26', 'allocation_pools': [{'start': '198.63.166.194', 'end': '198.63.166.254'}], 'gateway_ip': '198.63.166.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.63.166.194', 'tags': [], 'project_id': '838326d81f654b20a926a51d97c9369f'}} 2025-05-09 15:00:29,734 - INFO - Created VN ctest-vn-57601921 2025-05-09 15:00:29,784 - DEBUG - VN ctest-vn-57601921 UUID is ad33a684-670b-4a0a-bd38-b5126212b433 2025-05-09 15:00:30,139 - DEBUG - Response for create_network : {'network': {'id': 'c4543e6a-e4d8-4ec0-b523-5b8a867725b5', 'name': 'ctest-vn-49327241', 'tenant_id': '838326d81f654b20a926a51d97c9369f', 'project_id': '838326d81f654b20a926a51d97c9369f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71837175', 'ctest-vn-49327241'], 'port_security_enabled': True, 'description': ''}} 2025-05-09 15:00:30,353 - DEBUG - Response for create_subnet : {'subnet': {'id': '453ea3a4-86ec-4a0a-971a-f7f485e298a3', 'name': '', 'tenant_id': '838326d81f654b20a926a51d97c9369f', 'network_id': 'c4543e6a-e4d8-4ec0-b523-5b8a867725b5', 'ip_version': 4, 'cidr': '99.7.92.0/26', 'allocation_pools': [{'start': '99.7.92.2', 'end': '99.7.92.62'}], 'gateway_ip': '99.7.92.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.7.92.2', 'tags': [], 'project_id': '838326d81f654b20a926a51d97c9369f'}} 2025-05-09 15:00:30,373 - INFO - Created VN ctest-vn-49327241 2025-05-09 15:00:30,428 - DEBUG - VN ctest-vn-49327241 UUID is c4543e6a-e4d8-4ec0-b523-5b8a867725b5 2025-05-09 15:00:30,542 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-71837175:ctest-vn-57601921, 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-71837175:ctest-vn-49327241, 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-05-09 15:00:30,843 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ad33a684-670b-4a0a-bd38-b5126212b433', 'name': 'ctest-vn-57601921', 'tenant_id': '838326d81f654b20a926a51d97c9369f', 'project_id': '838326d81f654b20a926a51d97c9369f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d91320d8-e1d7-4c21-b55c-84ed99994d0c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71837175', 'ctest-vn-57601921'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71837175', 'ctest-policy-allow-all-89913060']], 'subnet_ipam': [{'subnet_cidr': '198.63.166.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-09 15:00:31,085 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c4543e6a-e4d8-4ec0-b523-5b8a867725b5', 'name': 'ctest-vn-49327241', 'tenant_id': '838326d81f654b20a926a51d97c9369f', 'project_id': '838326d81f654b20a926a51d97c9369f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['453ea3a4-86ec-4a0a-971a-f7f485e298a3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71837175', 'ctest-vn-49327241'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71837175', 'ctest-policy-allow-all-89913060']], 'subnet_ipam': [{'subnet_cidr': '99.7.92.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-09 15:00:31,280 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-05-09 15:00:31,573 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-05-09 15:00:31,599 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6a6d7818-203e-4401-875c-a40c0fa8549f 2025-05-09 15:00:31,613 - DEBUG - Requesting: http://10.0.0.254:8082/project/838326d8-1f65-4b20-a926-a51d97c9369f 2025-05-09 15:00:31,694 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ad33a684-670b-4a0a-bd38-b5126212b433 2025-05-09 15:00:31,706 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ad33a684-670b-4a0a-bd38-b5126212b433 2025-05-09 15:00:31,716 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/505810d3-41fc-475a-9081-0f2a7136db88 2025-05-09 15:00:31,723 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/505810d3-41fc-475a-9081-0f2a7136db88 2025-05-09 15:00:31,730 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/5beb65b8-b4fb-48eb-84b6-61ebc45e3c99 2025-05-09 15:00:31,736 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-09 15:00:31,736 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ad33a684-670b-4a0a-bd38-b5126212b433 2025-05-09 15:00:31,745 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/505810d3-41fc-475a-9081-0f2a7136db88 2025-05-09 15:00:31,760 - INFO - Verified VN network id 9 for VN ad33a684-670b-4a0a-bd38-b5126212b433 2025-05-09 15:00:31,760 - INFO - Verifications in API Server for VN ctest-vn-57601921 passed 2025-05-09 15:00:31,760 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ad33a684-670b-4a0a-bd38-b5126212b433 2025-05-09 15:00:31,770 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/505810d3-41fc-475a-9081-0f2a7136db88 2025-05-09 15:00:31,776 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/505810d3-41fc-475a-9081-0f2a7136db88 2025-05-09 15:00:31,785 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/5beb65b8-b4fb-48eb-84b6-61ebc45e3c99 2025-05-09 15:00:31,797 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71837175:ctest-vn-57601921', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71837175', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12480502079968463370', 'uuid-lslong': '13634846962423608371'}, 'enable': 'true', 'created': '2025-05-09T15:00:29', 'last-modified': '2025-05-09T15:00:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.976665'} 2025-05-09 15:00:31,804 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-09 15:00:31,804 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-57601921 passed 2025-05-09 15:00:31,804 - DEBUG - ====Verifying policy data for ctest-vn-57601921 in API_Server ====== 2025-05-09 15:00:31,804 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-05-09 15:00:31,809 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6a6d7818-203e-4401-875c-a40c0fa8549f 2025-05-09 15:00:31,819 - DEBUG - Requesting: http://10.0.0.254:8082/project/838326d8-1f65-4b20-a926-a51d97c9369f 2025-05-09 15:00:31,888 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ad33a684-670b-4a0a-bd38-b5126212b433 2025-05-09 15:00:31,899 - DEBUG - ==>Verifying data for policy with id: e1ca851c-f1fb-4eaf-aadf-d24b74441cad, fqn: ['default-domain', 'ctest-TestBasicPolicy-71837175', 'ctest-policy-allow-all-89913060'] 2025-05-09 15:00:31,900 - INFO - VN ctest-vn-57601921 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-09 15:00:31,900 - DEBUG - Verifying the vn in opserver 2025-05-09 15:00:31,900 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71837175:ctest-vn-57601921 virtual network link through opserver 10.0.0.254 2025-05-09 15:00:31,900 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-05-09 15:00:32,192 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-05-09 15:00:32,242 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71837175:ctest-vn-57601921', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71837175:ctest-vn-57601921?flat'} 2025-05-09 15:00:32,242 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71837175:ctest-vn-57601921 is found in opserver 2025-05-09 15:00:32,252 - DEBUG - Do not have enough data to verify VN in agent 2025-05-09 15:00:32,257 - DEBUG - VRF ids for VN ctest-vn-57601921: {} 2025-05-09 15:00:32,257 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-05-09 15:00:32,263 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6a6d7818-203e-4401-875c-a40c0fa8549f 2025-05-09 15:00:32,274 - DEBUG - Requesting: http://10.0.0.254:8082/project/838326d8-1f65-4b20-a926-a51d97c9369f 2025-05-09 15:00:32,345 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/c4543e6a-e4d8-4ec0-b523-5b8a867725b5 2025-05-09 15:00:32,357 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/c4543e6a-e4d8-4ec0-b523-5b8a867725b5 2025-05-09 15:00:32,366 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/987c6b4d-5f7e-4e47-b684-c7619d75a448 2025-05-09 15:00:32,373 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/987c6b4d-5f7e-4e47-b684-c7619d75a448 2025-05-09 15:00:32,379 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/93c370ed-ce76-49e5-814b-c40374f7453c 2025-05-09 15:00:32,385 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-09 15:00:32,385 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/c4543e6a-e4d8-4ec0-b523-5b8a867725b5 2025-05-09 15:00:32,394 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/987c6b4d-5f7e-4e47-b684-c7619d75a448 2025-05-09 15:00:32,410 - INFO - Verified VN network id 10 for VN c4543e6a-e4d8-4ec0-b523-5b8a867725b5 2025-05-09 15:00:32,410 - INFO - Verifications in API Server for VN ctest-vn-49327241 passed 2025-05-09 15:00:32,411 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/c4543e6a-e4d8-4ec0-b523-5b8a867725b5 2025-05-09 15:00:32,423 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/987c6b4d-5f7e-4e47-b684-c7619d75a448 2025-05-09 15:00:32,431 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/987c6b4d-5f7e-4e47-b684-c7619d75a448 2025-05-09 15:00:32,439 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/93c370ed-ce76-49e5-814b-c40374f7453c 2025-05-09 15:00:32,453 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71837175:ctest-vn-49327241', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71837175', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14147000958304407232', 'uuid-lslong': '13052376795569399221'}, 'enable': 'true', 'created': '2025-05-09T15:00:30', 'last-modified': '2025-05-09T15:00:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.392862'} 2025-05-09 15:00:32,460 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-09 15:00:32,460 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-49327241 passed 2025-05-09 15:00:32,460 - DEBUG - ====Verifying policy data for ctest-vn-49327241 in API_Server ====== 2025-05-09 15:00:32,460 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-05-09 15:00:32,466 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6a6d7818-203e-4401-875c-a40c0fa8549f 2025-05-09 15:00:32,479 - DEBUG - Requesting: http://10.0.0.254:8082/project/838326d8-1f65-4b20-a926-a51d97c9369f 2025-05-09 15:00:32,550 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/c4543e6a-e4d8-4ec0-b523-5b8a867725b5 2025-05-09 15:00:32,559 - DEBUG - ==>Verifying data for policy with id: e1ca851c-f1fb-4eaf-aadf-d24b74441cad, fqn: ['default-domain', 'ctest-TestBasicPolicy-71837175', 'ctest-policy-allow-all-89913060'] 2025-05-09 15:00:32,559 - INFO - VN ctest-vn-49327241 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-09 15:00:32,559 - DEBUG - Verifying the vn in opserver 2025-05-09 15:00:32,559 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71837175:ctest-vn-49327241 virtual network link through opserver 10.0.0.254 2025-05-09 15:00:32,560 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-05-09 15:00:32,570 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71837175:ctest-vn-49327241', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71837175:ctest-vn-49327241?flat'} 2025-05-09 15:00:32,570 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71837175:ctest-vn-49327241 is found in opserver 2025-05-09 15:00:32,581 - DEBUG - Do not have enough data to verify VN in agent 2025-05-09 15:00:32,586 - DEBUG - VRF ids for VN ctest-vn-49327241: {} 2025-05-09 15:00:32,636 - DEBUG - Services list from nova: [, , ] 2025-05-09 15:00:33,758 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3293-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3293-1) 2025-05-09 15:00:35,186 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3293-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3293-1) 2025-05-09 15:00:35,186 - INFO - Waiting for VM ctest-TestBasicPolicy-71837175-61539396 to be up.. 2025-05-09 15:00:35,284 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-09 15:00:40,355 - DEBUG - VM is in ACTIVE state now 2025-05-09 15:00:40,355 - INFO - VM name : ctest-TestBasicPolicy-71837175-61539396 2025-05-09 15:00:40,428 - DEBUG - VM ctest-TestBasicPolicy-71837175-61539396 ID is b6cd7b60-860f-40fe-961f-631921fbf52f 2025-05-09 15:00:40,446 - DEBUG - VM ctest-TestBasicPolicy-71837175-61539396 launched on Node cn-jenkins-deploy-platform-ansible-os-3293-1 2025-05-09 15:00:40,532 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b6cd7b60-860f-40fe-961f-631921fbf52f 2025-05-09 15:00:40,541 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ebd697d2-966b-4218-9a41-872afa10038e 2025-05-09 15:00:43,789 - 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-05-09 15:00:43,789 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-71837175-61539396 failed! 2025-05-09 15:00:43,844 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-71837175:ctest-vn-57601921 is 198.63.166.193 and allocation pool is NOT set 2025-05-09 15:00:45,900 - 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.360 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.360/1.516/2.673/1.156 ms') 2025-05-09 15:00:45,900 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-71837175-61539396 passed 2025-05-09 15:00:46,056 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-09 15:00:46,057 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-71837175-61539396, IP 198.63.166.195, Port 22 2025-05-09 15:00:46,208 - DEBUG - VM ctest-TestBasicPolicy-71837175-61539396 is ready for SSH connections 2025-05-09 15:00:46,208 - INFO - Waiting for VM ctest-TestBasicPolicy-71837175-05755573 to be up.. 2025-05-09 15:00:46,275 - DEBUG - VM is in ACTIVE state now 2025-05-09 15:00:46,275 - INFO - VM name : ctest-TestBasicPolicy-71837175-05755573 2025-05-09 15:00:46,339 - DEBUG - VM ctest-TestBasicPolicy-71837175-05755573 ID is 140943d9-063d-453a-95a8-de516c593bf2 2025-05-09 15:00:46,339 - DEBUG - VM ctest-TestBasicPolicy-71837175-05755573 launched on Node cn-jenkins-deploy-platform-ansible-os-3293-1 2025-05-09 15:00:46,406 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/140943d9-063d-453a-95a8-de516c593bf2 2025-05-09 15:00:46,414 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/212a66a8-9560-46e1-bbfd-d753edbaf7bc 2025-05-09 15:00:47,640 - 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.89 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.355 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.355/1.620/2.885/1.265 ms') 2025-05-09 15:00:47,640 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-71837175-05755573 passed 2025-05-09 15:00:47,788 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-09 15:00:47,788 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-71837175-05755573, IP 99.7.92.3, Port 22 2025-05-09 15:00:47,944 - DEBUG - VM ctest-TestBasicPolicy-71837175-05755573 is ready for SSH connections 2025-05-09 15:00:47,944 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-09 15:00:47,944 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 99.7.92.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-05-09 15:00:47,944 - DEBUG - ping -s 56 -c 3 -W 1 99.7.92.3 2025-05-09 15:00:51,882 - DEBUG - PING 99.7.92.3 (99.7.92.3): 56 data bytes 64 bytes from 99.7.92.3: seq=0 ttl=63 time=2.985 ms 64 bytes from 99.7.92.3: seq=1 ttl=63 time=0.729 ms 64 bytes from 99.7.92.3: seq=2 ttl=63 time=0.693 ms --- 99.7.92.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.693/1.469/2.985 ms 2025-05-09 15:00:51,882 - INFO - Ping to IP 99.7.92.3 from VM ctest-TestBasicPolicy-71837175-61539396 passed 2025-05-09 15:00:52,060 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e1ca851c-f1fb-4eaf-aadf-d24b74441cad", "href": "http://10.0.0.254:8082/network-policy/e1ca851c-f1fb-4eaf-aadf-d24b74441cad"}} 2025-05-09 15:00:52,060 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-09 15:00:52,060 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 99.7.92.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-05-09 15:00:52,060 - DEBUG - ping -s 56 -c 3 -W 1 99.7.92.3 2025-05-09 15:00:55,256 - DEBUG - PING 99.7.92.3 (99.7.92.3): 56 data bytes --- 99.7.92.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-05-09 15:00:55,256 - WARNING - Ping to IP 99.7.92.3 from VM ctest-TestBasicPolicy-71837175-61539396 failed 2025-05-09 15:00:55,256 - INFO - Deleting VM ctest-TestBasicPolicy-71837175-05755573 2025-05-09 15:00:55,322 - INFO - Deleting VM ctest-TestBasicPolicy-71837175-61539396 2025-05-09 15:00:55,681 - INFO - Deleted policy ctest-policy-allow-all-89913060 2025-05-09 15:00:55,681 - INFO - Deleting VN ctest-vn-49327241 2025-05-09 15:00:55,711 - DEBUG - VN c4543e6a-e4d8-4ec0-b523-5b8a867725b5 still in use: Unable to complete operation on network c4543e6a-e4d8-4ec0-b523-5b8a867725b5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c1615508-1266-4c76-876f-829597cb1394'] 2025-05-09 15:00:55,711 - WARNING - Deleting VN ctest-vn-49327241 failed..Will retry 2025-05-09 15:00:57,806 - DEBUG - Response for deleting network () 2025-05-09 15:00:57,806 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/987c6b4d-5f7e-4e47-b684-c7619d75a448 2025-05-09 15:00:57,811 - DEBUG - Response Code: 404 2025-05-09 15:00:57,811 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-05-09 15:00:57,817 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6a6d7818-203e-4401-875c-a40c0fa8549f 2025-05-09 15:00:57,871 - DEBUG - Requesting: http://10.0.0.254:8082/project/838326d8-1f65-4b20-a926-a51d97c9369f 2025-05-09 15:00:57,942 - INFO - Validated that VN ctest-vn-49327241 is not found in API Server 2025-05-09 15:00:57,953 - DEBUG - VN ctest-vn-49327241 is not present in Agent 10.0.0.254 2025-05-09 15:00:57,953 - INFO - Validated that VN ctest-vn-49327241 is not in any agent 2025-05-09 15:00:57,968 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-49327241 info 2025-05-09 15:00:57,968 - INFO - Deleting VN ctest-vn-57601921 2025-05-09 15:00:58,063 - DEBUG - Response for deleting network () 2025-05-09 15:00:58,063 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/505810d3-41fc-475a-9081-0f2a7136db88 2025-05-09 15:00:58,072 - DEBUG - Response Code: 404 2025-05-09 15:00:58,072 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-05-09 15:00:58,077 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6a6d7818-203e-4401-875c-a40c0fa8549f 2025-05-09 15:00:58,129 - DEBUG - Requesting: http://10.0.0.254:8082/project/838326d8-1f65-4b20-a926-a51d97c9369f 2025-05-09 15:00:58,196 - INFO - Validated that VN ctest-vn-57601921 is not found in API Server 2025-05-09 15:00:58,206 - DEBUG - VN ctest-vn-57601921 is not present in Agent 10.0.0.254 2025-05-09 15:00:58,207 - INFO - Validated that VN ctest-vn-57601921 is not in any agent 2025-05-09 15:00:58,220 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-57601921 info 2025-05-09 15:00:58,469 - DEBUG - No XMPP flaps were noticed during the test
2025-05-09 15:00:58,469 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-05-09 15:00:58,469 - INFO - -------------------------------------------------------------------------------- 2025-05-09 15:00:59,115 - INFO - Deleted project: ctest-TestBasicPolicy-71837175, ID : 838326d8-1f65-4b20-a926-a51d97c9369f