2026-02-22 13:19:40,677 - INFO - Domain Default found not creating 2026-02-22 13:19:40,851 - INFO - Project ctest-TestBasicPolicy-48447446 not found, creating it 2026-02-22 13:19:41,310 - INFO - Created Project:ctest-TestBasicPolicy-48447446, ID : 2ab91ba6-0aa1-44e4-bc6f-110cf87e6dab 2026-02-22 13:19:42,842 - INFO - ================================================================================ 2026-02-22 13:19:42,843 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-22 13:19:42,843 - 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-02-22 13:19:43,100 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-02-22 13:19:43,100 - INFO - Initial checks done. Running the testcase now 2026-02-22 13:19:43,100 - INFO - 2026-02-22 13:19:43,657 - DEBUG - Response for create_network : {'network': {'id': '46ccc6d3-1058-49bb-a0c7-b7a7cebcf0fc', 'name': 'ctest-vn-56055845', 'tenant_id': '2ab91ba60aa144e4bc6f110cf87e6dab', 'project_id': '2ab91ba60aa144e4bc6f110cf87e6dab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48447446', 'ctest-vn-56055845'], 'port_security_enabled': True, 'description': ''}} 2026-02-22 13:19:43,834 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b0fcdde9-1792-4d0e-b623-a2b53b9d7b9e', 'name': '', 'tenant_id': '2ab91ba60aa144e4bc6f110cf87e6dab', 'network_id': '46ccc6d3-1058-49bb-a0c7-b7a7cebcf0fc', 'ip_version': 4, 'cidr': '50.243.63.128/26', 'allocation_pools': [{'start': '50.243.63.130', 'end': '50.243.63.190'}], 'gateway_ip': '50.243.63.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.243.63.130', 'tags': [], 'project_id': '2ab91ba60aa144e4bc6f110cf87e6dab'}} 2026-02-22 13:19:43,853 - INFO - Created VN ctest-vn-56055845 2026-02-22 13:19:43,907 - DEBUG - VN ctest-vn-56055845 UUID is 46ccc6d3-1058-49bb-a0c7-b7a7cebcf0fc 2026-02-22 13:19:44,201 - DEBUG - Response for create_network : {'network': {'id': '73c9ec4e-d2d1-4c0d-bd4f-25de56b23f44', 'name': 'ctest-vn-22199850', 'tenant_id': '2ab91ba60aa144e4bc6f110cf87e6dab', 'project_id': '2ab91ba60aa144e4bc6f110cf87e6dab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48447446', 'ctest-vn-22199850'], 'port_security_enabled': True, 'description': ''}} 2026-02-22 13:19:44,418 - DEBUG - Response for create_subnet : {'subnet': {'id': '82ed99a0-0662-4cfc-ad75-26abd6b20faa', 'name': '', 'tenant_id': '2ab91ba60aa144e4bc6f110cf87e6dab', 'network_id': '73c9ec4e-d2d1-4c0d-bd4f-25de56b23f44', 'ip_version': 4, 'cidr': '73.59.106.192/26', 'allocation_pools': [{'start': '73.59.106.194', 'end': '73.59.106.254'}], 'gateway_ip': '73.59.106.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.59.106.194', 'tags': [], 'project_id': '2ab91ba60aa144e4bc6f110cf87e6dab'}} 2026-02-22 13:19:44,438 - INFO - Created VN ctest-vn-22199850 2026-02-22 13:19:44,491 - DEBUG - VN ctest-vn-22199850 UUID is 73c9ec4e-d2d1-4c0d-bd4f-25de56b23f44 2026-02-22 13:19:44,607 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-48447446:ctest-vn-56055845, 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-48447446:ctest-vn-22199850, 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-02-22 13:19:44,919 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '46ccc6d3-1058-49bb-a0c7-b7a7cebcf0fc', 'name': 'ctest-vn-56055845', 'tenant_id': '2ab91ba60aa144e4bc6f110cf87e6dab', 'project_id': '2ab91ba60aa144e4bc6f110cf87e6dab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b0fcdde9-1792-4d0e-b623-a2b53b9d7b9e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48447446', 'ctest-vn-56055845'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48447446', 'ctest-policy-allow-all-03505173']], 'subnet_ipam': [{'subnet_cidr': '50.243.63.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-22 13:19:45,140 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '73c9ec4e-d2d1-4c0d-bd4f-25de56b23f44', 'name': 'ctest-vn-22199850', 'tenant_id': '2ab91ba60aa144e4bc6f110cf87e6dab', 'project_id': '2ab91ba60aa144e4bc6f110cf87e6dab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['82ed99a0-0662-4cfc-ad75-26abd6b20faa'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48447446', 'ctest-vn-22199850'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48447446', 'ctest-policy-allow-all-03505173']], 'subnet_ipam': [{'subnet_cidr': '73.59.106.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-22 13:19:45,315 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-22 13:19:45,615 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-22 13:19:45,648 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6618ba25-1f9b-4236-9a58-41fefe83d7e5 2026-02-22 13:19:45,660 - DEBUG - Requesting: http://10.0.0.50:8082/project/2ab91ba6-0aa1-44e4-bc6f-110cf87e6dab 2026-02-22 13:19:45,734 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/46ccc6d3-1058-49bb-a0c7-b7a7cebcf0fc 2026-02-22 13:19:45,747 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/46ccc6d3-1058-49bb-a0c7-b7a7cebcf0fc 2026-02-22 13:19:45,758 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9be2f9a5-f640-44a6-849f-d656dc7c9644 2026-02-22 13:19:45,765 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9be2f9a5-f640-44a6-849f-d656dc7c9644 2026-02-22 13:19:45,772 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/9ef14319-5854-4d9f-aee2-25dbd9249f3b 2026-02-22 13:19:45,779 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-22 13:19:45,779 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/46ccc6d3-1058-49bb-a0c7-b7a7cebcf0fc 2026-02-22 13:19:45,790 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9be2f9a5-f640-44a6-849f-d656dc7c9644 2026-02-22 13:19:45,808 - INFO - Verified VN network id 11 for VN 46ccc6d3-1058-49bb-a0c7-b7a7cebcf0fc 2026-02-22 13:19:45,808 - INFO - Verifications in API Server for VN ctest-vn-56055845 passed 2026-02-22 13:19:45,808 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/46ccc6d3-1058-49bb-a0c7-b7a7cebcf0fc 2026-02-22 13:19:45,817 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9be2f9a5-f640-44a6-849f-d656dc7c9644 2026-02-22 13:19:45,825 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9be2f9a5-f640-44a6-849f-d656dc7c9644 2026-02-22 13:19:45,832 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/9ef14319-5854-4d9f-aee2-25dbd9249f3b 2026-02-22 13:19:45,844 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48447446:ctest-vn-56055845', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48447446', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5101671087718549947', 'uuid-lslong': '11585430497789800700'}, 'enable': 'true', 'created': '2026-02-22T13:19:43', 'last-modified': '2026-02-22T13:19:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.954625'} 2026-02-22 13:19:45,850 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-22 13:19:45,850 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-56055845 passed 2026-02-22 13:19:45,850 - DEBUG - ====Verifying policy data for ctest-vn-56055845 in API_Server ====== 2026-02-22 13:19:45,850 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-22 13:19:45,855 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6618ba25-1f9b-4236-9a58-41fefe83d7e5 2026-02-22 13:19:45,866 - DEBUG - Requesting: http://10.0.0.50:8082/project/2ab91ba6-0aa1-44e4-bc6f-110cf87e6dab 2026-02-22 13:19:45,938 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/46ccc6d3-1058-49bb-a0c7-b7a7cebcf0fc 2026-02-22 13:19:45,947 - DEBUG - ==>Verifying data for policy with id: ea44e57a-fd18-4e2d-8963-56a205a984f4, fqn: ['default-domain', 'ctest-TestBasicPolicy-48447446', 'ctest-policy-allow-all-03505173'] 2026-02-22 13:19:45,947 - INFO - VN ctest-vn-56055845 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-22 13:19:45,947 - DEBUG - Verifying the vn in opserver 2026-02-22 13:19:45,947 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48447446:ctest-vn-56055845 virtual network link through opserver 10.0.0.50 2026-02-22 13:19:45,947 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-22 13:19:46,240 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-22 13:19:46,301 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48447446:ctest-vn-56055845', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48447446:ctest-vn-56055845?flat'} 2026-02-22 13:19:46,301 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48447446:ctest-vn-56055845 is found in opserver 2026-02-22 13:19:46,310 - DEBUG - Do not have enough data to verify VN in agent 2026-02-22 13:19:46,315 - DEBUG - VRF ids for VN ctest-vn-56055845: {} 2026-02-22 13:19:46,315 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-22 13:19:46,320 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6618ba25-1f9b-4236-9a58-41fefe83d7e5 2026-02-22 13:19:46,331 - DEBUG - Requesting: http://10.0.0.50:8082/project/2ab91ba6-0aa1-44e4-bc6f-110cf87e6dab 2026-02-22 13:19:46,399 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/73c9ec4e-d2d1-4c0d-bd4f-25de56b23f44 2026-02-22 13:19:46,409 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/73c9ec4e-d2d1-4c0d-bd4f-25de56b23f44 2026-02-22 13:19:46,417 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/010756ad-3e3e-4c24-aee2-f3f104f17651 2026-02-22 13:19:46,424 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/010756ad-3e3e-4c24-aee2-f3f104f17651 2026-02-22 13:19:46,430 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ab8d2883-fc5d-46f1-a1e2-03a0a1320e03 2026-02-22 13:19:46,437 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-22 13:19:46,437 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/73c9ec4e-d2d1-4c0d-bd4f-25de56b23f44 2026-02-22 13:19:46,445 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/010756ad-3e3e-4c24-aee2-f3f104f17651 2026-02-22 13:19:46,459 - INFO - Verified VN network id 12 for VN 73c9ec4e-d2d1-4c0d-bd4f-25de56b23f44 2026-02-22 13:19:46,459 - INFO - Verifications in API Server for VN ctest-vn-22199850 passed 2026-02-22 13:19:46,459 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/73c9ec4e-d2d1-4c0d-bd4f-25de56b23f44 2026-02-22 13:19:46,469 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/010756ad-3e3e-4c24-aee2-f3f104f17651 2026-02-22 13:19:46,477 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/010756ad-3e3e-4c24-aee2-f3f104f17651 2026-02-22 13:19:46,484 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ab8d2883-fc5d-46f1-a1e2-03a0a1320e03 2026-02-22 13:19:46,497 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48447446:ctest-vn-22199850', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48447446', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8343459607969090573', 'uuid-lslong': '13641163433196011332'}, 'enable': 'true', 'created': '2026-02-22T13:19:44', 'last-modified': '2026-02-22T13:19:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.379438'} 2026-02-22 13:19:46,502 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-22 13:19:46,502 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-22199850 passed 2026-02-22 13:19:46,502 - DEBUG - ====Verifying policy data for ctest-vn-22199850 in API_Server ====== 2026-02-22 13:19:46,502 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-22 13:19:46,508 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6618ba25-1f9b-4236-9a58-41fefe83d7e5 2026-02-22 13:19:46,519 - DEBUG - Requesting: http://10.0.0.50:8082/project/2ab91ba6-0aa1-44e4-bc6f-110cf87e6dab 2026-02-22 13:19:46,590 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/73c9ec4e-d2d1-4c0d-bd4f-25de56b23f44 2026-02-22 13:19:46,600 - DEBUG - ==>Verifying data for policy with id: ea44e57a-fd18-4e2d-8963-56a205a984f4, fqn: ['default-domain', 'ctest-TestBasicPolicy-48447446', 'ctest-policy-allow-all-03505173'] 2026-02-22 13:19:46,600 - INFO - VN ctest-vn-22199850 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-22 13:19:46,600 - DEBUG - Verifying the vn in opserver 2026-02-22 13:19:46,600 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48447446:ctest-vn-22199850 virtual network link through opserver 10.0.0.50 2026-02-22 13:19:46,600 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-22 13:19:46,610 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48447446:ctest-vn-22199850', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48447446:ctest-vn-22199850?flat'} 2026-02-22 13:19:46,610 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48447446:ctest-vn-22199850 is found in opserver 2026-02-22 13:19:46,619 - DEBUG - Do not have enough data to verify VN in agent 2026-02-22 13:19:46,623 - DEBUG - VRF ids for VN ctest-vn-22199850: {} 2026-02-22 13:19:46,679 - DEBUG - Services list from nova: [, , ] 2026-02-22 13:19:47,729 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5382-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5382-1) 2026-02-22 13:19:48,839 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5382-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5382-1) 2026-02-22 13:19:48,840 - INFO - Waiting for VM ctest-TestBasicPolicy-48447446-22812819 to be up.. 2026-02-22 13:19:48,917 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-22 13:19:53,991 - DEBUG - VM is in ACTIVE state now 2026-02-22 13:19:53,991 - INFO - VM name : ctest-TestBasicPolicy-48447446-22812819 2026-02-22 13:19:54,078 - DEBUG - VM ctest-TestBasicPolicy-48447446-22812819 ID is f3631c84-9644-4725-acd4-b753b713ef9c 2026-02-22 13:19:54,107 - DEBUG - VM ctest-TestBasicPolicy-48447446-22812819 launched on Node cn-jenkins-deploy-platform-ansible-os-5382-1 2026-02-22 13:19:54,187 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f3631c84-9644-4725-acd4-b753b713ef9c 2026-02-22 13:19:54,196 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/8f77215b-70cb-45f2-b0ac-7b58f776eb39 2026-02-22 13:19:57,445 - 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 1013ms') 2026-02-22 13:19:57,445 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48447446-22812819 failed! 2026-02-22 13:19:57,503 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-48447446:ctest-vn-56055845 is 50.243.63.129 and allocation pool is NOT set 2026-02-22 13:19:59,566 - 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=7.45 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.515 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.515/3.984/7.454/3.469 ms') 2026-02-22 13:19:59,567 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48447446-22812819 passed 2026-02-22 13:19:59,715 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-22 13:19:59,715 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48447446-22812819, IP 50.243.63.131, Port 22 2026-02-22 13:19:59,881 - DEBUG - VM ctest-TestBasicPolicy-48447446-22812819 is ready for SSH connections 2026-02-22 13:19:59,881 - INFO - Waiting for VM ctest-TestBasicPolicy-48447446-85137216 to be up.. 2026-02-22 13:19:59,972 - DEBUG - VM is in ACTIVE state now 2026-02-22 13:19:59,972 - INFO - VM name : ctest-TestBasicPolicy-48447446-85137216 2026-02-22 13:20:00,051 - DEBUG - VM ctest-TestBasicPolicy-48447446-85137216 ID is d7213982-d67f-42b8-b055-a90cfbcd467e 2026-02-22 13:20:00,051 - DEBUG - VM ctest-TestBasicPolicy-48447446-85137216 launched on Node cn-jenkins-deploy-platform-ansible-os-5382-1 2026-02-22 13:20:00,134 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d7213982-d67f-42b8-b055-a90cfbcd467e 2026-02-22 13:20:00,143 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/21a72021-3ecc-4bb7-84ff-cbadb4b7f69a 2026-02-22 13:20:01,386 - 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.35 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 1000ms\r\nrtt min/avg/max/mdev = 1.096/2.220/3.345/1.124 ms') 2026-02-22 13:20:01,386 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-48447446-85137216 passed 2026-02-22 13:20:01,535 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-22 13:20:01,535 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48447446-85137216, IP 73.59.106.195, Port 22 2026-02-22 13:20:01,600 - 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-02-22 13:20:01,685 - DEBUG - VM ctest-TestBasicPolicy-48447446-85137216 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-22 13:20:06,686 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-22 13:20:06,686 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48447446-85137216, IP 73.59.106.195, Port 22 2026-02-22 13:20:06,853 - DEBUG - VM ctest-TestBasicPolicy-48447446-85137216 is ready for SSH connections 2026-02-22 13:20:06,853 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-22 13:20:06,853 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 73.59.106.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-22 13:20:06,853 - DEBUG - ping -s 56 -c 3 -W 1 73.59.106.195 2026-02-22 13:20:10,933 - DEBUG - PING 73.59.106.195 (73.59.106.195): 56 data bytes 64 bytes from 73.59.106.195: seq=0 ttl=63 time=4.060 ms 64 bytes from 73.59.106.195: seq=1 ttl=63 time=0.972 ms 64 bytes from 73.59.106.195: seq=2 ttl=63 time=0.875 ms --- 73.59.106.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.875/1.969/4.060 ms 2026-02-22 13:20:10,933 - INFO - Ping to IP 73.59.106.195 from VM ctest-TestBasicPolicy-48447446-22812819 passed 2026-02-22 13:20:11,107 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ea44e57a-fd18-4e2d-8963-56a205a984f4", "href": "http://10.0.0.50:8082/network-policy/ea44e57a-fd18-4e2d-8963-56a205a984f4"}} 2026-02-22 13:20:11,107 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-22 13:20:11,107 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 73.59.106.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-22 13:20:11,107 - DEBUG - ping -s 56 -c 3 -W 1 73.59.106.195 2026-02-22 13:20:14,318 - DEBUG - PING 73.59.106.195 (73.59.106.195): 56 data bytes --- 73.59.106.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-22 13:20:14,318 - WARNING - Ping to IP 73.59.106.195 from VM ctest-TestBasicPolicy-48447446-22812819 failed 2026-02-22 13:20:14,318 - INFO - Deleting VM ctest-TestBasicPolicy-48447446-85137216 2026-02-22 13:20:14,387 - INFO - Deleting VM ctest-TestBasicPolicy-48447446-22812819 2026-02-22 13:20:14,752 - INFO - Deleted policy ctest-policy-allow-all-03505173 2026-02-22 13:20:14,752 - INFO - Deleting VN ctest-vn-22199850 2026-02-22 13:20:14,786 - DEBUG - VN 73c9ec4e-d2d1-4c0d-bd4f-25de56b23f44 still in use: Unable to complete operation on network 73c9ec4e-d2d1-4c0d-bd4f-25de56b23f44. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-13a46466-efe0-47c6-8a04-fe1afed64194'] 2026-02-22 13:20:14,786 - WARNING - Deleting VN ctest-vn-22199850 failed..Will retry 2026-02-22 13:20:16,896 - DEBUG - Response for deleting network () 2026-02-22 13:20:16,896 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/010756ad-3e3e-4c24-aee2-f3f104f17651 2026-02-22 13:20:16,904 - DEBUG - Response Code: 404 2026-02-22 13:20:16,904 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-22 13:20:16,909 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6618ba25-1f9b-4236-9a58-41fefe83d7e5 2026-02-22 13:20:16,964 - DEBUG - Requesting: http://10.0.0.50:8082/project/2ab91ba6-0aa1-44e4-bc6f-110cf87e6dab 2026-02-22 13:20:17,033 - INFO - Validated that VN ctest-vn-22199850 is not found in API Server 2026-02-22 13:20:17,042 - DEBUG - VN ctest-vn-22199850 is not present in Agent 10.0.0.50 2026-02-22 13:20:17,042 - INFO - Validated that VN ctest-vn-22199850 is not in any agent 2026-02-22 13:20:17,057 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-22199850 info 2026-02-22 13:20:17,057 - INFO - Deleting VN ctest-vn-56055845 2026-02-22 13:20:17,164 - DEBUG - Response for deleting network () 2026-02-22 13:20:17,164 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9be2f9a5-f640-44a6-849f-d656dc7c9644 2026-02-22 13:20:17,169 - DEBUG - Response Code: 404 2026-02-22 13:20:17,170 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-22 13:20:17,179 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6618ba25-1f9b-4236-9a58-41fefe83d7e5 2026-02-22 13:20:17,236 - DEBUG - Requesting: http://10.0.0.50:8082/project/2ab91ba6-0aa1-44e4-bc6f-110cf87e6dab 2026-02-22 13:20:17,308 - INFO - Validated that VN ctest-vn-56055845 is not found in API Server 2026-02-22 13:20:17,319 - DEBUG - VN ctest-vn-56055845 is not present in Agent 10.0.0.50 2026-02-22 13:20:17,319 - INFO - Validated that VN ctest-vn-56055845 is not in any agent 2026-02-22 13:20:17,336 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-56055845 info 2026-02-22 13:20:17,607 - DEBUG - No XMPP flaps were noticed during the test 2026-02-22 13:20:17,607 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2026-02-22 13:20:17,607 - INFO - -------------------------------------------------------------------------------- 2026-02-22 13:20:18,343 - INFO - Deleted project: ctest-TestBasicPolicy-48447446, ID : 2ab91ba6-0aa1-44e4-bc6f-110cf87e6dab