2026-02-09 17:44:35,544 - INFO - Domain Default found not creating 2026-02-09 17:44:35,901 - INFO - Project ctest-TestBasicPolicy-61460682 not found, creating it 2026-02-09 17:44:36,686 - INFO - Created Project:ctest-TestBasicPolicy-61460682, ID : 5efca3c2-d0b0-4b82-8ae8-a3e3ee51e739 2026-02-09 17:44:38,911 - INFO - ================================================================================ 2026-02-09 17:44:38,911 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-09 17:44:38,911 - 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-09 17:44:39,246 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2026-02-09 17:44:39,246 - INFO - Initial checks done. Running the testcase now 2026-02-09 17:44:39,246 - INFO - 2026-02-09 17:44:40,173 - DEBUG - Response for create_network : {'network': {'id': 'bab23b22-aaf2-4ac9-b23b-041c2f95143d', 'name': 'ctest-vn-32333067', 'tenant_id': '5efca3c2d0b04b828ae8a3e3ee51e739', 'project_id': '5efca3c2d0b04b828ae8a3e3ee51e739', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61460682', 'ctest-vn-32333067'], 'port_security_enabled': True, 'description': ''}} 2026-02-09 17:44:40,396 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e32082dc-fbde-45fb-b0ac-1310fb1c6d6c', 'name': '', 'tenant_id': '5efca3c2d0b04b828ae8a3e3ee51e739', 'network_id': 'bab23b22-aaf2-4ac9-b23b-041c2f95143d', 'ip_version': 4, 'cidr': '57.178.128.64/26', 'allocation_pools': [{'start': '57.178.128.66', 'end': '57.178.128.126'}], 'gateway_ip': '57.178.128.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.178.128.66', 'tags': [], 'project_id': '5efca3c2d0b04b828ae8a3e3ee51e739'}} 2026-02-09 17:44:40,418 - INFO - Created VN ctest-vn-32333067 2026-02-09 17:44:40,475 - DEBUG - VN ctest-vn-32333067 UUID is bab23b22-aaf2-4ac9-b23b-041c2f95143d 2026-02-09 17:44:40,991 - DEBUG - Response for create_network : {'network': {'id': 'f99ec19d-3845-416f-874b-faf07a5ebb48', 'name': 'ctest-vn-15035801', 'tenant_id': '5efca3c2d0b04b828ae8a3e3ee51e739', 'project_id': '5efca3c2d0b04b828ae8a3e3ee51e739', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61460682', 'ctest-vn-15035801'], 'port_security_enabled': True, 'description': ''}} 2026-02-09 17:44:41,213 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f0b12348-ba51-43fe-9c8f-6dff27949646', 'name': '', 'tenant_id': '5efca3c2d0b04b828ae8a3e3ee51e739', 'network_id': 'f99ec19d-3845-416f-874b-faf07a5ebb48', 'ip_version': 4, 'cidr': '37.31.235.192/26', 'allocation_pools': [{'start': '37.31.235.194', 'end': '37.31.235.254'}], 'gateway_ip': '37.31.235.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.31.235.194', 'tags': [], 'project_id': '5efca3c2d0b04b828ae8a3e3ee51e739'}} 2026-02-09 17:44:41,238 - INFO - Created VN ctest-vn-15035801 2026-02-09 17:44:41,300 - DEBUG - VN ctest-vn-15035801 UUID is f99ec19d-3845-416f-874b-faf07a5ebb48 2026-02-09 17:44:41,485 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-61460682:ctest-vn-32333067, 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-61460682:ctest-vn-15035801, 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-09 17:44:41,975 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bab23b22-aaf2-4ac9-b23b-041c2f95143d', 'name': 'ctest-vn-32333067', 'tenant_id': '5efca3c2d0b04b828ae8a3e3ee51e739', 'project_id': '5efca3c2d0b04b828ae8a3e3ee51e739', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e32082dc-fbde-45fb-b0ac-1310fb1c6d6c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61460682', 'ctest-vn-32333067'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-61460682', 'ctest-policy-allow-all-76883857']], 'subnet_ipam': [{'subnet_cidr': '57.178.128.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-09 17:44:42,313 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f99ec19d-3845-416f-874b-faf07a5ebb48', 'name': 'ctest-vn-15035801', 'tenant_id': '5efca3c2d0b04b828ae8a3e3ee51e739', 'project_id': '5efca3c2d0b04b828ae8a3e3ee51e739', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f0b12348-ba51-43fe-9c8f-6dff27949646'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61460682', 'ctest-vn-15035801'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-61460682', 'ctest-policy-allow-all-76883857']], 'subnet_ipam': [{'subnet_cidr': '37.31.235.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-09 17:44:42,495 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-09 17:44:42,844 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-09 17:44:42,892 - DEBUG - Requesting: http://10.0.0.38:8082/domain/03e5bf2a-cc50-4d4e-b904-e815bbe506e3 2026-02-09 17:44:42,914 - DEBUG - Requesting: http://10.0.0.38:8082/project/5efca3c2-d0b0-4b82-8ae8-a3e3ee51e739 2026-02-09 17:44:43,026 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bab23b22-aaf2-4ac9-b23b-041c2f95143d 2026-02-09 17:44:43,074 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bab23b22-aaf2-4ac9-b23b-041c2f95143d 2026-02-09 17:44:43,087 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fd860ab6-8a2a-4e49-8a0d-af6bb42b5e6a 2026-02-09 17:44:43,096 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fd860ab6-8a2a-4e49-8a0d-af6bb42b5e6a 2026-02-09 17:44:43,109 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/14359f2b-d082-4760-85a8-255136d75d21 2026-02-09 17:44:43,134 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-09 17:44:43,135 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bab23b22-aaf2-4ac9-b23b-041c2f95143d 2026-02-09 17:44:43,144 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fd860ab6-8a2a-4e49-8a0d-af6bb42b5e6a 2026-02-09 17:44:43,161 - INFO - Verified VN network id 11 for VN bab23b22-aaf2-4ac9-b23b-041c2f95143d 2026-02-09 17:44:43,161 - INFO - Verifications in API Server for VN ctest-vn-32333067 passed 2026-02-09 17:44:43,161 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bab23b22-aaf2-4ac9-b23b-041c2f95143d 2026-02-09 17:44:43,174 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fd860ab6-8a2a-4e49-8a0d-af6bb42b5e6a 2026-02-09 17:44:43,183 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fd860ab6-8a2a-4e49-8a0d-af6bb42b5e6a 2026-02-09 17:44:43,194 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/14359f2b-d082-4760-85a8-255136d75d21 2026-02-09 17:44:43,220 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-61460682:ctest-vn-32333067', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61460682', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13452880056992025289', 'uuid-lslong': '12842863281480995901'}, 'enable': 'true', 'created': '2026-02-09T17:44:40', 'last-modified': '2026-02-09T17:44:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.299819'} 2026-02-09 17:44:43,232 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-09 17:44:43,233 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-32333067 passed 2026-02-09 17:44:43,233 - DEBUG - ====Verifying policy data for ctest-vn-32333067 in API_Server ====== 2026-02-09 17:44:43,233 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-09 17:44:43,250 - DEBUG - Requesting: http://10.0.0.38:8082/domain/03e5bf2a-cc50-4d4e-b904-e815bbe506e3 2026-02-09 17:44:43,264 - DEBUG - Requesting: http://10.0.0.38:8082/project/5efca3c2-d0b0-4b82-8ae8-a3e3ee51e739 2026-02-09 17:44:43,323 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bab23b22-aaf2-4ac9-b23b-041c2f95143d 2026-02-09 17:44:43,339 - DEBUG - ==>Verifying data for policy with id: 0d5dc69b-b0d9-4831-a52f-9d01105ec677, fqn: ['default-domain', 'ctest-TestBasicPolicy-61460682', 'ctest-policy-allow-all-76883857'] 2026-02-09 17:44:43,339 - INFO - VN ctest-vn-32333067 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-09 17:44:43,339 - DEBUG - Verifying the vn in opserver 2026-02-09 17:44:43,339 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-61460682:ctest-vn-32333067 virtual network link through opserver 10.0.0.38 2026-02-09 17:44:43,339 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-09 17:44:43,674 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-09 17:44:43,764 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-61460682:ctest-vn-32333067', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-61460682:ctest-vn-32333067?flat'} 2026-02-09 17:44:43,764 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-61460682:ctest-vn-32333067 is found in opserver 2026-02-09 17:44:43,783 - DEBUG - Do not have enough data to verify VN in agent 2026-02-09 17:44:43,791 - DEBUG - VRF ids for VN ctest-vn-32333067: {} 2026-02-09 17:44:43,791 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-09 17:44:43,800 - DEBUG - Requesting: http://10.0.0.38:8082/domain/03e5bf2a-cc50-4d4e-b904-e815bbe506e3 2026-02-09 17:44:43,814 - DEBUG - Requesting: http://10.0.0.38:8082/project/5efca3c2-d0b0-4b82-8ae8-a3e3ee51e739 2026-02-09 17:44:43,917 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f99ec19d-3845-416f-874b-faf07a5ebb48 2026-02-09 17:44:43,933 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f99ec19d-3845-416f-874b-faf07a5ebb48 2026-02-09 17:44:43,949 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/19cbe63b-312a-4b0c-aebd-bd594a450519 2026-02-09 17:44:43,960 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/19cbe63b-312a-4b0c-aebd-bd594a450519 2026-02-09 17:44:43,971 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/09b1b13e-2732-4a09-bb4a-f41e1750c293 2026-02-09 17:44:43,981 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-09 17:44:43,982 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f99ec19d-3845-416f-874b-faf07a5ebb48 2026-02-09 17:44:43,994 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/19cbe63b-312a-4b0c-aebd-bd594a450519 2026-02-09 17:44:44,021 - INFO - Verified VN network id 12 for VN f99ec19d-3845-416f-874b-faf07a5ebb48 2026-02-09 17:44:44,022 - INFO - Verifications in API Server for VN ctest-vn-15035801 passed 2026-02-09 17:44:44,023 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f99ec19d-3845-416f-874b-faf07a5ebb48 2026-02-09 17:44:44,037 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/19cbe63b-312a-4b0c-aebd-bd594a450519 2026-02-09 17:44:44,052 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/19cbe63b-312a-4b0c-aebd-bd594a450519 2026-02-09 17:44:44,065 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/09b1b13e-2732-4a09-bb4a-f41e1750c293 2026-02-09 17:44:44,092 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-61460682:ctest-vn-15035801', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61460682', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17987026842762428783', 'uuid-lslong': '9749161729125694280'}, 'enable': 'true', 'created': '2026-02-09T17:44:40', 'last-modified': '2026-02-09T17:44:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.829857'} 2026-02-09 17:44:44,108 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-09 17:44:44,108 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-15035801 passed 2026-02-09 17:44:44,109 - DEBUG - ====Verifying policy data for ctest-vn-15035801 in API_Server ====== 2026-02-09 17:44:44,109 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-09 17:44:44,119 - DEBUG - Requesting: http://10.0.0.38:8082/domain/03e5bf2a-cc50-4d4e-b904-e815bbe506e3 2026-02-09 17:44:44,145 - DEBUG - Requesting: http://10.0.0.38:8082/project/5efca3c2-d0b0-4b82-8ae8-a3e3ee51e739 2026-02-09 17:44:44,228 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f99ec19d-3845-416f-874b-faf07a5ebb48 2026-02-09 17:44:44,239 - DEBUG - ==>Verifying data for policy with id: 0d5dc69b-b0d9-4831-a52f-9d01105ec677, fqn: ['default-domain', 'ctest-TestBasicPolicy-61460682', 'ctest-policy-allow-all-76883857'] 2026-02-09 17:44:44,239 - INFO - VN ctest-vn-15035801 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-09 17:44:44,239 - DEBUG - Verifying the vn in opserver 2026-02-09 17:44:44,239 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-61460682:ctest-vn-15035801 virtual network link through opserver 10.0.0.38 2026-02-09 17:44:44,240 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-09 17:44:44,252 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-61460682:ctest-vn-15035801', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-61460682:ctest-vn-15035801?flat'} 2026-02-09 17:44:44,252 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-61460682:ctest-vn-15035801 is found in opserver 2026-02-09 17:44:44,264 - DEBUG - Do not have enough data to verify VN in agent 2026-02-09 17:44:44,274 - DEBUG - VRF ids for VN ctest-vn-15035801: {} 2026-02-09 17:44:44,335 - DEBUG - Services list from nova: [, , ] 2026-02-09 17:44:45,549 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5247-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5247-1) 2026-02-09 17:44:46,945 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5247-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5247-1) 2026-02-09 17:44:46,945 - INFO - Waiting for VM ctest-TestBasicPolicy-61460682-44862323 to be up.. 2026-02-09 17:44:47,032 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-09 17:44:52,205 - DEBUG - VM is in ACTIVE state now 2026-02-09 17:44:52,205 - INFO - VM name : ctest-TestBasicPolicy-61460682-44862323 2026-02-09 17:44:52,323 - DEBUG - VM ctest-TestBasicPolicy-61460682-44862323 ID is 4c4ceb06-a5f6-4625-aa3e-dad8e0b44e79 2026-02-09 17:44:52,349 - DEBUG - VM ctest-TestBasicPolicy-61460682-44862323 launched on Node cn-jenkins-deploy-platform-ansible-os-5247-1 2026-02-09 17:44:52,498 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4c4ceb06-a5f6-4625-aa3e-dad8e0b44e79 2026-02-09 17:44:52,516 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a893e6ee-dc03-4c5a-9f81-f17b7b3b9d81 2026-02-09 17:44:55,839 - 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 1006ms') 2026-02-09 17:44:55,840 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-61460682-44862323 failed! 2026-02-09 17:44:55,915 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-61460682:ctest-vn-32333067 is 57.178.128.65 and allocation pool is NOT set 2026-02-09 17:44:57,993 - 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=4.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.07 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 = 2.066/3.471/4.876/1.405 ms') 2026-02-09 17:44:57,993 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-61460682-44862323 passed 2026-02-09 17:44:58,167 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 17:44:58,167 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-61460682-44862323, IP 57.178.128.67, Port 22 2026-02-09 17:44:58,236 - 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': ''} 2026-02-09 17:44:58,435 - DEBUG - VM ctest-TestBasicPolicy-61460682-44862323 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-09 17:45:03,436 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 17:45:03,436 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-61460682-44862323, IP 57.178.128.67, Port 22 2026-02-09 17:45:03,646 - DEBUG - VM ctest-TestBasicPolicy-61460682-44862323 is ready for SSH connections 2026-02-09 17:45:03,646 - INFO - Waiting for VM ctest-TestBasicPolicy-61460682-15512423 to be up.. 2026-02-09 17:45:03,836 - DEBUG - VM is in ACTIVE state now 2026-02-09 17:45:03,837 - INFO - VM name : ctest-TestBasicPolicy-61460682-15512423 2026-02-09 17:45:03,992 - DEBUG - VM ctest-TestBasicPolicy-61460682-15512423 ID is 91ceca11-0f0c-4199-b5a6-69974699caa0 2026-02-09 17:45:03,993 - DEBUG - VM ctest-TestBasicPolicy-61460682-15512423 launched on Node cn-jenkins-deploy-platform-ansible-os-5247-1 2026-02-09 17:45:04,113 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/91ceca11-0f0c-4199-b5a6-69974699caa0 2026-02-09 17:45:04,132 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8fe05661-9d95-4a9a-808a-f22444ccc664 2026-02-09 17:45:05,447 - 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.38 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.943 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 = 0.943/3.160/5.377/2.217 ms') 2026-02-09 17:45:05,447 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-61460682-15512423 passed 2026-02-09 17:45:05,631 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 17:45:05,632 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-61460682-15512423, IP 37.31.235.195, Port 22 2026-02-09 17:45:05,837 - DEBUG - VM ctest-TestBasicPolicy-61460682-15512423 is ready for SSH connections 2026-02-09 17:45:05,838 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 17:45:05,838 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 37.31.235.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-09 17:45:05,838 - DEBUG - ping -s 56 -c 3 -W 1 37.31.235.195 2026-02-09 17:45:10,467 - DEBUG - PING 37.31.235.195 (37.31.235.195): 56 data bytes 64 bytes from 37.31.235.195: seq=0 ttl=63 time=3.961 ms 64 bytes from 37.31.235.195: seq=1 ttl=63 time=2.657 ms 64 bytes from 37.31.235.195: seq=2 ttl=63 time=1.996 ms --- 37.31.235.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.996/2.871/3.961 ms 2026-02-09 17:45:10,468 - INFO - Ping to IP 37.31.235.195 from VM ctest-TestBasicPolicy-61460682-44862323 passed 2026-02-09 17:45:10,703 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0d5dc69b-b0d9-4831-a52f-9d01105ec677", "href": "http://10.0.0.38:8082/network-policy/0d5dc69b-b0d9-4831-a52f-9d01105ec677"}} 2026-02-09 17:45:10,703 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 17:45:10,703 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 37.31.235.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-09 17:45:10,703 - DEBUG - ping -s 56 -c 3 -W 1 37.31.235.195 2026-02-09 17:45:14,084 - DEBUG - PING 37.31.235.195 (37.31.235.195): 56 data bytes 64 bytes from 37.31.235.195: seq=0 ttl=63 time=3.081 ms --- 37.31.235.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 3.081/3.081/3.081 ms 2026-02-09 17:45:14,084 - WARNING - Ping to IP 37.31.235.195 from VM ctest-TestBasicPolicy-61460682-44862323 failed 2026-02-09 17:45:14,084 - INFO - Deleting VM ctest-TestBasicPolicy-61460682-15512423 2026-02-09 17:45:14,277 - INFO - Deleting VM ctest-TestBasicPolicy-61460682-44862323 2026-02-09 17:45:14,952 - INFO - Deleted policy ctest-policy-allow-all-76883857 2026-02-09 17:45:14,953 - INFO - Deleting VN ctest-vn-15035801 2026-02-09 17:45:14,990 - DEBUG - VN f99ec19d-3845-416f-874b-faf07a5ebb48 still in use: Unable to complete operation on network f99ec19d-3845-416f-874b-faf07a5ebb48. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e942bae2-3c0a-4ab5-887e-3bbb92c456ce'] 2026-02-09 17:45:14,991 - WARNING - Deleting VN ctest-vn-15035801 failed..Will retry 2026-02-09 17:45:17,239 - DEBUG - Response for deleting network () 2026-02-09 17:45:17,239 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/19cbe63b-312a-4b0c-aebd-bd594a450519 2026-02-09 17:45:17,252 - DEBUG - Response Code: 404 2026-02-09 17:45:17,252 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-09 17:45:17,262 - DEBUG - Requesting: http://10.0.0.38:8082/domain/03e5bf2a-cc50-4d4e-b904-e815bbe506e3 2026-02-09 17:45:17,325 - DEBUG - Requesting: http://10.0.0.38:8082/project/5efca3c2-d0b0-4b82-8ae8-a3e3ee51e739 2026-02-09 17:45:17,426 - INFO - Validated that VN ctest-vn-15035801 is not found in API Server 2026-02-09 17:45:17,449 - DEBUG - VN ctest-vn-15035801 is not present in Agent 10.0.0.38 2026-02-09 17:45:17,449 - INFO - Validated that VN ctest-vn-15035801 is not in any agent 2026-02-09 17:45:17,493 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-15035801 info 2026-02-09 17:45:17,493 - INFO - Deleting VN ctest-vn-32333067 2026-02-09 17:45:17,656 - DEBUG - Response for deleting network () 2026-02-09 17:45:17,656 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fd860ab6-8a2a-4e49-8a0d-af6bb42b5e6a 2026-02-09 17:45:17,664 - DEBUG - Response Code: 404 2026-02-09 17:45:17,664 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-09 17:45:17,671 - DEBUG - Requesting: http://10.0.0.38:8082/domain/03e5bf2a-cc50-4d4e-b904-e815bbe506e3 2026-02-09 17:45:17,730 - DEBUG - Requesting: http://10.0.0.38:8082/project/5efca3c2-d0b0-4b82-8ae8-a3e3ee51e739 2026-02-09 17:45:17,831 - INFO - Validated that VN ctest-vn-32333067 is not found in API Server 2026-02-09 17:45:17,844 - DEBUG - VN ctest-vn-32333067 is not present in Agent 10.0.0.38 2026-02-09 17:45:17,844 - INFO - Validated that VN ctest-vn-32333067 is not in any agent 2026-02-09 17:45:17,867 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-32333067 info 2026-02-09 17:45:18,196 - DEBUG - No XMPP flaps were noticed during the test 2026-02-09 17:45:18,196 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:40] 2026-02-09 17:45:18,197 - INFO - -------------------------------------------------------------------------------- 2026-02-09 17:45:19,058 - INFO - Deleted project: ctest-TestBasicPolicy-61460682, ID : 5efca3c2-d0b0-4b82-8ae8-a3e3ee51e739