2025-07-09 14:16:45,897 - INFO - Domain Default found not creating 2025-07-09 14:16:46,270 - INFO - Project ctest-TestBasicPolicy-20312235 not found, creating it 2025-07-09 14:16:47,039 - INFO - Created Project:ctest-TestBasicPolicy-20312235, ID : eb99bc46-f2a6-496f-b944-b3df79445fb3 2025-07-09 14:16:49,076 - INFO - ================================================================================ 2025-07-09 14:16:49,076 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-09 14:16:49,077 - 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-07-09 14:16:49,390 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.14': '0'}} with 2025-07-09 14:16:49,390 - INFO - Initial checks done. Running the testcase now 2025-07-09 14:16:49,391 - INFO - 2025-07-09 14:16:50,137 - DEBUG - Response for create_network : {'network': {'id': 'a2a48ccc-a19c-4dc6-9037-a3b2166e2657', 'name': 'ctest-vn-75118373', 'tenant_id': 'eb99bc46f2a6496fb944b3df79445fb3', 'project_id': 'eb99bc46f2a6496fb944b3df79445fb3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20312235', 'ctest-vn-75118373'], 'port_security_enabled': True, 'description': ''}} 2025-07-09 14:16:50,365 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a03a4fdd-f7a5-43bb-b5a3-5f5113091a88', 'name': '', 'tenant_id': 'eb99bc46f2a6496fb944b3df79445fb3', 'network_id': 'a2a48ccc-a19c-4dc6-9037-a3b2166e2657', 'ip_version': 4, 'cidr': '104.115.170.0/26', 'allocation_pools': [{'start': '104.115.170.2', 'end': '104.115.170.62'}], 'gateway_ip': '104.115.170.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.115.170.2', 'tags': [], 'project_id': 'eb99bc46f2a6496fb944b3df79445fb3'}} 2025-07-09 14:16:50,392 - INFO - Created VN ctest-vn-75118373 2025-07-09 14:16:50,448 - DEBUG - VN ctest-vn-75118373 UUID is a2a48ccc-a19c-4dc6-9037-a3b2166e2657 2025-07-09 14:16:50,935 - DEBUG - Response for create_network : {'network': {'id': '043ec13e-06a0-4519-8be0-c6b56e2ef2f3', 'name': 'ctest-vn-54745323', 'tenant_id': 'eb99bc46f2a6496fb944b3df79445fb3', 'project_id': 'eb99bc46f2a6496fb944b3df79445fb3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20312235', 'ctest-vn-54745323'], 'port_security_enabled': True, 'description': ''}} 2025-07-09 14:16:51,156 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b60fe670-9662-402d-8e88-78024803dcb2', 'name': '', 'tenant_id': 'eb99bc46f2a6496fb944b3df79445fb3', 'network_id': '043ec13e-06a0-4519-8be0-c6b56e2ef2f3', 'ip_version': 4, 'cidr': '203.61.10.192/26', 'allocation_pools': [{'start': '203.61.10.194', 'end': '203.61.10.254'}], 'gateway_ip': '203.61.10.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.61.10.194', 'tags': [], 'project_id': 'eb99bc46f2a6496fb944b3df79445fb3'}} 2025-07-09 14:16:51,178 - INFO - Created VN ctest-vn-54745323 2025-07-09 14:16:51,236 - DEBUG - VN ctest-vn-54745323 UUID is 043ec13e-06a0-4519-8be0-c6b56e2ef2f3 2025-07-09 14:16:51,387 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-20312235:ctest-vn-75118373, 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-20312235:ctest-vn-54745323, 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-07-09 14:16:51,762 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a2a48ccc-a19c-4dc6-9037-a3b2166e2657', 'name': 'ctest-vn-75118373', 'tenant_id': 'eb99bc46f2a6496fb944b3df79445fb3', 'project_id': 'eb99bc46f2a6496fb944b3df79445fb3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a03a4fdd-f7a5-43bb-b5a3-5f5113091a88'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20312235', 'ctest-vn-75118373'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-20312235', 'ctest-policy-allow-all-13925892']], 'subnet_ipam': [{'subnet_cidr': '104.115.170.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-09 14:16:52,072 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '043ec13e-06a0-4519-8be0-c6b56e2ef2f3', 'name': 'ctest-vn-54745323', 'tenant_id': 'eb99bc46f2a6496fb944b3df79445fb3', 'project_id': 'eb99bc46f2a6496fb944b3df79445fb3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b60fe670-9662-402d-8e88-78024803dcb2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20312235', 'ctest-vn-54745323'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-20312235', 'ctest-policy-allow-all-13925892']], 'subnet_ipam': [{'subnet_cidr': '203.61.10.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-09 14:16:52,256 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-07-09 14:16:52,577 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-07-09 14:16:52,628 - DEBUG - Requesting: http://10.0.0.65:8082/domain/efe773b4-0e10-4caa-a961-3036404beeb6 2025-07-09 14:16:52,660 - DEBUG - Requesting: http://10.0.0.65:8082/project/eb99bc46-f2a6-496f-b944-b3df79445fb3 2025-07-09 14:16:52,786 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/a2a48ccc-a19c-4dc6-9037-a3b2166e2657 2025-07-09 14:16:52,802 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/a2a48ccc-a19c-4dc6-9037-a3b2166e2657 2025-07-09 14:16:52,823 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/cf84fb6b-c6b4-4160-84fe-c65bb84056fe 2025-07-09 14:16:52,839 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/cf84fb6b-c6b4-4160-84fe-c65bb84056fe 2025-07-09 14:16:52,852 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/a857f5a7-5bd1-4d75-ae59-56571bb6d170 2025-07-09 14:16:52,863 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-09 14:16:52,863 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/a2a48ccc-a19c-4dc6-9037-a3b2166e2657 2025-07-09 14:16:52,882 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/cf84fb6b-c6b4-4160-84fe-c65bb84056fe 2025-07-09 14:16:52,913 - INFO - Verified VN network id 7 for VN a2a48ccc-a19c-4dc6-9037-a3b2166e2657 2025-07-09 14:16:52,914 - INFO - Verifications in API Server for VN ctest-vn-75118373 passed 2025-07-09 14:16:52,914 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/a2a48ccc-a19c-4dc6-9037-a3b2166e2657 2025-07-09 14:16:52,934 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/cf84fb6b-c6b4-4160-84fe-c65bb84056fe 2025-07-09 14:16:52,950 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/cf84fb6b-c6b4-4160-84fe-c65bb84056fe 2025-07-09 14:16:52,960 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/a857f5a7-5bd1-4d75-ae59-56571bb6d170 2025-07-09 14:16:52,981 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-20312235:ctest-vn-75118373', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-20312235', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11719646940837465542', 'uuid-lslong': '10391954650456532567'}, 'enable': 'true', 'created': '2025-07-09T14:16:50', 'last-modified': '2025-07-09T14:16:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.254333'} 2025-07-09 14:16:52,991 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-09 14:16:52,992 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-75118373 passed 2025-07-09 14:16:52,992 - DEBUG - ====Verifying policy data for ctest-vn-75118373 in API_Server ====== 2025-07-09 14:16:52,992 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-07-09 14:16:53,003 - DEBUG - Requesting: http://10.0.0.65:8082/domain/efe773b4-0e10-4caa-a961-3036404beeb6 2025-07-09 14:16:53,029 - DEBUG - Requesting: http://10.0.0.65:8082/project/eb99bc46-f2a6-496f-b944-b3df79445fb3 2025-07-09 14:16:53,145 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/a2a48ccc-a19c-4dc6-9037-a3b2166e2657 2025-07-09 14:16:53,168 - DEBUG - ==>Verifying data for policy with id: 1bdb8f71-9d6e-4168-be3a-4c6a39cfb7de, fqn: ['default-domain', 'ctest-TestBasicPolicy-20312235', 'ctest-policy-allow-all-13925892'] 2025-07-09 14:16:53,168 - INFO - VN ctest-vn-75118373 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-09 14:16:53,168 - DEBUG - Verifying the vn in opserver 2025-07-09 14:16:53,168 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-20312235:ctest-vn-75118373 virtual network link through opserver 10.0.0.65 2025-07-09 14:16:53,169 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-07-09 14:16:53,510 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-07-09 14:16:53,599 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-20312235:ctest-vn-75118373', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-20312235:ctest-vn-75118373?flat'} 2025-07-09 14:16:53,599 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-20312235:ctest-vn-75118373 is found in opserver 2025-07-09 14:16:53,628 - DEBUG - Do not have enough data to verify VN in agent 2025-07-09 14:16:53,638 - DEBUG - VRF ids for VN ctest-vn-75118373: {} 2025-07-09 14:16:53,638 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-07-09 14:16:53,651 - DEBUG - Requesting: http://10.0.0.65:8082/domain/efe773b4-0e10-4caa-a961-3036404beeb6 2025-07-09 14:16:53,682 - DEBUG - Requesting: http://10.0.0.65:8082/project/eb99bc46-f2a6-496f-b944-b3df79445fb3 2025-07-09 14:16:53,817 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/043ec13e-06a0-4519-8be0-c6b56e2ef2f3 2025-07-09 14:16:53,837 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/043ec13e-06a0-4519-8be0-c6b56e2ef2f3 2025-07-09 14:16:53,858 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/ecf8dc21-9ca1-43ab-bda4-0795b09d2df4 2025-07-09 14:16:53,874 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/ecf8dc21-9ca1-43ab-bda4-0795b09d2df4 2025-07-09 14:16:53,891 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/e4981467-a10a-4444-9b30-cc9ab19a0156 2025-07-09 14:16:53,909 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-09 14:16:53,909 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/043ec13e-06a0-4519-8be0-c6b56e2ef2f3 2025-07-09 14:16:53,934 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/ecf8dc21-9ca1-43ab-bda4-0795b09d2df4 2025-07-09 14:16:53,963 - INFO - Verified VN network id 8 for VN 043ec13e-06a0-4519-8be0-c6b56e2ef2f3 2025-07-09 14:16:53,963 - INFO - Verifications in API Server for VN ctest-vn-54745323 passed 2025-07-09 14:16:53,963 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/043ec13e-06a0-4519-8be0-c6b56e2ef2f3 2025-07-09 14:16:53,984 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/ecf8dc21-9ca1-43ab-bda4-0795b09d2df4 2025-07-09 14:16:53,998 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/ecf8dc21-9ca1-43ab-bda4-0795b09d2df4 2025-07-09 14:16:54,012 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/e4981467-a10a-4444-9b30-cc9ab19a0156 2025-07-09 14:16:54,039 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-20312235:ctest-vn-54745323', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-20312235', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '305894296851072281', 'uuid-lslong': '10079274448595120883'}, 'enable': 'true', 'created': '2025-07-09T14:16:50', 'last-modified': '2025-07-09T14:16:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.011407'} 2025-07-09 14:16:54,058 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-09 14:16:54,058 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-54745323 passed 2025-07-09 14:16:54,059 - DEBUG - ====Verifying policy data for ctest-vn-54745323 in API_Server ====== 2025-07-09 14:16:54,059 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-07-09 14:16:54,074 - DEBUG - Requesting: http://10.0.0.65:8082/domain/efe773b4-0e10-4caa-a961-3036404beeb6 2025-07-09 14:16:54,097 - DEBUG - Requesting: http://10.0.0.65:8082/project/eb99bc46-f2a6-496f-b944-b3df79445fb3 2025-07-09 14:16:54,195 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/043ec13e-06a0-4519-8be0-c6b56e2ef2f3 2025-07-09 14:16:54,213 - DEBUG - ==>Verifying data for policy with id: 1bdb8f71-9d6e-4168-be3a-4c6a39cfb7de, fqn: ['default-domain', 'ctest-TestBasicPolicy-20312235', 'ctest-policy-allow-all-13925892'] 2025-07-09 14:16:54,214 - INFO - VN ctest-vn-54745323 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-09 14:16:54,214 - DEBUG - Verifying the vn in opserver 2025-07-09 14:16:54,214 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-20312235:ctest-vn-54745323 virtual network link through opserver 10.0.0.65 2025-07-09 14:16:54,214 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-07-09 14:16:54,237 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-20312235:ctest-vn-54745323', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-20312235:ctest-vn-54745323?flat'} 2025-07-09 14:16:54,237 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-20312235:ctest-vn-54745323 is found in opserver 2025-07-09 14:16:54,262 - DEBUG - Do not have enough data to verify VN in agent 2025-07-09 14:16:54,274 - DEBUG - VRF ids for VN ctest-vn-54745323: {} 2025-07-09 14:16:54,366 - DEBUG - Services list from nova: [, , ] 2025-07-09 14:16:55,918 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3619-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3619-1) 2025-07-09 14:16:57,322 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3619-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3619-1) 2025-07-09 14:16:57,322 - INFO - Waiting for VM ctest-TestBasicPolicy-20312235-55930232 to be up.. 2025-07-09 14:16:57,430 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-09 14:17:02,547 - DEBUG - VM is in ACTIVE state now 2025-07-09 14:17:02,547 - INFO - VM name : ctest-TestBasicPolicy-20312235-55930232 2025-07-09 14:17:02,647 - DEBUG - VM ctest-TestBasicPolicy-20312235-55930232 ID is fc882b56-ce1b-41d0-8d15-3d03febe9a60 2025-07-09 14:17:02,678 - DEBUG - VM ctest-TestBasicPolicy-20312235-55930232 launched on Node cn-jenkins-deploy-platform-ansible-os-3619-1 2025-07-09 14:17:02,775 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/fc882b56-ce1b-41d0-8d15-3d03febe9a60 2025-07-09 14:17:02,787 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/2c452cbd-b68d-4b3e-a7a7-6e2b70fc3194 2025-07-09 14:17:06,078 - 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 1026ms') 2025-07-09 14:17:06,079 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-20312235-55930232 failed! 2025-07-09 14:17:06,144 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-20312235:ctest-vn-75118373 is 104.115.170.1 and allocation pool is NOT set 2025-07-09 14:17:08,209 - 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=3.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.51 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.508/2.597/3.686/1.089 ms') 2025-07-09 14:17:08,209 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-20312235-55930232 passed 2025-07-09 14:17:08,397 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-09 14:17:08,397 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-20312235-55930232, IP 104.115.170.3, Port 22 2025-07-09 14:17:08,477 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-07-09 14:17:08,634 - DEBUG - VM ctest-TestBasicPolicy-20312235-55930232 is NOT ready for SSH connections, VM status: ACTIVE 2025-07-09 14:17:13,634 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-09 14:17:13,635 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-20312235-55930232, IP 104.115.170.3, Port 22 2025-07-09 14:17:13,832 - DEBUG - VM ctest-TestBasicPolicy-20312235-55930232 is ready for SSH connections 2025-07-09 14:17:13,832 - INFO - Waiting for VM ctest-TestBasicPolicy-20312235-51029427 to be up.. 2025-07-09 14:17:13,989 - DEBUG - VM is in ACTIVE state now 2025-07-09 14:17:13,989 - INFO - VM name : ctest-TestBasicPolicy-20312235-51029427 2025-07-09 14:17:14,151 - DEBUG - VM ctest-TestBasicPolicy-20312235-51029427 ID is f7dd2d76-c67f-4f98-9052-28df5219f254 2025-07-09 14:17:14,152 - DEBUG - VM ctest-TestBasicPolicy-20312235-51029427 launched on Node cn-jenkins-deploy-platform-ansible-os-3619-1 2025-07-09 14:17:14,279 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/f7dd2d76-c67f-4f98-9052-28df5219f254 2025-07-09 14:17:14,293 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/72cb6fef-a175-4f25-b9a9-fa639249b25e 2025-07-09 14:17:15,574 - 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=11.8 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.656 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.656/6.227/11.799/5.571 ms') 2025-07-09 14:17:15,574 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-20312235-51029427 passed 2025-07-09 14:17:15,765 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-09 14:17:15,765 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-20312235-51029427, IP 203.61.10.195, Port 22 2025-07-09 14:17:15,939 - DEBUG - VM ctest-TestBasicPolicy-20312235-51029427 is ready for SSH connections 2025-07-09 14:17:15,939 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-09 14:17:15,939 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 203.61.10.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-07-09 14:17:15,940 - DEBUG - ping -s 56 -c 3 -W 1 203.61.10.195 2025-07-09 14:17:20,174 - DEBUG - PING 203.61.10.195 (203.61.10.195): 56 data bytes 64 bytes from 203.61.10.195: seq=0 ttl=63 time=8.245 ms 64 bytes from 203.61.10.195: seq=1 ttl=63 time=1.419 ms 64 bytes from 203.61.10.195: seq=2 ttl=63 time=1.065 ms --- 203.61.10.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.065/3.576/8.245 ms 2025-07-09 14:17:20,174 - INFO - Ping to IP 203.61.10.195 from VM ctest-TestBasicPolicy-20312235-55930232 passed 2025-07-09 14:17:20,392 - DEBUG - Policy Update Response {"network-policy": {"uuid": "1bdb8f71-9d6e-4168-be3a-4c6a39cfb7de", "href": "http://10.0.0.65:8082/network-policy/1bdb8f71-9d6e-4168-be3a-4c6a39cfb7de"}} 2025-07-09 14:17:20,392 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-09 14:17:20,392 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 203.61.10.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-07-09 14:17:20,392 - DEBUG - ping -s 56 -c 3 -W 1 203.61.10.195 2025-07-09 14:17:23,635 - DEBUG - PING 203.61.10.195 (203.61.10.195): 56 data bytes --- 203.61.10.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-09 14:17:23,636 - WARNING - Ping to IP 203.61.10.195 from VM ctest-TestBasicPolicy-20312235-55930232 failed 2025-07-09 14:17:23,636 - INFO - Deleting VM ctest-TestBasicPolicy-20312235-51029427 2025-07-09 14:17:23,790 - INFO - Deleting VM ctest-TestBasicPolicy-20312235-55930232 2025-07-09 14:17:24,337 - INFO - Deleted policy ctest-policy-allow-all-13925892 2025-07-09 14:17:24,338 - INFO - Deleting VN ctest-vn-54745323 2025-07-09 14:17:24,373 - DEBUG - VN 043ec13e-06a0-4519-8be0-c6b56e2ef2f3 still in use: Unable to complete operation on network 043ec13e-06a0-4519-8be0-c6b56e2ef2f3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-025dca52-8125-4089-88a1-902bac896036'] 2025-07-09 14:17:24,373 - WARNING - Deleting VN ctest-vn-54745323 failed..Will retry 2025-07-09 14:17:26,543 - DEBUG - Response for deleting network () 2025-07-09 14:17:26,543 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/ecf8dc21-9ca1-43ab-bda4-0795b09d2df4 2025-07-09 14:17:26,555 - DEBUG - Response Code: 404 2025-07-09 14:17:26,555 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-07-09 14:17:26,567 - DEBUG - Requesting: http://10.0.0.65:8082/domain/efe773b4-0e10-4caa-a961-3036404beeb6 2025-07-09 14:17:26,632 - DEBUG - Requesting: http://10.0.0.65:8082/project/eb99bc46-f2a6-496f-b944-b3df79445fb3 2025-07-09 14:17:26,721 - INFO - Validated that VN ctest-vn-54745323 is not found in API Server 2025-07-09 14:17:26,738 - DEBUG - VN ctest-vn-54745323 is not present in Agent 10.0.0.65 2025-07-09 14:17:26,738 - INFO - Validated that VN ctest-vn-54745323 is not in any agent 2025-07-09 14:17:26,760 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-54745323 info 2025-07-09 14:17:26,761 - INFO - Deleting VN ctest-vn-75118373 2025-07-09 14:17:26,991 - DEBUG - Response for deleting network () 2025-07-09 14:17:26,992 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/cf84fb6b-c6b4-4160-84fe-c65bb84056fe 2025-07-09 14:17:27,000 - DEBUG - Response Code: 404 2025-07-09 14:17:27,000 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-07-09 14:17:27,009 - DEBUG - Requesting: http://10.0.0.65:8082/domain/efe773b4-0e10-4caa-a961-3036404beeb6 2025-07-09 14:17:27,070 - DEBUG - Requesting: http://10.0.0.65:8082/project/eb99bc46-f2a6-496f-b944-b3df79445fb3 2025-07-09 14:17:27,158 - INFO - Validated that VN ctest-vn-75118373 is not found in API Server 2025-07-09 14:17:27,177 - DEBUG - VN ctest-vn-75118373 is not present in Agent 10.0.0.65 2025-07-09 14:17:27,177 - INFO - Validated that VN ctest-vn-75118373 is not in any agent 2025-07-09 14:17:27,202 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-75118373 info 2025-07-09 14:17:27,510 - DEBUG - No XMPP flaps were noticed during the test 2025-07-09 14:17:27,511 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:38] 2025-07-09 14:17:27,511 - INFO - -------------------------------------------------------------------------------- 2025-07-09 14:17:28,475 - INFO - Deleted project: ctest-TestBasicPolicy-20312235, ID : eb99bc46-f2a6-496f-b944-b3df79445fb3