2026-01-19 02:15:33,304 - INFO - Domain Default found not creating 2026-01-19 02:15:33,478 - INFO - Project ctest-TestBasicPolicy-66254033 not found, creating it 2026-01-19 02:15:33,954 - INFO - Created Project:ctest-TestBasicPolicy-66254033, ID : d6710764-fa80-480a-a2b3-5c9cd594e227 2026-01-19 02:15:35,490 - INFO - ================================================================================ 2026-01-19 02:15:35,490 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-19 02:15:35,490 - 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-01-19 02:15:35,767 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.209': '0'}} with 2026-01-19 02:15:35,767 - INFO - Initial checks done. Running the testcase now 2026-01-19 02:15:35,767 - INFO - 2026-01-19 02:15:36,347 - DEBUG - Response for create_network : {'network': {'id': '918504c2-7efa-4eb8-87ca-38fc810da00c', 'name': 'ctest-vn-30291168', 'tenant_id': 'd6710764fa80480aa2b35c9cd594e227', 'project_id': 'd6710764fa80480aa2b35c9cd594e227', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66254033', 'ctest-vn-30291168'], 'port_security_enabled': True, 'description': ''}} 2026-01-19 02:15:36,506 - DEBUG - Response for create_subnet : {'subnet': {'id': '01d26d15-83ea-4a80-baad-0e705c695f63', 'name': '', 'tenant_id': 'd6710764fa80480aa2b35c9cd594e227', 'network_id': '918504c2-7efa-4eb8-87ca-38fc810da00c', 'ip_version': 4, 'cidr': '133.67.234.128/26', 'allocation_pools': [{'start': '133.67.234.130', 'end': '133.67.234.190'}], 'gateway_ip': '133.67.234.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.67.234.130', 'tags': [], 'project_id': 'd6710764fa80480aa2b35c9cd594e227'}} 2026-01-19 02:15:36,523 - INFO - Created VN ctest-vn-30291168 2026-01-19 02:15:36,575 - DEBUG - VN ctest-vn-30291168 UUID is 918504c2-7efa-4eb8-87ca-38fc810da00c 2026-01-19 02:15:36,893 - DEBUG - Response for create_network : {'network': {'id': '16610f92-a0ea-4fc9-bdae-d0c6dccee55c', 'name': 'ctest-vn-35753138', 'tenant_id': 'd6710764fa80480aa2b35c9cd594e227', 'project_id': 'd6710764fa80480aa2b35c9cd594e227', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66254033', 'ctest-vn-35753138'], 'port_security_enabled': True, 'description': ''}} 2026-01-19 02:15:37,060 - DEBUG - Response for create_subnet : {'subnet': {'id': '53fef4b1-50bc-4988-bf10-4615d06463c5', 'name': '', 'tenant_id': 'd6710764fa80480aa2b35c9cd594e227', 'network_id': '16610f92-a0ea-4fc9-bdae-d0c6dccee55c', 'ip_version': 4, 'cidr': '208.62.230.0/26', 'allocation_pools': [{'start': '208.62.230.2', 'end': '208.62.230.62'}], 'gateway_ip': '208.62.230.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '208.62.230.2', 'tags': [], 'project_id': 'd6710764fa80480aa2b35c9cd594e227'}} 2026-01-19 02:15:37,079 - INFO - Created VN ctest-vn-35753138 2026-01-19 02:15:37,131 - DEBUG - VN ctest-vn-35753138 UUID is 16610f92-a0ea-4fc9-bdae-d0c6dccee55c 2026-01-19 02:15:37,283 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-66254033:ctest-vn-30291168, 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-66254033:ctest-vn-35753138, 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-01-19 02:15:37,574 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '918504c2-7efa-4eb8-87ca-38fc810da00c', 'name': 'ctest-vn-30291168', 'tenant_id': 'd6710764fa80480aa2b35c9cd594e227', 'project_id': 'd6710764fa80480aa2b35c9cd594e227', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['01d26d15-83ea-4a80-baad-0e705c695f63'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66254033', 'ctest-vn-30291168'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66254033', 'ctest-policy-allow-all-19860750']], 'subnet_ipam': [{'subnet_cidr': '133.67.234.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-19 02:15:37,814 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '16610f92-a0ea-4fc9-bdae-d0c6dccee55c', 'name': 'ctest-vn-35753138', 'tenant_id': 'd6710764fa80480aa2b35c9cd594e227', 'project_id': 'd6710764fa80480aa2b35c9cd594e227', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['53fef4b1-50bc-4988-bf10-4615d06463c5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66254033', 'ctest-vn-35753138'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66254033', 'ctest-policy-allow-all-19860750']], 'subnet_ipam': [{'subnet_cidr': '208.62.230.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-19 02:15:37,983 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2026-01-19 02:15:38,293 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2026-01-19 02:15:38,328 - DEBUG - Requesting: http://10.0.0.130:8082/domain/6b1950eb-3744-4375-a1be-2f40ed6a9311 2026-01-19 02:15:38,342 - DEBUG - Requesting: http://10.0.0.130:8082/project/d6710764-fa80-480a-a2b3-5c9cd594e227 2026-01-19 02:15:38,422 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/918504c2-7efa-4eb8-87ca-38fc810da00c 2026-01-19 02:15:38,432 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/918504c2-7efa-4eb8-87ca-38fc810da00c 2026-01-19 02:15:38,441 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/19b701b2-5e3d-4b36-9e66-31a900ac5a50 2026-01-19 02:15:38,449 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/19b701b2-5e3d-4b36-9e66-31a900ac5a50 2026-01-19 02:15:38,455 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/eed79859-149d-4b0f-bb23-00a14d3f852c 2026-01-19 02:15:38,461 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-19 02:15:38,461 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/918504c2-7efa-4eb8-87ca-38fc810da00c 2026-01-19 02:15:38,469 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/19b701b2-5e3d-4b36-9e66-31a900ac5a50 2026-01-19 02:15:38,485 - INFO - Verified VN network id 11 for VN 918504c2-7efa-4eb8-87ca-38fc810da00c 2026-01-19 02:15:38,486 - INFO - Verifications in API Server for VN ctest-vn-30291168 passed 2026-01-19 02:15:38,486 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/918504c2-7efa-4eb8-87ca-38fc810da00c 2026-01-19 02:15:38,495 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/19b701b2-5e3d-4b36-9e66-31a900ac5a50 2026-01-19 02:15:38,502 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/19b701b2-5e3d-4b36-9e66-31a900ac5a50 2026-01-19 02:15:38,508 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/eed79859-149d-4b0f-bb23-00a14d3f852c 2026-01-19 02:15:38,520 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66254033:ctest-vn-30291168', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66254033', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10485792540802567864', 'uuid-lslong': '9784695797563891724'}, 'enable': 'true', 'created': '2026-01-19T02:15:36', 'last-modified': '2026-01-19T02:15:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.968280'} 2026-01-19 02:15:38,526 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-19 02:15:38,526 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-30291168 passed 2026-01-19 02:15:38,526 - DEBUG - ====Verifying policy data for ctest-vn-30291168 in API_Server ====== 2026-01-19 02:15:38,526 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2026-01-19 02:15:38,531 - DEBUG - Requesting: http://10.0.0.130:8082/domain/6b1950eb-3744-4375-a1be-2f40ed6a9311 2026-01-19 02:15:38,541 - DEBUG - Requesting: http://10.0.0.130:8082/project/d6710764-fa80-480a-a2b3-5c9cd594e227 2026-01-19 02:15:38,610 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/918504c2-7efa-4eb8-87ca-38fc810da00c 2026-01-19 02:15:38,617 - DEBUG - ==>Verifying data for policy with id: abac4304-822b-4475-a705-2b3a6a2740f5, fqn: ['default-domain', 'ctest-TestBasicPolicy-66254033', 'ctest-policy-allow-all-19860750'] 2026-01-19 02:15:38,617 - INFO - VN ctest-vn-30291168 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-19 02:15:38,618 - DEBUG - Verifying the vn in opserver 2026-01-19 02:15:38,618 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66254033:ctest-vn-30291168 virtual network link through opserver 10.0.0.130 2026-01-19 02:15:38,618 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2026-01-19 02:15:38,912 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2026-01-19 02:15:38,987 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66254033:ctest-vn-30291168', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66254033:ctest-vn-30291168?flat'} 2026-01-19 02:15:38,987 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66254033:ctest-vn-30291168 is found in opserver 2026-01-19 02:15:38,997 - DEBUG - Do not have enough data to verify VN in agent 2026-01-19 02:15:39,003 - DEBUG - VRF ids for VN ctest-vn-30291168: {} 2026-01-19 02:15:39,003 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2026-01-19 02:15:39,008 - DEBUG - Requesting: http://10.0.0.130:8082/domain/6b1950eb-3744-4375-a1be-2f40ed6a9311 2026-01-19 02:15:39,018 - DEBUG - Requesting: http://10.0.0.130:8082/project/d6710764-fa80-480a-a2b3-5c9cd594e227 2026-01-19 02:15:39,087 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/16610f92-a0ea-4fc9-bdae-d0c6dccee55c 2026-01-19 02:15:39,098 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/16610f92-a0ea-4fc9-bdae-d0c6dccee55c 2026-01-19 02:15:39,107 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/e273c6cc-b664-4109-a132-b7dc03d477ed 2026-01-19 02:15:39,115 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/e273c6cc-b664-4109-a132-b7dc03d477ed 2026-01-19 02:15:39,122 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/0fe0a958-7210-49b9-bf06-d79de2b12202 2026-01-19 02:15:39,130 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-19 02:15:39,130 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/16610f92-a0ea-4fc9-bdae-d0c6dccee55c 2026-01-19 02:15:39,139 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/e273c6cc-b664-4109-a132-b7dc03d477ed 2026-01-19 02:15:39,157 - INFO - Verified VN network id 12 for VN 16610f92-a0ea-4fc9-bdae-d0c6dccee55c 2026-01-19 02:15:39,157 - INFO - Verifications in API Server for VN ctest-vn-35753138 passed 2026-01-19 02:15:39,157 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/16610f92-a0ea-4fc9-bdae-d0c6dccee55c 2026-01-19 02:15:39,169 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/e273c6cc-b664-4109-a132-b7dc03d477ed 2026-01-19 02:15:39,179 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/e273c6cc-b664-4109-a132-b7dc03d477ed 2026-01-19 02:15:39,189 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/0fe0a958-7210-49b9-bf06-d79de2b12202 2026-01-19 02:15:39,206 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66254033:ctest-vn-35753138', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66254033', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1612587264014700489', 'uuid-lslong': '13668091471642682716'}, 'enable': 'true', 'created': '2026-01-19T02:15:36', 'last-modified': '2026-01-19T02:15:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.411790'} 2026-01-19 02:15:39,217 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-19 02:15:39,217 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-35753138 passed 2026-01-19 02:15:39,217 - DEBUG - ====Verifying policy data for ctest-vn-35753138 in API_Server ====== 2026-01-19 02:15:39,217 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2026-01-19 02:15:39,224 - DEBUG - Requesting: http://10.0.0.130:8082/domain/6b1950eb-3744-4375-a1be-2f40ed6a9311 2026-01-19 02:15:39,234 - DEBUG - Requesting: http://10.0.0.130:8082/project/d6710764-fa80-480a-a2b3-5c9cd594e227 2026-01-19 02:15:39,306 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/16610f92-a0ea-4fc9-bdae-d0c6dccee55c 2026-01-19 02:15:39,316 - DEBUG - ==>Verifying data for policy with id: abac4304-822b-4475-a705-2b3a6a2740f5, fqn: ['default-domain', 'ctest-TestBasicPolicy-66254033', 'ctest-policy-allow-all-19860750'] 2026-01-19 02:15:39,316 - INFO - VN ctest-vn-35753138 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-19 02:15:39,316 - DEBUG - Verifying the vn in opserver 2026-01-19 02:15:39,316 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66254033:ctest-vn-35753138 virtual network link through opserver 10.0.0.130 2026-01-19 02:15:39,316 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2026-01-19 02:15:39,333 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66254033:ctest-vn-35753138', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66254033:ctest-vn-35753138?flat'} 2026-01-19 02:15:39,333 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66254033:ctest-vn-35753138 is found in opserver 2026-01-19 02:15:39,345 - DEBUG - Do not have enough data to verify VN in agent 2026-01-19 02:15:39,350 - DEBUG - VRF ids for VN ctest-vn-35753138: {} 2026-01-19 02:15:39,414 - DEBUG - Services list from nova: [, , ] 2026-01-19 02:15:40,447 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5037-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5037-1) 2026-01-19 02:15:41,591 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5037-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5037-1) 2026-01-19 02:15:41,591 - INFO - Waiting for VM ctest-TestBasicPolicy-66254033-50376266 to be up.. 2026-01-19 02:15:41,679 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-19 02:15:46,771 - DEBUG - VM is in ACTIVE state now 2026-01-19 02:15:46,771 - INFO - VM name : ctest-TestBasicPolicy-66254033-50376266 2026-01-19 02:15:46,857 - DEBUG - VM ctest-TestBasicPolicy-66254033-50376266 ID is 560a0f10-8593-41cb-80f3-aa1a271e810e 2026-01-19 02:15:46,879 - DEBUG - VM ctest-TestBasicPolicy-66254033-50376266 launched on Node cn-jenkins-deploy-platform-ansible-os-5037-1 2026-01-19 02:15:46,963 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/560a0f10-8593-41cb-80f3-aa1a271e810e 2026-01-19 02:15:46,972 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/6f6d6a72-9767-4499-b9ed-f7e419cdf8b0 2026-01-19 02:15:50,239 - 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 1029ms') 2026-01-19 02:15:50,240 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66254033-50376266 failed! 2026-01-19 02:15:50,295 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-66254033:ctest-vn-30291168 is 133.67.234.129 and allocation pool is NOT set 2026-01-19 02:15:52,354 - 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=9.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.738 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 = 0.738/5.306/9.875/4.568 ms') 2026-01-19 02:15:52,355 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66254033-50376266 passed 2026-01-19 02:15:52,507 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-19 02:15:52,507 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-66254033-50376266, IP 133.67.234.131, Port 22 2026-01-19 02:15:52,677 - DEBUG - VM ctest-TestBasicPolicy-66254033-50376266 is ready for SSH connections 2026-01-19 02:15:52,678 - INFO - Waiting for VM ctest-TestBasicPolicy-66254033-83504074 to be up.. 2026-01-19 02:15:52,772 - DEBUG - VM is in ACTIVE state now 2026-01-19 02:15:52,772 - INFO - VM name : ctest-TestBasicPolicy-66254033-83504074 2026-01-19 02:15:52,864 - DEBUG - VM ctest-TestBasicPolicy-66254033-83504074 ID is 54eff5cb-47ce-42c8-843f-42fc19cb1680 2026-01-19 02:15:52,865 - DEBUG - VM ctest-TestBasicPolicy-66254033-83504074 launched on Node cn-jenkins-deploy-platform-ansible-os-5037-1 2026-01-19 02:15:52,956 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/54eff5cb-47ce-42c8-843f-42fc19cb1680 2026-01-19 02:15:52,967 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/742ed771-7496-4221-a0ec-7b1b0a88e49f 2026-01-19 02:15:54,212 - 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=4.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.10 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.095/2.602/4.110/1.507 ms') 2026-01-19 02:15:54,212 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-66254033-83504074 passed 2026-01-19 02:15:54,367 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-19 02:15:54,367 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-66254033-83504074, IP 208.62.230.3, Port 22 2026-01-19 02:15:54,433 - 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-01-19 02:15:54,528 - DEBUG - VM ctest-TestBasicPolicy-66254033-83504074 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-19 02:15:59,529 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-19 02:15:59,529 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-66254033-83504074, IP 208.62.230.3, Port 22 2026-01-19 02:15:59,696 - DEBUG - VM ctest-TestBasicPolicy-66254033-83504074 is ready for SSH connections 2026-01-19 02:15:59,696 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-19 02:15:59,697 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 208.62.230.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2026-01-19 02:15:59,697 - DEBUG - ping -s 56 -c 3 -W 1 208.62.230.3 2026-01-19 02:16:03,738 - DEBUG - PING 208.62.230.3 (208.62.230.3): 56 data bytes 64 bytes from 208.62.230.3: seq=0 ttl=63 time=3.697 ms 64 bytes from 208.62.230.3: seq=1 ttl=63 time=1.090 ms 64 bytes from 208.62.230.3: seq=2 ttl=63 time=1.216 ms --- 208.62.230.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.090/2.001/3.697 ms 2026-01-19 02:16:03,738 - INFO - Ping to IP 208.62.230.3 from VM ctest-TestBasicPolicy-66254033-50376266 passed 2026-01-19 02:16:03,927 - DEBUG - Policy Update Response {"network-policy": {"uuid": "abac4304-822b-4475-a705-2b3a6a2740f5", "href": "http://10.0.0.130:8082/network-policy/abac4304-822b-4475-a705-2b3a6a2740f5"}} 2026-01-19 02:16:03,927 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-19 02:16:03,927 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 208.62.230.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2026-01-19 02:16:03,927 - DEBUG - ping -s 56 -c 3 -W 1 208.62.230.3 2026-01-19 02:16:07,176 - DEBUG - PING 208.62.230.3 (208.62.230.3): 56 data bytes --- 208.62.230.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-19 02:16:07,176 - WARNING - Ping to IP 208.62.230.3 from VM ctest-TestBasicPolicy-66254033-50376266 failed 2026-01-19 02:16:07,176 - INFO - Deleting VM ctest-TestBasicPolicy-66254033-83504074 2026-01-19 02:16:07,241 - INFO - Deleting VM ctest-TestBasicPolicy-66254033-50376266 2026-01-19 02:16:07,622 - INFO - Deleted policy ctest-policy-allow-all-19860750 2026-01-19 02:16:07,623 - INFO - Deleting VN ctest-vn-35753138 2026-01-19 02:16:07,662 - DEBUG - VN 16610f92-a0ea-4fc9-bdae-d0c6dccee55c still in use: Unable to complete operation on network 16610f92-a0ea-4fc9-bdae-d0c6dccee55c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1d2a61e8-4997-477d-9c84-12943f886034'] 2026-01-19 02:16:07,662 - WARNING - Deleting VN ctest-vn-35753138 failed..Will retry 2026-01-19 02:16:09,786 - DEBUG - Response for deleting network () 2026-01-19 02:16:09,786 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/e273c6cc-b664-4109-a132-b7dc03d477ed 2026-01-19 02:16:09,795 - DEBUG - Response Code: 404 2026-01-19 02:16:09,796 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2026-01-19 02:16:09,800 - DEBUG - Requesting: http://10.0.0.130:8082/domain/6b1950eb-3744-4375-a1be-2f40ed6a9311 2026-01-19 02:16:09,852 - DEBUG - Requesting: http://10.0.0.130:8082/project/d6710764-fa80-480a-a2b3-5c9cd594e227 2026-01-19 02:16:09,925 - INFO - Validated that VN ctest-vn-35753138 is not found in API Server 2026-01-19 02:16:09,935 - DEBUG - VN ctest-vn-35753138 is not present in Agent 10.0.0.130 2026-01-19 02:16:09,935 - INFO - Validated that VN ctest-vn-35753138 is not in any agent 2026-01-19 02:16:09,947 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-35753138 info 2026-01-19 02:16:09,948 - INFO - Deleting VN ctest-vn-30291168 2026-01-19 02:16:10,044 - DEBUG - Response for deleting network () 2026-01-19 02:16:10,045 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/19b701b2-5e3d-4b36-9e66-31a900ac5a50 2026-01-19 02:16:10,050 - DEBUG - Response Code: 404 2026-01-19 02:16:10,050 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2026-01-19 02:16:10,057 - DEBUG - Requesting: http://10.0.0.130:8082/domain/6b1950eb-3744-4375-a1be-2f40ed6a9311 2026-01-19 02:16:10,107 - DEBUG - Requesting: http://10.0.0.130:8082/project/d6710764-fa80-480a-a2b3-5c9cd594e227 2026-01-19 02:16:10,177 - INFO - Validated that VN ctest-vn-30291168 is not found in API Server 2026-01-19 02:16:10,187 - DEBUG - VN ctest-vn-30291168 is not present in Agent 10.0.0.130 2026-01-19 02:16:10,187 - INFO - Validated that VN ctest-vn-30291168 is not in any agent 2026-01-19 02:16:10,200 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-30291168 info 2026-01-19 02:16:10,455 - DEBUG - No XMPP flaps were noticed during the test
2026-01-19 02:16:10,455 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2026-01-19 02:16:10,456 - INFO - -------------------------------------------------------------------------------- 2026-01-19 02:16:11,162 - INFO - Deleted project: ctest-TestBasicPolicy-66254033, ID : d6710764-fa80-480a-a2b3-5c9cd594e227