2026-06-24 22:33:33,529 - INFO - Domain Default found not creating 2026-06-24 22:33:33,651 - INFO - Project ctest-TestBasicPolicy-00835868 not found, creating it 2026-06-24 22:33:34,053 - INFO - Created Project:ctest-TestBasicPolicy-00835868, ID : c005fd6b-e7e7-4874-9ac4-db3cb03c6a08 2026-06-24 22:33:35,413 - INFO - ================================================================================ 2026-06-24 22:33:35,413 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-24 22:33:35,413 - 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-06-24 22:33:35,661 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-06-24 22:33:35,661 - INFO - Initial checks done. Running the testcase now 2026-06-24 22:33:35,661 - INFO - 2026-06-24 22:33:36,168 - DEBUG - Response for create_network : {'network': {'id': 'dffdc74c-812d-4517-8931-2dadb6976ccb', 'name': 'ctest-vn-17069092', 'tenant_id': 'c005fd6be7e748749ac4db3cb03c6a08', 'project_id': 'c005fd6be7e748749ac4db3cb03c6a08', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00835868', 'ctest-vn-17069092'], 'port_security_enabled': True, 'description': ''}} 2026-06-24 22:33:36,375 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cfbc25ee-a813-461e-b746-4155f0a13d9a', 'name': '', 'tenant_id': 'c005fd6be7e748749ac4db3cb03c6a08', 'network_id': 'dffdc74c-812d-4517-8931-2dadb6976ccb', 'ip_version': 4, 'cidr': '83.128.15.64/26', 'allocation_pools': [{'start': '83.128.15.66', 'end': '83.128.15.126'}], 'gateway_ip': '83.128.15.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.128.15.66', 'tags': [], 'project_id': 'c005fd6be7e748749ac4db3cb03c6a08'}} 2026-06-24 22:33:36,389 - INFO - Created VN ctest-vn-17069092 2026-06-24 22:33:36,441 - DEBUG - VN ctest-vn-17069092 UUID is dffdc74c-812d-4517-8931-2dadb6976ccb 2026-06-24 22:33:36,722 - DEBUG - Response for create_network : {'network': {'id': '73374478-4327-43d1-848c-17663825d586', 'name': 'ctest-vn-04011755', 'tenant_id': 'c005fd6be7e748749ac4db3cb03c6a08', 'project_id': 'c005fd6be7e748749ac4db3cb03c6a08', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00835868', 'ctest-vn-04011755'], 'port_security_enabled': True, 'description': ''}} 2026-06-24 22:33:36,865 - DEBUG - Response for create_subnet : {'subnet': {'id': '35ae733d-e8c3-4a48-b87a-3cb15e01b835', 'name': '', 'tenant_id': 'c005fd6be7e748749ac4db3cb03c6a08', 'network_id': '73374478-4327-43d1-848c-17663825d586', 'ip_version': 4, 'cidr': '190.63.171.0/26', 'allocation_pools': [{'start': '190.63.171.2', 'end': '190.63.171.62'}], 'gateway_ip': '190.63.171.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '190.63.171.2', 'tags': [], 'project_id': 'c005fd6be7e748749ac4db3cb03c6a08'}} 2026-06-24 22:33:36,879 - INFO - Created VN ctest-vn-04011755 2026-06-24 22:33:36,929 - DEBUG - VN ctest-vn-04011755 UUID is 73374478-4327-43d1-848c-17663825d586 2026-06-24 22:33:37,065 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-00835868:ctest-vn-17069092, 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-00835868:ctest-vn-04011755, 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-06-24 22:33:37,333 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'dffdc74c-812d-4517-8931-2dadb6976ccb', 'name': 'ctest-vn-17069092', 'tenant_id': 'c005fd6be7e748749ac4db3cb03c6a08', 'project_id': 'c005fd6be7e748749ac4db3cb03c6a08', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cfbc25ee-a813-461e-b746-4155f0a13d9a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00835868', 'ctest-vn-17069092'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00835868', 'ctest-policy-allow-all-17907720']], 'subnet_ipam': [{'subnet_cidr': '83.128.15.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-24 22:33:37,547 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '73374478-4327-43d1-848c-17663825d586', 'name': 'ctest-vn-04011755', 'tenant_id': 'c005fd6be7e748749ac4db3cb03c6a08', 'project_id': 'c005fd6be7e748749ac4db3cb03c6a08', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['35ae733d-e8c3-4a48-b87a-3cb15e01b835'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00835868', 'ctest-vn-04011755'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00835868', 'ctest-policy-allow-all-17907720']], 'subnet_ipam': [{'subnet_cidr': '190.63.171.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-24 22:33:37,709 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-24 22:33:38,026 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-24 22:33:38,048 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f4b6c565-acf2-4aab-85c0-d1678f98e284 2026-06-24 22:33:38,058 - DEBUG - Requesting: http://10.0.0.50:8082/project/c005fd6b-e7e7-4874-9ac4-db3cb03c6a08 2026-06-24 22:33:38,126 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/dffdc74c-812d-4517-8931-2dadb6976ccb 2026-06-24 22:33:38,135 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/dffdc74c-812d-4517-8931-2dadb6976ccb 2026-06-24 22:33:38,142 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5df61b32-b393-4f2a-9a7f-46490d85f8f1 2026-06-24 22:33:38,148 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5df61b32-b393-4f2a-9a7f-46490d85f8f1 2026-06-24 22:33:38,152 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ada028d3-3453-4c86-9cc4-bf285b04738d 2026-06-24 22:33:38,157 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-24 22:33:38,157 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/dffdc74c-812d-4517-8931-2dadb6976ccb 2026-06-24 22:33:38,164 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5df61b32-b393-4f2a-9a7f-46490d85f8f1 2026-06-24 22:33:38,176 - INFO - Verified VN network id 11 for VN dffdc74c-812d-4517-8931-2dadb6976ccb 2026-06-24 22:33:38,176 - INFO - Verifications in API Server for VN ctest-vn-17069092 passed 2026-06-24 22:33:38,176 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/dffdc74c-812d-4517-8931-2dadb6976ccb 2026-06-24 22:33:38,183 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5df61b32-b393-4f2a-9a7f-46490d85f8f1 2026-06-24 22:33:38,188 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5df61b32-b393-4f2a-9a7f-46490d85f8f1 2026-06-24 22:33:38,195 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ada028d3-3453-4c86-9cc4-bf285b04738d 2026-06-24 22:33:38,203 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00835868:ctest-vn-17069092', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00835868', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16140275770964395287', 'uuid-lslong': '9885732881170918603'}, 'enable': 'true', 'created': '2026-06-24T22:33:36', 'last-modified': '2026-06-24T22:33:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.888119'} 2026-06-24 22:33:38,208 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-24 22:33:38,208 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-17069092 passed 2026-06-24 22:33:38,208 - DEBUG - ====Verifying policy data for ctest-vn-17069092 in API_Server ====== 2026-06-24 22:33:38,208 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-24 22:33:38,212 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f4b6c565-acf2-4aab-85c0-d1678f98e284 2026-06-24 22:33:38,223 - DEBUG - Requesting: http://10.0.0.50:8082/project/c005fd6b-e7e7-4874-9ac4-db3cb03c6a08 2026-06-24 22:33:38,289 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/dffdc74c-812d-4517-8931-2dadb6976ccb 2026-06-24 22:33:38,297 - DEBUG - ==>Verifying data for policy with id: 8635d0a0-eea7-4930-a718-7d95fa5db25a, fqn: ['default-domain', 'ctest-TestBasicPolicy-00835868', 'ctest-policy-allow-all-17907720'] 2026-06-24 22:33:38,297 - INFO - VN ctest-vn-17069092 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-24 22:33:38,297 - DEBUG - Verifying the vn in opserver 2026-06-24 22:33:38,297 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00835868:ctest-vn-17069092 virtual network link through opserver 10.0.0.50 2026-06-24 22:33:38,297 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-24 22:33:38,611 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-24 22:33:38,654 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00835868:ctest-vn-17069092', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00835868:ctest-vn-17069092?flat'} 2026-06-24 22:33:38,654 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00835868:ctest-vn-17069092 is found in opserver 2026-06-24 22:33:38,662 - DEBUG - Do not have enough data to verify VN in agent 2026-06-24 22:33:38,665 - DEBUG - VRF ids for VN ctest-vn-17069092: {} 2026-06-24 22:33:38,665 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-24 22:33:38,670 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f4b6c565-acf2-4aab-85c0-d1678f98e284 2026-06-24 22:33:38,678 - DEBUG - Requesting: http://10.0.0.50:8082/project/c005fd6b-e7e7-4874-9ac4-db3cb03c6a08 2026-06-24 22:33:38,742 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/73374478-4327-43d1-848c-17663825d586 2026-06-24 22:33:38,752 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/73374478-4327-43d1-848c-17663825d586 2026-06-24 22:33:38,760 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f551cb8b-c53f-48fd-900f-f0da86c4c1fd 2026-06-24 22:33:38,765 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f551cb8b-c53f-48fd-900f-f0da86c4c1fd 2026-06-24 22:33:38,771 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/2dc3256a-8e68-4fb2-ace2-9502d035a2f7 2026-06-24 22:33:38,775 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-24 22:33:38,775 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/73374478-4327-43d1-848c-17663825d586 2026-06-24 22:33:38,783 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f551cb8b-c53f-48fd-900f-f0da86c4c1fd 2026-06-24 22:33:38,794 - INFO - Verified VN network id 12 for VN 73374478-4327-43d1-848c-17663825d586 2026-06-24 22:33:38,794 - INFO - Verifications in API Server for VN ctest-vn-04011755 passed 2026-06-24 22:33:38,794 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/73374478-4327-43d1-848c-17663825d586 2026-06-24 22:33:38,801 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f551cb8b-c53f-48fd-900f-f0da86c4c1fd 2026-06-24 22:33:38,806 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f551cb8b-c53f-48fd-900f-f0da86c4c1fd 2026-06-24 22:33:38,811 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/2dc3256a-8e68-4fb2-ace2-9502d035a2f7 2026-06-24 22:33:38,820 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00835868:ctest-vn-04011755', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00835868', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8302179721394209745', 'uuid-lslong': '9551034637542086022'}, 'enable': 'true', 'created': '2026-06-24T22:33:36', 'last-modified': '2026-06-24T22:33:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.285577'} 2026-06-24 22:33:38,824 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-24 22:33:38,824 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04011755 passed 2026-06-24 22:33:38,824 - DEBUG - ====Verifying policy data for ctest-vn-04011755 in API_Server ====== 2026-06-24 22:33:38,824 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-24 22:33:38,828 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f4b6c565-acf2-4aab-85c0-d1678f98e284 2026-06-24 22:33:38,837 - DEBUG - Requesting: http://10.0.0.50:8082/project/c005fd6b-e7e7-4874-9ac4-db3cb03c6a08 2026-06-24 22:33:38,906 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/73374478-4327-43d1-848c-17663825d586 2026-06-24 22:33:38,914 - DEBUG - ==>Verifying data for policy with id: 8635d0a0-eea7-4930-a718-7d95fa5db25a, fqn: ['default-domain', 'ctest-TestBasicPolicy-00835868', 'ctest-policy-allow-all-17907720'] 2026-06-24 22:33:38,914 - INFO - VN ctest-vn-04011755 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-24 22:33:38,914 - DEBUG - Verifying the vn in opserver 2026-06-24 22:33:38,914 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00835868:ctest-vn-04011755 virtual network link through opserver 10.0.0.50 2026-06-24 22:33:38,914 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-24 22:33:38,922 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00835868:ctest-vn-04011755', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00835868:ctest-vn-04011755?flat'} 2026-06-24 22:33:38,922 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00835868:ctest-vn-04011755 is found in opserver 2026-06-24 22:33:38,931 - DEBUG - Do not have enough data to verify VN in agent 2026-06-24 22:33:38,934 - DEBUG - VRF ids for VN ctest-vn-04011755: {} 2026-06-24 22:33:38,980 - DEBUG - Services list from nova: [, , ] 2026-06-24 22:33:39,953 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6028-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6028-1) 2026-06-24 22:33:40,963 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6028-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6028-1) 2026-06-24 22:33:40,963 - INFO - Waiting for VM ctest-TestBasicPolicy-00835868-76493730 to be up.. 2026-06-24 22:33:41,003 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-24 22:33:46,065 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-24 22:33:51,130 - DEBUG - VM is in ACTIVE state now 2026-06-24 22:33:51,130 - INFO - VM name : ctest-TestBasicPolicy-00835868-76493730 2026-06-24 22:33:51,193 - DEBUG - VM ctest-TestBasicPolicy-00835868-76493730 ID is e0fac430-3543-4642-9fe4-7a27104a94dc 2026-06-24 22:33:51,210 - DEBUG - VM ctest-TestBasicPolicy-00835868-76493730 launched on Node cn-jenkins-deploy-platform-ansible-os-6028-1 2026-06-24 22:33:51,267 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e0fac430-3543-4642-9fe4-7a27104a94dc 2026-06-24 22:33:51,274 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/aad44418-3fa2-4c61-821b-1b1750a17b27 2026-06-24 22:33:54,522 - 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-06-24 22:33:54,522 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-00835868-76493730 failed! 2026-06-24 22:33:54,577 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-00835868:ctest-vn-17069092 is 83.128.15.65 and allocation pool is NOT set 2026-06-24 22:33:56,644 - 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=5.37 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.34 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.344/3.857/5.370/1.513 ms') 2026-06-24 22:33:56,645 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-00835868-76493730 passed 2026-06-24 22:33:56,797 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-24 22:33:56,797 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00835868-76493730, IP 83.128.15.67, Port 22 2026-06-24 22:33:56,852 - 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-06-24 22:33:56,908 - DEBUG - VM ctest-TestBasicPolicy-00835868-76493730 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-24 22:34:01,910 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-24 22:34:01,910 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00835868-76493730, IP 83.128.15.67, Port 22 2026-06-24 22:34:02,060 - DEBUG - VM ctest-TestBasicPolicy-00835868-76493730 is ready for SSH connections 2026-06-24 22:34:02,060 - INFO - Waiting for VM ctest-TestBasicPolicy-00835868-83386540 to be up.. 2026-06-24 22:34:02,121 - DEBUG - VM is in ACTIVE state now 2026-06-24 22:34:02,121 - INFO - VM name : ctest-TestBasicPolicy-00835868-83386540 2026-06-24 22:34:02,181 - DEBUG - VM ctest-TestBasicPolicy-00835868-83386540 ID is 61c3b0d6-ba86-48a8-90bb-f984c33e4505 2026-06-24 22:34:02,181 - DEBUG - VM ctest-TestBasicPolicy-00835868-83386540 launched on Node cn-jenkins-deploy-platform-ansible-os-6028-1 2026-06-24 22:34:02,237 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/61c3b0d6-ba86-48a8-90bb-f984c33e4505 2026-06-24 22:34:02,243 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/05a2657c-034a-49be-ac37-b125f1396515 2026-06-24 22:34:03,465 - 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=2.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.390 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.390/1.629/2.869/1.239 ms') 2026-06-24 22:34:03,465 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-00835868-83386540 passed 2026-06-24 22:34:03,617 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-24 22:34:03,617 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00835868-83386540, IP 190.63.171.3, Port 22 2026-06-24 22:34:03,768 - DEBUG - VM ctest-TestBasicPolicy-00835868-83386540 is ready for SSH connections 2026-06-24 22:34:03,768 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-24 22:34:03,769 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 190.63.171.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-06-24 22:34:03,769 - DEBUG - ping -s 56 -c 3 -W 1 190.63.171.3 2026-06-24 22:34:07,623 - DEBUG - PING 190.63.171.3 (190.63.171.3): 56 data bytes 64 bytes from 190.63.171.3: seq=0 ttl=63 time=3.255 ms 64 bytes from 190.63.171.3: seq=1 ttl=63 time=0.730 ms 64 bytes from 190.63.171.3: seq=2 ttl=63 time=0.855 ms --- 190.63.171.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.730/1.613/3.255 ms 2026-06-24 22:34:07,623 - INFO - Ping to IP 190.63.171.3 from VM ctest-TestBasicPolicy-00835868-76493730 passed 2026-06-24 22:34:07,792 - DEBUG - Policy Update Response {"network-policy": {"uuid": "8635d0a0-eea7-4930-a718-7d95fa5db25a", "href": "http://10.0.0.50:8082/network-policy/8635d0a0-eea7-4930-a718-7d95fa5db25a"}} 2026-06-24 22:34:07,793 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-24 22:34:07,793 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 190.63.171.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-06-24 22:34:07,793 - DEBUG - ping -s 56 -c 3 -W 1 190.63.171.3 2026-06-24 22:34:10,908 - DEBUG - PING 190.63.171.3 (190.63.171.3): 56 data bytes --- 190.63.171.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-06-24 22:34:10,908 - WARNING - Ping to IP 190.63.171.3 from VM ctest-TestBasicPolicy-00835868-76493730 failed 2026-06-24 22:34:10,908 - INFO - Deleting VM ctest-TestBasicPolicy-00835868-83386540 2026-06-24 22:34:10,967 - INFO - Deleting VM ctest-TestBasicPolicy-00835868-76493730 2026-06-24 22:34:11,242 - INFO - Deleted policy ctest-policy-allow-all-17907720 2026-06-24 22:34:11,243 - INFO - Deleting VN ctest-vn-04011755 2026-06-24 22:34:11,266 - DEBUG - VN 73374478-4327-43d1-848c-17663825d586 still in use: Unable to complete operation on network 73374478-4327-43d1-848c-17663825d586. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6fab84cd-9172-4b92-9222-28d7b16faef4'] 2026-06-24 22:34:11,266 - WARNING - Deleting VN ctest-vn-04011755 failed..Will retry 2026-06-24 22:34:13,353 - DEBUG - Response for deleting network () 2026-06-24 22:34:13,353 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f551cb8b-c53f-48fd-900f-f0da86c4c1fd 2026-06-24 22:34:13,358 - DEBUG - Response Code: 404 2026-06-24 22:34:13,358 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-24 22:34:13,362 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f4b6c565-acf2-4aab-85c0-d1678f98e284 2026-06-24 22:34:13,418 - DEBUG - Requesting: http://10.0.0.50:8082/project/c005fd6b-e7e7-4874-9ac4-db3cb03c6a08 2026-06-24 22:34:13,482 - INFO - Validated that VN ctest-vn-04011755 is not found in API Server 2026-06-24 22:34:13,490 - DEBUG - VN ctest-vn-04011755 is not present in Agent 10.0.0.50 2026-06-24 22:34:13,490 - INFO - Validated that VN ctest-vn-04011755 is not in any agent 2026-06-24 22:34:13,501 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-04011755 info 2026-06-24 22:34:13,501 - INFO - Deleting VN ctest-vn-17069092 2026-06-24 22:34:13,582 - DEBUG - Response for deleting network () 2026-06-24 22:34:13,583 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5df61b32-b393-4f2a-9a7f-46490d85f8f1 2026-06-24 22:34:13,587 - DEBUG - Response Code: 404 2026-06-24 22:34:13,587 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-24 22:34:13,593 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f4b6c565-acf2-4aab-85c0-d1678f98e284 2026-06-24 22:34:13,645 - DEBUG - Requesting: http://10.0.0.50:8082/project/c005fd6b-e7e7-4874-9ac4-db3cb03c6a08 2026-06-24 22:34:13,729 - INFO - Validated that VN ctest-vn-17069092 is not found in API Server 2026-06-24 22:34:13,740 - DEBUG - VN ctest-vn-17069092 is not present in Agent 10.0.0.50 2026-06-24 22:34:13,740 - INFO - Validated that VN ctest-vn-17069092 is not in any agent 2026-06-24 22:34:13,754 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-17069092 info 2026-06-24 22:34:14,009 - DEBUG - No XMPP flaps were noticed during the test
2026-06-24 22:34:14,009 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:39]
2026-06-24 22:34:14,009 - INFO - -------------------------------------------------------------------------------- 2026-06-24 22:34:14,679 - INFO - Deleted project: ctest-TestBasicPolicy-00835868, ID : c005fd6b-e7e7-4874-9ac4-db3cb03c6a08