2025-02-06 02:21:31,151 - INFO - Domain Default found not creating 2025-02-06 02:21:31,292 - INFO - Project ctest-TestBasicPolicy-43718578 not found, creating it 2025-02-06 02:21:31,746 - INFO - Created Project:ctest-TestBasicPolicy-43718578, ID : 76f83e97-0c99-470a-bf62-8c2974d00251 2025-02-06 02:21:33,288 - INFO - ================================================================================ 2025-02-06 02:21:33,288 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-02-06 02:21:33,288 - 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-02-06 02:21:33,543 - DEBUG - Nothing to compare xmpp stats {'10.0.0.35': {'10.20.0.39': '0'}} with 2025-02-06 02:21:33,543 - INFO - Initial checks done. Running the testcase now 2025-02-06 02:21:33,543 - INFO - 2025-02-06 02:21:34,124 - DEBUG - Response for create_network : {'network': {'id': 'cd2ce75d-0a23-4c24-a4ce-b36ef0580633', 'name': 'ctest-vn-74424235', 'tenant_id': '76f83e970c99470abf628c2974d00251', 'project_id': '76f83e970c99470abf628c2974d00251', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43718578', 'ctest-vn-74424235'], 'port_security_enabled': True, 'description': ''}} 2025-02-06 02:21:34,315 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ce5227ba-5552-4b2f-b750-1030490901f6', 'name': '', 'tenant_id': '76f83e970c99470abf628c2974d00251', 'network_id': 'cd2ce75d-0a23-4c24-a4ce-b36ef0580633', 'ip_version': 4, 'cidr': '131.160.30.0/26', 'allocation_pools': [{'start': '131.160.30.2', 'end': '131.160.30.62'}], 'gateway_ip': '131.160.30.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.160.30.2', 'tags': [], 'project_id': '76f83e970c99470abf628c2974d00251'}} 2025-02-06 02:21:34,333 - INFO - Created VN ctest-vn-74424235 2025-02-06 02:21:34,392 - DEBUG - VN ctest-vn-74424235 UUID is cd2ce75d-0a23-4c24-a4ce-b36ef0580633 2025-02-06 02:21:34,684 - DEBUG - Response for create_network : {'network': {'id': '0582e0e9-f65b-4cca-89d9-512c5a5c67e6', 'name': 'ctest-vn-27676621', 'tenant_id': '76f83e970c99470abf628c2974d00251', 'project_id': '76f83e970c99470abf628c2974d00251', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43718578', 'ctest-vn-27676621'], 'port_security_enabled': True, 'description': ''}} 2025-02-06 02:21:34,914 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c5235ef5-60a5-4650-94a6-043e00d7e1d0', 'name': '', 'tenant_id': '76f83e970c99470abf628c2974d00251', 'network_id': '0582e0e9-f65b-4cca-89d9-512c5a5c67e6', 'ip_version': 4, 'cidr': '177.9.218.64/26', 'allocation_pools': [{'start': '177.9.218.66', 'end': '177.9.218.126'}], 'gateway_ip': '177.9.218.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.9.218.66', 'tags': [], 'project_id': '76f83e970c99470abf628c2974d00251'}} 2025-02-06 02:21:34,931 - INFO - Created VN ctest-vn-27676621 2025-02-06 02:21:34,984 - DEBUG - VN ctest-vn-27676621 UUID is 0582e0e9-f65b-4cca-89d9-512c5a5c67e6 2025-02-06 02:21:35,106 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-43718578:ctest-vn-74424235, 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-43718578:ctest-vn-27676621, 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-02-06 02:21:35,409 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cd2ce75d-0a23-4c24-a4ce-b36ef0580633', 'name': 'ctest-vn-74424235', 'tenant_id': '76f83e970c99470abf628c2974d00251', 'project_id': '76f83e970c99470abf628c2974d00251', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ce5227ba-5552-4b2f-b750-1030490901f6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43718578', 'ctest-vn-74424235'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43718578', 'ctest-policy-allow-all-10328650']], 'subnet_ipam': [{'subnet_cidr': '131.160.30.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-06 02:21:35,702 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0582e0e9-f65b-4cca-89d9-512c5a5c67e6', 'name': 'ctest-vn-27676621', 'tenant_id': '76f83e970c99470abf628c2974d00251', 'project_id': '76f83e970c99470abf628c2974d00251', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c5235ef5-60a5-4650-94a6-043e00d7e1d0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43718578', 'ctest-vn-27676621'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43718578', 'ctest-policy-allow-all-10328650']], 'subnet_ipam': [{'subnet_cidr': '177.9.218.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-06 02:21:35,852 - DEBUG - Requesting: http://10.0.0.35:8082/domains 2025-02-06 02:21:36,193 - DEBUG - Requesting: http://10.0.0.35:8082/domains 2025-02-06 02:21:36,222 - DEBUG - Requesting: http://10.0.0.35:8082/domain/f8ce587a-f27e-43a1-81bb-02994a6c3eb0 2025-02-06 02:21:36,235 - DEBUG - Requesting: http://10.0.0.35:8082/project/76f83e97-0c99-470a-bf62-8c2974d00251 2025-02-06 02:21:36,314 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/cd2ce75d-0a23-4c24-a4ce-b36ef0580633 2025-02-06 02:21:36,325 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/cd2ce75d-0a23-4c24-a4ce-b36ef0580633 2025-02-06 02:21:36,335 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/76ef1d39-6a67-4652-b470-7f69d458c2c9 2025-02-06 02:21:36,342 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/76ef1d39-6a67-4652-b470-7f69d458c2c9 2025-02-06 02:21:36,349 - DEBUG - Requesting: http://10.0.0.35:8082/route-target/187c7efd-46a5-47bc-bd0b-4a8988cfcfbf 2025-02-06 02:21:36,355 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-06 02:21:36,355 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/cd2ce75d-0a23-4c24-a4ce-b36ef0580633 2025-02-06 02:21:36,365 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/76ef1d39-6a67-4652-b470-7f69d458c2c9 2025-02-06 02:21:36,378 - INFO - Verified VN network id 8 for VN cd2ce75d-0a23-4c24-a4ce-b36ef0580633 2025-02-06 02:21:36,378 - INFO - Verifications in API Server for VN ctest-vn-74424235 passed 2025-02-06 02:21:36,378 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/cd2ce75d-0a23-4c24-a4ce-b36ef0580633 2025-02-06 02:21:36,388 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/76ef1d39-6a67-4652-b470-7f69d458c2c9 2025-02-06 02:21:36,394 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/76ef1d39-6a67-4652-b470-7f69d458c2c9 2025-02-06 02:21:36,401 - DEBUG - Requesting: http://10.0.0.35:8082/route-target/187c7efd-46a5-47bc-bd0b-4a8988cfcfbf 2025-02-06 02:21:36,413 - DEBUG - Control-node 10.0.0.35 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43718578:ctest-vn-74424235', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43718578', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14784446063538555940', 'uuid-lslong': '11875626556482651699'}, 'enable': 'true', 'created': '2025-02-06T02:21:34', 'last-modified': '2025-02-06T02:21:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.035745'} 2025-02-06 02:21:36,421 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-06 02:21:36,421 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-74424235 passed 2025-02-06 02:21:36,421 - DEBUG - ====Verifying policy data for ctest-vn-74424235 in API_Server ====== 2025-02-06 02:21:36,421 - DEBUG - Requesting: http://10.0.0.35:8082/domains 2025-02-06 02:21:36,426 - DEBUG - Requesting: http://10.0.0.35:8082/domain/f8ce587a-f27e-43a1-81bb-02994a6c3eb0 2025-02-06 02:21:36,438 - DEBUG - Requesting: http://10.0.0.35:8082/project/76f83e97-0c99-470a-bf62-8c2974d00251 2025-02-06 02:21:36,511 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/cd2ce75d-0a23-4c24-a4ce-b36ef0580633 2025-02-06 02:21:36,522 - DEBUG - ==>Verifying data for policy with id: 7e078bc1-beff-46ef-a254-f311e942a8f5, fqn: ['default-domain', 'ctest-TestBasicPolicy-43718578', 'ctest-policy-allow-all-10328650'] 2025-02-06 02:21:36,522 - INFO - VN ctest-vn-74424235 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-06 02:21:36,522 - DEBUG - Verifying the vn in opserver 2025-02-06 02:21:36,522 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43718578:ctest-vn-74424235 virtual network link through opserver 10.0.0.35 2025-02-06 02:21:36,522 - DEBUG - Requesting: http://10.0.0.35:8081/analytics/uves/virtual-networks 2025-02-06 02:21:36,856 - DEBUG - Requesting: http://10.0.0.35:8081/analytics/uves/virtual-networks 2025-02-06 02:21:36,910 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43718578:ctest-vn-74424235', 'href': 'http://10.0.0.35:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43718578:ctest-vn-74424235?flat'} 2025-02-06 02:21:36,910 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43718578:ctest-vn-74424235 is found in opserver 2025-02-06 02:21:36,923 - DEBUG - Do not have enough data to verify VN in agent 2025-02-06 02:21:36,928 - DEBUG - VRF ids for VN ctest-vn-74424235: {} 2025-02-06 02:21:36,928 - DEBUG - Requesting: http://10.0.0.35:8082/domains 2025-02-06 02:21:36,934 - DEBUG - Requesting: http://10.0.0.35:8082/domain/f8ce587a-f27e-43a1-81bb-02994a6c3eb0 2025-02-06 02:21:36,947 - DEBUG - Requesting: http://10.0.0.35:8082/project/76f83e97-0c99-470a-bf62-8c2974d00251 2025-02-06 02:21:37,018 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/0582e0e9-f65b-4cca-89d9-512c5a5c67e6 2025-02-06 02:21:37,032 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/0582e0e9-f65b-4cca-89d9-512c5a5c67e6 2025-02-06 02:21:37,042 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/71087a11-d6c6-4379-bd77-c194dc1ec72a 2025-02-06 02:21:37,049 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/71087a11-d6c6-4379-bd77-c194dc1ec72a 2025-02-06 02:21:37,056 - DEBUG - Requesting: http://10.0.0.35:8082/route-target/b3d4a275-5b67-499e-bcb3-61d8281f8b51 2025-02-06 02:21:37,062 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-06 02:21:37,062 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/0582e0e9-f65b-4cca-89d9-512c5a5c67e6 2025-02-06 02:21:37,071 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/71087a11-d6c6-4379-bd77-c194dc1ec72a 2025-02-06 02:21:37,085 - INFO - Verified VN network id 9 for VN 0582e0e9-f65b-4cca-89d9-512c5a5c67e6 2025-02-06 02:21:37,085 - INFO - Verifications in API Server for VN ctest-vn-27676621 passed 2025-02-06 02:21:37,085 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/0582e0e9-f65b-4cca-89d9-512c5a5c67e6 2025-02-06 02:21:37,094 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/71087a11-d6c6-4379-bd77-c194dc1ec72a 2025-02-06 02:21:37,101 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/71087a11-d6c6-4379-bd77-c194dc1ec72a 2025-02-06 02:21:37,107 - DEBUG - Requesting: http://10.0.0.35:8082/route-target/b3d4a275-5b67-499e-bcb3-61d8281f8b51 2025-02-06 02:21:37,119 - DEBUG - Control-node 10.0.0.35 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43718578:ctest-vn-27676621', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43718578', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '397127012627205322', 'uuid-lslong': '9933059704078755814'}, 'enable': 'true', 'created': '2025-02-06T02:21:34', 'last-modified': '2025-02-06T02:21:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.500707'} 2025-02-06 02:21:37,125 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-06 02:21:37,126 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-27676621 passed 2025-02-06 02:21:37,126 - DEBUG - ====Verifying policy data for ctest-vn-27676621 in API_Server ====== 2025-02-06 02:21:37,126 - DEBUG - Requesting: http://10.0.0.35:8082/domains 2025-02-06 02:21:37,130 - DEBUG - Requesting: http://10.0.0.35:8082/domain/f8ce587a-f27e-43a1-81bb-02994a6c3eb0 2025-02-06 02:21:37,141 - DEBUG - Requesting: http://10.0.0.35:8082/project/76f83e97-0c99-470a-bf62-8c2974d00251 2025-02-06 02:21:37,211 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/0582e0e9-f65b-4cca-89d9-512c5a5c67e6 2025-02-06 02:21:37,221 - DEBUG - ==>Verifying data for policy with id: 7e078bc1-beff-46ef-a254-f311e942a8f5, fqn: ['default-domain', 'ctest-TestBasicPolicy-43718578', 'ctest-policy-allow-all-10328650'] 2025-02-06 02:21:37,221 - INFO - VN ctest-vn-27676621 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-06 02:21:37,221 - DEBUG - Verifying the vn in opserver 2025-02-06 02:21:37,221 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43718578:ctest-vn-27676621 virtual network link through opserver 10.0.0.35 2025-02-06 02:21:37,221 - DEBUG - Requesting: http://10.0.0.35:8081/analytics/uves/virtual-networks 2025-02-06 02:21:37,231 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43718578:ctest-vn-27676621', 'href': 'http://10.0.0.35:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43718578:ctest-vn-27676621?flat'} 2025-02-06 02:21:37,231 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43718578:ctest-vn-27676621 is found in opserver 2025-02-06 02:21:37,243 - DEBUG - Do not have enough data to verify VN in agent 2025-02-06 02:21:37,248 - DEBUG - VRF ids for VN ctest-vn-27676621: {} 2025-02-06 02:21:37,310 - DEBUG - Services list from nova: [, , ] 2025-02-06 02:21:38,383 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2699-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2699-1) 2025-02-06 02:21:39,755 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2699-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2699-1) 2025-02-06 02:21:39,755 - INFO - Waiting for VM ctest-TestBasicPolicy-43718578-41300985 to be up.. 2025-02-06 02:21:39,838 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-06 02:21:44,914 - DEBUG - VM is in ACTIVE state now 2025-02-06 02:21:44,914 - INFO - VM name : ctest-TestBasicPolicy-43718578-41300985 2025-02-06 02:21:44,988 - DEBUG - VM ctest-TestBasicPolicy-43718578-41300985 ID is c11a9eb1-4e83-4cd2-a539-e994c554b419 2025-02-06 02:21:45,011 - DEBUG - VM ctest-TestBasicPolicy-43718578-41300985 launched on Node cn-jenkins-deploy-platform-ansible-os-2699-1 2025-02-06 02:21:45,084 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/c11a9eb1-4e83-4cd2-a539-e994c554b419 2025-02-06 02:21:45,093 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/1f7c6d66-64a7-41bb-90e3-80f72ca69bb1 2025-02-06 02:21:48,346 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1011ms') 2025-02-06 02:21:48,347 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-43718578-41300985 failed! 2025-02-06 02:21:48,404 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-43718578:ctest-vn-74424235 is 131.160.30.1 and allocation pool is NOT set 2025-02-06 02:21:50,470 - 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.77 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.88 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.875/3.323/4.771/1.448 ms') 2025-02-06 02:21:50,470 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-43718578-41300985 passed 2025-02-06 02:21:50,620 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-06 02:21:50,620 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43718578-41300985, IP 131.160.30.3, Port 22 2025-02-06 02:21:50,776 - DEBUG - VM ctest-TestBasicPolicy-43718578-41300985 is ready for SSH connections 2025-02-06 02:21:50,776 - INFO - Waiting for VM ctest-TestBasicPolicy-43718578-36355437 to be up.. 2025-02-06 02:21:50,852 - DEBUG - VM is in ACTIVE state now 2025-02-06 02:21:50,852 - INFO - VM name : ctest-TestBasicPolicy-43718578-36355437 2025-02-06 02:21:50,926 - DEBUG - VM ctest-TestBasicPolicy-43718578-36355437 ID is c0b3b424-1f20-46d4-9cc9-c433e1fc875f 2025-02-06 02:21:50,926 - DEBUG - VM ctest-TestBasicPolicy-43718578-36355437 launched on Node cn-jenkins-deploy-platform-ansible-os-2699-1 2025-02-06 02:21:50,999 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/c0b3b424-1f20-46d4-9cc9-c433e1fc875f 2025-02-06 02:21:51,007 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/67c780be-8044-47ac-a7db-95cebb10fd52 2025-02-06 02:21:52,248 - 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=6.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.444 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.444/3.673/6.902/3.229 ms') 2025-02-06 02:21:52,248 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-43718578-36355437 passed 2025-02-06 02:21:52,396 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-06 02:21:52,396 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43718578-36355437, IP 177.9.218.67, Port 22 2025-02-06 02:21:52,551 - DEBUG - VM ctest-TestBasicPolicy-43718578-36355437 is ready for SSH connections 2025-02-06 02:21:52,551 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-06 02:21:52,552 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 177.9.218.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.35, gateway password: c0ntrail123 2025-02-06 02:21:52,552 - DEBUG - ping -s 56 -c 3 -W 1 177.9.218.67 2025-02-06 02:21:56,256 - DEBUG - PING 177.9.218.67 (177.9.218.67): 56 data bytes 64 bytes from 177.9.218.67: seq=0 ttl=63 time=3.427 ms 64 bytes from 177.9.218.67: seq=1 ttl=63 time=0.836 ms 64 bytes from 177.9.218.67: seq=2 ttl=63 time=0.756 ms --- 177.9.218.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.756/1.673/3.427 ms 2025-02-06 02:21:56,256 - INFO - Ping to IP 177.9.218.67 from VM ctest-TestBasicPolicy-43718578-41300985 passed 2025-02-06 02:21:56,444 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7e078bc1-beff-46ef-a254-f311e942a8f5", "href": "http://10.0.0.35:8082/network-policy/7e078bc1-beff-46ef-a254-f311e942a8f5"}} 2025-02-06 02:21:56,444 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-06 02:21:56,444 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 177.9.218.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.35, gateway password: c0ntrail123 2025-02-06 02:21:56,444 - DEBUG - ping -s 56 -c 3 -W 1 177.9.218.67 2025-02-06 02:21:59,653 - DEBUG - PING 177.9.218.67 (177.9.218.67): 56 data bytes --- 177.9.218.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-02-06 02:21:59,653 - WARNING - Ping to IP 177.9.218.67 from VM ctest-TestBasicPolicy-43718578-41300985 failed 2025-02-06 02:21:59,654 - INFO - Deleting VM ctest-TestBasicPolicy-43718578-36355437 2025-02-06 02:21:59,716 - INFO - Deleting VM ctest-TestBasicPolicy-43718578-41300985 2025-02-06 02:22:00,093 - INFO - Deleted policy ctest-policy-allow-all-10328650 2025-02-06 02:22:00,094 - INFO - Deleting VN ctest-vn-27676621 2025-02-06 02:22:00,132 - DEBUG - VN 0582e0e9-f65b-4cca-89d9-512c5a5c67e6 still in use: Unable to complete operation on network 0582e0e9-f65b-4cca-89d9-512c5a5c67e6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bcbcbab7-85fc-4f83-9cdb-cb84e04716f4'] 2025-02-06 02:22:00,132 - WARNING - Deleting VN ctest-vn-27676621 failed..Will retry 2025-02-06 02:22:02,254 - DEBUG - Response for deleting network () 2025-02-06 02:22:02,254 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/71087a11-d6c6-4379-bd77-c194dc1ec72a 2025-02-06 02:22:02,267 - DEBUG - Response Code: 404 2025-02-06 02:22:02,267 - DEBUG - Requesting: http://10.0.0.35:8082/domains 2025-02-06 02:22:02,276 - DEBUG - Requesting: http://10.0.0.35:8082/domain/f8ce587a-f27e-43a1-81bb-02994a6c3eb0 2025-02-06 02:22:02,336 - DEBUG - Requesting: http://10.0.0.35:8082/project/76f83e97-0c99-470a-bf62-8c2974d00251 2025-02-06 02:22:02,405 - INFO - Validated that VN ctest-vn-27676621 is not found in API Server 2025-02-06 02:22:02,416 - DEBUG - VN ctest-vn-27676621 is not present in Agent 10.0.0.35 2025-02-06 02:22:02,416 - INFO - Validated that VN ctest-vn-27676621 is not in any agent 2025-02-06 02:22:02,432 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-27676621 info 2025-02-06 02:22:02,432 - INFO - Deleting VN ctest-vn-74424235 2025-02-06 02:22:02,542 - DEBUG - Response for deleting network () 2025-02-06 02:22:02,542 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/76ef1d39-6a67-4652-b470-7f69d458c2c9 2025-02-06 02:22:02,548 - DEBUG - Response Code: 404 2025-02-06 02:22:02,549 - DEBUG - Requesting: http://10.0.0.35:8082/domains 2025-02-06 02:22:02,555 - DEBUG - Requesting: http://10.0.0.35:8082/domain/f8ce587a-f27e-43a1-81bb-02994a6c3eb0 2025-02-06 02:22:02,609 - DEBUG - Requesting: http://10.0.0.35:8082/project/76f83e97-0c99-470a-bf62-8c2974d00251 2025-02-06 02:22:02,684 - INFO - Validated that VN ctest-vn-74424235 is not found in API Server 2025-02-06 02:22:02,697 - DEBUG - VN ctest-vn-74424235 is not present in Agent 10.0.0.35 2025-02-06 02:22:02,697 - INFO - Validated that VN ctest-vn-74424235 is not in any agent 2025-02-06 02:22:02,713 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-74424235 info 2025-02-06 02:22:02,966 - DEBUG - No XMPP flaps were noticed during the test
2025-02-06 02:22:02,966 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-02-06 02:22:02,966 - INFO - -------------------------------------------------------------------------------- 2025-02-06 02:22:03,670 - INFO - Deleted project: ctest-TestBasicPolicy-43718578, ID : 76f83e97-0c99-470a-bf62-8c2974d00251