2025-03-27 13:41:55,332 - INFO - Domain Default found not creating 2025-03-27 13:41:55,476 - INFO - Project ctest-TestBasicPolicy-64360103 not found, creating it 2025-03-27 13:41:55,942 - INFO - Created Project:ctest-TestBasicPolicy-64360103, ID : 8a8be680-89b2-4f04-94ad-01d5f50b39af 2025-03-27 13:41:57,405 - INFO - ================================================================================ 2025-03-27 13:41:57,405 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-03-27 13:41:57,405 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-03-27 13:41:57,663 - DEBUG - Nothing to compare xmpp stats {'10.0.0.28': {'10.20.0.11': '0'}} with 2025-03-27 13:41:57,663 - INFO - Initial checks done. Running the testcase now 2025-03-27 13:41:57,663 - INFO - 2025-03-27 13:41:58,210 - DEBUG - Response for create_network : {'network': {'id': '2ef798f6-28b3-4fe6-803c-4becec0bbbf3', 'name': 'ctest-vn-11771589', 'tenant_id': '8a8be68089b24f0494ad01d5f50b39af', 'project_id': '8a8be68089b24f0494ad01d5f50b39af', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64360103', 'ctest-vn-11771589'], 'port_security_enabled': True, 'description': ''}} 2025-03-27 13:41:58,435 - DEBUG - Response for create_subnet : {'subnet': {'id': '3efe2f98-d4d5-4010-a2d4-a096740a1797', 'name': '', 'tenant_id': '8a8be68089b24f0494ad01d5f50b39af', 'network_id': '2ef798f6-28b3-4fe6-803c-4becec0bbbf3', 'ip_version': 4, 'cidr': '12.123.152.192/26', 'allocation_pools': [{'start': '12.123.152.194', 'end': '12.123.152.254'}], 'gateway_ip': '12.123.152.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '12.123.152.194', 'tags': [], 'project_id': '8a8be68089b24f0494ad01d5f50b39af'}} 2025-03-27 13:41:58,454 - INFO - Created VN ctest-vn-11771589 2025-03-27 13:41:58,507 - DEBUG - VN ctest-vn-11771589 UUID is 2ef798f6-28b3-4fe6-803c-4becec0bbbf3 2025-03-27 13:41:58,805 - DEBUG - Response for create_network : {'network': {'id': '334836c2-75c2-4ee0-851a-a62db2aa9a46', 'name': 'ctest-vn-88944320', 'tenant_id': '8a8be68089b24f0494ad01d5f50b39af', 'project_id': '8a8be68089b24f0494ad01d5f50b39af', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64360103', 'ctest-vn-88944320'], 'port_security_enabled': True, 'description': ''}} 2025-03-27 13:41:59,029 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f5aa7258-a460-4fb1-a3db-d3b53d002914', 'name': '', 'tenant_id': '8a8be68089b24f0494ad01d5f50b39af', 'network_id': '334836c2-75c2-4ee0-851a-a62db2aa9a46', 'ip_version': 4, 'cidr': '81.8.96.128/26', 'allocation_pools': [{'start': '81.8.96.130', 'end': '81.8.96.190'}], 'gateway_ip': '81.8.96.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '81.8.96.130', 'tags': [], 'project_id': '8a8be68089b24f0494ad01d5f50b39af'}} 2025-03-27 13:41:59,050 - INFO - Created VN ctest-vn-88944320 2025-03-27 13:41:59,103 - DEBUG - VN ctest-vn-88944320 UUID is 334836c2-75c2-4ee0-851a-a62db2aa9a46 2025-03-27 13:41:59,222 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-64360103:ctest-vn-11771589, 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-64360103:ctest-vn-88944320, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-03-27 13:41:59,538 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2ef798f6-28b3-4fe6-803c-4becec0bbbf3', 'name': 'ctest-vn-11771589', 'tenant_id': '8a8be68089b24f0494ad01d5f50b39af', 'project_id': '8a8be68089b24f0494ad01d5f50b39af', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3efe2f98-d4d5-4010-a2d4-a096740a1797'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64360103', 'ctest-vn-11771589'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-64360103', 'ctest-policy-allow-all-87736256']], 'subnet_ipam': [{'subnet_cidr': '12.123.152.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-03-27 13:41:59,769 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '334836c2-75c2-4ee0-851a-a62db2aa9a46', 'name': 'ctest-vn-88944320', 'tenant_id': '8a8be68089b24f0494ad01d5f50b39af', 'project_id': '8a8be68089b24f0494ad01d5f50b39af', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f5aa7258-a460-4fb1-a3db-d3b53d002914'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64360103', 'ctest-vn-88944320'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-64360103', 'ctest-policy-allow-all-87736256']], 'subnet_ipam': [{'subnet_cidr': '81.8.96.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-03-27 13:41:59,927 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2025-03-27 13:42:00,220 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2025-03-27 13:42:00,250 - DEBUG - Requesting: http://10.0.0.28:8082/domain/22fdbb07-328f-4bc4-b2d3-9d039227212e 2025-03-27 13:42:00,263 - DEBUG - Requesting: http://10.0.0.28:8082/project/8a8be680-89b2-4f04-94ad-01d5f50b39af 2025-03-27 13:42:00,337 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/2ef798f6-28b3-4fe6-803c-4becec0bbbf3 2025-03-27 13:42:00,350 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/2ef798f6-28b3-4fe6-803c-4becec0bbbf3 2025-03-27 13:42:00,361 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/cf24072a-d41d-4e86-90f1-ba60a88f33d1 2025-03-27 13:42:00,369 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/cf24072a-d41d-4e86-90f1-ba60a88f33d1 2025-03-27 13:42:00,379 - DEBUG - Requesting: http://10.0.0.28:8082/route-target/c60703d8-eb2b-4f67-b901-743247cc90a0 2025-03-27 13:42:00,390 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-03-27 13:42:00,390 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/2ef798f6-28b3-4fe6-803c-4becec0bbbf3 2025-03-27 13:42:00,405 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/cf24072a-d41d-4e86-90f1-ba60a88f33d1 2025-03-27 13:42:00,423 - INFO - Verified VN network id 8 for VN 2ef798f6-28b3-4fe6-803c-4becec0bbbf3 2025-03-27 13:42:00,423 - INFO - Verifications in API Server for VN ctest-vn-11771589 passed 2025-03-27 13:42:00,424 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/2ef798f6-28b3-4fe6-803c-4becec0bbbf3 2025-03-27 13:42:00,437 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/cf24072a-d41d-4e86-90f1-ba60a88f33d1 2025-03-27 13:42:00,445 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/cf24072a-d41d-4e86-90f1-ba60a88f33d1 2025-03-27 13:42:00,454 - DEBUG - Requesting: http://10.0.0.28:8082/route-target/c60703d8-eb2b-4f67-b901-743247cc90a0 2025-03-27 13:42:00,468 - DEBUG - Control-node 10.0.0.28 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-64360103:ctest-vn-11771589', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-64360103', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3384341828004433894', 'uuid-lslong': '9240344016401972211'}, 'enable': 'true', 'created': '2025-03-27T13:41:58', 'last-modified': '2025-03-27T13:41:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.966633'} 2025-03-27 13:42:00,475 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-03-27 13:42:00,475 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-11771589 passed 2025-03-27 13:42:00,475 - DEBUG - ====Verifying policy data for ctest-vn-11771589 in API_Server ====== 2025-03-27 13:42:00,475 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2025-03-27 13:42:00,481 - DEBUG - Requesting: http://10.0.0.28:8082/domain/22fdbb07-328f-4bc4-b2d3-9d039227212e 2025-03-27 13:42:00,496 - DEBUG - Requesting: http://10.0.0.28:8082/project/8a8be680-89b2-4f04-94ad-01d5f50b39af 2025-03-27 13:42:00,577 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/2ef798f6-28b3-4fe6-803c-4becec0bbbf3 2025-03-27 13:42:00,591 - DEBUG - ==>Verifying data for policy with id: 4ad36e96-a424-4682-9932-d8d0ff3c0ce2, fqn: ['default-domain', 'ctest-TestBasicPolicy-64360103', 'ctest-policy-allow-all-87736256'] 2025-03-27 13:42:00,591 - INFO - VN ctest-vn-11771589 Policy verification: verify_vn_policy_in_api_server, status: True 2025-03-27 13:42:00,591 - DEBUG - Verifying the vn in opserver 2025-03-27 13:42:00,591 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-64360103:ctest-vn-11771589 virtual network link through opserver 10.0.0.28 2025-03-27 13:42:00,591 - DEBUG - Requesting: http://10.0.0.28:8081/analytics/uves/virtual-networks 2025-03-27 13:42:00,885 - DEBUG - Requesting: http://10.0.0.28:8081/analytics/uves/virtual-networks 2025-03-27 13:42:00,940 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-64360103:ctest-vn-11771589', 'href': 'http://10.0.0.28:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-64360103:ctest-vn-11771589?flat'} 2025-03-27 13:42:00,940 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-64360103:ctest-vn-11771589 is found in opserver 2025-03-27 13:42:00,955 - DEBUG - Do not have enough data to verify VN in agent 2025-03-27 13:42:00,962 - DEBUG - VRF ids for VN ctest-vn-11771589: {} 2025-03-27 13:42:00,963 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2025-03-27 13:42:00,969 - DEBUG - Requesting: http://10.0.0.28:8082/domain/22fdbb07-328f-4bc4-b2d3-9d039227212e 2025-03-27 13:42:00,981 - DEBUG - Requesting: http://10.0.0.28:8082/project/8a8be680-89b2-4f04-94ad-01d5f50b39af 2025-03-27 13:42:01,064 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/334836c2-75c2-4ee0-851a-a62db2aa9a46 2025-03-27 13:42:01,077 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/334836c2-75c2-4ee0-851a-a62db2aa9a46 2025-03-27 13:42:01,087 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/fda6d5d6-1b66-470b-aca5-cec6a32b4673 2025-03-27 13:42:01,096 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/fda6d5d6-1b66-470b-aca5-cec6a32b4673 2025-03-27 13:42:01,103 - DEBUG - Requesting: http://10.0.0.28:8082/route-target/c337c3e9-b97e-4e62-bbbe-41ac6de407a6 2025-03-27 13:42:01,114 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-27 13:42:01,114 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/334836c2-75c2-4ee0-851a-a62db2aa9a46 2025-03-27 13:42:01,124 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/fda6d5d6-1b66-470b-aca5-cec6a32b4673 2025-03-27 13:42:01,140 - INFO - Verified VN network id 9 for VN 334836c2-75c2-4ee0-851a-a62db2aa9a46 2025-03-27 13:42:01,141 - INFO - Verifications in API Server for VN ctest-vn-88944320 passed 2025-03-27 13:42:01,141 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/334836c2-75c2-4ee0-851a-a62db2aa9a46 2025-03-27 13:42:01,154 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/fda6d5d6-1b66-470b-aca5-cec6a32b4673 2025-03-27 13:42:01,163 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/fda6d5d6-1b66-470b-aca5-cec6a32b4673 2025-03-27 13:42:01,170 - DEBUG - Requesting: http://10.0.0.28:8082/route-target/c337c3e9-b97e-4e62-bbbe-41ac6de407a6 2025-03-27 13:42:01,186 - DEBUG - Control-node 10.0.0.28 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-64360103:ctest-vn-88944320', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-64360103', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3695263703084715744', 'uuid-lslong': '9591161071640156742'}, 'enable': 'true', 'created': '2025-03-27T13:41:58', 'last-modified': '2025-03-27T13:41:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.437049'} 2025-03-27 13:42:01,195 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-27 13:42:01,195 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-88944320 passed 2025-03-27 13:42:01,195 - DEBUG - ====Verifying policy data for ctest-vn-88944320 in API_Server ====== 2025-03-27 13:42:01,195 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2025-03-27 13:42:01,201 - DEBUG - Requesting: http://10.0.0.28:8082/domain/22fdbb07-328f-4bc4-b2d3-9d039227212e 2025-03-27 13:42:01,214 - DEBUG - Requesting: http://10.0.0.28:8082/project/8a8be680-89b2-4f04-94ad-01d5f50b39af 2025-03-27 13:42:01,291 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/334836c2-75c2-4ee0-851a-a62db2aa9a46 2025-03-27 13:42:01,302 - DEBUG - ==>Verifying data for policy with id: 4ad36e96-a424-4682-9932-d8d0ff3c0ce2, fqn: ['default-domain', 'ctest-TestBasicPolicy-64360103', 'ctest-policy-allow-all-87736256'] 2025-03-27 13:42:01,302 - INFO - VN ctest-vn-88944320 Policy verification: verify_vn_policy_in_api_server, status: True 2025-03-27 13:42:01,302 - DEBUG - Verifying the vn in opserver 2025-03-27 13:42:01,302 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-64360103:ctest-vn-88944320 virtual network link through opserver 10.0.0.28 2025-03-27 13:42:01,302 - DEBUG - Requesting: http://10.0.0.28:8081/analytics/uves/virtual-networks 2025-03-27 13:42:01,314 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-64360103:ctest-vn-88944320', 'href': 'http://10.0.0.28:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-64360103:ctest-vn-88944320?flat'} 2025-03-27 13:42:01,314 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-64360103:ctest-vn-88944320 is found in opserver 2025-03-27 13:42:01,326 - DEBUG - Do not have enough data to verify VN in agent 2025-03-27 13:42:01,331 - DEBUG - VRF ids for VN ctest-vn-88944320: {} 2025-03-27 13:42:01,394 - DEBUG - Services list from nova: [, , ] 2025-03-27 13:42:02,537 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2972-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2972-1) 2025-03-27 13:42:03,683 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2972-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2972-1) 2025-03-27 13:42:03,683 - INFO - Waiting for VM ctest-TestBasicPolicy-64360103-92790679 to be up.. 2025-03-27 13:42:03,786 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-27 13:42:08,889 - DEBUG - VM is in ACTIVE state now 2025-03-27 13:42:08,890 - INFO - VM name : ctest-TestBasicPolicy-64360103-92790679 2025-03-27 13:42:08,980 - DEBUG - VM ctest-TestBasicPolicy-64360103-92790679 ID is 43928629-3e7b-4e68-aedb-020e714b70b5 2025-03-27 13:42:09,002 - DEBUG - VM ctest-TestBasicPolicy-64360103-92790679 launched on Node cn-jenkins-deploy-platform-ansible-os-2972-1 2025-03-27 13:42:09,095 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/43928629-3e7b-4e68-aedb-020e714b70b5 2025-03-27 13:42:09,109 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/0bb9264b-5830-4c35-9481-a02a76ebfa0b 2025-03-27 13:42:12,399 - 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 1018ms') 2025-03-27 13:42:12,399 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-64360103-92790679 failed! 2025-03-27 13:42:12,455 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-64360103:ctest-vn-11771589 is 12.123.152.193 and allocation pool is NOT set 2025-03-27 13:42:14,523 - 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=6.51 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.429 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.429/3.468/6.507/3.039 ms') 2025-03-27 13:42:14,524 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-64360103-92790679 passed 2025-03-27 13:42:14,679 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 13:42:14,680 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-64360103-92790679, IP 12.123.152.195, Port 22 2025-03-27 13:42:14,843 - DEBUG - VM ctest-TestBasicPolicy-64360103-92790679 is ready for SSH connections 2025-03-27 13:42:14,843 - INFO - Waiting for VM ctest-TestBasicPolicy-64360103-30056669 to be up.. 2025-03-27 13:42:14,926 - DEBUG - VM is in ACTIVE state now 2025-03-27 13:42:14,926 - INFO - VM name : ctest-TestBasicPolicy-64360103-30056669 2025-03-27 13:42:15,008 - DEBUG - VM ctest-TestBasicPolicy-64360103-30056669 ID is cd0280b2-04f7-453a-8d3e-990aa5eb15b3 2025-03-27 13:42:15,009 - DEBUG - VM ctest-TestBasicPolicy-64360103-30056669 launched on Node cn-jenkins-deploy-platform-ansible-os-2972-1 2025-03-27 13:42:15,088 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/cd0280b2-04f7-453a-8d3e-990aa5eb15b3 2025-03-27 13:42:15,098 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/6d5fb8c5-4ba5-4b1c-8333-509d61957826 2025-03-27 13:42:16,341 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.13 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.424 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.424/1.774/3.125/1.350 ms') 2025-03-27 13:42:16,341 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-64360103-30056669 passed 2025-03-27 13:42:16,491 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 13:42:16,492 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-64360103-30056669, IP 81.8.96.131, Port 22 2025-03-27 13:42:16,647 - DEBUG - VM ctest-TestBasicPolicy-64360103-30056669 is ready for SSH connections 2025-03-27 13:42:16,647 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 13:42:16,647 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 81.8.96.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123 2025-03-27 13:42:16,647 - DEBUG - ping -s 56 -c 3 -W 1 81.8.96.131 2025-03-27 13:42:20,355 - DEBUG - PING 81.8.96.131 (81.8.96.131): 56 data bytes 64 bytes from 81.8.96.131: seq=0 ttl=63 time=4.825 ms 64 bytes from 81.8.96.131: seq=1 ttl=63 time=1.002 ms 64 bytes from 81.8.96.131: seq=2 ttl=63 time=0.882 ms --- 81.8.96.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.882/2.236/4.825 ms 2025-03-27 13:42:20,355 - INFO - Ping to IP 81.8.96.131 from VM ctest-TestBasicPolicy-64360103-92790679 passed 2025-03-27 13:42:20,551 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4ad36e96-a424-4682-9932-d8d0ff3c0ce2", "href": "http://10.0.0.28:8082/network-policy/4ad36e96-a424-4682-9932-d8d0ff3c0ce2"}} 2025-03-27 13:42:20,551 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 13:42:20,551 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 81.8.96.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123 2025-03-27 13:42:20,552 - DEBUG - ping -s 56 -c 3 -W 1 81.8.96.131 2025-03-27 13:42:23,772 - DEBUG - PING 81.8.96.131 (81.8.96.131): 56 data bytes --- 81.8.96.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-03-27 13:42:23,773 - WARNING - Ping to IP 81.8.96.131 from VM ctest-TestBasicPolicy-64360103-92790679 failed 2025-03-27 13:42:23,773 - INFO - Deleting VM ctest-TestBasicPolicy-64360103-30056669 2025-03-27 13:42:23,851 - INFO - Deleting VM ctest-TestBasicPolicy-64360103-92790679 2025-03-27 13:42:24,258 - INFO - Deleted policy ctest-policy-allow-all-87736256 2025-03-27 13:42:24,258 - INFO - Deleting VN ctest-vn-88944320 2025-03-27 13:42:24,294 - DEBUG - VN 334836c2-75c2-4ee0-851a-a62db2aa9a46 still in use: Unable to complete operation on network 334836c2-75c2-4ee0-851a-a62db2aa9a46. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-05cfcd4b-cf04-4082-99c6-864968c3a47c'] 2025-03-27 13:42:24,294 - WARNING - Deleting VN ctest-vn-88944320 failed..Will retry 2025-03-27 13:42:26,417 - DEBUG - Response for deleting network () 2025-03-27 13:42:26,417 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/fda6d5d6-1b66-470b-aca5-cec6a32b4673 2025-03-27 13:42:26,422 - DEBUG - Response Code: 404 2025-03-27 13:42:26,423 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2025-03-27 13:42:26,435 - DEBUG - Requesting: http://10.0.0.28:8082/domain/22fdbb07-328f-4bc4-b2d3-9d039227212e 2025-03-27 13:42:26,488 - DEBUG - Requesting: http://10.0.0.28:8082/project/8a8be680-89b2-4f04-94ad-01d5f50b39af 2025-03-27 13:42:26,559 - INFO - Validated that VN ctest-vn-88944320 is not found in API Server 2025-03-27 13:42:26,570 - DEBUG - VN ctest-vn-88944320 is not present in Agent 10.0.0.28 2025-03-27 13:42:26,570 - INFO - Validated that VN ctest-vn-88944320 is not in any agent 2025-03-27 13:42:26,585 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-88944320 info 2025-03-27 13:42:26,586 - INFO - Deleting VN ctest-vn-11771589 2025-03-27 13:42:26,685 - DEBUG - Response for deleting network () 2025-03-27 13:42:26,685 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/cf24072a-d41d-4e86-90f1-ba60a88f33d1 2025-03-27 13:42:26,695 - DEBUG - Response Code: 404 2025-03-27 13:42:26,695 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2025-03-27 13:42:26,700 - DEBUG - Requesting: http://10.0.0.28:8082/domain/22fdbb07-328f-4bc4-b2d3-9d039227212e 2025-03-27 13:42:26,753 - DEBUG - Requesting: http://10.0.0.28:8082/project/8a8be680-89b2-4f04-94ad-01d5f50b39af 2025-03-27 13:42:26,829 - INFO - Validated that VN ctest-vn-11771589 is not found in API Server 2025-03-27 13:42:26,840 - DEBUG - VN ctest-vn-11771589 is not present in Agent 10.0.0.28 2025-03-27 13:42:26,840 - INFO - Validated that VN ctest-vn-11771589 is not in any agent 2025-03-27 13:42:26,857 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-11771589 info 2025-03-27 13:42:27,117 - DEBUG - No XMPP flaps were noticed during the test 2025-03-27 13:42:27,117 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-03-27 13:42:27,117 - INFO - -------------------------------------------------------------------------------- 2025-03-27 13:42:27,795 - INFO - Deleted project: ctest-TestBasicPolicy-64360103, ID : 8a8be680-89b2-4f04-94ad-01d5f50b39af