2026-01-28 12:14:10,075 - INFO - Domain Default found not creating 2026-01-28 12:14:10,358 - INFO - Project ctest-TestBasicPolicy-64384484 not found, creating it 2026-01-28 12:14:10,871 - INFO - Created Project:ctest-TestBasicPolicy-64384484, ID : b31fe01c-0b47-414f-a8ae-fc524baa369a 2026-01-28 12:14:12,689 - INFO - ================================================================================ 2026-01-28 12:14:12,689 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-28 12:14:12,689 - 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-28 12:14:12,988 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.17': '0'}} with 2026-01-28 12:14:12,988 - INFO - Initial checks done. Running the testcase now 2026-01-28 12:14:12,988 - INFO - 2026-01-28 12:14:13,704 - DEBUG - Response for create_network : {'network': {'id': '50d81cad-1f2d-4ffa-ac13-c5726d2e78fe', 'name': 'ctest-vn-89631853', 'tenant_id': 'b31fe01c0b47414fa8aefc524baa369a', 'project_id': 'b31fe01c0b47414fa8aefc524baa369a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64384484', 'ctest-vn-89631853'], 'port_security_enabled': True, 'description': ''}} 2026-01-28 12:14:13,938 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dc5b67db-578e-44f0-aa1e-7e5e5fe3cfa8', 'name': '', 'tenant_id': 'b31fe01c0b47414fa8aefc524baa369a', 'network_id': '50d81cad-1f2d-4ffa-ac13-c5726d2e78fe', 'ip_version': 4, 'cidr': '57.58.160.128/26', 'allocation_pools': [{'start': '57.58.160.130', 'end': '57.58.160.190'}], 'gateway_ip': '57.58.160.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.58.160.130', 'tags': [], 'project_id': 'b31fe01c0b47414fa8aefc524baa369a'}} 2026-01-28 12:14:13,963 - INFO - Created VN ctest-vn-89631853 2026-01-28 12:14:14,022 - DEBUG - VN ctest-vn-89631853 UUID is 50d81cad-1f2d-4ffa-ac13-c5726d2e78fe 2026-01-28 12:14:14,352 - DEBUG - Response for create_network : {'network': {'id': '1bf5b5b5-a198-4ab9-8077-da0de85f8a5c', 'name': 'ctest-vn-74405609', 'tenant_id': 'b31fe01c0b47414fa8aefc524baa369a', 'project_id': 'b31fe01c0b47414fa8aefc524baa369a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64384484', 'ctest-vn-74405609'], 'port_security_enabled': True, 'description': ''}} 2026-01-28 12:14:14,557 - DEBUG - Response for create_subnet : {'subnet': {'id': '2b75a2b6-fb17-49e3-aa9c-2a5c41247e47', 'name': '', 'tenant_id': 'b31fe01c0b47414fa8aefc524baa369a', 'network_id': '1bf5b5b5-a198-4ab9-8077-da0de85f8a5c', 'ip_version': 4, 'cidr': '12.68.79.0/26', 'allocation_pools': [{'start': '12.68.79.2', 'end': '12.68.79.62'}], 'gateway_ip': '12.68.79.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '12.68.79.2', 'tags': [], 'project_id': 'b31fe01c0b47414fa8aefc524baa369a'}} 2026-01-28 12:14:14,580 - INFO - Created VN ctest-vn-74405609 2026-01-28 12:14:14,634 - DEBUG - VN ctest-vn-74405609 UUID is 1bf5b5b5-a198-4ab9-8077-da0de85f8a5c 2026-01-28 12:14:14,763 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-64384484:ctest-vn-89631853, 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-64384484:ctest-vn-74405609, 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-28 12:14:15,097 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '50d81cad-1f2d-4ffa-ac13-c5726d2e78fe', 'name': 'ctest-vn-89631853', 'tenant_id': 'b31fe01c0b47414fa8aefc524baa369a', 'project_id': 'b31fe01c0b47414fa8aefc524baa369a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['dc5b67db-578e-44f0-aa1e-7e5e5fe3cfa8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64384484', 'ctest-vn-89631853'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-64384484', 'ctest-policy-allow-all-79828599']], 'subnet_ipam': [{'subnet_cidr': '57.58.160.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-28 12:14:15,364 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1bf5b5b5-a198-4ab9-8077-da0de85f8a5c', 'name': 'ctest-vn-74405609', 'tenant_id': 'b31fe01c0b47414fa8aefc524baa369a', 'project_id': 'b31fe01c0b47414fa8aefc524baa369a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2b75a2b6-fb17-49e3-aa9c-2a5c41247e47'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64384484', 'ctest-vn-74405609'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-64384484', 'ctest-policy-allow-all-79828599']], 'subnet_ipam': [{'subnet_cidr': '12.68.79.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-28 12:14:15,510 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-01-28 12:14:15,821 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-01-28 12:14:15,861 - DEBUG - Requesting: http://10.0.0.41:8082/domain/42cc43ea-94fc-4dc3-b416-505084781ce3 2026-01-28 12:14:15,877 - DEBUG - Requesting: http://10.0.0.41:8082/project/b31fe01c-0b47-414f-a8ae-fc524baa369a 2026-01-28 12:14:15,950 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/50d81cad-1f2d-4ffa-ac13-c5726d2e78fe 2026-01-28 12:14:15,961 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/50d81cad-1f2d-4ffa-ac13-c5726d2e78fe 2026-01-28 12:14:15,971 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/4f486432-f6ba-46af-9cde-b5c6824600b3 2026-01-28 12:14:15,979 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/4f486432-f6ba-46af-9cde-b5c6824600b3 2026-01-28 12:14:15,994 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/8a81c241-b5c4-4add-a4c0-1cec5270ed71 2026-01-28 12:14:16,001 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-28 12:14:16,002 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/50d81cad-1f2d-4ffa-ac13-c5726d2e78fe 2026-01-28 12:14:16,011 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/4f486432-f6ba-46af-9cde-b5c6824600b3 2026-01-28 12:14:16,027 - INFO - Verified VN network id 11 for VN 50d81cad-1f2d-4ffa-ac13-c5726d2e78fe 2026-01-28 12:14:16,027 - INFO - Verifications in API Server for VN ctest-vn-89631853 passed 2026-01-28 12:14:16,027 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/50d81cad-1f2d-4ffa-ac13-c5726d2e78fe 2026-01-28 12:14:16,036 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/4f486432-f6ba-46af-9cde-b5c6824600b3 2026-01-28 12:14:16,044 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/4f486432-f6ba-46af-9cde-b5c6824600b3 2026-01-28 12:14:16,050 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/8a81c241-b5c4-4add-a4c0-1cec5270ed71 2026-01-28 12:14:16,063 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-64384484:ctest-vn-89631853', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-64384484', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5825437647881719802', 'uuid-lslong': '12399471294329813246'}, 'enable': 'true', 'created': '2026-01-28T12:14:13', 'last-modified': '2026-01-28T12:14:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.003051'} 2026-01-28 12:14:16,069 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-28 12:14:16,069 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-89631853 passed 2026-01-28 12:14:16,069 - DEBUG - ====Verifying policy data for ctest-vn-89631853 in API_Server ====== 2026-01-28 12:14:16,069 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-01-28 12:14:16,075 - DEBUG - Requesting: http://10.0.0.41:8082/domain/42cc43ea-94fc-4dc3-b416-505084781ce3 2026-01-28 12:14:16,090 - DEBUG - Requesting: http://10.0.0.41:8082/project/b31fe01c-0b47-414f-a8ae-fc524baa369a 2026-01-28 12:14:16,162 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/50d81cad-1f2d-4ffa-ac13-c5726d2e78fe 2026-01-28 12:14:16,172 - DEBUG - ==>Verifying data for policy with id: 8750fd3a-7cd1-45da-b6b8-5c06847ccb8a, fqn: ['default-domain', 'ctest-TestBasicPolicy-64384484', 'ctest-policy-allow-all-79828599'] 2026-01-28 12:14:16,172 - INFO - VN ctest-vn-89631853 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-28 12:14:16,172 - DEBUG - Verifying the vn in opserver 2026-01-28 12:14:16,172 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-64384484:ctest-vn-89631853 virtual network link through opserver 10.0.0.41 2026-01-28 12:14:16,172 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2026-01-28 12:14:16,476 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2026-01-28 12:14:16,570 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-64384484:ctest-vn-89631853', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-64384484:ctest-vn-89631853?flat'} 2026-01-28 12:14:16,570 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-64384484:ctest-vn-89631853 is found in opserver 2026-01-28 12:14:16,585 - DEBUG - Do not have enough data to verify VN in agent 2026-01-28 12:14:16,592 - DEBUG - VRF ids for VN ctest-vn-89631853: {} 2026-01-28 12:14:16,592 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-01-28 12:14:16,601 - DEBUG - Requesting: http://10.0.0.41:8082/domain/42cc43ea-94fc-4dc3-b416-505084781ce3 2026-01-28 12:14:16,619 - DEBUG - Requesting: http://10.0.0.41:8082/project/b31fe01c-0b47-414f-a8ae-fc524baa369a 2026-01-28 12:14:16,697 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/1bf5b5b5-a198-4ab9-8077-da0de85f8a5c 2026-01-28 12:14:16,713 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/1bf5b5b5-a198-4ab9-8077-da0de85f8a5c 2026-01-28 12:14:16,723 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/8655d19c-37c6-428d-9364-4bdbe0eb7de4 2026-01-28 12:14:16,734 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/8655d19c-37c6-428d-9364-4bdbe0eb7de4 2026-01-28 12:14:16,742 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/5401b392-dd37-4c5f-8831-22d530e4f181 2026-01-28 12:14:16,752 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-28 12:14:16,752 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/1bf5b5b5-a198-4ab9-8077-da0de85f8a5c 2026-01-28 12:14:16,762 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/8655d19c-37c6-428d-9364-4bdbe0eb7de4 2026-01-28 12:14:16,780 - INFO - Verified VN network id 12 for VN 1bf5b5b5-a198-4ab9-8077-da0de85f8a5c 2026-01-28 12:14:16,780 - INFO - Verifications in API Server for VN ctest-vn-74405609 passed 2026-01-28 12:14:16,780 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/1bf5b5b5-a198-4ab9-8077-da0de85f8a5c 2026-01-28 12:14:16,794 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/8655d19c-37c6-428d-9364-4bdbe0eb7de4 2026-01-28 12:14:16,804 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/8655d19c-37c6-428d-9364-4bdbe0eb7de4 2026-01-28 12:14:16,813 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/5401b392-dd37-4c5f-8831-22d530e4f181 2026-01-28 12:14:16,827 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-64384484:ctest-vn-74405609', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-64384484', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2014716200022985401', 'uuid-lslong': '9257107312351349340'}, 'enable': 'true', 'created': '2026-01-28T12:14:14', 'last-modified': '2026-01-28T12:14:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.492381'} 2026-01-28 12:14:16,833 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-28 12:14:16,833 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-74405609 passed 2026-01-28 12:14:16,833 - DEBUG - ====Verifying policy data for ctest-vn-74405609 in API_Server ====== 2026-01-28 12:14:16,833 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-01-28 12:14:16,840 - DEBUG - Requesting: http://10.0.0.41:8082/domain/42cc43ea-94fc-4dc3-b416-505084781ce3 2026-01-28 12:14:16,853 - DEBUG - Requesting: http://10.0.0.41:8082/project/b31fe01c-0b47-414f-a8ae-fc524baa369a 2026-01-28 12:14:16,927 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/1bf5b5b5-a198-4ab9-8077-da0de85f8a5c 2026-01-28 12:14:16,938 - DEBUG - ==>Verifying data for policy with id: 8750fd3a-7cd1-45da-b6b8-5c06847ccb8a, fqn: ['default-domain', 'ctest-TestBasicPolicy-64384484', 'ctest-policy-allow-all-79828599'] 2026-01-28 12:14:16,938 - INFO - VN ctest-vn-74405609 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-28 12:14:16,938 - DEBUG - Verifying the vn in opserver 2026-01-28 12:14:16,938 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-64384484:ctest-vn-74405609 virtual network link through opserver 10.0.0.41 2026-01-28 12:14:16,938 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2026-01-28 12:14:16,951 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-64384484:ctest-vn-74405609', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-64384484:ctest-vn-74405609?flat'} 2026-01-28 12:14:16,951 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-64384484:ctest-vn-74405609 is found in opserver 2026-01-28 12:14:16,966 - DEBUG - Do not have enough data to verify VN in agent 2026-01-28 12:14:16,972 - DEBUG - VRF ids for VN ctest-vn-74405609: {} 2026-01-28 12:14:17,047 - DEBUG - Services list from nova: [, , ] 2026-01-28 12:14:18,240 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5090-30), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5090-30) 2026-01-28 12:14:19,518 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5090-30), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5090-30) 2026-01-28 12:14:19,519 - INFO - Waiting for VM ctest-TestBasicPolicy-64384484-26030080 to be up.. 2026-01-28 12:14:19,610 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-28 12:14:24,710 - DEBUG - VM is in ACTIVE state now 2026-01-28 12:14:24,710 - INFO - VM name : ctest-TestBasicPolicy-64384484-26030080 2026-01-28 12:14:24,810 - DEBUG - VM ctest-TestBasicPolicy-64384484-26030080 ID is 25ef6c97-9867-48f3-8812-1a5c056ca3dc 2026-01-28 12:14:24,836 - DEBUG - VM ctest-TestBasicPolicy-64384484-26030080 launched on Node cn-jenkins-deploy-platform-ansible-os-5090-30 2026-01-28 12:14:24,933 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/25ef6c97-9867-48f3-8812-1a5c056ca3dc 2026-01-28 12:14:24,944 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/be82e32c-8f1b-442e-9324-45e9e30b093e 2026-01-28 12:14:28,209 - 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 1003ms') 2026-01-28 12:14:28,209 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-64384484-26030080 failed! 2026-01-28 12:14:28,270 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-64384484:ctest-vn-89631853 is 57.58.160.129 and allocation pool is NOT set 2026-01-28 12:14:30,338 - 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=7.92 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.00 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.004/4.462/7.920/3.458 ms') 2026-01-28 12:14:30,338 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-64384484-26030080 passed 2026-01-28 12:14:30,510 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 12:14:30,511 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-64384484-26030080, IP 57.58.160.131, Port 22 2026-01-28 12:14:30,581 - 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-28 12:14:30,683 - DEBUG - VM ctest-TestBasicPolicy-64384484-26030080 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-28 12:14:35,684 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 12:14:35,684 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-64384484-26030080, IP 57.58.160.131, Port 22 2026-01-28 12:14:35,864 - DEBUG - VM ctest-TestBasicPolicy-64384484-26030080 is ready for SSH connections 2026-01-28 12:14:35,864 - INFO - Waiting for VM ctest-TestBasicPolicy-64384484-20918474 to be up.. 2026-01-28 12:14:35,965 - DEBUG - VM is in ACTIVE state now 2026-01-28 12:14:35,965 - INFO - VM name : ctest-TestBasicPolicy-64384484-20918474 2026-01-28 12:14:36,067 - DEBUG - VM ctest-TestBasicPolicy-64384484-20918474 ID is e72629df-104a-4dcb-bc4a-4fce39f7d383 2026-01-28 12:14:36,068 - DEBUG - VM ctest-TestBasicPolicy-64384484-20918474 launched on Node cn-jenkins-deploy-platform-ansible-os-5090-30 2026-01-28 12:14:36,179 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/e72629df-104a-4dcb-bc4a-4fce39f7d383 2026-01-28 12:14:36,191 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/6f6e28e8-5fe9-4e39-ad19-d57afc73abfb 2026-01-28 12:14:37,458 - 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=7.10 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.529 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.529/3.812/7.096/3.283 ms') 2026-01-28 12:14:37,458 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-64384484-20918474 passed 2026-01-28 12:14:37,618 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 12:14:37,618 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-64384484-20918474, IP 12.68.79.3, Port 22 2026-01-28 12:14:37,788 - DEBUG - VM ctest-TestBasicPolicy-64384484-20918474 is ready for SSH connections 2026-01-28 12:14:37,788 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 12:14:37,788 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 12.68.79.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-01-28 12:14:37,788 - DEBUG - ping -s 56 -c 3 -W 1 12.68.79.3 2026-01-28 12:14:42,039 - DEBUG - PING 12.68.79.3 (12.68.79.3): 56 data bytes 64 bytes from 12.68.79.3: seq=0 ttl=63 time=5.025 ms 64 bytes from 12.68.79.3: seq=1 ttl=63 time=1.339 ms 64 bytes from 12.68.79.3: seq=2 ttl=63 time=1.250 ms --- 12.68.79.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.250/2.538/5.025 ms 2026-01-28 12:14:42,039 - INFO - Ping to IP 12.68.79.3 from VM ctest-TestBasicPolicy-64384484-26030080 passed 2026-01-28 12:14:42,238 - DEBUG - Policy Update Response {"network-policy": {"uuid": "8750fd3a-7cd1-45da-b6b8-5c06847ccb8a", "href": "http://10.0.0.41:8082/network-policy/8750fd3a-7cd1-45da-b6b8-5c06847ccb8a"}} 2026-01-28 12:14:42,238 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 12:14:42,238 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 12.68.79.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-01-28 12:14:42,238 - DEBUG - ping -s 56 -c 3 -W 1 12.68.79.3 2026-01-28 12:14:45,488 - DEBUG - PING 12.68.79.3 (12.68.79.3): 56 data bytes --- 12.68.79.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-28 12:14:45,488 - WARNING - Ping to IP 12.68.79.3 from VM ctest-TestBasicPolicy-64384484-26030080 failed 2026-01-28 12:14:45,488 - INFO - Deleting VM ctest-TestBasicPolicy-64384484-20918474 2026-01-28 12:14:45,588 - INFO - Deleting VM ctest-TestBasicPolicy-64384484-26030080 2026-01-28 12:14:46,060 - INFO - Deleted policy ctest-policy-allow-all-79828599 2026-01-28 12:14:46,060 - INFO - Deleting VN ctest-vn-74405609 2026-01-28 12:14:46,115 - DEBUG - VN 1bf5b5b5-a198-4ab9-8077-da0de85f8a5c still in use: Unable to complete operation on network 1bf5b5b5-a198-4ab9-8077-da0de85f8a5c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-27b1da37-4f3c-4f7b-8f3c-0b532c3320cd'] 2026-01-28 12:14:46,115 - WARNING - Deleting VN ctest-vn-74405609 failed..Will retry 2026-01-28 12:14:48,251 - DEBUG - Response for deleting network () 2026-01-28 12:14:48,251 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/8655d19c-37c6-428d-9364-4bdbe0eb7de4 2026-01-28 12:14:48,260 - DEBUG - Response Code: 404 2026-01-28 12:14:48,260 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-01-28 12:14:48,266 - DEBUG - Requesting: http://10.0.0.41:8082/domain/42cc43ea-94fc-4dc3-b416-505084781ce3 2026-01-28 12:14:48,325 - DEBUG - Requesting: http://10.0.0.41:8082/project/b31fe01c-0b47-414f-a8ae-fc524baa369a 2026-01-28 12:14:48,404 - INFO - Validated that VN ctest-vn-74405609 is not found in API Server 2026-01-28 12:14:48,417 - DEBUG - VN ctest-vn-74405609 is not present in Agent 10.0.0.41 2026-01-28 12:14:48,417 - INFO - Validated that VN ctest-vn-74405609 is not in any agent 2026-01-28 12:14:48,435 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-74405609 info 2026-01-28 12:14:48,435 - INFO - Deleting VN ctest-vn-89631853 2026-01-28 12:14:48,564 - DEBUG - Response for deleting network () 2026-01-28 12:14:48,564 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/4f486432-f6ba-46af-9cde-b5c6824600b3 2026-01-28 12:14:48,572 - DEBUG - Response Code: 404 2026-01-28 12:14:48,572 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-01-28 12:14:48,578 - DEBUG - Requesting: http://10.0.0.41:8082/domain/42cc43ea-94fc-4dc3-b416-505084781ce3 2026-01-28 12:14:48,636 - DEBUG - Requesting: http://10.0.0.41:8082/project/b31fe01c-0b47-414f-a8ae-fc524baa369a 2026-01-28 12:14:48,712 - INFO - Validated that VN ctest-vn-89631853 is not found in API Server 2026-01-28 12:14:48,723 - DEBUG - VN ctest-vn-89631853 is not present in Agent 10.0.0.41 2026-01-28 12:14:48,723 - INFO - Validated that VN ctest-vn-89631853 is not in any agent 2026-01-28 12:14:48,746 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-89631853 info 2026-01-28 12:14:49,021 - DEBUG - No XMPP flaps were noticed during the test
2026-01-28 12:14:49,021 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:37]
2026-01-28 12:14:49,021 - INFO - -------------------------------------------------------------------------------- 2026-01-28 12:14:49,779 - INFO - Deleted project: ctest-TestBasicPolicy-64384484, ID : b31fe01c-0b47-414f-a8ae-fc524baa369a