2025-04-07 02:17:56,896 - INFO - Domain Default found not creating 2025-04-07 02:17:57,049 - INFO - Project ctest-TestBasicPolicy-05022769 not found, creating it 2025-04-07 02:17:57,528 - INFO - Created Project:ctest-TestBasicPolicy-05022769, ID : e06f3648-b018-4b2a-95e5-3c1286a84791 2025-04-07 02:17:58,990 - INFO - ================================================================================ 2025-04-07 02:17:58,990 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-07 02:17:58,990 - 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-07 02:17:59,252 - DEBUG - Nothing to compare xmpp stats {'10.0.0.29': {'10.20.0.8': '0'}} with 2025-04-07 02:17:59,252 - INFO - Initial checks done. Running the testcase now 2025-04-07 02:17:59,252 - INFO - 2025-04-07 02:17:59,802 - DEBUG - Response for create_network : {'network': {'id': 'aa184bc4-7017-41e9-addd-1cea92753d67', 'name': 'ctest-vn-07494709', 'tenant_id': 'e06f3648b0184b2a95e53c1286a84791', 'project_id': 'e06f3648b0184b2a95e53c1286a84791', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05022769', 'ctest-vn-07494709'], 'port_security_enabled': True, 'description': ''}} 2025-04-07 02:17:59,962 - DEBUG - Response for create_subnet : {'subnet': {'id': '20973dd3-daee-4103-bcf9-eac16bcb515e', 'name': '', 'tenant_id': 'e06f3648b0184b2a95e53c1286a84791', 'network_id': 'aa184bc4-7017-41e9-addd-1cea92753d67', 'ip_version': 4, 'cidr': '143.60.74.0/26', 'allocation_pools': [{'start': '143.60.74.2', 'end': '143.60.74.62'}], 'gateway_ip': '143.60.74.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.60.74.2', 'tags': [], 'project_id': 'e06f3648b0184b2a95e53c1286a84791'}} 2025-04-07 02:17:59,981 - INFO - Created VN ctest-vn-07494709 2025-04-07 02:18:00,033 - DEBUG - VN ctest-vn-07494709 UUID is aa184bc4-7017-41e9-addd-1cea92753d67 2025-04-07 02:18:00,363 - DEBUG - Response for create_network : {'network': {'id': '53e44df9-0833-4e9f-bce3-2893cdb98849', 'name': 'ctest-vn-38646448', 'tenant_id': 'e06f3648b0184b2a95e53c1286a84791', 'project_id': 'e06f3648b0184b2a95e53c1286a84791', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05022769', 'ctest-vn-38646448'], 'port_security_enabled': True, 'description': ''}} 2025-04-07 02:18:00,518 - DEBUG - Response for create_subnet : {'subnet': {'id': '42a7c95f-a820-469b-b2dc-93dbdb6881e4', 'name': '', 'tenant_id': 'e06f3648b0184b2a95e53c1286a84791', 'network_id': '53e44df9-0833-4e9f-bce3-2893cdb98849', 'ip_version': 4, 'cidr': '20.77.113.192/26', 'allocation_pools': [{'start': '20.77.113.194', 'end': '20.77.113.254'}], 'gateway_ip': '20.77.113.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.77.113.194', 'tags': [], 'project_id': 'e06f3648b0184b2a95e53c1286a84791'}} 2025-04-07 02:18:00,536 - INFO - Created VN ctest-vn-38646448 2025-04-07 02:18:00,588 - DEBUG - VN ctest-vn-38646448 UUID is 53e44df9-0833-4e9f-bce3-2893cdb98849 2025-04-07 02:18:00,741 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-05022769:ctest-vn-07494709, 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-05022769:ctest-vn-38646448, 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-07 02:18:01,036 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'aa184bc4-7017-41e9-addd-1cea92753d67', 'name': 'ctest-vn-07494709', 'tenant_id': 'e06f3648b0184b2a95e53c1286a84791', 'project_id': 'e06f3648b0184b2a95e53c1286a84791', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['20973dd3-daee-4103-bcf9-eac16bcb515e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05022769', 'ctest-vn-07494709'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-05022769', 'ctest-policy-allow-all-13265054']], 'subnet_ipam': [{'subnet_cidr': '143.60.74.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-07 02:18:01,327 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '53e44df9-0833-4e9f-bce3-2893cdb98849', 'name': 'ctest-vn-38646448', 'tenant_id': 'e06f3648b0184b2a95e53c1286a84791', 'project_id': 'e06f3648b0184b2a95e53c1286a84791', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['42a7c95f-a820-469b-b2dc-93dbdb6881e4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05022769', 'ctest-vn-38646448'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-05022769', 'ctest-policy-allow-all-13265054']], 'subnet_ipam': [{'subnet_cidr': '20.77.113.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-07 02:18:01,481 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2025-04-07 02:18:01,785 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2025-04-07 02:18:01,817 - DEBUG - Requesting: http://10.0.0.29:8082/domain/61f0907b-a8f0-41ae-8435-9553dc5b8157 2025-04-07 02:18:01,837 - DEBUG - Requesting: http://10.0.0.29:8082/project/e06f3648-b018-4b2a-95e5-3c1286a84791 2025-04-07 02:18:01,930 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/aa184bc4-7017-41e9-addd-1cea92753d67 2025-04-07 02:18:01,946 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/aa184bc4-7017-41e9-addd-1cea92753d67 2025-04-07 02:18:01,960 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/d944730e-c1a9-4fc0-a843-649655b0dd97 2025-04-07 02:18:01,970 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/d944730e-c1a9-4fc0-a843-649655b0dd97 2025-04-07 02:18:01,978 - DEBUG - Requesting: http://10.0.0.29:8082/route-target/3cb2d3a2-68d3-4dcb-84a0-a8b6af7765d5 2025-04-07 02:18:01,987 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-04-07 02:18:01,987 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/aa184bc4-7017-41e9-addd-1cea92753d67 2025-04-07 02:18:02,001 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/d944730e-c1a9-4fc0-a843-649655b0dd97 2025-04-07 02:18:02,023 - INFO - Verified VN network id 7 for VN aa184bc4-7017-41e9-addd-1cea92753d67 2025-04-07 02:18:02,024 - INFO - Verifications in API Server for VN ctest-vn-07494709 passed 2025-04-07 02:18:02,024 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/aa184bc4-7017-41e9-addd-1cea92753d67 2025-04-07 02:18:02,043 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/d944730e-c1a9-4fc0-a843-649655b0dd97 2025-04-07 02:18:02,052 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/d944730e-c1a9-4fc0-a843-649655b0dd97 2025-04-07 02:18:02,060 - DEBUG - Requesting: http://10.0.0.29:8082/route-target/3cb2d3a2-68d3-4dcb-84a0-a8b6af7765d5 2025-04-07 02:18:02,076 - DEBUG - Control-node 10.0.0.29 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-05022769:ctest-vn-07494709', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-05022769', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12256629692955050473', 'uuid-lslong': '12528201532219669863'}, 'enable': 'true', 'created': '2025-04-07T02:17:59', 'last-modified': '2025-04-07T02:18:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.059231'} 2025-04-07 02:18:02,085 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-04-07 02:18:02,085 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07494709 passed 2025-04-07 02:18:02,085 - DEBUG - ====Verifying policy data for ctest-vn-07494709 in API_Server ====== 2025-04-07 02:18:02,085 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2025-04-07 02:18:02,092 - DEBUG - Requesting: http://10.0.0.29:8082/domain/61f0907b-a8f0-41ae-8435-9553dc5b8157 2025-04-07 02:18:02,105 - DEBUG - Requesting: http://10.0.0.29:8082/project/e06f3648-b018-4b2a-95e5-3c1286a84791 2025-04-07 02:18:02,182 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/aa184bc4-7017-41e9-addd-1cea92753d67 2025-04-07 02:18:02,194 - DEBUG - ==>Verifying data for policy with id: b1a44e10-f96d-42cb-ac66-69a86366a84f, fqn: ['default-domain', 'ctest-TestBasicPolicy-05022769', 'ctest-policy-allow-all-13265054'] 2025-04-07 02:18:02,194 - INFO - VN ctest-vn-07494709 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-07 02:18:02,194 - DEBUG - Verifying the vn in opserver 2025-04-07 02:18:02,194 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-05022769:ctest-vn-07494709 virtual network link through opserver 10.0.0.29 2025-04-07 02:18:02,194 - DEBUG - Requesting: http://10.0.0.29:8081/analytics/uves/virtual-networks 2025-04-07 02:18:02,492 - DEBUG - Requesting: http://10.0.0.29:8081/analytics/uves/virtual-networks 2025-04-07 02:18:02,554 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-05022769:ctest-vn-07494709', 'href': 'http://10.0.0.29:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-05022769:ctest-vn-07494709?flat'} 2025-04-07 02:18:02,554 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-05022769:ctest-vn-07494709 is found in opserver 2025-04-07 02:18:02,565 - DEBUG - Do not have enough data to verify VN in agent 2025-04-07 02:18:02,571 - DEBUG - VRF ids for VN ctest-vn-07494709: {} 2025-04-07 02:18:02,571 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2025-04-07 02:18:02,578 - DEBUG - Requesting: http://10.0.0.29:8082/domain/61f0907b-a8f0-41ae-8435-9553dc5b8157 2025-04-07 02:18:02,591 - DEBUG - Requesting: http://10.0.0.29:8082/project/e06f3648-b018-4b2a-95e5-3c1286a84791 2025-04-07 02:18:02,669 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/53e44df9-0833-4e9f-bce3-2893cdb98849 2025-04-07 02:18:02,683 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/53e44df9-0833-4e9f-bce3-2893cdb98849 2025-04-07 02:18:02,693 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/259f916d-2a49-45c2-92f6-4a4791941288 2025-04-07 02:18:02,701 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/259f916d-2a49-45c2-92f6-4a4791941288 2025-04-07 02:18:02,709 - DEBUG - Requesting: http://10.0.0.29:8082/route-target/fd223a0f-ce6a-4393-9c86-fcc726b54c78 2025-04-07 02:18:02,719 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-07 02:18:02,719 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/53e44df9-0833-4e9f-bce3-2893cdb98849 2025-04-07 02:18:02,738 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/259f916d-2a49-45c2-92f6-4a4791941288 2025-04-07 02:18:02,757 - INFO - Verified VN network id 8 for VN 53e44df9-0833-4e9f-bce3-2893cdb98849 2025-04-07 02:18:02,757 - INFO - Verifications in API Server for VN ctest-vn-38646448 passed 2025-04-07 02:18:02,757 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/53e44df9-0833-4e9f-bce3-2893cdb98849 2025-04-07 02:18:02,769 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/259f916d-2a49-45c2-92f6-4a4791941288 2025-04-07 02:18:02,778 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/259f916d-2a49-45c2-92f6-4a4791941288 2025-04-07 02:18:02,785 - DEBUG - Requesting: http://10.0.0.29:8082/route-target/fd223a0f-ce6a-4393-9c86-fcc726b54c78 2025-04-07 02:18:02,798 - DEBUG - Control-node 10.0.0.29 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-05022769:ctest-vn-38646448', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-05022769', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6045042331817823903', 'uuid-lslong': '13610767114120562761'}, 'enable': 'true', 'created': '2025-04-07T02:18:00', 'last-modified': '2025-04-07T02:18:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.544241'} 2025-04-07 02:18:02,805 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-07 02:18:02,805 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38646448 passed 2025-04-07 02:18:02,805 - DEBUG - ====Verifying policy data for ctest-vn-38646448 in API_Server ====== 2025-04-07 02:18:02,805 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2025-04-07 02:18:02,812 - DEBUG - Requesting: http://10.0.0.29:8082/domain/61f0907b-a8f0-41ae-8435-9553dc5b8157 2025-04-07 02:18:02,824 - DEBUG - Requesting: http://10.0.0.29:8082/project/e06f3648-b018-4b2a-95e5-3c1286a84791 2025-04-07 02:18:02,906 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/53e44df9-0833-4e9f-bce3-2893cdb98849 2025-04-07 02:18:02,919 - DEBUG - ==>Verifying data for policy with id: b1a44e10-f96d-42cb-ac66-69a86366a84f, fqn: ['default-domain', 'ctest-TestBasicPolicy-05022769', 'ctest-policy-allow-all-13265054'] 2025-04-07 02:18:02,919 - INFO - VN ctest-vn-38646448 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-07 02:18:02,919 - DEBUG - Verifying the vn in opserver 2025-04-07 02:18:02,919 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-05022769:ctest-vn-38646448 virtual network link through opserver 10.0.0.29 2025-04-07 02:18:02,919 - DEBUG - Requesting: http://10.0.0.29:8081/analytics/uves/virtual-networks 2025-04-07 02:18:02,931 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-05022769:ctest-vn-38646448', 'href': 'http://10.0.0.29:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-05022769:ctest-vn-38646448?flat'} 2025-04-07 02:18:02,931 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-05022769:ctest-vn-38646448 is found in opserver 2025-04-07 02:18:02,943 - DEBUG - Do not have enough data to verify VN in agent 2025-04-07 02:18:02,949 - DEBUG - VRF ids for VN ctest-vn-38646448: {} 2025-04-07 02:18:03,016 - DEBUG - Services list from nova: [, , ] 2025-04-07 02:18:04,035 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3042-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3042-1) 2025-04-07 02:18:05,319 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3042-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3042-1) 2025-04-07 02:18:05,319 - INFO - Waiting for VM ctest-TestBasicPolicy-05022769-91019508 to be up.. 2025-04-07 02:18:05,406 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-07 02:18:10,489 - DEBUG - VM is in ACTIVE state now 2025-04-07 02:18:10,489 - INFO - VM name : ctest-TestBasicPolicy-05022769-91019508 2025-04-07 02:18:10,576 - DEBUG - VM ctest-TestBasicPolicy-05022769-91019508 ID is 598a2fc6-29fb-4613-a53e-0aa27eb1c138 2025-04-07 02:18:10,596 - DEBUG - VM ctest-TestBasicPolicy-05022769-91019508 launched on Node cn-jenkins-deploy-platform-ansible-os-3042-1 2025-04-07 02:18:10,677 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/598a2fc6-29fb-4613-a53e-0aa27eb1c138 2025-04-07 02:18:10,688 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/46ec42f0-9415-44cd-8273-58293e396a04 2025-04-07 02:18:13,967 - 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 1027ms') 2025-04-07 02:18:13,967 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-05022769-91019508 failed! 2025-04-07 02:18:14,025 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-05022769:ctest-vn-07494709 is 143.60.74.1 and allocation pool is NOT set 2025-04-07 02:18:16,083 - 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=9.89 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.75 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 = 1.749/5.819/9.889/4.070 ms') 2025-04-07 02:18:16,083 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-05022769-91019508 passed 2025-04-07 02:18:16,237 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-07 02:18:16,237 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-05022769-91019508, IP 143.60.74.3, Port 22 2025-04-07 02:18:16,396 - DEBUG - VM ctest-TestBasicPolicy-05022769-91019508 is ready for SSH connections 2025-04-07 02:18:16,396 - INFO - Waiting for VM ctest-TestBasicPolicy-05022769-76259373 to be up.. 2025-04-07 02:18:16,469 - DEBUG - VM is in ACTIVE state now 2025-04-07 02:18:16,469 - INFO - VM name : ctest-TestBasicPolicy-05022769-76259373 2025-04-07 02:18:16,545 - DEBUG - VM ctest-TestBasicPolicy-05022769-76259373 ID is 2d7ba9f6-704e-4932-9a3b-17392be943c9 2025-04-07 02:18:16,545 - DEBUG - VM ctest-TestBasicPolicy-05022769-76259373 launched on Node cn-jenkins-deploy-platform-ansible-os-3042-1 2025-04-07 02:18:16,643 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/2d7ba9f6-704e-4932-9a3b-17392be943c9 2025-04-07 02:18:16,652 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/c90bbeac-df5e-4bf5-85ac-8500b052c777 2025-04-07 02:18:17,891 - 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.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.413 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.413/1.597/2.781/1.184 ms') 2025-04-07 02:18:17,892 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-05022769-76259373 passed 2025-04-07 02:18:18,045 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-07 02:18:18,045 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-05022769-76259373, IP 20.77.113.195, Port 22 2025-04-07 02:18:18,200 - DEBUG - VM ctest-TestBasicPolicy-05022769-76259373 is ready for SSH connections 2025-04-07 02:18:18,200 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-07 02:18:18,200 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 20.77.113.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2025-04-07 02:18:18,200 - DEBUG - ping -s 56 -c 3 -W 1 20.77.113.195 2025-04-07 02:18:22,177 - DEBUG - PING 20.77.113.195 (20.77.113.195): 56 data bytes 64 bytes from 20.77.113.195: seq=0 ttl=63 time=3.471 ms 64 bytes from 20.77.113.195: seq=1 ttl=63 time=0.855 ms 64 bytes from 20.77.113.195: seq=2 ttl=63 time=0.760 ms --- 20.77.113.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.760/1.695/3.471 ms 2025-04-07 02:18:22,178 - INFO - Ping to IP 20.77.113.195 from VM ctest-TestBasicPolicy-05022769-91019508 passed 2025-04-07 02:18:22,360 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b1a44e10-f96d-42cb-ac66-69a86366a84f", "href": "http://10.0.0.29:8082/network-policy/b1a44e10-f96d-42cb-ac66-69a86366a84f"}} 2025-04-07 02:18:22,360 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-07 02:18:22,361 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 20.77.113.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2025-04-07 02:18:22,361 - DEBUG - ping -s 56 -c 3 -W 1 20.77.113.195 2025-04-07 02:18:25,562 - DEBUG - PING 20.77.113.195 (20.77.113.195): 56 data bytes 64 bytes from 20.77.113.195: seq=0 ttl=63 time=1.412 ms --- 20.77.113.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.412/1.412/1.412 ms 2025-04-07 02:18:25,562 - WARNING - Ping to IP 20.77.113.195 from VM ctest-TestBasicPolicy-05022769-91019508 failed 2025-04-07 02:18:25,562 - INFO - Deleting VM ctest-TestBasicPolicy-05022769-76259373 2025-04-07 02:18:25,625 - INFO - Deleting VM ctest-TestBasicPolicy-05022769-91019508 2025-04-07 02:18:25,978 - INFO - Deleted policy ctest-policy-allow-all-13265054 2025-04-07 02:18:25,978 - INFO - Deleting VN ctest-vn-38646448 2025-04-07 02:18:26,011 - DEBUG - VN 53e44df9-0833-4e9f-bce3-2893cdb98849 still in use: Unable to complete operation on network 53e44df9-0833-4e9f-bce3-2893cdb98849. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7ca43ec8-78e6-4da7-b270-b501a03a29cd'] 2025-04-07 02:18:26,011 - WARNING - Deleting VN ctest-vn-38646448 failed..Will retry 2025-04-07 02:18:28,110 - DEBUG - Response for deleting network () 2025-04-07 02:18:28,110 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/259f916d-2a49-45c2-92f6-4a4791941288 2025-04-07 02:18:28,117 - DEBUG - Response Code: 404 2025-04-07 02:18:28,117 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2025-04-07 02:18:28,123 - DEBUG - Requesting: http://10.0.0.29:8082/domain/61f0907b-a8f0-41ae-8435-9553dc5b8157 2025-04-07 02:18:28,178 - DEBUG - Requesting: http://10.0.0.29:8082/project/e06f3648-b018-4b2a-95e5-3c1286a84791 2025-04-07 02:18:28,249 - INFO - Validated that VN ctest-vn-38646448 is not found in API Server 2025-04-07 02:18:28,259 - DEBUG - VN ctest-vn-38646448 is not present in Agent 10.0.0.29 2025-04-07 02:18:28,259 - INFO - Validated that VN ctest-vn-38646448 is not in any agent 2025-04-07 02:18:28,273 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-38646448 info 2025-04-07 02:18:28,273 - INFO - Deleting VN ctest-vn-07494709 2025-04-07 02:18:28,371 - DEBUG - Response for deleting network () 2025-04-07 02:18:28,371 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/d944730e-c1a9-4fc0-a843-649655b0dd97 2025-04-07 02:18:28,379 - DEBUG - Response Code: 404 2025-04-07 02:18:28,379 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2025-04-07 02:18:28,385 - DEBUG - Requesting: http://10.0.0.29:8082/domain/61f0907b-a8f0-41ae-8435-9553dc5b8157 2025-04-07 02:18:28,438 - DEBUG - Requesting: http://10.0.0.29:8082/project/e06f3648-b018-4b2a-95e5-3c1286a84791 2025-04-07 02:18:28,512 - INFO - Validated that VN ctest-vn-07494709 is not found in API Server 2025-04-07 02:18:28,522 - DEBUG - VN ctest-vn-07494709 is not present in Agent 10.0.0.29 2025-04-07 02:18:28,522 - INFO - Validated that VN ctest-vn-07494709 is not in any agent 2025-04-07 02:18:28,539 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-07494709 info 2025-04-07 02:18:28,795 - DEBUG - No XMPP flaps were noticed during the test 2025-04-07 02:18:28,795 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-04-07 02:18:28,795 - INFO - -------------------------------------------------------------------------------- 2025-04-07 02:18:29,476 - INFO - Deleted project: ctest-TestBasicPolicy-05022769, ID : e06f3648-b018-4b2a-95e5-3c1286a84791