2025-01-14 08:34:56,392 - INFO - Domain Default found not creating 2025-01-14 08:34:56,548 - INFO - Project ctest-TestBasicPolicy-44724355 not found, creating it 2025-01-14 08:34:57,050 - INFO - Created Project:ctest-TestBasicPolicy-44724355, ID : 96430452-0d72-44c0-8565-33e447dd625b 2025-01-14 08:34:58,522 - INFO - ================================================================================ 2025-01-14 08:34:58,522 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-14 08:34:58,522 - 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-01-14 08:34:58,778 - DEBUG - Nothing to compare xmpp stats {'10.0.0.55': {'10.20.0.23': '0'}} with 2025-01-14 08:34:58,778 - INFO - Initial checks done. Running the testcase now 2025-01-14 08:34:58,778 - INFO - 2025-01-14 08:34:59,412 - DEBUG - Response for create_network : {'network': {'id': 'f0625c13-cb7b-4da8-b8d8-151e555569c9', 'name': 'ctest-vn-58373681', 'tenant_id': '964304520d7244c0856533e447dd625b', 'project_id': '964304520d7244c0856533e447dd625b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44724355', 'ctest-vn-58373681'], 'port_security_enabled': True, 'description': ''}} 2025-01-14 08:34:59,592 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd4ccf479-bc54-40bf-aaed-3b04046a0ece', 'name': '', 'tenant_id': '964304520d7244c0856533e447dd625b', 'network_id': 'f0625c13-cb7b-4da8-b8d8-151e555569c9', 'ip_version': 4, 'cidr': '99.40.244.192/26', 'allocation_pools': [{'start': '99.40.244.194', 'end': '99.40.244.254'}], 'gateway_ip': '99.40.244.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.40.244.194', 'tags': [], 'project_id': '964304520d7244c0856533e447dd625b'}} 2025-01-14 08:34:59,614 - INFO - Created VN ctest-vn-58373681 2025-01-14 08:34:59,667 - DEBUG - VN ctest-vn-58373681 UUID is f0625c13-cb7b-4da8-b8d8-151e555569c9 2025-01-14 08:34:59,969 - DEBUG - Response for create_network : {'network': {'id': '5fa97590-c8c4-41f4-b135-62267ecec580', 'name': 'ctest-vn-05525090', 'tenant_id': '964304520d7244c0856533e447dd625b', 'project_id': '964304520d7244c0856533e447dd625b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44724355', 'ctest-vn-05525090'], 'port_security_enabled': True, 'description': ''}} 2025-01-14 08:35:00,182 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eead06a2-2024-4920-8e2d-960b894cd59b', 'name': '', 'tenant_id': '964304520d7244c0856533e447dd625b', 'network_id': '5fa97590-c8c4-41f4-b135-62267ecec580', 'ip_version': 4, 'cidr': '98.9.29.128/26', 'allocation_pools': [{'start': '98.9.29.130', 'end': '98.9.29.190'}], 'gateway_ip': '98.9.29.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '98.9.29.130', 'tags': [], 'project_id': '964304520d7244c0856533e447dd625b'}} 2025-01-14 08:35:00,212 - INFO - Created VN ctest-vn-05525090 2025-01-14 08:35:00,267 - DEBUG - VN ctest-vn-05525090 UUID is 5fa97590-c8c4-41f4-b135-62267ecec580 2025-01-14 08:35:00,396 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-44724355:ctest-vn-58373681, 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-44724355:ctest-vn-05525090, 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-01-14 08:35:00,713 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f0625c13-cb7b-4da8-b8d8-151e555569c9', 'name': 'ctest-vn-58373681', 'tenant_id': '964304520d7244c0856533e447dd625b', 'project_id': '964304520d7244c0856533e447dd625b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d4ccf479-bc54-40bf-aaed-3b04046a0ece'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44724355', 'ctest-vn-58373681'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-44724355', 'ctest-policy-allow-all-07404175']], 'subnet_ipam': [{'subnet_cidr': '99.40.244.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-14 08:35:00,970 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5fa97590-c8c4-41f4-b135-62267ecec580', 'name': 'ctest-vn-05525090', 'tenant_id': '964304520d7244c0856533e447dd625b', 'project_id': '964304520d7244c0856533e447dd625b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['eead06a2-2024-4920-8e2d-960b894cd59b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44724355', 'ctest-vn-05525090'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-44724355', 'ctest-policy-allow-all-07404175']], 'subnet_ipam': [{'subnet_cidr': '98.9.29.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-14 08:35:01,139 - DEBUG - Requesting: http://10.0.0.55:8082/domains 2025-01-14 08:35:01,437 - DEBUG - Requesting: http://10.0.0.55:8082/domains 2025-01-14 08:35:01,472 - DEBUG - Requesting: http://10.0.0.55:8082/domain/11a446e6-184f-4f6d-bcbd-0fe373cf62a0 2025-01-14 08:35:01,487 - DEBUG - Requesting: http://10.0.0.55:8082/project/96430452-0d72-44c0-8565-33e447dd625b 2025-01-14 08:35:01,572 - DEBUG - Requesting: http://10.0.0.55:8082/virtual-network/f0625c13-cb7b-4da8-b8d8-151e555569c9 2025-01-14 08:35:01,585 - DEBUG - Requesting: http://10.0.0.55:8082/virtual-network/f0625c13-cb7b-4da8-b8d8-151e555569c9 2025-01-14 08:35:01,596 - DEBUG - Requesting: http://10.0.0.55:8082/routing-instance/622f2158-d3a7-4293-a49b-3bde43de48a1 2025-01-14 08:35:01,611 - DEBUG - Requesting: http://10.0.0.55:8082/routing-instance/622f2158-d3a7-4293-a49b-3bde43de48a1 2025-01-14 08:35:01,621 - DEBUG - Requesting: http://10.0.0.55:8082/route-target/51b5ef3c-1a7c-43ff-9152-8fb8b0b2c68a 2025-01-14 08:35:01,630 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-14 08:35:01,630 - DEBUG - Requesting: http://10.0.0.55:8082/virtual-network/f0625c13-cb7b-4da8-b8d8-151e555569c9 2025-01-14 08:35:01,645 - DEBUG - Requesting: http://10.0.0.55:8082/routing-instance/622f2158-d3a7-4293-a49b-3bde43de48a1 2025-01-14 08:35:01,662 - INFO - Verified VN network id 8 for VN f0625c13-cb7b-4da8-b8d8-151e555569c9 2025-01-14 08:35:01,662 - INFO - Verifications in API Server for VN ctest-vn-58373681 passed 2025-01-14 08:35:01,662 - DEBUG - Requesting: http://10.0.0.55:8082/virtual-network/f0625c13-cb7b-4da8-b8d8-151e555569c9 2025-01-14 08:35:01,674 - DEBUG - Requesting: http://10.0.0.55:8082/routing-instance/622f2158-d3a7-4293-a49b-3bde43de48a1 2025-01-14 08:35:01,682 - DEBUG - Requesting: http://10.0.0.55:8082/routing-instance/622f2158-d3a7-4293-a49b-3bde43de48a1 2025-01-14 08:35:01,691 - DEBUG - Requesting: http://10.0.0.55:8082/route-target/51b5ef3c-1a7c-43ff-9152-8fb8b0b2c68a 2025-01-14 08:35:01,704 - DEBUG - Control-node 10.0.0.55 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-44724355:ctest-vn-58373681', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-44724355', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17321508356908338600', 'uuid-lslong': '13319419117973105097'}, 'enable': 'true', 'created': '2025-01-14T08:34:59', 'last-modified': '2025-01-14T08:35:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.012499'} 2025-01-14 08:35:01,712 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-14 08:35:01,712 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-58373681 passed 2025-01-14 08:35:01,712 - DEBUG - ====Verifying policy data for ctest-vn-58373681 in API_Server ====== 2025-01-14 08:35:01,712 - DEBUG - Requesting: http://10.0.0.55:8082/domains 2025-01-14 08:35:01,719 - DEBUG - Requesting: http://10.0.0.55:8082/domain/11a446e6-184f-4f6d-bcbd-0fe373cf62a0 2025-01-14 08:35:01,732 - DEBUG - Requesting: http://10.0.0.55:8082/project/96430452-0d72-44c0-8565-33e447dd625b 2025-01-14 08:35:01,812 - DEBUG - Requesting: http://10.0.0.55:8082/virtual-network/f0625c13-cb7b-4da8-b8d8-151e555569c9 2025-01-14 08:35:01,823 - DEBUG - ==>Verifying data for policy with id: 35c92c6d-eca5-4fec-82be-7cd04178335e, fqn: ['default-domain', 'ctest-TestBasicPolicy-44724355', 'ctest-policy-allow-all-07404175'] 2025-01-14 08:35:01,823 - INFO - VN ctest-vn-58373681 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-14 08:35:01,824 - DEBUG - Verifying the vn in opserver 2025-01-14 08:35:01,824 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-44724355:ctest-vn-58373681 virtual network link through opserver 10.0.0.55 2025-01-14 08:35:01,824 - DEBUG - Requesting: http://10.0.0.55:8081/analytics/uves/virtual-networks 2025-01-14 08:35:02,138 - DEBUG - Requesting: http://10.0.0.55:8081/analytics/uves/virtual-networks 2025-01-14 08:35:02,203 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-44724355:ctest-vn-58373681', 'href': 'http://10.0.0.55:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-44724355:ctest-vn-58373681?flat'} 2025-01-14 08:35:02,203 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-44724355:ctest-vn-58373681 is found in opserver 2025-01-14 08:35:02,215 - DEBUG - Do not have enough data to verify VN in agent 2025-01-14 08:35:02,220 - DEBUG - VRF ids for VN ctest-vn-58373681: {} 2025-01-14 08:35:02,220 - DEBUG - Requesting: http://10.0.0.55:8082/domains 2025-01-14 08:35:02,227 - DEBUG - Requesting: http://10.0.0.55:8082/domain/11a446e6-184f-4f6d-bcbd-0fe373cf62a0 2025-01-14 08:35:02,242 - DEBUG - Requesting: http://10.0.0.55:8082/project/96430452-0d72-44c0-8565-33e447dd625b 2025-01-14 08:35:02,321 - DEBUG - Requesting: http://10.0.0.55:8082/virtual-network/5fa97590-c8c4-41f4-b135-62267ecec580 2025-01-14 08:35:02,333 - DEBUG - Requesting: http://10.0.0.55:8082/virtual-network/5fa97590-c8c4-41f4-b135-62267ecec580 2025-01-14 08:35:02,342 - DEBUG - Requesting: http://10.0.0.55:8082/routing-instance/07923711-9f3b-43af-aaa7-ec68c383ebe2 2025-01-14 08:35:02,349 - DEBUG - Requesting: http://10.0.0.55:8082/routing-instance/07923711-9f3b-43af-aaa7-ec68c383ebe2 2025-01-14 08:35:02,357 - DEBUG - Requesting: http://10.0.0.55:8082/route-target/9dd53239-b41a-4d74-aa93-fa5fff718b47 2025-01-14 08:35:02,365 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-14 08:35:02,365 - DEBUG - Requesting: http://10.0.0.55:8082/virtual-network/5fa97590-c8c4-41f4-b135-62267ecec580 2025-01-14 08:35:02,375 - DEBUG - Requesting: http://10.0.0.55:8082/routing-instance/07923711-9f3b-43af-aaa7-ec68c383ebe2 2025-01-14 08:35:02,393 - INFO - Verified VN network id 9 for VN 5fa97590-c8c4-41f4-b135-62267ecec580 2025-01-14 08:35:02,393 - INFO - Verifications in API Server for VN ctest-vn-05525090 passed 2025-01-14 08:35:02,393 - DEBUG - Requesting: http://10.0.0.55:8082/virtual-network/5fa97590-c8c4-41f4-b135-62267ecec580 2025-01-14 08:35:02,406 - DEBUG - Requesting: http://10.0.0.55:8082/routing-instance/07923711-9f3b-43af-aaa7-ec68c383ebe2 2025-01-14 08:35:02,415 - DEBUG - Requesting: http://10.0.0.55:8082/routing-instance/07923711-9f3b-43af-aaa7-ec68c383ebe2 2025-01-14 08:35:02,424 - DEBUG - Requesting: http://10.0.0.55:8082/route-target/9dd53239-b41a-4d74-aa93-fa5fff718b47 2025-01-14 08:35:02,438 - DEBUG - Control-node 10.0.0.55 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-44724355:ctest-vn-05525090', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-44724355', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6893169969371300340', 'uuid-lslong': '12769220235954668928'}, 'enable': 'true', 'created': '2025-01-14T08:34:59', 'last-modified': '2025-01-14T08:35:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.492223'} 2025-01-14 08:35:02,444 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-14 08:35:02,444 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-05525090 passed 2025-01-14 08:35:02,444 - DEBUG - ====Verifying policy data for ctest-vn-05525090 in API_Server ====== 2025-01-14 08:35:02,444 - DEBUG - Requesting: http://10.0.0.55:8082/domains 2025-01-14 08:35:02,451 - DEBUG - Requesting: http://10.0.0.55:8082/domain/11a446e6-184f-4f6d-bcbd-0fe373cf62a0 2025-01-14 08:35:02,465 - DEBUG - Requesting: http://10.0.0.55:8082/project/96430452-0d72-44c0-8565-33e447dd625b 2025-01-14 08:35:02,548 - DEBUG - Requesting: http://10.0.0.55:8082/virtual-network/5fa97590-c8c4-41f4-b135-62267ecec580 2025-01-14 08:35:02,560 - DEBUG - ==>Verifying data for policy with id: 35c92c6d-eca5-4fec-82be-7cd04178335e, fqn: ['default-domain', 'ctest-TestBasicPolicy-44724355', 'ctest-policy-allow-all-07404175'] 2025-01-14 08:35:02,560 - INFO - VN ctest-vn-05525090 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-14 08:35:02,560 - DEBUG - Verifying the vn in opserver 2025-01-14 08:35:02,560 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-44724355:ctest-vn-05525090 virtual network link through opserver 10.0.0.55 2025-01-14 08:35:02,560 - DEBUG - Requesting: http://10.0.0.55:8081/analytics/uves/virtual-networks 2025-01-14 08:35:02,574 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-44724355:ctest-vn-05525090', 'href': 'http://10.0.0.55:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-44724355:ctest-vn-05525090?flat'} 2025-01-14 08:35:02,574 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-44724355:ctest-vn-05525090 is found in opserver 2025-01-14 08:35:02,587 - DEBUG - Do not have enough data to verify VN in agent 2025-01-14 08:35:02,593 - DEBUG - VRF ids for VN ctest-vn-05525090: {} 2025-01-14 08:35:02,658 - DEBUG - Services list from nova: [, , ] 2025-01-14 08:35:03,874 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2620-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2620-1) 2025-01-14 08:35:05,153 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2620-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2620-1) 2025-01-14 08:35:05,153 - INFO - Waiting for VM ctest-TestBasicPolicy-44724355-73252060 to be up.. 2025-01-14 08:35:05,262 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-14 08:35:10,358 - DEBUG - VM is in ACTIVE state now 2025-01-14 08:35:10,358 - INFO - VM name : ctest-TestBasicPolicy-44724355-73252060 2025-01-14 08:35:10,456 - DEBUG - VM ctest-TestBasicPolicy-44724355-73252060 ID is 7122945b-8234-42f8-ad79-441e0adb1339 2025-01-14 08:35:10,480 - DEBUG - VM ctest-TestBasicPolicy-44724355-73252060 launched on Node cn-jenkins-deploy-platform-ansible-os-2620-1 2025-01-14 08:35:10,566 - DEBUG - Requesting: http://10.0.0.55:8082/virtual-machine/7122945b-8234-42f8-ad79-441e0adb1339 2025-01-14 08:35:10,577 - DEBUG - Requesting: http://10.0.0.55:8082/virtual-machine-interface/9a6613ed-08bb-4554-bbb1-5bdbd7a5d6d6 2025-01-14 08:35:13,795 - 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 1010ms') 2025-01-14 08:35:13,795 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-44724355-73252060 failed! 2025-01-14 08:35:13,855 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-44724355:ctest-vn-58373681 is 99.40.244.193 and allocation pool is NOT set 2025-01-14 08:35:15,920 - 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=7.28 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.268 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.268/3.773/7.279/3.505 ms') 2025-01-14 08:35:15,921 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-44724355-73252060 passed 2025-01-14 08:35:16,091 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-14 08:35:16,091 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-44724355-73252060, IP 99.40.244.195, Port 22 2025-01-14 08:35:16,277 - DEBUG - VM ctest-TestBasicPolicy-44724355-73252060 is ready for SSH connections 2025-01-14 08:35:16,277 - INFO - Waiting for VM ctest-TestBasicPolicy-44724355-02589270 to be up.. 2025-01-14 08:35:16,372 - DEBUG - VM is in ACTIVE state now 2025-01-14 08:35:16,372 - INFO - VM name : ctest-TestBasicPolicy-44724355-02589270 2025-01-14 08:35:16,454 - DEBUG - VM ctest-TestBasicPolicy-44724355-02589270 ID is fa974abe-d13f-48d9-80e8-79b9a5314f23 2025-01-14 08:35:16,455 - DEBUG - VM ctest-TestBasicPolicy-44724355-02589270 launched on Node cn-jenkins-deploy-platform-ansible-os-2620-1 2025-01-14 08:35:16,538 - DEBUG - Requesting: http://10.0.0.55:8082/virtual-machine/fa974abe-d13f-48d9-80e8-79b9a5314f23 2025-01-14 08:35:16,549 - DEBUG - Requesting: http://10.0.0.55:8082/virtual-machine-interface/1628dcda-d5e4-4424-9e80-4b115b0b86f8 2025-01-14 08:35:17,814 - 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.89 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.652 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.652/1.771/2.891/1.119 ms') 2025-01-14 08:35:17,814 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-44724355-02589270 passed 2025-01-14 08:35:17,975 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-14 08:35:17,975 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-44724355-02589270, IP 98.9.29.131, Port 22 2025-01-14 08:35:18,131 - DEBUG - VM ctest-TestBasicPolicy-44724355-02589270 is ready for SSH connections 2025-01-14 08:35:18,131 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-14 08:35:18,131 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 98.9.29.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.55, gateway password: c0ntrail123 2025-01-14 08:35:18,132 - DEBUG - ping -s 56 -c 3 -W 1 98.9.29.131 2025-01-14 08:35:22,201 - DEBUG - PING 98.9.29.131 (98.9.29.131): 56 data bytes 64 bytes from 98.9.29.131: seq=0 ttl=63 time=3.902 ms 64 bytes from 98.9.29.131: seq=1 ttl=63 time=1.201 ms 64 bytes from 98.9.29.131: seq=2 ttl=63 time=0.970 ms --- 98.9.29.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.970/2.024/3.902 ms 2025-01-14 08:35:22,201 - INFO - Ping to IP 98.9.29.131 from VM ctest-TestBasicPolicy-44724355-73252060 passed 2025-01-14 08:35:22,395 - DEBUG - Policy Update Response {"network-policy": {"uuid": "35c92c6d-eca5-4fec-82be-7cd04178335e", "href": "http://10.0.0.55:8082/network-policy/35c92c6d-eca5-4fec-82be-7cd04178335e"}} 2025-01-14 08:35:22,395 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-14 08:35:22,395 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 98.9.29.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.55, gateway password: c0ntrail123 2025-01-14 08:35:22,395 - DEBUG - ping -s 56 -c 3 -W 1 98.9.29.131 2025-01-14 08:35:25,612 - DEBUG - PING 98.9.29.131 (98.9.29.131): 56 data bytes 64 bytes from 98.9.29.131: seq=0 ttl=63 time=2.517 ms --- 98.9.29.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.517/2.517/2.517 ms 2025-01-14 08:35:25,612 - WARNING - Ping to IP 98.9.29.131 from VM ctest-TestBasicPolicy-44724355-73252060 failed 2025-01-14 08:35:25,612 - INFO - Deleting VM ctest-TestBasicPolicy-44724355-02589270 2025-01-14 08:35:25,695 - INFO - Deleting VM ctest-TestBasicPolicy-44724355-73252060 2025-01-14 08:35:26,166 - INFO - Deleted policy ctest-policy-allow-all-07404175 2025-01-14 08:35:26,166 - INFO - Deleting VN ctest-vn-05525090 2025-01-14 08:35:26,219 - DEBUG - VN 5fa97590-c8c4-41f4-b135-62267ecec580 still in use: Unable to complete operation on network 5fa97590-c8c4-41f4-b135-62267ecec580. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a6afe8ed-6493-457f-8d29-4067cd8f877c'] 2025-01-14 08:35:26,220 - WARNING - Deleting VN ctest-vn-05525090 failed..Will retry 2025-01-14 08:35:28,332 - DEBUG - Response for deleting network () 2025-01-14 08:35:28,332 - DEBUG - Requesting: http://10.0.0.55:8082/routing-instance/07923711-9f3b-43af-aaa7-ec68c383ebe2 2025-01-14 08:35:28,341 - DEBUG - Response Code: 404 2025-01-14 08:35:28,341 - DEBUG - Requesting: http://10.0.0.55:8082/domains 2025-01-14 08:35:28,347 - DEBUG - Requesting: http://10.0.0.55:8082/domain/11a446e6-184f-4f6d-bcbd-0fe373cf62a0 2025-01-14 08:35:28,401 - DEBUG - Requesting: http://10.0.0.55:8082/project/96430452-0d72-44c0-8565-33e447dd625b 2025-01-14 08:35:28,482 - INFO - Validated that VN ctest-vn-05525090 is not found in API Server 2025-01-14 08:35:28,498 - DEBUG - VN ctest-vn-05525090 is not present in Agent 10.0.0.55 2025-01-14 08:35:28,498 - INFO - Validated that VN ctest-vn-05525090 is not in any agent 2025-01-14 08:35:28,520 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-05525090 info 2025-01-14 08:35:28,520 - INFO - Deleting VN ctest-vn-58373681 2025-01-14 08:35:28,646 - DEBUG - Response for deleting network () 2025-01-14 08:35:28,646 - DEBUG - Requesting: http://10.0.0.55:8082/routing-instance/622f2158-d3a7-4293-a49b-3bde43de48a1 2025-01-14 08:35:28,660 - DEBUG - Response Code: 404 2025-01-14 08:35:28,661 - DEBUG - Requesting: http://10.0.0.55:8082/domains 2025-01-14 08:35:28,666 - DEBUG - Requesting: http://10.0.0.55:8082/domain/11a446e6-184f-4f6d-bcbd-0fe373cf62a0 2025-01-14 08:35:28,726 - DEBUG - Requesting: http://10.0.0.55:8082/project/96430452-0d72-44c0-8565-33e447dd625b 2025-01-14 08:35:28,805 - INFO - Validated that VN ctest-vn-58373681 is not found in API Server 2025-01-14 08:35:28,817 - DEBUG - VN ctest-vn-58373681 is not present in Agent 10.0.0.55 2025-01-14 08:35:28,817 - INFO - Validated that VN ctest-vn-58373681 is not in any agent 2025-01-14 08:35:28,834 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-58373681 info 2025-01-14 08:35:29,097 - DEBUG - No XMPP flaps were noticed during the test 2025-01-14 08:35:29,098 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2025-01-14 08:35:29,098 - INFO - -------------------------------------------------------------------------------- 2025-01-14 08:35:29,817 - INFO - Deleted project: ctest-TestBasicPolicy-44724355, ID : 96430452-0d72-44c0-8565-33e447dd625b