2025-02-03 12:31:21,726 - INFO - Domain Default found not creating 2025-02-03 12:31:21,876 - INFO - Project ctest-TestBasicPolicy-78657087 not found, creating it 2025-02-03 12:31:22,360 - INFO - Created Project:ctest-TestBasicPolicy-78657087, ID : 928f7567-069b-467f-8618-77d7057ea2af 2025-02-03 12:31:23,822 - INFO - ================================================================================ 2025-02-03 12:31:23,822 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-02-03 12:31:23,822 - 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-03 12:31:24,085 - DEBUG - Nothing to compare xmpp stats {'10.0.0.12': {'10.20.0.5': '0'}} with 2025-02-03 12:31:24,085 - INFO - Initial checks done. Running the testcase now 2025-02-03 12:31:24,085 - INFO - 2025-02-03 12:31:24,650 - DEBUG - Response for create_network : {'network': {'id': '350c0443-dc5d-4234-b8a4-e5c7ee8e0e1b', 'name': 'ctest-vn-59918525', 'tenant_id': '928f7567069b467f861877d7057ea2af', 'project_id': '928f7567069b467f861877d7057ea2af', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78657087', 'ctest-vn-59918525'], 'port_security_enabled': True, 'description': ''}} 2025-02-03 12:31:24,834 - DEBUG - Response for create_subnet : {'subnet': {'id': '76cf076c-2b3c-4678-b37b-1d317ded3a50', 'name': '', 'tenant_id': '928f7567069b467f861877d7057ea2af', 'network_id': '350c0443-dc5d-4234-b8a4-e5c7ee8e0e1b', 'ip_version': 4, 'cidr': '139.147.250.192/26', 'allocation_pools': [{'start': '139.147.250.194', 'end': '139.147.250.254'}], 'gateway_ip': '139.147.250.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '139.147.250.194', 'tags': [], 'project_id': '928f7567069b467f861877d7057ea2af'}} 2025-02-03 12:31:24,854 - INFO - Created VN ctest-vn-59918525 2025-02-03 12:31:24,907 - DEBUG - VN ctest-vn-59918525 UUID is 350c0443-dc5d-4234-b8a4-e5c7ee8e0e1b 2025-02-03 12:31:25,242 - DEBUG - Response for create_network : {'network': {'id': '981505e7-e685-446d-996b-aa296d73f168', 'name': 'ctest-vn-06454791', 'tenant_id': '928f7567069b467f861877d7057ea2af', 'project_id': '928f7567069b467f861877d7057ea2af', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78657087', 'ctest-vn-06454791'], 'port_security_enabled': True, 'description': ''}} 2025-02-03 12:31:25,479 - DEBUG - Response for create_subnet : {'subnet': {'id': '944048a2-f98a-4361-bc9c-0eb8611ab85e', 'name': '', 'tenant_id': '928f7567069b467f861877d7057ea2af', 'network_id': '981505e7-e685-446d-996b-aa296d73f168', 'ip_version': 4, 'cidr': '68.193.215.0/26', 'allocation_pools': [{'start': '68.193.215.2', 'end': '68.193.215.62'}], 'gateway_ip': '68.193.215.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.193.215.2', 'tags': [], 'project_id': '928f7567069b467f861877d7057ea2af'}} 2025-02-03 12:31:25,502 - INFO - Created VN ctest-vn-06454791 2025-02-03 12:31:25,555 - DEBUG - VN ctest-vn-06454791 UUID is 981505e7-e685-446d-996b-aa296d73f168 2025-02-03 12:31:25,680 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-78657087:ctest-vn-59918525, 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-78657087:ctest-vn-06454791, 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-03 12:31:26,009 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '350c0443-dc5d-4234-b8a4-e5c7ee8e0e1b', 'name': 'ctest-vn-59918525', 'tenant_id': '928f7567069b467f861877d7057ea2af', 'project_id': '928f7567069b467f861877d7057ea2af', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['76cf076c-2b3c-4678-b37b-1d317ded3a50'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78657087', 'ctest-vn-59918525'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-78657087', 'ctest-policy-allow-all-64153728']], 'subnet_ipam': [{'subnet_cidr': '139.147.250.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-03 12:31:26,274 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '981505e7-e685-446d-996b-aa296d73f168', 'name': 'ctest-vn-06454791', 'tenant_id': '928f7567069b467f861877d7057ea2af', 'project_id': '928f7567069b467f861877d7057ea2af', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['944048a2-f98a-4361-bc9c-0eb8611ab85e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78657087', 'ctest-vn-06454791'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-78657087', 'ctest-policy-allow-all-64153728']], 'subnet_ipam': [{'subnet_cidr': '68.193.215.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-03 12:31:26,447 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2025-02-03 12:31:26,755 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2025-02-03 12:31:26,786 - DEBUG - Requesting: http://10.0.0.12:8082/domain/08631338-ec34-46cf-9f81-5bd37d107390 2025-02-03 12:31:26,802 - DEBUG - Requesting: http://10.0.0.12:8082/project/928f7567-069b-467f-8618-77d7057ea2af 2025-02-03 12:31:26,882 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/350c0443-dc5d-4234-b8a4-e5c7ee8e0e1b 2025-02-03 12:31:26,896 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/350c0443-dc5d-4234-b8a4-e5c7ee8e0e1b 2025-02-03 12:31:26,908 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/6ab7f4c9-4dba-4815-aa37-5b4e9f42f10a 2025-02-03 12:31:26,918 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/6ab7f4c9-4dba-4815-aa37-5b4e9f42f10a 2025-02-03 12:31:26,927 - DEBUG - Requesting: http://10.0.0.12:8082/route-target/40fcb872-63c5-4145-8880-801265681398 2025-02-03 12:31:26,936 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-03 12:31:26,936 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/350c0443-dc5d-4234-b8a4-e5c7ee8e0e1b 2025-02-03 12:31:26,946 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/6ab7f4c9-4dba-4815-aa37-5b4e9f42f10a 2025-02-03 12:31:26,968 - INFO - Verified VN network id 8 for VN 350c0443-dc5d-4234-b8a4-e5c7ee8e0e1b 2025-02-03 12:31:26,968 - INFO - Verifications in API Server for VN ctest-vn-59918525 passed 2025-02-03 12:31:26,969 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/350c0443-dc5d-4234-b8a4-e5c7ee8e0e1b 2025-02-03 12:31:26,988 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/6ab7f4c9-4dba-4815-aa37-5b4e9f42f10a 2025-02-03 12:31:26,998 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/6ab7f4c9-4dba-4815-aa37-5b4e9f42f10a 2025-02-03 12:31:27,008 - DEBUG - Requesting: http://10.0.0.12:8082/route-target/40fcb872-63c5-4145-8880-801265681398 2025-02-03 12:31:27,027 - DEBUG - Control-node 10.0.0.12 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-78657087:ctest-vn-59918525', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-78657087', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3822434873237127732', 'uuid-lslong': '13305011846022827547'}, 'enable': 'true', 'created': '2025-02-03T12:31:24', 'last-modified': '2025-02-03T12:31:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.050769'} 2025-02-03 12:31:27,036 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-03 12:31:27,036 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-59918525 passed 2025-02-03 12:31:27,037 - DEBUG - ====Verifying policy data for ctest-vn-59918525 in API_Server ====== 2025-02-03 12:31:27,037 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2025-02-03 12:31:27,045 - DEBUG - Requesting: http://10.0.0.12:8082/domain/08631338-ec34-46cf-9f81-5bd37d107390 2025-02-03 12:31:27,067 - DEBUG - Requesting: http://10.0.0.12:8082/project/928f7567-069b-467f-8618-77d7057ea2af 2025-02-03 12:31:27,144 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/350c0443-dc5d-4234-b8a4-e5c7ee8e0e1b 2025-02-03 12:31:27,155 - DEBUG - ==>Verifying data for policy with id: ed2fc681-9d69-430e-9443-bdf0b4ab3f5c, fqn: ['default-domain', 'ctest-TestBasicPolicy-78657087', 'ctest-policy-allow-all-64153728'] 2025-02-03 12:31:27,156 - INFO - VN ctest-vn-59918525 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-03 12:31:27,156 - DEBUG - Verifying the vn in opserver 2025-02-03 12:31:27,156 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-78657087:ctest-vn-59918525 virtual network link through opserver 10.0.0.12 2025-02-03 12:31:27,156 - DEBUG - Requesting: http://10.0.0.12:8081/analytics/uves/virtual-networks 2025-02-03 12:31:27,450 - DEBUG - Requesting: http://10.0.0.12:8081/analytics/uves/virtual-networks 2025-02-03 12:31:27,515 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-78657087:ctest-vn-59918525', 'href': 'http://10.0.0.12:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-78657087:ctest-vn-59918525?flat'} 2025-02-03 12:31:27,515 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-78657087:ctest-vn-59918525 is found in opserver 2025-02-03 12:31:27,528 - DEBUG - Do not have enough data to verify VN in agent 2025-02-03 12:31:27,534 - DEBUG - VRF ids for VN ctest-vn-59918525: {} 2025-02-03 12:31:27,534 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2025-02-03 12:31:27,542 - DEBUG - Requesting: http://10.0.0.12:8082/domain/08631338-ec34-46cf-9f81-5bd37d107390 2025-02-03 12:31:27,555 - DEBUG - Requesting: http://10.0.0.12:8082/project/928f7567-069b-467f-8618-77d7057ea2af 2025-02-03 12:31:27,632 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/981505e7-e685-446d-996b-aa296d73f168 2025-02-03 12:31:27,645 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/981505e7-e685-446d-996b-aa296d73f168 2025-02-03 12:31:27,655 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/a03680e2-3402-43ba-9282-19c5d154934e 2025-02-03 12:31:27,663 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/a03680e2-3402-43ba-9282-19c5d154934e 2025-02-03 12:31:27,671 - DEBUG - Requesting: http://10.0.0.12:8082/route-target/ea0ec08f-9b46-4526-94de-73bc3de34270 2025-02-03 12:31:27,679 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-03 12:31:27,679 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/981505e7-e685-446d-996b-aa296d73f168 2025-02-03 12:31:27,689 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/a03680e2-3402-43ba-9282-19c5d154934e 2025-02-03 12:31:27,707 - INFO - Verified VN network id 9 for VN 981505e7-e685-446d-996b-aa296d73f168 2025-02-03 12:31:27,707 - INFO - Verifications in API Server for VN ctest-vn-06454791 passed 2025-02-03 12:31:27,707 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/981505e7-e685-446d-996b-aa296d73f168 2025-02-03 12:31:27,718 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/a03680e2-3402-43ba-9282-19c5d154934e 2025-02-03 12:31:27,727 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/a03680e2-3402-43ba-9282-19c5d154934e 2025-02-03 12:31:27,737 - DEBUG - Requesting: http://10.0.0.12:8082/route-target/ea0ec08f-9b46-4526-94de-73bc3de34270 2025-02-03 12:31:27,754 - DEBUG - Control-node 10.0.0.12 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-78657087:ctest-vn-06454791', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-78657087', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10958671761839047789', 'uuid-lslong': '11055116805217710440'}, 'enable': 'true', 'created': '2025-02-03T12:31:25', 'last-modified': '2025-02-03T12:31:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.510289'} 2025-02-03 12:31:27,762 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-03 12:31:27,762 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-06454791 passed 2025-02-03 12:31:27,762 - DEBUG - ====Verifying policy data for ctest-vn-06454791 in API_Server ====== 2025-02-03 12:31:27,762 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2025-02-03 12:31:27,769 - DEBUG - Requesting: http://10.0.0.12:8082/domain/08631338-ec34-46cf-9f81-5bd37d107390 2025-02-03 12:31:27,783 - DEBUG - Requesting: http://10.0.0.12:8082/project/928f7567-069b-467f-8618-77d7057ea2af 2025-02-03 12:31:27,866 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/981505e7-e685-446d-996b-aa296d73f168 2025-02-03 12:31:27,883 - DEBUG - ==>Verifying data for policy with id: ed2fc681-9d69-430e-9443-bdf0b4ab3f5c, fqn: ['default-domain', 'ctest-TestBasicPolicy-78657087', 'ctest-policy-allow-all-64153728'] 2025-02-03 12:31:27,883 - INFO - VN ctest-vn-06454791 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-03 12:31:27,883 - DEBUG - Verifying the vn in opserver 2025-02-03 12:31:27,883 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-78657087:ctest-vn-06454791 virtual network link through opserver 10.0.0.12 2025-02-03 12:31:27,883 - DEBUG - Requesting: http://10.0.0.12:8081/analytics/uves/virtual-networks 2025-02-03 12:31:27,896 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-78657087:ctest-vn-06454791', 'href': 'http://10.0.0.12:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-78657087:ctest-vn-06454791?flat'} 2025-02-03 12:31:27,896 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-78657087:ctest-vn-06454791 is found in opserver 2025-02-03 12:31:27,909 - DEBUG - Do not have enough data to verify VN in agent 2025-02-03 12:31:27,914 - DEBUG - VRF ids for VN ctest-vn-06454791: {} 2025-02-03 12:31:27,998 - DEBUG - Services list from nova: [, , ] 2025-02-03 12:31:29,136 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2678-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2678-1) 2025-02-03 12:31:30,440 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2678-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2678-1) 2025-02-03 12:31:30,440 - INFO - Waiting for VM ctest-TestBasicPolicy-78657087-31715739 to be up.. 2025-02-03 12:31:30,552 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-03 12:31:35,650 - DEBUG - VM is in ACTIVE state now 2025-02-03 12:31:35,651 - INFO - VM name : ctest-TestBasicPolicy-78657087-31715739 2025-02-03 12:31:35,739 - DEBUG - VM ctest-TestBasicPolicy-78657087-31715739 ID is 95eacc93-07ce-41cc-a392-5fd162125436 2025-02-03 12:31:35,760 - DEBUG - VM ctest-TestBasicPolicy-78657087-31715739 launched on Node cn-jenkins-deploy-platform-ansible-os-2678-1 2025-02-03 12:31:35,840 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/95eacc93-07ce-41cc-a392-5fd162125436 2025-02-03 12:31:35,852 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/7efff46b-bd24-4aaa-801f-1793b9c26322 2025-02-03 12:31:39,095 - 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 1003ms') 2025-02-03 12:31:39,095 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-78657087-31715739 failed! 2025-02-03 12:31:39,155 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-78657087:ctest-vn-59918525 is 139.147.250.193 and allocation pool is NOT set 2025-02-03 12:31:41,221 - 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=6.97 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.544 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.544/3.757/6.970/3.213 ms') 2025-02-03 12:31:41,221 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-78657087-31715739 passed 2025-02-03 12:31:41,379 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-03 12:31:41,379 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-78657087-31715739, IP 139.147.250.195, Port 22 2025-02-03 12:31:41,553 - DEBUG - VM ctest-TestBasicPolicy-78657087-31715739 is ready for SSH connections 2025-02-03 12:31:41,553 - INFO - Waiting for VM ctest-TestBasicPolicy-78657087-75392472 to be up.. 2025-02-03 12:31:41,646 - DEBUG - VM is in ACTIVE state now 2025-02-03 12:31:41,646 - INFO - VM name : ctest-TestBasicPolicy-78657087-75392472 2025-02-03 12:31:41,734 - DEBUG - VM ctest-TestBasicPolicy-78657087-75392472 ID is b24f1943-2187-4c3b-989b-213ae6205fc6 2025-02-03 12:31:41,734 - DEBUG - VM ctest-TestBasicPolicy-78657087-75392472 launched on Node cn-jenkins-deploy-platform-ansible-os-2678-1 2025-02-03 12:31:41,815 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/b24f1943-2187-4c3b-989b-213ae6205fc6 2025-02-03 12:31:41,824 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/5f4da91e-be92-4ebc-8ee8-1af05e77ec79 2025-02-03 12:31:43,075 - 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.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.528 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.528/2.220/3.912/1.692 ms') 2025-02-03 12:31:43,075 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-78657087-75392472 passed 2025-02-03 12:31:43,231 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-03 12:31:43,231 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-78657087-75392472, IP 68.193.215.3, Port 22 2025-02-03 12:31:43,395 - DEBUG - VM ctest-TestBasicPolicy-78657087-75392472 is ready for SSH connections 2025-02-03 12:31:43,396 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-03 12:31:43,396 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 68.193.215.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123 2025-02-03 12:31:43,396 - DEBUG - ping -s 56 -c 3 -W 1 68.193.215.3 2025-02-03 12:31:47,430 - DEBUG - PING 68.193.215.3 (68.193.215.3): 56 data bytes 64 bytes from 68.193.215.3: seq=0 ttl=63 time=5.949 ms 64 bytes from 68.193.215.3: seq=1 ttl=63 time=1.106 ms 64 bytes from 68.193.215.3: seq=2 ttl=63 time=1.191 ms --- 68.193.215.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.106/2.748/5.949 ms 2025-02-03 12:31:47,430 - INFO - Ping to IP 68.193.215.3 from VM ctest-TestBasicPolicy-78657087-31715739 passed 2025-02-03 12:31:47,627 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ed2fc681-9d69-430e-9443-bdf0b4ab3f5c", "href": "http://10.0.0.12:8082/network-policy/ed2fc681-9d69-430e-9443-bdf0b4ab3f5c"}} 2025-02-03 12:31:47,627 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-03 12:31:47,627 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 68.193.215.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123 2025-02-03 12:31:47,627 - DEBUG - ping -s 56 -c 3 -W 1 68.193.215.3 2025-02-03 12:31:50,834 - DEBUG - PING 68.193.215.3 (68.193.215.3): 56 data bytes 64 bytes from 68.193.215.3: seq=0 ttl=63 time=1.558 ms --- 68.193.215.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.558/1.558/1.558 ms 2025-02-03 12:31:50,834 - WARNING - Ping to IP 68.193.215.3 from VM ctest-TestBasicPolicy-78657087-31715739 failed 2025-02-03 12:31:50,834 - INFO - Deleting VM ctest-TestBasicPolicy-78657087-75392472 2025-02-03 12:31:50,912 - INFO - Deleting VM ctest-TestBasicPolicy-78657087-31715739 2025-02-03 12:31:51,339 - INFO - Deleted policy ctest-policy-allow-all-64153728 2025-02-03 12:31:51,339 - INFO - Deleting VN ctest-vn-06454791 2025-02-03 12:31:51,377 - DEBUG - VN 981505e7-e685-446d-996b-aa296d73f168 still in use: Unable to complete operation on network 981505e7-e685-446d-996b-aa296d73f168. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ee465308-4cfa-4d0a-8fc7-1424d99e3edd'] 2025-02-03 12:31:51,378 - WARNING - Deleting VN ctest-vn-06454791 failed..Will retry 2025-02-03 12:31:53,494 - DEBUG - Response for deleting network () 2025-02-03 12:31:53,494 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/a03680e2-3402-43ba-9282-19c5d154934e 2025-02-03 12:31:53,499 - DEBUG - Response Code: 404 2025-02-03 12:31:53,500 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2025-02-03 12:31:53,508 - DEBUG - Requesting: http://10.0.0.12:8082/domain/08631338-ec34-46cf-9f81-5bd37d107390 2025-02-03 12:31:53,564 - DEBUG - Requesting: http://10.0.0.12:8082/project/928f7567-069b-467f-8618-77d7057ea2af 2025-02-03 12:31:53,638 - INFO - Validated that VN ctest-vn-06454791 is not found in API Server 2025-02-03 12:31:53,649 - DEBUG - VN ctest-vn-06454791 is not present in Agent 10.0.0.12 2025-02-03 12:31:53,649 - INFO - Validated that VN ctest-vn-06454791 is not in any agent 2025-02-03 12:31:53,665 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-06454791 info 2025-02-03 12:31:53,665 - INFO - Deleting VN ctest-vn-59918525 2025-02-03 12:31:53,792 - DEBUG - Response for deleting network () 2025-02-03 12:31:53,792 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/6ab7f4c9-4dba-4815-aa37-5b4e9f42f10a 2025-02-03 12:31:53,797 - DEBUG - Response Code: 404 2025-02-03 12:31:53,797 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2025-02-03 12:31:53,811 - DEBUG - Requesting: http://10.0.0.12:8082/domain/08631338-ec34-46cf-9f81-5bd37d107390 2025-02-03 12:31:53,865 - DEBUG - Requesting: http://10.0.0.12:8082/project/928f7567-069b-467f-8618-77d7057ea2af 2025-02-03 12:31:53,942 - INFO - Validated that VN ctest-vn-59918525 is not found in API Server 2025-02-03 12:31:53,954 - DEBUG - VN ctest-vn-59918525 is not present in Agent 10.0.0.12 2025-02-03 12:31:53,954 - INFO - Validated that VN ctest-vn-59918525 is not in any agent 2025-02-03 12:31:53,972 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-59918525 info 2025-02-03 12:31:54,249 - DEBUG - No XMPP flaps were noticed during the test
2025-02-03 12:31:54,249 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31]
2025-02-03 12:31:54,249 - INFO - -------------------------------------------------------------------------------- 2025-02-03 12:31:54,964 - INFO - Deleted project: ctest-TestBasicPolicy-78657087, ID : 928f7567-069b-467f-8618-77d7057ea2af