2025-12-10 13:38:54,505 - INFO - Domain Default found not creating 2025-12-10 13:38:54,676 - INFO - Project ctest-TestBasicPolicy-03875223 not found, creating it 2025-12-10 13:38:55,134 - INFO - Created Project:ctest-TestBasicPolicy-03875223, ID : e49aad65-f126-46af-b187-73c166387093 2025-12-10 13:38:56,618 - INFO - ================================================================================ 2025-12-10 13:38:56,618 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-10 13:38:56,618 - 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-12-10 13:38:56,876 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.14': '0'}} with 2025-12-10 13:38:56,876 - INFO - Initial checks done. Running the testcase now 2025-12-10 13:38:56,876 - INFO - 2025-12-10 13:38:57,435 - DEBUG - Response for create_network : {'network': {'id': '69b7c922-ca74-41cb-98ee-6690e29c3f2d', 'name': 'ctest-vn-04825665', 'tenant_id': 'e49aad65f12646afb18773c166387093', 'project_id': 'e49aad65f12646afb18773c166387093', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03875223', 'ctest-vn-04825665'], 'port_security_enabled': True, 'description': ''}} 2025-12-10 13:38:57,639 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aa86495a-5f8e-4a4a-a07e-6bdb4d08c3fb', 'name': '', 'tenant_id': 'e49aad65f12646afb18773c166387093', 'network_id': '69b7c922-ca74-41cb-98ee-6690e29c3f2d', 'ip_version': 4, 'cidr': '25.52.241.192/26', 'allocation_pools': [{'start': '25.52.241.194', 'end': '25.52.241.254'}], 'gateway_ip': '25.52.241.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.52.241.194', 'tags': [], 'project_id': 'e49aad65f12646afb18773c166387093'}} 2025-12-10 13:38:57,657 - INFO - Created VN ctest-vn-04825665 2025-12-10 13:38:57,710 - DEBUG - VN ctest-vn-04825665 UUID is 69b7c922-ca74-41cb-98ee-6690e29c3f2d 2025-12-10 13:38:58,008 - DEBUG - Response for create_network : {'network': {'id': 'da08b035-19ad-4ae0-831c-6d0eff68cb80', 'name': 'ctest-vn-05899286', 'tenant_id': 'e49aad65f12646afb18773c166387093', 'project_id': 'e49aad65f12646afb18773c166387093', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03875223', 'ctest-vn-05899286'], 'port_security_enabled': True, 'description': ''}} 2025-12-10 13:38:58,234 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd526ef40-df24-40c1-af2f-dfdfbf4a3e9b', 'name': '', 'tenant_id': 'e49aad65f12646afb18773c166387093', 'network_id': 'da08b035-19ad-4ae0-831c-6d0eff68cb80', 'ip_version': 4, 'cidr': '125.87.102.64/26', 'allocation_pools': [{'start': '125.87.102.66', 'end': '125.87.102.126'}], 'gateway_ip': '125.87.102.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.87.102.66', 'tags': [], 'project_id': 'e49aad65f12646afb18773c166387093'}} 2025-12-10 13:38:58,253 - INFO - Created VN ctest-vn-05899286 2025-12-10 13:38:58,306 - DEBUG - VN ctest-vn-05899286 UUID is da08b035-19ad-4ae0-831c-6d0eff68cb80 2025-12-10 13:38:58,426 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-03875223:ctest-vn-04825665, 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-03875223:ctest-vn-05899286, 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-12-10 13:38:58,717 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '69b7c922-ca74-41cb-98ee-6690e29c3f2d', 'name': 'ctest-vn-04825665', 'tenant_id': 'e49aad65f12646afb18773c166387093', 'project_id': 'e49aad65f12646afb18773c166387093', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['aa86495a-5f8e-4a4a-a07e-6bdb4d08c3fb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03875223', 'ctest-vn-04825665'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-03875223', 'ctest-policy-allow-all-67120736']], 'subnet_ipam': [{'subnet_cidr': '25.52.241.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-10 13:38:58,984 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'da08b035-19ad-4ae0-831c-6d0eff68cb80', 'name': 'ctest-vn-05899286', 'tenant_id': 'e49aad65f12646afb18773c166387093', 'project_id': 'e49aad65f12646afb18773c166387093', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d526ef40-df24-40c1-af2f-dfdfbf4a3e9b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03875223', 'ctest-vn-05899286'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-03875223', 'ctest-policy-allow-all-67120736']], 'subnet_ipam': [{'subnet_cidr': '125.87.102.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-10 13:38:59,146 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-10 13:38:59,450 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-10 13:38:59,483 - DEBUG - Requesting: http://10.0.0.33:8082/domain/56ae90ce-a7b7-4de8-9da1-c2a15132e861 2025-12-10 13:38:59,496 - DEBUG - Requesting: http://10.0.0.33:8082/project/e49aad65-f126-46af-b187-73c166387093 2025-12-10 13:38:59,569 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/69b7c922-ca74-41cb-98ee-6690e29c3f2d 2025-12-10 13:38:59,579 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/69b7c922-ca74-41cb-98ee-6690e29c3f2d 2025-12-10 13:38:59,589 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ae816b97-2dab-4e45-89a8-810ed7d4dc1c 2025-12-10 13:38:59,597 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ae816b97-2dab-4e45-89a8-810ed7d4dc1c 2025-12-10 13:38:59,603 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/d7f0fc1c-1b8f-47bc-9161-c7a0c83c403b 2025-12-10 13:38:59,610 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-10 13:38:59,610 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/69b7c922-ca74-41cb-98ee-6690e29c3f2d 2025-12-10 13:38:59,620 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ae816b97-2dab-4e45-89a8-810ed7d4dc1c 2025-12-10 13:38:59,635 - INFO - Verified VN network id 11 for VN 69b7c922-ca74-41cb-98ee-6690e29c3f2d 2025-12-10 13:38:59,635 - INFO - Verifications in API Server for VN ctest-vn-04825665 passed 2025-12-10 13:38:59,636 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/69b7c922-ca74-41cb-98ee-6690e29c3f2d 2025-12-10 13:38:59,644 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ae816b97-2dab-4e45-89a8-810ed7d4dc1c 2025-12-10 13:38:59,651 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ae816b97-2dab-4e45-89a8-810ed7d4dc1c 2025-12-10 13:38:59,658 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/d7f0fc1c-1b8f-47bc-9161-c7a0c83c403b 2025-12-10 13:38:59,670 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-03875223:ctest-vn-04825665', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-03875223', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7617778445983171019', 'uuid-lslong': '11019858110685396781'}, 'enable': 'true', 'created': '2025-12-10T13:38:57', 'last-modified': '2025-12-10T13:38:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.974769'} 2025-12-10 13:38:59,675 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-10 13:38:59,676 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04825665 passed 2025-12-10 13:38:59,676 - DEBUG - ====Verifying policy data for ctest-vn-04825665 in API_Server ====== 2025-12-10 13:38:59,676 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-10 13:38:59,681 - DEBUG - Requesting: http://10.0.0.33:8082/domain/56ae90ce-a7b7-4de8-9da1-c2a15132e861 2025-12-10 13:38:59,692 - DEBUG - Requesting: http://10.0.0.33:8082/project/e49aad65-f126-46af-b187-73c166387093 2025-12-10 13:38:59,757 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/69b7c922-ca74-41cb-98ee-6690e29c3f2d 2025-12-10 13:38:59,765 - DEBUG - ==>Verifying data for policy with id: cec06394-b494-4266-8258-a5dec6505297, fqn: ['default-domain', 'ctest-TestBasicPolicy-03875223', 'ctest-policy-allow-all-67120736'] 2025-12-10 13:38:59,765 - INFO - VN ctest-vn-04825665 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-10 13:38:59,765 - DEBUG - Verifying the vn in opserver 2025-12-10 13:38:59,765 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-03875223:ctest-vn-04825665 virtual network link through opserver 10.0.0.33 2025-12-10 13:38:59,765 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-12-10 13:39:00,058 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-12-10 13:39:00,119 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-03875223:ctest-vn-04825665', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-03875223:ctest-vn-04825665?flat'} 2025-12-10 13:39:00,119 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-03875223:ctest-vn-04825665 is found in opserver 2025-12-10 13:39:00,127 - DEBUG - Do not have enough data to verify VN in agent 2025-12-10 13:39:00,131 - DEBUG - VRF ids for VN ctest-vn-04825665: {} 2025-12-10 13:39:00,132 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-10 13:39:00,136 - DEBUG - Requesting: http://10.0.0.33:8082/domain/56ae90ce-a7b7-4de8-9da1-c2a15132e861 2025-12-10 13:39:00,146 - DEBUG - Requesting: http://10.0.0.33:8082/project/e49aad65-f126-46af-b187-73c166387093 2025-12-10 13:39:00,217 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/da08b035-19ad-4ae0-831c-6d0eff68cb80 2025-12-10 13:39:00,229 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/da08b035-19ad-4ae0-831c-6d0eff68cb80 2025-12-10 13:39:00,238 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c9c21300-fc4a-41fa-9d70-bec9c518476e 2025-12-10 13:39:00,246 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c9c21300-fc4a-41fa-9d70-bec9c518476e 2025-12-10 13:39:00,253 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/3a714159-d138-41cc-b55f-39cccf8ddbf5 2025-12-10 13:39:00,261 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-10 13:39:00,261 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/da08b035-19ad-4ae0-831c-6d0eff68cb80 2025-12-10 13:39:00,270 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c9c21300-fc4a-41fa-9d70-bec9c518476e 2025-12-10 13:39:00,284 - INFO - Verified VN network id 12 for VN da08b035-19ad-4ae0-831c-6d0eff68cb80 2025-12-10 13:39:00,284 - INFO - Verifications in API Server for VN ctest-vn-05899286 passed 2025-12-10 13:39:00,284 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/da08b035-19ad-4ae0-831c-6d0eff68cb80 2025-12-10 13:39:00,292 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c9c21300-fc4a-41fa-9d70-bec9c518476e 2025-12-10 13:39:00,298 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c9c21300-fc4a-41fa-9d70-bec9c518476e 2025-12-10 13:39:00,303 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/3a714159-d138-41cc-b55f-39cccf8ddbf5 2025-12-10 13:39:00,315 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-03875223:ctest-vn-05899286', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-03875223', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15711001042192517856', 'uuid-lslong': '9447546029498485632'}, 'enable': 'true', 'created': '2025-12-10T13:38:57', 'last-modified': '2025-12-10T13:38:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.395097'} 2025-12-10 13:39:00,320 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-10 13:39:00,320 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-05899286 passed 2025-12-10 13:39:00,320 - DEBUG - ====Verifying policy data for ctest-vn-05899286 in API_Server ====== 2025-12-10 13:39:00,321 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-10 13:39:00,327 - DEBUG - Requesting: http://10.0.0.33:8082/domain/56ae90ce-a7b7-4de8-9da1-c2a15132e861 2025-12-10 13:39:00,338 - DEBUG - Requesting: http://10.0.0.33:8082/project/e49aad65-f126-46af-b187-73c166387093 2025-12-10 13:39:00,409 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/da08b035-19ad-4ae0-831c-6d0eff68cb80 2025-12-10 13:39:00,418 - DEBUG - ==>Verifying data for policy with id: cec06394-b494-4266-8258-a5dec6505297, fqn: ['default-domain', 'ctest-TestBasicPolicy-03875223', 'ctest-policy-allow-all-67120736'] 2025-12-10 13:39:00,418 - INFO - VN ctest-vn-05899286 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-10 13:39:00,418 - DEBUG - Verifying the vn in opserver 2025-12-10 13:39:00,418 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-03875223:ctest-vn-05899286 virtual network link through opserver 10.0.0.33 2025-12-10 13:39:00,418 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-12-10 13:39:00,429 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-03875223:ctest-vn-05899286', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-03875223:ctest-vn-05899286?flat'} 2025-12-10 13:39:00,429 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-03875223:ctest-vn-05899286 is found in opserver 2025-12-10 13:39:00,438 - DEBUG - Do not have enough data to verify VN in agent 2025-12-10 13:39:00,443 - DEBUG - VRF ids for VN ctest-vn-05899286: {} 2025-12-10 13:39:00,500 - DEBUG - Services list from nova: [, , ] 2025-12-10 13:39:01,531 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4875-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4875-1) 2025-12-10 13:39:02,693 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4875-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4875-1) 2025-12-10 13:39:02,693 - INFO - Waiting for VM ctest-TestBasicPolicy-03875223-57652794 to be up.. 2025-12-10 13:39:02,771 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-10 13:39:07,848 - DEBUG - VM is in ACTIVE state now 2025-12-10 13:39:07,848 - INFO - VM name : ctest-TestBasicPolicy-03875223-57652794 2025-12-10 13:39:07,923 - DEBUG - VM ctest-TestBasicPolicy-03875223-57652794 ID is 1e0469d9-63d8-424e-a040-8bdee07ad255 2025-12-10 13:39:07,946 - DEBUG - VM ctest-TestBasicPolicy-03875223-57652794 launched on Node cn-jenkins-deploy-platform-ansible-os-4875-1 2025-12-10 13:39:08,019 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/1e0469d9-63d8-424e-a040-8bdee07ad255 2025-12-10 13:39:08,027 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/dcf2bb48-52cc-4da0-9fed-664dc1f2fbf7 2025-12-10 13:39:11,292 - 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 1031ms') 2025-12-10 13:39:11,293 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-03875223-57652794 failed! 2025-12-10 13:39:11,354 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-03875223:ctest-vn-04825665 is 25.52.241.193 and allocation pool is NOT set 2025-12-10 13:39:13,420 - 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=8.01 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.60 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 = 1.601/4.803/8.005/3.202 ms') 2025-12-10 13:39:13,420 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-03875223-57652794 passed 2025-12-10 13:39:13,570 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-10 13:39:13,571 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-03875223-57652794, IP 25.52.241.195, Port 22 2025-12-10 13:39:13,636 - 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-12-10 13:39:13,713 - DEBUG - VM ctest-TestBasicPolicy-03875223-57652794 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-10 13:39:18,713 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-10 13:39:18,713 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-03875223-57652794, IP 25.52.241.195, Port 22 2025-12-10 13:39:18,870 - DEBUG - VM ctest-TestBasicPolicy-03875223-57652794 is ready for SSH connections 2025-12-10 13:39:18,870 - INFO - Waiting for VM ctest-TestBasicPolicy-03875223-58969693 to be up.. 2025-12-10 13:39:18,948 - DEBUG - VM is in ACTIVE state now 2025-12-10 13:39:18,948 - INFO - VM name : ctest-TestBasicPolicy-03875223-58969693 2025-12-10 13:39:19,026 - DEBUG - VM ctest-TestBasicPolicy-03875223-58969693 ID is f4eed7e9-f784-4fd1-a7d3-4bb34cff8ca6 2025-12-10 13:39:19,026 - DEBUG - VM ctest-TestBasicPolicy-03875223-58969693 launched on Node cn-jenkins-deploy-platform-ansible-os-4875-1 2025-12-10 13:39:19,113 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/f4eed7e9-f784-4fd1-a7d3-4bb34cff8ca6 2025-12-10 13:39:19,123 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/15191908-46c2-4ee4-bcd8-d54d13079b5b 2025-12-10 13:39:20,363 - 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.01 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.480 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 = 0.480/1.743/3.006/1.263 ms') 2025-12-10 13:39:20,363 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-03875223-58969693 passed 2025-12-10 13:39:20,514 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-10 13:39:20,515 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-03875223-58969693, IP 125.87.102.67, Port 22 2025-12-10 13:39:20,670 - DEBUG - VM ctest-TestBasicPolicy-03875223-58969693 is ready for SSH connections 2025-12-10 13:39:20,671 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-10 13:39:20,671 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.87.102.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-12-10 13:39:20,671 - DEBUG - ping -s 56 -c 3 -W 1 125.87.102.67 2025-12-10 13:39:24,744 - DEBUG - PING 125.87.102.67 (125.87.102.67): 56 data bytes 64 bytes from 125.87.102.67: seq=0 ttl=63 time=3.649 ms 64 bytes from 125.87.102.67: seq=1 ttl=63 time=1.033 ms 64 bytes from 125.87.102.67: seq=2 ttl=63 time=0.862 ms --- 125.87.102.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.862/1.848/3.649 ms 2025-12-10 13:39:24,744 - INFO - Ping to IP 125.87.102.67 from VM ctest-TestBasicPolicy-03875223-57652794 passed 2025-12-10 13:39:24,918 - DEBUG - Policy Update Response {"network-policy": {"uuid": "cec06394-b494-4266-8258-a5dec6505297", "href": "http://10.0.0.33:8082/network-policy/cec06394-b494-4266-8258-a5dec6505297"}} 2025-12-10 13:39:24,918 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-10 13:39:24,918 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.87.102.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-12-10 13:39:24,918 - DEBUG - ping -s 56 -c 3 -W 1 125.87.102.67 2025-12-10 13:39:28,118 - DEBUG - PING 125.87.102.67 (125.87.102.67): 56 data bytes --- 125.87.102.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-10 13:39:28,119 - WARNING - Ping to IP 125.87.102.67 from VM ctest-TestBasicPolicy-03875223-57652794 failed 2025-12-10 13:39:28,119 - INFO - Deleting VM ctest-TestBasicPolicy-03875223-58969693 2025-12-10 13:39:28,187 - INFO - Deleting VM ctest-TestBasicPolicy-03875223-57652794 2025-12-10 13:39:28,567 - INFO - Deleted policy ctest-policy-allow-all-67120736 2025-12-10 13:39:28,567 - INFO - Deleting VN ctest-vn-05899286 2025-12-10 13:39:28,616 - DEBUG - VN da08b035-19ad-4ae0-831c-6d0eff68cb80 still in use: Unable to complete operation on network da08b035-19ad-4ae0-831c-6d0eff68cb80. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-05e39ace-6ddd-4c00-8dc2-380cead1312c'] 2025-12-10 13:39:28,616 - WARNING - Deleting VN ctest-vn-05899286 failed..Will retry 2025-12-10 13:39:30,730 - DEBUG - Response for deleting network () 2025-12-10 13:39:30,730 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c9c21300-fc4a-41fa-9d70-bec9c518476e 2025-12-10 13:39:30,736 - DEBUG - Response Code: 404 2025-12-10 13:39:30,736 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-10 13:39:30,742 - DEBUG - Requesting: http://10.0.0.33:8082/domain/56ae90ce-a7b7-4de8-9da1-c2a15132e861 2025-12-10 13:39:30,796 - DEBUG - Requesting: http://10.0.0.33:8082/project/e49aad65-f126-46af-b187-73c166387093 2025-12-10 13:39:30,862 - INFO - Validated that VN ctest-vn-05899286 is not found in API Server 2025-12-10 13:39:30,872 - DEBUG - VN ctest-vn-05899286 is not present in Agent 10.0.0.33 2025-12-10 13:39:30,872 - INFO - Validated that VN ctest-vn-05899286 is not in any agent 2025-12-10 13:39:30,886 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-05899286 info 2025-12-10 13:39:30,886 - INFO - Deleting VN ctest-vn-04825665 2025-12-10 13:39:30,987 - DEBUG - Response for deleting network () 2025-12-10 13:39:30,987 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ae816b97-2dab-4e45-89a8-810ed7d4dc1c 2025-12-10 13:39:30,993 - DEBUG - Response Code: 404 2025-12-10 13:39:30,993 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-10 13:39:30,998 - DEBUG - Requesting: http://10.0.0.33:8082/domain/56ae90ce-a7b7-4de8-9da1-c2a15132e861 2025-12-10 13:39:31,052 - DEBUG - Requesting: http://10.0.0.33:8082/project/e49aad65-f126-46af-b187-73c166387093 2025-12-10 13:39:31,120 - INFO - Validated that VN ctest-vn-04825665 is not found in API Server 2025-12-10 13:39:31,131 - DEBUG - VN ctest-vn-04825665 is not present in Agent 10.0.0.33 2025-12-10 13:39:31,131 - INFO - Validated that VN ctest-vn-04825665 is not in any agent 2025-12-10 13:39:31,148 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-04825665 info 2025-12-10 13:39:31,404 - DEBUG - No XMPP flaps were noticed during the test
2025-12-10 13:39:31,404 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2025-12-10 13:39:31,404 - INFO - -------------------------------------------------------------------------------- 2025-12-10 13:39:32,088 - INFO - Deleted project: ctest-TestBasicPolicy-03875223, ID : e49aad65-f126-46af-b187-73c166387093