2026-11-27 21:41:22,115 - INFO - Domain Default found not creating 2026-11-27 21:41:22,288 - INFO - Project ctest-TestBasicPolicy-17592178 not found, creating it 2026-11-27 21:41:22,778 - INFO - Created Project:ctest-TestBasicPolicy-17592178, ID : f8a27d24-7fbf-4ad3-a8df-07ba493085af 2026-11-27 21:41:24,490 - INFO - ================================================================================ 2026-11-27 21:41:24,490 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-11-27 21:41:24,490 - 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-11-27 21:41:24,747 - DEBUG - Nothing to compare xmpp stats {'10.0.0.162': {'10.20.0.25': '0'}} with 2026-11-27 21:41:24,747 - INFO - Initial checks done. Running the testcase now 2026-11-27 21:41:24,747 - INFO - 2026-11-27 21:41:25,365 - DEBUG - Response for create_network : {'network': {'id': '02fcae41-586e-4654-9ce3-efc068e26c32', 'name': 'ctest-vn-55830036', 'tenant_id': 'f8a27d247fbf4ad3a8df07ba493085af', 'project_id': 'f8a27d247fbf4ad3a8df07ba493085af', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17592178', 'ctest-vn-55830036'], 'port_security_enabled': True, 'description': ''}} 2026-11-27 21:41:25,549 - DEBUG - Response for create_subnet : {'subnet': {'id': '73f72796-5b87-4ec9-9e1a-ff5fa9f500bd', 'name': '', 'tenant_id': 'f8a27d247fbf4ad3a8df07ba493085af', 'network_id': '02fcae41-586e-4654-9ce3-efc068e26c32', 'ip_version': 4, 'cidr': '168.28.96.128/26', 'allocation_pools': [{'start': '168.28.96.130', 'end': '168.28.96.190'}], 'gateway_ip': '168.28.96.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.28.96.130', 'tags': [], 'project_id': 'f8a27d247fbf4ad3a8df07ba493085af'}} 2026-11-27 21:41:25,566 - INFO - Created VN ctest-vn-55830036 2026-11-27 21:41:25,621 - DEBUG - VN ctest-vn-55830036 UUID is 02fcae41-586e-4654-9ce3-efc068e26c32 2026-11-27 21:41:25,951 - DEBUG - Response for create_network : {'network': {'id': 'b1102edb-9c8a-49f2-9c02-c2c7f8c4cb19', 'name': 'ctest-vn-23387120', 'tenant_id': 'f8a27d247fbf4ad3a8df07ba493085af', 'project_id': 'f8a27d247fbf4ad3a8df07ba493085af', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17592178', 'ctest-vn-23387120'], 'port_security_enabled': True, 'description': ''}} 2026-11-27 21:41:26,118 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e394ebd5-e558-41ca-80b4-49d74efbae83', 'name': '', 'tenant_id': 'f8a27d247fbf4ad3a8df07ba493085af', 'network_id': 'b1102edb-9c8a-49f2-9c02-c2c7f8c4cb19', 'ip_version': 4, 'cidr': '46.4.111.128/26', 'allocation_pools': [{'start': '46.4.111.130', 'end': '46.4.111.190'}], 'gateway_ip': '46.4.111.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.4.111.130', 'tags': [], 'project_id': 'f8a27d247fbf4ad3a8df07ba493085af'}} 2026-11-27 21:41:26,137 - INFO - Created VN ctest-vn-23387120 2026-11-27 21:41:26,192 - DEBUG - VN ctest-vn-23387120 UUID is b1102edb-9c8a-49f2-9c02-c2c7f8c4cb19 2026-11-27 21:41:26,312 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-17592178:ctest-vn-55830036, 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-17592178:ctest-vn-23387120, 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-11-27 21:41:26,640 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '02fcae41-586e-4654-9ce3-efc068e26c32', 'name': 'ctest-vn-55830036', 'tenant_id': 'f8a27d247fbf4ad3a8df07ba493085af', 'project_id': 'f8a27d247fbf4ad3a8df07ba493085af', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['73f72796-5b87-4ec9-9e1a-ff5fa9f500bd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17592178', 'ctest-vn-55830036'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-17592178', 'ctest-policy-allow-all-03570708']], 'subnet_ipam': [{'subnet_cidr': '168.28.96.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-27 21:41:26,877 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b1102edb-9c8a-49f2-9c02-c2c7f8c4cb19', 'name': 'ctest-vn-23387120', 'tenant_id': 'f8a27d247fbf4ad3a8df07ba493085af', 'project_id': 'f8a27d247fbf4ad3a8df07ba493085af', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['e394ebd5-e558-41ca-80b4-49d74efbae83'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17592178', 'ctest-vn-23387120'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-17592178', 'ctest-policy-allow-all-03570708']], 'subnet_ipam': [{'subnet_cidr': '46.4.111.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-27 21:41:27,044 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-11-27 21:41:27,411 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-11-27 21:41:27,439 - DEBUG - Requesting: http://10.0.0.162:8082/domain/dede3b9a-f1a2-45f9-a1f4-4597e880389f 2026-11-27 21:41:27,453 - DEBUG - Requesting: http://10.0.0.162:8082/project/f8a27d24-7fbf-4ad3-a8df-07ba493085af 2026-11-27 21:41:27,535 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/02fcae41-586e-4654-9ce3-efc068e26c32 2026-11-27 21:41:27,547 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/02fcae41-586e-4654-9ce3-efc068e26c32 2026-11-27 21:41:27,556 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/cfe75f9d-8e69-4b4d-a732-424096c0c5b3 2026-11-27 21:41:27,564 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/cfe75f9d-8e69-4b4d-a732-424096c0c5b3 2026-11-27 21:41:27,572 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/dbb1bfa4-3395-4e8e-b387-3b1b11ec68a3 2026-11-27 21:41:27,578 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-27 21:41:27,578 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/02fcae41-586e-4654-9ce3-efc068e26c32 2026-11-27 21:41:27,588 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/cfe75f9d-8e69-4b4d-a732-424096c0c5b3 2026-11-27 21:41:27,603 - INFO - Verified VN network id 10 for VN 02fcae41-586e-4654-9ce3-efc068e26c32 2026-11-27 21:41:27,603 - INFO - Verifications in API Server for VN ctest-vn-55830036 passed 2026-11-27 21:41:27,603 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/02fcae41-586e-4654-9ce3-efc068e26c32 2026-11-27 21:41:27,614 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/cfe75f9d-8e69-4b4d-a732-424096c0c5b3 2026-11-27 21:41:27,622 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/cfe75f9d-8e69-4b4d-a732-424096c0c5b3 2026-11-27 21:41:27,628 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/dbb1bfa4-3395-4e8e-b387-3b1b11ec68a3 2026-11-27 21:41:27,642 - DEBUG - Control-node 10.0.0.162 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-17592178:ctest-vn-55830036', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-17592178', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '215238477886670420', 'uuid-lslong': '11305143099302505522'}, 'enable': 'true', 'created': '2026-11-27T21:41:25', 'last-modified': '2026-11-27T21:41:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.029203'} 2026-11-27 21:41:27,650 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-27 21:41:27,650 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-55830036 passed 2026-11-27 21:41:27,651 - DEBUG - ====Verifying policy data for ctest-vn-55830036 in API_Server ====== 2026-11-27 21:41:27,651 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-11-27 21:41:27,656 - DEBUG - Requesting: http://10.0.0.162:8082/domain/dede3b9a-f1a2-45f9-a1f4-4597e880389f 2026-11-27 21:41:27,666 - DEBUG - Requesting: http://10.0.0.162:8082/project/f8a27d24-7fbf-4ad3-a8df-07ba493085af 2026-11-27 21:41:27,750 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/02fcae41-586e-4654-9ce3-efc068e26c32 2026-11-27 21:41:27,764 - DEBUG - ==>Verifying data for policy with id: 53d1cb33-5d04-488c-9e91-b116302b2140, fqn: ['default-domain', 'ctest-TestBasicPolicy-17592178', 'ctest-policy-allow-all-03570708'] 2026-11-27 21:41:27,764 - INFO - VN ctest-vn-55830036 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-27 21:41:27,764 - DEBUG - Verifying the vn in opserver 2026-11-27 21:41:27,764 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-17592178:ctest-vn-55830036 virtual network link through opserver 10.0.0.162 2026-11-27 21:41:27,765 - DEBUG - Requesting: http://10.0.0.162:8081/analytics/uves/virtual-networks 2026-11-27 21:41:28,133 - DEBUG - Requesting: http://10.0.0.162:8081/analytics/uves/virtual-networks 2026-11-27 21:41:28,189 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-17592178:ctest-vn-55830036', 'href': 'http://10.0.0.162:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-17592178:ctest-vn-55830036?flat'} 2026-11-27 21:41:28,190 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-17592178:ctest-vn-55830036 is found in opserver 2026-11-27 21:41:28,201 - DEBUG - Do not have enough data to verify VN in agent 2026-11-27 21:41:28,205 - DEBUG - VRF ids for VN ctest-vn-55830036: {} 2026-11-27 21:41:28,205 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-11-27 21:41:28,210 - DEBUG - Requesting: http://10.0.0.162:8082/domain/dede3b9a-f1a2-45f9-a1f4-4597e880389f 2026-11-27 21:41:28,221 - DEBUG - Requesting: http://10.0.0.162:8082/project/f8a27d24-7fbf-4ad3-a8df-07ba493085af 2026-11-27 21:41:28,294 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/b1102edb-9c8a-49f2-9c02-c2c7f8c4cb19 2026-11-27 21:41:28,305 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/b1102edb-9c8a-49f2-9c02-c2c7f8c4cb19 2026-11-27 21:41:28,314 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/4e841d10-60e7-4668-bf51-59b7bcba2f43 2026-11-27 21:41:28,320 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/4e841d10-60e7-4668-bf51-59b7bcba2f43 2026-11-27 21:41:28,327 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/60bec21b-3191-4af1-a01a-0f7fa8a4f811 2026-11-27 21:41:28,339 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-27 21:41:28,339 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/b1102edb-9c8a-49f2-9c02-c2c7f8c4cb19 2026-11-27 21:41:28,348 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/4e841d10-60e7-4668-bf51-59b7bcba2f43 2026-11-27 21:41:28,362 - INFO - Verified VN network id 11 for VN b1102edb-9c8a-49f2-9c02-c2c7f8c4cb19 2026-11-27 21:41:28,362 - INFO - Verifications in API Server for VN ctest-vn-23387120 passed 2026-11-27 21:41:28,362 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/b1102edb-9c8a-49f2-9c02-c2c7f8c4cb19 2026-11-27 21:41:28,371 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/4e841d10-60e7-4668-bf51-59b7bcba2f43 2026-11-27 21:41:28,377 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/4e841d10-60e7-4668-bf51-59b7bcba2f43 2026-11-27 21:41:28,383 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/60bec21b-3191-4af1-a01a-0f7fa8a4f811 2026-11-27 21:41:28,396 - DEBUG - Control-node 10.0.0.162 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-17592178:ctest-vn-23387120', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-17592178', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12758749265099639282', 'uuid-lslong': '11241761783998106393'}, 'enable': 'true', 'created': '2026-11-27T21:41:25', 'last-modified': '2026-11-27T21:41:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.539956'} 2026-11-27 21:41:28,403 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-27 21:41:28,403 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-23387120 passed 2026-11-27 21:41:28,403 - DEBUG - ====Verifying policy data for ctest-vn-23387120 in API_Server ====== 2026-11-27 21:41:28,403 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-11-27 21:41:28,411 - DEBUG - Requesting: http://10.0.0.162:8082/domain/dede3b9a-f1a2-45f9-a1f4-4597e880389f 2026-11-27 21:41:28,422 - DEBUG - Requesting: http://10.0.0.162:8082/project/f8a27d24-7fbf-4ad3-a8df-07ba493085af 2026-11-27 21:41:28,498 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/b1102edb-9c8a-49f2-9c02-c2c7f8c4cb19 2026-11-27 21:41:28,508 - DEBUG - ==>Verifying data for policy with id: 53d1cb33-5d04-488c-9e91-b116302b2140, fqn: ['default-domain', 'ctest-TestBasicPolicy-17592178', 'ctest-policy-allow-all-03570708'] 2026-11-27 21:41:28,508 - INFO - VN ctest-vn-23387120 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-27 21:41:28,508 - DEBUG - Verifying the vn in opserver 2026-11-27 21:41:28,508 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-17592178:ctest-vn-23387120 virtual network link through opserver 10.0.0.162 2026-11-27 21:41:28,508 - DEBUG - Requesting: http://10.0.0.162:8081/analytics/uves/virtual-networks 2026-11-27 21:41:28,518 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-17592178:ctest-vn-23387120', 'href': 'http://10.0.0.162:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-17592178:ctest-vn-23387120?flat'} 2026-11-27 21:41:28,518 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-17592178:ctest-vn-23387120 is found in opserver 2026-11-27 21:41:28,530 - DEBUG - Do not have enough data to verify VN in agent 2026-11-27 21:41:28,540 - DEBUG - VRF ids for VN ctest-vn-23387120: {} 2026-11-27 21:41:28,614 - DEBUG - Services list from nova: [, , ] 2026-11-27 21:41:29,127 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6516-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6516-1) 2026-11-27 21:41:29,551 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6516-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6516-1) 2026-11-27 21:41:29,551 - INFO - Waiting for VM ctest-TestBasicPolicy-17592178-81256337 to be up.. 2026-11-27 21:41:29,592 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-27 21:41:34,672 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-27 21:41:39,749 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-27 21:41:44,824 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-27 21:41:49,910 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-27 21:41:54,989 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-27 21:42:00,066 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-27 21:42:05,145 - DEBUG - VM is in ACTIVE state now 2026-11-27 21:42:05,145 - INFO - VM name : ctest-TestBasicPolicy-17592178-81256337 2026-11-27 21:42:05,225 - DEBUG - VM ctest-TestBasicPolicy-17592178-81256337 ID is 1ee6907f-2f9f-4ddc-af11-d9748c31adf5 2026-11-27 21:42:05,244 - DEBUG - VM ctest-TestBasicPolicy-17592178-81256337 launched on Node cn-jenkins-deploy-platform-ansible-os-6516-1 2026-11-27 21:42:05,321 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine/1ee6907f-2f9f-4ddc-af11-d9748c31adf5 2026-11-27 21:42:05,330 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine-interface/876a8213-5da2-48a4-b4fc-544414cf2bbe 2026-11-27 21:42:08,592 - 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 1030ms') 2026-11-27 21:42:08,593 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-17592178-81256337 failed! 2026-11-27 21:42:08,652 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-17592178:ctest-vn-55830036 is 168.28.96.129 and allocation pool is NOT set 2026-11-27 21:42:12,730 - 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=2 ttl=63 time=16.4 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1010ms\r\nrtt min/avg/max/mdev = 16.427/16.427/16.427/0.000 ms') 2026-11-27 21:42:12,730 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-17592178-81256337 passed 2026-11-27 21:42:12,880 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-27 21:42:12,880 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-17592178-81256337, IP 168.28.96.131, Port 22 2026-11-27 21:42:13,053 - DEBUG - VM ctest-TestBasicPolicy-17592178-81256337 is ready for SSH connections 2026-11-27 21:42:13,053 - INFO - Waiting for VM ctest-TestBasicPolicy-17592178-82511303 to be up.. 2026-11-27 21:42:13,130 - DEBUG - VM is in ACTIVE state now 2026-11-27 21:42:13,131 - INFO - VM name : ctest-TestBasicPolicy-17592178-82511303 2026-11-27 21:42:13,211 - DEBUG - VM ctest-TestBasicPolicy-17592178-82511303 ID is 30451b11-83cb-40ce-b244-8a9b9c050c87 2026-11-27 21:42:13,211 - DEBUG - VM ctest-TestBasicPolicy-17592178-82511303 launched on Node cn-jenkins-deploy-platform-ansible-os-6516-1 2026-11-27 21:42:13,289 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine/30451b11-83cb-40ce-b244-8a9b9c050c87 2026-11-27 21:42:13,298 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine-interface/cf6e5647-e2bb-4715-89a0-c6f6211f9592 2026-11-27 21:42:16,568 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1030ms') 2026-11-27 21:42:16,568 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-17592178-82511303 failed! 2026-11-27 21:42:16,628 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-17592178:ctest-vn-23387120 is 46.4.111.129 and allocation pool is NOT set 2026-11-27 21:42:18,692 - 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=3.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.497 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.497/2.117/3.738/1.620 ms') 2026-11-27 21:42:18,692 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-17592178-82511303 passed 2026-11-27 21:42:18,844 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-27 21:42:18,844 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-17592178-82511303, IP 46.4.111.131, Port 22 2026-11-27 21:42:19,014 - DEBUG - VM ctest-TestBasicPolicy-17592178-82511303 is ready for SSH connections 2026-11-27 21:42:19,014 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-27 21:42:19,014 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 46.4.111.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.162, gateway password: c0ntrail123 2026-11-27 21:42:19,014 - DEBUG - ping -s 56 -c 3 -W 1 46.4.111.131 2026-11-27 21:42:23,011 - DEBUG - PING 46.4.111.131 (46.4.111.131): 56 data bytes 64 bytes from 46.4.111.131: seq=0 ttl=63 time=4.405 ms 64 bytes from 46.4.111.131: seq=1 ttl=63 time=0.883 ms 64 bytes from 46.4.111.131: seq=2 ttl=63 time=1.062 ms --- 46.4.111.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.883/2.116/4.405 ms 2026-11-27 21:42:23,011 - INFO - Ping to IP 46.4.111.131 from VM ctest-TestBasicPolicy-17592178-81256337 passed 2026-11-27 21:42:23,191 - DEBUG - Policy Update Response {"network-policy": {"uuid": "53d1cb33-5d04-488c-9e91-b116302b2140", "href": "http://10.0.0.162:8082/network-policy/53d1cb33-5d04-488c-9e91-b116302b2140"}} 2026-11-27 21:42:23,192 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-27 21:42:23,192 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 46.4.111.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.162, gateway password: c0ntrail123 2026-11-27 21:42:23,192 - DEBUG - ping -s 56 -c 3 -W 1 46.4.111.131 2026-11-27 21:42:26,351 - DEBUG - PING 46.4.111.131 (46.4.111.131): 56 data bytes 64 bytes from 46.4.111.131: seq=0 ttl=63 time=1.756 ms --- 46.4.111.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.756/1.756/1.756 ms 2026-11-27 21:42:26,351 - WARNING - Ping to IP 46.4.111.131 from VM ctest-TestBasicPolicy-17592178-81256337 failed 2026-11-27 21:42:26,351 - INFO - Deleting VM ctest-TestBasicPolicy-17592178-82511303 2026-11-27 21:42:26,442 - INFO - Deleting VM ctest-TestBasicPolicy-17592178-81256337 2026-11-27 21:42:26,817 - INFO - Deleted policy ctest-policy-allow-all-03570708 2026-11-27 21:42:26,818 - INFO - Deleting VN ctest-vn-23387120 2026-11-27 21:42:26,860 - DEBUG - VN b1102edb-9c8a-49f2-9c02-c2c7f8c4cb19 still in use: Unable to complete operation on network b1102edb-9c8a-49f2-9c02-c2c7f8c4cb19. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d7f1f2d3-0eea-47d9-80aa-47f5ffe984f8'] 2026-11-27 21:42:26,860 - WARNING - Deleting VN ctest-vn-23387120 failed..Will retry 2026-11-27 21:42:28,899 - DEBUG - VN b1102edb-9c8a-49f2-9c02-c2c7f8c4cb19 still in use: Unable to complete operation on network b1102edb-9c8a-49f2-9c02-c2c7f8c4cb19. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-62dd90c5-324e-4e46-9c33-13003b1a6f3b'] 2026-11-27 21:42:28,899 - WARNING - Deleting VN ctest-vn-23387120 failed..Will retry 2026-11-27 21:42:31,002 - DEBUG - Response for deleting network () 2026-11-27 21:42:31,003 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/4e841d10-60e7-4668-bf51-59b7bcba2f43 2026-11-27 21:42:31,010 - DEBUG - Response Code: 404 2026-11-27 21:42:31,010 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-11-27 21:42:31,015 - DEBUG - Requesting: http://10.0.0.162:8082/domain/dede3b9a-f1a2-45f9-a1f4-4597e880389f 2026-11-27 21:42:31,070 - DEBUG - Requesting: http://10.0.0.162:8082/project/f8a27d24-7fbf-4ad3-a8df-07ba493085af 2026-11-27 21:42:31,145 - INFO - Validated that VN ctest-vn-23387120 is not found in API Server 2026-11-27 21:42:31,155 - DEBUG - VN ctest-vn-23387120 is not present in Agent 10.0.0.162 2026-11-27 21:42:31,155 - INFO - Validated that VN ctest-vn-23387120 is not in any agent 2026-11-27 21:42:31,171 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-23387120 info 2026-11-27 21:42:31,171 - INFO - Deleting VN ctest-vn-55830036 2026-11-27 21:42:31,263 - DEBUG - Response for deleting network () 2026-11-27 21:42:31,264 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/cfe75f9d-8e69-4b4d-a732-424096c0c5b3 2026-11-27 21:42:31,268 - DEBUG - Response Code: 404 2026-11-27 21:42:31,268 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-11-27 21:42:31,275 - DEBUG - Requesting: http://10.0.0.162:8082/domain/dede3b9a-f1a2-45f9-a1f4-4597e880389f 2026-11-27 21:42:31,329 - DEBUG - Requesting: http://10.0.0.162:8082/project/f8a27d24-7fbf-4ad3-a8df-07ba493085af 2026-11-27 21:42:31,402 - INFO - Validated that VN ctest-vn-55830036 is not found in API Server 2026-11-27 21:42:31,413 - DEBUG - VN ctest-vn-55830036 is not present in Agent 10.0.0.162 2026-11-27 21:42:31,413 - INFO - Validated that VN ctest-vn-55830036 is not in any agent 2026-11-27 21:42:31,428 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-55830036 info 2026-11-27 21:42:31,706 - DEBUG - No XMPP flaps were noticed during the test
2026-11-27 21:42:31,706 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:07]
2026-11-27 21:42:31,707 - INFO - -------------------------------------------------------------------------------- 2026-11-27 21:42:32,480 - INFO - Deleted project: ctest-TestBasicPolicy-17592178, ID : f8a27d24-7fbf-4ad3-a8df-07ba493085af