2025-04-26 13:19:57,171 - INFO - Domain Default found not creating 2025-04-26 13:19:57,292 - INFO - Project ctest-TestBasicPolicy-54134965 not found, creating it 2025-04-26 13:19:57,844 - INFO - Created Project:ctest-TestBasicPolicy-54134965, ID : b5048c02-1d5b-4d31-b50d-2a376f4f4d68 2025-04-26 13:19:59,323 - INFO - ================================================================================ 2025-04-26 13:19:59,323 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-26 13:19:59,323 - 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-26 13:19:59,582 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-04-26 13:19:59,582 - INFO - Initial checks done. Running the testcase now 2025-04-26 13:19:59,582 - INFO - 2025-04-26 13:20:00,108 - DEBUG - Response for create_network : {'network': {'id': '0293832b-f640-4719-a949-d8af1d70ec12', 'name': 'ctest-vn-15900711', 'tenant_id': 'b5048c021d5b4d31b50d2a376f4f4d68', 'project_id': 'b5048c021d5b4d31b50d2a376f4f4d68', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54134965', 'ctest-vn-15900711'], 'port_security_enabled': True, 'description': ''}} 2025-04-26 13:20:00,285 - DEBUG - Response for create_subnet : {'subnet': {'id': '6aef2d04-4936-47c1-8efa-922a6cf4f91b', 'name': '', 'tenant_id': 'b5048c021d5b4d31b50d2a376f4f4d68', 'network_id': '0293832b-f640-4719-a949-d8af1d70ec12', 'ip_version': 4, 'cidr': '114.246.150.64/26', 'allocation_pools': [{'start': '114.246.150.66', 'end': '114.246.150.126'}], 'gateway_ip': '114.246.150.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.246.150.66', 'tags': [], 'project_id': 'b5048c021d5b4d31b50d2a376f4f4d68'}} 2025-04-26 13:20:00,302 - INFO - Created VN ctest-vn-15900711 2025-04-26 13:20:00,353 - DEBUG - VN ctest-vn-15900711 UUID is 0293832b-f640-4719-a949-d8af1d70ec12 2025-04-26 13:20:00,652 - DEBUG - Response for create_network : {'network': {'id': '52d931a6-3e53-4dd7-835f-2abd1f426600', 'name': 'ctest-vn-40766517', 'tenant_id': 'b5048c021d5b4d31b50d2a376f4f4d68', 'project_id': 'b5048c021d5b4d31b50d2a376f4f4d68', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54134965', 'ctest-vn-40766517'], 'port_security_enabled': True, 'description': ''}} 2025-04-26 13:20:00,823 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c1f4666a-71f2-4a1a-bc23-6f0d7c1411c5', 'name': '', 'tenant_id': 'b5048c021d5b4d31b50d2a376f4f4d68', 'network_id': '52d931a6-3e53-4dd7-835f-2abd1f426600', 'ip_version': 4, 'cidr': '74.148.191.192/26', 'allocation_pools': [{'start': '74.148.191.194', 'end': '74.148.191.254'}], 'gateway_ip': '74.148.191.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '74.148.191.194', 'tags': [], 'project_id': 'b5048c021d5b4d31b50d2a376f4f4d68'}} 2025-04-26 13:20:00,967 - INFO - Created VN ctest-vn-40766517 2025-04-26 13:20:01,021 - DEBUG - VN ctest-vn-40766517 UUID is 52d931a6-3e53-4dd7-835f-2abd1f426600 2025-04-26 13:20:01,169 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-54134965:ctest-vn-15900711, 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-54134965:ctest-vn-40766517, 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-26 13:20:01,470 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0293832b-f640-4719-a949-d8af1d70ec12', 'name': 'ctest-vn-15900711', 'tenant_id': 'b5048c021d5b4d31b50d2a376f4f4d68', 'project_id': 'b5048c021d5b4d31b50d2a376f4f4d68', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6aef2d04-4936-47c1-8efa-922a6cf4f91b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54134965', 'ctest-vn-15900711'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54134965', 'ctest-policy-allow-all-46938307']], 'subnet_ipam': [{'subnet_cidr': '114.246.150.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-26 13:20:01,719 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '52d931a6-3e53-4dd7-835f-2abd1f426600', 'name': 'ctest-vn-40766517', 'tenant_id': 'b5048c021d5b4d31b50d2a376f4f4d68', 'project_id': 'b5048c021d5b4d31b50d2a376f4f4d68', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c1f4666a-71f2-4a1a-bc23-6f0d7c1411c5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54134965', 'ctest-vn-40766517'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54134965', 'ctest-policy-allow-all-46938307']], 'subnet_ipam': [{'subnet_cidr': '74.148.191.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-26 13:20:01,889 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-04-26 13:20:02,279 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-04-26 13:20:02,313 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0e4fa536-d014-4d76-ba05-ec200c6ca779 2025-04-26 13:20:02,324 - DEBUG - Requesting: http://10.0.0.50:8082/project/b5048c02-1d5b-4d31-b50d-2a376f4f4d68 2025-04-26 13:20:02,396 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0293832b-f640-4719-a949-d8af1d70ec12 2025-04-26 13:20:02,407 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0293832b-f640-4719-a949-d8af1d70ec12 2025-04-26 13:20:02,415 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d6229734-e8ec-4482-a6c7-b4470755aa1d 2025-04-26 13:20:02,422 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d6229734-e8ec-4482-a6c7-b4470755aa1d 2025-04-26 13:20:02,427 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/3a854409-f180-492b-aaa8-58b416f2eb4d 2025-04-26 13:20:02,433 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-26 13:20:02,433 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0293832b-f640-4719-a949-d8af1d70ec12 2025-04-26 13:20:02,441 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d6229734-e8ec-4482-a6c7-b4470755aa1d 2025-04-26 13:20:02,453 - INFO - Verified VN network id 9 for VN 0293832b-f640-4719-a949-d8af1d70ec12 2025-04-26 13:20:02,454 - INFO - Verifications in API Server for VN ctest-vn-15900711 passed 2025-04-26 13:20:02,454 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0293832b-f640-4719-a949-d8af1d70ec12 2025-04-26 13:20:02,462 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d6229734-e8ec-4482-a6c7-b4470755aa1d 2025-04-26 13:20:02,468 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d6229734-e8ec-4482-a6c7-b4470755aa1d 2025-04-26 13:20:02,474 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/3a854409-f180-492b-aaa8-58b416f2eb4d 2025-04-26 13:20:02,484 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54134965:ctest-vn-15900711', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54134965', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '185636234490562329', 'uuid-lslong': '12198519312334515218'}, 'enable': 'true', 'created': '2025-04-26T13:20:00', 'last-modified': '2025-04-26T13:20:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.048235'} 2025-04-26 13:20:02,490 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-26 13:20:02,490 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-15900711 passed 2025-04-26 13:20:02,490 - DEBUG - ====Verifying policy data for ctest-vn-15900711 in API_Server ====== 2025-04-26 13:20:02,491 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-04-26 13:20:02,495 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0e4fa536-d014-4d76-ba05-ec200c6ca779 2025-04-26 13:20:02,506 - DEBUG - Requesting: http://10.0.0.50:8082/project/b5048c02-1d5b-4d31-b50d-2a376f4f4d68 2025-04-26 13:20:02,573 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0293832b-f640-4719-a949-d8af1d70ec12 2025-04-26 13:20:02,582 - DEBUG - ==>Verifying data for policy with id: 4875c300-43f3-4a6d-8d25-930c23249e08, fqn: ['default-domain', 'ctest-TestBasicPolicy-54134965', 'ctest-policy-allow-all-46938307'] 2025-04-26 13:20:02,582 - INFO - VN ctest-vn-15900711 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-26 13:20:02,582 - DEBUG - Verifying the vn in opserver 2025-04-26 13:20:02,582 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54134965:ctest-vn-15900711 virtual network link through opserver 10.0.0.50 2025-04-26 13:20:02,582 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-04-26 13:20:02,871 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-04-26 13:20:02,919 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54134965:ctest-vn-15900711', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54134965:ctest-vn-15900711?flat'} 2025-04-26 13:20:02,919 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54134965:ctest-vn-15900711 is found in opserver 2025-04-26 13:20:02,929 - DEBUG - Do not have enough data to verify VN in agent 2025-04-26 13:20:02,934 - DEBUG - VRF ids for VN ctest-vn-15900711: {} 2025-04-26 13:20:02,934 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-04-26 13:20:02,939 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0e4fa536-d014-4d76-ba05-ec200c6ca779 2025-04-26 13:20:02,949 - DEBUG - Requesting: http://10.0.0.50:8082/project/b5048c02-1d5b-4d31-b50d-2a376f4f4d68 2025-04-26 13:20:03,017 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/52d931a6-3e53-4dd7-835f-2abd1f426600 2025-04-26 13:20:03,029 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/52d931a6-3e53-4dd7-835f-2abd1f426600 2025-04-26 13:20:03,038 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/09766941-7b8c-4f10-a991-b615613eabb3 2025-04-26 13:20:03,045 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/09766941-7b8c-4f10-a991-b615613eabb3 2025-04-26 13:20:03,052 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/eeb149cd-5b4d-4528-a3c4-8fea81b60be0 2025-04-26 13:20:03,057 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-26 13:20:03,058 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/52d931a6-3e53-4dd7-835f-2abd1f426600 2025-04-26 13:20:03,066 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/09766941-7b8c-4f10-a991-b615613eabb3 2025-04-26 13:20:03,078 - INFO - Verified VN network id 10 for VN 52d931a6-3e53-4dd7-835f-2abd1f426600 2025-04-26 13:20:03,078 - INFO - Verifications in API Server for VN ctest-vn-40766517 passed 2025-04-26 13:20:03,078 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/52d931a6-3e53-4dd7-835f-2abd1f426600 2025-04-26 13:20:03,087 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/09766941-7b8c-4f10-a991-b615613eabb3 2025-04-26 13:20:03,092 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/09766941-7b8c-4f10-a991-b615613eabb3 2025-04-26 13:20:03,098 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/eeb149cd-5b4d-4528-a3c4-8fea81b60be0 2025-04-26 13:20:03,108 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54134965:ctest-vn-40766517', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54134965', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5969857371136282071', 'uuid-lslong': '9466331933517702656'}, 'enable': 'true', 'created': '2025-04-26T13:20:00', 'last-modified': '2025-04-26T13:20:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.416602'} 2025-04-26 13:20:03,114 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-26 13:20:03,114 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-40766517 passed 2025-04-26 13:20:03,114 - DEBUG - ====Verifying policy data for ctest-vn-40766517 in API_Server ====== 2025-04-26 13:20:03,114 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-04-26 13:20:03,118 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0e4fa536-d014-4d76-ba05-ec200c6ca779 2025-04-26 13:20:03,129 - DEBUG - Requesting: http://10.0.0.50:8082/project/b5048c02-1d5b-4d31-b50d-2a376f4f4d68 2025-04-26 13:20:03,197 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/52d931a6-3e53-4dd7-835f-2abd1f426600 2025-04-26 13:20:03,206 - DEBUG - ==>Verifying data for policy with id: 4875c300-43f3-4a6d-8d25-930c23249e08, fqn: ['default-domain', 'ctest-TestBasicPolicy-54134965', 'ctest-policy-allow-all-46938307'] 2025-04-26 13:20:03,206 - INFO - VN ctest-vn-40766517 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-26 13:20:03,207 - DEBUG - Verifying the vn in opserver 2025-04-26 13:20:03,207 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54134965:ctest-vn-40766517 virtual network link through opserver 10.0.0.50 2025-04-26 13:20:03,207 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-04-26 13:20:03,216 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54134965:ctest-vn-40766517', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54134965:ctest-vn-40766517?flat'} 2025-04-26 13:20:03,216 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54134965:ctest-vn-40766517 is found in opserver 2025-04-26 13:20:03,226 - DEBUG - Do not have enough data to verify VN in agent 2025-04-26 13:20:03,231 - DEBUG - VRF ids for VN ctest-vn-40766517: {} 2025-04-26 13:20:03,282 - DEBUG - Services list from nova: [, , ] 2025-04-26 13:20:04,228 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3222-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3222-1) 2025-04-26 13:20:05,384 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3222-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3222-1) 2025-04-26 13:20:05,384 - INFO - Waiting for VM ctest-TestBasicPolicy-54134965-73608153 to be up.. 2025-04-26 13:20:05,462 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-26 13:20:10,535 - DEBUG - VM is in ACTIVE state now 2025-04-26 13:20:10,535 - INFO - VM name : ctest-TestBasicPolicy-54134965-73608153 2025-04-26 13:20:10,604 - DEBUG - VM ctest-TestBasicPolicy-54134965-73608153 ID is ca9abd4f-f44d-4f34-a378-e74e5e12717b 2025-04-26 13:20:10,627 - DEBUG - VM ctest-TestBasicPolicy-54134965-73608153 launched on Node cn-jenkins-deploy-platform-ansible-os-3222-1 2025-04-26 13:20:10,707 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ca9abd4f-f44d-4f34-a378-e74e5e12717b 2025-04-26 13:20:10,715 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/8dd783ce-e42e-467e-a92c-11a046fa4b51 2025-04-26 13:20:13,974 - 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 1022ms') 2025-04-26 13:20:13,974 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-54134965-73608153 failed! 2025-04-26 13:20:14,029 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-54134965:ctest-vn-15900711 is 114.246.150.65 and allocation pool is NOT set 2025-04-26 13:20:16,085 - 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.97 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.381 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.381/1.677/2.973/1.296 ms') 2025-04-26 13:20:16,085 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-54134965-73608153 passed 2025-04-26 13:20:16,233 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-26 13:20:16,233 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54134965-73608153, IP 114.246.150.67, Port 22 2025-04-26 13:20:16,389 - DEBUG - VM ctest-TestBasicPolicy-54134965-73608153 is ready for SSH connections 2025-04-26 13:20:16,389 - INFO - Waiting for VM ctest-TestBasicPolicy-54134965-23562076 to be up.. 2025-04-26 13:20:16,458 - DEBUG - VM is in ACTIVE state now 2025-04-26 13:20:16,458 - INFO - VM name : ctest-TestBasicPolicy-54134965-23562076 2025-04-26 13:20:16,527 - DEBUG - VM ctest-TestBasicPolicy-54134965-23562076 ID is 815dae10-7d10-404e-a7fe-da8dff041f69 2025-04-26 13:20:16,527 - DEBUG - VM ctest-TestBasicPolicy-54134965-23562076 launched on Node cn-jenkins-deploy-platform-ansible-os-3222-1 2025-04-26 13:20:16,592 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/815dae10-7d10-404e-a7fe-da8dff041f69 2025-04-26 13:20:16,600 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/8fdf47cb-adc3-4c8d-9b14-258d4407021d 2025-04-26 13:20:17,833 - 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.56 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.370 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.370/1.462/2.555/1.092 ms') 2025-04-26 13:20:17,833 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-54134965-23562076 passed 2025-04-26 13:20:17,989 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-26 13:20:17,989 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54134965-23562076, IP 74.148.191.195, Port 22 2025-04-26 13:20:18,144 - DEBUG - VM ctest-TestBasicPolicy-54134965-23562076 is ready for SSH connections 2025-04-26 13:20:18,144 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-26 13:20:18,144 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 74.148.191.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-04-26 13:20:18,144 - DEBUG - ping -s 56 -c 3 -W 1 74.148.191.195 2025-04-26 13:20:21,805 - DEBUG - PING 74.148.191.195 (74.148.191.195): 56 data bytes 64 bytes from 74.148.191.195: seq=0 ttl=63 time=3.464 ms 64 bytes from 74.148.191.195: seq=1 ttl=63 time=0.805 ms 64 bytes from 74.148.191.195: seq=2 ttl=63 time=0.919 ms --- 74.148.191.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.805/1.729/3.464 ms 2025-04-26 13:20:21,805 - INFO - Ping to IP 74.148.191.195 from VM ctest-TestBasicPolicy-54134965-73608153 passed 2025-04-26 13:20:21,981 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4875c300-43f3-4a6d-8d25-930c23249e08", "href": "http://10.0.0.50:8082/network-policy/4875c300-43f3-4a6d-8d25-930c23249e08"}} 2025-04-26 13:20:21,981 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-26 13:20:21,981 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 74.148.191.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-04-26 13:20:21,981 - DEBUG - ping -s 56 -c 3 -W 1 74.148.191.195 2025-04-26 13:20:25,186 - DEBUG - PING 74.148.191.195 (74.148.191.195): 56 data bytes --- 74.148.191.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-04-26 13:20:25,186 - WARNING - Ping to IP 74.148.191.195 from VM ctest-TestBasicPolicy-54134965-73608153 failed 2025-04-26 13:20:25,187 - INFO - Deleting VM ctest-TestBasicPolicy-54134965-23562076 2025-04-26 13:20:25,243 - INFO - Deleting VM ctest-TestBasicPolicy-54134965-73608153 2025-04-26 13:20:25,578 - INFO - Deleted policy ctest-policy-allow-all-46938307 2025-04-26 13:20:25,579 - INFO - Deleting VN ctest-vn-40766517 2025-04-26 13:20:25,611 - DEBUG - VN 52d931a6-3e53-4dd7-835f-2abd1f426600 still in use: Unable to complete operation on network 52d931a6-3e53-4dd7-835f-2abd1f426600. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2f656286-be44-4bab-a66e-446af2af465b'] 2025-04-26 13:20:25,611 - WARNING - Deleting VN ctest-vn-40766517 failed..Will retry 2025-04-26 13:20:27,717 - DEBUG - Response for deleting network () 2025-04-26 13:20:27,717 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/09766941-7b8c-4f10-a991-b615613eabb3 2025-04-26 13:20:27,724 - DEBUG - Response Code: 404 2025-04-26 13:20:27,724 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-04-26 13:20:27,729 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0e4fa536-d014-4d76-ba05-ec200c6ca779 2025-04-26 13:20:27,781 - DEBUG - Requesting: http://10.0.0.50:8082/project/b5048c02-1d5b-4d31-b50d-2a376f4f4d68 2025-04-26 13:20:27,854 - INFO - Validated that VN ctest-vn-40766517 is not found in API Server 2025-04-26 13:20:27,864 - DEBUG - VN ctest-vn-40766517 is not present in Agent 10.0.0.50 2025-04-26 13:20:27,864 - INFO - Validated that VN ctest-vn-40766517 is not in any agent 2025-04-26 13:20:27,878 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-40766517 info 2025-04-26 13:20:27,878 - INFO - Deleting VN ctest-vn-15900711 2025-04-26 13:20:27,971 - DEBUG - Response for deleting network () 2025-04-26 13:20:27,971 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d6229734-e8ec-4482-a6c7-b4470755aa1d 2025-04-26 13:20:27,976 - DEBUG - Response Code: 404 2025-04-26 13:20:27,978 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-04-26 13:20:27,984 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0e4fa536-d014-4d76-ba05-ec200c6ca779 2025-04-26 13:20:28,041 - DEBUG - Requesting: http://10.0.0.50:8082/project/b5048c02-1d5b-4d31-b50d-2a376f4f4d68 2025-04-26 13:20:28,110 - INFO - Validated that VN ctest-vn-15900711 is not found in API Server 2025-04-26 13:20:28,120 - DEBUG - VN ctest-vn-15900711 is not present in Agent 10.0.0.50 2025-04-26 13:20:28,120 - INFO - Validated that VN ctest-vn-15900711 is not in any agent 2025-04-26 13:20:28,135 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-15900711 info 2025-04-26 13:20:28,394 - DEBUG - No XMPP flaps were noticed during the test 2025-04-26 13:20:28,394 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-04-26 13:20:28,394 - INFO - -------------------------------------------------------------------------------- 2025-04-26 13:20:29,040 - INFO - Deleted project: ctest-TestBasicPolicy-54134965, ID : b5048c02-1d5b-4d31-b50d-2a376f4f4d68