2025-04-28 11:10:36,439 - INFO - Domain Default found not creating 2025-04-28 11:10:36,589 - INFO - Project ctest-TestBasicPolicy-00492973 not found, creating it 2025-04-28 11:10:37,127 - INFO - Created Project:ctest-TestBasicPolicy-00492973, ID : 8a1f3749-5b0b-43f6-9569-5cdf4de0c644 2025-04-28 11:10:38,680 - INFO - ================================================================================ 2025-04-28 11:10:38,680 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-28 11:10:38,680 - 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-28 11:10:38,941 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-04-28 11:10:38,941 - INFO - Initial checks done. Running the testcase now 2025-04-28 11:10:38,941 - INFO - 2025-04-28 11:10:39,540 - DEBUG - Response for create_network : {'network': {'id': '9d0780d5-318f-497c-b5af-debbb305b2db', 'name': 'ctest-vn-82894323', 'tenant_id': '8a1f37495b0b43f695695cdf4de0c644', 'project_id': '8a1f37495b0b43f695695cdf4de0c644', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00492973', 'ctest-vn-82894323'], 'port_security_enabled': True, 'description': ''}} 2025-04-28 11:10:39,715 - DEBUG - Response for create_subnet : {'subnet': {'id': '72ddbe4f-e0fa-4f1c-9a0c-d64a40a10442', 'name': '', 'tenant_id': '8a1f37495b0b43f695695cdf4de0c644', 'network_id': '9d0780d5-318f-497c-b5af-debbb305b2db', 'ip_version': 4, 'cidr': '222.3.209.192/26', 'allocation_pools': [{'start': '222.3.209.194', 'end': '222.3.209.254'}], 'gateway_ip': '222.3.209.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.3.209.194', 'tags': [], 'project_id': '8a1f37495b0b43f695695cdf4de0c644'}} 2025-04-28 11:10:39,731 - INFO - Created VN ctest-vn-82894323 2025-04-28 11:10:39,782 - DEBUG - VN ctest-vn-82894323 UUID is 9d0780d5-318f-497c-b5af-debbb305b2db 2025-04-28 11:10:40,061 - DEBUG - Response for create_network : {'network': {'id': '5a0f8e5c-81a2-4049-9895-57942e3c859e', 'name': 'ctest-vn-37779141', 'tenant_id': '8a1f37495b0b43f695695cdf4de0c644', 'project_id': '8a1f37495b0b43f695695cdf4de0c644', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00492973', 'ctest-vn-37779141'], 'port_security_enabled': True, 'description': ''}} 2025-04-28 11:10:40,214 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b97fa582-05b7-4cd9-bacc-449253153c5c', 'name': '', 'tenant_id': '8a1f37495b0b43f695695cdf4de0c644', 'network_id': '5a0f8e5c-81a2-4049-9895-57942e3c859e', 'ip_version': 4, 'cidr': '134.97.192.0/26', 'allocation_pools': [{'start': '134.97.192.2', 'end': '134.97.192.62'}], 'gateway_ip': '134.97.192.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.97.192.2', 'tags': [], 'project_id': '8a1f37495b0b43f695695cdf4de0c644'}} 2025-04-28 11:10:40,231 - INFO - Created VN ctest-vn-37779141 2025-04-28 11:10:40,282 - DEBUG - VN ctest-vn-37779141 UUID is 5a0f8e5c-81a2-4049-9895-57942e3c859e 2025-04-28 11:10:40,434 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-00492973:ctest-vn-82894323, 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-00492973:ctest-vn-37779141, 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-28 11:10:40,744 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9d0780d5-318f-497c-b5af-debbb305b2db', 'name': 'ctest-vn-82894323', 'tenant_id': '8a1f37495b0b43f695695cdf4de0c644', 'project_id': '8a1f37495b0b43f695695cdf4de0c644', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['72ddbe4f-e0fa-4f1c-9a0c-d64a40a10442'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00492973', 'ctest-vn-82894323'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00492973', 'ctest-policy-allow-all-76660698']], 'subnet_ipam': [{'subnet_cidr': '222.3.209.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-28 11:10:41,036 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5a0f8e5c-81a2-4049-9895-57942e3c859e', 'name': 'ctest-vn-37779141', 'tenant_id': '8a1f37495b0b43f695695cdf4de0c644', 'project_id': '8a1f37495b0b43f695695cdf4de0c644', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b97fa582-05b7-4cd9-bacc-449253153c5c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00492973', 'ctest-vn-37779141'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00492973', 'ctest-policy-allow-all-76660698']], 'subnet_ipam': [{'subnet_cidr': '134.97.192.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-28 11:10:41,178 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-28 11:10:41,519 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-28 11:10:41,547 - DEBUG - Requesting: http://10.0.0.254:8082/domain/e0bc33c6-749a-4afe-a304-51673d49d653 2025-04-28 11:10:41,562 - DEBUG - Requesting: http://10.0.0.254:8082/project/8a1f3749-5b0b-43f6-9569-5cdf4de0c644 2025-04-28 11:10:41,647 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/9d0780d5-318f-497c-b5af-debbb305b2db 2025-04-28 11:10:41,663 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/9d0780d5-318f-497c-b5af-debbb305b2db 2025-04-28 11:10:41,679 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1731b71a-1eac-4ed7-a8bb-399b19531d5c 2025-04-28 11:10:41,687 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1731b71a-1eac-4ed7-a8bb-399b19531d5c 2025-04-28 11:10:41,696 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/b880bfa4-c75d-4a71-bd7d-25252bd0a5d1 2025-04-28 11:10:41,704 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-28 11:10:41,704 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/9d0780d5-318f-497c-b5af-debbb305b2db 2025-04-28 11:10:41,716 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1731b71a-1eac-4ed7-a8bb-399b19531d5c 2025-04-28 11:10:41,735 - INFO - Verified VN network id 9 for VN 9d0780d5-318f-497c-b5af-debbb305b2db 2025-04-28 11:10:41,735 - INFO - Verifications in API Server for VN ctest-vn-82894323 passed 2025-04-28 11:10:41,736 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/9d0780d5-318f-497c-b5af-debbb305b2db 2025-04-28 11:10:41,750 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1731b71a-1eac-4ed7-a8bb-399b19531d5c 2025-04-28 11:10:41,758 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1731b71a-1eac-4ed7-a8bb-399b19531d5c 2025-04-28 11:10:41,767 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/b880bfa4-c75d-4a71-bd7d-25252bd0a5d1 2025-04-28 11:10:41,782 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00492973:ctest-vn-82894323', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00492973', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11315154241939523964', 'uuid-lslong': '13091927539533066971'}, 'enable': 'true', 'created': '2025-04-28T11:10:39', 'last-modified': '2025-04-28T11:10:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.068360'} 2025-04-28 11:10:41,790 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-28 11:10:41,790 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82894323 passed 2025-04-28 11:10:41,790 - DEBUG - ====Verifying policy data for ctest-vn-82894323 in API_Server ====== 2025-04-28 11:10:41,790 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-28 11:10:41,797 - DEBUG - Requesting: http://10.0.0.254:8082/domain/e0bc33c6-749a-4afe-a304-51673d49d653 2025-04-28 11:10:41,811 - DEBUG - Requesting: http://10.0.0.254:8082/project/8a1f3749-5b0b-43f6-9569-5cdf4de0c644 2025-04-28 11:10:41,893 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/9d0780d5-318f-497c-b5af-debbb305b2db 2025-04-28 11:10:41,915 - DEBUG - ==>Verifying data for policy with id: 9e1255ec-cf3a-4c11-b073-81a28c7325e9, fqn: ['default-domain', 'ctest-TestBasicPolicy-00492973', 'ctest-policy-allow-all-76660698'] 2025-04-28 11:10:41,915 - INFO - VN ctest-vn-82894323 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-28 11:10:41,916 - DEBUG - Verifying the vn in opserver 2025-04-28 11:10:41,916 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00492973:ctest-vn-82894323 virtual network link through opserver 10.0.0.254 2025-04-28 11:10:41,916 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-04-28 11:10:42,253 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-04-28 11:10:42,309 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00492973:ctest-vn-82894323', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00492973:ctest-vn-82894323?flat'} 2025-04-28 11:10:42,309 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00492973:ctest-vn-82894323 is found in opserver 2025-04-28 11:10:42,321 - DEBUG - Do not have enough data to verify VN in agent 2025-04-28 11:10:42,326 - DEBUG - VRF ids for VN ctest-vn-82894323: {} 2025-04-28 11:10:42,326 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-28 11:10:42,332 - DEBUG - Requesting: http://10.0.0.254:8082/domain/e0bc33c6-749a-4afe-a304-51673d49d653 2025-04-28 11:10:42,343 - DEBUG - Requesting: http://10.0.0.254:8082/project/8a1f3749-5b0b-43f6-9569-5cdf4de0c644 2025-04-28 11:10:42,461 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/5a0f8e5c-81a2-4049-9895-57942e3c859e 2025-04-28 11:10:42,475 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/5a0f8e5c-81a2-4049-9895-57942e3c859e 2025-04-28 11:10:42,485 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/b24e1534-0f91-420b-b161-e2ed476c4293 2025-04-28 11:10:42,492 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/b24e1534-0f91-420b-b161-e2ed476c4293 2025-04-28 11:10:42,498 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/f7dda551-ebb2-47b6-80c1-107fc74a5cd6 2025-04-28 11:10:42,505 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-28 11:10:42,505 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/5a0f8e5c-81a2-4049-9895-57942e3c859e 2025-04-28 11:10:42,514 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/b24e1534-0f91-420b-b161-e2ed476c4293 2025-04-28 11:10:42,528 - INFO - Verified VN network id 10 for VN 5a0f8e5c-81a2-4049-9895-57942e3c859e 2025-04-28 11:10:42,528 - INFO - Verifications in API Server for VN ctest-vn-37779141 passed 2025-04-28 11:10:42,528 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/5a0f8e5c-81a2-4049-9895-57942e3c859e 2025-04-28 11:10:42,537 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/b24e1534-0f91-420b-b161-e2ed476c4293 2025-04-28 11:10:42,544 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/b24e1534-0f91-420b-b161-e2ed476c4293 2025-04-28 11:10:42,550 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/f7dda551-ebb2-47b6-80c1-107fc74a5cd6 2025-04-28 11:10:42,562 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00492973:ctest-vn-37779141', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00492973', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6489562116027203657', 'uuid-lslong': '10994790359237428638'}, 'enable': 'true', 'created': '2025-04-28T11:10:40', 'last-modified': '2025-04-28T11:10:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.605922'} 2025-04-28 11:10:42,568 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-28 11:10:42,568 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-37779141 passed 2025-04-28 11:10:42,568 - DEBUG - ====Verifying policy data for ctest-vn-37779141 in API_Server ====== 2025-04-28 11:10:42,569 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-28 11:10:42,574 - DEBUG - Requesting: http://10.0.0.254:8082/domain/e0bc33c6-749a-4afe-a304-51673d49d653 2025-04-28 11:10:42,587 - DEBUG - Requesting: http://10.0.0.254:8082/project/8a1f3749-5b0b-43f6-9569-5cdf4de0c644 2025-04-28 11:10:42,674 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/5a0f8e5c-81a2-4049-9895-57942e3c859e 2025-04-28 11:10:42,685 - DEBUG - ==>Verifying data for policy with id: 9e1255ec-cf3a-4c11-b073-81a28c7325e9, fqn: ['default-domain', 'ctest-TestBasicPolicy-00492973', 'ctest-policy-allow-all-76660698'] 2025-04-28 11:10:42,685 - INFO - VN ctest-vn-37779141 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-28 11:10:42,685 - DEBUG - Verifying the vn in opserver 2025-04-28 11:10:42,685 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00492973:ctest-vn-37779141 virtual network link through opserver 10.0.0.254 2025-04-28 11:10:42,685 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-04-28 11:10:42,696 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00492973:ctest-vn-37779141', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00492973:ctest-vn-37779141?flat'} 2025-04-28 11:10:42,696 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00492973:ctest-vn-37779141 is found in opserver 2025-04-28 11:10:42,707 - DEBUG - Do not have enough data to verify VN in agent 2025-04-28 11:10:42,713 - DEBUG - VRF ids for VN ctest-vn-37779141: {} 2025-04-28 11:10:42,779 - DEBUG - Services list from nova: [, , ] 2025-04-28 11:10:43,849 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3237-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3237-1) 2025-04-28 11:10:45,182 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3237-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3237-1) 2025-04-28 11:10:45,182 - INFO - Waiting for VM ctest-TestBasicPolicy-00492973-88055809 to be up.. 2025-04-28 11:10:45,254 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-28 11:10:50,419 - DEBUG - VM is in ACTIVE state now 2025-04-28 11:10:50,419 - INFO - VM name : ctest-TestBasicPolicy-00492973-88055809 2025-04-28 11:10:50,567 - DEBUG - VM ctest-TestBasicPolicy-00492973-88055809 ID is 2d2d87ab-6ad1-41d9-8e30-52e91b3c3e91 2025-04-28 11:10:50,590 - DEBUG - VM ctest-TestBasicPolicy-00492973-88055809 launched on Node cn-jenkins-deploy-platform-ansible-os-3237-1 2025-04-28 11:10:50,717 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/2d2d87ab-6ad1-41d9-8e30-52e91b3c3e91 2025-04-28 11:10:50,728 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/85fcf304-bc44-4037-963d-c477c785b206 2025-04-28 11:10:54,012 - 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 1014ms') 2025-04-28 11:10:54,013 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-00492973-88055809 failed! 2025-04-28 11:10:54,074 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-00492973:ctest-vn-82894323 is 222.3.209.193 and allocation pool is NOT set 2025-04-28 11:10:56,134 - 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.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.441 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.441/1.686/2.932/1.245 ms') 2025-04-28 11:10:56,134 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-00492973-88055809 passed 2025-04-28 11:10:56,290 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 11:10:56,291 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00492973-88055809, IP 222.3.209.195, Port 22 2025-04-28 11:10:56,450 - DEBUG - VM ctest-TestBasicPolicy-00492973-88055809 is ready for SSH connections 2025-04-28 11:10:56,450 - INFO - Waiting for VM ctest-TestBasicPolicy-00492973-95725144 to be up.. 2025-04-28 11:10:56,552 - DEBUG - VM is in ACTIVE state now 2025-04-28 11:10:56,552 - INFO - VM name : ctest-TestBasicPolicy-00492973-95725144 2025-04-28 11:10:56,636 - DEBUG - VM ctest-TestBasicPolicy-00492973-95725144 ID is b78ecec7-95bc-4a18-8e86-5c6e208fc577 2025-04-28 11:10:56,637 - DEBUG - VM ctest-TestBasicPolicy-00492973-95725144 launched on Node cn-jenkins-deploy-platform-ansible-os-3237-1 2025-04-28 11:10:56,722 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b78ecec7-95bc-4a18-8e86-5c6e208fc577 2025-04-28 11:10:56,733 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/998ec4fe-cca8-4619-b261-318da4ec17e7 2025-04-28 11:10:57,982 - 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.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.589 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.589/2.113/3.637/1.524 ms') 2025-04-28 11:10:57,982 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-00492973-95725144 passed 2025-04-28 11:10:58,130 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 11:10:58,131 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00492973-95725144, IP 134.97.192.3, Port 22 2025-04-28 11:10:58,285 - DEBUG - VM ctest-TestBasicPolicy-00492973-95725144 is ready for SSH connections 2025-04-28 11:10:58,286 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 11:10:58,286 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 134.97.192.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-04-28 11:10:58,286 - DEBUG - ping -s 56 -c 3 -W 1 134.97.192.3 2025-04-28 11:11:02,331 - DEBUG - PING 134.97.192.3 (134.97.192.3): 56 data bytes 64 bytes from 134.97.192.3: seq=0 ttl=63 time=3.374 ms 64 bytes from 134.97.192.3: seq=1 ttl=63 time=0.804 ms 64 bytes from 134.97.192.3: seq=2 ttl=63 time=0.856 ms --- 134.97.192.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.804/1.678/3.374 ms 2025-04-28 11:11:02,331 - INFO - Ping to IP 134.97.192.3 from VM ctest-TestBasicPolicy-00492973-88055809 passed 2025-04-28 11:11:02,510 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9e1255ec-cf3a-4c11-b073-81a28c7325e9", "href": "http://10.0.0.254:8082/network-policy/9e1255ec-cf3a-4c11-b073-81a28c7325e9"}} 2025-04-28 11:11:02,510 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 11:11:02,511 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 134.97.192.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-04-28 11:11:02,511 - DEBUG - ping -s 56 -c 3 -W 1 134.97.192.3 2025-04-28 11:11:05,758 - DEBUG - PING 134.97.192.3 (134.97.192.3): 56 data bytes 64 bytes from 134.97.192.3: seq=0 ttl=63 time=1.363 ms --- 134.97.192.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.363/1.363/1.363 ms 2025-04-28 11:11:05,759 - WARNING - Ping to IP 134.97.192.3 from VM ctest-TestBasicPolicy-00492973-88055809 failed 2025-04-28 11:11:05,759 - INFO - Deleting VM ctest-TestBasicPolicy-00492973-95725144 2025-04-28 11:11:05,826 - INFO - Deleting VM ctest-TestBasicPolicy-00492973-88055809 2025-04-28 11:11:06,215 - INFO - Deleted policy ctest-policy-allow-all-76660698 2025-04-28 11:11:06,216 - INFO - Deleting VN ctest-vn-37779141 2025-04-28 11:11:06,255 - DEBUG - VN 5a0f8e5c-81a2-4049-9895-57942e3c859e still in use: Unable to complete operation on network 5a0f8e5c-81a2-4049-9895-57942e3c859e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ea7ea0b7-a4c8-48e2-ad3e-5cd4a9627ae0'] 2025-04-28 11:11:06,255 - WARNING - Deleting VN ctest-vn-37779141 failed..Will retry 2025-04-28 11:11:08,367 - DEBUG - Response for deleting network () 2025-04-28 11:11:08,367 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/b24e1534-0f91-420b-b161-e2ed476c4293 2025-04-28 11:11:08,373 - DEBUG - Response Code: 404 2025-04-28 11:11:08,373 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-28 11:11:08,382 - DEBUG - Requesting: http://10.0.0.254:8082/domain/e0bc33c6-749a-4afe-a304-51673d49d653 2025-04-28 11:11:08,438 - DEBUG - Requesting: http://10.0.0.254:8082/project/8a1f3749-5b0b-43f6-9569-5cdf4de0c644 2025-04-28 11:11:08,512 - INFO - Validated that VN ctest-vn-37779141 is not found in API Server 2025-04-28 11:11:08,524 - DEBUG - VN ctest-vn-37779141 is not present in Agent 10.0.0.254 2025-04-28 11:11:08,524 - INFO - Validated that VN ctest-vn-37779141 is not in any agent 2025-04-28 11:11:08,541 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-37779141 info 2025-04-28 11:11:08,541 - INFO - Deleting VN ctest-vn-82894323 2025-04-28 11:11:08,663 - DEBUG - Response for deleting network () 2025-04-28 11:11:08,663 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1731b71a-1eac-4ed7-a8bb-399b19531d5c 2025-04-28 11:11:08,673 - DEBUG - Response Code: 404 2025-04-28 11:11:08,673 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-28 11:11:08,679 - DEBUG - Requesting: http://10.0.0.254:8082/domain/e0bc33c6-749a-4afe-a304-51673d49d653 2025-04-28 11:11:08,736 - DEBUG - Requesting: http://10.0.0.254:8082/project/8a1f3749-5b0b-43f6-9569-5cdf4de0c644 2025-04-28 11:11:08,815 - INFO - Validated that VN ctest-vn-82894323 is not found in API Server 2025-04-28 11:11:08,827 - DEBUG - VN ctest-vn-82894323 is not present in Agent 10.0.0.254 2025-04-28 11:11:08,827 - INFO - Validated that VN ctest-vn-82894323 is not in any agent 2025-04-28 11:11:08,843 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-82894323 info 2025-04-28 11:11:09,096 - DEBUG - No XMPP flaps were noticed during the test
2025-04-28 11:11:09,096 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31]
2025-04-28 11:11:09,096 - INFO - -------------------------------------------------------------------------------- 2025-04-28 11:11:09,813 - INFO - Deleted project: ctest-TestBasicPolicy-00492973, ID : 8a1f3749-5b0b-43f6-9569-5cdf4de0c644