2026-09-22 02:54:43,303 - INFO - Domain Default found not creating 2026-09-22 02:54:43,538 - INFO - Project ctest-TestBasicPolicy-75835549 not found, creating it 2026-09-22 02:54:44,084 - INFO - Created Project:ctest-TestBasicPolicy-75835549, ID : 59b794d9-d22f-4a42-b86c-bee83d4628fe 2026-09-22 02:54:45,779 - INFO - ================================================================================ 2026-09-22 02:54:45,779 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-09-22 02:54:45,779 - 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-09-22 02:54:46,047 - DEBUG - Nothing to compare xmpp stats {'10.0.0.185': {'10.20.0.25': '0'}} with 2026-09-22 02:54:46,047 - INFO - Initial checks done. Running the testcase now 2026-09-22 02:54:46,047 - INFO - 2026-09-22 02:54:46,670 - DEBUG - Response for create_network : {'network': {'id': '30c70329-dba6-4023-8248-03c3520e1084', 'name': 'ctest-vn-33253718', 'tenant_id': '59b794d9d22f4a42b86cbee83d4628fe', 'project_id': '59b794d9d22f4a42b86cbee83d4628fe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75835549', 'ctest-vn-33253718'], 'port_security_enabled': True, 'description': ''}} 2026-09-22 02:54:46,922 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c2f869c0-aef9-494d-89dd-0d644ad2fc37', 'name': '', 'tenant_id': '59b794d9d22f4a42b86cbee83d4628fe', 'network_id': '30c70329-dba6-4023-8248-03c3520e1084', 'ip_version': 4, 'cidr': '142.121.103.0/26', 'allocation_pools': [{'start': '142.121.103.2', 'end': '142.121.103.62'}], 'gateway_ip': '142.121.103.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.121.103.2', 'tags': [], 'project_id': '59b794d9d22f4a42b86cbee83d4628fe'}} 2026-09-22 02:54:46,944 - INFO - Created VN ctest-vn-33253718 2026-09-22 02:54:46,999 - DEBUG - VN ctest-vn-33253718 UUID is 30c70329-dba6-4023-8248-03c3520e1084 2026-09-22 02:54:47,362 - DEBUG - Response for create_network : {'network': {'id': 'e68044b8-2f5e-479c-84b5-bb14efb3dc17', 'name': 'ctest-vn-44123061', 'tenant_id': '59b794d9d22f4a42b86cbee83d4628fe', 'project_id': '59b794d9d22f4a42b86cbee83d4628fe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75835549', 'ctest-vn-44123061'], 'port_security_enabled': True, 'description': ''}} 2026-09-22 02:54:47,564 - DEBUG - Response for create_subnet : {'subnet': {'id': '686f527a-10a5-40d6-9554-2bc4f678c9e1', 'name': '', 'tenant_id': '59b794d9d22f4a42b86cbee83d4628fe', 'network_id': 'e68044b8-2f5e-479c-84b5-bb14efb3dc17', 'ip_version': 4, 'cidr': '151.34.86.0/26', 'allocation_pools': [{'start': '151.34.86.2', 'end': '151.34.86.62'}], 'gateway_ip': '151.34.86.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '151.34.86.2', 'tags': [], 'project_id': '59b794d9d22f4a42b86cbee83d4628fe'}} 2026-09-22 02:54:47,585 - INFO - Created VN ctest-vn-44123061 2026-09-22 02:54:47,647 - DEBUG - VN ctest-vn-44123061 UUID is e68044b8-2f5e-479c-84b5-bb14efb3dc17 2026-09-22 02:54:47,769 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-75835549:ctest-vn-33253718, 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-75835549:ctest-vn-44123061, 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-09-22 02:54:48,114 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '30c70329-dba6-4023-8248-03c3520e1084', 'name': 'ctest-vn-33253718', 'tenant_id': '59b794d9d22f4a42b86cbee83d4628fe', 'project_id': '59b794d9d22f4a42b86cbee83d4628fe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['c2f869c0-aef9-494d-89dd-0d644ad2fc37'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75835549', 'ctest-vn-33253718'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-75835549', 'ctest-policy-allow-all-34231074']], 'subnet_ipam': [{'subnet_cidr': '142.121.103.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-22 02:54:48,383 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e68044b8-2f5e-479c-84b5-bb14efb3dc17', 'name': 'ctest-vn-44123061', 'tenant_id': '59b794d9d22f4a42b86cbee83d4628fe', 'project_id': '59b794d9d22f4a42b86cbee83d4628fe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['686f527a-10a5-40d6-9554-2bc4f678c9e1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75835549', 'ctest-vn-44123061'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-75835549', 'ctest-policy-allow-all-34231074']], 'subnet_ipam': [{'subnet_cidr': '151.34.86.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-22 02:54:48,547 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-09-22 02:54:48,882 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-09-22 02:54:48,915 - DEBUG - Requesting: http://10.0.0.185:8082/domain/e90a8865-7643-41ea-aecb-c05f45cbb8ca 2026-09-22 02:54:48,930 - DEBUG - Requesting: http://10.0.0.185:8082/project/59b794d9-d22f-4a42-b86c-bee83d4628fe 2026-09-22 02:54:49,015 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/30c70329-dba6-4023-8248-03c3520e1084 2026-09-22 02:54:49,029 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/30c70329-dba6-4023-8248-03c3520e1084 2026-09-22 02:54:49,040 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/d814b831-33b5-4680-9402-73d7e9e7f1d3 2026-09-22 02:54:49,051 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/d814b831-33b5-4680-9402-73d7e9e7f1d3 2026-09-22 02:54:49,060 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/9c29ec81-d89a-4e5c-9883-afcf111cc0c4 2026-09-22 02:54:49,069 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-22 02:54:49,069 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/30c70329-dba6-4023-8248-03c3520e1084 2026-09-22 02:54:49,081 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/d814b831-33b5-4680-9402-73d7e9e7f1d3 2026-09-22 02:54:49,101 - INFO - Verified VN network id 12 for VN 30c70329-dba6-4023-8248-03c3520e1084 2026-09-22 02:54:49,101 - INFO - Verifications in API Server for VN ctest-vn-33253718 passed 2026-09-22 02:54:49,101 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/30c70329-dba6-4023-8248-03c3520e1084 2026-09-22 02:54:49,114 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/d814b831-33b5-4680-9402-73d7e9e7f1d3 2026-09-22 02:54:49,123 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/d814b831-33b5-4680-9402-73d7e9e7f1d3 2026-09-22 02:54:49,132 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/9c29ec81-d89a-4e5c-9883-afcf111cc0c4 2026-09-22 02:54:49,147 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-75835549:ctest-vn-33253718', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-75835549', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3514781512499609635', 'uuid-lslong': '9387757560683958404'}, 'enable': 'true', 'created': '2026-09-22T02:54:46', 'last-modified': '2026-09-22T02:54:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.061806'} 2026-09-22 02:54:49,156 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-22 02:54:49,157 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-33253718 passed 2026-09-22 02:54:49,157 - DEBUG - ====Verifying policy data for ctest-vn-33253718 in API_Server ====== 2026-09-22 02:54:49,157 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-09-22 02:54:49,164 - DEBUG - Requesting: http://10.0.0.185:8082/domain/e90a8865-7643-41ea-aecb-c05f45cbb8ca 2026-09-22 02:54:49,175 - DEBUG - Requesting: http://10.0.0.185:8082/project/59b794d9-d22f-4a42-b86c-bee83d4628fe 2026-09-22 02:54:49,257 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/30c70329-dba6-4023-8248-03c3520e1084 2026-09-22 02:54:49,269 - DEBUG - ==>Verifying data for policy with id: 3440caa8-008b-40c7-a035-c786c4166264, fqn: ['default-domain', 'ctest-TestBasicPolicy-75835549', 'ctest-policy-allow-all-34231074'] 2026-09-22 02:54:49,269 - INFO - VN ctest-vn-33253718 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-22 02:54:49,269 - DEBUG - Verifying the vn in opserver 2026-09-22 02:54:49,269 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-75835549:ctest-vn-33253718 virtual network link through opserver 10.0.0.185 2026-09-22 02:54:49,269 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks 2026-09-22 02:54:49,608 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks 2026-09-22 02:54:49,674 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-75835549:ctest-vn-33253718', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-75835549:ctest-vn-33253718?flat'} 2026-09-22 02:54:49,674 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-75835549:ctest-vn-33253718 is found in opserver 2026-09-22 02:54:49,688 - DEBUG - Do not have enough data to verify VN in agent 2026-09-22 02:54:49,694 - DEBUG - VRF ids for VN ctest-vn-33253718: {} 2026-09-22 02:54:49,694 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-09-22 02:54:49,701 - DEBUG - Requesting: http://10.0.0.185:8082/domain/e90a8865-7643-41ea-aecb-c05f45cbb8ca 2026-09-22 02:54:49,714 - DEBUG - Requesting: http://10.0.0.185:8082/project/59b794d9-d22f-4a42-b86c-bee83d4628fe 2026-09-22 02:54:49,796 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/e68044b8-2f5e-479c-84b5-bb14efb3dc17 2026-09-22 02:54:49,811 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/e68044b8-2f5e-479c-84b5-bb14efb3dc17 2026-09-22 02:54:49,823 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/83c2f40f-ed45-4e5d-9873-c6892dee836c 2026-09-22 02:54:49,834 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/83c2f40f-ed45-4e5d-9873-c6892dee836c 2026-09-22 02:54:49,842 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/a2867339-f421-42f5-ba46-b773653552eb 2026-09-22 02:54:49,850 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-22 02:54:49,851 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/e68044b8-2f5e-479c-84b5-bb14efb3dc17 2026-09-22 02:54:49,862 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/83c2f40f-ed45-4e5d-9873-c6892dee836c 2026-09-22 02:54:49,881 - INFO - Verified VN network id 13 for VN e68044b8-2f5e-479c-84b5-bb14efb3dc17 2026-09-22 02:54:49,881 - INFO - Verifications in API Server for VN ctest-vn-44123061 passed 2026-09-22 02:54:49,881 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/e68044b8-2f5e-479c-84b5-bb14efb3dc17 2026-09-22 02:54:49,895 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/83c2f40f-ed45-4e5d-9873-c6892dee836c 2026-09-22 02:54:49,903 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/83c2f40f-ed45-4e5d-9873-c6892dee836c 2026-09-22 02:54:49,915 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/a2867339-f421-42f5-ba46-b773653552eb 2026-09-22 02:54:49,932 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-75835549:ctest-vn-44123061', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-75835549', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16609350983601768348', 'uuid-lslong': '9562755082386398231'}, 'enable': 'true', 'created': '2026-09-22T02:54:47', 'last-modified': '2026-09-22T02:54:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.579746'} 2026-09-22 02:54:49,941 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-22 02:54:49,941 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-44123061 passed 2026-09-22 02:54:49,941 - DEBUG - ====Verifying policy data for ctest-vn-44123061 in API_Server ====== 2026-09-22 02:54:49,941 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-09-22 02:54:49,950 - DEBUG - Requesting: http://10.0.0.185:8082/domain/e90a8865-7643-41ea-aecb-c05f45cbb8ca 2026-09-22 02:54:49,964 - DEBUG - Requesting: http://10.0.0.185:8082/project/59b794d9-d22f-4a42-b86c-bee83d4628fe 2026-09-22 02:54:50,041 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/e68044b8-2f5e-479c-84b5-bb14efb3dc17 2026-09-22 02:54:50,052 - DEBUG - ==>Verifying data for policy with id: 3440caa8-008b-40c7-a035-c786c4166264, fqn: ['default-domain', 'ctest-TestBasicPolicy-75835549', 'ctest-policy-allow-all-34231074'] 2026-09-22 02:54:50,052 - INFO - VN ctest-vn-44123061 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-22 02:54:50,052 - DEBUG - Verifying the vn in opserver 2026-09-22 02:54:50,052 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-75835549:ctest-vn-44123061 virtual network link through opserver 10.0.0.185 2026-09-22 02:54:50,052 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks 2026-09-22 02:54:50,062 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-75835549:ctest-vn-44123061', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-75835549:ctest-vn-44123061?flat'} 2026-09-22 02:54:50,063 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-75835549:ctest-vn-44123061 is found in opserver 2026-09-22 02:54:50,074 - DEBUG - Do not have enough data to verify VN in agent 2026-09-22 02:54:50,080 - DEBUG - VRF ids for VN ctest-vn-44123061: {} 2026-09-22 02:54:50,147 - DEBUG - Services list from nova: [, , ] 2026-09-22 02:54:50,680 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6317-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6317-1) 2026-09-22 02:54:51,121 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6317-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6317-1) 2026-09-22 02:54:51,121 - INFO - Waiting for VM ctest-TestBasicPolicy-75835549-80175071 to be up.. 2026-09-22 02:54:51,164 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-22 02:54:56,253 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-22 02:55:01,345 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-22 02:55:06,446 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-22 02:55:11,536 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-22 02:55:16,642 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-22 02:55:21,739 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-22 02:55:26,836 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-22 02:55:31,935 - DEBUG - VM is in ACTIVE state now 2026-09-22 02:55:31,936 - INFO - VM name : ctest-TestBasicPolicy-75835549-80175071 2026-09-22 02:55:32,033 - DEBUG - VM ctest-TestBasicPolicy-75835549-80175071 ID is 3e2c53ec-cb05-435d-822b-54927bc15e0c 2026-09-22 02:55:32,053 - DEBUG - VM ctest-TestBasicPolicy-75835549-80175071 launched on Node cn-jenkins-deploy-platform-ansible-os-6317-1 2026-09-22 02:55:32,145 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/3e2c53ec-cb05-435d-822b-54927bc15e0c 2026-09-22 02:55:32,156 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/7c54eb97-84ae-435b-9e3e-26bd3dcce50c 2026-09-22 02:55:35,430 - 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 1016ms') 2026-09-22 02:55:35,430 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-75835549-80175071 failed! 2026-09-22 02:55:35,487 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-75835549:ctest-vn-33253718 is 142.121.103.1 and allocation pool is NOT set 2026-09-22 02:55:37,555 - 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.06 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.73 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.733/3.395/5.057/1.662 ms') 2026-09-22 02:55:37,555 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-75835549-80175071 passed 2026-09-22 02:55:37,715 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-22 02:55:37,715 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-75835549-80175071, IP 142.121.103.3, Port 22 2026-09-22 02:55:37,886 - DEBUG - VM ctest-TestBasicPolicy-75835549-80175071 is ready for SSH connections 2026-09-22 02:55:37,886 - INFO - Waiting for VM ctest-TestBasicPolicy-75835549-96751486 to be up.. 2026-09-22 02:55:38,016 - DEBUG - VM is in ACTIVE state now 2026-09-22 02:55:38,016 - INFO - VM name : ctest-TestBasicPolicy-75835549-96751486 2026-09-22 02:55:38,136 - DEBUG - VM ctest-TestBasicPolicy-75835549-96751486 ID is 34a82eee-4fa5-4054-86f0-e05eb53990f1 2026-09-22 02:55:38,136 - DEBUG - VM ctest-TestBasicPolicy-75835549-96751486 launched on Node cn-jenkins-deploy-platform-ansible-os-6317-1 2026-09-22 02:55:38,254 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/34a82eee-4fa5-4054-86f0-e05eb53990f1 2026-09-22 02:55:38,271 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/76353f6b-aefd-48c2-a5d7-403e52e6a319 2026-09-22 02:55:39,559 - 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=5.16 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.71 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 = 3.709/4.434/5.160/0.725 ms') 2026-09-22 02:55:39,559 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-75835549-96751486 passed 2026-09-22 02:55:39,715 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-22 02:55:39,715 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-75835549-96751486, IP 151.34.86.3, Port 22 2026-09-22 02:55:39,902 - DEBUG - VM ctest-TestBasicPolicy-75835549-96751486 is ready for SSH connections 2026-09-22 02:55:39,902 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-22 02:55:39,902 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 151.34.86.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123 2026-09-22 02:55:39,902 - DEBUG - ping -s 56 -c 3 -W 1 151.34.86.3 2026-09-22 02:55:43,987 - DEBUG - PING 151.34.86.3 (151.34.86.3): 56 data bytes 64 bytes from 151.34.86.3: seq=0 ttl=63 time=5.960 ms 64 bytes from 151.34.86.3: seq=1 ttl=63 time=1.103 ms 64 bytes from 151.34.86.3: seq=2 ttl=63 time=0.938 ms --- 151.34.86.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.938/2.667/5.960 ms 2026-09-22 02:55:43,987 - INFO - Ping to IP 151.34.86.3 from VM ctest-TestBasicPolicy-75835549-80175071 passed 2026-09-22 02:55:44,191 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3440caa8-008b-40c7-a035-c786c4166264", "href": "http://10.0.0.185:8082/network-policy/3440caa8-008b-40c7-a035-c786c4166264"}} 2026-09-22 02:55:44,191 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-22 02:55:44,191 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 151.34.86.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123 2026-09-22 02:55:44,191 - DEBUG - ping -s 56 -c 3 -W 1 151.34.86.3 2026-09-22 02:55:47,331 - DEBUG - PING 151.34.86.3 (151.34.86.3): 56 data bytes 64 bytes from 151.34.86.3: seq=0 ttl=63 time=2.458 ms --- 151.34.86.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.458/2.458/2.458 ms 2026-09-22 02:55:47,331 - WARNING - Ping to IP 151.34.86.3 from VM ctest-TestBasicPolicy-75835549-80175071 failed 2026-09-22 02:55:47,332 - INFO - Deleting VM ctest-TestBasicPolicy-75835549-96751486 2026-09-22 02:55:47,421 - INFO - Deleting VM ctest-TestBasicPolicy-75835549-80175071 2026-09-22 02:55:47,898 - INFO - Deleted policy ctest-policy-allow-all-34231074 2026-09-22 02:55:47,899 - INFO - Deleting VN ctest-vn-44123061 2026-09-22 02:55:47,945 - DEBUG - VN e68044b8-2f5e-479c-84b5-bb14efb3dc17 still in use: Unable to complete operation on network e68044b8-2f5e-479c-84b5-bb14efb3dc17. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-40572b89-bf49-4d4d-b30f-c7b18959aab9'] 2026-09-22 02:55:47,945 - WARNING - Deleting VN ctest-vn-44123061 failed..Will retry 2026-09-22 02:55:50,100 - DEBUG - Response for deleting network () 2026-09-22 02:55:50,100 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/83c2f40f-ed45-4e5d-9873-c6892dee836c 2026-09-22 02:55:50,106 - DEBUG - Response Code: 404 2026-09-22 02:55:50,106 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-09-22 02:55:50,117 - DEBUG - Requesting: http://10.0.0.185:8082/domain/e90a8865-7643-41ea-aecb-c05f45cbb8ca 2026-09-22 02:55:50,178 - DEBUG - Requesting: http://10.0.0.185:8082/project/59b794d9-d22f-4a42-b86c-bee83d4628fe 2026-09-22 02:55:50,262 - INFO - Validated that VN ctest-vn-44123061 is not found in API Server 2026-09-22 02:55:50,276 - DEBUG - VN ctest-vn-44123061 is not present in Agent 10.0.0.185 2026-09-22 02:55:50,276 - INFO - Validated that VN ctest-vn-44123061 is not in any agent 2026-09-22 02:55:50,294 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-44123061 info 2026-09-22 02:55:50,294 - INFO - Deleting VN ctest-vn-33253718 2026-09-22 02:55:50,429 - DEBUG - Response for deleting network () 2026-09-22 02:55:50,429 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/d814b831-33b5-4680-9402-73d7e9e7f1d3 2026-09-22 02:55:50,445 - DEBUG - Response Code: 404 2026-09-22 02:55:50,445 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-09-22 02:55:50,452 - DEBUG - Requesting: http://10.0.0.185:8082/domain/e90a8865-7643-41ea-aecb-c05f45cbb8ca 2026-09-22 02:55:50,509 - DEBUG - Requesting: http://10.0.0.185:8082/project/59b794d9-d22f-4a42-b86c-bee83d4628fe 2026-09-22 02:55:50,593 - INFO - Validated that VN ctest-vn-33253718 is not found in API Server 2026-09-22 02:55:50,607 - DEBUG - VN ctest-vn-33253718 is not present in Agent 10.0.0.185 2026-09-22 02:55:50,607 - INFO - Validated that VN ctest-vn-33253718 is not in any agent 2026-09-22 02:55:50,627 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-33253718 info 2026-09-22 02:55:50,897 - DEBUG - No XMPP flaps were noticed during the test
2026-09-22 02:55:50,897 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:05]
2026-09-22 02:55:50,897 - INFO - -------------------------------------------------------------------------------- 2026-09-22 02:55:51,651 - INFO - Deleted project: ctest-TestBasicPolicy-75835549, ID : 59b794d9-d22f-4a42-b86c-bee83d4628fe