2025-01-13 09:14:55,329 - INFO - Domain Default found not creating 2025-01-13 09:14:55,475 - INFO - Project ctest-TestBasicPolicy-10244260 not found, creating it 2025-01-13 09:14:55,954 - INFO - Created Project:ctest-TestBasicPolicy-10244260, ID : 4821ec86-1980-4e45-8087-edd366d7a659 2025-01-13 09:14:57,430 - INFO - ================================================================================ 2025-01-13 09:14:57,430 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-13 09:14:57,430 - 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-01-13 09:14:57,693 - DEBUG - Nothing to compare xmpp stats {'10.0.0.34': {'10.20.0.5': '0'}} with 2025-01-13 09:14:57,693 - INFO - Initial checks done. Running the testcase now 2025-01-13 09:14:57,693 - INFO - 2025-01-13 09:14:58,242 - DEBUG - Response for create_network : {'network': {'id': '9af0edfe-0c26-4d2a-b1bf-b637e6fbcf5b', 'name': 'ctest-vn-66609779', 'tenant_id': '4821ec8619804e458087edd366d7a659', 'project_id': '4821ec8619804e458087edd366d7a659', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10244260', 'ctest-vn-66609779'], 'port_security_enabled': True, 'description': ''}} 2025-01-13 09:14:58,438 - DEBUG - Response for create_subnet : {'subnet': {'id': '8365c0d0-9495-467c-a4c9-6d62384c6ea4', 'name': '', 'tenant_id': '4821ec8619804e458087edd366d7a659', 'network_id': '9af0edfe-0c26-4d2a-b1bf-b637e6fbcf5b', 'ip_version': 4, 'cidr': '115.2.8.64/26', 'allocation_pools': [{'start': '115.2.8.66', 'end': '115.2.8.126'}], 'gateway_ip': '115.2.8.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '115.2.8.66', 'tags': [], 'project_id': '4821ec8619804e458087edd366d7a659'}} 2025-01-13 09:14:58,456 - INFO - Created VN ctest-vn-66609779 2025-01-13 09:14:58,510 - DEBUG - VN ctest-vn-66609779 UUID is 9af0edfe-0c26-4d2a-b1bf-b637e6fbcf5b 2025-01-13 09:14:58,799 - DEBUG - Response for create_network : {'network': {'id': 'cb69dff7-3778-4122-9e30-7847986a16d4', 'name': 'ctest-vn-29256317', 'tenant_id': '4821ec8619804e458087edd366d7a659', 'project_id': '4821ec8619804e458087edd366d7a659', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10244260', 'ctest-vn-29256317'], 'port_security_enabled': True, 'description': ''}} 2025-01-13 09:14:58,980 - DEBUG - Response for create_subnet : {'subnet': {'id': '36710fcf-afd1-4fc9-bffe-f92973da7903', 'name': '', 'tenant_id': '4821ec8619804e458087edd366d7a659', 'network_id': 'cb69dff7-3778-4122-9e30-7847986a16d4', 'ip_version': 4, 'cidr': '110.161.145.64/26', 'allocation_pools': [{'start': '110.161.145.66', 'end': '110.161.145.126'}], 'gateway_ip': '110.161.145.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '110.161.145.66', 'tags': [], 'project_id': '4821ec8619804e458087edd366d7a659'}} 2025-01-13 09:14:58,999 - INFO - Created VN ctest-vn-29256317 2025-01-13 09:14:59,054 - DEBUG - VN ctest-vn-29256317 UUID is cb69dff7-3778-4122-9e30-7847986a16d4 2025-01-13 09:14:59,170 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-10244260:ctest-vn-66609779, 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-10244260:ctest-vn-29256317, 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-01-13 09:14:59,470 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9af0edfe-0c26-4d2a-b1bf-b637e6fbcf5b', 'name': 'ctest-vn-66609779', 'tenant_id': '4821ec8619804e458087edd366d7a659', 'project_id': '4821ec8619804e458087edd366d7a659', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8365c0d0-9495-467c-a4c9-6d62384c6ea4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10244260', 'ctest-vn-66609779'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-10244260', 'ctest-policy-allow-all-04130724']], 'subnet_ipam': [{'subnet_cidr': '115.2.8.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-13 09:14:59,751 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cb69dff7-3778-4122-9e30-7847986a16d4', 'name': 'ctest-vn-29256317', 'tenant_id': '4821ec8619804e458087edd366d7a659', 'project_id': '4821ec8619804e458087edd366d7a659', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['36710fcf-afd1-4fc9-bffe-f92973da7903'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10244260', 'ctest-vn-29256317'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-10244260', 'ctest-policy-allow-all-04130724']], 'subnet_ipam': [{'subnet_cidr': '110.161.145.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-13 09:14:59,902 - DEBUG - Requesting: http://10.0.0.34:8082/domains 2025-01-13 09:15:00,205 - DEBUG - Requesting: http://10.0.0.34:8082/domains 2025-01-13 09:15:00,233 - DEBUG - Requesting: http://10.0.0.34:8082/domain/710c8bc4-5af6-42e7-89df-b637c7675abc 2025-01-13 09:15:00,246 - DEBUG - Requesting: http://10.0.0.34:8082/project/4821ec86-1980-4e45-8087-edd366d7a659 2025-01-13 09:15:00,321 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/9af0edfe-0c26-4d2a-b1bf-b637e6fbcf5b 2025-01-13 09:15:00,335 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/9af0edfe-0c26-4d2a-b1bf-b637e6fbcf5b 2025-01-13 09:15:00,346 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/301f9633-9249-4fec-ae59-5a53f4b62532 2025-01-13 09:15:00,355 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/301f9633-9249-4fec-ae59-5a53f4b62532 2025-01-13 09:15:00,364 - DEBUG - Requesting: http://10.0.0.34:8082/route-target/ce9745d6-0e0e-407f-80ab-fb61a9723f63 2025-01-13 09:15:00,372 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-13 09:15:00,372 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/9af0edfe-0c26-4d2a-b1bf-b637e6fbcf5b 2025-01-13 09:15:00,381 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/301f9633-9249-4fec-ae59-5a53f4b62532 2025-01-13 09:15:00,399 - INFO - Verified VN network id 8 for VN 9af0edfe-0c26-4d2a-b1bf-b637e6fbcf5b 2025-01-13 09:15:00,399 - INFO - Verifications in API Server for VN ctest-vn-66609779 passed 2025-01-13 09:15:00,400 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/9af0edfe-0c26-4d2a-b1bf-b637e6fbcf5b 2025-01-13 09:15:00,410 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/301f9633-9249-4fec-ae59-5a53f4b62532 2025-01-13 09:15:00,417 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/301f9633-9249-4fec-ae59-5a53f4b62532 2025-01-13 09:15:00,425 - DEBUG - Requesting: http://10.0.0.34:8082/route-target/ce9745d6-0e0e-407f-80ab-fb61a9723f63 2025-01-13 09:15:00,440 - DEBUG - Control-node 10.0.0.34 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-10244260:ctest-vn-66609779', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-10244260', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11164685151632772394', 'uuid-lslong': '12808156216479698779'}, 'enable': 'true', 'created': '2025-01-13T09:14:58', 'last-modified': '2025-01-13T09:14:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.990851'} 2025-01-13 09:15:00,447 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-13 09:15:00,448 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66609779 passed 2025-01-13 09:15:00,448 - DEBUG - ====Verifying policy data for ctest-vn-66609779 in API_Server ====== 2025-01-13 09:15:00,448 - DEBUG - Requesting: http://10.0.0.34:8082/domains 2025-01-13 09:15:00,454 - DEBUG - Requesting: http://10.0.0.34:8082/domain/710c8bc4-5af6-42e7-89df-b637c7675abc 2025-01-13 09:15:00,467 - DEBUG - Requesting: http://10.0.0.34:8082/project/4821ec86-1980-4e45-8087-edd366d7a659 2025-01-13 09:15:00,548 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/9af0edfe-0c26-4d2a-b1bf-b637e6fbcf5b 2025-01-13 09:15:00,558 - DEBUG - ==>Verifying data for policy with id: 0cc9a009-473f-45ae-93a4-10930b308d69, fqn: ['default-domain', 'ctest-TestBasicPolicy-10244260', 'ctest-policy-allow-all-04130724'] 2025-01-13 09:15:00,558 - INFO - VN ctest-vn-66609779 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-13 09:15:00,558 - DEBUG - Verifying the vn in opserver 2025-01-13 09:15:00,558 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-10244260:ctest-vn-66609779 virtual network link through opserver 10.0.0.34 2025-01-13 09:15:00,559 - DEBUG - Requesting: http://10.0.0.34:8081/analytics/uves/virtual-networks 2025-01-13 09:15:00,863 - DEBUG - Requesting: http://10.0.0.34:8081/analytics/uves/virtual-networks 2025-01-13 09:15:00,924 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-10244260:ctest-vn-66609779', 'href': 'http://10.0.0.34:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-10244260:ctest-vn-66609779?flat'} 2025-01-13 09:15:00,924 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-10244260:ctest-vn-66609779 is found in opserver 2025-01-13 09:15:00,936 - DEBUG - Do not have enough data to verify VN in agent 2025-01-13 09:15:00,942 - DEBUG - VRF ids for VN ctest-vn-66609779: {} 2025-01-13 09:15:00,942 - DEBUG - Requesting: http://10.0.0.34:8082/domains 2025-01-13 09:15:00,949 - DEBUG - Requesting: http://10.0.0.34:8082/domain/710c8bc4-5af6-42e7-89df-b637c7675abc 2025-01-13 09:15:00,960 - DEBUG - Requesting: http://10.0.0.34:8082/project/4821ec86-1980-4e45-8087-edd366d7a659 2025-01-13 09:15:01,042 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/cb69dff7-3778-4122-9e30-7847986a16d4 2025-01-13 09:15:01,058 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/cb69dff7-3778-4122-9e30-7847986a16d4 2025-01-13 09:15:01,070 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/d94498c6-6c90-483e-bae7-c6caa1a2e38a 2025-01-13 09:15:01,078 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/d94498c6-6c90-483e-bae7-c6caa1a2e38a 2025-01-13 09:15:01,086 - DEBUG - Requesting: http://10.0.0.34:8082/route-target/1f059824-a72d-494c-9d61-d8899a428f67 2025-01-13 09:15:01,095 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-13 09:15:01,095 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/cb69dff7-3778-4122-9e30-7847986a16d4 2025-01-13 09:15:01,107 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/d94498c6-6c90-483e-bae7-c6caa1a2e38a 2025-01-13 09:15:01,126 - INFO - Verified VN network id 9 for VN cb69dff7-3778-4122-9e30-7847986a16d4 2025-01-13 09:15:01,126 - INFO - Verifications in API Server for VN ctest-vn-29256317 passed 2025-01-13 09:15:01,127 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/cb69dff7-3778-4122-9e30-7847986a16d4 2025-01-13 09:15:01,139 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/d94498c6-6c90-483e-bae7-c6caa1a2e38a 2025-01-13 09:15:01,147 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/d94498c6-6c90-483e-bae7-c6caa1a2e38a 2025-01-13 09:15:01,155 - DEBUG - Requesting: http://10.0.0.34:8082/route-target/1f059824-a72d-494c-9d61-d8899a428f67 2025-01-13 09:15:01,169 - DEBUG - Control-node 10.0.0.34 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-10244260:ctest-vn-29256317', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-10244260', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14657492715134533922', 'uuid-lslong': '11398742905769826004'}, 'enable': 'true', 'created': '2025-01-13T09:14:58', 'last-modified': '2025-01-13T09:14:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.484766'} 2025-01-13 09:15:01,178 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-13 09:15:01,178 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-29256317 passed 2025-01-13 09:15:01,178 - DEBUG - ====Verifying policy data for ctest-vn-29256317 in API_Server ====== 2025-01-13 09:15:01,178 - DEBUG - Requesting: http://10.0.0.34:8082/domains 2025-01-13 09:15:01,185 - DEBUG - Requesting: http://10.0.0.34:8082/domain/710c8bc4-5af6-42e7-89df-b637c7675abc 2025-01-13 09:15:01,200 - DEBUG - Requesting: http://10.0.0.34:8082/project/4821ec86-1980-4e45-8087-edd366d7a659 2025-01-13 09:15:01,278 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/cb69dff7-3778-4122-9e30-7847986a16d4 2025-01-13 09:15:01,288 - DEBUG - ==>Verifying data for policy with id: 0cc9a009-473f-45ae-93a4-10930b308d69, fqn: ['default-domain', 'ctest-TestBasicPolicy-10244260', 'ctest-policy-allow-all-04130724'] 2025-01-13 09:15:01,288 - INFO - VN ctest-vn-29256317 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-13 09:15:01,289 - DEBUG - Verifying the vn in opserver 2025-01-13 09:15:01,289 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-10244260:ctest-vn-29256317 virtual network link through opserver 10.0.0.34 2025-01-13 09:15:01,289 - DEBUG - Requesting: http://10.0.0.34:8081/analytics/uves/virtual-networks 2025-01-13 09:15:01,300 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-10244260:ctest-vn-29256317', 'href': 'http://10.0.0.34:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-10244260:ctest-vn-29256317?flat'} 2025-01-13 09:15:01,300 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-10244260:ctest-vn-29256317 is found in opserver 2025-01-13 09:15:01,311 - DEBUG - Do not have enough data to verify VN in agent 2025-01-13 09:15:01,317 - DEBUG - VRF ids for VN ctest-vn-29256317: {} 2025-01-13 09:15:01,374 - DEBUG - Services list from nova: [, , ] 2025-01-13 09:15:02,389 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2609-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2609-1) 2025-01-13 09:15:03,622 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2609-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2609-1) 2025-01-13 09:15:03,622 - INFO - Waiting for VM ctest-TestBasicPolicy-10244260-09305057 to be up.. 2025-01-13 09:15:03,705 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-13 09:15:08,785 - DEBUG - VM is in ACTIVE state now 2025-01-13 09:15:08,785 - INFO - VM name : ctest-TestBasicPolicy-10244260-09305057 2025-01-13 09:15:08,881 - DEBUG - VM ctest-TestBasicPolicy-10244260-09305057 ID is dbf5145c-b6bc-421e-b5e7-7f2821d103d4 2025-01-13 09:15:08,906 - DEBUG - VM ctest-TestBasicPolicy-10244260-09305057 launched on Node cn-jenkins-deploy-platform-ansible-os-2609-1 2025-01-13 09:15:08,998 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/dbf5145c-b6bc-421e-b5e7-7f2821d103d4 2025-01-13 09:15:09,008 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/0bf55147-472f-4034-b151-dc5d45632a22 2025-01-13 09:15:12,224 - 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 1012ms') 2025-01-13 09:15:12,224 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-10244260-09305057 failed! 2025-01-13 09:15:12,282 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-10244260:ctest-vn-66609779 is 115.2.8.65 and allocation pool is NOT set 2025-01-13 09:15:14,346 - 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=8.57 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.957 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.957/4.765/8.574/3.808 ms') 2025-01-13 09:15:14,346 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-10244260-09305057 passed 2025-01-13 09:15:14,498 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-13 09:15:14,498 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-10244260-09305057, IP 115.2.8.67, Port 22 2025-01-13 09:15:14,661 - DEBUG - VM ctest-TestBasicPolicy-10244260-09305057 is ready for SSH connections 2025-01-13 09:15:14,661 - INFO - Waiting for VM ctest-TestBasicPolicy-10244260-92878509 to be up.. 2025-01-13 09:15:14,741 - DEBUG - VM is in ACTIVE state now 2025-01-13 09:15:14,741 - INFO - VM name : ctest-TestBasicPolicy-10244260-92878509 2025-01-13 09:15:14,826 - DEBUG - VM ctest-TestBasicPolicy-10244260-92878509 ID is 6ba00c6d-a3f4-4350-930a-6ae16a2104c3 2025-01-13 09:15:14,828 - DEBUG - VM ctest-TestBasicPolicy-10244260-92878509 launched on Node cn-jenkins-deploy-platform-ansible-os-2609-1 2025-01-13 09:15:14,905 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/6ba00c6d-a3f4-4350-930a-6ae16a2104c3 2025-01-13 09:15:14,915 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/319d7f90-f0e7-4acf-b4b0-1e770379ed09 2025-01-13 09:15:16,163 - 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.05 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.497 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.497/1.773/3.049/1.276 ms') 2025-01-13 09:15:16,163 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-10244260-92878509 passed 2025-01-13 09:15:16,322 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-13 09:15:16,322 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-10244260-92878509, IP 110.161.145.67, Port 22 2025-01-13 09:15:16,485 - DEBUG - VM ctest-TestBasicPolicy-10244260-92878509 is ready for SSH connections 2025-01-13 09:15:16,485 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-13 09:15:16,486 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 110.161.145.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.34, gateway password: c0ntrail123 2025-01-13 09:15:16,486 - DEBUG - ping -s 56 -c 3 -W 1 110.161.145.67 2025-01-13 09:15:20,193 - DEBUG - PING 110.161.145.67 (110.161.145.67): 56 data bytes 64 bytes from 110.161.145.67: seq=0 ttl=63 time=3.523 ms 64 bytes from 110.161.145.67: seq=1 ttl=63 time=0.891 ms 64 bytes from 110.161.145.67: seq=2 ttl=63 time=0.924 ms --- 110.161.145.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.891/1.779/3.523 ms 2025-01-13 09:15:20,193 - INFO - Ping to IP 110.161.145.67 from VM ctest-TestBasicPolicy-10244260-09305057 passed 2025-01-13 09:15:20,386 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0cc9a009-473f-45ae-93a4-10930b308d69", "href": "http://10.0.0.34:8082/network-policy/0cc9a009-473f-45ae-93a4-10930b308d69"}} 2025-01-13 09:15:20,386 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-13 09:15:20,386 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 110.161.145.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.34, gateway password: c0ntrail123 2025-01-13 09:15:20,386 - DEBUG - ping -s 56 -c 3 -W 1 110.161.145.67 2025-01-13 09:15:23,590 - DEBUG - PING 110.161.145.67 (110.161.145.67): 56 data bytes 64 bytes from 110.161.145.67: seq=0 ttl=63 time=1.729 ms --- 110.161.145.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.729/1.729/1.729 ms 2025-01-13 09:15:23,591 - WARNING - Ping to IP 110.161.145.67 from VM ctest-TestBasicPolicy-10244260-09305057 failed 2025-01-13 09:15:23,591 - INFO - Deleting VM ctest-TestBasicPolicy-10244260-92878509 2025-01-13 09:15:23,664 - INFO - Deleting VM ctest-TestBasicPolicy-10244260-09305057 2025-01-13 09:15:24,083 - INFO - Deleted policy ctest-policy-allow-all-04130724 2025-01-13 09:15:24,084 - INFO - Deleting VN ctest-vn-29256317 2025-01-13 09:15:24,121 - DEBUG - VN cb69dff7-3778-4122-9e30-7847986a16d4 still in use: Unable to complete operation on network cb69dff7-3778-4122-9e30-7847986a16d4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1e220a1a-1ed4-4a54-95b2-8b9f1eda73bd'] 2025-01-13 09:15:24,121 - WARNING - Deleting VN ctest-vn-29256317 failed..Will retry 2025-01-13 09:15:26,226 - DEBUG - Response for deleting network () 2025-01-13 09:15:26,226 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/d94498c6-6c90-483e-bae7-c6caa1a2e38a 2025-01-13 09:15:26,234 - DEBUG - Response Code: 404 2025-01-13 09:15:26,235 - DEBUG - Requesting: http://10.0.0.34:8082/domains 2025-01-13 09:15:26,241 - DEBUG - Requesting: http://10.0.0.34:8082/domain/710c8bc4-5af6-42e7-89df-b637c7675abc 2025-01-13 09:15:26,298 - DEBUG - Requesting: http://10.0.0.34:8082/project/4821ec86-1980-4e45-8087-edd366d7a659 2025-01-13 09:15:26,373 - INFO - Validated that VN ctest-vn-29256317 is not found in API Server 2025-01-13 09:15:26,385 - DEBUG - VN ctest-vn-29256317 is not present in Agent 10.0.0.34 2025-01-13 09:15:26,386 - INFO - Validated that VN ctest-vn-29256317 is not in any agent 2025-01-13 09:15:26,402 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-29256317 info 2025-01-13 09:15:26,403 - INFO - Deleting VN ctest-vn-66609779 2025-01-13 09:15:26,511 - DEBUG - Response for deleting network () 2025-01-13 09:15:26,511 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/301f9633-9249-4fec-ae59-5a53f4b62532 2025-01-13 09:15:26,517 - DEBUG - Response Code: 404 2025-01-13 09:15:26,517 - DEBUG - Requesting: http://10.0.0.34:8082/domains 2025-01-13 09:15:26,527 - DEBUG - Requesting: http://10.0.0.34:8082/domain/710c8bc4-5af6-42e7-89df-b637c7675abc 2025-01-13 09:15:26,584 - DEBUG - Requesting: http://10.0.0.34:8082/project/4821ec86-1980-4e45-8087-edd366d7a659 2025-01-13 09:15:26,656 - INFO - Validated that VN ctest-vn-66609779 is not found in API Server 2025-01-13 09:15:26,668 - DEBUG - VN ctest-vn-66609779 is not present in Agent 10.0.0.34 2025-01-13 09:15:26,668 - INFO - Validated that VN ctest-vn-66609779 is not in any agent 2025-01-13 09:15:26,684 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-66609779 info 2025-01-13 09:15:26,939 - DEBUG - No XMPP flaps were noticed during the test
2025-01-13 09:15:26,939 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-01-13 09:15:26,939 - INFO - -------------------------------------------------------------------------------- 2025-01-13 09:15:27,666 - INFO - Deleted project: ctest-TestBasicPolicy-10244260, ID : 4821ec86-1980-4e45-8087-edd366d7a659