2025-03-28 11:22:31,635 - INFO - Domain Default found not creating 2025-03-28 11:22:31,815 - INFO - Project ctest-TestBasicPolicy-85221348 not found, creating it 2025-03-28 11:22:32,301 - INFO - Created Project:ctest-TestBasicPolicy-85221348, ID : ef2883db-48a3-41db-ab81-edfbf20e472c 2025-03-28 11:22:33,807 - INFO - ================================================================================ 2025-03-28 11:22:33,807 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-03-28 11:22:33,807 - 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 11:22:34,071 - DEBUG - Nothing to compare xmpp stats {'10.0.0.46': {'10.20.0.10': '0'}} with 2025-03-28 11:22:34,071 - INFO - Initial checks done. Running the testcase now 2025-03-28 11:22:34,071 - INFO - 2025-03-28 11:22:34,643 - DEBUG - Response for create_network : {'network': {'id': '93ded381-e4e3-4666-b0f5-5108c0676b5d', 'name': 'ctest-vn-60035477', 'tenant_id': 'ef2883db48a341dbab81edfbf20e472c', 'project_id': 'ef2883db48a341dbab81edfbf20e472c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85221348', 'ctest-vn-60035477'], 'port_security_enabled': True, 'description': ''}} 2025-03-28 11:22:34,841 - DEBUG - Response for create_subnet : {'subnet': {'id': '39499fd8-2e95-4fb7-a24b-820f72db0776', 'name': '', 'tenant_id': 'ef2883db48a341dbab81edfbf20e472c', 'network_id': '93ded381-e4e3-4666-b0f5-5108c0676b5d', 'ip_version': 4, 'cidr': '217.183.189.64/26', 'allocation_pools': [{'start': '217.183.189.66', 'end': '217.183.189.126'}], 'gateway_ip': '217.183.189.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '217.183.189.66', 'tags': [], 'project_id': 'ef2883db48a341dbab81edfbf20e472c'}} 2025-03-28 11:22:34,862 - INFO - Created VN ctest-vn-60035477 2025-03-28 11:22:34,919 - DEBUG - VN ctest-vn-60035477 UUID is 93ded381-e4e3-4666-b0f5-5108c0676b5d 2025-03-28 11:22:35,226 - DEBUG - Response for create_network : {'network': {'id': 'e36863d7-4279-4b06-886f-23a9331c2069', 'name': 'ctest-vn-00005246', 'tenant_id': 'ef2883db48a341dbab81edfbf20e472c', 'project_id': 'ef2883db48a341dbab81edfbf20e472c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85221348', 'ctest-vn-00005246'], 'port_security_enabled': True, 'description': ''}} 2025-03-28 11:22:35,386 - DEBUG - Response for create_subnet : {'subnet': {'id': '65ae02a7-516f-4ec6-bbac-cdff1f7f5fa8', 'name': '', 'tenant_id': 'ef2883db48a341dbab81edfbf20e472c', 'network_id': 'e36863d7-4279-4b06-886f-23a9331c2069', 'ip_version': 4, 'cidr': '126.6.13.128/26', 'allocation_pools': [{'start': '126.6.13.130', 'end': '126.6.13.190'}], 'gateway_ip': '126.6.13.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.6.13.130', 'tags': [], 'project_id': 'ef2883db48a341dbab81edfbf20e472c'}} 2025-03-28 11:22:35,406 - INFO - Created VN ctest-vn-00005246 2025-03-28 11:22:35,459 - DEBUG - VN ctest-vn-00005246 UUID is e36863d7-4279-4b06-886f-23a9331c2069 2025-03-28 11:22:35,582 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-85221348:ctest-vn-60035477, 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-85221348:ctest-vn-00005246, 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 11:22:35,894 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '93ded381-e4e3-4666-b0f5-5108c0676b5d', 'name': 'ctest-vn-60035477', 'tenant_id': 'ef2883db48a341dbab81edfbf20e472c', 'project_id': 'ef2883db48a341dbab81edfbf20e472c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['39499fd8-2e95-4fb7-a24b-820f72db0776'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85221348', 'ctest-vn-60035477'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-85221348', 'ctest-policy-allow-all-69209176']], 'subnet_ipam': [{'subnet_cidr': '217.183.189.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-03-28 11:22:36,131 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e36863d7-4279-4b06-886f-23a9331c2069', 'name': 'ctest-vn-00005246', 'tenant_id': 'ef2883db48a341dbab81edfbf20e472c', 'project_id': 'ef2883db48a341dbab81edfbf20e472c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['65ae02a7-516f-4ec6-bbac-cdff1f7f5fa8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85221348', 'ctest-vn-00005246'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-85221348', 'ctest-policy-allow-all-69209176']], 'subnet_ipam': [{'subnet_cidr': '126.6.13.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-03-28 11:22:36,311 - DEBUG - Requesting: http://10.0.0.46:8082/domains 2025-03-28 11:22:36,618 - DEBUG - Requesting: http://10.0.0.46:8082/domains 2025-03-28 11:22:36,650 - DEBUG - Requesting: http://10.0.0.46:8082/domain/08c9f506-ca23-4de7-9f2e-fa8b19b1204a 2025-03-28 11:22:36,665 - DEBUG - Requesting: http://10.0.0.46:8082/project/ef2883db-48a3-41db-ab81-edfbf20e472c 2025-03-28 11:22:36,748 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-network/93ded381-e4e3-4666-b0f5-5108c0676b5d 2025-03-28 11:22:36,761 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-network/93ded381-e4e3-4666-b0f5-5108c0676b5d 2025-03-28 11:22:36,773 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/1be54216-4eda-4eff-aede-cf311bb0ddef 2025-03-28 11:22:36,783 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/1be54216-4eda-4eff-aede-cf311bb0ddef 2025-03-28 11:22:36,792 - DEBUG - Requesting: http://10.0.0.46:8082/route-target/4575d541-9bb7-46f8-b715-c4d6e30e6970 2025-03-28 11:22:36,800 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-03-28 11:22:36,800 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-network/93ded381-e4e3-4666-b0f5-5108c0676b5d 2025-03-28 11:22:36,811 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/1be54216-4eda-4eff-aede-cf311bb0ddef 2025-03-28 11:22:36,833 - INFO - Verified VN network id 8 for VN 93ded381-e4e3-4666-b0f5-5108c0676b5d 2025-03-28 11:22:36,834 - INFO - Verifications in API Server for VN ctest-vn-60035477 passed 2025-03-28 11:22:36,834 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-network/93ded381-e4e3-4666-b0f5-5108c0676b5d 2025-03-28 11:22:36,848 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/1be54216-4eda-4eff-aede-cf311bb0ddef 2025-03-28 11:22:36,857 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/1be54216-4eda-4eff-aede-cf311bb0ddef 2025-03-28 11:22:36,865 - DEBUG - Requesting: http://10.0.0.46:8082/route-target/4575d541-9bb7-46f8-b715-c4d6e30e6970 2025-03-28 11:22:36,884 - DEBUG - Control-node 10.0.0.46 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-85221348:ctest-vn-60035477', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-85221348', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10655186323249514086', 'uuid-lslong': '12751187017999018845'}, 'enable': 'true', 'created': '2025-03-28T11:22:34', 'last-modified': '2025-03-28T11:22:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.015962'} 2025-03-28 11:22:36,892 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-03-28 11:22:36,892 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-60035477 passed 2025-03-28 11:22:36,892 - DEBUG - ====Verifying policy data for ctest-vn-60035477 in API_Server ====== 2025-03-28 11:22:36,892 - DEBUG - Requesting: http://10.0.0.46:8082/domains 2025-03-28 11:22:36,898 - DEBUG - Requesting: http://10.0.0.46:8082/domain/08c9f506-ca23-4de7-9f2e-fa8b19b1204a 2025-03-28 11:22:36,911 - DEBUG - Requesting: http://10.0.0.46:8082/project/ef2883db-48a3-41db-ab81-edfbf20e472c 2025-03-28 11:22:36,984 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-network/93ded381-e4e3-4666-b0f5-5108c0676b5d 2025-03-28 11:22:36,995 - DEBUG - ==>Verifying data for policy with id: 48b0de21-6426-4852-b174-2526509872f4, fqn: ['default-domain', 'ctest-TestBasicPolicy-85221348', 'ctest-policy-allow-all-69209176'] 2025-03-28 11:22:36,995 - INFO - VN ctest-vn-60035477 Policy verification: verify_vn_policy_in_api_server, status: True 2025-03-28 11:22:36,995 - DEBUG - Verifying the vn in opserver 2025-03-28 11:22:36,995 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-85221348:ctest-vn-60035477 virtual network link through opserver 10.0.0.46 2025-03-28 11:22:36,996 - DEBUG - Requesting: http://10.0.0.46:8081/analytics/uves/virtual-networks 2025-03-28 11:22:37,295 - DEBUG - Requesting: http://10.0.0.46:8081/analytics/uves/virtual-networks 2025-03-28 11:22:37,359 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-85221348:ctest-vn-60035477', 'href': 'http://10.0.0.46:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-85221348:ctest-vn-60035477?flat'} 2025-03-28 11:22:37,359 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-85221348:ctest-vn-60035477 is found in opserver 2025-03-28 11:22:37,373 - DEBUG - Do not have enough data to verify VN in agent 2025-03-28 11:22:37,379 - DEBUG - VRF ids for VN ctest-vn-60035477: {} 2025-03-28 11:22:37,379 - DEBUG - Requesting: http://10.0.0.46:8082/domains 2025-03-28 11:22:37,385 - DEBUG - Requesting: http://10.0.0.46:8082/domain/08c9f506-ca23-4de7-9f2e-fa8b19b1204a 2025-03-28 11:22:37,397 - DEBUG - Requesting: http://10.0.0.46:8082/project/ef2883db-48a3-41db-ab81-edfbf20e472c 2025-03-28 11:22:37,471 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-network/e36863d7-4279-4b06-886f-23a9331c2069 2025-03-28 11:22:37,485 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-network/e36863d7-4279-4b06-886f-23a9331c2069 2025-03-28 11:22:37,496 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/d4829abb-1f77-4bfe-8bea-69b1d235af3f 2025-03-28 11:22:37,504 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/d4829abb-1f77-4bfe-8bea-69b1d235af3f 2025-03-28 11:22:37,512 - DEBUG - Requesting: http://10.0.0.46:8082/route-target/582f9f81-9cfd-480d-9a12-6a52cf215ac3 2025-03-28 11:22:37,520 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-28 11:22:37,520 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-network/e36863d7-4279-4b06-886f-23a9331c2069 2025-03-28 11:22:37,532 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/d4829abb-1f77-4bfe-8bea-69b1d235af3f 2025-03-28 11:22:37,547 - INFO - Verified VN network id 9 for VN e36863d7-4279-4b06-886f-23a9331c2069 2025-03-28 11:22:37,548 - INFO - Verifications in API Server for VN ctest-vn-00005246 passed 2025-03-28 11:22:37,548 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-network/e36863d7-4279-4b06-886f-23a9331c2069 2025-03-28 11:22:37,558 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/d4829abb-1f77-4bfe-8bea-69b1d235af3f 2025-03-28 11:22:37,568 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/d4829abb-1f77-4bfe-8bea-69b1d235af3f 2025-03-28 11:22:37,578 - DEBUG - Requesting: http://10.0.0.46:8082/route-target/582f9f81-9cfd-480d-9a12-6a52cf215ac3 2025-03-28 11:22:37,592 - DEBUG - Control-node 10.0.0.46 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-85221348:ctest-vn-00005246', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-85221348', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16386457020371913478', 'uuid-lslong': '9831115721187008617'}, 'enable': 'true', 'created': '2025-03-28T11:22:35', 'last-modified': '2025-03-28T11:22:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.488968'} 2025-03-28 11:22:37,599 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-28 11:22:37,599 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-00005246 passed 2025-03-28 11:22:37,599 - DEBUG - ====Verifying policy data for ctest-vn-00005246 in API_Server ====== 2025-03-28 11:22:37,599 - DEBUG - Requesting: http://10.0.0.46:8082/domains 2025-03-28 11:22:37,606 - DEBUG - Requesting: http://10.0.0.46:8082/domain/08c9f506-ca23-4de7-9f2e-fa8b19b1204a 2025-03-28 11:22:37,621 - DEBUG - Requesting: http://10.0.0.46:8082/project/ef2883db-48a3-41db-ab81-edfbf20e472c 2025-03-28 11:22:37,698 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-network/e36863d7-4279-4b06-886f-23a9331c2069 2025-03-28 11:22:37,709 - DEBUG - ==>Verifying data for policy with id: 48b0de21-6426-4852-b174-2526509872f4, fqn: ['default-domain', 'ctest-TestBasicPolicy-85221348', 'ctest-policy-allow-all-69209176'] 2025-03-28 11:22:37,709 - INFO - VN ctest-vn-00005246 Policy verification: verify_vn_policy_in_api_server, status: True 2025-03-28 11:22:37,709 - DEBUG - Verifying the vn in opserver 2025-03-28 11:22:37,710 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-85221348:ctest-vn-00005246 virtual network link through opserver 10.0.0.46 2025-03-28 11:22:37,710 - DEBUG - Requesting: http://10.0.0.46:8081/analytics/uves/virtual-networks 2025-03-28 11:22:37,721 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-85221348:ctest-vn-00005246', 'href': 'http://10.0.0.46:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-85221348:ctest-vn-00005246?flat'} 2025-03-28 11:22:37,721 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-85221348:ctest-vn-00005246 is found in opserver 2025-03-28 11:22:37,735 - DEBUG - Do not have enough data to verify VN in agent 2025-03-28 11:22:37,741 - DEBUG - VRF ids for VN ctest-vn-00005246: {} 2025-03-28 11:22:37,808 - DEBUG - Services list from nova: [, , ] 2025-03-28 11:22:39,044 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2988-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2988-1) 2025-03-28 11:22:40,261 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2988-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2988-1) 2025-03-28 11:22:40,261 - INFO - Waiting for VM ctest-TestBasicPolicy-85221348-22952921 to be up.. 2025-03-28 11:22:40,356 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-28 11:22:45,463 - DEBUG - VM is in ACTIVE state now 2025-03-28 11:22:45,463 - INFO - VM name : ctest-TestBasicPolicy-85221348-22952921 2025-03-28 11:22:45,562 - DEBUG - VM ctest-TestBasicPolicy-85221348-22952921 ID is 9b96df38-34e3-4541-b289-7ca95a93a524 2025-03-28 11:22:45,591 - DEBUG - VM ctest-TestBasicPolicy-85221348-22952921 launched on Node cn-jenkins-deploy-platform-ansible-os-2988-1 2025-03-28 11:22:45,684 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine/9b96df38-34e3-4541-b289-7ca95a93a524 2025-03-28 11:22:45,696 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine-interface/e3b15f15-28bd-47a7-b750-4230c3be25bf 2025-03-28 11:22:48,980 - 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 1029ms') 2025-03-28 11:22:48,980 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-85221348-22952921 failed! 2025-03-28 11:22:49,035 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-85221348:ctest-vn-60035477 is 217.183.189.65 and allocation pool is NOT set 2025-03-28 11:22:51,094 - 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=10.4 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.406 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.406/5.412/10.418/5.006 ms') 2025-03-28 11:22:51,094 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-85221348-22952921 passed 2025-03-28 11:22:51,247 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-28 11:22:51,247 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-85221348-22952921, IP 217.183.189.67, Port 22 2025-03-28 11:22:51,417 - DEBUG - VM ctest-TestBasicPolicy-85221348-22952921 is ready for SSH connections 2025-03-28 11:22:51,417 - INFO - Waiting for VM ctest-TestBasicPolicy-85221348-21324112 to be up.. 2025-03-28 11:22:51,515 - DEBUG - VM is in ACTIVE state now 2025-03-28 11:22:51,515 - INFO - VM name : ctest-TestBasicPolicy-85221348-21324112 2025-03-28 11:22:51,601 - DEBUG - VM ctest-TestBasicPolicy-85221348-21324112 ID is 36e89981-487f-444a-821a-ecccc21c5ec5 2025-03-28 11:22:51,601 - DEBUG - VM ctest-TestBasicPolicy-85221348-21324112 launched on Node cn-jenkins-deploy-platform-ansible-os-2988-1 2025-03-28 11:22:51,681 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine/36e89981-487f-444a-821a-ecccc21c5ec5 2025-03-28 11:22:51,691 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine-interface/a96652c8-e06a-45b4-ba9e-0fb30db0e26b 2025-03-28 11:22:52,936 - 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.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.475 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.475/1.555/2.636/1.080 ms') 2025-03-28 11:22:52,937 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-85221348-21324112 passed 2025-03-28 11:22:53,091 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-28 11:22:53,091 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-85221348-21324112, IP 126.6.13.131, Port 22 2025-03-28 11:22:53,246 - DEBUG - VM ctest-TestBasicPolicy-85221348-21324112 is ready for SSH connections 2025-03-28 11:22:53,246 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-28 11:22:53,246 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 126.6.13.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.46, gateway password: c0ntrail123 2025-03-28 11:22:53,246 - DEBUG - ping -s 56 -c 3 -W 1 126.6.13.131 2025-03-28 11:22:57,262 - DEBUG - PING 126.6.13.131 (126.6.13.131): 56 data bytes 64 bytes from 126.6.13.131: seq=0 ttl=63 time=4.036 ms 64 bytes from 126.6.13.131: seq=1 ttl=63 time=0.932 ms 64 bytes from 126.6.13.131: seq=2 ttl=63 time=0.773 ms --- 126.6.13.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.773/1.913/4.036 ms 2025-03-28 11:22:57,262 - INFO - Ping to IP 126.6.13.131 from VM ctest-TestBasicPolicy-85221348-22952921 passed 2025-03-28 11:22:57,455 - DEBUG - Policy Update Response {"network-policy": {"uuid": "48b0de21-6426-4852-b174-2526509872f4", "href": "http://10.0.0.46:8082/network-policy/48b0de21-6426-4852-b174-2526509872f4"}} 2025-03-28 11:22:57,455 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-28 11:22:57,455 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 126.6.13.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.46, gateway password: c0ntrail123 2025-03-28 11:22:57,455 - DEBUG - ping -s 56 -c 3 -W 1 126.6.13.131 2025-03-28 11:23:00,676 - DEBUG - PING 126.6.13.131 (126.6.13.131): 56 data bytes 64 bytes from 126.6.13.131: seq=0 ttl=63 time=1.651 ms --- 126.6.13.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.651/1.651/1.651 ms 2025-03-28 11:23:00,676 - WARNING - Ping to IP 126.6.13.131 from VM ctest-TestBasicPolicy-85221348-22952921 failed 2025-03-28 11:23:00,676 - INFO - Deleting VM ctest-TestBasicPolicy-85221348-21324112 2025-03-28 11:23:00,747 - INFO - Deleting VM ctest-TestBasicPolicy-85221348-22952921 2025-03-28 11:23:01,173 - INFO - Deleted policy ctest-policy-allow-all-69209176 2025-03-28 11:23:01,173 - INFO - Deleting VN ctest-vn-00005246 2025-03-28 11:23:01,227 - DEBUG - VN e36863d7-4279-4b06-886f-23a9331c2069 still in use: Unable to complete operation on network e36863d7-4279-4b06-886f-23a9331c2069. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5aa9c88e-877a-457f-85c0-0ec7f9e35ee6'] 2025-03-28 11:23:01,227 - WARNING - Deleting VN ctest-vn-00005246 failed..Will retry 2025-03-28 11:23:03,344 - DEBUG - Response for deleting network () 2025-03-28 11:23:03,344 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/d4829abb-1f77-4bfe-8bea-69b1d235af3f 2025-03-28 11:23:03,351 - DEBUG - Response Code: 404 2025-03-28 11:23:03,351 - DEBUG - Requesting: http://10.0.0.46:8082/domains 2025-03-28 11:23:03,359 - DEBUG - Requesting: http://10.0.0.46:8082/domain/08c9f506-ca23-4de7-9f2e-fa8b19b1204a 2025-03-28 11:23:03,412 - DEBUG - Requesting: http://10.0.0.46:8082/project/ef2883db-48a3-41db-ab81-edfbf20e472c 2025-03-28 11:23:03,490 - INFO - Validated that VN ctest-vn-00005246 is not found in API Server 2025-03-28 11:23:03,504 - DEBUG - VN ctest-vn-00005246 is not present in Agent 10.0.0.46 2025-03-28 11:23:03,504 - INFO - Validated that VN ctest-vn-00005246 is not in any agent 2025-03-28 11:23:03,521 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-00005246 info 2025-03-28 11:23:03,521 - INFO - Deleting VN ctest-vn-60035477 2025-03-28 11:23:03,651 - DEBUG - Response for deleting network () 2025-03-28 11:23:03,652 - DEBUG - Requesting: http://10.0.0.46:8082/routing-instance/1be54216-4eda-4eff-aede-cf311bb0ddef 2025-03-28 11:23:03,664 - DEBUG - Response Code: 404 2025-03-28 11:23:03,664 - DEBUG - Requesting: http://10.0.0.46:8082/domains 2025-03-28 11:23:03,673 - DEBUG - Requesting: http://10.0.0.46:8082/domain/08c9f506-ca23-4de7-9f2e-fa8b19b1204a 2025-03-28 11:23:03,730 - DEBUG - Requesting: http://10.0.0.46:8082/project/ef2883db-48a3-41db-ab81-edfbf20e472c 2025-03-28 11:23:03,807 - INFO - Validated that VN ctest-vn-60035477 is not found in API Server 2025-03-28 11:23:03,818 - DEBUG - VN ctest-vn-60035477 is not present in Agent 10.0.0.46 2025-03-28 11:23:03,818 - INFO - Validated that VN ctest-vn-60035477 is not in any agent 2025-03-28 11:23:03,842 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-60035477 info 2025-03-28 11:23:04,102 - DEBUG - No XMPP flaps were noticed during the test
2025-03-28 11:23:04,102 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31]
2025-03-28 11:23:04,102 - INFO - -------------------------------------------------------------------------------- 2025-03-28 11:23:04,845 - INFO - Deleted project: ctest-TestBasicPolicy-85221348, ID : ef2883db-48a3-41db-ab81-edfbf20e472c