2026-10-06 02:26:42,690 - INFO - Domain Default found not creating 2026-10-06 02:26:42,838 - INFO - Project ctest-TestBasicPolicy-36598553 not found, creating it 2026-10-06 02:26:43,280 - INFO - Created Project:ctest-TestBasicPolicy-36598553, ID : 5d5d6a66-2b14-4762-99cd-7e6a968e036f 2026-10-06 02:26:44,885 - INFO - ================================================================================ 2026-10-06 02:26:44,886 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-10-06 02:26:44,886 - 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-10-06 02:26:45,140 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.25': '0'}} with 2026-10-06 02:26:45,140 - INFO - Initial checks done. Running the testcase now 2026-10-06 02:26:45,140 - INFO - 2026-10-06 02:26:45,732 - DEBUG - Response for create_network : {'network': {'id': '38760bee-05e8-4e6c-b3d8-96996cb1128a', 'name': 'ctest-vn-16541635', 'tenant_id': '5d5d6a662b14476299cd7e6a968e036f', 'project_id': '5d5d6a662b14476299cd7e6a968e036f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36598553', 'ctest-vn-16541635'], 'port_security_enabled': True, 'description': ''}} 2026-10-06 02:26:45,903 - DEBUG - Response for create_subnet : {'subnet': {'id': '5681a356-a9e8-4175-a1f5-59b8e173ecc8', 'name': '', 'tenant_id': '5d5d6a662b14476299cd7e6a968e036f', 'network_id': '38760bee-05e8-4e6c-b3d8-96996cb1128a', 'ip_version': 4, 'cidr': '80.235.113.192/26', 'allocation_pools': [{'start': '80.235.113.194', 'end': '80.235.113.254'}], 'gateway_ip': '80.235.113.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.235.113.194', 'tags': [], 'project_id': '5d5d6a662b14476299cd7e6a968e036f'}} 2026-10-06 02:26:45,917 - INFO - Created VN ctest-vn-16541635 2026-10-06 02:26:45,966 - DEBUG - VN ctest-vn-16541635 UUID is 38760bee-05e8-4e6c-b3d8-96996cb1128a 2026-10-06 02:26:46,291 - DEBUG - Response for create_network : {'network': {'id': 'c58c2fcc-e5f4-4c10-b2dc-0ffc0b140ce0', 'name': 'ctest-vn-03899292', 'tenant_id': '5d5d6a662b14476299cd7e6a968e036f', 'project_id': '5d5d6a662b14476299cd7e6a968e036f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36598553', 'ctest-vn-03899292'], 'port_security_enabled': True, 'description': ''}} 2026-10-06 02:26:46,445 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c60d1b63-86da-4b00-b2bd-337aeb002b43', 'name': '', 'tenant_id': '5d5d6a662b14476299cd7e6a968e036f', 'network_id': 'c58c2fcc-e5f4-4c10-b2dc-0ffc0b140ce0', 'ip_version': 4, 'cidr': '201.242.110.64/26', 'allocation_pools': [{'start': '201.242.110.66', 'end': '201.242.110.126'}], 'gateway_ip': '201.242.110.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.242.110.66', 'tags': [], 'project_id': '5d5d6a662b14476299cd7e6a968e036f'}} 2026-10-06 02:26:46,460 - INFO - Created VN ctest-vn-03899292 2026-10-06 02:26:46,510 - DEBUG - VN ctest-vn-03899292 UUID is c58c2fcc-e5f4-4c10-b2dc-0ffc0b140ce0 2026-10-06 02:26:46,658 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-36598553:ctest-vn-16541635, 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-36598553:ctest-vn-03899292, 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-10-06 02:26:46,950 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '38760bee-05e8-4e6c-b3d8-96996cb1128a', 'name': 'ctest-vn-16541635', 'tenant_id': '5d5d6a662b14476299cd7e6a968e036f', 'project_id': '5d5d6a662b14476299cd7e6a968e036f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['5681a356-a9e8-4175-a1f5-59b8e173ecc8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36598553', 'ctest-vn-16541635'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-36598553', 'ctest-policy-allow-all-83542633']], 'subnet_ipam': [{'subnet_cidr': '80.235.113.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-06 02:26:47,184 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c58c2fcc-e5f4-4c10-b2dc-0ffc0b140ce0', 'name': 'ctest-vn-03899292', 'tenant_id': '5d5d6a662b14476299cd7e6a968e036f', 'project_id': '5d5d6a662b14476299cd7e6a968e036f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['c60d1b63-86da-4b00-b2bd-337aeb002b43'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36598553', 'ctest-vn-03899292'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-36598553', 'ctest-policy-allow-all-83542633']], 'subnet_ipam': [{'subnet_cidr': '201.242.110.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-06 02:26:47,354 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-10-06 02:26:47,717 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-10-06 02:26:47,743 - DEBUG - Requesting: http://10.0.0.38:8082/domain/7f770743-f789-4329-a122-6dfbb0670cb6 2026-10-06 02:26:47,755 - DEBUG - Requesting: http://10.0.0.38:8082/project/5d5d6a66-2b14-4762-99cd-7e6a968e036f 2026-10-06 02:26:47,830 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/38760bee-05e8-4e6c-b3d8-96996cb1128a 2026-10-06 02:26:47,840 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/38760bee-05e8-4e6c-b3d8-96996cb1128a 2026-10-06 02:26:47,849 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/be16f981-ea64-4516-a8c8-fe59b8664c9b 2026-10-06 02:26:47,855 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/be16f981-ea64-4516-a8c8-fe59b8664c9b 2026-10-06 02:26:47,861 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/af8a22e7-4ee1-48b2-80fb-ca519abdf0df 2026-10-06 02:26:47,867 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-06 02:26:47,867 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/38760bee-05e8-4e6c-b3d8-96996cb1128a 2026-10-06 02:26:47,876 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/be16f981-ea64-4516-a8c8-fe59b8664c9b 2026-10-06 02:26:47,889 - INFO - Verified VN network id 12 for VN 38760bee-05e8-4e6c-b3d8-96996cb1128a 2026-10-06 02:26:47,889 - INFO - Verifications in API Server for VN ctest-vn-16541635 passed 2026-10-06 02:26:47,889 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/38760bee-05e8-4e6c-b3d8-96996cb1128a 2026-10-06 02:26:47,898 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/be16f981-ea64-4516-a8c8-fe59b8664c9b 2026-10-06 02:26:47,904 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/be16f981-ea64-4516-a8c8-fe59b8664c9b 2026-10-06 02:26:47,910 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/af8a22e7-4ee1-48b2-80fb-ca519abdf0df 2026-10-06 02:26:47,923 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36598553:ctest-vn-16541635', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36598553', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4068452430305054316', 'uuid-lslong': '12959273513456308874'}, 'enable': 'true', 'created': '2026-10-06T02:26:45', 'last-modified': '2026-10-06T02:26:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.987680'} 2026-10-06 02:26:47,930 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-06 02:26:47,930 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-16541635 passed 2026-10-06 02:26:47,930 - DEBUG - ====Verifying policy data for ctest-vn-16541635 in API_Server ====== 2026-10-06 02:26:47,930 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-10-06 02:26:47,935 - DEBUG - Requesting: http://10.0.0.38:8082/domain/7f770743-f789-4329-a122-6dfbb0670cb6 2026-10-06 02:26:47,945 - DEBUG - Requesting: http://10.0.0.38:8082/project/5d5d6a66-2b14-4762-99cd-7e6a968e036f 2026-10-06 02:26:48,014 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/38760bee-05e8-4e6c-b3d8-96996cb1128a 2026-10-06 02:26:48,023 - DEBUG - ==>Verifying data for policy with id: d0e31187-bce3-48fd-ba7e-5d5c2e9ab1d7, fqn: ['default-domain', 'ctest-TestBasicPolicy-36598553', 'ctest-policy-allow-all-83542633'] 2026-10-06 02:26:48,023 - INFO - VN ctest-vn-16541635 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-06 02:26:48,023 - DEBUG - Verifying the vn in opserver 2026-10-06 02:26:48,023 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36598553:ctest-vn-16541635 virtual network link through opserver 10.0.0.38 2026-10-06 02:26:48,023 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-10-06 02:26:48,385 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-10-06 02:26:48,434 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36598553:ctest-vn-16541635', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36598553:ctest-vn-16541635?flat'} 2026-10-06 02:26:48,435 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-36598553:ctest-vn-16541635 is found in opserver 2026-10-06 02:26:48,444 - DEBUG - Do not have enough data to verify VN in agent 2026-10-06 02:26:48,449 - DEBUG - VRF ids for VN ctest-vn-16541635: {} 2026-10-06 02:26:48,449 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-10-06 02:26:48,454 - DEBUG - Requesting: http://10.0.0.38:8082/domain/7f770743-f789-4329-a122-6dfbb0670cb6 2026-10-06 02:26:48,465 - DEBUG - Requesting: http://10.0.0.38:8082/project/5d5d6a66-2b14-4762-99cd-7e6a968e036f 2026-10-06 02:26:48,543 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c58c2fcc-e5f4-4c10-b2dc-0ffc0b140ce0 2026-10-06 02:26:48,557 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c58c2fcc-e5f4-4c10-b2dc-0ffc0b140ce0 2026-10-06 02:26:48,567 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/91162c03-c9b2-471b-aee8-64bc2b5b259e 2026-10-06 02:26:48,575 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/91162c03-c9b2-471b-aee8-64bc2b5b259e 2026-10-06 02:26:48,582 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c56b6eb4-fd6c-475d-911d-38bd1acb5f41 2026-10-06 02:26:48,589 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-06 02:26:48,589 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c58c2fcc-e5f4-4c10-b2dc-0ffc0b140ce0 2026-10-06 02:26:48,598 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/91162c03-c9b2-471b-aee8-64bc2b5b259e 2026-10-06 02:26:48,614 - INFO - Verified VN network id 13 for VN c58c2fcc-e5f4-4c10-b2dc-0ffc0b140ce0 2026-10-06 02:26:48,614 - INFO - Verifications in API Server for VN ctest-vn-03899292 passed 2026-10-06 02:26:48,614 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c58c2fcc-e5f4-4c10-b2dc-0ffc0b140ce0 2026-10-06 02:26:48,626 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/91162c03-c9b2-471b-aee8-64bc2b5b259e 2026-10-06 02:26:48,635 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/91162c03-c9b2-471b-aee8-64bc2b5b259e 2026-10-06 02:26:48,642 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c56b6eb4-fd6c-475d-911d-38bd1acb5f41 2026-10-06 02:26:48,654 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36598553:ctest-vn-03899292', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36598553', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14234805079289121808', 'uuid-lslong': '12888193808819555552'}, 'enable': 'true', 'created': '2026-10-06T02:26:46', 'last-modified': '2026-10-06T02:26:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.492713'} 2026-10-06 02:26:48,661 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-06 02:26:48,661 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-03899292 passed 2026-10-06 02:26:48,662 - DEBUG - ====Verifying policy data for ctest-vn-03899292 in API_Server ====== 2026-10-06 02:26:48,662 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-10-06 02:26:48,668 - DEBUG - Requesting: http://10.0.0.38:8082/domain/7f770743-f789-4329-a122-6dfbb0670cb6 2026-10-06 02:26:48,679 - DEBUG - Requesting: http://10.0.0.38:8082/project/5d5d6a66-2b14-4762-99cd-7e6a968e036f 2026-10-06 02:26:48,749 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c58c2fcc-e5f4-4c10-b2dc-0ffc0b140ce0 2026-10-06 02:26:48,762 - DEBUG - ==>Verifying data for policy with id: d0e31187-bce3-48fd-ba7e-5d5c2e9ab1d7, fqn: ['default-domain', 'ctest-TestBasicPolicy-36598553', 'ctest-policy-allow-all-83542633'] 2026-10-06 02:26:48,762 - INFO - VN ctest-vn-03899292 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-06 02:26:48,762 - DEBUG - Verifying the vn in opserver 2026-10-06 02:26:48,762 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36598553:ctest-vn-03899292 virtual network link through opserver 10.0.0.38 2026-10-06 02:26:48,763 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-10-06 02:26:48,774 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36598553:ctest-vn-03899292', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36598553:ctest-vn-03899292?flat'} 2026-10-06 02:26:48,775 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-36598553:ctest-vn-03899292 is found in opserver 2026-10-06 02:26:48,784 - DEBUG - Do not have enough data to verify VN in agent 2026-10-06 02:26:48,788 - DEBUG - VRF ids for VN ctest-vn-03899292: {} 2026-10-06 02:26:48,850 - DEBUG - Services list from nova: [, , ] 2026-10-06 02:26:49,259 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6349-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6349-1) 2026-10-06 02:26:49,634 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6349-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6349-1) 2026-10-06 02:26:49,634 - INFO - Waiting for VM ctest-TestBasicPolicy-36598553-96251313 to be up.. 2026-10-06 02:26:49,675 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-06 02:26:54,751 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-06 02:26:59,832 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-06 02:27:04,904 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-06 02:27:10,010 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-06 02:27:15,090 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-06 02:27:20,172 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-06 02:27:25,247 - DEBUG - VM is in ACTIVE state now 2026-10-06 02:27:25,247 - INFO - VM name : ctest-TestBasicPolicy-36598553-96251313 2026-10-06 02:27:25,336 - DEBUG - VM ctest-TestBasicPolicy-36598553-96251313 ID is 0a466c24-74da-4020-84be-3844ca7083d5 2026-10-06 02:27:25,358 - DEBUG - VM ctest-TestBasicPolicy-36598553-96251313 launched on Node cn-jenkins-deploy-platform-ansible-os-6349-1 2026-10-06 02:27:25,437 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/0a466c24-74da-4020-84be-3844ca7083d5 2026-10-06 02:27:25,446 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f9387df3-e87e-4386-8f25-dc49b2823a19 2026-10-06 02:27:28,715 - 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 1022ms') 2026-10-06 02:27:28,715 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-36598553-96251313 failed! 2026-10-06 02:27:28,770 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-36598553:ctest-vn-16541635 is 80.235.113.193 and allocation pool is NOT set 2026-10-06 02:27:30,835 - 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.99 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.64 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.641/4.317/5.994/1.676 ms') 2026-10-06 02:27:30,835 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-36598553-96251313 passed 2026-10-06 02:27:30,982 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-06 02:27:30,982 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-36598553-96251313, IP 80.235.113.195, Port 22 2026-10-06 02:27:31,048 - 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-10-06 02:27:31,120 - DEBUG - VM ctest-TestBasicPolicy-36598553-96251313 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-06 02:27:36,121 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-06 02:27:36,121 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-36598553-96251313, IP 80.235.113.195, Port 22 2026-10-06 02:27:36,288 - DEBUG - VM ctest-TestBasicPolicy-36598553-96251313 is ready for SSH connections 2026-10-06 02:27:36,288 - INFO - Waiting for VM ctest-TestBasicPolicy-36598553-00926988 to be up.. 2026-10-06 02:27:36,358 - DEBUG - VM is in ACTIVE state now 2026-10-06 02:27:36,358 - INFO - VM name : ctest-TestBasicPolicy-36598553-00926988 2026-10-06 02:27:36,425 - DEBUG - VM ctest-TestBasicPolicy-36598553-00926988 ID is 800f4b41-5dc5-4c73-b8ff-54524785afa3 2026-10-06 02:27:36,425 - DEBUG - VM ctest-TestBasicPolicy-36598553-00926988 launched on Node cn-jenkins-deploy-platform-ansible-os-6349-1 2026-10-06 02:27:36,498 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/800f4b41-5dc5-4c73-b8ff-54524785afa3 2026-10-06 02:27:36,506 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e29e2763-860c-47dc-b49c-33d755a3154e 2026-10-06 02:27:37,746 - 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.43 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.461 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.461/2.444/4.428/1.983 ms') 2026-10-06 02:27:37,747 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-36598553-00926988 passed 2026-10-06 02:27:37,898 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-06 02:27:37,898 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-36598553-00926988, IP 201.242.110.67, Port 22 2026-10-06 02:27:38,064 - DEBUG - VM ctest-TestBasicPolicy-36598553-00926988 is ready for SSH connections 2026-10-06 02:27:38,064 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-06 02:27:38,064 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 201.242.110.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-10-06 02:27:38,064 - DEBUG - ping -s 56 -c 3 -W 1 201.242.110.67 2026-10-06 02:27:42,027 - DEBUG - PING 201.242.110.67 (201.242.110.67): 56 data bytes 64 bytes from 201.242.110.67: seq=0 ttl=63 time=4.129 ms 64 bytes from 201.242.110.67: seq=1 ttl=63 time=0.871 ms 64 bytes from 201.242.110.67: seq=2 ttl=63 time=1.022 ms --- 201.242.110.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.871/2.007/4.129 ms 2026-10-06 02:27:42,028 - INFO - Ping to IP 201.242.110.67 from VM ctest-TestBasicPolicy-36598553-96251313 passed 2026-10-06 02:27:42,214 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d0e31187-bce3-48fd-ba7e-5d5c2e9ab1d7", "href": "http://10.0.0.38:8082/network-policy/d0e31187-bce3-48fd-ba7e-5d5c2e9ab1d7"}} 2026-10-06 02:27:42,214 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-06 02:27:42,214 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 201.242.110.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-10-06 02:27:42,215 - DEBUG - ping -s 56 -c 3 -W 1 201.242.110.67 2026-10-06 02:27:45,347 - DEBUG - PING 201.242.110.67 (201.242.110.67): 56 data bytes 64 bytes from 201.242.110.67: seq=0 ttl=63 time=1.442 ms --- 201.242.110.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.442/1.442/1.442 ms 2026-10-06 02:27:45,347 - WARNING - Ping to IP 201.242.110.67 from VM ctest-TestBasicPolicy-36598553-96251313 failed 2026-10-06 02:27:45,347 - INFO - Deleting VM ctest-TestBasicPolicy-36598553-00926988 2026-10-06 02:27:45,431 - INFO - Deleting VM ctest-TestBasicPolicy-36598553-96251313 2026-10-06 02:27:45,750 - INFO - Deleted policy ctest-policy-allow-all-83542633 2026-10-06 02:27:45,750 - INFO - Deleting VN ctest-vn-03899292 2026-10-06 02:27:45,778 - DEBUG - VN c58c2fcc-e5f4-4c10-b2dc-0ffc0b140ce0 still in use: Unable to complete operation on network c58c2fcc-e5f4-4c10-b2dc-0ffc0b140ce0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c5a5332f-b4ba-49d2-ba14-4148d7f4ab53'] 2026-10-06 02:27:45,779 - WARNING - Deleting VN ctest-vn-03899292 failed..Will retry 2026-10-06 02:27:47,877 - DEBUG - Response for deleting network () 2026-10-06 02:27:47,877 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/91162c03-c9b2-471b-aee8-64bc2b5b259e 2026-10-06 02:27:47,881 - DEBUG - Response Code: 404 2026-10-06 02:27:47,881 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-10-06 02:27:47,889 - DEBUG - Requesting: http://10.0.0.38:8082/domain/7f770743-f789-4329-a122-6dfbb0670cb6 2026-10-06 02:27:47,944 - DEBUG - Requesting: http://10.0.0.38:8082/project/5d5d6a66-2b14-4762-99cd-7e6a968e036f 2026-10-06 02:27:48,020 - INFO - Validated that VN ctest-vn-03899292 is not found in API Server 2026-10-06 02:27:48,033 - DEBUG - VN ctest-vn-03899292 is not present in Agent 10.0.0.38 2026-10-06 02:27:48,034 - INFO - Validated that VN ctest-vn-03899292 is not in any agent 2026-10-06 02:27:48,053 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-03899292 info 2026-10-06 02:27:48,053 - INFO - Deleting VN ctest-vn-16541635 2026-10-06 02:27:48,156 - DEBUG - Response for deleting network () 2026-10-06 02:27:48,156 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/be16f981-ea64-4516-a8c8-fe59b8664c9b 2026-10-06 02:27:48,163 - DEBUG - Response Code: 404 2026-10-06 02:27:48,163 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-10-06 02:27:48,171 - DEBUG - Requesting: http://10.0.0.38:8082/domain/7f770743-f789-4329-a122-6dfbb0670cb6 2026-10-06 02:27:48,224 - DEBUG - Requesting: http://10.0.0.38:8082/project/5d5d6a66-2b14-4762-99cd-7e6a968e036f 2026-10-06 02:27:48,300 - INFO - Validated that VN ctest-vn-16541635 is not found in API Server 2026-10-06 02:27:48,311 - DEBUG - VN ctest-vn-16541635 is not present in Agent 10.0.0.38 2026-10-06 02:27:48,311 - INFO - Validated that VN ctest-vn-16541635 is not in any agent 2026-10-06 02:27:48,327 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-16541635 info 2026-10-06 02:27:48,590 - DEBUG - No XMPP flaps were noticed during the test
2026-10-06 02:27:48,590 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:04]
2026-10-06 02:27:48,590 - INFO - -------------------------------------------------------------------------------- 2026-10-06 02:27:49,359 - INFO - Deleted project: ctest-TestBasicPolicy-36598553, ID : 5d5d6a66-2b14-4762-99cd-7e6a968e036f