2025-05-26 02:19:50,036 - INFO - Domain Default found not creating 2025-05-26 02:19:50,256 - INFO - Project ctest-TestBasicPolicy-43941178 not found, creating it 2025-05-26 02:19:50,763 - INFO - Created Project:ctest-TestBasicPolicy-43941178, ID : 23cab25f-68a1-48dd-8dec-96fd4927ed65 2025-05-26 02:19:52,220 - INFO - ================================================================================ 2025-05-26 02:19:52,220 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-05-26 02:19:52,220 - 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-26 02:19:52,474 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.192': '0'}} with 2025-05-26 02:19:52,474 - INFO - Initial checks done. Running the testcase now 2025-05-26 02:19:52,474 - INFO - 2025-05-26 02:19:53,020 - DEBUG - Response for create_network : {'network': {'id': 'f671cb8d-c951-4ef2-8f87-1d1e71cc8cde', 'name': 'ctest-vn-10113372', 'tenant_id': '23cab25f68a148dd8dec96fd4927ed65', 'project_id': '23cab25f68a148dd8dec96fd4927ed65', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43941178', 'ctest-vn-10113372'], 'port_security_enabled': True, 'description': ''}} 2025-05-26 02:19:53,177 - DEBUG - Response for create_subnet : {'subnet': {'id': '6d987d5b-32cd-4a99-b56e-ceab88a8340c', 'name': '', 'tenant_id': '23cab25f68a148dd8dec96fd4927ed65', 'network_id': 'f671cb8d-c951-4ef2-8f87-1d1e71cc8cde', 'ip_version': 4, 'cidr': '79.62.90.0/26', 'allocation_pools': [{'start': '79.62.90.2', 'end': '79.62.90.62'}], 'gateway_ip': '79.62.90.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.62.90.2', 'tags': [], 'project_id': '23cab25f68a148dd8dec96fd4927ed65'}} 2025-05-26 02:19:53,196 - INFO - Created VN ctest-vn-10113372 2025-05-26 02:19:53,252 - DEBUG - VN ctest-vn-10113372 UUID is f671cb8d-c951-4ef2-8f87-1d1e71cc8cde 2025-05-26 02:19:53,560 - DEBUG - Response for create_network : {'network': {'id': 'ddf91ff6-19b3-4762-b685-b6cc402ef98b', 'name': 'ctest-vn-92704047', 'tenant_id': '23cab25f68a148dd8dec96fd4927ed65', 'project_id': '23cab25f68a148dd8dec96fd4927ed65', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43941178', 'ctest-vn-92704047'], 'port_security_enabled': True, 'description': ''}} 2025-05-26 02:19:53,727 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dfcaa055-4f90-4c4f-9deb-fceff992ea70', 'name': '', 'tenant_id': '23cab25f68a148dd8dec96fd4927ed65', 'network_id': 'ddf91ff6-19b3-4762-b685-b6cc402ef98b', 'ip_version': 4, 'cidr': '206.150.122.192/26', 'allocation_pools': [{'start': '206.150.122.194', 'end': '206.150.122.254'}], 'gateway_ip': '206.150.122.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.150.122.194', 'tags': [], 'project_id': '23cab25f68a148dd8dec96fd4927ed65'}} 2025-05-26 02:19:53,746 - INFO - Created VN ctest-vn-92704047 2025-05-26 02:19:53,796 - DEBUG - VN ctest-vn-92704047 UUID is ddf91ff6-19b3-4762-b685-b6cc402ef98b 2025-05-26 02:19:54,028 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-43941178:ctest-vn-10113372, 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-43941178:ctest-vn-92704047, 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-26 02:19:54,337 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f671cb8d-c951-4ef2-8f87-1d1e71cc8cde', 'name': 'ctest-vn-10113372', 'tenant_id': '23cab25f68a148dd8dec96fd4927ed65', 'project_id': '23cab25f68a148dd8dec96fd4927ed65', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6d987d5b-32cd-4a99-b56e-ceab88a8340c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43941178', 'ctest-vn-10113372'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43941178', 'ctest-policy-allow-all-29132098']], 'subnet_ipam': [{'subnet_cidr': '79.62.90.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-26 02:19:54,641 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ddf91ff6-19b3-4762-b685-b6cc402ef98b', 'name': 'ctest-vn-92704047', 'tenant_id': '23cab25f68a148dd8dec96fd4927ed65', 'project_id': '23cab25f68a148dd8dec96fd4927ed65', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['dfcaa055-4f90-4c4f-9deb-fceff992ea70'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43941178', 'ctest-vn-92704047'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43941178', 'ctest-policy-allow-all-29132098']], 'subnet_ipam': [{'subnet_cidr': '206.150.122.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-26 02:19:54,808 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-05-26 02:19:55,103 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-05-26 02:19:55,132 - DEBUG - Requesting: http://10.0.0.130:8082/domain/4262c944-8ab4-4356-aff4-af2d7e0d36a8 2025-05-26 02:19:55,145 - DEBUG - Requesting: http://10.0.0.130:8082/project/23cab25f-68a1-48dd-8dec-96fd4927ed65 2025-05-26 02:19:55,222 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/f671cb8d-c951-4ef2-8f87-1d1e71cc8cde 2025-05-26 02:19:55,234 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/f671cb8d-c951-4ef2-8f87-1d1e71cc8cde 2025-05-26 02:19:55,245 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/dc939244-37c2-4798-ade3-d164d49a1e5c 2025-05-26 02:19:55,253 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/dc939244-37c2-4798-ade3-d164d49a1e5c 2025-05-26 02:19:55,261 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/56a6fbfc-48a7-49da-82e9-67c8083198d5 2025-05-26 02:19:55,269 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-26 02:19:55,269 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/f671cb8d-c951-4ef2-8f87-1d1e71cc8cde 2025-05-26 02:19:55,279 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/dc939244-37c2-4798-ade3-d164d49a1e5c 2025-05-26 02:19:55,294 - INFO - Verified VN network id 8 for VN f671cb8d-c951-4ef2-8f87-1d1e71cc8cde 2025-05-26 02:19:55,294 - INFO - Verifications in API Server for VN ctest-vn-10113372 passed 2025-05-26 02:19:55,294 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/f671cb8d-c951-4ef2-8f87-1d1e71cc8cde 2025-05-26 02:19:55,304 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/dc939244-37c2-4798-ade3-d164d49a1e5c 2025-05-26 02:19:55,312 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/dc939244-37c2-4798-ade3-d164d49a1e5c 2025-05-26 02:19:55,320 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/56a6fbfc-48a7-49da-82e9-67c8083198d5 2025-05-26 02:19:55,333 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43941178:ctest-vn-10113372', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43941178', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17758198615526952690', 'uuid-lslong': '10342267085875088606'}, 'enable': 'true', 'created': '2025-05-26T02:19:52', 'last-modified': '2025-05-26T02:19:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.027865'} 2025-05-26 02:19:55,340 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-26 02:19:55,340 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-10113372 passed 2025-05-26 02:19:55,341 - DEBUG - ====Verifying policy data for ctest-vn-10113372 in API_Server ====== 2025-05-26 02:19:55,341 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-05-26 02:19:55,354 - DEBUG - Requesting: http://10.0.0.130:8082/domain/4262c944-8ab4-4356-aff4-af2d7e0d36a8 2025-05-26 02:19:55,367 - DEBUG - Requesting: http://10.0.0.130:8082/project/23cab25f-68a1-48dd-8dec-96fd4927ed65 2025-05-26 02:19:55,444 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/f671cb8d-c951-4ef2-8f87-1d1e71cc8cde 2025-05-26 02:19:55,454 - DEBUG - ==>Verifying data for policy with id: 355e6c15-75ac-4b17-ac94-0b59e6b4c3dd, fqn: ['default-domain', 'ctest-TestBasicPolicy-43941178', 'ctest-policy-allow-all-29132098'] 2025-05-26 02:19:55,454 - INFO - VN ctest-vn-10113372 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-26 02:19:55,454 - DEBUG - Verifying the vn in opserver 2025-05-26 02:19:55,454 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43941178:ctest-vn-10113372 virtual network link through opserver 10.0.0.130 2025-05-26 02:19:55,454 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-05-26 02:19:55,752 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-05-26 02:19:55,815 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43941178:ctest-vn-10113372', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43941178:ctest-vn-10113372?flat'} 2025-05-26 02:19:55,815 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43941178:ctest-vn-10113372 is found in opserver 2025-05-26 02:19:55,827 - DEBUG - Do not have enough data to verify VN in agent 2025-05-26 02:19:55,832 - DEBUG - VRF ids for VN ctest-vn-10113372: {} 2025-05-26 02:19:55,832 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-05-26 02:19:55,839 - DEBUG - Requesting: http://10.0.0.130:8082/domain/4262c944-8ab4-4356-aff4-af2d7e0d36a8 2025-05-26 02:19:55,852 - DEBUG - Requesting: http://10.0.0.130:8082/project/23cab25f-68a1-48dd-8dec-96fd4927ed65 2025-05-26 02:19:55,931 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/ddf91ff6-19b3-4762-b685-b6cc402ef98b 2025-05-26 02:19:55,948 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/ddf91ff6-19b3-4762-b685-b6cc402ef98b 2025-05-26 02:19:55,960 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/8d2a010a-3136-4902-abaa-0eafd682d01c 2025-05-26 02:19:55,970 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/8d2a010a-3136-4902-abaa-0eafd682d01c 2025-05-26 02:19:55,978 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/5bf55c29-fafe-4c1a-b7ee-2b84bd709637 2025-05-26 02:19:55,986 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-26 02:19:55,986 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/ddf91ff6-19b3-4762-b685-b6cc402ef98b 2025-05-26 02:19:55,997 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/8d2a010a-3136-4902-abaa-0eafd682d01c 2025-05-26 02:19:56,013 - INFO - Verified VN network id 9 for VN ddf91ff6-19b3-4762-b685-b6cc402ef98b 2025-05-26 02:19:56,013 - INFO - Verifications in API Server for VN ctest-vn-92704047 passed 2025-05-26 02:19:56,013 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/ddf91ff6-19b3-4762-b685-b6cc402ef98b 2025-05-26 02:19:56,023 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/8d2a010a-3136-4902-abaa-0eafd682d01c 2025-05-26 02:19:56,044 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/8d2a010a-3136-4902-abaa-0eafd682d01c 2025-05-26 02:19:56,052 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/5bf55c29-fafe-4c1a-b7ee-2b84bd709637 2025-05-26 02:19:56,072 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43941178:ctest-vn-92704047', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43941178', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15994850693436622690', 'uuid-lslong': '13152119275171805579'}, 'enable': 'true', 'created': '2025-05-26T02:19:53', 'last-modified': '2025-05-26T02:19:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.460740'} 2025-05-26 02:19:56,079 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-26 02:19:56,079 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92704047 passed 2025-05-26 02:19:56,079 - DEBUG - ====Verifying policy data for ctest-vn-92704047 in API_Server ====== 2025-05-26 02:19:56,079 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-05-26 02:19:56,085 - DEBUG - Requesting: http://10.0.0.130:8082/domain/4262c944-8ab4-4356-aff4-af2d7e0d36a8 2025-05-26 02:19:56,097 - DEBUG - Requesting: http://10.0.0.130:8082/project/23cab25f-68a1-48dd-8dec-96fd4927ed65 2025-05-26 02:19:56,189 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/ddf91ff6-19b3-4762-b685-b6cc402ef98b 2025-05-26 02:19:56,200 - DEBUG - ==>Verifying data for policy with id: 355e6c15-75ac-4b17-ac94-0b59e6b4c3dd, fqn: ['default-domain', 'ctest-TestBasicPolicy-43941178', 'ctest-policy-allow-all-29132098'] 2025-05-26 02:19:56,200 - INFO - VN ctest-vn-92704047 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-26 02:19:56,200 - DEBUG - Verifying the vn in opserver 2025-05-26 02:19:56,200 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43941178:ctest-vn-92704047 virtual network link through opserver 10.0.0.130 2025-05-26 02:19:56,200 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-05-26 02:19:56,212 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43941178:ctest-vn-92704047', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43941178:ctest-vn-92704047?flat'} 2025-05-26 02:19:56,212 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43941178:ctest-vn-92704047 is found in opserver 2025-05-26 02:19:56,225 - DEBUG - Do not have enough data to verify VN in agent 2025-05-26 02:19:56,232 - DEBUG - VRF ids for VN ctest-vn-92704047: {} 2025-05-26 02:19:56,291 - DEBUG - Services list from nova: [, , ] 2025-05-26 02:19:57,351 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3336-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3336-1) 2025-05-26 02:19:58,643 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3336-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3336-1) 2025-05-26 02:19:58,643 - INFO - Waiting for VM ctest-TestBasicPolicy-43941178-58375343 to be up.. 2025-05-26 02:19:58,733 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-26 02:20:03,816 - DEBUG - VM is in ACTIVE state now 2025-05-26 02:20:03,816 - INFO - VM name : ctest-TestBasicPolicy-43941178-58375343 2025-05-26 02:20:03,891 - DEBUG - VM ctest-TestBasicPolicy-43941178-58375343 ID is 31464250-26a6-41fb-b01a-130fbe6b088b 2025-05-26 02:20:03,910 - DEBUG - VM ctest-TestBasicPolicy-43941178-58375343 launched on Node cn-jenkins-deploy-platform-ansible-os-3336-1 2025-05-26 02:20:03,991 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/31464250-26a6-41fb-b01a-130fbe6b088b 2025-05-26 02:20:04,000 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/3cc9a58e-6ff3-4645-8ac0-bb40d969edef 2025-05-26 02:20:07,246 - 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 1003ms') 2025-05-26 02:20:07,247 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-43941178-58375343 failed! 2025-05-26 02:20:07,300 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-43941178:ctest-vn-10113372 is 79.62.90.1 and allocation pool is NOT set 2025-05-26 02:20:09,357 - 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.90 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.476 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.476/1.685/2.895/1.209 ms') 2025-05-26 02:20:09,357 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-43941178-58375343 passed 2025-05-26 02:20:09,540 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-26 02:20:09,540 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43941178-58375343, IP 79.62.90.3, Port 22 2025-05-26 02:20:09,718 - DEBUG - VM ctest-TestBasicPolicy-43941178-58375343 is ready for SSH connections 2025-05-26 02:20:09,718 - INFO - Waiting for VM ctest-TestBasicPolicy-43941178-68812165 to be up.. 2025-05-26 02:20:09,796 - DEBUG - VM is in ACTIVE state now 2025-05-26 02:20:09,796 - INFO - VM name : ctest-TestBasicPolicy-43941178-68812165 2025-05-26 02:20:09,876 - DEBUG - VM ctest-TestBasicPolicy-43941178-68812165 ID is 410a2994-50a6-4a32-9218-e8334cf37ace 2025-05-26 02:20:09,877 - DEBUG - VM ctest-TestBasicPolicy-43941178-68812165 launched on Node cn-jenkins-deploy-platform-ansible-os-3336-1 2025-05-26 02:20:09,958 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/410a2994-50a6-4a32-9218-e8334cf37ace 2025-05-26 02:20:09,968 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/39873b5d-4008-45eb-b087-b75df288077d 2025-05-26 02:20:11,225 - 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.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.425 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.425/1.661/2.897/1.236 ms') 2025-05-26 02:20:11,225 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-43941178-68812165 passed 2025-05-26 02:20:11,380 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-26 02:20:11,380 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43941178-68812165, IP 206.150.122.195, Port 22 2025-05-26 02:20:11,544 - DEBUG - VM ctest-TestBasicPolicy-43941178-68812165 is ready for SSH connections 2025-05-26 02:20:11,544 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-26 02:20:11,545 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 206.150.122.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-05-26 02:20:11,545 - DEBUG - ping -s 56 -c 3 -W 1 206.150.122.195 2025-05-26 02:20:15,277 - DEBUG - PING 206.150.122.195 (206.150.122.195): 56 data bytes 64 bytes from 206.150.122.195: seq=0 ttl=63 time=3.320 ms 64 bytes from 206.150.122.195: seq=1 ttl=63 time=1.003 ms 64 bytes from 206.150.122.195: seq=2 ttl=63 time=1.056 ms --- 206.150.122.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.003/1.793/3.320 ms 2025-05-26 02:20:15,277 - INFO - Ping to IP 206.150.122.195 from VM ctest-TestBasicPolicy-43941178-58375343 passed 2025-05-26 02:20:15,468 - DEBUG - Policy Update Response {"network-policy": {"uuid": "355e6c15-75ac-4b17-ac94-0b59e6b4c3dd", "href": "http://10.0.0.130:8082/network-policy/355e6c15-75ac-4b17-ac94-0b59e6b4c3dd"}} 2025-05-26 02:20:15,468 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-26 02:20:15,468 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 206.150.122.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-05-26 02:20:15,468 - DEBUG - ping -s 56 -c 3 -W 1 206.150.122.195 2025-05-26 02:20:18,698 - DEBUG - PING 206.150.122.195 (206.150.122.195): 56 data bytes 64 bytes from 206.150.122.195: seq=0 ttl=63 time=2.338 ms --- 206.150.122.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.338/2.338/2.338 ms 2025-05-26 02:20:18,698 - WARNING - Ping to IP 206.150.122.195 from VM ctest-TestBasicPolicy-43941178-58375343 failed 2025-05-26 02:20:18,698 - INFO - Deleting VM ctest-TestBasicPolicy-43941178-68812165 2025-05-26 02:20:18,772 - INFO - Deleting VM ctest-TestBasicPolicy-43941178-58375343 2025-05-26 02:20:19,180 - INFO - Deleted policy ctest-policy-allow-all-29132098 2025-05-26 02:20:19,180 - INFO - Deleting VN ctest-vn-92704047 2025-05-26 02:20:19,226 - DEBUG - VN ddf91ff6-19b3-4762-b685-b6cc402ef98b still in use: Unable to complete operation on network ddf91ff6-19b3-4762-b685-b6cc402ef98b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5b7cffe8-7d62-4d41-9bbc-f6184c8c8fe0'] 2025-05-26 02:20:19,226 - WARNING - Deleting VN ctest-vn-92704047 failed..Will retry 2025-05-26 02:20:21,337 - DEBUG - Response for deleting network () 2025-05-26 02:20:21,337 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/8d2a010a-3136-4902-abaa-0eafd682d01c 2025-05-26 02:20:21,344 - DEBUG - Response Code: 404 2025-05-26 02:20:21,344 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-05-26 02:20:21,350 - DEBUG - Requesting: http://10.0.0.130:8082/domain/4262c944-8ab4-4356-aff4-af2d7e0d36a8 2025-05-26 02:20:21,412 - DEBUG - Requesting: http://10.0.0.130:8082/project/23cab25f-68a1-48dd-8dec-96fd4927ed65 2025-05-26 02:20:21,491 - INFO - Validated that VN ctest-vn-92704047 is not found in API Server 2025-05-26 02:20:21,501 - DEBUG - VN ctest-vn-92704047 is not present in Agent 10.0.0.130 2025-05-26 02:20:21,501 - INFO - Validated that VN ctest-vn-92704047 is not in any agent 2025-05-26 02:20:21,518 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-92704047 info 2025-05-26 02:20:21,519 - INFO - Deleting VN ctest-vn-10113372 2025-05-26 02:20:21,624 - DEBUG - Response for deleting network () 2025-05-26 02:20:21,624 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/dc939244-37c2-4798-ade3-d164d49a1e5c 2025-05-26 02:20:21,629 - DEBUG - Response Code: 404 2025-05-26 02:20:21,629 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-05-26 02:20:21,637 - DEBUG - Requesting: http://10.0.0.130:8082/domain/4262c944-8ab4-4356-aff4-af2d7e0d36a8 2025-05-26 02:20:21,693 - DEBUG - Requesting: http://10.0.0.130:8082/project/23cab25f-68a1-48dd-8dec-96fd4927ed65 2025-05-26 02:20:21,767 - INFO - Validated that VN ctest-vn-10113372 is not found in API Server 2025-05-26 02:20:21,780 - DEBUG - VN ctest-vn-10113372 is not present in Agent 10.0.0.130 2025-05-26 02:20:21,780 - INFO - Validated that VN ctest-vn-10113372 is not in any agent 2025-05-26 02:20:21,797 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-10113372 info 2025-05-26 02:20:22,049 - DEBUG - No XMPP flaps were noticed during the test 2025-05-26 02:20:22,049 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-05-26 02:20:22,050 - INFO - -------------------------------------------------------------------------------- 2025-05-26 02:20:22,748 - INFO - Deleted project: ctest-TestBasicPolicy-43941178, ID : 23cab25f-68a1-48dd-8dec-96fd4927ed65