2026-02-19 17:00:12,809 - INFO - Domain Default found not creating 2026-02-19 17:00:13,018 - INFO - Project ctest-TestBasicPolicy-73966996 not found, creating it 2026-02-19 17:00:13,508 - INFO - Created Project:ctest-TestBasicPolicy-73966996, ID : 58c0367d-262a-4c7a-90be-68230bd86353 2026-02-19 17:00:15,197 - INFO - ================================================================================ 2026-02-19 17:00:15,197 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-19 17:00:15,197 - 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-19 17:00:15,471 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-02-19 17:00:15,471 - INFO - Initial checks done. Running the testcase now 2026-02-19 17:00:15,471 - INFO - 2026-02-19 17:00:16,085 - DEBUG - Response for create_network : {'network': {'id': '106da3d3-fa9d-49ec-a142-e9928fafbd29', 'name': 'ctest-vn-74765957', 'tenant_id': '58c0367d262a4c7a90be68230bd86353', 'project_id': '58c0367d262a4c7a90be68230bd86353', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73966996', 'ctest-vn-74765957'], 'port_security_enabled': True, 'description': ''}} 2026-02-19 17:00:16,298 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c820e581-d582-4517-be65-5751cea78088', 'name': '', 'tenant_id': '58c0367d262a4c7a90be68230bd86353', 'network_id': '106da3d3-fa9d-49ec-a142-e9928fafbd29', 'ip_version': 4, 'cidr': '199.96.16.64/26', 'allocation_pools': [{'start': '199.96.16.66', 'end': '199.96.16.126'}], 'gateway_ip': '199.96.16.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.96.16.66', 'tags': [], 'project_id': '58c0367d262a4c7a90be68230bd86353'}} 2026-02-19 17:00:16,321 - INFO - Created VN ctest-vn-74765957 2026-02-19 17:00:16,376 - DEBUG - VN ctest-vn-74765957 UUID is 106da3d3-fa9d-49ec-a142-e9928fafbd29 2026-02-19 17:00:16,705 - DEBUG - Response for create_network : {'network': {'id': '2ccbac38-3975-41b7-8686-cd5fb6026810', 'name': 'ctest-vn-95608403', 'tenant_id': '58c0367d262a4c7a90be68230bd86353', 'project_id': '58c0367d262a4c7a90be68230bd86353', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73966996', 'ctest-vn-95608403'], 'port_security_enabled': True, 'description': ''}} 2026-02-19 17:00:16,928 - DEBUG - Response for create_subnet : {'subnet': {'id': '692aaa4f-1422-48ad-9248-e02699c4c4ab', 'name': '', 'tenant_id': '58c0367d262a4c7a90be68230bd86353', 'network_id': '2ccbac38-3975-41b7-8686-cd5fb6026810', 'ip_version': 4, 'cidr': '205.225.60.128/26', 'allocation_pools': [{'start': '205.225.60.130', 'end': '205.225.60.190'}], 'gateway_ip': '205.225.60.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '205.225.60.130', 'tags': [], 'project_id': '58c0367d262a4c7a90be68230bd86353'}} 2026-02-19 17:00:16,951 - INFO - Created VN ctest-vn-95608403 2026-02-19 17:00:17,008 - DEBUG - VN ctest-vn-95608403 UUID is 2ccbac38-3975-41b7-8686-cd5fb6026810 2026-02-19 17:00:17,135 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-73966996:ctest-vn-74765957, 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-73966996:ctest-vn-95608403, 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-19 17:00:17,450 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '106da3d3-fa9d-49ec-a142-e9928fafbd29', 'name': 'ctest-vn-74765957', 'tenant_id': '58c0367d262a4c7a90be68230bd86353', 'project_id': '58c0367d262a4c7a90be68230bd86353', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c820e581-d582-4517-be65-5751cea78088'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73966996', 'ctest-vn-74765957'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-73966996', 'ctest-policy-allow-all-73571526']], 'subnet_ipam': [{'subnet_cidr': '199.96.16.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-19 17:00:17,690 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2ccbac38-3975-41b7-8686-cd5fb6026810', 'name': 'ctest-vn-95608403', 'tenant_id': '58c0367d262a4c7a90be68230bd86353', 'project_id': '58c0367d262a4c7a90be68230bd86353', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['692aaa4f-1422-48ad-9248-e02699c4c4ab'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73966996', 'ctest-vn-95608403'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-73966996', 'ctest-policy-allow-all-73571526']], 'subnet_ipam': [{'subnet_cidr': '205.225.60.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-19 17:00:17,864 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-19 17:00:18,172 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-19 17:00:18,212 - DEBUG - Requesting: http://10.0.0.38:8082/domain/70266f0e-4c38-45e1-98e8-0ff8883842a5 2026-02-19 17:00:18,228 - DEBUG - Requesting: http://10.0.0.38:8082/project/58c0367d-262a-4c7a-90be-68230bd86353 2026-02-19 17:00:18,316 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/106da3d3-fa9d-49ec-a142-e9928fafbd29 2026-02-19 17:00:18,329 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/106da3d3-fa9d-49ec-a142-e9928fafbd29 2026-02-19 17:00:18,341 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/49bc1139-da8a-43a5-9d41-156888b22f93 2026-02-19 17:00:18,350 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/49bc1139-da8a-43a5-9d41-156888b22f93 2026-02-19 17:00:18,358 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/4225ac30-c6d0-41bd-a826-35e26cd5b73f 2026-02-19 17:00:18,366 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-19 17:00:18,366 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/106da3d3-fa9d-49ec-a142-e9928fafbd29 2026-02-19 17:00:18,378 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/49bc1139-da8a-43a5-9d41-156888b22f93 2026-02-19 17:00:18,393 - INFO - Verified VN network id 11 for VN 106da3d3-fa9d-49ec-a142-e9928fafbd29 2026-02-19 17:00:18,393 - INFO - Verifications in API Server for VN ctest-vn-74765957 passed 2026-02-19 17:00:18,393 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/106da3d3-fa9d-49ec-a142-e9928fafbd29 2026-02-19 17:00:18,406 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/49bc1139-da8a-43a5-9d41-156888b22f93 2026-02-19 17:00:18,415 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/49bc1139-da8a-43a5-9d41-156888b22f93 2026-02-19 17:00:18,424 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/4225ac30-c6d0-41bd-a826-35e26cd5b73f 2026-02-19 17:00:18,437 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-73966996:ctest-vn-74765957', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-73966996', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1183782407906347500', 'uuid-lslong': '11620106804254457129'}, 'enable': 'true', 'created': '2026-02-19T17:00:16', 'last-modified': '2026-02-19T17:00:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.017136'} 2026-02-19 17:00:18,444 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-19 17:00:18,444 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-74765957 passed 2026-02-19 17:00:18,445 - DEBUG - ====Verifying policy data for ctest-vn-74765957 in API_Server ====== 2026-02-19 17:00:18,445 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-19 17:00:18,452 - DEBUG - Requesting: http://10.0.0.38:8082/domain/70266f0e-4c38-45e1-98e8-0ff8883842a5 2026-02-19 17:00:18,464 - DEBUG - Requesting: http://10.0.0.38:8082/project/58c0367d-262a-4c7a-90be-68230bd86353 2026-02-19 17:00:18,551 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/106da3d3-fa9d-49ec-a142-e9928fafbd29 2026-02-19 17:00:18,565 - DEBUG - ==>Verifying data for policy with id: 93cf6feb-70cf-41f6-a3a1-d63eea7ac35f, fqn: ['default-domain', 'ctest-TestBasicPolicy-73966996', 'ctest-policy-allow-all-73571526'] 2026-02-19 17:00:18,566 - INFO - VN ctest-vn-74765957 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-19 17:00:18,566 - DEBUG - Verifying the vn in opserver 2026-02-19 17:00:18,566 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-73966996:ctest-vn-74765957 virtual network link through opserver 10.0.0.38 2026-02-19 17:00:18,566 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-19 17:00:18,886 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-19 17:00:18,963 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-73966996:ctest-vn-74765957', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-73966996:ctest-vn-74765957?flat'} 2026-02-19 17:00:18,963 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-73966996:ctest-vn-74765957 is found in opserver 2026-02-19 17:00:18,976 - DEBUG - Do not have enough data to verify VN in agent 2026-02-19 17:00:18,981 - DEBUG - VRF ids for VN ctest-vn-74765957: {} 2026-02-19 17:00:18,981 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-19 17:00:18,987 - DEBUG - Requesting: http://10.0.0.38:8082/domain/70266f0e-4c38-45e1-98e8-0ff8883842a5 2026-02-19 17:00:19,000 - DEBUG - Requesting: http://10.0.0.38:8082/project/58c0367d-262a-4c7a-90be-68230bd86353 2026-02-19 17:00:19,072 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2ccbac38-3975-41b7-8686-cd5fb6026810 2026-02-19 17:00:19,084 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2ccbac38-3975-41b7-8686-cd5fb6026810 2026-02-19 17:00:19,096 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e78a658f-4b62-4793-85ae-810f0ce1d1b5 2026-02-19 17:00:19,105 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e78a658f-4b62-4793-85ae-810f0ce1d1b5 2026-02-19 17:00:19,114 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/23f42939-20b5-4299-a19e-bf82a7766388 2026-02-19 17:00:19,126 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-19 17:00:19,126 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2ccbac38-3975-41b7-8686-cd5fb6026810 2026-02-19 17:00:19,139 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e78a658f-4b62-4793-85ae-810f0ce1d1b5 2026-02-19 17:00:19,156 - INFO - Verified VN network id 12 for VN 2ccbac38-3975-41b7-8686-cd5fb6026810 2026-02-19 17:00:19,156 - INFO - Verifications in API Server for VN ctest-vn-95608403 passed 2026-02-19 17:00:19,156 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2ccbac38-3975-41b7-8686-cd5fb6026810 2026-02-19 17:00:19,166 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e78a658f-4b62-4793-85ae-810f0ce1d1b5 2026-02-19 17:00:19,174 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e78a658f-4b62-4793-85ae-810f0ce1d1b5 2026-02-19 17:00:19,182 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/23f42939-20b5-4299-a19e-bf82a7766388 2026-02-19 17:00:19,198 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-73966996:ctest-vn-95608403', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-73966996', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3227862915423224247', 'uuid-lslong': '9693661058920769552'}, 'enable': 'true', 'created': '2026-02-19T17:00:16', 'last-modified': '2026-02-19T17:00:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.534147'} 2026-02-19 17:00:19,205 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-19 17:00:19,205 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-95608403 passed 2026-02-19 17:00:19,206 - DEBUG - ====Verifying policy data for ctest-vn-95608403 in API_Server ====== 2026-02-19 17:00:19,206 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-19 17:00:19,214 - DEBUG - Requesting: http://10.0.0.38:8082/domain/70266f0e-4c38-45e1-98e8-0ff8883842a5 2026-02-19 17:00:19,226 - DEBUG - Requesting: http://10.0.0.38:8082/project/58c0367d-262a-4c7a-90be-68230bd86353 2026-02-19 17:00:19,308 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2ccbac38-3975-41b7-8686-cd5fb6026810 2026-02-19 17:00:19,320 - DEBUG - ==>Verifying data for policy with id: 93cf6feb-70cf-41f6-a3a1-d63eea7ac35f, fqn: ['default-domain', 'ctest-TestBasicPolicy-73966996', 'ctest-policy-allow-all-73571526'] 2026-02-19 17:00:19,320 - INFO - VN ctest-vn-95608403 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-19 17:00:19,320 - DEBUG - Verifying the vn in opserver 2026-02-19 17:00:19,321 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-73966996:ctest-vn-95608403 virtual network link through opserver 10.0.0.38 2026-02-19 17:00:19,321 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-19 17:00:19,332 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-73966996:ctest-vn-95608403', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-73966996:ctest-vn-95608403?flat'} 2026-02-19 17:00:19,332 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-73966996:ctest-vn-95608403 is found in opserver 2026-02-19 17:00:19,344 - DEBUG - Do not have enough data to verify VN in agent 2026-02-19 17:00:19,349 - DEBUG - VRF ids for VN ctest-vn-95608403: {} 2026-02-19 17:00:19,414 - DEBUG - Services list from nova: [, , ] 2026-02-19 17:00:20,544 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5359-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5359-1) 2026-02-19 17:00:21,785 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5359-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5359-1) 2026-02-19 17:00:21,785 - INFO - Waiting for VM ctest-TestBasicPolicy-73966996-97528640 to be up.. 2026-02-19 17:00:21,878 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-19 17:00:26,985 - DEBUG - VM is in ACTIVE state now 2026-02-19 17:00:26,985 - INFO - VM name : ctest-TestBasicPolicy-73966996-97528640 2026-02-19 17:00:27,075 - DEBUG - VM ctest-TestBasicPolicy-73966996-97528640 ID is 4aeb2989-99ce-475c-b941-356688acf63a 2026-02-19 17:00:27,109 - DEBUG - VM ctest-TestBasicPolicy-73966996-97528640 launched on Node cn-jenkins-deploy-platform-ansible-os-5359-1 2026-02-19 17:00:27,205 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4aeb2989-99ce-475c-b941-356688acf63a 2026-02-19 17:00:27,215 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2e849bcc-bb91-4a5d-9624-21d2231a3641 2026-02-19 17:00:30,477 - 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 1009ms') 2026-02-19 17:00:30,477 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-73966996-97528640 failed! 2026-02-19 17:00:30,532 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-73966996:ctest-vn-74765957 is 199.96.16.65 and allocation pool is NOT set 2026-02-19 17:00:34,601 - 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=2 ttl=63 time=4.21 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1007ms\r\nrtt min/avg/max/mdev = 4.211/4.211/4.211/0.000 ms') 2026-02-19 17:00:34,601 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-73966996-97528640 passed 2026-02-19 17:00:34,756 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 17:00:34,756 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-73966996-97528640, IP 199.96.16.67, Port 22 2026-02-19 17:00:34,931 - DEBUG - VM ctest-TestBasicPolicy-73966996-97528640 is ready for SSH connections 2026-02-19 17:00:34,931 - INFO - Waiting for VM ctest-TestBasicPolicy-73966996-67621584 to be up.. 2026-02-19 17:00:35,023 - DEBUG - VM is in ACTIVE state now 2026-02-19 17:00:35,023 - INFO - VM name : ctest-TestBasicPolicy-73966996-67621584 2026-02-19 17:00:35,109 - DEBUG - VM ctest-TestBasicPolicy-73966996-67621584 ID is 49cd482b-ecb1-4c4e-9de6-1e86a90c2911 2026-02-19 17:00:35,109 - DEBUG - VM ctest-TestBasicPolicy-73966996-67621584 launched on Node cn-jenkins-deploy-platform-ansible-os-5359-1 2026-02-19 17:00:35,202 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/49cd482b-ecb1-4c4e-9de6-1e86a90c2911 2026-02-19 17:00:35,213 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/823d6c93-5695-4c1f-af75-c9f9c04e26ff 2026-02-19 17:00:36,455 - 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=5.53 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.17 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.169/3.849/5.529/1.680 ms') 2026-02-19 17:00:36,455 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-73966996-67621584 passed 2026-02-19 17:00:36,608 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 17:00:36,608 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-73966996-67621584, IP 205.225.60.131, Port 22 2026-02-19 17:00:36,674 - 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-19 17:00:36,769 - DEBUG - VM ctest-TestBasicPolicy-73966996-67621584 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-19 17:00:41,771 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 17:00:41,771 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-73966996-67621584, IP 205.225.60.131, Port 22 2026-02-19 17:00:41,938 - DEBUG - VM ctest-TestBasicPolicy-73966996-67621584 is ready for SSH connections 2026-02-19 17:00:41,938 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 17:00:41,938 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 205.225.60.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-19 17:00:41,939 - DEBUG - ping -s 56 -c 3 -W 1 205.225.60.131 2026-02-19 17:00:46,087 - DEBUG - PING 205.225.60.131 (205.225.60.131): 56 data bytes 64 bytes from 205.225.60.131: seq=0 ttl=63 time=5.419 ms 64 bytes from 205.225.60.131: seq=1 ttl=63 time=1.288 ms 64 bytes from 205.225.60.131: seq=2 ttl=63 time=0.860 ms --- 205.225.60.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.860/2.522/5.419 ms 2026-02-19 17:00:46,087 - INFO - Ping to IP 205.225.60.131 from VM ctest-TestBasicPolicy-73966996-97528640 passed 2026-02-19 17:00:46,280 - DEBUG - Policy Update Response {"network-policy": {"uuid": "93cf6feb-70cf-41f6-a3a1-d63eea7ac35f", "href": "http://10.0.0.38:8082/network-policy/93cf6feb-70cf-41f6-a3a1-d63eea7ac35f"}} 2026-02-19 17:00:46,280 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 17:00:46,280 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 205.225.60.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-19 17:00:46,280 - DEBUG - ping -s 56 -c 3 -W 1 205.225.60.131 2026-02-19 17:00:49,557 - DEBUG - PING 205.225.60.131 (205.225.60.131): 56 data bytes --- 205.225.60.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-19 17:00:49,557 - WARNING - Ping to IP 205.225.60.131 from VM ctest-TestBasicPolicy-73966996-97528640 failed 2026-02-19 17:00:49,557 - INFO - Deleting VM ctest-TestBasicPolicy-73966996-67621584 2026-02-19 17:00:49,643 - INFO - Deleting VM ctest-TestBasicPolicy-73966996-97528640 2026-02-19 17:00:50,063 - INFO - Deleted policy ctest-policy-allow-all-73571526 2026-02-19 17:00:50,064 - INFO - Deleting VN ctest-vn-95608403 2026-02-19 17:00:50,105 - DEBUG - VN 2ccbac38-3975-41b7-8686-cd5fb6026810 still in use: Unable to complete operation on network 2ccbac38-3975-41b7-8686-cd5fb6026810. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f5ae1114-8072-447d-8843-2e31eece3bb6'] 2026-02-19 17:00:50,105 - WARNING - Deleting VN ctest-vn-95608403 failed..Will retry 2026-02-19 17:00:52,220 - DEBUG - Response for deleting network () 2026-02-19 17:00:52,220 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e78a658f-4b62-4793-85ae-810f0ce1d1b5 2026-02-19 17:00:52,226 - DEBUG - Response Code: 404 2026-02-19 17:00:52,227 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-19 17:00:52,233 - DEBUG - Requesting: http://10.0.0.38:8082/domain/70266f0e-4c38-45e1-98e8-0ff8883842a5 2026-02-19 17:00:52,292 - DEBUG - Requesting: http://10.0.0.38:8082/project/58c0367d-262a-4c7a-90be-68230bd86353 2026-02-19 17:00:52,366 - INFO - Validated that VN ctest-vn-95608403 is not found in API Server 2026-02-19 17:00:52,377 - DEBUG - VN ctest-vn-95608403 is not present in Agent 10.0.0.38 2026-02-19 17:00:52,377 - INFO - Validated that VN ctest-vn-95608403 is not in any agent 2026-02-19 17:00:52,393 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-95608403 info 2026-02-19 17:00:52,393 - INFO - Deleting VN ctest-vn-74765957 2026-02-19 17:00:52,504 - DEBUG - Response for deleting network () 2026-02-19 17:00:52,504 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/49bc1139-da8a-43a5-9d41-156888b22f93 2026-02-19 17:00:52,512 - DEBUG - Response Code: 404 2026-02-19 17:00:52,513 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-19 17:00:52,520 - DEBUG - Requesting: http://10.0.0.38:8082/domain/70266f0e-4c38-45e1-98e8-0ff8883842a5 2026-02-19 17:00:52,573 - DEBUG - Requesting: http://10.0.0.38:8082/project/58c0367d-262a-4c7a-90be-68230bd86353 2026-02-19 17:00:52,649 - INFO - Validated that VN ctest-vn-74765957 is not found in API Server 2026-02-19 17:00:52,661 - DEBUG - VN ctest-vn-74765957 is not present in Agent 10.0.0.38 2026-02-19 17:00:52,661 - INFO - Validated that VN ctest-vn-74765957 is not in any agent 2026-02-19 17:00:52,677 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-74765957 info 2026-02-19 17:00:52,949 - DEBUG - No XMPP flaps were noticed during the test 2026-02-19 17:00:52,950 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:37] 2026-02-19 17:00:52,950 - INFO - -------------------------------------------------------------------------------- 2026-02-19 17:00:53,684 - INFO - Deleted project: ctest-TestBasicPolicy-73966996, ID : 58c0367d-262a-4c7a-90be-68230bd86353