2026-01-29 17:46:16,582 - INFO - Domain Default found not creating 2026-01-29 17:46:16,740 - INFO - Project ctest-TestBasicPolicy-39996492 not found, creating it 2026-01-29 17:46:17,195 - INFO - Created Project:ctest-TestBasicPolicy-39996492, ID : 4f73dd96-7263-4ccc-80fd-e5927d3a21f6 2026-01-29 17:46:18,627 - INFO - ================================================================================ 2026-01-29 17:46:18,627 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-29 17:46:18,627 - 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-01-29 17:46:18,887 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2026-01-29 17:46:18,887 - INFO - Initial checks done. Running the testcase now 2026-01-29 17:46:18,887 - INFO - 2026-01-29 17:46:19,446 - DEBUG - Response for create_network : {'network': {'id': '52fb2014-af24-44c9-80c3-3c99fe869acd', 'name': 'ctest-vn-75213660', 'tenant_id': '4f73dd9672634ccc80fde5927d3a21f6', 'project_id': '4f73dd9672634ccc80fde5927d3a21f6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39996492', 'ctest-vn-75213660'], 'port_security_enabled': True, 'description': ''}} 2026-01-29 17:46:19,627 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c9c411c1-2497-4d42-96fc-f40adcb5dd68', 'name': '', 'tenant_id': '4f73dd9672634ccc80fde5927d3a21f6', 'network_id': '52fb2014-af24-44c9-80c3-3c99fe869acd', 'ip_version': 4, 'cidr': '4.9.182.0/26', 'allocation_pools': [{'start': '4.9.182.2', 'end': '4.9.182.62'}], 'gateway_ip': '4.9.182.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '4.9.182.2', 'tags': [], 'project_id': '4f73dd9672634ccc80fde5927d3a21f6'}} 2026-01-29 17:46:19,643 - INFO - Created VN ctest-vn-75213660 2026-01-29 17:46:19,693 - DEBUG - VN ctest-vn-75213660 UUID is 52fb2014-af24-44c9-80c3-3c99fe869acd 2026-01-29 17:46:19,978 - DEBUG - Response for create_network : {'network': {'id': '1c2032b1-7a6f-4427-bc01-509d9a1c7fe6', 'name': 'ctest-vn-99500008', 'tenant_id': '4f73dd9672634ccc80fde5927d3a21f6', 'project_id': '4f73dd9672634ccc80fde5927d3a21f6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39996492', 'ctest-vn-99500008'], 'port_security_enabled': True, 'description': ''}} 2026-01-29 17:46:20,177 - DEBUG - Response for create_subnet : {'subnet': {'id': '2a801df5-42a5-4016-b0a0-72420c2270ce', 'name': '', 'tenant_id': '4f73dd9672634ccc80fde5927d3a21f6', 'network_id': '1c2032b1-7a6f-4427-bc01-509d9a1c7fe6', 'ip_version': 4, 'cidr': '191.23.135.192/26', 'allocation_pools': [{'start': '191.23.135.194', 'end': '191.23.135.254'}], 'gateway_ip': '191.23.135.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '191.23.135.194', 'tags': [], 'project_id': '4f73dd9672634ccc80fde5927d3a21f6'}} 2026-01-29 17:46:20,194 - INFO - Created VN ctest-vn-99500008 2026-01-29 17:46:20,249 - DEBUG - VN ctest-vn-99500008 UUID is 1c2032b1-7a6f-4427-bc01-509d9a1c7fe6 2026-01-29 17:46:20,401 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-39996492:ctest-vn-75213660, 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-39996492:ctest-vn-99500008, 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-01-29 17:46:20,703 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '52fb2014-af24-44c9-80c3-3c99fe869acd', 'name': 'ctest-vn-75213660', 'tenant_id': '4f73dd9672634ccc80fde5927d3a21f6', 'project_id': '4f73dd9672634ccc80fde5927d3a21f6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c9c411c1-2497-4d42-96fc-f40adcb5dd68'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39996492', 'ctest-vn-75213660'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-39996492', 'ctest-policy-allow-all-62741833']], 'subnet_ipam': [{'subnet_cidr': '4.9.182.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-29 17:46:20,946 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1c2032b1-7a6f-4427-bc01-509d9a1c7fe6', 'name': 'ctest-vn-99500008', 'tenant_id': '4f73dd9672634ccc80fde5927d3a21f6', 'project_id': '4f73dd9672634ccc80fde5927d3a21f6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2a801df5-42a5-4016-b0a0-72420c2270ce'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39996492', 'ctest-vn-99500008'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-39996492', 'ctest-policy-allow-all-62741833']], 'subnet_ipam': [{'subnet_cidr': '191.23.135.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-29 17:46:21,117 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-29 17:46:21,428 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-29 17:46:21,458 - DEBUG - Requesting: http://10.0.0.22:8082/domain/c899d912-b5db-4d73-8995-a02a71b2b98a 2026-01-29 17:46:21,469 - DEBUG - Requesting: http://10.0.0.22:8082/project/4f73dd96-7263-4ccc-80fd-e5927d3a21f6 2026-01-29 17:46:21,541 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/52fb2014-af24-44c9-80c3-3c99fe869acd 2026-01-29 17:46:21,551 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/52fb2014-af24-44c9-80c3-3c99fe869acd 2026-01-29 17:46:21,558 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/78724cd5-885b-46c2-bee4-f0cb8302362d 2026-01-29 17:46:21,564 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/78724cd5-885b-46c2-bee4-f0cb8302362d 2026-01-29 17:46:21,570 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/481e509d-be50-42af-bd14-81cc99e26383 2026-01-29 17:46:21,575 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-29 17:46:21,576 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/52fb2014-af24-44c9-80c3-3c99fe869acd 2026-01-29 17:46:21,583 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/78724cd5-885b-46c2-bee4-f0cb8302362d 2026-01-29 17:46:21,595 - INFO - Verified VN network id 11 for VN 52fb2014-af24-44c9-80c3-3c99fe869acd 2026-01-29 17:46:21,595 - INFO - Verifications in API Server for VN ctest-vn-75213660 passed 2026-01-29 17:46:21,595 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/52fb2014-af24-44c9-80c3-3c99fe869acd 2026-01-29 17:46:21,603 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/78724cd5-885b-46c2-bee4-f0cb8302362d 2026-01-29 17:46:21,609 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/78724cd5-885b-46c2-bee4-f0cb8302362d 2026-01-29 17:46:21,614 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/481e509d-be50-42af-bd14-81cc99e26383 2026-01-29 17:46:21,624 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-39996492:ctest-vn-75213660', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-39996492', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5979408203474289865', 'uuid-lslong': '9278326289411250893'}, 'enable': 'true', 'created': '2026-01-29T17:46:19', 'last-modified': '2026-01-29T17:46:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.940053'} 2026-01-29 17:46:21,629 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-29 17:46:21,629 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-75213660 passed 2026-01-29 17:46:21,629 - DEBUG - ====Verifying policy data for ctest-vn-75213660 in API_Server ====== 2026-01-29 17:46:21,629 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-29 17:46:21,634 - DEBUG - Requesting: http://10.0.0.22:8082/domain/c899d912-b5db-4d73-8995-a02a71b2b98a 2026-01-29 17:46:21,644 - DEBUG - Requesting: http://10.0.0.22:8082/project/4f73dd96-7263-4ccc-80fd-e5927d3a21f6 2026-01-29 17:46:21,711 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/52fb2014-af24-44c9-80c3-3c99fe869acd 2026-01-29 17:46:21,719 - DEBUG - ==>Verifying data for policy with id: 7a8acfb8-19b7-450f-ba65-9be6e289175a, fqn: ['default-domain', 'ctest-TestBasicPolicy-39996492', 'ctest-policy-allow-all-62741833'] 2026-01-29 17:46:21,719 - INFO - VN ctest-vn-75213660 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-29 17:46:21,720 - DEBUG - Verifying the vn in opserver 2026-01-29 17:46:21,720 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-39996492:ctest-vn-75213660 virtual network link through opserver 10.0.0.22 2026-01-29 17:46:21,720 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-01-29 17:46:22,009 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-01-29 17:46:22,071 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-39996492:ctest-vn-75213660', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-39996492:ctest-vn-75213660?flat'} 2026-01-29 17:46:22,071 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-39996492:ctest-vn-75213660 is found in opserver 2026-01-29 17:46:22,080 - DEBUG - Do not have enough data to verify VN in agent 2026-01-29 17:46:22,084 - DEBUG - VRF ids for VN ctest-vn-75213660: {} 2026-01-29 17:46:22,084 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-29 17:46:22,089 - DEBUG - Requesting: http://10.0.0.22:8082/domain/c899d912-b5db-4d73-8995-a02a71b2b98a 2026-01-29 17:46:22,099 - DEBUG - Requesting: http://10.0.0.22:8082/project/4f73dd96-7263-4ccc-80fd-e5927d3a21f6 2026-01-29 17:46:22,171 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/1c2032b1-7a6f-4427-bc01-509d9a1c7fe6 2026-01-29 17:46:22,183 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/1c2032b1-7a6f-4427-bc01-509d9a1c7fe6 2026-01-29 17:46:22,193 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6d652a5e-cf3a-41b4-8b29-de3fff1f8da6 2026-01-29 17:46:22,201 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6d652a5e-cf3a-41b4-8b29-de3fff1f8da6 2026-01-29 17:46:22,208 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/0f2e3bf4-4e7b-4a2d-9308-e7353262309e 2026-01-29 17:46:22,214 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-29 17:46:22,214 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/1c2032b1-7a6f-4427-bc01-509d9a1c7fe6 2026-01-29 17:46:22,222 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6d652a5e-cf3a-41b4-8b29-de3fff1f8da6 2026-01-29 17:46:22,235 - INFO - Verified VN network id 12 for VN 1c2032b1-7a6f-4427-bc01-509d9a1c7fe6 2026-01-29 17:46:22,235 - INFO - Verifications in API Server for VN ctest-vn-99500008 passed 2026-01-29 17:46:22,236 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/1c2032b1-7a6f-4427-bc01-509d9a1c7fe6 2026-01-29 17:46:22,244 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6d652a5e-cf3a-41b4-8b29-de3fff1f8da6 2026-01-29 17:46:22,251 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6d652a5e-cf3a-41b4-8b29-de3fff1f8da6 2026-01-29 17:46:22,259 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/0f2e3bf4-4e7b-4a2d-9308-e7353262309e 2026-01-29 17:46:22,272 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-39996492:ctest-vn-99500008', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-39996492', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2026675570161435687', 'uuid-lslong': '13547197791932809190'}, 'enable': 'true', 'created': '2026-01-29T17:46:19', 'last-modified': '2026-01-29T17:46:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.358314'} 2026-01-29 17:46:22,279 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-29 17:46:22,280 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99500008 passed 2026-01-29 17:46:22,280 - DEBUG - ====Verifying policy data for ctest-vn-99500008 in API_Server ====== 2026-01-29 17:46:22,280 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-29 17:46:22,286 - DEBUG - Requesting: http://10.0.0.22:8082/domain/c899d912-b5db-4d73-8995-a02a71b2b98a 2026-01-29 17:46:22,298 - DEBUG - Requesting: http://10.0.0.22:8082/project/4f73dd96-7263-4ccc-80fd-e5927d3a21f6 2026-01-29 17:46:22,366 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/1c2032b1-7a6f-4427-bc01-509d9a1c7fe6 2026-01-29 17:46:22,377 - DEBUG - ==>Verifying data for policy with id: 7a8acfb8-19b7-450f-ba65-9be6e289175a, fqn: ['default-domain', 'ctest-TestBasicPolicy-39996492', 'ctest-policy-allow-all-62741833'] 2026-01-29 17:46:22,377 - INFO - VN ctest-vn-99500008 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-29 17:46:22,377 - DEBUG - Verifying the vn in opserver 2026-01-29 17:46:22,377 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-39996492:ctest-vn-99500008 virtual network link through opserver 10.0.0.22 2026-01-29 17:46:22,377 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-01-29 17:46:22,388 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-39996492:ctest-vn-99500008', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-39996492:ctest-vn-99500008?flat'} 2026-01-29 17:46:22,388 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-39996492:ctest-vn-99500008 is found in opserver 2026-01-29 17:46:22,398 - DEBUG - Do not have enough data to verify VN in agent 2026-01-29 17:46:22,403 - DEBUG - VRF ids for VN ctest-vn-99500008: {} 2026-01-29 17:46:22,458 - DEBUG - Services list from nova: [, , ] 2026-01-29 17:46:23,493 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5134-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5134-1) 2026-01-29 17:46:24,669 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5134-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5134-1) 2026-01-29 17:46:24,670 - INFO - Waiting for VM ctest-TestBasicPolicy-39996492-85491689 to be up.. 2026-01-29 17:46:24,740 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-29 17:46:29,816 - DEBUG - VM is in ACTIVE state now 2026-01-29 17:46:29,816 - INFO - VM name : ctest-TestBasicPolicy-39996492-85491689 2026-01-29 17:46:29,885 - DEBUG - VM ctest-TestBasicPolicy-39996492-85491689 ID is 876c8dce-5aa1-41ac-a3cd-1f0af6fc089a 2026-01-29 17:46:29,903 - DEBUG - VM ctest-TestBasicPolicy-39996492-85491689 launched on Node cn-jenkins-deploy-platform-ansible-os-5134-1 2026-01-29 17:46:29,978 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/876c8dce-5aa1-41ac-a3cd-1f0af6fc089a 2026-01-29 17:46:29,987 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/433871a0-25da-4e43-8557-20d49f34bdcd 2026-01-29 17:46:33,226 - 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 1001ms') 2026-01-29 17:46:33,226 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-39996492-85491689 failed! 2026-01-29 17:46:33,281 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-39996492:ctest-vn-75213660 is 4.9.182.1 and allocation pool is NOT set 2026-01-29 17:46:35,347 - 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=8.56 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 1002ms\r\nrtt min/avg/max/mdev = 1.834/5.195/8.557/3.361 ms') 2026-01-29 17:46:35,347 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-39996492-85491689 passed 2026-01-29 17:46:35,497 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 17:46:35,497 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-39996492-85491689, IP 4.9.182.3, Port 22 2026-01-29 17:46:35,553 - 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-01-29 17:46:35,622 - DEBUG - VM ctest-TestBasicPolicy-39996492-85491689 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-29 17:46:40,623 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 17:46:40,623 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-39996492-85491689, IP 4.9.182.3, Port 22 2026-01-29 17:46:40,781 - DEBUG - VM ctest-TestBasicPolicy-39996492-85491689 is ready for SSH connections 2026-01-29 17:46:40,781 - INFO - Waiting for VM ctest-TestBasicPolicy-39996492-89932604 to be up.. 2026-01-29 17:46:40,861 - DEBUG - VM is in ACTIVE state now 2026-01-29 17:46:40,861 - INFO - VM name : ctest-TestBasicPolicy-39996492-89932604 2026-01-29 17:46:40,934 - DEBUG - VM ctest-TestBasicPolicy-39996492-89932604 ID is 61764a54-95a3-4f46-8a57-f11813325c1c 2026-01-29 17:46:40,934 - DEBUG - VM ctest-TestBasicPolicy-39996492-89932604 launched on Node cn-jenkins-deploy-platform-ansible-os-5134-1 2026-01-29 17:46:41,009 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/61764a54-95a3-4f46-8a57-f11813325c1c 2026-01-29 17:46:41,016 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/0f5c2856-de36-4163-b80a-559dd199223a 2026-01-29 17:46:42,253 - 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.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.431 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.431/1.640/2.849/1.209 ms') 2026-01-29 17:46:42,254 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-39996492-89932604 passed 2026-01-29 17:46:42,405 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 17:46:42,405 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-39996492-89932604, IP 191.23.135.195, Port 22 2026-01-29 17:46:42,560 - DEBUG - VM ctest-TestBasicPolicy-39996492-89932604 is ready for SSH connections 2026-01-29 17:46:42,560 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 17:46:42,560 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 191.23.135.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-01-29 17:46:42,560 - DEBUG - ping -s 56 -c 3 -W 1 191.23.135.195 2026-01-29 17:46:46,574 - DEBUG - PING 191.23.135.195 (191.23.135.195): 56 data bytes 64 bytes from 191.23.135.195: seq=0 ttl=63 time=3.591 ms 64 bytes from 191.23.135.195: seq=1 ttl=63 time=1.012 ms 64 bytes from 191.23.135.195: seq=2 ttl=63 time=0.863 ms --- 191.23.135.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.863/1.822/3.591 ms 2026-01-29 17:46:46,574 - INFO - Ping to IP 191.23.135.195 from VM ctest-TestBasicPolicy-39996492-85491689 passed 2026-01-29 17:46:46,745 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7a8acfb8-19b7-450f-ba65-9be6e289175a", "href": "http://10.0.0.22:8082/network-policy/7a8acfb8-19b7-450f-ba65-9be6e289175a"}} 2026-01-29 17:46:46,745 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 17:46:46,745 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 191.23.135.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-01-29 17:46:46,745 - DEBUG - ping -s 56 -c 3 -W 1 191.23.135.195 2026-01-29 17:46:49,950 - DEBUG - PING 191.23.135.195 (191.23.135.195): 56 data bytes --- 191.23.135.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-29 17:46:49,950 - WARNING - Ping to IP 191.23.135.195 from VM ctest-TestBasicPolicy-39996492-85491689 failed 2026-01-29 17:46:49,950 - INFO - Deleting VM ctest-TestBasicPolicy-39996492-89932604 2026-01-29 17:46:50,019 - INFO - Deleting VM ctest-TestBasicPolicy-39996492-85491689 2026-01-29 17:46:50,363 - INFO - Deleted policy ctest-policy-allow-all-62741833 2026-01-29 17:46:50,364 - INFO - Deleting VN ctest-vn-99500008 2026-01-29 17:46:50,397 - DEBUG - VN 1c2032b1-7a6f-4427-bc01-509d9a1c7fe6 still in use: Unable to complete operation on network 1c2032b1-7a6f-4427-bc01-509d9a1c7fe6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-95b3ecf0-9b3b-47d2-a2ca-41099f560eef'] 2026-01-29 17:46:50,397 - WARNING - Deleting VN ctest-vn-99500008 failed..Will retry 2026-01-29 17:46:52,496 - DEBUG - Response for deleting network () 2026-01-29 17:46:52,496 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6d652a5e-cf3a-41b4-8b29-de3fff1f8da6 2026-01-29 17:46:52,501 - DEBUG - Response Code: 404 2026-01-29 17:46:52,501 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-29 17:46:52,506 - DEBUG - Requesting: http://10.0.0.22:8082/domain/c899d912-b5db-4d73-8995-a02a71b2b98a 2026-01-29 17:46:52,558 - DEBUG - Requesting: http://10.0.0.22:8082/project/4f73dd96-7263-4ccc-80fd-e5927d3a21f6 2026-01-29 17:46:52,623 - INFO - Validated that VN ctest-vn-99500008 is not found in API Server 2026-01-29 17:46:52,632 - DEBUG - VN ctest-vn-99500008 is not present in Agent 10.0.0.22 2026-01-29 17:46:52,632 - INFO - Validated that VN ctest-vn-99500008 is not in any agent 2026-01-29 17:46:52,644 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-99500008 info 2026-01-29 17:46:52,644 - INFO - Deleting VN ctest-vn-75213660 2026-01-29 17:46:52,731 - DEBUG - Response for deleting network () 2026-01-29 17:46:52,731 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/78724cd5-885b-46c2-bee4-f0cb8302362d 2026-01-29 17:46:52,736 - DEBUG - Response Code: 404 2026-01-29 17:46:52,736 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-29 17:46:52,740 - DEBUG - Requesting: http://10.0.0.22:8082/domain/c899d912-b5db-4d73-8995-a02a71b2b98a 2026-01-29 17:46:52,794 - DEBUG - Requesting: http://10.0.0.22:8082/project/4f73dd96-7263-4ccc-80fd-e5927d3a21f6 2026-01-29 17:46:52,860 - INFO - Validated that VN ctest-vn-75213660 is not found in API Server 2026-01-29 17:46:52,868 - DEBUG - VN ctest-vn-75213660 is not present in Agent 10.0.0.22 2026-01-29 17:46:52,868 - INFO - Validated that VN ctest-vn-75213660 is not in any agent 2026-01-29 17:46:52,880 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-75213660 info 2026-01-29 17:46:53,133 - DEBUG - No XMPP flaps were noticed during the test
2026-01-29 17:46:53,133 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2026-01-29 17:46:53,133 - INFO - -------------------------------------------------------------------------------- 2026-01-29 17:46:53,798 - INFO - Deleted project: ctest-TestBasicPolicy-39996492, ID : 4f73dd96-7263-4ccc-80fd-e5927d3a21f6