2026-05-28 14:36:33,146 - INFO - Domain Default found not creating 2026-05-28 14:36:33,351 - INFO - Project ctest-TestBasicPolicy-49092807 not found, creating it 2026-05-28 14:36:33,839 - INFO - Created Project:ctest-TestBasicPolicy-49092807, ID : 24fe1a6e-95cf-44c2-8a38-e744b63e9296 2026-05-28 14:36:35,409 - INFO - ================================================================================ 2026-05-28 14:36:35,409 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-28 14:36:35,409 - 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-05-28 14:36:35,690 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2026-05-28 14:36:35,690 - INFO - Initial checks done. Running the testcase now 2026-05-28 14:36:35,690 - INFO - 2026-05-28 14:36:36,285 - DEBUG - Response for create_network : {'network': {'id': '48df269d-e839-471d-a528-60af7dab09b3', 'name': 'ctest-vn-69994170', 'tenant_id': '24fe1a6e95cf44c28a38e744b63e9296', 'project_id': '24fe1a6e95cf44c28a38e744b63e9296', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49092807', 'ctest-vn-69994170'], 'port_security_enabled': True, 'description': ''}} 2026-05-28 14:36:36,504 - DEBUG - Response for create_subnet : {'subnet': {'id': '45ef9367-81ea-44aa-8d54-b107a7804249', 'name': '', 'tenant_id': '24fe1a6e95cf44c28a38e744b63e9296', 'network_id': '48df269d-e839-471d-a528-60af7dab09b3', 'ip_version': 4, 'cidr': '47.197.15.64/26', 'allocation_pools': [{'start': '47.197.15.66', 'end': '47.197.15.126'}], 'gateway_ip': '47.197.15.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.197.15.66', 'tags': [], 'project_id': '24fe1a6e95cf44c28a38e744b63e9296'}} 2026-05-28 14:36:36,526 - INFO - Created VN ctest-vn-69994170 2026-05-28 14:36:36,580 - DEBUG - VN ctest-vn-69994170 UUID is 48df269d-e839-471d-a528-60af7dab09b3 2026-05-28 14:36:36,934 - DEBUG - Response for create_network : {'network': {'id': '17e7208f-40bf-49c3-bd00-90cbedfa1f25', 'name': 'ctest-vn-16195413', 'tenant_id': '24fe1a6e95cf44c28a38e744b63e9296', 'project_id': '24fe1a6e95cf44c28a38e744b63e9296', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49092807', 'ctest-vn-16195413'], 'port_security_enabled': True, 'description': ''}} 2026-05-28 14:36:37,171 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b0319eb5-54dd-4790-9af5-c66a958d8e4e', 'name': '', 'tenant_id': '24fe1a6e95cf44c28a38e744b63e9296', 'network_id': '17e7208f-40bf-49c3-bd00-90cbedfa1f25', 'ip_version': 4, 'cidr': '99.234.152.128/26', 'allocation_pools': [{'start': '99.234.152.130', 'end': '99.234.152.190'}], 'gateway_ip': '99.234.152.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.234.152.130', 'tags': [], 'project_id': '24fe1a6e95cf44c28a38e744b63e9296'}} 2026-05-28 14:36:37,196 - INFO - Created VN ctest-vn-16195413 2026-05-28 14:36:37,252 - DEBUG - VN ctest-vn-16195413 UUID is 17e7208f-40bf-49c3-bd00-90cbedfa1f25 2026-05-28 14:36:37,381 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-49092807:ctest-vn-69994170, 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-49092807:ctest-vn-16195413, 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-05-28 14:36:37,717 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '48df269d-e839-471d-a528-60af7dab09b3', 'name': 'ctest-vn-69994170', 'tenant_id': '24fe1a6e95cf44c28a38e744b63e9296', 'project_id': '24fe1a6e95cf44c28a38e744b63e9296', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['45ef9367-81ea-44aa-8d54-b107a7804249'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49092807', 'ctest-vn-69994170'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49092807', 'ctest-policy-allow-all-49289626']], 'subnet_ipam': [{'subnet_cidr': '47.197.15.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-28 14:36:37,961 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '17e7208f-40bf-49c3-bd00-90cbedfa1f25', 'name': 'ctest-vn-16195413', 'tenant_id': '24fe1a6e95cf44c28a38e744b63e9296', 'project_id': '24fe1a6e95cf44c28a38e744b63e9296', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b0319eb5-54dd-4790-9af5-c66a958d8e4e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49092807', 'ctest-vn-16195413'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49092807', 'ctest-policy-allow-all-49289626']], 'subnet_ipam': [{'subnet_cidr': '99.234.152.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-28 14:36:38,128 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-05-28 14:36:38,432 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-05-28 14:36:38,484 - DEBUG - Requesting: http://10.0.0.249:8082/domain/51551d90-0d66-4cdf-b60c-b6c23a4db702 2026-05-28 14:36:38,497 - DEBUG - Requesting: http://10.0.0.249:8082/project/24fe1a6e-95cf-44c2-8a38-e744b63e9296 2026-05-28 14:36:38,588 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/48df269d-e839-471d-a528-60af7dab09b3 2026-05-28 14:36:38,600 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/48df269d-e839-471d-a528-60af7dab09b3 2026-05-28 14:36:38,611 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/5a901598-06b9-44fe-ba68-571672d750d5 2026-05-28 14:36:38,622 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/5a901598-06b9-44fe-ba68-571672d750d5 2026-05-28 14:36:38,632 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/78c65542-601e-4583-a207-04aad36a25ee 2026-05-28 14:36:38,639 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-28 14:36:38,639 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/48df269d-e839-471d-a528-60af7dab09b3 2026-05-28 14:36:38,650 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/5a901598-06b9-44fe-ba68-571672d750d5 2026-05-28 14:36:38,667 - INFO - Verified VN network id 9 for VN 48df269d-e839-471d-a528-60af7dab09b3 2026-05-28 14:36:38,667 - INFO - Verifications in API Server for VN ctest-vn-69994170 passed 2026-05-28 14:36:38,667 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/48df269d-e839-471d-a528-60af7dab09b3 2026-05-28 14:36:38,677 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/5a901598-06b9-44fe-ba68-571672d750d5 2026-05-28 14:36:38,686 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/5a901598-06b9-44fe-ba68-571672d750d5 2026-05-28 14:36:38,695 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/78c65542-601e-4583-a207-04aad36a25ee 2026-05-28 14:36:38,709 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49092807:ctest-vn-69994170', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49092807', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5250958150185076509', 'uuid-lslong': '11900868322170440115'}, 'enable': 'true', 'created': '2026-05-28T14:36:36', 'last-modified': '2026-05-28T14:36:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.021697'} 2026-05-28 14:36:38,715 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-28 14:36:38,715 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-69994170 passed 2026-05-28 14:36:38,715 - DEBUG - ====Verifying policy data for ctest-vn-69994170 in API_Server ====== 2026-05-28 14:36:38,715 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-05-28 14:36:38,722 - DEBUG - Requesting: http://10.0.0.249:8082/domain/51551d90-0d66-4cdf-b60c-b6c23a4db702 2026-05-28 14:36:38,736 - DEBUG - Requesting: http://10.0.0.249:8082/project/24fe1a6e-95cf-44c2-8a38-e744b63e9296 2026-05-28 14:36:38,813 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/48df269d-e839-471d-a528-60af7dab09b3 2026-05-28 14:36:38,823 - DEBUG - ==>Verifying data for policy with id: 4485a14a-988d-44f2-9416-4d72ede58f26, fqn: ['default-domain', 'ctest-TestBasicPolicy-49092807', 'ctest-policy-allow-all-49289626'] 2026-05-28 14:36:38,823 - INFO - VN ctest-vn-69994170 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-28 14:36:38,823 - DEBUG - Verifying the vn in opserver 2026-05-28 14:36:38,823 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49092807:ctest-vn-69994170 virtual network link through opserver 10.0.0.249 2026-05-28 14:36:38,824 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-05-28 14:36:39,124 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-05-28 14:36:39,204 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49092807:ctest-vn-69994170', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49092807:ctest-vn-69994170?flat'} 2026-05-28 14:36:39,204 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49092807:ctest-vn-69994170 is found in opserver 2026-05-28 14:36:39,219 - DEBUG - Do not have enough data to verify VN in agent 2026-05-28 14:36:39,224 - DEBUG - VRF ids for VN ctest-vn-69994170: {} 2026-05-28 14:36:39,225 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-05-28 14:36:39,232 - DEBUG - Requesting: http://10.0.0.249:8082/domain/51551d90-0d66-4cdf-b60c-b6c23a4db702 2026-05-28 14:36:39,246 - DEBUG - Requesting: http://10.0.0.249:8082/project/24fe1a6e-95cf-44c2-8a38-e744b63e9296 2026-05-28 14:36:39,323 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/17e7208f-40bf-49c3-bd00-90cbedfa1f25 2026-05-28 14:36:39,337 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/17e7208f-40bf-49c3-bd00-90cbedfa1f25 2026-05-28 14:36:39,349 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/c10eb423-2e47-4613-b103-249daa46c1b1 2026-05-28 14:36:39,358 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/c10eb423-2e47-4613-b103-249daa46c1b1 2026-05-28 14:36:39,367 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/ecb207f5-b04c-4a9c-b476-10cb5e11218d 2026-05-28 14:36:39,376 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-28 14:36:39,376 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/17e7208f-40bf-49c3-bd00-90cbedfa1f25 2026-05-28 14:36:39,387 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/c10eb423-2e47-4613-b103-249daa46c1b1 2026-05-28 14:36:39,407 - INFO - Verified VN network id 10 for VN 17e7208f-40bf-49c3-bd00-90cbedfa1f25 2026-05-28 14:36:39,407 - INFO - Verifications in API Server for VN ctest-vn-16195413 passed 2026-05-28 14:36:39,407 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/17e7208f-40bf-49c3-bd00-90cbedfa1f25 2026-05-28 14:36:39,419 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/c10eb423-2e47-4613-b103-249daa46c1b1 2026-05-28 14:36:39,427 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/c10eb423-2e47-4613-b103-249daa46c1b1 2026-05-28 14:36:39,435 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/ecb207f5-b04c-4a9c-b476-10cb5e11218d 2026-05-28 14:36:39,450 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49092807:ctest-vn-16195413', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49092807', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1722381182131194307', 'uuid-lslong': '13619044478713732901'}, 'enable': 'true', 'created': '2026-05-28T14:36:36', 'last-modified': '2026-05-28T14:36:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.511236'} 2026-05-28 14:36:39,457 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-28 14:36:39,457 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-16195413 passed 2026-05-28 14:36:39,457 - DEBUG - ====Verifying policy data for ctest-vn-16195413 in API_Server ====== 2026-05-28 14:36:39,457 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-05-28 14:36:39,465 - DEBUG - Requesting: http://10.0.0.249:8082/domain/51551d90-0d66-4cdf-b60c-b6c23a4db702 2026-05-28 14:36:39,478 - DEBUG - Requesting: http://10.0.0.249:8082/project/24fe1a6e-95cf-44c2-8a38-e744b63e9296 2026-05-28 14:36:39,556 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/17e7208f-40bf-49c3-bd00-90cbedfa1f25 2026-05-28 14:36:39,567 - DEBUG - ==>Verifying data for policy with id: 4485a14a-988d-44f2-9416-4d72ede58f26, fqn: ['default-domain', 'ctest-TestBasicPolicy-49092807', 'ctest-policy-allow-all-49289626'] 2026-05-28 14:36:39,567 - INFO - VN ctest-vn-16195413 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-28 14:36:39,567 - DEBUG - Verifying the vn in opserver 2026-05-28 14:36:39,567 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49092807:ctest-vn-16195413 virtual network link through opserver 10.0.0.249 2026-05-28 14:36:39,567 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-05-28 14:36:39,580 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49092807:ctest-vn-16195413', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49092807:ctest-vn-16195413?flat'} 2026-05-28 14:36:39,580 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49092807:ctest-vn-16195413 is found in opserver 2026-05-28 14:36:39,592 - DEBUG - Do not have enough data to verify VN in agent 2026-05-28 14:36:39,597 - DEBUG - VRF ids for VN ctest-vn-16195413: {} 2026-05-28 14:36:39,669 - DEBUG - Services list from nova: [, , ] 2026-05-28 14:36:40,860 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5844-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5844-1) 2026-05-28 14:36:42,128 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5844-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5844-1) 2026-05-28 14:36:42,128 - INFO - Waiting for VM ctest-TestBasicPolicy-49092807-68132808 to be up.. 2026-05-28 14:36:42,220 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-28 14:36:47,310 - DEBUG - VM is in ACTIVE state now 2026-05-28 14:36:47,310 - INFO - VM name : ctest-TestBasicPolicy-49092807-68132808 2026-05-28 14:36:47,399 - DEBUG - VM ctest-TestBasicPolicy-49092807-68132808 ID is f224d1b7-5deb-4414-96d8-de3c906a9e24 2026-05-28 14:36:47,427 - DEBUG - VM ctest-TestBasicPolicy-49092807-68132808 launched on Node cn-jenkins-deploy-platform-ansible-os-5844-1 2026-05-28 14:36:47,524 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/f224d1b7-5deb-4414-96d8-de3c906a9e24 2026-05-28 14:36:47,536 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/7c69abe4-a2ae-4631-814c-c12a5bfa184e 2026-05-28 14:36:50,804 - 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 1017ms') 2026-05-28 14:36:50,804 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-49092807-68132808 failed! 2026-05-28 14:36:50,864 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-49092807:ctest-vn-69994170 is 47.197.15.65 and allocation pool is NOT set 2026-05-28 14:36:52,939 - 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=14.0 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.83 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 = 1.829/7.897/13.966/6.068 ms') 2026-05-28 14:36:52,939 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-49092807-68132808 passed 2026-05-28 14:36:53,096 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 14:36:53,096 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-49092807-68132808, IP 47.197.15.67, Port 22 2026-05-28 14:36:53,162 - 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-05-28 14:36:53,260 - DEBUG - VM ctest-TestBasicPolicy-49092807-68132808 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-28 14:36:58,261 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 14:36:58,261 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-49092807-68132808, IP 47.197.15.67, Port 22 2026-05-28 14:36:58,430 - DEBUG - VM ctest-TestBasicPolicy-49092807-68132808 is ready for SSH connections 2026-05-28 14:36:58,430 - INFO - Waiting for VM ctest-TestBasicPolicy-49092807-74161106 to be up.. 2026-05-28 14:36:58,519 - DEBUG - VM is in ACTIVE state now 2026-05-28 14:36:58,520 - INFO - VM name : ctest-TestBasicPolicy-49092807-74161106 2026-05-28 14:36:58,606 - DEBUG - VM ctest-TestBasicPolicy-49092807-74161106 ID is 7c73dcc6-23aa-4871-957d-470ffa3db69c 2026-05-28 14:36:58,606 - DEBUG - VM ctest-TestBasicPolicy-49092807-74161106 launched on Node cn-jenkins-deploy-platform-ansible-os-5844-1 2026-05-28 14:36:58,691 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/7c73dcc6-23aa-4871-957d-470ffa3db69c 2026-05-28 14:36:58,702 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/805f941a-dece-4ebb-bbab-931f8eec04d4 2026-05-28 14:36:59,953 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=4.40 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.696 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.696/2.547/4.398/1.851 ms') 2026-05-28 14:36:59,954 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-49092807-74161106 passed 2026-05-28 14:37:00,112 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 14:37:00,112 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-49092807-74161106, IP 99.234.152.131, Port 22 2026-05-28 14:37:00,286 - DEBUG - VM ctest-TestBasicPolicy-49092807-74161106 is ready for SSH connections 2026-05-28 14:37:00,286 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 14:37:00,286 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 99.234.152.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-05-28 14:37:00,286 - DEBUG - ping -s 56 -c 3 -W 1 99.234.152.131 2026-05-28 14:37:04,482 - DEBUG - PING 99.234.152.131 (99.234.152.131): 56 data bytes 64 bytes from 99.234.152.131: seq=0 ttl=63 time=4.540 ms 64 bytes from 99.234.152.131: seq=1 ttl=63 time=1.454 ms 64 bytes from 99.234.152.131: seq=2 ttl=63 time=1.039 ms --- 99.234.152.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.039/2.344/4.540 ms 2026-05-28 14:37:04,482 - INFO - Ping to IP 99.234.152.131 from VM ctest-TestBasicPolicy-49092807-68132808 passed 2026-05-28 14:37:04,671 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4485a14a-988d-44f2-9416-4d72ede58f26", "href": "http://10.0.0.249:8082/network-policy/4485a14a-988d-44f2-9416-4d72ede58f26"}} 2026-05-28 14:37:04,672 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 14:37:04,672 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 99.234.152.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-05-28 14:37:04,672 - DEBUG - ping -s 56 -c 3 -W 1 99.234.152.131 2026-05-28 14:37:07,937 - DEBUG - PING 99.234.152.131 (99.234.152.131): 56 data bytes --- 99.234.152.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-28 14:37:07,937 - WARNING - Ping to IP 99.234.152.131 from VM ctest-TestBasicPolicy-49092807-68132808 failed 2026-05-28 14:37:07,938 - INFO - Deleting VM ctest-TestBasicPolicy-49092807-74161106 2026-05-28 14:37:08,035 - INFO - Deleting VM ctest-TestBasicPolicy-49092807-68132808 2026-05-28 14:37:08,509 - INFO - Deleted policy ctest-policy-allow-all-49289626 2026-05-28 14:37:08,509 - INFO - Deleting VN ctest-vn-16195413 2026-05-28 14:37:08,559 - DEBUG - VN 17e7208f-40bf-49c3-bd00-90cbedfa1f25 still in use: Unable to complete operation on network 17e7208f-40bf-49c3-bd00-90cbedfa1f25. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-82073f2e-3989-45a7-bc3a-1ebe09df3e5b'] 2026-05-28 14:37:08,560 - WARNING - Deleting VN ctest-vn-16195413 failed..Will retry 2026-05-28 14:37:10,705 - DEBUG - Response for deleting network () 2026-05-28 14:37:10,705 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/c10eb423-2e47-4613-b103-249daa46c1b1 2026-05-28 14:37:10,716 - DEBUG - Response Code: 404 2026-05-28 14:37:10,716 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-05-28 14:37:10,723 - DEBUG - Requesting: http://10.0.0.249:8082/domain/51551d90-0d66-4cdf-b60c-b6c23a4db702 2026-05-28 14:37:10,783 - DEBUG - Requesting: http://10.0.0.249:8082/project/24fe1a6e-95cf-44c2-8a38-e744b63e9296 2026-05-28 14:37:10,873 - INFO - Validated that VN ctest-vn-16195413 is not found in API Server 2026-05-28 14:37:10,884 - DEBUG - VN ctest-vn-16195413 is not present in Agent 10.0.0.249 2026-05-28 14:37:10,884 - INFO - Validated that VN ctest-vn-16195413 is not in any agent 2026-05-28 14:37:10,900 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-16195413 info 2026-05-28 14:37:10,901 - INFO - Deleting VN ctest-vn-69994170 2026-05-28 14:37:11,021 - DEBUG - Response for deleting network () 2026-05-28 14:37:11,021 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/5a901598-06b9-44fe-ba68-571672d750d5 2026-05-28 14:37:11,028 - DEBUG - Response Code: 404 2026-05-28 14:37:11,028 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-05-28 14:37:11,034 - DEBUG - Requesting: http://10.0.0.249:8082/domain/51551d90-0d66-4cdf-b60c-b6c23a4db702 2026-05-28 14:37:11,090 - DEBUG - Requesting: http://10.0.0.249:8082/project/24fe1a6e-95cf-44c2-8a38-e744b63e9296 2026-05-28 14:37:11,175 - INFO - Validated that VN ctest-vn-69994170 is not found in API Server 2026-05-28 14:37:11,186 - DEBUG - VN ctest-vn-69994170 is not present in Agent 10.0.0.249 2026-05-28 14:37:11,186 - INFO - Validated that VN ctest-vn-69994170 is not in any agent 2026-05-28 14:37:11,208 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-69994170 info 2026-05-28 14:37:11,469 - DEBUG - No XMPP flaps were noticed during the test 2026-05-28 14:37:11,469 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36] 2026-05-28 14:37:11,469 - INFO - -------------------------------------------------------------------------------- 2026-05-28 14:37:12,261 - INFO - Deleted project: ctest-TestBasicPolicy-49092807, ID : 24fe1a6e-95cf-44c2-8a38-e744b63e9296