2025-05-06 08:23:54,208 - INFO - Domain Default found not creating 2025-05-06 08:23:54,338 - INFO - Project ctest-TestBasicPolicy-69786117 not found, creating it 2025-05-06 08:23:54,757 - INFO - Created Project:ctest-TestBasicPolicy-69786117, ID : 3a6725b9-5afa-4189-b2a5-17f212b4a4fe 2025-05-06 08:23:56,696 - INFO - ================================================================================ 2025-05-06 08:23:56,696 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-05-06 08:23:56,697 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-05-06 08:23:56,947 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-05-06 08:23:56,947 - INFO - Initial checks done. Running the testcase now 2025-05-06 08:23:56,947 - INFO - 2025-05-06 08:23:57,448 - DEBUG - Response for create_network : {'network': {'id': '3af3db25-bf1b-499a-9066-67cee0c09446', 'name': 'ctest-vn-84907974', 'tenant_id': '3a6725b95afa4189b2a517f212b4a4fe', 'project_id': '3a6725b95afa4189b2a517f212b4a4fe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69786117', 'ctest-vn-84907974'], 'port_security_enabled': True, 'description': ''}} 2025-05-06 08:23:57,680 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b0304dc3-8c2f-4778-9e32-587f2a61509b', 'name': '', 'tenant_id': '3a6725b95afa4189b2a517f212b4a4fe', 'network_id': '3af3db25-bf1b-499a-9066-67cee0c09446', 'ip_version': 4, 'cidr': '114.13.3.64/26', 'allocation_pools': [{'start': '114.13.3.66', 'end': '114.13.3.126'}], 'gateway_ip': '114.13.3.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.13.3.66', 'tags': [], 'project_id': '3a6725b95afa4189b2a517f212b4a4fe'}} 2025-05-06 08:23:57,696 - INFO - Created VN ctest-vn-84907974 2025-05-06 08:23:57,749 - DEBUG - VN ctest-vn-84907974 UUID is 3af3db25-bf1b-499a-9066-67cee0c09446 2025-05-06 08:23:58,064 - DEBUG - Response for create_network : {'network': {'id': 'a0b385e4-0fa3-41db-9e71-25fade9dcc1e', 'name': 'ctest-vn-72768198', 'tenant_id': '3a6725b95afa4189b2a517f212b4a4fe', 'project_id': '3a6725b95afa4189b2a517f212b4a4fe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69786117', 'ctest-vn-72768198'], 'port_security_enabled': True, 'description': ''}} 2025-05-06 08:23:58,257 - DEBUG - Response for create_subnet : {'subnet': {'id': '7740a641-3755-4a84-8691-394a816a83e1', 'name': '', 'tenant_id': '3a6725b95afa4189b2a517f212b4a4fe', 'network_id': 'a0b385e4-0fa3-41db-9e71-25fade9dcc1e', 'ip_version': 4, 'cidr': '208.84.32.128/26', 'allocation_pools': [{'start': '208.84.32.130', 'end': '208.84.32.190'}], 'gateway_ip': '208.84.32.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '208.84.32.130', 'tags': [], 'project_id': '3a6725b95afa4189b2a517f212b4a4fe'}} 2025-05-06 08:23:58,273 - INFO - Created VN ctest-vn-72768198 2025-05-06 08:23:58,325 - DEBUG - VN ctest-vn-72768198 UUID is a0b385e4-0fa3-41db-9e71-25fade9dcc1e 2025-05-06 08:23:58,438 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-69786117:ctest-vn-84907974, 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-69786117:ctest-vn-72768198, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-05-06 08:23:58,727 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3af3db25-bf1b-499a-9066-67cee0c09446', 'name': 'ctest-vn-84907974', 'tenant_id': '3a6725b95afa4189b2a517f212b4a4fe', 'project_id': '3a6725b95afa4189b2a517f212b4a4fe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b0304dc3-8c2f-4778-9e32-587f2a61509b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69786117', 'ctest-vn-84907974'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-69786117', 'ctest-policy-allow-all-55586847']], 'subnet_ipam': [{'subnet_cidr': '114.13.3.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-06 08:23:58,967 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a0b385e4-0fa3-41db-9e71-25fade9dcc1e', 'name': 'ctest-vn-72768198', 'tenant_id': '3a6725b95afa4189b2a517f212b4a4fe', 'project_id': '3a6725b95afa4189b2a517f212b4a4fe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7740a641-3755-4a84-8691-394a816a83e1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69786117', 'ctest-vn-72768198'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-69786117', 'ctest-policy-allow-all-55586847']], 'subnet_ipam': [{'subnet_cidr': '208.84.32.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-06 08:23:59,113 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-05-06 08:23:59,408 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-05-06 08:23:59,437 - DEBUG - Requesting: http://10.0.0.48:8082/domain/c7a36801-941b-4db1-b18e-9b3bfbbc3776 2025-05-06 08:23:59,450 - DEBUG - Requesting: http://10.0.0.48:8082/project/3a6725b9-5afa-4189-b2a5-17f212b4a4fe 2025-05-06 08:23:59,526 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/3af3db25-bf1b-499a-9066-67cee0c09446 2025-05-06 08:23:59,540 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/3af3db25-bf1b-499a-9066-67cee0c09446 2025-05-06 08:23:59,553 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/5c15475b-d5d7-45dc-9b56-f693d5e979f0 2025-05-06 08:23:59,564 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/5c15475b-d5d7-45dc-9b56-f693d5e979f0 2025-05-06 08:23:59,571 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/7557fda0-a3a7-4e06-b10c-80f6ef3405b2 2025-05-06 08:23:59,577 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-06 08:23:59,577 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/3af3db25-bf1b-499a-9066-67cee0c09446 2025-05-06 08:23:59,586 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/5c15475b-d5d7-45dc-9b56-f693d5e979f0 2025-05-06 08:23:59,599 - INFO - Verified VN network id 8 for VN 3af3db25-bf1b-499a-9066-67cee0c09446 2025-05-06 08:23:59,599 - INFO - Verifications in API Server for VN ctest-vn-84907974 passed 2025-05-06 08:23:59,599 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/3af3db25-bf1b-499a-9066-67cee0c09446 2025-05-06 08:23:59,608 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/5c15475b-d5d7-45dc-9b56-f693d5e979f0 2025-05-06 08:23:59,613 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/5c15475b-d5d7-45dc-9b56-f693d5e979f0 2025-05-06 08:23:59,619 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/7557fda0-a3a7-4e06-b10c-80f6ef3405b2 2025-05-06 08:23:59,630 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-69786117:ctest-vn-84907974', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-69786117', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4247979828707019162', 'uuid-lslong': '10405118127317750854'}, 'enable': 'true', 'created': '2025-05-06T08:23:57', 'last-modified': '2025-05-06T08:23:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.924211'} 2025-05-06 08:23:59,636 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-06 08:23:59,637 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-84907974 passed 2025-05-06 08:23:59,637 - DEBUG - ====Verifying policy data for ctest-vn-84907974 in API_Server ====== 2025-05-06 08:23:59,637 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-05-06 08:23:59,641 - DEBUG - Requesting: http://10.0.0.48:8082/domain/c7a36801-941b-4db1-b18e-9b3bfbbc3776 2025-05-06 08:23:59,651 - DEBUG - Requesting: http://10.0.0.48:8082/project/3a6725b9-5afa-4189-b2a5-17f212b4a4fe 2025-05-06 08:23:59,730 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/3af3db25-bf1b-499a-9066-67cee0c09446 2025-05-06 08:23:59,741 - DEBUG - ==>Verifying data for policy with id: be1f1f1e-0d92-403d-9e61-be3e3d22c5d5, fqn: ['default-domain', 'ctest-TestBasicPolicy-69786117', 'ctest-policy-allow-all-55586847'] 2025-05-06 08:23:59,741 - INFO - VN ctest-vn-84907974 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-06 08:23:59,741 - DEBUG - Verifying the vn in opserver 2025-05-06 08:23:59,741 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-69786117:ctest-vn-84907974 virtual network link through opserver 10.0.0.48 2025-05-06 08:23:59,742 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-05-06 08:24:00,031 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-05-06 08:24:00,084 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-69786117:ctest-vn-84907974', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-69786117:ctest-vn-84907974?flat'} 2025-05-06 08:24:00,084 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-69786117:ctest-vn-84907974 is found in opserver 2025-05-06 08:24:00,097 - DEBUG - Do not have enough data to verify VN in agent 2025-05-06 08:24:00,102 - DEBUG - VRF ids for VN ctest-vn-84907974: {} 2025-05-06 08:24:00,102 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-05-06 08:24:00,109 - DEBUG - Requesting: http://10.0.0.48:8082/domain/c7a36801-941b-4db1-b18e-9b3bfbbc3776 2025-05-06 08:24:00,122 - DEBUG - Requesting: http://10.0.0.48:8082/project/3a6725b9-5afa-4189-b2a5-17f212b4a4fe 2025-05-06 08:24:00,200 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/a0b385e4-0fa3-41db-9e71-25fade9dcc1e 2025-05-06 08:24:00,212 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/a0b385e4-0fa3-41db-9e71-25fade9dcc1e 2025-05-06 08:24:00,222 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/25e6770d-36db-4b65-995b-0903b16da67a 2025-05-06 08:24:00,230 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/25e6770d-36db-4b65-995b-0903b16da67a 2025-05-06 08:24:00,237 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/20d3402d-9151-4e26-b00c-69ce68f9f543 2025-05-06 08:24:00,243 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-06 08:24:00,243 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/a0b385e4-0fa3-41db-9e71-25fade9dcc1e 2025-05-06 08:24:00,252 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/25e6770d-36db-4b65-995b-0903b16da67a 2025-05-06 08:24:00,265 - INFO - Verified VN network id 9 for VN a0b385e4-0fa3-41db-9e71-25fade9dcc1e 2025-05-06 08:24:00,265 - INFO - Verifications in API Server for VN ctest-vn-72768198 passed 2025-05-06 08:24:00,265 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/a0b385e4-0fa3-41db-9e71-25fade9dcc1e 2025-05-06 08:24:00,274 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/25e6770d-36db-4b65-995b-0903b16da67a 2025-05-06 08:24:00,281 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/25e6770d-36db-4b65-995b-0903b16da67a 2025-05-06 08:24:00,288 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/20d3402d-9151-4e26-b00c-69ce68f9f543 2025-05-06 08:24:00,300 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-69786117:ctest-vn-72768198', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-69786117', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11579746281461072347', 'uuid-lslong': '11416948289767853086'}, 'enable': 'true', 'created': '2025-05-06T08:23:58', 'last-modified': '2025-05-06T08:23:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.354801'} 2025-05-06 08:24:00,307 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-06 08:24:00,307 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-72768198 passed 2025-05-06 08:24:00,307 - DEBUG - ====Verifying policy data for ctest-vn-72768198 in API_Server ====== 2025-05-06 08:24:00,307 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-05-06 08:24:00,312 - DEBUG - Requesting: http://10.0.0.48:8082/domain/c7a36801-941b-4db1-b18e-9b3bfbbc3776 2025-05-06 08:24:00,323 - DEBUG - Requesting: http://10.0.0.48:8082/project/3a6725b9-5afa-4189-b2a5-17f212b4a4fe 2025-05-06 08:24:00,397 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/a0b385e4-0fa3-41db-9e71-25fade9dcc1e 2025-05-06 08:24:00,406 - DEBUG - ==>Verifying data for policy with id: be1f1f1e-0d92-403d-9e61-be3e3d22c5d5, fqn: ['default-domain', 'ctest-TestBasicPolicy-69786117', 'ctest-policy-allow-all-55586847'] 2025-05-06 08:24:00,406 - INFO - VN ctest-vn-72768198 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-06 08:24:00,406 - DEBUG - Verifying the vn in opserver 2025-05-06 08:24:00,406 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-69786117:ctest-vn-72768198 virtual network link through opserver 10.0.0.48 2025-05-06 08:24:00,406 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-05-06 08:24:00,416 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-69786117:ctest-vn-72768198', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-69786117:ctest-vn-72768198?flat'} 2025-05-06 08:24:00,416 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-69786117:ctest-vn-72768198 is found in opserver 2025-05-06 08:24:00,427 - DEBUG - Do not have enough data to verify VN in agent 2025-05-06 08:24:00,431 - DEBUG - VRF ids for VN ctest-vn-72768198: {} 2025-05-06 08:24:00,492 - DEBUG - Services list from nova: [, , ] 2025-05-06 08:24:01,513 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3275-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3275-1) 2025-05-06 08:24:02,780 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3275-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3275-1) 2025-05-06 08:24:02,781 - INFO - Waiting for VM ctest-TestBasicPolicy-69786117-63186995 to be up.. 2025-05-06 08:24:02,854 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-06 08:24:07,924 - DEBUG - VM is in ACTIVE state now 2025-05-06 08:24:07,924 - INFO - VM name : ctest-TestBasicPolicy-69786117-63186995 2025-05-06 08:24:07,991 - DEBUG - VM ctest-TestBasicPolicy-69786117-63186995 ID is 86d9c18d-47b4-4109-9911-fa82182a0073 2025-05-06 08:24:08,009 - DEBUG - VM ctest-TestBasicPolicy-69786117-63186995 launched on Node cn-jenkins-deploy-platform-ansible-os-3275-1 2025-05-06 08:24:08,079 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/86d9c18d-47b4-4109-9911-fa82182a0073 2025-05-06 08:24:08,087 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/31b6659b-427d-4837-95da-50543ba0f162 2025-05-06 08:24:11,337 - 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 1024ms') 2025-05-06 08:24:11,337 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-69786117-63186995 failed! 2025-05-06 08:24:11,393 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-69786117:ctest-vn-84907974 is 114.13.3.65 and allocation pool is NOT set 2025-05-06 08:24:13,454 - 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.96 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 1000ms\r\nrtt min/avg/max/mdev = 0.420/1.687/2.955/1.267 ms') 2025-05-06 08:24:13,454 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-69786117-63186995 passed 2025-05-06 08:24:13,601 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-06 08:24:13,601 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-69786117-63186995, IP 114.13.3.67, Port 22 2025-05-06 08:24:13,756 - DEBUG - VM ctest-TestBasicPolicy-69786117-63186995 is ready for SSH connections 2025-05-06 08:24:13,756 - INFO - Waiting for VM ctest-TestBasicPolicy-69786117-52781163 to be up.. 2025-05-06 08:24:13,824 - DEBUG - VM is in ACTIVE state now 2025-05-06 08:24:13,824 - INFO - VM name : ctest-TestBasicPolicy-69786117-52781163 2025-05-06 08:24:13,890 - DEBUG - VM ctest-TestBasicPolicy-69786117-52781163 ID is 7a2faf44-202d-4d78-b003-47c6de2aa194 2025-05-06 08:24:13,890 - DEBUG - VM ctest-TestBasicPolicy-69786117-52781163 launched on Node cn-jenkins-deploy-platform-ansible-os-3275-1 2025-05-06 08:24:13,963 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/7a2faf44-202d-4d78-b003-47c6de2aa194 2025-05-06 08:24:13,971 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/c8e2220f-6c12-45e2-9a21-ec64b9020c46 2025-05-06 08:24:15,205 - 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.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.403 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.403/1.625/2.848/1.222 ms') 2025-05-06 08:24:15,205 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-69786117-52781163 passed 2025-05-06 08:24:15,357 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-06 08:24:15,357 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-69786117-52781163, IP 208.84.32.131, Port 22 2025-05-06 08:24:15,512 - DEBUG - VM ctest-TestBasicPolicy-69786117-52781163 is ready for SSH connections 2025-05-06 08:24:15,512 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-06 08:24:15,512 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 208.84.32.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-05-06 08:24:15,512 - DEBUG - ping -s 56 -c 3 -W 1 208.84.32.131 2025-05-06 08:24:19,166 - DEBUG - PING 208.84.32.131 (208.84.32.131): 56 data bytes 64 bytes from 208.84.32.131: seq=0 ttl=63 time=3.154 ms 64 bytes from 208.84.32.131: seq=1 ttl=63 time=0.761 ms 64 bytes from 208.84.32.131: seq=2 ttl=63 time=0.780 ms --- 208.84.32.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.761/1.565/3.154 ms 2025-05-06 08:24:19,166 - INFO - Ping to IP 208.84.32.131 from VM ctest-TestBasicPolicy-69786117-63186995 passed 2025-05-06 08:24:19,353 - DEBUG - Policy Update Response {"network-policy": {"uuid": "be1f1f1e-0d92-403d-9e61-be3e3d22c5d5", "href": "http://10.0.0.48:8082/network-policy/be1f1f1e-0d92-403d-9e61-be3e3d22c5d5"}} 2025-05-06 08:24:19,353 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-06 08:24:19,353 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 208.84.32.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-05-06 08:24:19,353 - DEBUG - ping -s 56 -c 3 -W 1 208.84.32.131 2025-05-06 08:24:22,542 - DEBUG - PING 208.84.32.131 (208.84.32.131): 56 data bytes --- 208.84.32.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-05-06 08:24:22,542 - WARNING - Ping to IP 208.84.32.131 from VM ctest-TestBasicPolicy-69786117-63186995 failed 2025-05-06 08:24:22,542 - INFO - Deleting VM ctest-TestBasicPolicy-69786117-52781163 2025-05-06 08:24:22,601 - INFO - Deleting VM ctest-TestBasicPolicy-69786117-63186995 2025-05-06 08:24:22,935 - INFO - Deleted policy ctest-policy-allow-all-55586847 2025-05-06 08:24:22,935 - INFO - Deleting VN ctest-vn-72768198 2025-05-06 08:24:22,964 - DEBUG - VN a0b385e4-0fa3-41db-9e71-25fade9dcc1e still in use: Unable to complete operation on network a0b385e4-0fa3-41db-9e71-25fade9dcc1e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7c7e3027-b994-40c0-850b-88bf825f56e6'] 2025-05-06 08:24:22,965 - WARNING - Deleting VN ctest-vn-72768198 failed..Will retry 2025-05-06 08:24:25,060 - DEBUG - Response for deleting network () 2025-05-06 08:24:25,060 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/25e6770d-36db-4b65-995b-0903b16da67a 2025-05-06 08:24:25,067 - DEBUG - Response Code: 404 2025-05-06 08:24:25,067 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-05-06 08:24:25,075 - DEBUG - Requesting: http://10.0.0.48:8082/domain/c7a36801-941b-4db1-b18e-9b3bfbbc3776 2025-05-06 08:24:25,129 - DEBUG - Requesting: http://10.0.0.48:8082/project/3a6725b9-5afa-4189-b2a5-17f212b4a4fe 2025-05-06 08:24:25,205 - INFO - Validated that VN ctest-vn-72768198 is not found in API Server 2025-05-06 08:24:25,215 - DEBUG - VN ctest-vn-72768198 is not present in Agent 10.0.0.48 2025-05-06 08:24:25,215 - INFO - Validated that VN ctest-vn-72768198 is not in any agent 2025-05-06 08:24:25,229 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-72768198 info 2025-05-06 08:24:25,229 - INFO - Deleting VN ctest-vn-84907974 2025-05-06 08:24:25,320 - DEBUG - Response for deleting network () 2025-05-06 08:24:25,320 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/5c15475b-d5d7-45dc-9b56-f693d5e979f0 2025-05-06 08:24:25,327 - DEBUG - Response Code: 404 2025-05-06 08:24:25,327 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-05-06 08:24:25,332 - DEBUG - Requesting: http://10.0.0.48:8082/domain/c7a36801-941b-4db1-b18e-9b3bfbbc3776 2025-05-06 08:24:25,386 - DEBUG - Requesting: http://10.0.0.48:8082/project/3a6725b9-5afa-4189-b2a5-17f212b4a4fe 2025-05-06 08:24:25,460 - INFO - Validated that VN ctest-vn-84907974 is not found in API Server 2025-05-06 08:24:25,470 - DEBUG - VN ctest-vn-84907974 is not present in Agent 10.0.0.48 2025-05-06 08:24:25,471 - INFO - Validated that VN ctest-vn-84907974 is not in any agent 2025-05-06 08:24:25,484 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-84907974 info 2025-05-06 08:24:25,746 - DEBUG - No XMPP flaps were noticed during the test 2025-05-06 08:24:25,746 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-05-06 08:24:25,746 - INFO - -------------------------------------------------------------------------------- 2025-05-06 08:24:26,398 - INFO - Deleted project: ctest-TestBasicPolicy-69786117, ID : 3a6725b9-5afa-4189-b2a5-17f212b4a4fe