2025-09-17 17:43:49,566 - INFO - Domain Default found not creating 2025-09-17 17:43:49,704 - INFO - Project ctest-TestBasicPolicy-00034080 not found, creating it 2025-09-17 17:43:50,168 - INFO - Created Project:ctest-TestBasicPolicy-00034080, ID : bf6ab448-7adc-4da8-8bb2-27ca2ecda6bc 2025-09-17 17:43:51,619 - INFO - ================================================================================ 2025-09-17 17:43:51,619 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-17 17:43:51,620 - 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-09-17 17:43:51,881 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-17 17:43:51,881 - INFO - Initial checks done. Running the testcase now 2025-09-17 17:43:51,881 - INFO - 2025-09-17 17:43:52,416 - DEBUG - Response for create_network : {'network': {'id': '3a2b6a7f-04cb-4ca2-8baf-4cb88585900c', 'name': 'ctest-vn-86874211', 'tenant_id': 'bf6ab4487adc4da88bb227ca2ecda6bc', 'project_id': 'bf6ab4487adc4da88bb227ca2ecda6bc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00034080', 'ctest-vn-86874211'], 'port_security_enabled': True, 'description': ''}} 2025-09-17 17:43:52,611 - DEBUG - Response for create_subnet : {'subnet': {'id': '93184c5a-d7ad-486a-b5db-336af4dfcb21', 'name': '', 'tenant_id': 'bf6ab4487adc4da88bb227ca2ecda6bc', 'network_id': '3a2b6a7f-04cb-4ca2-8baf-4cb88585900c', 'ip_version': 4, 'cidr': '135.240.64.64/26', 'allocation_pools': [{'start': '135.240.64.66', 'end': '135.240.64.126'}], 'gateway_ip': '135.240.64.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '135.240.64.66', 'tags': [], 'project_id': 'bf6ab4487adc4da88bb227ca2ecda6bc'}} 2025-09-17 17:43:52,629 - INFO - Created VN ctest-vn-86874211 2025-09-17 17:43:52,679 - DEBUG - VN ctest-vn-86874211 UUID is 3a2b6a7f-04cb-4ca2-8baf-4cb88585900c 2025-09-17 17:43:52,984 - DEBUG - Response for create_network : {'network': {'id': 'ce739243-b86c-497a-b01a-4219ac632b1d', 'name': 'ctest-vn-55556579', 'tenant_id': 'bf6ab4487adc4da88bb227ca2ecda6bc', 'project_id': 'bf6ab4487adc4da88bb227ca2ecda6bc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00034080', 'ctest-vn-55556579'], 'port_security_enabled': True, 'description': ''}} 2025-09-17 17:43:53,164 - DEBUG - Response for create_subnet : {'subnet': {'id': '843478dc-5615-458c-9b44-888a48b69f07', 'name': '', 'tenant_id': 'bf6ab4487adc4da88bb227ca2ecda6bc', 'network_id': 'ce739243-b86c-497a-b01a-4219ac632b1d', 'ip_version': 4, 'cidr': '69.154.175.128/26', 'allocation_pools': [{'start': '69.154.175.130', 'end': '69.154.175.190'}], 'gateway_ip': '69.154.175.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '69.154.175.130', 'tags': [], 'project_id': 'bf6ab4487adc4da88bb227ca2ecda6bc'}} 2025-09-17 17:43:53,180 - INFO - Created VN ctest-vn-55556579 2025-09-17 17:43:53,232 - DEBUG - VN ctest-vn-55556579 UUID is ce739243-b86c-497a-b01a-4219ac632b1d 2025-09-17 17:43:53,379 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-00034080:ctest-vn-86874211, 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-00034080:ctest-vn-55556579, 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-09-17 17:43:53,671 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3a2b6a7f-04cb-4ca2-8baf-4cb88585900c', 'name': 'ctest-vn-86874211', 'tenant_id': 'bf6ab4487adc4da88bb227ca2ecda6bc', 'project_id': 'bf6ab4487adc4da88bb227ca2ecda6bc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['93184c5a-d7ad-486a-b5db-336af4dfcb21'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00034080', 'ctest-vn-86874211'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00034080', 'ctest-policy-allow-all-83653226']], 'subnet_ipam': [{'subnet_cidr': '135.240.64.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-17 17:43:53,957 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ce739243-b86c-497a-b01a-4219ac632b1d', 'name': 'ctest-vn-55556579', 'tenant_id': 'bf6ab4487adc4da88bb227ca2ecda6bc', 'project_id': 'bf6ab4487adc4da88bb227ca2ecda6bc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['843478dc-5615-458c-9b44-888a48b69f07'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00034080', 'ctest-vn-55556579'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00034080', 'ctest-policy-allow-all-83653226']], 'subnet_ipam': [{'subnet_cidr': '69.154.175.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-17 17:43:54,120 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-17 17:43:54,461 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-17 17:43:54,492 - DEBUG - Requesting: http://10.0.0.254:8082/domain/9ee9a899-f734-4334-81ba-54f10e0f2a6a 2025-09-17 17:43:54,505 - DEBUG - Requesting: http://10.0.0.254:8082/project/bf6ab448-7adc-4da8-8bb2-27ca2ecda6bc 2025-09-17 17:43:54,576 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3a2b6a7f-04cb-4ca2-8baf-4cb88585900c 2025-09-17 17:43:54,588 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3a2b6a7f-04cb-4ca2-8baf-4cb88585900c 2025-09-17 17:43:54,598 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f7ddd864-60cf-43cf-a828-5fb9791fe71c 2025-09-17 17:43:54,606 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f7ddd864-60cf-43cf-a828-5fb9791fe71c 2025-09-17 17:43:54,613 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/a7815674-b894-4206-999f-9dc3a9b33cee 2025-09-17 17:43:54,620 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-17 17:43:54,620 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3a2b6a7f-04cb-4ca2-8baf-4cb88585900c 2025-09-17 17:43:54,629 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f7ddd864-60cf-43cf-a828-5fb9791fe71c 2025-09-17 17:43:54,646 - INFO - Verified VN network id 11 for VN 3a2b6a7f-04cb-4ca2-8baf-4cb88585900c 2025-09-17 17:43:54,646 - INFO - Verifications in API Server for VN ctest-vn-86874211 passed 2025-09-17 17:43:54,646 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3a2b6a7f-04cb-4ca2-8baf-4cb88585900c 2025-09-17 17:43:54,656 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f7ddd864-60cf-43cf-a828-5fb9791fe71c 2025-09-17 17:43:54,663 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f7ddd864-60cf-43cf-a828-5fb9791fe71c 2025-09-17 17:43:54,669 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/a7815674-b894-4206-999f-9dc3a9b33cee 2025-09-17 17:43:54,681 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00034080:ctest-vn-86874211', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00034080', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4191560971972201634', 'uuid-lslong': '10065348047594164236'}, 'enable': 'true', 'created': '2025-09-17T17:43:52', 'last-modified': '2025-09-17T17:43:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.030363'} 2025-09-17 17:43:54,687 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-17 17:43:54,687 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-86874211 passed 2025-09-17 17:43:54,687 - DEBUG - ====Verifying policy data for ctest-vn-86874211 in API_Server ====== 2025-09-17 17:43:54,687 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-17 17:43:54,693 - DEBUG - Requesting: http://10.0.0.254:8082/domain/9ee9a899-f734-4334-81ba-54f10e0f2a6a 2025-09-17 17:43:54,704 - DEBUG - Requesting: http://10.0.0.254:8082/project/bf6ab448-7adc-4da8-8bb2-27ca2ecda6bc 2025-09-17 17:43:54,772 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3a2b6a7f-04cb-4ca2-8baf-4cb88585900c 2025-09-17 17:43:54,782 - DEBUG - ==>Verifying data for policy with id: 92234336-7b26-4e9e-9a10-347554e23f3f, fqn: ['default-domain', 'ctest-TestBasicPolicy-00034080', 'ctest-policy-allow-all-83653226'] 2025-09-17 17:43:54,782 - INFO - VN ctest-vn-86874211 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-17 17:43:54,782 - DEBUG - Verifying the vn in opserver 2025-09-17 17:43:54,782 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00034080:ctest-vn-86874211 virtual network link through opserver 10.0.0.254 2025-09-17 17:43:54,782 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-17 17:43:55,087 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-17 17:43:55,143 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00034080:ctest-vn-86874211', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00034080:ctest-vn-86874211?flat'} 2025-09-17 17:43:55,143 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00034080:ctest-vn-86874211 is found in opserver 2025-09-17 17:43:55,154 - DEBUG - Do not have enough data to verify VN in agent 2025-09-17 17:43:55,159 - DEBUG - VRF ids for VN ctest-vn-86874211: {} 2025-09-17 17:43:55,159 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-17 17:43:55,165 - DEBUG - Requesting: http://10.0.0.254:8082/domain/9ee9a899-f734-4334-81ba-54f10e0f2a6a 2025-09-17 17:43:55,179 - DEBUG - Requesting: http://10.0.0.254:8082/project/bf6ab448-7adc-4da8-8bb2-27ca2ecda6bc 2025-09-17 17:43:55,252 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ce739243-b86c-497a-b01a-4219ac632b1d 2025-09-17 17:43:55,263 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ce739243-b86c-497a-b01a-4219ac632b1d 2025-09-17 17:43:55,273 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/217721ca-af75-4565-b3c1-d4afc8104999 2025-09-17 17:43:55,281 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/217721ca-af75-4565-b3c1-d4afc8104999 2025-09-17 17:43:55,287 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/4e787a89-fd69-45ee-8dd8-e54099496153 2025-09-17 17:43:55,293 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-17 17:43:55,293 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ce739243-b86c-497a-b01a-4219ac632b1d 2025-09-17 17:43:55,300 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/217721ca-af75-4565-b3c1-d4afc8104999 2025-09-17 17:43:55,312 - INFO - Verified VN network id 12 for VN ce739243-b86c-497a-b01a-4219ac632b1d 2025-09-17 17:43:55,313 - INFO - Verifications in API Server for VN ctest-vn-55556579 passed 2025-09-17 17:43:55,313 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ce739243-b86c-497a-b01a-4219ac632b1d 2025-09-17 17:43:55,321 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/217721ca-af75-4565-b3c1-d4afc8104999 2025-09-17 17:43:55,328 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/217721ca-af75-4565-b3c1-d4afc8104999 2025-09-17 17:43:55,335 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/4e787a89-fd69-45ee-8dd8-e54099496153 2025-09-17 17:43:55,346 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00034080:ctest-vn-55556579', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00034080', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14876394813689448826', 'uuid-lslong': '12689527578103589661'}, 'enable': 'true', 'created': '2025-09-17T17:43:52', 'last-modified': '2025-09-17T17:43:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.457247'} 2025-09-17 17:43:55,354 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-17 17:43:55,354 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-55556579 passed 2025-09-17 17:43:55,354 - DEBUG - ====Verifying policy data for ctest-vn-55556579 in API_Server ====== 2025-09-17 17:43:55,354 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-17 17:43:55,363 - DEBUG - Requesting: http://10.0.0.254:8082/domain/9ee9a899-f734-4334-81ba-54f10e0f2a6a 2025-09-17 17:43:55,375 - DEBUG - Requesting: http://10.0.0.254:8082/project/bf6ab448-7adc-4da8-8bb2-27ca2ecda6bc 2025-09-17 17:43:55,451 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ce739243-b86c-497a-b01a-4219ac632b1d 2025-09-17 17:43:55,460 - DEBUG - ==>Verifying data for policy with id: 92234336-7b26-4e9e-9a10-347554e23f3f, fqn: ['default-domain', 'ctest-TestBasicPolicy-00034080', 'ctest-policy-allow-all-83653226'] 2025-09-17 17:43:55,460 - INFO - VN ctest-vn-55556579 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-17 17:43:55,460 - DEBUG - Verifying the vn in opserver 2025-09-17 17:43:55,460 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00034080:ctest-vn-55556579 virtual network link through opserver 10.0.0.254 2025-09-17 17:43:55,460 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-17 17:43:55,469 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00034080:ctest-vn-55556579', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00034080:ctest-vn-55556579?flat'} 2025-09-17 17:43:55,470 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00034080:ctest-vn-55556579 is found in opserver 2025-09-17 17:43:55,479 - DEBUG - Do not have enough data to verify VN in agent 2025-09-17 17:43:55,484 - DEBUG - VRF ids for VN ctest-vn-55556579: {} 2025-09-17 17:43:55,546 - DEBUG - Services list from nova: [, , ] 2025-09-17 17:43:56,603 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4129-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4129-1) 2025-09-17 17:43:57,804 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4129-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4129-1) 2025-09-17 17:43:57,804 - INFO - Waiting for VM ctest-TestBasicPolicy-00034080-14040044 to be up.. 2025-09-17 17:43:57,882 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-17 17:44:02,979 - DEBUG - VM is in ACTIVE state now 2025-09-17 17:44:02,980 - INFO - VM name : ctest-TestBasicPolicy-00034080-14040044 2025-09-17 17:44:03,076 - DEBUG - VM ctest-TestBasicPolicy-00034080-14040044 ID is b204c83f-982d-457c-ba9d-6b51d7ebfa96 2025-09-17 17:44:03,104 - DEBUG - VM ctest-TestBasicPolicy-00034080-14040044 launched on Node cn-jenkins-deploy-platform-ansible-os-4129-1 2025-09-17 17:44:03,205 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b204c83f-982d-457c-ba9d-6b51d7ebfa96 2025-09-17 17:44:03,216 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a4cbde0e-e8f7-4cce-9b78-3efdd27e77fa 2025-09-17 17:44:06,483 - 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 1015ms') 2025-09-17 17:44:06,483 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-00034080-14040044 failed! 2025-09-17 17:44:06,540 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-00034080:ctest-vn-86874211 is 135.240.64.65 and allocation pool is NOT set 2025-09-17 17:44:08,603 - 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=10.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.81 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 2.805/6.431/10.057/3.626 ms') 2025-09-17 17:44:08,604 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-00034080-14040044 passed 2025-09-17 17:44:08,752 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-17 17:44:08,752 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00034080-14040044, IP 135.240.64.67, Port 22 2025-09-17 17:44:08,807 - 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-09-17 17:44:08,885 - DEBUG - VM ctest-TestBasicPolicy-00034080-14040044 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-17 17:44:13,886 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-17 17:44:13,887 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00034080-14040044, IP 135.240.64.67, Port 22 2025-09-17 17:44:14,048 - DEBUG - VM ctest-TestBasicPolicy-00034080-14040044 is ready for SSH connections 2025-09-17 17:44:14,048 - INFO - Waiting for VM ctest-TestBasicPolicy-00034080-36154552 to be up.. 2025-09-17 17:44:14,126 - DEBUG - VM is in ACTIVE state now 2025-09-17 17:44:14,126 - INFO - VM name : ctest-TestBasicPolicy-00034080-36154552 2025-09-17 17:44:14,206 - DEBUG - VM ctest-TestBasicPolicy-00034080-36154552 ID is 347d709a-4bfa-444e-8b69-c0e72fedbb9b 2025-09-17 17:44:14,206 - DEBUG - VM ctest-TestBasicPolicy-00034080-36154552 launched on Node cn-jenkins-deploy-platform-ansible-os-4129-1 2025-09-17 17:44:14,284 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/347d709a-4bfa-444e-8b69-c0e72fedbb9b 2025-09-17 17:44:14,294 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/2a26db31-f988-4add-9d0b-08a4124f450b 2025-09-17 17:44:15,538 - 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.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.498 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.498/2.140/3.782/1.642 ms') 2025-09-17 17:44:15,538 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-00034080-36154552 passed 2025-09-17 17:44:15,700 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-17 17:44:15,700 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00034080-36154552, IP 69.154.175.131, Port 22 2025-09-17 17:44:15,855 - DEBUG - VM ctest-TestBasicPolicy-00034080-36154552 is ready for SSH connections 2025-09-17 17:44:15,855 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-17 17:44:15,855 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 69.154.175.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-17 17:44:15,856 - DEBUG - ping -s 56 -c 3 -W 1 69.154.175.131 2025-09-17 17:44:19,915 - DEBUG - PING 69.154.175.131 (69.154.175.131): 56 data bytes 64 bytes from 69.154.175.131: seq=0 ttl=63 time=3.456 ms 64 bytes from 69.154.175.131: seq=1 ttl=63 time=1.012 ms 64 bytes from 69.154.175.131: seq=2 ttl=63 time=0.809 ms --- 69.154.175.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.809/1.759/3.456 ms 2025-09-17 17:44:19,915 - INFO - Ping to IP 69.154.175.131 from VM ctest-TestBasicPolicy-00034080-14040044 passed 2025-09-17 17:44:20,095 - DEBUG - Policy Update Response {"network-policy": {"uuid": "92234336-7b26-4e9e-9a10-347554e23f3f", "href": "http://10.0.0.254:8082/network-policy/92234336-7b26-4e9e-9a10-347554e23f3f"}} 2025-09-17 17:44:20,096 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-17 17:44:20,096 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 69.154.175.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-17 17:44:20,096 - DEBUG - ping -s 56 -c 3 -W 1 69.154.175.131 2025-09-17 17:44:23,314 - DEBUG - PING 69.154.175.131 (69.154.175.131): 56 data bytes --- 69.154.175.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-17 17:44:23,314 - WARNING - Ping to IP 69.154.175.131 from VM ctest-TestBasicPolicy-00034080-14040044 failed 2025-09-17 17:44:23,314 - INFO - Deleting VM ctest-TestBasicPolicy-00034080-36154552 2025-09-17 17:44:23,398 - INFO - Deleting VM ctest-TestBasicPolicy-00034080-14040044 2025-09-17 17:44:23,852 - INFO - Deleted policy ctest-policy-allow-all-83653226 2025-09-17 17:44:23,852 - INFO - Deleting VN ctest-vn-55556579 2025-09-17 17:44:23,900 - DEBUG - VN ce739243-b86c-497a-b01a-4219ac632b1d still in use: Unable to complete operation on network ce739243-b86c-497a-b01a-4219ac632b1d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-df4c198e-f720-48df-ac83-d11062356aa2'] 2025-09-17 17:44:23,900 - WARNING - Deleting VN ctest-vn-55556579 failed..Will retry 2025-09-17 17:44:25,988 - DEBUG - Response for deleting network () 2025-09-17 17:44:25,989 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/217721ca-af75-4565-b3c1-d4afc8104999 2025-09-17 17:44:25,994 - DEBUG - Response Code: 404 2025-09-17 17:44:25,995 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-17 17:44:25,999 - DEBUG - Requesting: http://10.0.0.254:8082/domain/9ee9a899-f734-4334-81ba-54f10e0f2a6a 2025-09-17 17:44:26,053 - DEBUG - Requesting: http://10.0.0.254:8082/project/bf6ab448-7adc-4da8-8bb2-27ca2ecda6bc 2025-09-17 17:44:26,119 - INFO - Validated that VN ctest-vn-55556579 is not found in API Server 2025-09-17 17:44:26,128 - DEBUG - VN ctest-vn-55556579 is not present in Agent 10.0.0.254 2025-09-17 17:44:26,128 - INFO - Validated that VN ctest-vn-55556579 is not in any agent 2025-09-17 17:44:26,141 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-55556579 info 2025-09-17 17:44:26,141 - INFO - Deleting VN ctest-vn-86874211 2025-09-17 17:44:26,228 - DEBUG - Response for deleting network () 2025-09-17 17:44:26,228 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f7ddd864-60cf-43cf-a828-5fb9791fe71c 2025-09-17 17:44:26,236 - DEBUG - Response Code: 404 2025-09-17 17:44:26,236 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-17 17:44:26,240 - DEBUG - Requesting: http://10.0.0.254:8082/domain/9ee9a899-f734-4334-81ba-54f10e0f2a6a 2025-09-17 17:44:26,292 - DEBUG - Requesting: http://10.0.0.254:8082/project/bf6ab448-7adc-4da8-8bb2-27ca2ecda6bc 2025-09-17 17:44:26,367 - INFO - Validated that VN ctest-vn-86874211 is not found in API Server 2025-09-17 17:44:26,377 - DEBUG - VN ctest-vn-86874211 is not present in Agent 10.0.0.254 2025-09-17 17:44:26,377 - INFO - Validated that VN ctest-vn-86874211 is not in any agent 2025-09-17 17:44:26,389 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-86874211 info 2025-09-17 17:44:26,649 - DEBUG - No XMPP flaps were noticed during the test 2025-09-17 17:44:26,649 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2025-09-17 17:44:26,649 - INFO - -------------------------------------------------------------------------------- 2025-09-17 17:44:27,326 - INFO - Deleted project: ctest-TestBasicPolicy-00034080, ID : bf6ab448-7adc-4da8-8bb2-27ca2ecda6bc