2026-08-21 17:56:39,204 - INFO - Domain Default found not creating 2026-08-21 17:56:39,402 - INFO - Project ctest-TestBasicPolicy-23688497 not found, creating it 2026-08-21 17:56:39,958 - INFO - Created Project:ctest-TestBasicPolicy-23688497, ID : 707edabc-02e8-4009-915d-c66142184e06 2026-08-21 17:56:41,804 - INFO - ================================================================================ 2026-08-21 17:56:41,804 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-21 17:56:41,804 - 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-08-21 17:56:42,072 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.17': '0'}} with 2026-08-21 17:56:42,072 - INFO - Initial checks done. Running the testcase now 2026-08-21 17:56:42,072 - INFO - 2026-08-21 17:56:42,789 - DEBUG - Response for create_network : {'network': {'id': '8481caeb-a437-4604-8cfc-39db9579ce3a', 'name': 'ctest-vn-30766504', 'tenant_id': '707edabc02e84009915dc66142184e06', 'project_id': '707edabc02e84009915dc66142184e06', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23688497', 'ctest-vn-30766504'], 'port_security_enabled': True, 'description': ''}} 2026-08-21 17:56:43,036 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c5a5db5e-2744-4d48-a92e-296cfa73184f', 'name': '', 'tenant_id': '707edabc02e84009915dc66142184e06', 'network_id': '8481caeb-a437-4604-8cfc-39db9579ce3a', 'ip_version': 4, 'cidr': '210.107.120.192/26', 'allocation_pools': [{'start': '210.107.120.194', 'end': '210.107.120.254'}], 'gateway_ip': '210.107.120.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '210.107.120.194', 'tags': [], 'project_id': '707edabc02e84009915dc66142184e06'}} 2026-08-21 17:56:43,058 - INFO - Created VN ctest-vn-30766504 2026-08-21 17:56:43,112 - DEBUG - VN ctest-vn-30766504 UUID is 8481caeb-a437-4604-8cfc-39db9579ce3a 2026-08-21 17:56:43,471 - DEBUG - Response for create_network : {'network': {'id': '8edc2efc-a6c5-49cd-bd40-c41c4bdf604d', 'name': 'ctest-vn-83268595', 'tenant_id': '707edabc02e84009915dc66142184e06', 'project_id': '707edabc02e84009915dc66142184e06', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23688497', 'ctest-vn-83268595'], 'port_security_enabled': True, 'description': ''}} 2026-08-21 17:56:43,707 - DEBUG - Response for create_subnet : {'subnet': {'id': 'baad4895-e0ad-47f5-989a-8bc6ce1c9eb1', 'name': '', 'tenant_id': '707edabc02e84009915dc66142184e06', 'network_id': '8edc2efc-a6c5-49cd-bd40-c41c4bdf604d', 'ip_version': 4, 'cidr': '26.234.59.0/26', 'allocation_pools': [{'start': '26.234.59.2', 'end': '26.234.59.62'}], 'gateway_ip': '26.234.59.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.234.59.2', 'tags': [], 'project_id': '707edabc02e84009915dc66142184e06'}} 2026-08-21 17:56:43,728 - INFO - Created VN ctest-vn-83268595 2026-08-21 17:56:43,784 - DEBUG - VN ctest-vn-83268595 UUID is 8edc2efc-a6c5-49cd-bd40-c41c4bdf604d 2026-08-21 17:56:43,935 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-23688497:ctest-vn-30766504, 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-23688497:ctest-vn-83268595, 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-08-21 17:56:44,254 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8481caeb-a437-4604-8cfc-39db9579ce3a', 'name': 'ctest-vn-30766504', 'tenant_id': '707edabc02e84009915dc66142184e06', 'project_id': '707edabc02e84009915dc66142184e06', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c5a5db5e-2744-4d48-a92e-296cfa73184f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23688497', 'ctest-vn-30766504'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23688497', 'ctest-policy-allow-all-37322250']], 'subnet_ipam': [{'subnet_cidr': '210.107.120.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-21 17:56:44,530 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8edc2efc-a6c5-49cd-bd40-c41c4bdf604d', 'name': 'ctest-vn-83268595', 'tenant_id': '707edabc02e84009915dc66142184e06', 'project_id': '707edabc02e84009915dc66142184e06', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['baad4895-e0ad-47f5-989a-8bc6ce1c9eb1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23688497', 'ctest-vn-83268595'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23688497', 'ctest-policy-allow-all-37322250']], 'subnet_ipam': [{'subnet_cidr': '26.234.59.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-21 17:56:44,656 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-08-21 17:56:45,040 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-08-21 17:56:45,072 - DEBUG - Requesting: http://10.0.0.161:8082/domain/71fe0c43-1586-4618-a544-4e5e7f77c7ed 2026-08-21 17:56:45,087 - DEBUG - Requesting: http://10.0.0.161:8082/project/707edabc-02e8-4009-915d-c66142184e06 2026-08-21 17:56:45,167 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/8481caeb-a437-4604-8cfc-39db9579ce3a 2026-08-21 17:56:45,181 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/8481caeb-a437-4604-8cfc-39db9579ce3a 2026-08-21 17:56:45,193 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/7ea84000-aac9-4ae6-9dc4-743c95dc59be 2026-08-21 17:56:45,204 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/7ea84000-aac9-4ae6-9dc4-743c95dc59be 2026-08-21 17:56:45,213 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/9313ade0-6577-419b-a305-dc2d3545d845 2026-08-21 17:56:45,223 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-21 17:56:45,223 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/8481caeb-a437-4604-8cfc-39db9579ce3a 2026-08-21 17:56:45,233 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/7ea84000-aac9-4ae6-9dc4-743c95dc59be 2026-08-21 17:56:45,250 - INFO - Verified VN network id 11 for VN 8481caeb-a437-4604-8cfc-39db9579ce3a 2026-08-21 17:56:45,250 - INFO - Verifications in API Server for VN ctest-vn-30766504 passed 2026-08-21 17:56:45,251 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/8481caeb-a437-4604-8cfc-39db9579ce3a 2026-08-21 17:56:45,262 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/7ea84000-aac9-4ae6-9dc4-743c95dc59be 2026-08-21 17:56:45,271 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/7ea84000-aac9-4ae6-9dc4-743c95dc59be 2026-08-21 17:56:45,280 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/9313ade0-6577-419b-a305-dc2d3545d845 2026-08-21 17:56:45,296 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23688497:ctest-vn-30766504', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23688497', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9548135798423373316', 'uuid-lslong': '10159058474709405242'}, 'enable': 'true', 'created': '2026-08-21T17:56:42', 'last-modified': '2026-08-21T17:56:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.066273'} 2026-08-21 17:56:45,305 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-21 17:56:45,305 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-30766504 passed 2026-08-21 17:56:45,305 - DEBUG - ====Verifying policy data for ctest-vn-30766504 in API_Server ====== 2026-08-21 17:56:45,305 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-08-21 17:56:45,313 - DEBUG - Requesting: http://10.0.0.161:8082/domain/71fe0c43-1586-4618-a544-4e5e7f77c7ed 2026-08-21 17:56:45,327 - DEBUG - Requesting: http://10.0.0.161:8082/project/707edabc-02e8-4009-915d-c66142184e06 2026-08-21 17:56:45,416 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/8481caeb-a437-4604-8cfc-39db9579ce3a 2026-08-21 17:56:45,432 - DEBUG - ==>Verifying data for policy with id: 4308734f-ac84-44ff-b022-d01ba9ee296a, fqn: ['default-domain', 'ctest-TestBasicPolicy-23688497', 'ctest-policy-allow-all-37322250'] 2026-08-21 17:56:45,432 - INFO - VN ctest-vn-30766504 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-21 17:56:45,432 - DEBUG - Verifying the vn in opserver 2026-08-21 17:56:45,432 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23688497:ctest-vn-30766504 virtual network link through opserver 10.0.0.161 2026-08-21 17:56:45,432 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-08-21 17:56:45,804 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-08-21 17:56:45,869 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23688497:ctest-vn-30766504', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23688497:ctest-vn-30766504?flat'} 2026-08-21 17:56:45,869 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23688497:ctest-vn-30766504 is found in opserver 2026-08-21 17:56:45,881 - DEBUG - Do not have enough data to verify VN in agent 2026-08-21 17:56:45,886 - DEBUG - VRF ids for VN ctest-vn-30766504: {} 2026-08-21 17:56:45,886 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-08-21 17:56:45,893 - DEBUG - Requesting: http://10.0.0.161:8082/domain/71fe0c43-1586-4618-a544-4e5e7f77c7ed 2026-08-21 17:56:45,904 - DEBUG - Requesting: http://10.0.0.161:8082/project/707edabc-02e8-4009-915d-c66142184e06 2026-08-21 17:56:45,985 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/8edc2efc-a6c5-49cd-bd40-c41c4bdf604d 2026-08-21 17:56:46,000 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/8edc2efc-a6c5-49cd-bd40-c41c4bdf604d 2026-08-21 17:56:46,011 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/70c3cce6-e368-47aa-b734-e7c18a96f082 2026-08-21 17:56:46,020 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/70c3cce6-e368-47aa-b734-e7c18a96f082 2026-08-21 17:56:46,030 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/01f60199-287f-4d6a-a399-1964ae122c13 2026-08-21 17:56:46,037 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-21 17:56:46,038 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/8edc2efc-a6c5-49cd-bd40-c41c4bdf604d 2026-08-21 17:56:46,049 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/70c3cce6-e368-47aa-b734-e7c18a96f082 2026-08-21 17:56:46,067 - INFO - Verified VN network id 12 for VN 8edc2efc-a6c5-49cd-bd40-c41c4bdf604d 2026-08-21 17:56:46,067 - INFO - Verifications in API Server for VN ctest-vn-83268595 passed 2026-08-21 17:56:46,067 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/8edc2efc-a6c5-49cd-bd40-c41c4bdf604d 2026-08-21 17:56:46,078 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/70c3cce6-e368-47aa-b734-e7c18a96f082 2026-08-21 17:56:46,087 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/70c3cce6-e368-47aa-b734-e7c18a96f082 2026-08-21 17:56:46,095 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/01f60199-287f-4d6a-a399-1964ae122c13 2026-08-21 17:56:46,111 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23688497:ctest-vn-83268595', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23688497', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10294154510926694861', 'uuid-lslong': '13637115297488920653'}, 'enable': 'true', 'created': '2026-08-21T17:56:43', 'last-modified': '2026-08-21T17:56:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.606839'} 2026-08-21 17:56:46,118 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-21 17:56:46,118 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-83268595 passed 2026-08-21 17:56:46,118 - DEBUG - ====Verifying policy data for ctest-vn-83268595 in API_Server ====== 2026-08-21 17:56:46,118 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-08-21 17:56:46,125 - DEBUG - Requesting: http://10.0.0.161:8082/domain/71fe0c43-1586-4618-a544-4e5e7f77c7ed 2026-08-21 17:56:46,137 - DEBUG - Requesting: http://10.0.0.161:8082/project/707edabc-02e8-4009-915d-c66142184e06 2026-08-21 17:56:46,218 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/8edc2efc-a6c5-49cd-bd40-c41c4bdf604d 2026-08-21 17:56:46,231 - DEBUG - ==>Verifying data for policy with id: 4308734f-ac84-44ff-b022-d01ba9ee296a, fqn: ['default-domain', 'ctest-TestBasicPolicy-23688497', 'ctest-policy-allow-all-37322250'] 2026-08-21 17:56:46,231 - INFO - VN ctest-vn-83268595 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-21 17:56:46,231 - DEBUG - Verifying the vn in opserver 2026-08-21 17:56:46,231 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23688497:ctest-vn-83268595 virtual network link through opserver 10.0.0.161 2026-08-21 17:56:46,231 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-08-21 17:56:46,243 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23688497:ctest-vn-83268595', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23688497:ctest-vn-83268595?flat'} 2026-08-21 17:56:46,244 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23688497:ctest-vn-83268595 is found in opserver 2026-08-21 17:56:46,256 - DEBUG - Do not have enough data to verify VN in agent 2026-08-21 17:56:46,262 - DEBUG - VRF ids for VN ctest-vn-83268595: {} 2026-08-21 17:56:46,330 - DEBUG - Services list from nova: [, , ] 2026-08-21 17:56:46,834 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6205-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6205-1) 2026-08-21 17:56:47,262 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6205-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6205-1) 2026-08-21 17:56:47,262 - INFO - Waiting for VM ctest-TestBasicPolicy-23688497-63580296 to be up.. 2026-08-21 17:56:47,304 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 17:56:52,403 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 17:56:57,493 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 17:57:02,587 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 17:57:07,698 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 17:57:12,785 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 17:57:17,884 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 17:57:22,973 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 17:57:28,061 - DEBUG - VM is in ACTIVE state now 2026-08-21 17:57:28,062 - INFO - VM name : ctest-TestBasicPolicy-23688497-63580296 2026-08-21 17:57:28,150 - DEBUG - VM ctest-TestBasicPolicy-23688497-63580296 ID is 708afa57-f36d-457d-93a2-8ab81ddbb06b 2026-08-21 17:57:28,175 - DEBUG - VM ctest-TestBasicPolicy-23688497-63580296 launched on Node cn-jenkins-deploy-platform-ansible-os-6205-1 2026-08-21 17:57:28,278 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/708afa57-f36d-457d-93a2-8ab81ddbb06b 2026-08-21 17:57:28,293 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/bb9238ac-b2f6-4cbd-b855-1cd1d2316932 2026-08-21 17:57:31,565 - 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 1020ms') 2026-08-21 17:57:31,565 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-23688497-63580296 failed! 2026-08-21 17:57:31,624 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-23688497:ctest-vn-30766504 is 210.107.120.193 and allocation pool is NOT set 2026-08-21 17:57:35,704 - 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 1011ms') 2026-08-21 17:57:35,705 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-23688497-63580296 failed! 2026-08-21 17:57:35,764 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-23688497:ctest-vn-30766504 is 210.107.120.193 and allocation pool is NOT set 2026-08-21 17:57:37,830 - 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=3.96 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.523 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.523/2.239/3.956/1.716 ms') 2026-08-21 17:57:37,830 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-23688497-63580296 passed 2026-08-21 17:57:37,980 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 17:57:37,980 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-23688497-63580296, IP 210.107.120.195, Port 22 2026-08-21 17:57:38,162 - DEBUG - VM ctest-TestBasicPolicy-23688497-63580296 is ready for SSH connections 2026-08-21 17:57:38,162 - INFO - Waiting for VM ctest-TestBasicPolicy-23688497-18697924 to be up.. 2026-08-21 17:57:38,250 - DEBUG - VM is in ACTIVE state now 2026-08-21 17:57:38,250 - INFO - VM name : ctest-TestBasicPolicy-23688497-18697924 2026-08-21 17:57:38,338 - DEBUG - VM ctest-TestBasicPolicy-23688497-18697924 ID is a96e7024-e7e1-4cc3-b7f0-f2a29a4a16dc 2026-08-21 17:57:38,338 - DEBUG - VM ctest-TestBasicPolicy-23688497-18697924 launched on Node cn-jenkins-deploy-platform-ansible-os-6205-1 2026-08-21 17:57:38,432 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/a96e7024-e7e1-4cc3-b7f0-f2a29a4a16dc 2026-08-21 17:57:38,444 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/32fdb76f-2230-431a-aae6-028834159e94 2026-08-21 17:57:39,696 - 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.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.642 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.642/2.154/3.667/1.512 ms') 2026-08-21 17:57:39,696 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-23688497-18697924 passed 2026-08-21 17:57:39,852 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 17:57:39,852 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-23688497-18697924, IP 26.234.59.3, Port 22 2026-08-21 17:57:40,030 - DEBUG - VM ctest-TestBasicPolicy-23688497-18697924 is ready for SSH connections 2026-08-21 17:57:40,030 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 17:57:40,030 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 26.234.59.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-08-21 17:57:40,030 - DEBUG - ping -s 56 -c 3 -W 1 26.234.59.3 2026-08-21 17:57:44,141 - DEBUG - PING 26.234.59.3 (26.234.59.3): 56 data bytes 64 bytes from 26.234.59.3: seq=0 ttl=63 time=4.595 ms 64 bytes from 26.234.59.3: seq=1 ttl=63 time=1.186 ms 64 bytes from 26.234.59.3: seq=2 ttl=63 time=1.099 ms --- 26.234.59.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.099/2.293/4.595 ms 2026-08-21 17:57:44,141 - INFO - Ping to IP 26.234.59.3 from VM ctest-TestBasicPolicy-23688497-63580296 passed 2026-08-21 17:57:44,332 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4308734f-ac84-44ff-b022-d01ba9ee296a", "href": "http://10.0.0.161:8082/network-policy/4308734f-ac84-44ff-b022-d01ba9ee296a"}} 2026-08-21 17:57:44,332 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 17:57:44,332 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 26.234.59.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-08-21 17:57:44,332 - DEBUG - ping -s 56 -c 3 -W 1 26.234.59.3 2026-08-21 17:57:47,497 - DEBUG - PING 26.234.59.3 (26.234.59.3): 56 data bytes 64 bytes from 26.234.59.3: seq=0 ttl=63 time=1.902 ms --- 26.234.59.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.902/1.902/1.902 ms 2026-08-21 17:57:47,498 - WARNING - Ping to IP 26.234.59.3 from VM ctest-TestBasicPolicy-23688497-63580296 failed 2026-08-21 17:57:47,498 - INFO - Deleting VM ctest-TestBasicPolicy-23688497-18697924 2026-08-21 17:57:47,579 - INFO - Deleting VM ctest-TestBasicPolicy-23688497-63580296 2026-08-21 17:57:48,006 - INFO - Deleted policy ctest-policy-allow-all-37322250 2026-08-21 17:57:48,006 - INFO - Deleting VN ctest-vn-83268595 2026-08-21 17:57:48,046 - DEBUG - VN 8edc2efc-a6c5-49cd-bd40-c41c4bdf604d still in use: Unable to complete operation on network 8edc2efc-a6c5-49cd-bd40-c41c4bdf604d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-27385ed9-8561-4786-93e9-c565cac04af4'] 2026-08-21 17:57:48,046 - WARNING - Deleting VN ctest-vn-83268595 failed..Will retry 2026-08-21 17:57:50,176 - DEBUG - Response for deleting network () 2026-08-21 17:57:50,177 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/70c3cce6-e368-47aa-b734-e7c18a96f082 2026-08-21 17:57:50,187 - DEBUG - Response Code: 404 2026-08-21 17:57:50,188 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-08-21 17:57:50,194 - DEBUG - Requesting: http://10.0.0.161:8082/domain/71fe0c43-1586-4618-a544-4e5e7f77c7ed 2026-08-21 17:57:50,256 - DEBUG - Requesting: http://10.0.0.161:8082/project/707edabc-02e8-4009-915d-c66142184e06 2026-08-21 17:57:50,342 - INFO - Validated that VN ctest-vn-83268595 is not found in API Server 2026-08-21 17:57:50,356 - DEBUG - VN ctest-vn-83268595 is not present in Agent 10.0.0.161 2026-08-21 17:57:50,356 - INFO - Validated that VN ctest-vn-83268595 is not in any agent 2026-08-21 17:57:50,379 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-83268595 info 2026-08-21 17:57:50,379 - INFO - Deleting VN ctest-vn-30766504 2026-08-21 17:57:50,516 - DEBUG - Response for deleting network () 2026-08-21 17:57:50,516 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/7ea84000-aac9-4ae6-9dc4-743c95dc59be 2026-08-21 17:57:50,528 - DEBUG - Response Code: 404 2026-08-21 17:57:50,528 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-08-21 17:57:50,534 - DEBUG - Requesting: http://10.0.0.161:8082/domain/71fe0c43-1586-4618-a544-4e5e7f77c7ed 2026-08-21 17:57:50,590 - DEBUG - Requesting: http://10.0.0.161:8082/project/707edabc-02e8-4009-915d-c66142184e06 2026-08-21 17:57:50,670 - INFO - Validated that VN ctest-vn-30766504 is not found in API Server 2026-08-21 17:57:50,681 - DEBUG - VN ctest-vn-30766504 is not present in Agent 10.0.0.161 2026-08-21 17:57:50,681 - INFO - Validated that VN ctest-vn-30766504 is not in any agent 2026-08-21 17:57:50,696 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-30766504 info 2026-08-21 17:57:50,962 - DEBUG - No XMPP flaps were noticed during the test 2026-08-21 17:57:50,962 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:09] 2026-08-21 17:57:50,962 - INFO - -------------------------------------------------------------------------------- 2026-08-21 17:57:51,773 - INFO - Deleted project: ctest-TestBasicPolicy-23688497, ID : 707edabc-02e8-4009-915d-c66142184e06