2025-03-28 08:07:10,861 - INFO - Domain Default found not creating 2025-03-28 08:07:11,014 - INFO - Project ctest-TestBasicPolicy-23723263 not found, creating it 2025-03-28 08:07:11,471 - INFO - Created Project:ctest-TestBasicPolicy-23723263, ID : 80efd665-679e-42ec-9b90-9d306f8ed950 2025-03-28 08:07:13,039 - INFO - ================================================================================ 2025-03-28 08:07:13,040 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-03-28 08:07:13,040 - 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-03-28 08:07:13,308 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.5': '0'}} with 2025-03-28 08:07:13,308 - INFO - Initial checks done. Running the testcase now 2025-03-28 08:07:13,309 - INFO - 2025-03-28 08:07:13,821 - DEBUG - Response for create_network : {'network': {'id': 'c20942b1-e542-47c8-9ac0-87c283fed364', 'name': 'ctest-vn-75816308', 'tenant_id': '80efd665679e42ec9b909d306f8ed950', 'project_id': '80efd665679e42ec9b909d306f8ed950', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23723263', 'ctest-vn-75816308'], 'port_security_enabled': True, 'description': ''}} 2025-03-28 08:07:13,982 - DEBUG - Response for create_subnet : {'subnet': {'id': '783db11e-bff9-44e2-b55b-ea58acce77d9', 'name': '', 'tenant_id': '80efd665679e42ec9b909d306f8ed950', 'network_id': 'c20942b1-e542-47c8-9ac0-87c283fed364', 'ip_version': 4, 'cidr': '202.250.29.128/26', 'allocation_pools': [{'start': '202.250.29.130', 'end': '202.250.29.190'}], 'gateway_ip': '202.250.29.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '202.250.29.130', 'tags': [], 'project_id': '80efd665679e42ec9b909d306f8ed950'}} 2025-03-28 08:07:14,000 - INFO - Created VN ctest-vn-75816308 2025-03-28 08:07:14,054 - DEBUG - VN ctest-vn-75816308 UUID is c20942b1-e542-47c8-9ac0-87c283fed364 2025-03-28 08:07:14,355 - DEBUG - Response for create_network : {'network': {'id': '1da598f5-0bd2-4958-a208-c0babfd75a19', 'name': 'ctest-vn-43924098', 'tenant_id': '80efd665679e42ec9b909d306f8ed950', 'project_id': '80efd665679e42ec9b909d306f8ed950', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23723263', 'ctest-vn-43924098'], 'port_security_enabled': True, 'description': ''}} 2025-03-28 08:07:14,561 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f8cafe59-efad-4398-973c-0d940ca7cc34', 'name': '', 'tenant_id': '80efd665679e42ec9b909d306f8ed950', 'network_id': '1da598f5-0bd2-4958-a208-c0babfd75a19', 'ip_version': 4, 'cidr': '168.135.184.64/26', 'allocation_pools': [{'start': '168.135.184.66', 'end': '168.135.184.126'}], 'gateway_ip': '168.135.184.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.135.184.66', 'tags': [], 'project_id': '80efd665679e42ec9b909d306f8ed950'}} 2025-03-28 08:07:14,580 - INFO - Created VN ctest-vn-43924098 2025-03-28 08:07:14,630 - DEBUG - VN ctest-vn-43924098 UUID is 1da598f5-0bd2-4958-a208-c0babfd75a19 2025-03-28 08:07:14,753 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-23723263:ctest-vn-75816308, 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-23723263:ctest-vn-43924098, 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-03-28 08:07:15,072 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c20942b1-e542-47c8-9ac0-87c283fed364', 'name': 'ctest-vn-75816308', 'tenant_id': '80efd665679e42ec9b909d306f8ed950', 'project_id': '80efd665679e42ec9b909d306f8ed950', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['783db11e-bff9-44e2-b55b-ea58acce77d9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23723263', 'ctest-vn-75816308'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23723263', 'ctest-policy-allow-all-50820274']], 'subnet_ipam': [{'subnet_cidr': '202.250.29.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-03-28 08:07:15,306 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1da598f5-0bd2-4958-a208-c0babfd75a19', 'name': 'ctest-vn-43924098', 'tenant_id': '80efd665679e42ec9b909d306f8ed950', 'project_id': '80efd665679e42ec9b909d306f8ed950', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f8cafe59-efad-4398-973c-0d940ca7cc34'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23723263', 'ctest-vn-43924098'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23723263', 'ctest-policy-allow-all-50820274']], 'subnet_ipam': [{'subnet_cidr': '168.135.184.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-03-28 08:07:15,482 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-03-28 08:07:15,772 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-03-28 08:07:15,800 - DEBUG - Requesting: http://10.0.0.41:8082/domain/1a6069e3-42ca-460b-8139-89b189786836 2025-03-28 08:07:15,813 - DEBUG - Requesting: http://10.0.0.41:8082/project/80efd665-679e-42ec-9b90-9d306f8ed950 2025-03-28 08:07:15,890 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/c20942b1-e542-47c8-9ac0-87c283fed364 2025-03-28 08:07:15,901 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/c20942b1-e542-47c8-9ac0-87c283fed364 2025-03-28 08:07:15,911 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/7bc4ac74-b7f2-41a6-90d0-a8f037ce3856 2025-03-28 08:07:15,918 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/7bc4ac74-b7f2-41a6-90d0-a8f037ce3856 2025-03-28 08:07:15,925 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/4c431859-b997-41b4-b570-12e48ea55857 2025-03-28 08:07:15,932 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-03-28 08:07:15,932 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/c20942b1-e542-47c8-9ac0-87c283fed364 2025-03-28 08:07:15,942 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/7bc4ac74-b7f2-41a6-90d0-a8f037ce3856 2025-03-28 08:07:15,956 - INFO - Verified VN network id 9 for VN c20942b1-e542-47c8-9ac0-87c283fed364 2025-03-28 08:07:15,956 - INFO - Verifications in API Server for VN ctest-vn-75816308 passed 2025-03-28 08:07:15,956 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/c20942b1-e542-47c8-9ac0-87c283fed364 2025-03-28 08:07:15,966 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/7bc4ac74-b7f2-41a6-90d0-a8f037ce3856 2025-03-28 08:07:15,973 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/7bc4ac74-b7f2-41a6-90d0-a8f037ce3856 2025-03-28 08:07:15,981 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/4c431859-b997-41b4-b570-12e48ea55857 2025-03-28 08:07:15,993 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23723263:ctest-vn-75816308', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23723263', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13981779849971386312', 'uuid-lslong': '11151061946877268836'}, 'enable': 'true', 'created': '2025-03-28T08:07:13', 'last-modified': '2025-03-28T08:07:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.949079'} 2025-03-28 08:07:16,000 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-03-28 08:07:16,000 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-75816308 passed 2025-03-28 08:07:16,000 - DEBUG - ====Verifying policy data for ctest-vn-75816308 in API_Server ====== 2025-03-28 08:07:16,001 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-03-28 08:07:16,006 - DEBUG - Requesting: http://10.0.0.41:8082/domain/1a6069e3-42ca-460b-8139-89b189786836 2025-03-28 08:07:16,017 - DEBUG - Requesting: http://10.0.0.41:8082/project/80efd665-679e-42ec-9b90-9d306f8ed950 2025-03-28 08:07:16,095 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/c20942b1-e542-47c8-9ac0-87c283fed364 2025-03-28 08:07:16,105 - DEBUG - ==>Verifying data for policy with id: 88fc79e4-fedb-49bd-99fb-633bfd2de4a7, fqn: ['default-domain', 'ctest-TestBasicPolicy-23723263', 'ctest-policy-allow-all-50820274'] 2025-03-28 08:07:16,105 - INFO - VN ctest-vn-75816308 Policy verification: verify_vn_policy_in_api_server, status: True 2025-03-28 08:07:16,105 - DEBUG - Verifying the vn in opserver 2025-03-28 08:07:16,106 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23723263:ctest-vn-75816308 virtual network link through opserver 10.0.0.41 2025-03-28 08:07:16,106 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-03-28 08:07:16,402 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-03-28 08:07:16,458 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23723263:ctest-vn-75816308', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23723263:ctest-vn-75816308?flat'} 2025-03-28 08:07:16,458 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23723263:ctest-vn-75816308 is found in opserver 2025-03-28 08:07:16,470 - DEBUG - Do not have enough data to verify VN in agent 2025-03-28 08:07:16,476 - DEBUG - VRF ids for VN ctest-vn-75816308: {} 2025-03-28 08:07:16,476 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-03-28 08:07:16,482 - DEBUG - Requesting: http://10.0.0.41:8082/domain/1a6069e3-42ca-460b-8139-89b189786836 2025-03-28 08:07:16,495 - DEBUG - Requesting: http://10.0.0.41:8082/project/80efd665-679e-42ec-9b90-9d306f8ed950 2025-03-28 08:07:16,575 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/1da598f5-0bd2-4958-a208-c0babfd75a19 2025-03-28 08:07:16,588 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/1da598f5-0bd2-4958-a208-c0babfd75a19 2025-03-28 08:07:16,599 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/56965ed5-9750-4439-8df6-a3d28e766ca2 2025-03-28 08:07:16,608 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/56965ed5-9750-4439-8df6-a3d28e766ca2 2025-03-28 08:07:16,616 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/33b7709a-8c01-45ba-a3b6-97d6906d0167 2025-03-28 08:07:16,624 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-28 08:07:16,624 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/1da598f5-0bd2-4958-a208-c0babfd75a19 2025-03-28 08:07:16,635 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/56965ed5-9750-4439-8df6-a3d28e766ca2 2025-03-28 08:07:16,653 - INFO - Verified VN network id 10 for VN 1da598f5-0bd2-4958-a208-c0babfd75a19 2025-03-28 08:07:16,653 - INFO - Verifications in API Server for VN ctest-vn-43924098 passed 2025-03-28 08:07:16,653 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/1da598f5-0bd2-4958-a208-c0babfd75a19 2025-03-28 08:07:16,667 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/56965ed5-9750-4439-8df6-a3d28e766ca2 2025-03-28 08:07:16,677 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/56965ed5-9750-4439-8df6-a3d28e766ca2 2025-03-28 08:07:16,686 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/33b7709a-8c01-45ba-a3b6-97d6906d0167 2025-03-28 08:07:16,701 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23723263:ctest-vn-43924098', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23723263', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2136281776489908568', 'uuid-lslong': '11675793942273022489'}, 'enable': 'true', 'created': '2025-03-28T08:07:14', 'last-modified': '2025-03-28T08:07:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.417309'} 2025-03-28 08:07:16,708 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-28 08:07:16,709 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-43924098 passed 2025-03-28 08:07:16,709 - DEBUG - ====Verifying policy data for ctest-vn-43924098 in API_Server ====== 2025-03-28 08:07:16,709 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-03-28 08:07:16,715 - DEBUG - Requesting: http://10.0.0.41:8082/domain/1a6069e3-42ca-460b-8139-89b189786836 2025-03-28 08:07:16,729 - DEBUG - Requesting: http://10.0.0.41:8082/project/80efd665-679e-42ec-9b90-9d306f8ed950 2025-03-28 08:07:16,804 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/1da598f5-0bd2-4958-a208-c0babfd75a19 2025-03-28 08:07:16,814 - DEBUG - ==>Verifying data for policy with id: 88fc79e4-fedb-49bd-99fb-633bfd2de4a7, fqn: ['default-domain', 'ctest-TestBasicPolicy-23723263', 'ctest-policy-allow-all-50820274'] 2025-03-28 08:07:16,814 - INFO - VN ctest-vn-43924098 Policy verification: verify_vn_policy_in_api_server, status: True 2025-03-28 08:07:16,814 - DEBUG - Verifying the vn in opserver 2025-03-28 08:07:16,815 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23723263:ctest-vn-43924098 virtual network link through opserver 10.0.0.41 2025-03-28 08:07:16,815 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-03-28 08:07:16,825 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23723263:ctest-vn-43924098', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23723263:ctest-vn-43924098?flat'} 2025-03-28 08:07:16,825 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23723263:ctest-vn-43924098 is found in opserver 2025-03-28 08:07:16,840 - DEBUG - Do not have enough data to verify VN in agent 2025-03-28 08:07:16,845 - DEBUG - VRF ids for VN ctest-vn-43924098: {} 2025-03-28 08:07:16,901 - DEBUG - Services list from nova: [, , ] 2025-03-28 08:07:17,884 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2985-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2985-1) 2025-03-28 08:07:19,100 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2985-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2985-1) 2025-03-28 08:07:19,100 - INFO - Waiting for VM ctest-TestBasicPolicy-23723263-24288103 to be up.. 2025-03-28 08:07:19,178 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-28 08:07:24,253 - DEBUG - VM is in ACTIVE state now 2025-03-28 08:07:24,253 - INFO - VM name : ctest-TestBasicPolicy-23723263-24288103 2025-03-28 08:07:24,326 - DEBUG - VM ctest-TestBasicPolicy-23723263-24288103 ID is 769e76e0-5ea7-4b7c-8d13-e5955c2c8a8d 2025-03-28 08:07:24,344 - DEBUG - VM ctest-TestBasicPolicy-23723263-24288103 launched on Node cn-jenkins-deploy-platform-ansible-os-2985-1 2025-03-28 08:07:24,420 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/769e76e0-5ea7-4b7c-8d13-e5955c2c8a8d 2025-03-28 08:07:24,428 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/8ba8d4bd-9839-4916-9569-dd7c34b54f81 2025-03-28 08:07:27,678 - 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 1011ms') 2025-03-28 08:07:27,678 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-23723263-24288103 failed! 2025-03-28 08:07:27,734 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-23723263:ctest-vn-75816308 is 202.250.29.129 and allocation pool is NOT set 2025-03-28 08:07:29,794 - 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=4.35 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.766 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.766/2.558/4.351/1.792 ms') 2025-03-28 08:07:29,794 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-23723263-24288103 passed 2025-03-28 08:07:29,946 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-28 08:07:29,946 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-23723263-24288103, IP 202.250.29.131, Port 22 2025-03-28 08:07:30,106 - DEBUG - VM ctest-TestBasicPolicy-23723263-24288103 is ready for SSH connections 2025-03-28 08:07:30,106 - INFO - Waiting for VM ctest-TestBasicPolicy-23723263-87400300 to be up.. 2025-03-28 08:07:30,181 - DEBUG - VM is in ACTIVE state now 2025-03-28 08:07:30,181 - INFO - VM name : ctest-TestBasicPolicy-23723263-87400300 2025-03-28 08:07:30,254 - DEBUG - VM ctest-TestBasicPolicy-23723263-87400300 ID is 5b74e22f-8670-4b8e-8121-7bf69de54d4d 2025-03-28 08:07:30,254 - DEBUG - VM ctest-TestBasicPolicy-23723263-87400300 launched on Node cn-jenkins-deploy-platform-ansible-os-2985-1 2025-03-28 08:07:30,329 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/5b74e22f-8670-4b8e-8121-7bf69de54d4d 2025-03-28 08:07:30,339 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/7bbaebf6-2b6e-4dfa-9ad6-479b6e8f44a7 2025-03-28 08:07:31,573 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.397 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.397/1.578/2.760/1.181 ms') 2025-03-28 08:07:31,573 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-23723263-87400300 passed 2025-03-28 08:07:31,722 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-28 08:07:31,722 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-23723263-87400300, IP 168.135.184.67, Port 22 2025-03-28 08:07:31,877 - DEBUG - VM ctest-TestBasicPolicy-23723263-87400300 is ready for SSH connections 2025-03-28 08:07:31,877 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-28 08:07:31,878 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 168.135.184.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-03-28 08:07:31,878 - DEBUG - ping -s 56 -c 3 -W 1 168.135.184.67 2025-03-28 08:07:35,558 - DEBUG - PING 168.135.184.67 (168.135.184.67): 56 data bytes 64 bytes from 168.135.184.67: seq=0 ttl=63 time=3.334 ms 64 bytes from 168.135.184.67: seq=1 ttl=63 time=1.015 ms 64 bytes from 168.135.184.67: seq=2 ttl=63 time=1.179 ms --- 168.135.184.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.015/1.842/3.334 ms 2025-03-28 08:07:35,558 - INFO - Ping to IP 168.135.184.67 from VM ctest-TestBasicPolicy-23723263-24288103 passed 2025-03-28 08:07:35,738 - DEBUG - Policy Update Response {"network-policy": {"uuid": "88fc79e4-fedb-49bd-99fb-633bfd2de4a7", "href": "http://10.0.0.41:8082/network-policy/88fc79e4-fedb-49bd-99fb-633bfd2de4a7"}} 2025-03-28 08:07:35,738 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-28 08:07:35,738 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 168.135.184.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-03-28 08:07:35,738 - DEBUG - ping -s 56 -c 3 -W 1 168.135.184.67 2025-03-28 08:07:38,946 - DEBUG - PING 168.135.184.67 (168.135.184.67): 56 data bytes --- 168.135.184.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-03-28 08:07:38,946 - WARNING - Ping to IP 168.135.184.67 from VM ctest-TestBasicPolicy-23723263-24288103 failed 2025-03-28 08:07:38,946 - INFO - Deleting VM ctest-TestBasicPolicy-23723263-87400300 2025-03-28 08:07:39,010 - INFO - Deleting VM ctest-TestBasicPolicy-23723263-24288103 2025-03-28 08:07:39,368 - INFO - Deleted policy ctest-policy-allow-all-50820274 2025-03-28 08:07:39,368 - INFO - Deleting VN ctest-vn-43924098 2025-03-28 08:07:39,403 - DEBUG - VN 1da598f5-0bd2-4958-a208-c0babfd75a19 still in use: Unable to complete operation on network 1da598f5-0bd2-4958-a208-c0babfd75a19. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c6810252-0a63-49b5-9d0a-839ee312cbec'] 2025-03-28 08:07:39,403 - WARNING - Deleting VN ctest-vn-43924098 failed..Will retry 2025-03-28 08:07:41,508 - DEBUG - Response for deleting network () 2025-03-28 08:07:41,508 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/56965ed5-9750-4439-8df6-a3d28e766ca2 2025-03-28 08:07:41,515 - DEBUG - Response Code: 404 2025-03-28 08:07:41,515 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-03-28 08:07:41,521 - DEBUG - Requesting: http://10.0.0.41:8082/domain/1a6069e3-42ca-460b-8139-89b189786836 2025-03-28 08:07:41,576 - DEBUG - Requesting: http://10.0.0.41:8082/project/80efd665-679e-42ec-9b90-9d306f8ed950 2025-03-28 08:07:41,651 - INFO - Validated that VN ctest-vn-43924098 is not found in API Server 2025-03-28 08:07:41,661 - DEBUG - VN ctest-vn-43924098 is not present in Agent 10.0.0.41 2025-03-28 08:07:41,661 - INFO - Validated that VN ctest-vn-43924098 is not in any agent 2025-03-28 08:07:41,677 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-43924098 info 2025-03-28 08:07:41,677 - INFO - Deleting VN ctest-vn-75816308 2025-03-28 08:07:41,778 - DEBUG - Response for deleting network () 2025-03-28 08:07:41,778 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/7bc4ac74-b7f2-41a6-90d0-a8f037ce3856 2025-03-28 08:07:41,787 - DEBUG - Response Code: 404 2025-03-28 08:07:41,787 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-03-28 08:07:41,793 - DEBUG - Requesting: http://10.0.0.41:8082/domain/1a6069e3-42ca-460b-8139-89b189786836 2025-03-28 08:07:41,848 - DEBUG - Requesting: http://10.0.0.41:8082/project/80efd665-679e-42ec-9b90-9d306f8ed950 2025-03-28 08:07:41,919 - INFO - Validated that VN ctest-vn-75816308 is not found in API Server 2025-03-28 08:07:41,930 - DEBUG - VN ctest-vn-75816308 is not present in Agent 10.0.0.41 2025-03-28 08:07:41,930 - INFO - Validated that VN ctest-vn-75816308 is not in any agent 2025-03-28 08:07:41,945 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-75816308 info 2025-03-28 08:07:42,201 - DEBUG - No XMPP flaps were noticed during the test
2025-03-28 08:07:42,201 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-03-28 08:07:42,201 - INFO - -------------------------------------------------------------------------------- 2025-03-28 08:07:42,885 - INFO - Deleted project: ctest-TestBasicPolicy-23723263, ID : 80efd665-679e-42ec-9b90-9d306f8ed950