2024-08-26 16:26:08,898 - INFO - Domain Default found not creating 2024-08-26 16:26:09,078 - INFO - Project ctest-TestBasicPolicy-89298945 not found, creating it 2024-08-26 16:26:09,580 - INFO - Created Project:ctest-TestBasicPolicy-89298945, ID : d4eb68c3-b1e0-4959-aafb-6e5021b02a3e 2024-08-26 16:26:11,245 - INFO - ================================================================================ 2024-08-26 16:26:11,246 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-08-26 16:26:11,246 - 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 2024-08-26 16:26:11,500 - DEBUG - Nothing to compare xmpp stats {'10.0.0.29': {'10.20.0.5': '0'}} with 2024-08-26 16:26:11,500 - INFO - Initial checks done. Running the testcase now 2024-08-26 16:26:11,500 - INFO - 2024-08-26 16:26:12,116 - DEBUG - Response for create_network : {'network': {'id': '1ae82868-8c07-469f-aeb0-f81022a7bf92', 'name': 'ctest-vn-96032220', 'tenant_id': 'd4eb68c3b1e04959aafb6e5021b02a3e', 'project_id': 'd4eb68c3b1e04959aafb6e5021b02a3e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89298945', 'ctest-vn-96032220'], 'port_security_enabled': True, 'description': ''}} 2024-08-26 16:26:12,326 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b3789ffa-0dd6-4b51-acfc-edb13172a144', 'name': '', 'tenant_id': 'd4eb68c3b1e04959aafb6e5021b02a3e', 'network_id': '1ae82868-8c07-469f-aeb0-f81022a7bf92', 'ip_version': 4, 'cidr': '138.52.28.128/26', 'allocation_pools': [{'start': '138.52.28.130', 'end': '138.52.28.190'}], 'gateway_ip': '138.52.28.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '138.52.28.130', 'tags': [], 'project_id': 'd4eb68c3b1e04959aafb6e5021b02a3e'}} 2024-08-26 16:26:12,350 - INFO - Created VN ctest-vn-96032220 2024-08-26 16:26:12,401 - DEBUG - VN ctest-vn-96032220 UUID is 1ae82868-8c07-469f-aeb0-f81022a7bf92 2024-08-26 16:26:12,720 - DEBUG - Response for create_network : {'network': {'id': 'fd2674d7-af58-4777-8f67-f24eb37bd797', 'name': 'ctest-vn-22342477', 'tenant_id': 'd4eb68c3b1e04959aafb6e5021b02a3e', 'project_id': 'd4eb68c3b1e04959aafb6e5021b02a3e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89298945', 'ctest-vn-22342477'], 'port_security_enabled': True, 'description': ''}} 2024-08-26 16:26:12,935 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd2bbeb10-00c2-4a12-bb6c-8176692410e4', 'name': '', 'tenant_id': 'd4eb68c3b1e04959aafb6e5021b02a3e', 'network_id': 'fd2674d7-af58-4777-8f67-f24eb37bd797', 'ip_version': 4, 'cidr': '12.94.176.64/26', 'allocation_pools': [{'start': '12.94.176.66', 'end': '12.94.176.126'}], 'gateway_ip': '12.94.176.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '12.94.176.66', 'tags': [], 'project_id': 'd4eb68c3b1e04959aafb6e5021b02a3e'}} 2024-08-26 16:26:12,955 - INFO - Created VN ctest-vn-22342477 2024-08-26 16:26:13,009 - DEBUG - VN ctest-vn-22342477 UUID is fd2674d7-af58-4777-8f67-f24eb37bd797 2024-08-26 16:26:13,144 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-89298945:ctest-vn-96032220, 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-89298945:ctest-vn-22342477, 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] 2024-08-26 16:26:13,473 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1ae82868-8c07-469f-aeb0-f81022a7bf92', 'name': 'ctest-vn-96032220', 'tenant_id': 'd4eb68c3b1e04959aafb6e5021b02a3e', 'project_id': 'd4eb68c3b1e04959aafb6e5021b02a3e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b3789ffa-0dd6-4b51-acfc-edb13172a144'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89298945', 'ctest-vn-96032220'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-89298945', 'ctest-policy-allow-all-45528741']], 'subnet_ipam': [{'subnet_cidr': '138.52.28.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-08-26 16:26:13,745 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fd2674d7-af58-4777-8f67-f24eb37bd797', 'name': 'ctest-vn-22342477', 'tenant_id': 'd4eb68c3b1e04959aafb6e5021b02a3e', 'project_id': 'd4eb68c3b1e04959aafb6e5021b02a3e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d2bbeb10-00c2-4a12-bb6c-8176692410e4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89298945', 'ctest-vn-22342477'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-89298945', 'ctest-policy-allow-all-45528741']], 'subnet_ipam': [{'subnet_cidr': '12.94.176.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-08-26 16:26:13,893 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2024-08-26 16:26:14,253 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2024-08-26 16:26:14,287 - DEBUG - Requesting: http://10.0.0.29:8082/domain/94992447-d7f3-479c-be41-1b8a47f970b3 2024-08-26 16:26:14,310 - DEBUG - Requesting: http://10.0.0.29:8082/project/d4eb68c3-b1e0-4959-aafb-6e5021b02a3e 2024-08-26 16:26:14,388 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/1ae82868-8c07-469f-aeb0-f81022a7bf92 2024-08-26 16:26:14,399 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/1ae82868-8c07-469f-aeb0-f81022a7bf92 2024-08-26 16:26:14,408 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/478845be-b8d4-4e2c-a68f-2626075f4d08 2024-08-26 16:26:14,416 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/478845be-b8d4-4e2c-a68f-2626075f4d08 2024-08-26 16:26:14,426 - DEBUG - Requesting: http://10.0.0.29:8082/route-target/7e0b9138-e4ae-43c9-a6ce-264edadbe43c 2024-08-26 16:26:14,434 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-08-26 16:26:14,434 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/1ae82868-8c07-469f-aeb0-f81022a7bf92 2024-08-26 16:26:14,445 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/478845be-b8d4-4e2c-a68f-2626075f4d08 2024-08-26 16:26:14,461 - INFO - Verified VN network id 8 for VN 1ae82868-8c07-469f-aeb0-f81022a7bf92 2024-08-26 16:26:14,461 - INFO - Verifications in API Server for VN ctest-vn-96032220 passed 2024-08-26 16:26:14,461 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/1ae82868-8c07-469f-aeb0-f81022a7bf92 2024-08-26 16:26:14,473 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/478845be-b8d4-4e2c-a68f-2626075f4d08 2024-08-26 16:26:14,481 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/478845be-b8d4-4e2c-a68f-2626075f4d08 2024-08-26 16:26:14,488 - DEBUG - Requesting: http://10.0.0.29:8082/route-target/7e0b9138-e4ae-43c9-a6ce-264edadbe43c 2024-08-26 16:26:14,501 - DEBUG - Control-node 10.0.0.29 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-89298945:ctest-vn-96032220', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-89298945', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1938844069073995423', 'uuid-lslong': '12587833706685120402'}, 'enable': 'true', 'created': '2024-08-26T16:26:12', 'last-modified': '2024-08-26T16:26:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.061981'} 2024-08-26 16:26:14,508 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-08-26 16:26:14,508 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96032220 passed 2024-08-26 16:26:14,509 - DEBUG - ====Verifying policy data for ctest-vn-96032220 in API_Server ====== 2024-08-26 16:26:14,509 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2024-08-26 16:26:14,515 - DEBUG - Requesting: http://10.0.0.29:8082/domain/94992447-d7f3-479c-be41-1b8a47f970b3 2024-08-26 16:26:14,528 - DEBUG - Requesting: http://10.0.0.29:8082/project/d4eb68c3-b1e0-4959-aafb-6e5021b02a3e 2024-08-26 16:26:14,600 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/1ae82868-8c07-469f-aeb0-f81022a7bf92 2024-08-26 16:26:14,610 - DEBUG - ==>Verifying data for policy with id: fca9732e-56a4-489f-9ea4-0d8bed68dabf, fqn: ['default-domain', 'ctest-TestBasicPolicy-89298945', 'ctest-policy-allow-all-45528741'] 2024-08-26 16:26:14,610 - INFO - VN ctest-vn-96032220 Policy verification: verify_vn_policy_in_api_server, status: True 2024-08-26 16:26:14,610 - DEBUG - Verifying the vn in opserver 2024-08-26 16:26:14,610 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-89298945:ctest-vn-96032220 virtual network link through opserver 10.0.0.29 2024-08-26 16:26:14,610 - DEBUG - Requesting: http://10.0.0.29:8081/analytics/uves/virtual-networks 2024-08-26 16:26:14,956 - DEBUG - Requesting: http://10.0.0.29:8081/analytics/uves/virtual-networks 2024-08-26 16:26:15,042 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-89298945:ctest-vn-96032220', 'href': 'http://10.0.0.29:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-89298945:ctest-vn-96032220?flat'} 2024-08-26 16:26:15,042 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-89298945:ctest-vn-96032220 is found in opserver 2024-08-26 16:26:15,056 - DEBUG - Do not have enough data to verify VN in agent 2024-08-26 16:26:15,063 - DEBUG - VRF ids for VN ctest-vn-96032220: {} 2024-08-26 16:26:15,063 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2024-08-26 16:26:15,070 - DEBUG - Requesting: http://10.0.0.29:8082/domain/94992447-d7f3-479c-be41-1b8a47f970b3 2024-08-26 16:26:15,084 - DEBUG - Requesting: http://10.0.0.29:8082/project/d4eb68c3-b1e0-4959-aafb-6e5021b02a3e 2024-08-26 16:26:15,164 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/fd2674d7-af58-4777-8f67-f24eb37bd797 2024-08-26 16:26:15,180 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/fd2674d7-af58-4777-8f67-f24eb37bd797 2024-08-26 16:26:15,190 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/2258644c-6c8e-492b-9f5d-7690f2949710 2024-08-26 16:26:15,198 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/2258644c-6c8e-492b-9f5d-7690f2949710 2024-08-26 16:26:15,207 - DEBUG - Requesting: http://10.0.0.29:8082/route-target/be8f3c00-0927-458a-8653-3978226ee0f2 2024-08-26 16:26:15,214 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-08-26 16:26:15,214 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/fd2674d7-af58-4777-8f67-f24eb37bd797 2024-08-26 16:26:15,222 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/2258644c-6c8e-492b-9f5d-7690f2949710 2024-08-26 16:26:15,235 - INFO - Verified VN network id 9 for VN fd2674d7-af58-4777-8f67-f24eb37bd797 2024-08-26 16:26:15,235 - INFO - Verifications in API Server for VN ctest-vn-22342477 passed 2024-08-26 16:26:15,235 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/fd2674d7-af58-4777-8f67-f24eb37bd797 2024-08-26 16:26:15,244 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/2258644c-6c8e-492b-9f5d-7690f2949710 2024-08-26 16:26:15,252 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/2258644c-6c8e-492b-9f5d-7690f2949710 2024-08-26 16:26:15,259 - DEBUG - Requesting: http://10.0.0.29:8082/route-target/be8f3c00-0927-458a-8653-3978226ee0f2 2024-08-26 16:26:15,273 - DEBUG - Control-node 10.0.0.29 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-89298945:ctest-vn-22342477', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-89298945', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18241395810419361655', 'uuid-lslong': '10333494289857501079'}, 'enable': 'true', 'created': '2024-08-26T16:26:12', 'last-modified': '2024-08-26T16:26:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.566599'} 2024-08-26 16:26:15,281 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-08-26 16:26:15,282 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-22342477 passed 2024-08-26 16:26:15,282 - DEBUG - ====Verifying policy data for ctest-vn-22342477 in API_Server ====== 2024-08-26 16:26:15,282 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2024-08-26 16:26:15,289 - DEBUG - Requesting: http://10.0.0.29:8082/domain/94992447-d7f3-479c-be41-1b8a47f970b3 2024-08-26 16:26:15,303 - DEBUG - Requesting: http://10.0.0.29:8082/project/d4eb68c3-b1e0-4959-aafb-6e5021b02a3e 2024-08-26 16:26:15,384 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/fd2674d7-af58-4777-8f67-f24eb37bd797 2024-08-26 16:26:15,395 - DEBUG - ==>Verifying data for policy with id: fca9732e-56a4-489f-9ea4-0d8bed68dabf, fqn: ['default-domain', 'ctest-TestBasicPolicy-89298945', 'ctest-policy-allow-all-45528741'] 2024-08-26 16:26:15,395 - INFO - VN ctest-vn-22342477 Policy verification: verify_vn_policy_in_api_server, status: True 2024-08-26 16:26:15,396 - DEBUG - Verifying the vn in opserver 2024-08-26 16:26:15,396 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-89298945:ctest-vn-22342477 virtual network link through opserver 10.0.0.29 2024-08-26 16:26:15,396 - DEBUG - Requesting: http://10.0.0.29:8081/analytics/uves/virtual-networks 2024-08-26 16:26:15,410 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-89298945:ctest-vn-22342477', 'href': 'http://10.0.0.29:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-89298945:ctest-vn-22342477?flat'} 2024-08-26 16:26:15,411 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-89298945:ctest-vn-22342477 is found in opserver 2024-08-26 16:26:15,429 - DEBUG - Do not have enough data to verify VN in agent 2024-08-26 16:26:15,435 - DEBUG - VRF ids for VN ctest-vn-22342477: {} 2024-08-26 16:26:15,494 - DEBUG - Services list from nova: [, , ] 2024-08-26 16:26:16,639 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1761-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1761-1) 2024-08-26 16:26:18,040 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1761-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1761-1) 2024-08-26 16:26:18,040 - INFO - Waiting for VM ctest-TestBasicPolicy-89298945-27551131 to be up.. 2024-08-26 16:26:18,145 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-26 16:26:23,228 - DEBUG - VM is in ACTIVE state now 2024-08-26 16:26:23,228 - INFO - VM name : ctest-TestBasicPolicy-89298945-27551131 2024-08-26 16:26:23,311 - DEBUG - VM ctest-TestBasicPolicy-89298945-27551131 ID is d19eaa41-ecd2-4a65-8785-41279a88d10d 2024-08-26 16:26:23,331 - DEBUG - VM ctest-TestBasicPolicy-89298945-27551131 launched on Node cn-jenkins-deploy-platform-ansible-os-1761-1 2024-08-26 16:26:23,442 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/d19eaa41-ecd2-4a65-8785-41279a88d10d 2024-08-26 16:26:23,452 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/9c61046d-0df7-4b8a-a120-3110149fb130 2024-08-26 16:26:26,715 - 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 1027ms') 2024-08-26 16:26:26,715 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-89298945-27551131 failed! 2024-08-26 16:26:26,769 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-89298945:ctest-vn-96032220 is 138.52.28.129 and allocation pool is NOT set 2024-08-26 16:26:28,833 - 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=7.99 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.699 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.699/4.344/7.989/3.645 ms') 2024-08-26 16:26:28,833 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-89298945-27551131 passed 2024-08-26 16:26:29,001 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 16:26:29,001 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-89298945-27551131, IP 138.52.28.131, Port 22 2024-08-26 16:26:29,160 - DEBUG - VM ctest-TestBasicPolicy-89298945-27551131 is ready for SSH connections 2024-08-26 16:26:29,160 - INFO - Waiting for VM ctest-TestBasicPolicy-89298945-66096313 to be up.. 2024-08-26 16:26:29,245 - DEBUG - VM is in ACTIVE state now 2024-08-26 16:26:29,245 - INFO - VM name : ctest-TestBasicPolicy-89298945-66096313 2024-08-26 16:26:29,325 - DEBUG - VM ctest-TestBasicPolicy-89298945-66096313 ID is 58dce3be-e8cd-456c-82fe-7192be440c8d 2024-08-26 16:26:29,326 - DEBUG - VM ctest-TestBasicPolicy-89298945-66096313 launched on Node cn-jenkins-deploy-platform-ansible-os-1761-1 2024-08-26 16:26:29,410 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/58dce3be-e8cd-456c-82fe-7192be440c8d 2024-08-26 16:26:29,418 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/14782edd-6283-4382-8656-071e85e4f930 2024-08-26 16:26:30,655 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=4.21 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.956 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.956/2.583/4.210/1.627 ms') 2024-08-26 16:26:30,655 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-89298945-66096313 passed 2024-08-26 16:26:30,805 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 16:26:30,805 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-89298945-66096313, IP 12.94.176.67, Port 22 2024-08-26 16:26:30,960 - DEBUG - VM ctest-TestBasicPolicy-89298945-66096313 is ready for SSH connections 2024-08-26 16:26:30,960 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 16:26:30,961 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 12.94.176.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2024-08-26 16:26:30,961 - DEBUG - ping -s 56 -c 3 -W 1 12.94.176.67 2024-08-26 16:26:35,022 - DEBUG - PING 12.94.176.67 (12.94.176.67): 56 data bytes 64 bytes from 12.94.176.67: seq=0 ttl=63 time=3.581 ms 64 bytes from 12.94.176.67: seq=1 ttl=63 time=0.903 ms 64 bytes from 12.94.176.67: seq=2 ttl=63 time=0.802 ms --- 12.94.176.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.802/1.762/3.581 ms 2024-08-26 16:26:35,022 - INFO - Ping to IP 12.94.176.67 from VM ctest-TestBasicPolicy-89298945-27551131 passed 2024-08-26 16:26:35,200 - DEBUG - Policy Update Response {"network-policy": {"uuid": "fca9732e-56a4-489f-9ea4-0d8bed68dabf", "href": "http://10.0.0.29:8082/network-policy/fca9732e-56a4-489f-9ea4-0d8bed68dabf"}} 2024-08-26 16:26:35,201 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 16:26:35,201 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 12.94.176.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2024-08-26 16:26:35,201 - DEBUG - ping -s 56 -c 3 -W 1 12.94.176.67 2024-08-26 16:26:38,420 - DEBUG - PING 12.94.176.67 (12.94.176.67): 56 data bytes 64 bytes from 12.94.176.67: seq=0 ttl=63 time=1.567 ms --- 12.94.176.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.567/1.567/1.567 ms 2024-08-26 16:26:38,420 - WARNING - Ping to IP 12.94.176.67 from VM ctest-TestBasicPolicy-89298945-27551131 failed 2024-08-26 16:26:38,421 - INFO - Deleting VM ctest-TestBasicPolicy-89298945-66096313 2024-08-26 16:26:38,487 - INFO - Deleting VM ctest-TestBasicPolicy-89298945-27551131 2024-08-26 16:26:38,899 - INFO - Deleted policy ctest-policy-allow-all-45528741 2024-08-26 16:26:38,899 - INFO - Deleting VN ctest-vn-22342477 2024-08-26 16:26:38,947 - DEBUG - VN fd2674d7-af58-4777-8f67-f24eb37bd797 still in use: Unable to complete operation on network fd2674d7-af58-4777-8f67-f24eb37bd797. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-71d398a5-6cb4-470e-9506-540f51992eb7'] 2024-08-26 16:26:38,947 - WARNING - Deleting VN ctest-vn-22342477 failed..Will retry 2024-08-26 16:26:41,069 - DEBUG - Response for deleting network () 2024-08-26 16:26:41,069 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/2258644c-6c8e-492b-9f5d-7690f2949710 2024-08-26 16:26:41,075 - DEBUG - Response Code: 404 2024-08-26 16:26:41,075 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2024-08-26 16:26:41,081 - DEBUG - Requesting: http://10.0.0.29:8082/domain/94992447-d7f3-479c-be41-1b8a47f970b3 2024-08-26 16:26:41,138 - DEBUG - Requesting: http://10.0.0.29:8082/project/d4eb68c3-b1e0-4959-aafb-6e5021b02a3e 2024-08-26 16:26:41,208 - INFO - Validated that VN ctest-vn-22342477 is not found in API Server 2024-08-26 16:26:41,221 - DEBUG - VN ctest-vn-22342477 is not present in Agent 10.0.0.29 2024-08-26 16:26:41,221 - INFO - Validated that VN ctest-vn-22342477 is not in any agent 2024-08-26 16:26:41,241 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-22342477 info 2024-08-26 16:26:41,241 - INFO - Deleting VN ctest-vn-96032220 2024-08-26 16:26:41,364 - DEBUG - Response for deleting network () 2024-08-26 16:26:41,364 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/478845be-b8d4-4e2c-a68f-2626075f4d08 2024-08-26 16:26:41,373 - DEBUG - Response Code: 404 2024-08-26 16:26:41,373 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2024-08-26 16:26:41,382 - DEBUG - Requesting: http://10.0.0.29:8082/domain/94992447-d7f3-479c-be41-1b8a47f970b3 2024-08-26 16:26:41,440 - DEBUG - Requesting: http://10.0.0.29:8082/project/d4eb68c3-b1e0-4959-aafb-6e5021b02a3e 2024-08-26 16:26:41,517 - INFO - Validated that VN ctest-vn-96032220 is not found in API Server 2024-08-26 16:26:41,529 - DEBUG - VN ctest-vn-96032220 is not present in Agent 10.0.0.29 2024-08-26 16:26:41,529 - INFO - Validated that VN ctest-vn-96032220 is not in any agent 2024-08-26 16:26:41,546 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-96032220 info 2024-08-26 16:26:41,803 - DEBUG - No XMPP flaps were noticed during the test
2024-08-26 16:26:41,803 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2024-08-26 16:26:41,803 - INFO - -------------------------------------------------------------------------------- 2024-08-26 16:26:42,529 - INFO - Deleted project: ctest-TestBasicPolicy-89298945, ID : d4eb68c3-b1e0-4959-aafb-6e5021b02a3e