2025-02-06 02:19:28,991 - INFO - Domain Default found not creating 2025-02-06 02:19:29,101 - INFO - Project ctest-TestBasicPolicy-96576717 not found, creating it 2025-02-06 02:19:29,607 - INFO - Created Project:ctest-TestBasicPolicy-96576717, ID : a61ddbdc-16a3-41c3-b7f1-a90cf13ce2c8 2025-02-06 02:19:30,919 - INFO - ================================================================================ 2025-02-06 02:19:30,919 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-02-06 02:19:30,920 - 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-02-06 02:19:31,168 - DEBUG - Nothing to compare xmpp stats {'10.0.0.32': {'10.0.0.32': '0'}} with 2025-02-06 02:19:31,168 - INFO - Initial checks done. Running the testcase now 2025-02-06 02:19:31,168 - INFO - 2025-02-06 02:19:31,692 - DEBUG - Response for create_network : {'network': {'id': 'd78494ce-eb44-483f-9026-772670b42af3', 'name': 'ctest-vn-09177064', 'tenant_id': 'a61ddbdc16a341c3b7f1a90cf13ce2c8', 'project_id': 'a61ddbdc16a341c3b7f1a90cf13ce2c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96576717', 'ctest-vn-09177064'], 'port_security_enabled': True, 'description': ''}} 2025-02-06 02:19:31,834 - DEBUG - Response for create_subnet : {'subnet': {'id': '305a133a-1a12-42ec-9dec-8b82de2145a0', 'name': '', 'tenant_id': 'a61ddbdc16a341c3b7f1a90cf13ce2c8', 'network_id': 'd78494ce-eb44-483f-9026-772670b42af3', 'ip_version': 4, 'cidr': '217.221.38.0/26', 'allocation_pools': [{'start': '217.221.38.2', 'end': '217.221.38.62'}], 'gateway_ip': '217.221.38.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '217.221.38.2', 'tags': [], 'project_id': 'a61ddbdc16a341c3b7f1a90cf13ce2c8'}} 2025-02-06 02:19:31,848 - INFO - Created VN ctest-vn-09177064 2025-02-06 02:19:31,899 - DEBUG - VN ctest-vn-09177064 UUID is d78494ce-eb44-483f-9026-772670b42af3 2025-02-06 02:19:32,196 - DEBUG - Response for create_network : {'network': {'id': 'dd4d6c87-754b-48d5-b90e-8f2b6679ee5d', 'name': 'ctest-vn-84152044', 'tenant_id': 'a61ddbdc16a341c3b7f1a90cf13ce2c8', 'project_id': 'a61ddbdc16a341c3b7f1a90cf13ce2c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96576717', 'ctest-vn-84152044'], 'port_security_enabled': True, 'description': ''}} 2025-02-06 02:19:32,387 - DEBUG - Response for create_subnet : {'subnet': {'id': '05ffe941-1850-415d-94c6-9a9b09060f3b', 'name': '', 'tenant_id': 'a61ddbdc16a341c3b7f1a90cf13ce2c8', 'network_id': 'dd4d6c87-754b-48d5-b90e-8f2b6679ee5d', 'ip_version': 4, 'cidr': '136.98.204.64/26', 'allocation_pools': [{'start': '136.98.204.66', 'end': '136.98.204.126'}], 'gateway_ip': '136.98.204.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '136.98.204.66', 'tags': [], 'project_id': 'a61ddbdc16a341c3b7f1a90cf13ce2c8'}} 2025-02-06 02:19:32,402 - INFO - Created VN ctest-vn-84152044 2025-02-06 02:19:32,451 - DEBUG - VN ctest-vn-84152044 UUID is dd4d6c87-754b-48d5-b90e-8f2b6679ee5d 2025-02-06 02:19:32,587 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-96576717:ctest-vn-09177064, 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-96576717:ctest-vn-84152044, 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-02-06 02:19:32,861 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd78494ce-eb44-483f-9026-772670b42af3', 'name': 'ctest-vn-09177064', 'tenant_id': 'a61ddbdc16a341c3b7f1a90cf13ce2c8', 'project_id': 'a61ddbdc16a341c3b7f1a90cf13ce2c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['305a133a-1a12-42ec-9dec-8b82de2145a0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96576717', 'ctest-vn-09177064'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96576717', 'ctest-policy-allow-all-03892541']], 'subnet_ipam': [{'subnet_cidr': '217.221.38.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-06 02:19:33,076 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'dd4d6c87-754b-48d5-b90e-8f2b6679ee5d', 'name': 'ctest-vn-84152044', 'tenant_id': 'a61ddbdc16a341c3b7f1a90cf13ce2c8', 'project_id': 'a61ddbdc16a341c3b7f1a90cf13ce2c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['05ffe941-1850-415d-94c6-9a9b09060f3b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96576717', 'ctest-vn-84152044'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96576717', 'ctest-policy-allow-all-03892541']], 'subnet_ipam': [{'subnet_cidr': '136.98.204.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-06 02:19:33,219 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2025-02-06 02:19:33,512 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2025-02-06 02:19:33,535 - DEBUG - Requesting: http://10.0.0.32:8082/domain/09e58e92-3429-497f-b82d-611df1053802 2025-02-06 02:19:33,547 - DEBUG - Requesting: http://10.0.0.32:8082/project/a61ddbdc-16a3-41c3-b7f1-a90cf13ce2c8 2025-02-06 02:19:33,615 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/d78494ce-eb44-483f-9026-772670b42af3 2025-02-06 02:19:33,625 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/d78494ce-eb44-483f-9026-772670b42af3 2025-02-06 02:19:33,633 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/92802e0d-49bd-4411-9e58-6d5e602b65be 2025-02-06 02:19:33,639 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/92802e0d-49bd-4411-9e58-6d5e602b65be 2025-02-06 02:19:33,646 - DEBUG - Requesting: http://10.0.0.32:8082/route-target/411aee72-af43-44ec-985c-ab7a183bb9f2 2025-02-06 02:19:33,651 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-06 02:19:33,652 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/d78494ce-eb44-483f-9026-772670b42af3 2025-02-06 02:19:33,660 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/92802e0d-49bd-4411-9e58-6d5e602b65be 2025-02-06 02:19:33,672 - INFO - Verified VN network id 8 for VN d78494ce-eb44-483f-9026-772670b42af3 2025-02-06 02:19:33,672 - INFO - Verifications in API Server for VN ctest-vn-09177064 passed 2025-02-06 02:19:33,672 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/d78494ce-eb44-483f-9026-772670b42af3 2025-02-06 02:19:33,680 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/92802e0d-49bd-4411-9e58-6d5e602b65be 2025-02-06 02:19:33,686 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/92802e0d-49bd-4411-9e58-6d5e602b65be 2025-02-06 02:19:33,691 - DEBUG - Requesting: http://10.0.0.32:8082/route-target/411aee72-af43-44ec-985c-ab7a183bb9f2 2025-02-06 02:19:33,702 - DEBUG - Control-node 10.0.0.32 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96576717:ctest-vn-09177064', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96576717', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15529701031511607359', 'uuid-lslong': '10387120597559945971'}, 'enable': 'true', 'created': '2025-02-06T02:19:31', 'last-modified': '2025-02-06T02:19:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.864111'} 2025-02-06 02:19:33,708 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-06 02:19:33,708 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09177064 passed 2025-02-06 02:19:33,708 - DEBUG - ====Verifying policy data for ctest-vn-09177064 in API_Server ====== 2025-02-06 02:19:33,708 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2025-02-06 02:19:33,712 - DEBUG - Requesting: http://10.0.0.32:8082/domain/09e58e92-3429-497f-b82d-611df1053802 2025-02-06 02:19:33,722 - DEBUG - Requesting: http://10.0.0.32:8082/project/a61ddbdc-16a3-41c3-b7f1-a90cf13ce2c8 2025-02-06 02:19:33,792 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/d78494ce-eb44-483f-9026-772670b42af3 2025-02-06 02:19:33,800 - DEBUG - ==>Verifying data for policy with id: 1305c86b-262d-4086-a591-a0f6f86411d3, fqn: ['default-domain', 'ctest-TestBasicPolicy-96576717', 'ctest-policy-allow-all-03892541'] 2025-02-06 02:19:33,800 - INFO - VN ctest-vn-09177064 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-06 02:19:33,800 - DEBUG - Verifying the vn in opserver 2025-02-06 02:19:33,800 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96576717:ctest-vn-09177064 virtual network link through opserver 10.0.0.32 2025-02-06 02:19:33,800 - DEBUG - Requesting: http://10.0.0.32:8081/analytics/uves/virtual-networks 2025-02-06 02:19:34,089 - DEBUG - Requesting: http://10.0.0.32:8081/analytics/uves/virtual-networks 2025-02-06 02:19:34,139 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96576717:ctest-vn-09177064', 'href': 'http://10.0.0.32:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96576717:ctest-vn-09177064?flat'} 2025-02-06 02:19:34,139 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96576717:ctest-vn-09177064 is found in opserver 2025-02-06 02:19:34,149 - DEBUG - Do not have enough data to verify VN in agent 2025-02-06 02:19:34,155 - DEBUG - VRF ids for VN ctest-vn-09177064: {} 2025-02-06 02:19:34,155 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2025-02-06 02:19:34,160 - DEBUG - Requesting: http://10.0.0.32:8082/domain/09e58e92-3429-497f-b82d-611df1053802 2025-02-06 02:19:34,170 - DEBUG - Requesting: http://10.0.0.32:8082/project/a61ddbdc-16a3-41c3-b7f1-a90cf13ce2c8 2025-02-06 02:19:34,239 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/dd4d6c87-754b-48d5-b90e-8f2b6679ee5d 2025-02-06 02:19:34,250 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/dd4d6c87-754b-48d5-b90e-8f2b6679ee5d 2025-02-06 02:19:34,259 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/6b5b77db-cc5f-4b7e-91e0-c3a6cb6331f9 2025-02-06 02:19:34,265 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/6b5b77db-cc5f-4b7e-91e0-c3a6cb6331f9 2025-02-06 02:19:34,271 - DEBUG - Requesting: http://10.0.0.32:8082/route-target/86c336da-afd0-4909-af6e-830e6aff01d0 2025-02-06 02:19:34,276 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-06 02:19:34,276 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/dd4d6c87-754b-48d5-b90e-8f2b6679ee5d 2025-02-06 02:19:34,284 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/6b5b77db-cc5f-4b7e-91e0-c3a6cb6331f9 2025-02-06 02:19:34,296 - INFO - Verified VN network id 9 for VN dd4d6c87-754b-48d5-b90e-8f2b6679ee5d 2025-02-06 02:19:34,296 - INFO - Verifications in API Server for VN ctest-vn-84152044 passed 2025-02-06 02:19:34,296 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/dd4d6c87-754b-48d5-b90e-8f2b6679ee5d 2025-02-06 02:19:34,304 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/6b5b77db-cc5f-4b7e-91e0-c3a6cb6331f9 2025-02-06 02:19:34,310 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/6b5b77db-cc5f-4b7e-91e0-c3a6cb6331f9 2025-02-06 02:19:34,315 - DEBUG - Requesting: http://10.0.0.32:8082/route-target/86c336da-afd0-4909-af6e-830e6aff01d0 2025-02-06 02:19:34,326 - DEBUG - Control-node 10.0.0.32 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96576717:ctest-vn-84152044', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96576717', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15946521184633047253', 'uuid-lslong': '13334752963256249949'}, 'enable': 'true', 'created': '2025-02-06T02:19:32', 'last-modified': '2025-02-06T02:19:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.267019'} 2025-02-06 02:19:34,331 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-06 02:19:34,332 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-84152044 passed 2025-02-06 02:19:34,332 - DEBUG - ====Verifying policy data for ctest-vn-84152044 in API_Server ====== 2025-02-06 02:19:34,332 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2025-02-06 02:19:34,336 - DEBUG - Requesting: http://10.0.0.32:8082/domain/09e58e92-3429-497f-b82d-611df1053802 2025-02-06 02:19:34,346 - DEBUG - Requesting: http://10.0.0.32:8082/project/a61ddbdc-16a3-41c3-b7f1-a90cf13ce2c8 2025-02-06 02:19:34,414 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/dd4d6c87-754b-48d5-b90e-8f2b6679ee5d 2025-02-06 02:19:34,423 - DEBUG - ==>Verifying data for policy with id: 1305c86b-262d-4086-a591-a0f6f86411d3, fqn: ['default-domain', 'ctest-TestBasicPolicy-96576717', 'ctest-policy-allow-all-03892541'] 2025-02-06 02:19:34,423 - INFO - VN ctest-vn-84152044 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-06 02:19:34,423 - DEBUG - Verifying the vn in opserver 2025-02-06 02:19:34,423 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96576717:ctest-vn-84152044 virtual network link through opserver 10.0.0.32 2025-02-06 02:19:34,423 - DEBUG - Requesting: http://10.0.0.32:8081/analytics/uves/virtual-networks 2025-02-06 02:19:34,432 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96576717:ctest-vn-84152044', 'href': 'http://10.0.0.32:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96576717:ctest-vn-84152044?flat'} 2025-02-06 02:19:34,432 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96576717:ctest-vn-84152044 is found in opserver 2025-02-06 02:19:34,441 - DEBUG - Do not have enough data to verify VN in agent 2025-02-06 02:19:34,446 - DEBUG - VRF ids for VN ctest-vn-84152044: {} 2025-02-06 02:19:34,492 - DEBUG - Services list from nova: [, , ] 2025-02-06 02:19:35,446 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2700-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2700-1) 2025-02-06 02:19:36,587 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2700-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2700-1) 2025-02-06 02:19:36,588 - INFO - Waiting for VM ctest-TestBasicPolicy-96576717-64352565 to be up.. 2025-02-06 02:19:36,657 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-06 02:19:41,728 - DEBUG - VM is in ACTIVE state now 2025-02-06 02:19:41,728 - INFO - VM name : ctest-TestBasicPolicy-96576717-64352565 2025-02-06 02:19:41,792 - DEBUG - VM ctest-TestBasicPolicy-96576717-64352565 ID is 4372a3a6-5907-45aa-aefe-1177e65a49d7 2025-02-06 02:19:41,809 - DEBUG - VM ctest-TestBasicPolicy-96576717-64352565 launched on Node cn-jenkins-deploy-platform-ansible-os-2700-1. 2025-02-06 02:19:41,874 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/4372a3a6-5907-45aa-aefe-1177e65a49d7 2025-02-06 02:19:41,884 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/68c620d7-d62e-439b-98c6-ffe00cbd2c52 2025-02-06 02:19:45,147 - 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 1031ms') 2025-02-06 02:19:45,147 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-96576717-64352565 failed! 2025-02-06 02:19:45,199 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-96576717:ctest-vn-09177064 is 217.221.38.1 and allocation pool is NOT set 2025-02-06 02:19:47,264 - 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.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.420 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.420/1.532/2.645/1.112 ms') 2025-02-06 02:19:47,264 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-96576717-64352565 passed 2025-02-06 02:19:47,419 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-06 02:19:47,419 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-96576717-64352565, IP 217.221.38.3, Port 22 2025-02-06 02:19:47,574 - DEBUG - VM ctest-TestBasicPolicy-96576717-64352565 is ready for SSH connections 2025-02-06 02:19:47,574 - INFO - Waiting for VM ctest-TestBasicPolicy-96576717-92951305 to be up.. 2025-02-06 02:19:47,640 - DEBUG - VM is in ACTIVE state now 2025-02-06 02:19:47,640 - INFO - VM name : ctest-TestBasicPolicy-96576717-92951305 2025-02-06 02:19:47,701 - DEBUG - VM ctest-TestBasicPolicy-96576717-92951305 ID is c8b2e761-d954-42b8-8fc9-bcfec8d3900c 2025-02-06 02:19:47,701 - DEBUG - VM ctest-TestBasicPolicy-96576717-92951305 launched on Node cn-jenkins-deploy-platform-ansible-os-2700-1. 2025-02-06 02:19:47,762 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/c8b2e761-d954-42b8-8fc9-bcfec8d3900c 2025-02-06 02:19:47,769 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/c5f6ea39-ae76-475b-80df-cb23b81962d6 2025-02-06 02:19:49,007 - 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.46 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.356 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.356/1.409/2.463/1.053 ms') 2025-02-06 02:19:49,008 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-96576717-92951305 passed 2025-02-06 02:19:49,159 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-06 02:19:49,159 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-96576717-92951305, IP 136.98.204.67, Port 22 2025-02-06 02:19:49,319 - DEBUG - VM ctest-TestBasicPolicy-96576717-92951305 is ready for SSH connections 2025-02-06 02:19:49,319 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-06 02:19:49,319 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 136.98.204.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.32, gateway password: c0ntrail123 2025-02-06 02:19:49,319 - DEBUG - ping -s 56 -c 3 -W 1 136.98.204.67 2025-02-06 02:19:52,972 - DEBUG - PING 136.98.204.67 (136.98.204.67): 56 data bytes 64 bytes from 136.98.204.67: seq=0 ttl=63 time=3.077 ms 64 bytes from 136.98.204.67: seq=1 ttl=63 time=0.772 ms 64 bytes from 136.98.204.67: seq=2 ttl=63 time=0.808 ms --- 136.98.204.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.772/1.552/3.077 ms 2025-02-06 02:19:52,972 - INFO - Ping to IP 136.98.204.67 from VM ctest-TestBasicPolicy-96576717-64352565 passed 2025-02-06 02:19:53,215 - DEBUG - Policy Update Response {"network-policy": {"uuid": "1305c86b-262d-4086-a591-a0f6f86411d3", "href": "http://10.0.0.32:8082/network-policy/1305c86b-262d-4086-a591-a0f6f86411d3"}} 2025-02-06 02:19:53,215 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-06 02:19:53,215 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 136.98.204.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.32, gateway password: c0ntrail123 2025-02-06 02:19:53,215 - DEBUG - ping -s 56 -c 3 -W 1 136.98.204.67 2025-02-06 02:19:56,412 - DEBUG - PING 136.98.204.67 (136.98.204.67): 56 data bytes --- 136.98.204.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-02-06 02:19:56,412 - WARNING - Ping to IP 136.98.204.67 from VM ctest-TestBasicPolicy-96576717-64352565 failed 2025-02-06 02:19:56,412 - INFO - Deleting VM ctest-TestBasicPolicy-96576717-92951305 2025-02-06 02:19:56,467 - INFO - Deleting VM ctest-TestBasicPolicy-96576717-64352565 2025-02-06 02:19:56,836 - INFO - Deleted policy ctest-policy-allow-all-03892541 2025-02-06 02:19:56,836 - INFO - Deleting VN ctest-vn-84152044 2025-02-06 02:19:56,866 - DEBUG - VN dd4d6c87-754b-48d5-b90e-8f2b6679ee5d still in use: Unable to complete operation on network dd4d6c87-754b-48d5-b90e-8f2b6679ee5d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0f2ade27-1832-4f2a-b564-f22243cf6b3d'] 2025-02-06 02:19:56,866 - WARNING - Deleting VN ctest-vn-84152044 failed..Will retry 2025-02-06 02:19:58,961 - DEBUG - Response for deleting network () 2025-02-06 02:19:58,961 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/6b5b77db-cc5f-4b7e-91e0-c3a6cb6331f9 2025-02-06 02:19:58,967 - DEBUG - Response Code: 404 2025-02-06 02:19:58,967 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2025-02-06 02:19:58,971 - DEBUG - Requesting: http://10.0.0.32:8082/domain/09e58e92-3429-497f-b82d-611df1053802 2025-02-06 02:19:59,029 - DEBUG - Requesting: http://10.0.0.32:8082/project/a61ddbdc-16a3-41c3-b7f1-a90cf13ce2c8 2025-02-06 02:19:59,094 - INFO - Validated that VN ctest-vn-84152044 is not found in API Server 2025-02-06 02:19:59,104 - DEBUG - VN ctest-vn-84152044 is not present in Agent 10.0.0.32 2025-02-06 02:19:59,104 - INFO - Validated that VN ctest-vn-84152044 is not in any agent 2025-02-06 02:19:59,117 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-84152044 info 2025-02-06 02:19:59,118 - INFO - Deleting VN ctest-vn-09177064 2025-02-06 02:19:59,225 - DEBUG - Response for deleting network () 2025-02-06 02:19:59,225 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/92802e0d-49bd-4411-9e58-6d5e602b65be 2025-02-06 02:19:59,230 - DEBUG - Response Code: 404 2025-02-06 02:19:59,231 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2025-02-06 02:19:59,240 - DEBUG - Requesting: http://10.0.0.32:8082/domain/09e58e92-3429-497f-b82d-611df1053802 2025-02-06 02:19:59,292 - DEBUG - Requesting: http://10.0.0.32:8082/project/a61ddbdc-16a3-41c3-b7f1-a90cf13ce2c8 2025-02-06 02:19:59,358 - INFO - Validated that VN ctest-vn-09177064 is not found in API Server 2025-02-06 02:19:59,368 - DEBUG - VN ctest-vn-09177064 is not present in Agent 10.0.0.32 2025-02-06 02:19:59,368 - INFO - Validated that VN ctest-vn-09177064 is not in any agent 2025-02-06 02:19:59,382 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-09177064 info 2025-02-06 02:19:59,636 - DEBUG - No XMPP flaps were noticed during the test 2025-02-06 02:19:59,636 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-02-06 02:19:59,636 - INFO - -------------------------------------------------------------------------------- 2025-02-06 02:20:00,284 - INFO - Deleted project: ctest-TestBasicPolicy-96576717, ID : a61ddbdc-16a3-41c3-b7f1-a90cf13ce2c8