2026-11-05 21:06:42,935 - INFO - Domain Default found not creating 2026-11-05 21:06:43,110 - INFO - Project ctest-TestBasicPolicy-59273316 not found, creating it 2026-11-05 21:06:43,569 - INFO - Created Project:ctest-TestBasicPolicy-59273316, ID : 13842577-c4f9-4158-aa6c-1bcc5d45ef94 2026-11-05 21:06:45,210 - INFO - ================================================================================ 2026-11-05 21:06:45,210 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-11-05 21:06:45,210 - 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 2026-11-05 21:06:45,470 - DEBUG - Nothing to compare xmpp stats {'10.0.0.177': {'10.20.0.25': '0'}} with 2026-11-05 21:06:45,470 - INFO - Initial checks done. Running the testcase now 2026-11-05 21:06:45,470 - INFO - 2026-11-05 21:06:46,074 - DEBUG - Response for create_network : {'network': {'id': '78f55b93-1a98-4749-9807-8bdfdd598cf5', 'name': 'ctest-vn-27078259', 'tenant_id': '13842577c4f94158aa6c1bcc5d45ef94', 'project_id': '13842577c4f94158aa6c1bcc5d45ef94', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59273316', 'ctest-vn-27078259'], 'port_security_enabled': True, 'description': ''}} 2026-11-05 21:06:46,287 - DEBUG - Response for create_subnet : {'subnet': {'id': '945c75d2-2844-440a-ad9d-27e9a523f4c6', 'name': '', 'tenant_id': '13842577c4f94158aa6c1bcc5d45ef94', 'network_id': '78f55b93-1a98-4749-9807-8bdfdd598cf5', 'ip_version': 4, 'cidr': '100.246.166.64/26', 'allocation_pools': [{'start': '100.246.166.66', 'end': '100.246.166.126'}], 'gateway_ip': '100.246.166.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '100.246.166.66', 'tags': [], 'project_id': '13842577c4f94158aa6c1bcc5d45ef94'}} 2026-11-05 21:06:46,302 - INFO - Created VN ctest-vn-27078259 2026-11-05 21:06:46,355 - DEBUG - VN ctest-vn-27078259 UUID is 78f55b93-1a98-4749-9807-8bdfdd598cf5 2026-11-05 21:06:46,669 - DEBUG - Response for create_network : {'network': {'id': 'ee808a57-0ee2-4b81-a215-07e1643da6bc', 'name': 'ctest-vn-33683752', 'tenant_id': '13842577c4f94158aa6c1bcc5d45ef94', 'project_id': '13842577c4f94158aa6c1bcc5d45ef94', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59273316', 'ctest-vn-33683752'], 'port_security_enabled': True, 'description': ''}} 2026-11-05 21:06:46,892 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c35f1f15-be80-40d0-8dc9-902ffd0486fb', 'name': '', 'tenant_id': '13842577c4f94158aa6c1bcc5d45ef94', 'network_id': 'ee808a57-0ee2-4b81-a215-07e1643da6bc', 'ip_version': 4, 'cidr': '45.247.107.64/26', 'allocation_pools': [{'start': '45.247.107.66', 'end': '45.247.107.126'}], 'gateway_ip': '45.247.107.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.247.107.66', 'tags': [], 'project_id': '13842577c4f94158aa6c1bcc5d45ef94'}} 2026-11-05 21:06:46,910 - INFO - Created VN ctest-vn-33683752 2026-11-05 21:06:46,963 - DEBUG - VN ctest-vn-33683752 UUID is ee808a57-0ee2-4b81-a215-07e1643da6bc 2026-11-05 21:06:47,111 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-59273316:ctest-vn-27078259, 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-59273316:ctest-vn-33683752, 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] 2026-11-05 21:06:47,395 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '78f55b93-1a98-4749-9807-8bdfdd598cf5', 'name': 'ctest-vn-27078259', 'tenant_id': '13842577c4f94158aa6c1bcc5d45ef94', 'project_id': '13842577c4f94158aa6c1bcc5d45ef94', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['945c75d2-2844-440a-ad9d-27e9a523f4c6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59273316', 'ctest-vn-27078259'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-59273316', 'ctest-policy-allow-all-28685857']], 'subnet_ipam': [{'subnet_cidr': '100.246.166.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-05 21:06:47,641 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ee808a57-0ee2-4b81-a215-07e1643da6bc', 'name': 'ctest-vn-33683752', 'tenant_id': '13842577c4f94158aa6c1bcc5d45ef94', 'project_id': '13842577c4f94158aa6c1bcc5d45ef94', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['c35f1f15-be80-40d0-8dc9-902ffd0486fb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59273316', 'ctest-vn-33683752'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-59273316', 'ctest-policy-allow-all-28685857']], 'subnet_ipam': [{'subnet_cidr': '45.247.107.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-05 21:06:47,799 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-11-05 21:06:48,161 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-11-05 21:06:48,186 - DEBUG - Requesting: http://10.0.0.177:8082/domain/f2497c17-aefb-4631-a433-d69289cd8ade 2026-11-05 21:06:48,197 - DEBUG - Requesting: http://10.0.0.177:8082/project/13842577-c4f9-4158-aa6c-1bcc5d45ef94 2026-11-05 21:06:48,268 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/78f55b93-1a98-4749-9807-8bdfdd598cf5 2026-11-05 21:06:48,279 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/78f55b93-1a98-4749-9807-8bdfdd598cf5 2026-11-05 21:06:48,287 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/6d560151-2204-4fb9-b475-4c80e333a505 2026-11-05 21:06:48,293 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/6d560151-2204-4fb9-b475-4c80e333a505 2026-11-05 21:06:48,299 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/72a0fff3-c14b-44a7-b514-979e4cbed6eb 2026-11-05 21:06:48,304 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-05 21:06:48,304 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/78f55b93-1a98-4749-9807-8bdfdd598cf5 2026-11-05 21:06:48,311 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/6d560151-2204-4fb9-b475-4c80e333a505 2026-11-05 21:06:48,322 - INFO - Verified VN network id 11 for VN 78f55b93-1a98-4749-9807-8bdfdd598cf5 2026-11-05 21:06:48,323 - INFO - Verifications in API Server for VN ctest-vn-27078259 passed 2026-11-05 21:06:48,323 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/78f55b93-1a98-4749-9807-8bdfdd598cf5 2026-11-05 21:06:48,330 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/6d560151-2204-4fb9-b475-4c80e333a505 2026-11-05 21:06:48,335 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/6d560151-2204-4fb9-b475-4c80e333a505 2026-11-05 21:06:48,342 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/72a0fff3-c14b-44a7-b514-979e4cbed6eb 2026-11-05 21:06:48,353 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-59273316:ctest-vn-27078259', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-59273316', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8715973341209970505', 'uuid-lslong': '10954878412209622261'}, 'enable': 'true', 'created': '2026-11-05T21:06:46', 'last-modified': '2026-11-05T21:06:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.980142'} 2026-11-05 21:06:48,358 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-05 21:06:48,359 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-27078259 passed 2026-11-05 21:06:48,359 - DEBUG - ====Verifying policy data for ctest-vn-27078259 in API_Server ====== 2026-11-05 21:06:48,359 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-11-05 21:06:48,363 - DEBUG - Requesting: http://10.0.0.177:8082/domain/f2497c17-aefb-4631-a433-d69289cd8ade 2026-11-05 21:06:48,372 - DEBUG - Requesting: http://10.0.0.177:8082/project/13842577-c4f9-4158-aa6c-1bcc5d45ef94 2026-11-05 21:06:48,443 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/78f55b93-1a98-4749-9807-8bdfdd598cf5 2026-11-05 21:06:48,452 - DEBUG - ==>Verifying data for policy with id: 49490360-2d29-4285-93e2-7491e5dfdec1, fqn: ['default-domain', 'ctest-TestBasicPolicy-59273316', 'ctest-policy-allow-all-28685857'] 2026-11-05 21:06:48,452 - INFO - VN ctest-vn-27078259 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-05 21:06:48,452 - DEBUG - Verifying the vn in opserver 2026-11-05 21:06:48,452 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-59273316:ctest-vn-27078259 virtual network link through opserver 10.0.0.177 2026-11-05 21:06:48,452 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-11-05 21:06:48,815 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-11-05 21:06:48,870 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-59273316:ctest-vn-27078259', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-59273316:ctest-vn-27078259?flat'} 2026-11-05 21:06:48,870 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-59273316:ctest-vn-27078259 is found in opserver 2026-11-05 21:06:48,883 - DEBUG - Do not have enough data to verify VN in agent 2026-11-05 21:06:48,888 - DEBUG - VRF ids for VN ctest-vn-27078259: {} 2026-11-05 21:06:48,888 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-11-05 21:06:48,894 - DEBUG - Requesting: http://10.0.0.177:8082/domain/f2497c17-aefb-4631-a433-d69289cd8ade 2026-11-05 21:06:48,904 - DEBUG - Requesting: http://10.0.0.177:8082/project/13842577-c4f9-4158-aa6c-1bcc5d45ef94 2026-11-05 21:06:48,980 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/ee808a57-0ee2-4b81-a215-07e1643da6bc 2026-11-05 21:06:48,993 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/ee808a57-0ee2-4b81-a215-07e1643da6bc 2026-11-05 21:06:49,001 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/2b889a8d-8142-4de9-8100-bde5615d075c 2026-11-05 21:06:49,007 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/2b889a8d-8142-4de9-8100-bde5615d075c 2026-11-05 21:06:49,014 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/35a55637-148e-41d3-9e2a-cc5c2b593224 2026-11-05 21:06:49,023 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-05 21:06:49,024 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/ee808a57-0ee2-4b81-a215-07e1643da6bc 2026-11-05 21:06:49,032 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/2b889a8d-8142-4de9-8100-bde5615d075c 2026-11-05 21:06:49,044 - INFO - Verified VN network id 12 for VN ee808a57-0ee2-4b81-a215-07e1643da6bc 2026-11-05 21:06:49,044 - INFO - Verifications in API Server for VN ctest-vn-33683752 passed 2026-11-05 21:06:49,044 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/ee808a57-0ee2-4b81-a215-07e1643da6bc 2026-11-05 21:06:49,052 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/2b889a8d-8142-4de9-8100-bde5615d075c 2026-11-05 21:06:49,060 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/2b889a8d-8142-4de9-8100-bde5615d075c 2026-11-05 21:06:49,066 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/35a55637-148e-41d3-9e2a-cc5c2b593224 2026-11-05 21:06:49,078 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-59273316:ctest-vn-33683752', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-59273316', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17185888284562312065', 'uuid-lslong': '11679249873286047420'}, 'enable': 'true', 'created': '2026-11-05T21:06:46', 'last-modified': '2026-11-05T21:06:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.468645'} 2026-11-05 21:06:49,086 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-05 21:06:49,087 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-33683752 passed 2026-11-05 21:06:49,087 - DEBUG - ====Verifying policy data for ctest-vn-33683752 in API_Server ====== 2026-11-05 21:06:49,087 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-11-05 21:06:49,092 - DEBUG - Requesting: http://10.0.0.177:8082/domain/f2497c17-aefb-4631-a433-d69289cd8ade 2026-11-05 21:06:49,101 - DEBUG - Requesting: http://10.0.0.177:8082/project/13842577-c4f9-4158-aa6c-1bcc5d45ef94 2026-11-05 21:06:49,181 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/ee808a57-0ee2-4b81-a215-07e1643da6bc 2026-11-05 21:06:49,192 - DEBUG - ==>Verifying data for policy with id: 49490360-2d29-4285-93e2-7491e5dfdec1, fqn: ['default-domain', 'ctest-TestBasicPolicy-59273316', 'ctest-policy-allow-all-28685857'] 2026-11-05 21:06:49,192 - INFO - VN ctest-vn-33683752 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-05 21:06:49,192 - DEBUG - Verifying the vn in opserver 2026-11-05 21:06:49,192 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-59273316:ctest-vn-33683752 virtual network link through opserver 10.0.0.177 2026-11-05 21:06:49,192 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-11-05 21:06:49,202 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-59273316:ctest-vn-33683752', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-59273316:ctest-vn-33683752?flat'} 2026-11-05 21:06:49,202 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-59273316:ctest-vn-33683752 is found in opserver 2026-11-05 21:06:49,211 - DEBUG - Do not have enough data to verify VN in agent 2026-11-05 21:06:49,215 - DEBUG - VRF ids for VN ctest-vn-33683752: {} 2026-11-05 21:06:49,279 - DEBUG - Services list from nova: [, , ] 2026-11-05 21:06:49,714 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6485-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6485-1) 2026-11-05 21:06:50,066 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6485-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6485-1) 2026-11-05 21:06:50,067 - INFO - Waiting for VM ctest-TestBasicPolicy-59273316-13917434 to be up.. 2026-11-05 21:06:50,101 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-05 21:06:55,174 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-05 21:07:00,263 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-05 21:07:05,334 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-05 21:07:10,404 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-05 21:07:15,477 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-05 21:07:20,550 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-05 21:07:25,628 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-05 21:07:30,711 - DEBUG - VM is in ACTIVE state now 2026-11-05 21:07:30,711 - INFO - VM name : ctest-TestBasicPolicy-59273316-13917434 2026-11-05 21:07:30,793 - DEBUG - VM ctest-TestBasicPolicy-59273316-13917434 ID is 049e04a9-2daa-48c4-b630-fd047630bbe9 2026-11-05 21:07:30,812 - DEBUG - VM ctest-TestBasicPolicy-59273316-13917434 launched on Node cn-jenkins-deploy-platform-ansible-os-6485-1 2026-11-05 21:07:30,881 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/049e04a9-2daa-48c4-b630-fd047630bbe9 2026-11-05 21:07:30,888 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/01bdc620-cd62-4304-b676-c191b902c21b 2026-11-05 21:07:34,144 - 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 1030ms') 2026-11-05 21:07:34,144 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-59273316-13917434 failed! 2026-11-05 21:07:34,199 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-59273316:ctest-vn-27078259 is 100.246.166.65 and allocation pool is NOT set 2026-11-05 21:07:36,268 - 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=5.77 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.405 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.405/3.086/5.767/2.681 ms') 2026-11-05 21:07:36,268 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-59273316-13917434 passed 2026-11-05 21:07:36,423 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-05 21:07:36,423 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-59273316-13917434, IP 100.246.166.67, Port 22 2026-11-05 21:07:36,578 - DEBUG - VM ctest-TestBasicPolicy-59273316-13917434 is ready for SSH connections 2026-11-05 21:07:36,578 - INFO - Waiting for VM ctest-TestBasicPolicy-59273316-75149140 to be up.. 2026-11-05 21:07:36,663 - DEBUG - VM is in ACTIVE state now 2026-11-05 21:07:36,663 - INFO - VM name : ctest-TestBasicPolicy-59273316-75149140 2026-11-05 21:07:36,747 - DEBUG - VM ctest-TestBasicPolicy-59273316-75149140 ID is bc83583c-f5ff-4047-ba2d-06bd7d21fc01 2026-11-05 21:07:36,747 - DEBUG - VM ctest-TestBasicPolicy-59273316-75149140 launched on Node cn-jenkins-deploy-platform-ansible-os-6485-1 2026-11-05 21:07:36,818 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/bc83583c-f5ff-4047-ba2d-06bd7d21fc01 2026-11-05 21:07:36,826 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/5b896478-55e9-4d06-9d44-e7ede8ab76cb 2026-11-05 21:07:38,063 - 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=8.32 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.52 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.521/4.918/8.316/3.397 ms') 2026-11-05 21:07:38,063 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-59273316-75149140 passed 2026-11-05 21:07:38,219 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-05 21:07:38,219 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-59273316-75149140, IP 45.247.107.67, Port 22 2026-11-05 21:07:38,284 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-11-05 21:07:38,359 - DEBUG - VM ctest-TestBasicPolicy-59273316-75149140 is NOT ready for SSH connections, VM status: ACTIVE 2026-11-05 21:07:43,359 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-05 21:07:43,359 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-59273316-75149140, IP 45.247.107.67, Port 22 2026-11-05 21:07:43,514 - DEBUG - VM ctest-TestBasicPolicy-59273316-75149140 is ready for SSH connections 2026-11-05 21:07:43,514 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-05 21:07:43,514 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 45.247.107.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123 2026-11-05 21:07:43,514 - DEBUG - ping -s 56 -c 3 -W 1 45.247.107.67 2026-11-05 21:07:47,468 - DEBUG - PING 45.247.107.67 (45.247.107.67): 56 data bytes 64 bytes from 45.247.107.67: seq=0 ttl=63 time=4.020 ms 64 bytes from 45.247.107.67: seq=1 ttl=63 time=0.811 ms 64 bytes from 45.247.107.67: seq=2 ttl=63 time=0.899 ms --- 45.247.107.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.811/1.910/4.020 ms 2026-11-05 21:07:47,468 - INFO - Ping to IP 45.247.107.67 from VM ctest-TestBasicPolicy-59273316-13917434 passed 2026-11-05 21:07:47,655 - DEBUG - Policy Update Response {"network-policy": {"uuid": "49490360-2d29-4285-93e2-7491e5dfdec1", "href": "http://10.0.0.177:8082/network-policy/49490360-2d29-4285-93e2-7491e5dfdec1"}} 2026-11-05 21:07:47,655 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-05 21:07:47,655 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 45.247.107.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123 2026-11-05 21:07:47,655 - DEBUG - ping -s 56 -c 3 -W 1 45.247.107.67 2026-11-05 21:07:50,811 - DEBUG - PING 45.247.107.67 (45.247.107.67): 56 data bytes 64 bytes from 45.247.107.67: seq=0 ttl=63 time=1.578 ms --- 45.247.107.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.578/1.578/1.578 ms 2026-11-05 21:07:50,811 - WARNING - Ping to IP 45.247.107.67 from VM ctest-TestBasicPolicy-59273316-13917434 failed 2026-11-05 21:07:50,811 - INFO - Deleting VM ctest-TestBasicPolicy-59273316-75149140 2026-11-05 21:07:50,881 - INFO - Deleting VM ctest-TestBasicPolicy-59273316-13917434 2026-11-05 21:07:51,215 - INFO - Deleted policy ctest-policy-allow-all-28685857 2026-11-05 21:07:51,215 - INFO - Deleting VN ctest-vn-33683752 2026-11-05 21:07:51,243 - DEBUG - VN ee808a57-0ee2-4b81-a215-07e1643da6bc still in use: Unable to complete operation on network ee808a57-0ee2-4b81-a215-07e1643da6bc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a052b48f-0abe-4a3c-9091-cc4de1c8181b'] 2026-11-05 21:07:51,243 - WARNING - Deleting VN ctest-vn-33683752 failed..Will retry 2026-11-05 21:07:53,274 - DEBUG - VN ee808a57-0ee2-4b81-a215-07e1643da6bc still in use: Unable to complete operation on network ee808a57-0ee2-4b81-a215-07e1643da6bc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2d8da675-9fa5-4350-80b5-ca2d5fd1f68b'] 2026-11-05 21:07:53,274 - WARNING - Deleting VN ctest-vn-33683752 failed..Will retry 2026-11-05 21:07:55,377 - DEBUG - Response for deleting network () 2026-11-05 21:07:55,377 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/2b889a8d-8142-4de9-8100-bde5615d075c 2026-11-05 21:07:55,382 - DEBUG - Response Code: 404 2026-11-05 21:07:55,382 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-11-05 21:07:55,394 - DEBUG - Requesting: http://10.0.0.177:8082/domain/f2497c17-aefb-4631-a433-d69289cd8ade 2026-11-05 21:07:55,449 - DEBUG - Requesting: http://10.0.0.177:8082/project/13842577-c4f9-4158-aa6c-1bcc5d45ef94 2026-11-05 21:07:55,521 - INFO - Validated that VN ctest-vn-33683752 is not found in API Server 2026-11-05 21:07:55,532 - DEBUG - VN ctest-vn-33683752 is not present in Agent 10.0.0.177 2026-11-05 21:07:55,532 - INFO - Validated that VN ctest-vn-33683752 is not in any agent 2026-11-05 21:07:55,548 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-33683752 info 2026-11-05 21:07:55,548 - INFO - Deleting VN ctest-vn-27078259 2026-11-05 21:07:55,656 - DEBUG - Response for deleting network () 2026-11-05 21:07:55,657 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/6d560151-2204-4fb9-b475-4c80e333a505 2026-11-05 21:07:55,663 - DEBUG - Response Code: 404 2026-11-05 21:07:55,663 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-11-05 21:07:55,668 - DEBUG - Requesting: http://10.0.0.177:8082/domain/f2497c17-aefb-4631-a433-d69289cd8ade 2026-11-05 21:07:55,720 - DEBUG - Requesting: http://10.0.0.177:8082/project/13842577-c4f9-4158-aa6c-1bcc5d45ef94 2026-11-05 21:07:55,795 - INFO - Validated that VN ctest-vn-27078259 is not found in API Server 2026-11-05 21:07:55,806 - DEBUG - VN ctest-vn-27078259 is not present in Agent 10.0.0.177 2026-11-05 21:07:55,806 - INFO - Validated that VN ctest-vn-27078259 is not in any agent 2026-11-05 21:07:55,822 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-27078259 info 2026-11-05 21:07:56,083 - DEBUG - No XMPP flaps were noticed during the test
2026-11-05 21:07:56,083 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:11]
2026-11-05 21:07:56,083 - INFO - -------------------------------------------------------------------------------- 2026-11-05 21:07:56,861 - INFO - Deleted project: ctest-TestBasicPolicy-59273316, ID : 13842577-c4f9-4158-aa6c-1bcc5d45ef94