2026-09-05 04:39:29,244 - INFO - Domain Default found not creating 2026-09-05 04:39:29,415 - INFO - Project ctest-TestBasicPolicy-94456212 not found, creating it 2026-09-05 04:39:29,923 - INFO - Created Project:ctest-TestBasicPolicy-94456212, ID : 5f6ac871-10e8-4eb8-b3d0-e4d3439d9ead 2026-09-05 04:39:31,664 - INFO - ================================================================================ 2026-09-05 04:39:31,664 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-09-05 04:39:31,665 - 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-05 04:39:31,936 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.25': '0'}} with 2026-09-05 04:39:31,937 - INFO - Initial checks done. Running the testcase now 2026-09-05 04:39:31,937 - INFO - 2026-09-05 04:39:32,602 - DEBUG - Response for create_network : {'network': {'id': '31a2fd5e-8e55-4391-9e7c-35b8bdb5da6a', 'name': 'ctest-vn-81167282', 'tenant_id': '5f6ac87110e84eb8b3d0e4d3439d9ead', 'project_id': '5f6ac87110e84eb8b3d0e4d3439d9ead', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94456212', 'ctest-vn-81167282'], 'port_security_enabled': True, 'description': ''}} 2026-09-05 04:39:32,811 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a3487009-b488-4659-b096-15a28b32155d', 'name': '', 'tenant_id': '5f6ac87110e84eb8b3d0e4d3439d9ead', 'network_id': '31a2fd5e-8e55-4391-9e7c-35b8bdb5da6a', 'ip_version': 4, 'cidr': '43.99.28.0/26', 'allocation_pools': [{'start': '43.99.28.2', 'end': '43.99.28.62'}], 'gateway_ip': '43.99.28.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '43.99.28.2', 'tags': [], 'project_id': '5f6ac87110e84eb8b3d0e4d3439d9ead'}} 2026-09-05 04:39:32,831 - INFO - Created VN ctest-vn-81167282 2026-09-05 04:39:32,887 - DEBUG - VN ctest-vn-81167282 UUID is 31a2fd5e-8e55-4391-9e7c-35b8bdb5da6a 2026-09-05 04:39:33,221 - DEBUG - Response for create_network : {'network': {'id': '07dbe96f-1aa6-4dc4-9e88-23ce5a719bc9', 'name': 'ctest-vn-04736841', 'tenant_id': '5f6ac87110e84eb8b3d0e4d3439d9ead', 'project_id': '5f6ac87110e84eb8b3d0e4d3439d9ead', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94456212', 'ctest-vn-04736841'], 'port_security_enabled': True, 'description': ''}} 2026-09-05 04:39:33,471 - DEBUG - Response for create_subnet : {'subnet': {'id': '6e733814-9bf9-465a-b228-66af8972a91c', 'name': '', 'tenant_id': '5f6ac87110e84eb8b3d0e4d3439d9ead', 'network_id': '07dbe96f-1aa6-4dc4-9e88-23ce5a719bc9', 'ip_version': 4, 'cidr': '184.211.66.192/26', 'allocation_pools': [{'start': '184.211.66.194', 'end': '184.211.66.254'}], 'gateway_ip': '184.211.66.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '184.211.66.194', 'tags': [], 'project_id': '5f6ac87110e84eb8b3d0e4d3439d9ead'}} 2026-09-05 04:39:33,492 - INFO - Created VN ctest-vn-04736841 2026-09-05 04:39:33,547 - DEBUG - VN ctest-vn-04736841 UUID is 07dbe96f-1aa6-4dc4-9e88-23ce5a719bc9 2026-09-05 04:39:33,665 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-94456212:ctest-vn-81167282, 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-94456212:ctest-vn-04736841, 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-05 04:39:33,992 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '31a2fd5e-8e55-4391-9e7c-35b8bdb5da6a', 'name': 'ctest-vn-81167282', 'tenant_id': '5f6ac87110e84eb8b3d0e4d3439d9ead', 'project_id': '5f6ac87110e84eb8b3d0e4d3439d9ead', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['a3487009-b488-4659-b096-15a28b32155d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94456212', 'ctest-vn-81167282'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-94456212', 'ctest-policy-allow-all-83904808']], 'subnet_ipam': [{'subnet_cidr': '43.99.28.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-05 04:39:34,239 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '07dbe96f-1aa6-4dc4-9e88-23ce5a719bc9', 'name': 'ctest-vn-04736841', 'tenant_id': '5f6ac87110e84eb8b3d0e4d3439d9ead', 'project_id': '5f6ac87110e84eb8b3d0e4d3439d9ead', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['6e733814-9bf9-465a-b228-66af8972a91c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94456212', 'ctest-vn-04736841'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-94456212', 'ctest-policy-allow-all-83904808']], 'subnet_ipam': [{'subnet_cidr': '184.211.66.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-05 04:39:34,371 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-09-05 04:39:34,753 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-09-05 04:39:34,787 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0273205d-36da-48de-9b34-72140a674878 2026-09-05 04:39:34,801 - DEBUG - Requesting: http://10.0.0.50:8082/project/5f6ac871-10e8-4eb8-b3d0-e4d3439d9ead 2026-09-05 04:39:34,885 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/31a2fd5e-8e55-4391-9e7c-35b8bdb5da6a 2026-09-05 04:39:34,898 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/31a2fd5e-8e55-4391-9e7c-35b8bdb5da6a 2026-09-05 04:39:34,909 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/60c34c84-4dc0-4b19-944c-f2baea576a38 2026-09-05 04:39:34,919 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/60c34c84-4dc0-4b19-944c-f2baea576a38 2026-09-05 04:39:34,928 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/4c804f49-8a98-45f2-949d-fc0fa940d832 2026-09-05 04:39:34,936 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-05 04:39:34,936 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/31a2fd5e-8e55-4391-9e7c-35b8bdb5da6a 2026-09-05 04:39:34,947 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/60c34c84-4dc0-4b19-944c-f2baea576a38 2026-09-05 04:39:34,963 - INFO - Verified VN network id 12 for VN 31a2fd5e-8e55-4391-9e7c-35b8bdb5da6a 2026-09-05 04:39:34,963 - INFO - Verifications in API Server for VN ctest-vn-81167282 passed 2026-09-05 04:39:34,963 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/31a2fd5e-8e55-4391-9e7c-35b8bdb5da6a 2026-09-05 04:39:34,973 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/60c34c84-4dc0-4b19-944c-f2baea576a38 2026-09-05 04:39:34,982 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/60c34c84-4dc0-4b19-944c-f2baea576a38 2026-09-05 04:39:34,990 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/4c804f49-8a98-45f2-949d-fc0fa940d832 2026-09-05 04:39:35,005 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94456212:ctest-vn-81167282', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94456212', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3576699636642300817', 'uuid-lslong': '11420061822677801578'}, 'enable': 'true', 'created': '2026-09-05T04:39:32', 'last-modified': '2026-09-05T04:39:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.040191'} 2026-09-05 04:39:35,014 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-05 04:39:35,014 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81167282 passed 2026-09-05 04:39:35,014 - DEBUG - ====Verifying policy data for ctest-vn-81167282 in API_Server ====== 2026-09-05 04:39:35,014 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-09-05 04:39:35,021 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0273205d-36da-48de-9b34-72140a674878 2026-09-05 04:39:35,032 - DEBUG - Requesting: http://10.0.0.50:8082/project/5f6ac871-10e8-4eb8-b3d0-e4d3439d9ead 2026-09-05 04:39:35,108 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/31a2fd5e-8e55-4391-9e7c-35b8bdb5da6a 2026-09-05 04:39:35,119 - DEBUG - ==>Verifying data for policy with id: ff13e9d1-2b88-4040-a51f-17e0a197bd14, fqn: ['default-domain', 'ctest-TestBasicPolicy-94456212', 'ctest-policy-allow-all-83904808'] 2026-09-05 04:39:35,119 - INFO - VN ctest-vn-81167282 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-05 04:39:35,119 - DEBUG - Verifying the vn in opserver 2026-09-05 04:39:35,120 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94456212:ctest-vn-81167282 virtual network link through opserver 10.0.0.50 2026-09-05 04:39:35,120 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-09-05 04:39:35,496 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-09-05 04:39:35,558 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94456212:ctest-vn-81167282', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94456212:ctest-vn-81167282?flat'} 2026-09-05 04:39:35,558 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-94456212:ctest-vn-81167282 is found in opserver 2026-09-05 04:39:35,571 - DEBUG - Do not have enough data to verify VN in agent 2026-09-05 04:39:35,576 - DEBUG - VRF ids for VN ctest-vn-81167282: {} 2026-09-05 04:39:35,576 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-09-05 04:39:35,583 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0273205d-36da-48de-9b34-72140a674878 2026-09-05 04:39:35,595 - DEBUG - Requesting: http://10.0.0.50:8082/project/5f6ac871-10e8-4eb8-b3d0-e4d3439d9ead 2026-09-05 04:39:35,675 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/07dbe96f-1aa6-4dc4-9e88-23ce5a719bc9 2026-09-05 04:39:35,692 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/07dbe96f-1aa6-4dc4-9e88-23ce5a719bc9 2026-09-05 04:39:35,705 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a12dec5f-d9ff-4403-921a-9474d1cca176 2026-09-05 04:39:35,713 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a12dec5f-d9ff-4403-921a-9474d1cca176 2026-09-05 04:39:35,721 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/239a42bc-0642-4574-9c8f-584bedd2ce47 2026-09-05 04:39:35,729 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-05 04:39:35,729 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/07dbe96f-1aa6-4dc4-9e88-23ce5a719bc9 2026-09-05 04:39:35,739 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a12dec5f-d9ff-4403-921a-9474d1cca176 2026-09-05 04:39:35,755 - INFO - Verified VN network id 13 for VN 07dbe96f-1aa6-4dc4-9e88-23ce5a719bc9 2026-09-05 04:39:35,755 - INFO - Verifications in API Server for VN ctest-vn-04736841 passed 2026-09-05 04:39:35,755 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/07dbe96f-1aa6-4dc4-9e88-23ce5a719bc9 2026-09-05 04:39:35,767 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a12dec5f-d9ff-4403-921a-9474d1cca176 2026-09-05 04:39:35,776 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a12dec5f-d9ff-4403-921a-9474d1cca176 2026-09-05 04:39:35,783 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/239a42bc-0642-4574-9c8f-584bedd2ce47 2026-09-05 04:39:35,804 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94456212:ctest-vn-04736841', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94456212', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '566302841562877380', 'uuid-lslong': '11423419824012893129'}, 'enable': 'true', 'created': '2026-09-05T04:39:33', 'last-modified': '2026-09-05T04:39:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.597321'} 2026-09-05 04:39:35,813 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-05 04:39:35,813 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04736841 passed 2026-09-05 04:39:35,814 - DEBUG - ====Verifying policy data for ctest-vn-04736841 in API_Server ====== 2026-09-05 04:39:35,814 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-09-05 04:39:35,820 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0273205d-36da-48de-9b34-72140a674878 2026-09-05 04:39:35,831 - DEBUG - Requesting: http://10.0.0.50:8082/project/5f6ac871-10e8-4eb8-b3d0-e4d3439d9ead 2026-09-05 04:39:35,909 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/07dbe96f-1aa6-4dc4-9e88-23ce5a719bc9 2026-09-05 04:39:35,919 - DEBUG - ==>Verifying data for policy with id: ff13e9d1-2b88-4040-a51f-17e0a197bd14, fqn: ['default-domain', 'ctest-TestBasicPolicy-94456212', 'ctest-policy-allow-all-83904808'] 2026-09-05 04:39:35,919 - INFO - VN ctest-vn-04736841 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-05 04:39:35,919 - DEBUG - Verifying the vn in opserver 2026-09-05 04:39:35,919 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94456212:ctest-vn-04736841 virtual network link through opserver 10.0.0.50 2026-09-05 04:39:35,919 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-09-05 04:39:35,930 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94456212:ctest-vn-04736841', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94456212:ctest-vn-04736841?flat'} 2026-09-05 04:39:35,930 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-94456212:ctest-vn-04736841 is found in opserver 2026-09-05 04:39:35,946 - DEBUG - Do not have enough data to verify VN in agent 2026-09-05 04:39:35,952 - DEBUG - VRF ids for VN ctest-vn-04736841: {} 2026-09-05 04:39:36,034 - DEBUG - Services list from nova: [, , ] 2026-09-05 04:39:36,519 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6256-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6256-1) 2026-09-05 04:39:36,919 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6256-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6256-1) 2026-09-05 04:39:36,919 - INFO - Waiting for VM ctest-TestBasicPolicy-94456212-09148627 to be up.. 2026-09-05 04:39:36,961 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-05 04:39:42,046 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-05 04:39:47,131 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-05 04:39:52,212 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-05 04:39:57,297 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-05 04:40:02,391 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-05 04:40:07,483 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-05 04:40:12,571 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-05 04:40:17,672 - DEBUG - VM is in ACTIVE state now 2026-09-05 04:40:17,672 - INFO - VM name : ctest-TestBasicPolicy-94456212-09148627 2026-09-05 04:40:17,787 - DEBUG - VM ctest-TestBasicPolicy-94456212-09148627 ID is 3e0176b3-00bb-481c-a9d8-7e12d7b698ec 2026-09-05 04:40:17,821 - DEBUG - VM ctest-TestBasicPolicy-94456212-09148627 launched on Node cn-jenkins-deploy-platform-ansible-os-6256-1 2026-09-05 04:40:17,918 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/3e0176b3-00bb-481c-a9d8-7e12d7b698ec 2026-09-05 04:40:17,930 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/63497af6-a2ea-44cd-a744-52172716bea1 2026-09-05 04:40:21,220 - 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 1028ms') 2026-09-05 04:40:21,220 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94456212-09148627 failed! 2026-09-05 04:40:21,275 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-94456212:ctest-vn-81167282 is 43.99.28.1 and allocation pool is NOT set 2026-09-05 04:40:23,339 - 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=6.59 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.324 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 = 0.324/3.455/6.586/3.131 ms') 2026-09-05 04:40:23,339 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94456212-09148627 passed 2026-09-05 04:40:23,495 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-05 04:40:23,495 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-94456212-09148627, IP 43.99.28.3, Port 22 2026-09-05 04:40:23,670 - DEBUG - VM ctest-TestBasicPolicy-94456212-09148627 is ready for SSH connections 2026-09-05 04:40:23,670 - INFO - Waiting for VM ctest-TestBasicPolicy-94456212-19956085 to be up.. 2026-09-05 04:40:23,760 - DEBUG - VM is in ACTIVE state now 2026-09-05 04:40:23,760 - INFO - VM name : ctest-TestBasicPolicy-94456212-19956085 2026-09-05 04:40:23,846 - DEBUG - VM ctest-TestBasicPolicy-94456212-19956085 ID is 93278f21-615f-42a3-b486-7c8e1575d3cc 2026-09-05 04:40:23,846 - DEBUG - VM ctest-TestBasicPolicy-94456212-19956085 launched on Node cn-jenkins-deploy-platform-ansible-os-6256-1 2026-09-05 04:40:23,927 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/93278f21-615f-42a3-b486-7c8e1575d3cc 2026-09-05 04:40:23,938 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/231e914a-c79e-48ab-88f0-3bcfa34b228a 2026-09-05 04:40:25,188 - 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=6.14 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.44 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 = 2.444/4.290/6.137/1.846 ms') 2026-09-05 04:40:25,188 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-94456212-19956085 passed 2026-09-05 04:40:25,343 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-05 04:40:25,343 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-94456212-19956085, IP 184.211.66.195, Port 22 2026-09-05 04:40:25,509 - DEBUG - VM ctest-TestBasicPolicy-94456212-19956085 is ready for SSH connections 2026-09-05 04:40:25,510 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-05 04:40:25,510 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 184.211.66.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-09-05 04:40:25,510 - DEBUG - ping -s 56 -c 3 -W 1 184.211.66.195 2026-09-05 04:40:29,610 - DEBUG - PING 184.211.66.195 (184.211.66.195): 56 data bytes 64 bytes from 184.211.66.195: seq=0 ttl=63 time=6.279 ms 64 bytes from 184.211.66.195: seq=1 ttl=63 time=1.400 ms 64 bytes from 184.211.66.195: seq=2 ttl=63 time=1.072 ms --- 184.211.66.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.072/2.917/6.279 ms 2026-09-05 04:40:29,610 - INFO - Ping to IP 184.211.66.195 from VM ctest-TestBasicPolicy-94456212-09148627 passed 2026-09-05 04:40:29,799 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ff13e9d1-2b88-4040-a51f-17e0a197bd14", "href": "http://10.0.0.50:8082/network-policy/ff13e9d1-2b88-4040-a51f-17e0a197bd14"}} 2026-09-05 04:40:29,799 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-05 04:40:29,800 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 184.211.66.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-09-05 04:40:29,800 - DEBUG - ping -s 56 -c 3 -W 1 184.211.66.195 2026-09-05 04:40:32,924 - DEBUG - PING 184.211.66.195 (184.211.66.195): 56 data bytes 64 bytes from 184.211.66.195: seq=0 ttl=63 time=1.923 ms --- 184.211.66.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.923/1.923/1.923 ms 2026-09-05 04:40:32,924 - WARNING - Ping to IP 184.211.66.195 from VM ctest-TestBasicPolicy-94456212-09148627 failed 2026-09-05 04:40:32,924 - INFO - Deleting VM ctest-TestBasicPolicy-94456212-19956085 2026-09-05 04:40:33,021 - INFO - Deleting VM ctest-TestBasicPolicy-94456212-09148627 2026-09-05 04:40:33,459 - INFO - Deleted policy ctest-policy-allow-all-83904808 2026-09-05 04:40:33,459 - INFO - Deleting VN ctest-vn-04736841 2026-09-05 04:40:33,500 - DEBUG - VN 07dbe96f-1aa6-4dc4-9e88-23ce5a719bc9 still in use: Unable to complete operation on network 07dbe96f-1aa6-4dc4-9e88-23ce5a719bc9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4a5b4da4-86a1-4a38-b656-7f546f6560ee'] 2026-09-05 04:40:33,500 - WARNING - Deleting VN ctest-vn-04736841 failed..Will retry 2026-09-05 04:40:35,648 - DEBUG - Response for deleting network () 2026-09-05 04:40:35,648 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a12dec5f-d9ff-4403-921a-9474d1cca176 2026-09-05 04:40:35,658 - DEBUG - Response Code: 404 2026-09-05 04:40:35,658 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-09-05 04:40:35,665 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0273205d-36da-48de-9b34-72140a674878 2026-09-05 04:40:35,723 - DEBUG - Requesting: http://10.0.0.50:8082/project/5f6ac871-10e8-4eb8-b3d0-e4d3439d9ead 2026-09-05 04:40:35,811 - INFO - Validated that VN ctest-vn-04736841 is not found in API Server 2026-09-05 04:40:35,829 - DEBUG - VN ctest-vn-04736841 is not present in Agent 10.0.0.50 2026-09-05 04:40:35,829 - INFO - Validated that VN ctest-vn-04736841 is not in any agent 2026-09-05 04:40:35,848 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-04736841 info 2026-09-05 04:40:35,849 - INFO - Deleting VN ctest-vn-81167282 2026-09-05 04:40:36,036 - DEBUG - Response for deleting network () 2026-09-05 04:40:36,036 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/60c34c84-4dc0-4b19-944c-f2baea576a38 2026-09-05 04:40:36,048 - DEBUG - Response Code: 404 2026-09-05 04:40:36,048 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-09-05 04:40:36,056 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0273205d-36da-48de-9b34-72140a674878 2026-09-05 04:40:36,071 - DEBUG - Requesting: http://10.0.0.50:8082/project/5f6ac871-10e8-4eb8-b3d0-e4d3439d9ead 2026-09-05 04:40:36,157 - INFO - Validated that VN ctest-vn-81167282 is not found in API Server 2026-09-05 04:40:36,173 - DEBUG - VN ctest-vn-81167282 is not present in Agent 10.0.0.50 2026-09-05 04:40:36,173 - INFO - Validated that VN ctest-vn-81167282 is not in any agent 2026-09-05 04:40:36,192 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-81167282 info 2026-09-05 04:40:36,472 - DEBUG - No XMPP flaps were noticed during the test
2026-09-05 04:40:36,472 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:05]
2026-09-05 04:40:36,472 - INFO - -------------------------------------------------------------------------------- 2026-09-05 04:40:37,312 - INFO - Deleted project: ctest-TestBasicPolicy-94456212, ID : 5f6ac871-10e8-4eb8-b3d0-e4d3439d9ead