2025-03-30 14:28:00,720 - INFO - Domain Default found not creating 2025-03-30 14:28:00,860 - INFO - Project ctest-TestBasicPolicy-78169400 not found, creating it 2025-03-30 14:28:01,323 - INFO - Created Project:ctest-TestBasicPolicy-78169400, ID : 894cb4da-a9aa-4083-9435-3abadce399f3 2025-03-30 14:28:02,754 - INFO - ================================================================================ 2025-03-30 14:28:02,754 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-03-30 14:28:02,754 - 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-30 14:28:03,011 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.12': '0'}} with 2025-03-30 14:28:03,011 - INFO - Initial checks done. Running the testcase now 2025-03-30 14:28:03,011 - INFO - 2025-03-30 14:28:03,567 - DEBUG - Response for create_network : {'network': {'id': 'ab7283a3-02f9-41bf-9dcb-71e951e34f51', 'name': 'ctest-vn-90881368', 'tenant_id': '894cb4daa9aa408394353abadce399f3', 'project_id': '894cb4daa9aa408394353abadce399f3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78169400', 'ctest-vn-90881368'], 'port_security_enabled': True, 'description': ''}} 2025-03-30 14:28:03,741 - DEBUG - Response for create_subnet : {'subnet': {'id': '1398f8d5-eae8-4203-9d3f-145baed2e73f', 'name': '', 'tenant_id': '894cb4daa9aa408394353abadce399f3', 'network_id': 'ab7283a3-02f9-41bf-9dcb-71e951e34f51', 'ip_version': 4, 'cidr': '195.253.204.64/26', 'allocation_pools': [{'start': '195.253.204.66', 'end': '195.253.204.126'}], 'gateway_ip': '195.253.204.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '195.253.204.66', 'tags': [], 'project_id': '894cb4daa9aa408394353abadce399f3'}} 2025-03-30 14:28:03,759 - INFO - Created VN ctest-vn-90881368 2025-03-30 14:28:03,813 - DEBUG - VN ctest-vn-90881368 UUID is ab7283a3-02f9-41bf-9dcb-71e951e34f51 2025-03-30 14:28:04,459 - DEBUG - Response for create_network : {'network': {'id': 'bc382eb6-69cb-49b9-944b-712b8730fdc4', 'name': 'ctest-vn-61569873', 'tenant_id': '894cb4daa9aa408394353abadce399f3', 'project_id': '894cb4daa9aa408394353abadce399f3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78169400', 'ctest-vn-61569873'], 'port_security_enabled': True, 'description': ''}} 2025-03-30 14:28:04,726 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd2aa019b-6e0d-4c0c-b398-361f98dd5491', 'name': '', 'tenant_id': '894cb4daa9aa408394353abadce399f3', 'network_id': 'bc382eb6-69cb-49b9-944b-712b8730fdc4', 'ip_version': 4, 'cidr': '190.4.248.128/26', 'allocation_pools': [{'start': '190.4.248.130', 'end': '190.4.248.190'}], 'gateway_ip': '190.4.248.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '190.4.248.130', 'tags': [], 'project_id': '894cb4daa9aa408394353abadce399f3'}} 2025-03-30 14:28:04,748 - INFO - Created VN ctest-vn-61569873 2025-03-30 14:28:04,801 - DEBUG - VN ctest-vn-61569873 UUID is bc382eb6-69cb-49b9-944b-712b8730fdc4 2025-03-30 14:28:04,957 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-78169400:ctest-vn-90881368, 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-78169400:ctest-vn-61569873, 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-30 14:28:05,257 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ab7283a3-02f9-41bf-9dcb-71e951e34f51', 'name': 'ctest-vn-90881368', 'tenant_id': '894cb4daa9aa408394353abadce399f3', 'project_id': '894cb4daa9aa408394353abadce399f3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1398f8d5-eae8-4203-9d3f-145baed2e73f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78169400', 'ctest-vn-90881368'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-78169400', 'ctest-policy-allow-all-60432848']], 'subnet_ipam': [{'subnet_cidr': '195.253.204.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-03-30 14:28:05,492 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bc382eb6-69cb-49b9-944b-712b8730fdc4', 'name': 'ctest-vn-61569873', 'tenant_id': '894cb4daa9aa408394353abadce399f3', 'project_id': '894cb4daa9aa408394353abadce399f3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d2aa019b-6e0d-4c0c-b398-361f98dd5491'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78169400', 'ctest-vn-61569873'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-78169400', 'ctest-policy-allow-all-60432848']], 'subnet_ipam': [{'subnet_cidr': '190.4.248.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-03-30 14:28:05,645 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-03-30 14:28:05,948 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-03-30 14:28:05,981 - DEBUG - Requesting: http://10.0.0.17:8082/domain/efb228a0-5394-4e29-abbd-08aa85bd52bc 2025-03-30 14:28:05,996 - DEBUG - Requesting: http://10.0.0.17:8082/project/894cb4da-a9aa-4083-9435-3abadce399f3 2025-03-30 14:28:06,070 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/ab7283a3-02f9-41bf-9dcb-71e951e34f51 2025-03-30 14:28:06,081 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/ab7283a3-02f9-41bf-9dcb-71e951e34f51 2025-03-30 14:28:06,090 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/7cf79f3e-5e35-4bb1-8e35-50d437f737f0 2025-03-30 14:28:06,096 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/7cf79f3e-5e35-4bb1-8e35-50d437f737f0 2025-03-30 14:28:06,103 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/ef010375-a813-47a2-adee-5b88e0ac711f 2025-03-30 14:28:06,110 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-03-30 14:28:06,110 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/ab7283a3-02f9-41bf-9dcb-71e951e34f51 2025-03-30 14:28:06,119 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/7cf79f3e-5e35-4bb1-8e35-50d437f737f0 2025-03-30 14:28:06,132 - INFO - Verified VN network id 9 for VN ab7283a3-02f9-41bf-9dcb-71e951e34f51 2025-03-30 14:28:06,132 - INFO - Verifications in API Server for VN ctest-vn-90881368 passed 2025-03-30 14:28:06,132 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/ab7283a3-02f9-41bf-9dcb-71e951e34f51 2025-03-30 14:28:06,141 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/7cf79f3e-5e35-4bb1-8e35-50d437f737f0 2025-03-30 14:28:06,148 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/7cf79f3e-5e35-4bb1-8e35-50d437f737f0 2025-03-30 14:28:06,154 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/ef010375-a813-47a2-adee-5b88e0ac711f 2025-03-30 14:28:06,167 - DEBUG - Control-node 10.0.0.17 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-78169400:ctest-vn-90881368', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-78169400', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12354081463983489471', 'uuid-lslong': '11370306931142119249'}, 'enable': 'true', 'created': '2025-03-30T14:28:03', 'last-modified': '2025-03-30T14:28:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.927915'} 2025-03-30 14:28:06,174 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-03-30 14:28:06,175 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-90881368 passed 2025-03-30 14:28:06,175 - DEBUG - ====Verifying policy data for ctest-vn-90881368 in API_Server ====== 2025-03-30 14:28:06,175 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-03-30 14:28:06,183 - DEBUG - Requesting: http://10.0.0.17:8082/domain/efb228a0-5394-4e29-abbd-08aa85bd52bc 2025-03-30 14:28:06,196 - DEBUG - Requesting: http://10.0.0.17:8082/project/894cb4da-a9aa-4083-9435-3abadce399f3 2025-03-30 14:28:06,268 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/ab7283a3-02f9-41bf-9dcb-71e951e34f51 2025-03-30 14:28:06,279 - DEBUG - ==>Verifying data for policy with id: 87442470-cdfb-4b1e-b471-c4cc301775b4, fqn: ['default-domain', 'ctest-TestBasicPolicy-78169400', 'ctest-policy-allow-all-60432848'] 2025-03-30 14:28:06,279 - INFO - VN ctest-vn-90881368 Policy verification: verify_vn_policy_in_api_server, status: True 2025-03-30 14:28:06,279 - DEBUG - Verifying the vn in opserver 2025-03-30 14:28:06,279 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-78169400:ctest-vn-90881368 virtual network link through opserver 10.0.0.17 2025-03-30 14:28:06,279 - DEBUG - Requesting: http://10.0.0.17:8081/analytics/uves/virtual-networks 2025-03-30 14:28:06,571 - DEBUG - Requesting: http://10.0.0.17:8081/analytics/uves/virtual-networks 2025-03-30 14:28:06,623 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-78169400:ctest-vn-90881368', 'href': 'http://10.0.0.17:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-78169400:ctest-vn-90881368?flat'} 2025-03-30 14:28:06,623 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-78169400:ctest-vn-90881368 is found in opserver 2025-03-30 14:28:06,634 - DEBUG - Do not have enough data to verify VN in agent 2025-03-30 14:28:06,639 - DEBUG - VRF ids for VN ctest-vn-90881368: {} 2025-03-30 14:28:06,639 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-03-30 14:28:06,645 - DEBUG - Requesting: http://10.0.0.17:8082/domain/efb228a0-5394-4e29-abbd-08aa85bd52bc 2025-03-30 14:28:06,655 - DEBUG - Requesting: http://10.0.0.17:8082/project/894cb4da-a9aa-4083-9435-3abadce399f3 2025-03-30 14:28:06,727 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/bc382eb6-69cb-49b9-944b-712b8730fdc4 2025-03-30 14:28:06,739 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/bc382eb6-69cb-49b9-944b-712b8730fdc4 2025-03-30 14:28:06,749 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/34b64401-df41-4e96-8675-7b8ace375400 2025-03-30 14:28:06,756 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/34b64401-df41-4e96-8675-7b8ace375400 2025-03-30 14:28:06,764 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/a950fbb0-71c2-4abe-8904-d350b5bcb05f 2025-03-30 14:28:06,771 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-30 14:28:06,771 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/bc382eb6-69cb-49b9-944b-712b8730fdc4 2025-03-30 14:28:06,781 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/34b64401-df41-4e96-8675-7b8ace375400 2025-03-30 14:28:06,795 - INFO - Verified VN network id 10 for VN bc382eb6-69cb-49b9-944b-712b8730fdc4 2025-03-30 14:28:06,795 - INFO - Verifications in API Server for VN ctest-vn-61569873 passed 2025-03-30 14:28:06,795 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/bc382eb6-69cb-49b9-944b-712b8730fdc4 2025-03-30 14:28:06,804 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/34b64401-df41-4e96-8675-7b8ace375400 2025-03-30 14:28:06,810 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/34b64401-df41-4e96-8675-7b8ace375400 2025-03-30 14:28:06,817 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/a950fbb0-71c2-4abe-8904-d350b5bcb05f 2025-03-30 14:28:06,829 - DEBUG - Control-node 10.0.0.17 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-78169400:ctest-vn-61569873', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-78169400', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13562641638820104633', 'uuid-lslong': '10685758972632300996'}, 'enable': 'true', 'created': '2025-03-30T14:28:04', 'last-modified': '2025-03-30T14:28:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.356775'} 2025-03-30 14:28:06,835 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-30 14:28:06,835 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-61569873 passed 2025-03-30 14:28:06,835 - DEBUG - ====Verifying policy data for ctest-vn-61569873 in API_Server ====== 2025-03-30 14:28:06,835 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-03-30 14:28:06,840 - DEBUG - Requesting: http://10.0.0.17:8082/domain/efb228a0-5394-4e29-abbd-08aa85bd52bc 2025-03-30 14:28:06,851 - DEBUG - Requesting: http://10.0.0.17:8082/project/894cb4da-a9aa-4083-9435-3abadce399f3 2025-03-30 14:28:06,925 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/bc382eb6-69cb-49b9-944b-712b8730fdc4 2025-03-30 14:28:06,937 - DEBUG - ==>Verifying data for policy with id: 87442470-cdfb-4b1e-b471-c4cc301775b4, fqn: ['default-domain', 'ctest-TestBasicPolicy-78169400', 'ctest-policy-allow-all-60432848'] 2025-03-30 14:28:06,937 - INFO - VN ctest-vn-61569873 Policy verification: verify_vn_policy_in_api_server, status: True 2025-03-30 14:28:06,937 - DEBUG - Verifying the vn in opserver 2025-03-30 14:28:06,937 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-78169400:ctest-vn-61569873 virtual network link through opserver 10.0.0.17 2025-03-30 14:28:06,937 - DEBUG - Requesting: http://10.0.0.17:8081/analytics/uves/virtual-networks 2025-03-30 14:28:06,951 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-78169400:ctest-vn-61569873', 'href': 'http://10.0.0.17:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-78169400:ctest-vn-61569873?flat'} 2025-03-30 14:28:06,951 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-78169400:ctest-vn-61569873 is found in opserver 2025-03-30 14:28:06,963 - DEBUG - Do not have enough data to verify VN in agent 2025-03-30 14:28:06,969 - DEBUG - VRF ids for VN ctest-vn-61569873: {} 2025-03-30 14:28:07,034 - DEBUG - Services list from nova: [, , ] 2025-03-30 14:28:08,145 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3007-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3007-1) 2025-03-30 14:28:09,270 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3007-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3007-1) 2025-03-30 14:28:09,270 - INFO - Waiting for VM ctest-TestBasicPolicy-78169400-69871292 to be up.. 2025-03-30 14:28:09,367 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-30 14:28:14,460 - DEBUG - VM is in ACTIVE state now 2025-03-30 14:28:14,460 - INFO - VM name : ctest-TestBasicPolicy-78169400-69871292 2025-03-30 14:28:14,538 - DEBUG - VM ctest-TestBasicPolicy-78169400-69871292 ID is 6db0bb6e-c8ef-4bd2-b5d0-c6bb605ebf35 2025-03-30 14:28:14,556 - DEBUG - VM ctest-TestBasicPolicy-78169400-69871292 launched on Node cn-jenkins-deploy-platform-ansible-os-3007-1 2025-03-30 14:28:14,630 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/6db0bb6e-c8ef-4bd2-b5d0-c6bb605ebf35 2025-03-30 14:28:14,638 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/3c6d7290-bfd3-4f51-8087-201494a3d6a1 2025-03-30 14:28:17,907 - 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 1025ms') 2025-03-30 14:28:17,907 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-78169400-69871292 failed! 2025-03-30 14:28:17,965 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-78169400:ctest-vn-90881368 is 195.253.204.65 and allocation pool is NOT set 2025-03-30 14:28:20,028 - 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.14 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.95 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 = 1.951/3.047/4.144/1.096 ms') 2025-03-30 14:28:20,029 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-78169400-69871292 passed 2025-03-30 14:28:20,181 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-30 14:28:20,181 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-78169400-69871292, IP 195.253.204.67, Port 22 2025-03-30 14:28:20,341 - DEBUG - VM ctest-TestBasicPolicy-78169400-69871292 is ready for SSH connections 2025-03-30 14:28:20,341 - INFO - Waiting for VM ctest-TestBasicPolicy-78169400-07304119 to be up.. 2025-03-30 14:28:20,428 - DEBUG - VM is in ACTIVE state now 2025-03-30 14:28:20,428 - INFO - VM name : ctest-TestBasicPolicy-78169400-07304119 2025-03-30 14:28:20,503 - DEBUG - VM ctest-TestBasicPolicy-78169400-07304119 ID is ab9691ce-a379-428e-ba5c-576744f7023f 2025-03-30 14:28:20,503 - DEBUG - VM ctest-TestBasicPolicy-78169400-07304119 launched on Node cn-jenkins-deploy-platform-ansible-os-3007-1 2025-03-30 14:28:20,587 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/ab9691ce-a379-428e-ba5c-576744f7023f 2025-03-30 14:28:20,597 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/98fdd933-66e6-4d87-9ac5-4a8d263f267c 2025-03-30 14:28:21,846 - 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=3.34 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.547 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.547/1.941/3.335/1.394 ms') 2025-03-30 14:28:21,846 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-78169400-07304119 passed 2025-03-30 14:28:22,001 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-30 14:28:22,001 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-78169400-07304119, IP 190.4.248.131, Port 22 2025-03-30 14:28:22,156 - DEBUG - VM ctest-TestBasicPolicy-78169400-07304119 is ready for SSH connections 2025-03-30 14:28:22,156 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-30 14:28:22,156 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 190.4.248.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2025-03-30 14:28:22,156 - DEBUG - ping -s 56 -c 3 -W 1 190.4.248.131 2025-03-30 14:28:25,848 - DEBUG - PING 190.4.248.131 (190.4.248.131): 56 data bytes 64 bytes from 190.4.248.131: seq=0 ttl=63 time=5.097 ms 64 bytes from 190.4.248.131: seq=1 ttl=63 time=0.967 ms 64 bytes from 190.4.248.131: seq=2 ttl=63 time=0.803 ms --- 190.4.248.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.803/2.289/5.097 ms 2025-03-30 14:28:25,848 - INFO - Ping to IP 190.4.248.131 from VM ctest-TestBasicPolicy-78169400-69871292 passed 2025-03-30 14:28:26,033 - DEBUG - Policy Update Response {"network-policy": {"uuid": "87442470-cdfb-4b1e-b471-c4cc301775b4", "href": "http://10.0.0.17:8082/network-policy/87442470-cdfb-4b1e-b471-c4cc301775b4"}} 2025-03-30 14:28:26,033 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-30 14:28:26,033 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 190.4.248.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2025-03-30 14:28:26,033 - DEBUG - ping -s 56 -c 3 -W 1 190.4.248.131 2025-03-30 14:28:29,243 - DEBUG - PING 190.4.248.131 (190.4.248.131): 56 data bytes --- 190.4.248.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-03-30 14:28:29,243 - WARNING - Ping to IP 190.4.248.131 from VM ctest-TestBasicPolicy-78169400-69871292 failed 2025-03-30 14:28:29,243 - INFO - Deleting VM ctest-TestBasicPolicy-78169400-07304119 2025-03-30 14:28:29,309 - INFO - Deleting VM ctest-TestBasicPolicy-78169400-69871292 2025-03-30 14:28:29,677 - INFO - Deleted policy ctest-policy-allow-all-60432848 2025-03-30 14:28:29,677 - INFO - Deleting VN ctest-vn-61569873 2025-03-30 14:28:29,710 - DEBUG - VN bc382eb6-69cb-49b9-944b-712b8730fdc4 still in use: Unable to complete operation on network bc382eb6-69cb-49b9-944b-712b8730fdc4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-df13ec7d-cbb5-4db8-9c26-143ff461bfff'] 2025-03-30 14:28:29,710 - WARNING - Deleting VN ctest-vn-61569873 failed..Will retry 2025-03-30 14:28:31,882 - DEBUG - Response for deleting network () 2025-03-30 14:28:31,882 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/34b64401-df41-4e96-8675-7b8ace375400 2025-03-30 14:28:31,887 - DEBUG - Response Code: 404 2025-03-30 14:28:31,887 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-03-30 14:28:31,894 - DEBUG - Requesting: http://10.0.0.17:8082/domain/efb228a0-5394-4e29-abbd-08aa85bd52bc 2025-03-30 14:28:31,946 - DEBUG - Requesting: http://10.0.0.17:8082/project/894cb4da-a9aa-4083-9435-3abadce399f3 2025-03-30 14:28:32,017 - INFO - Validated that VN ctest-vn-61569873 is not found in API Server 2025-03-30 14:28:32,030 - DEBUG - VN ctest-vn-61569873 is not present in Agent 10.0.0.17 2025-03-30 14:28:32,030 - INFO - Validated that VN ctest-vn-61569873 is not in any agent 2025-03-30 14:28:32,045 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-61569873 info 2025-03-30 14:28:32,045 - INFO - Deleting VN ctest-vn-90881368 2025-03-30 14:28:32,161 - DEBUG - Response for deleting network () 2025-03-30 14:28:32,161 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/7cf79f3e-5e35-4bb1-8e35-50d437f737f0 2025-03-30 14:28:32,170 - DEBUG - Response Code: 404 2025-03-30 14:28:32,170 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-03-30 14:28:32,176 - DEBUG - Requesting: http://10.0.0.17:8082/domain/efb228a0-5394-4e29-abbd-08aa85bd52bc 2025-03-30 14:28:32,235 - DEBUG - Requesting: http://10.0.0.17:8082/project/894cb4da-a9aa-4083-9435-3abadce399f3 2025-03-30 14:28:32,312 - INFO - Validated that VN ctest-vn-90881368 is not found in API Server 2025-03-30 14:28:32,328 - DEBUG - VN ctest-vn-90881368 is not present in Agent 10.0.0.17 2025-03-30 14:28:32,328 - INFO - Validated that VN ctest-vn-90881368 is not in any agent 2025-03-30 14:28:32,343 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-90881368 info 2025-03-30 14:28:32,604 - DEBUG - No XMPP flaps were noticed during the test
2025-03-30 14:28:32,604 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-03-30 14:28:32,604 - INFO - -------------------------------------------------------------------------------- 2025-03-30 14:28:33,265 - INFO - Deleted project: ctest-TestBasicPolicy-78169400, ID : 894cb4da-a9aa-4083-9435-3abadce399f3