2025-04-08 13:00:12,280 - INFO - Domain Default found not creating 2025-04-08 13:00:12,470 - INFO - Project ctest-TestBasicPolicy-38458475 not found, creating it 2025-04-08 13:00:13,019 - INFO - Created Project:ctest-TestBasicPolicy-38458475, ID : 48a72cc9-0515-4478-b2b1-ac79625ba949 2025-04-08 13:00:14,651 - INFO - ================================================================================ 2025-04-08 13:00:14,651 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-08 13:00:14,651 - 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-08 13:00:14,924 - DEBUG - Nothing to compare xmpp stats {'10.0.0.34': {'10.20.0.17': '0'}} with 2025-04-08 13:00:14,924 - INFO - Initial checks done. Running the testcase now 2025-04-08 13:00:14,924 - INFO - 2025-04-08 13:00:15,575 - DEBUG - Response for create_network : {'network': {'id': '7af09c02-dcc2-4c91-9b7e-67916c9b496a', 'name': 'ctest-vn-20743033', 'tenant_id': '48a72cc905154478b2b1ac79625ba949', 'project_id': '48a72cc905154478b2b1ac79625ba949', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38458475', 'ctest-vn-20743033'], 'port_security_enabled': True, 'description': ''}} 2025-04-08 13:00:15,772 - DEBUG - Response for create_subnet : {'subnet': {'id': '6a5a091f-48bd-4f3f-8670-e7d66244f9e5', 'name': '', 'tenant_id': '48a72cc905154478b2b1ac79625ba949', 'network_id': '7af09c02-dcc2-4c91-9b7e-67916c9b496a', 'ip_version': 4, 'cidr': '98.70.104.64/26', 'allocation_pools': [{'start': '98.70.104.66', 'end': '98.70.104.126'}], 'gateway_ip': '98.70.104.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '98.70.104.66', 'tags': [], 'project_id': '48a72cc905154478b2b1ac79625ba949'}} 2025-04-08 13:00:15,796 - INFO - Created VN ctest-vn-20743033 2025-04-08 13:00:15,850 - DEBUG - VN ctest-vn-20743033 UUID is 7af09c02-dcc2-4c91-9b7e-67916c9b496a 2025-04-08 13:00:16,219 - DEBUG - Response for create_network : {'network': {'id': '50a9fb3c-a2cc-4da6-bde5-d89e6ff982b9', 'name': 'ctest-vn-50660049', 'tenant_id': '48a72cc905154478b2b1ac79625ba949', 'project_id': '48a72cc905154478b2b1ac79625ba949', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38458475', 'ctest-vn-50660049'], 'port_security_enabled': True, 'description': ''}} 2025-04-08 13:00:16,425 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a178d639-2df5-4ae7-9153-aeb72d157cc4', 'name': '', 'tenant_id': '48a72cc905154478b2b1ac79625ba949', 'network_id': '50a9fb3c-a2cc-4da6-bde5-d89e6ff982b9', 'ip_version': 4, 'cidr': '157.143.46.0/26', 'allocation_pools': [{'start': '157.143.46.2', 'end': '157.143.46.62'}], 'gateway_ip': '157.143.46.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.143.46.2', 'tags': [], 'project_id': '48a72cc905154478b2b1ac79625ba949'}} 2025-04-08 13:00:16,450 - INFO - Created VN ctest-vn-50660049 2025-04-08 13:00:16,506 - DEBUG - VN ctest-vn-50660049 UUID is 50a9fb3c-a2cc-4da6-bde5-d89e6ff982b9 2025-04-08 13:00:16,624 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-38458475:ctest-vn-20743033, 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-38458475:ctest-vn-50660049, 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-08 13:00:16,961 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7af09c02-dcc2-4c91-9b7e-67916c9b496a', 'name': 'ctest-vn-20743033', 'tenant_id': '48a72cc905154478b2b1ac79625ba949', 'project_id': '48a72cc905154478b2b1ac79625ba949', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6a5a091f-48bd-4f3f-8670-e7d66244f9e5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38458475', 'ctest-vn-20743033'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-38458475', 'ctest-policy-allow-all-23908687']], 'subnet_ipam': [{'subnet_cidr': '98.70.104.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-08 13:00:17,281 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '50a9fb3c-a2cc-4da6-bde5-d89e6ff982b9', 'name': 'ctest-vn-50660049', 'tenant_id': '48a72cc905154478b2b1ac79625ba949', 'project_id': '48a72cc905154478b2b1ac79625ba949', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a178d639-2df5-4ae7-9153-aeb72d157cc4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38458475', 'ctest-vn-50660049'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-38458475', 'ctest-policy-allow-all-23908687']], 'subnet_ipam': [{'subnet_cidr': '157.143.46.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-08 13:00:17,430 - DEBUG - Requesting: http://10.0.0.34:8082/domains 2025-04-08 13:00:17,738 - DEBUG - Requesting: http://10.0.0.34:8082/domains 2025-04-08 13:00:17,771 - DEBUG - Requesting: http://10.0.0.34:8082/domain/1a762224-8969-452d-978e-ecbcf993dced 2025-04-08 13:00:17,791 - DEBUG - Requesting: http://10.0.0.34:8082/project/48a72cc9-0515-4478-b2b1-ac79625ba949 2025-04-08 13:00:17,872 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/7af09c02-dcc2-4c91-9b7e-67916c9b496a 2025-04-08 13:00:17,886 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/7af09c02-dcc2-4c91-9b7e-67916c9b496a 2025-04-08 13:00:17,898 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/6729b8fe-5d2a-47f9-a0f3-fe3d1781c013 2025-04-08 13:00:17,907 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/6729b8fe-5d2a-47f9-a0f3-fe3d1781c013 2025-04-08 13:00:17,915 - DEBUG - Requesting: http://10.0.0.34:8082/route-target/c8250b5b-c078-4508-8689-c731bc88c261 2025-04-08 13:00:17,924 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-04-08 13:00:17,924 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/7af09c02-dcc2-4c91-9b7e-67916c9b496a 2025-04-08 13:00:17,936 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/6729b8fe-5d2a-47f9-a0f3-fe3d1781c013 2025-04-08 13:00:17,954 - INFO - Verified VN network id 8 for VN 7af09c02-dcc2-4c91-9b7e-67916c9b496a 2025-04-08 13:00:17,954 - INFO - Verifications in API Server for VN ctest-vn-20743033 passed 2025-04-08 13:00:17,954 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/7af09c02-dcc2-4c91-9b7e-67916c9b496a 2025-04-08 13:00:17,965 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/6729b8fe-5d2a-47f9-a0f3-fe3d1781c013 2025-04-08 13:00:17,974 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/6729b8fe-5d2a-47f9-a0f3-fe3d1781c013 2025-04-08 13:00:17,982 - DEBUG - Requesting: http://10.0.0.34:8082/route-target/c8250b5b-c078-4508-8689-c731bc88c261 2025-04-08 13:00:17,997 - DEBUG - Control-node 10.0.0.34 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-38458475:ctest-vn-20743033', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38458475', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8858752003145354385', 'uuid-lslong': '11204506797234407786'}, 'enable': 'true', 'created': '2025-04-08T13:00:15', 'last-modified': '2025-04-08T13:00:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.079860'} 2025-04-08 13:00:18,005 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-04-08 13:00:18,005 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20743033 passed 2025-04-08 13:00:18,005 - DEBUG - ====Verifying policy data for ctest-vn-20743033 in API_Server ====== 2025-04-08 13:00:18,005 - DEBUG - Requesting: http://10.0.0.34:8082/domains 2025-04-08 13:00:18,013 - DEBUG - Requesting: http://10.0.0.34:8082/domain/1a762224-8969-452d-978e-ecbcf993dced 2025-04-08 13:00:18,026 - DEBUG - Requesting: http://10.0.0.34:8082/project/48a72cc9-0515-4478-b2b1-ac79625ba949 2025-04-08 13:00:18,109 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/7af09c02-dcc2-4c91-9b7e-67916c9b496a 2025-04-08 13:00:18,120 - DEBUG - ==>Verifying data for policy with id: 95eb038f-c96a-45e4-ac74-848ae01c512e, fqn: ['default-domain', 'ctest-TestBasicPolicy-38458475', 'ctest-policy-allow-all-23908687'] 2025-04-08 13:00:18,120 - INFO - VN ctest-vn-20743033 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-08 13:00:18,120 - DEBUG - Verifying the vn in opserver 2025-04-08 13:00:18,120 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-38458475:ctest-vn-20743033 virtual network link through opserver 10.0.0.34 2025-04-08 13:00:18,120 - DEBUG - Requesting: http://10.0.0.34:8081/analytics/uves/virtual-networks 2025-04-08 13:00:18,415 - DEBUG - Requesting: http://10.0.0.34:8081/analytics/uves/virtual-networks 2025-04-08 13:00:18,484 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-38458475:ctest-vn-20743033', 'href': 'http://10.0.0.34:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-38458475:ctest-vn-20743033?flat'} 2025-04-08 13:00:18,484 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-38458475:ctest-vn-20743033 is found in opserver 2025-04-08 13:00:18,497 - DEBUG - Do not have enough data to verify VN in agent 2025-04-08 13:00:18,506 - DEBUG - VRF ids for VN ctest-vn-20743033: {} 2025-04-08 13:00:18,506 - DEBUG - Requesting: http://10.0.0.34:8082/domains 2025-04-08 13:00:18,513 - DEBUG - Requesting: http://10.0.0.34:8082/domain/1a762224-8969-452d-978e-ecbcf993dced 2025-04-08 13:00:18,528 - DEBUG - Requesting: http://10.0.0.34:8082/project/48a72cc9-0515-4478-b2b1-ac79625ba949 2025-04-08 13:00:18,606 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/50a9fb3c-a2cc-4da6-bde5-d89e6ff982b9 2025-04-08 13:00:18,620 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/50a9fb3c-a2cc-4da6-bde5-d89e6ff982b9 2025-04-08 13:00:18,631 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/ed94399d-8e75-45cb-967b-80a9cee63bd6 2025-04-08 13:00:18,640 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/ed94399d-8e75-45cb-967b-80a9cee63bd6 2025-04-08 13:00:18,649 - DEBUG - Requesting: http://10.0.0.34:8082/route-target/8217071c-aa34-49cb-aaec-036f6afe8834 2025-04-08 13:00:18,657 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-08 13:00:18,657 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/50a9fb3c-a2cc-4da6-bde5-d89e6ff982b9 2025-04-08 13:00:18,672 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/ed94399d-8e75-45cb-967b-80a9cee63bd6 2025-04-08 13:00:18,691 - INFO - Verified VN network id 9 for VN 50a9fb3c-a2cc-4da6-bde5-d89e6ff982b9 2025-04-08 13:00:18,691 - INFO - Verifications in API Server for VN ctest-vn-50660049 passed 2025-04-08 13:00:18,691 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/50a9fb3c-a2cc-4da6-bde5-d89e6ff982b9 2025-04-08 13:00:18,707 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/ed94399d-8e75-45cb-967b-80a9cee63bd6 2025-04-08 13:00:18,715 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/ed94399d-8e75-45cb-967b-80a9cee63bd6 2025-04-08 13:00:18,724 - DEBUG - Requesting: http://10.0.0.34:8082/route-target/8217071c-aa34-49cb-aaec-036f6afe8834 2025-04-08 13:00:18,745 - DEBUG - Control-node 10.0.0.34 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-38458475:ctest-vn-50660049', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38458475', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5812453031946243494', 'uuid-lslong': '13683581217830175417'}, 'enable': 'true', 'created': '2025-04-08T13:00:16', 'last-modified': '2025-04-08T13:00:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.534951'} 2025-04-08 13:00:18,754 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-08 13:00:18,754 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-50660049 passed 2025-04-08 13:00:18,754 - DEBUG - ====Verifying policy data for ctest-vn-50660049 in API_Server ====== 2025-04-08 13:00:18,754 - DEBUG - Requesting: http://10.0.0.34:8082/domains 2025-04-08 13:00:18,761 - DEBUG - Requesting: http://10.0.0.34:8082/domain/1a762224-8969-452d-978e-ecbcf993dced 2025-04-08 13:00:18,774 - DEBUG - Requesting: http://10.0.0.34:8082/project/48a72cc9-0515-4478-b2b1-ac79625ba949 2025-04-08 13:00:18,857 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/50a9fb3c-a2cc-4da6-bde5-d89e6ff982b9 2025-04-08 13:00:18,870 - DEBUG - ==>Verifying data for policy with id: 95eb038f-c96a-45e4-ac74-848ae01c512e, fqn: ['default-domain', 'ctest-TestBasicPolicy-38458475', 'ctest-policy-allow-all-23908687'] 2025-04-08 13:00:18,870 - INFO - VN ctest-vn-50660049 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-08 13:00:18,870 - DEBUG - Verifying the vn in opserver 2025-04-08 13:00:18,870 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-38458475:ctest-vn-50660049 virtual network link through opserver 10.0.0.34 2025-04-08 13:00:18,870 - DEBUG - Requesting: http://10.0.0.34:8081/analytics/uves/virtual-networks 2025-04-08 13:00:18,884 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-38458475:ctest-vn-50660049', 'href': 'http://10.0.0.34:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-38458475:ctest-vn-50660049?flat'} 2025-04-08 13:00:18,884 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-38458475:ctest-vn-50660049 is found in opserver 2025-04-08 13:00:18,897 - DEBUG - Do not have enough data to verify VN in agent 2025-04-08 13:00:18,903 - DEBUG - VRF ids for VN ctest-vn-50660049: {} 2025-04-08 13:00:18,974 - DEBUG - Services list from nova: [, , ] 2025-04-08 13:00:20,146 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3051-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3051-1) 2025-04-08 13:00:21,375 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3051-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3051-1) 2025-04-08 13:00:21,375 - INFO - Waiting for VM ctest-TestBasicPolicy-38458475-39088295 to be up.. 2025-04-08 13:00:21,473 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-08 13:00:26,574 - DEBUG - VM is in ACTIVE state now 2025-04-08 13:00:26,574 - INFO - VM name : ctest-TestBasicPolicy-38458475-39088295 2025-04-08 13:00:26,671 - DEBUG - VM ctest-TestBasicPolicy-38458475-39088295 ID is b5d206ab-8926-41e0-be29-040ee34e8526 2025-04-08 13:00:26,694 - DEBUG - VM ctest-TestBasicPolicy-38458475-39088295 launched on Node cn-jenkins-deploy-platform-ansible-os-3051-1 2025-04-08 13:00:26,786 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/b5d206ab-8926-41e0-be29-040ee34e8526 2025-04-08 13:00:26,797 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/11382dd7-8249-4a96-be6d-9a35bd49846d 2025-04-08 13:00:30,055 - 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 1009ms') 2025-04-08 13:00:30,055 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-38458475-39088295 failed! 2025-04-08 13:00:30,114 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-38458475:ctest-vn-20743033 is 98.70.104.65 and allocation pool is NOT set 2025-04-08 13:00:32,171 - 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=9.02 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.791 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.791/4.903/9.016/4.112 ms') 2025-04-08 13:00:32,172 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-38458475-39088295 passed 2025-04-08 13:00:32,334 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-08 13:00:32,334 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-38458475-39088295, IP 98.70.104.67, Port 22 2025-04-08 13:00:32,505 - DEBUG - VM ctest-TestBasicPolicy-38458475-39088295 is ready for SSH connections 2025-04-08 13:00:32,505 - INFO - Waiting for VM ctest-TestBasicPolicy-38458475-60721001 to be up.. 2025-04-08 13:00:32,595 - DEBUG - VM is in ACTIVE state now 2025-04-08 13:00:32,595 - INFO - VM name : ctest-TestBasicPolicy-38458475-60721001 2025-04-08 13:00:32,674 - DEBUG - VM ctest-TestBasicPolicy-38458475-60721001 ID is a3c611b2-6d8f-4a02-9e0c-8ab3dfbd0281 2025-04-08 13:00:32,674 - DEBUG - VM ctest-TestBasicPolicy-38458475-60721001 launched on Node cn-jenkins-deploy-platform-ansible-os-3051-1 2025-04-08 13:00:32,753 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/a3c611b2-6d8f-4a02-9e0c-8ab3dfbd0281 2025-04-08 13:00:32,764 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/e28b78a7-f1b7-4e92-8f3a-2dbe98ea4509 2025-04-08 13:00:34,024 - 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=4.68 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.07 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 = 2.069/3.372/4.676/1.303 ms') 2025-04-08 13:00:34,024 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-38458475-60721001 passed 2025-04-08 13:00:34,182 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-08 13:00:34,182 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-38458475-60721001, IP 157.143.46.3, Port 22 2025-04-08 13:00:34,336 - DEBUG - VM ctest-TestBasicPolicy-38458475-60721001 is ready for SSH connections 2025-04-08 13:00:34,337 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-08 13:00:34,337 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 157.143.46.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.34, gateway password: c0ntrail123 2025-04-08 13:00:34,337 - DEBUG - ping -s 56 -c 3 -W 1 157.143.46.3 2025-04-08 13:00:38,135 - DEBUG - PING 157.143.46.3 (157.143.46.3): 56 data bytes 64 bytes from 157.143.46.3: seq=0 ttl=63 time=5.437 ms 64 bytes from 157.143.46.3: seq=1 ttl=63 time=0.918 ms 64 bytes from 157.143.46.3: seq=2 ttl=63 time=1.173 ms --- 157.143.46.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.918/2.509/5.437 ms 2025-04-08 13:00:38,136 - INFO - Ping to IP 157.143.46.3 from VM ctest-TestBasicPolicy-38458475-39088295 passed 2025-04-08 13:00:38,333 - DEBUG - Policy Update Response {"network-policy": {"uuid": "95eb038f-c96a-45e4-ac74-848ae01c512e", "href": "http://10.0.0.34:8082/network-policy/95eb038f-c96a-45e4-ac74-848ae01c512e"}} 2025-04-08 13:00:38,334 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-08 13:00:38,334 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 157.143.46.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.34, gateway password: c0ntrail123 2025-04-08 13:00:38,334 - DEBUG - ping -s 56 -c 3 -W 1 157.143.46.3 2025-04-08 13:00:41,592 - DEBUG - PING 157.143.46.3 (157.143.46.3): 56 data bytes 64 bytes from 157.143.46.3: seq=0 ttl=63 time=2.090 ms --- 157.143.46.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.090/2.090/2.090 ms 2025-04-08 13:00:41,593 - WARNING - Ping to IP 157.143.46.3 from VM ctest-TestBasicPolicy-38458475-39088295 failed 2025-04-08 13:00:41,593 - INFO - Deleting VM ctest-TestBasicPolicy-38458475-60721001 2025-04-08 13:00:41,690 - INFO - Deleting VM ctest-TestBasicPolicy-38458475-39088295 2025-04-08 13:00:42,148 - INFO - Deleted policy ctest-policy-allow-all-23908687 2025-04-08 13:00:42,149 - INFO - Deleting VN ctest-vn-50660049 2025-04-08 13:00:42,194 - DEBUG - VN 50a9fb3c-a2cc-4da6-bde5-d89e6ff982b9 still in use: Unable to complete operation on network 50a9fb3c-a2cc-4da6-bde5-d89e6ff982b9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-494f7473-85f0-465f-b222-f2fd7fbb033a'] 2025-04-08 13:00:42,194 - WARNING - Deleting VN ctest-vn-50660049 failed..Will retry 2025-04-08 13:00:44,341 - DEBUG - Response for deleting network () 2025-04-08 13:00:44,341 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/ed94399d-8e75-45cb-967b-80a9cee63bd6 2025-04-08 13:00:44,350 - DEBUG - Response Code: 404 2025-04-08 13:00:44,350 - DEBUG - Requesting: http://10.0.0.34:8082/domains 2025-04-08 13:00:44,357 - DEBUG - Requesting: http://10.0.0.34:8082/domain/1a762224-8969-452d-978e-ecbcf993dced 2025-04-08 13:00:44,420 - DEBUG - Requesting: http://10.0.0.34:8082/project/48a72cc9-0515-4478-b2b1-ac79625ba949 2025-04-08 13:00:44,503 - INFO - Validated that VN ctest-vn-50660049 is not found in API Server 2025-04-08 13:00:44,516 - DEBUG - VN ctest-vn-50660049 is not present in Agent 10.0.0.34 2025-04-08 13:00:44,516 - INFO - Validated that VN ctest-vn-50660049 is not in any agent 2025-04-08 13:00:44,535 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-50660049 info 2025-04-08 13:00:44,536 - INFO - Deleting VN ctest-vn-20743033 2025-04-08 13:00:44,689 - DEBUG - Response for deleting network () 2025-04-08 13:00:44,689 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/6729b8fe-5d2a-47f9-a0f3-fe3d1781c013 2025-04-08 13:00:44,698 - DEBUG - Response Code: 404 2025-04-08 13:00:44,698 - DEBUG - Requesting: http://10.0.0.34:8082/domains 2025-04-08 13:00:44,705 - DEBUG - Requesting: http://10.0.0.34:8082/domain/1a762224-8969-452d-978e-ecbcf993dced 2025-04-08 13:00:44,760 - DEBUG - Requesting: http://10.0.0.34:8082/project/48a72cc9-0515-4478-b2b1-ac79625ba949 2025-04-08 13:00:44,837 - INFO - Validated that VN ctest-vn-20743033 is not found in API Server 2025-04-08 13:00:44,854 - DEBUG - VN ctest-vn-20743033 is not present in Agent 10.0.0.34 2025-04-08 13:00:44,854 - INFO - Validated that VN ctest-vn-20743033 is not in any agent 2025-04-08 13:00:44,873 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-20743033 info 2025-04-08 13:00:45,144 - DEBUG - No XMPP flaps were noticed during the test 2025-04-08 13:00:45,144 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2025-04-08 13:00:45,144 - INFO - -------------------------------------------------------------------------------- 2025-04-08 13:00:45,843 - INFO - Deleted project: ctest-TestBasicPolicy-38458475, ID : 48a72cc9-0515-4478-b2b1-ac79625ba949