2026-08-31 02:22:33,091 - INFO - Domain Default found not creating 2026-08-31 02:22:33,247 - INFO - Project ctest-TestBasicPolicy-94137890 not found, creating it 2026-08-31 02:22:33,729 - INFO - Created Project:ctest-TestBasicPolicy-94137890, ID : 14ac731b-2126-431d-b08b-c004c11855e9 2026-08-31 02:22:35,271 - INFO - ================================================================================ 2026-08-31 02:22:35,271 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-31 02:22:35,271 - 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-08-31 02:22:35,538 - DEBUG - Nothing to compare xmpp stats {'10.0.0.177': {'10.20.0.17': '0'}} with 2026-08-31 02:22:35,538 - INFO - Initial checks done. Running the testcase now 2026-08-31 02:22:35,538 - INFO - 2026-08-31 02:22:36,173 - DEBUG - Response for create_network : {'network': {'id': '19a70456-f140-45b1-b4ca-3da7de322f4e', 'name': 'ctest-vn-67850602', 'tenant_id': '14ac731b2126431db08bc004c11855e9', 'project_id': '14ac731b2126431db08bc004c11855e9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94137890', 'ctest-vn-67850602'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-08-31 02:22:36,370 - DEBUG - Response for create_subnet : {'subnet': {'id': '774b1641-ca99-4149-a540-6c0178cb1468', 'name': '', 'tenant_id': '14ac731b2126431db08bc004c11855e9', 'network_id': '19a70456-f140-45b1-b4ca-3da7de322f4e', 'ip_version': 4, 'cidr': '74.252.205.192/26', 'allocation_pools': [{'start': '74.252.205.194', 'end': '74.252.205.254'}], 'gateway_ip': '74.252.205.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-08-31T02:22:36.280001', 'updated_at': '2026-08-31T02:22:36.280001', 'dns_server_address': '74.252.205.194', 'tags': [], 'project_id': '14ac731b2126431db08bc004c11855e9'}} 2026-08-31 02:22:36,388 - INFO - Created VN ctest-vn-67850602 2026-08-31 02:22:36,441 - DEBUG - VN ctest-vn-67850602 UUID is 19a70456-f140-45b1-b4ca-3da7de322f4e 2026-08-31 02:22:36,756 - DEBUG - Response for create_network : {'network': {'id': 'e181f4f1-d28d-4008-b313-8b8d17f9917f', 'name': 'ctest-vn-90592135', 'tenant_id': '14ac731b2126431db08bc004c11855e9', 'project_id': '14ac731b2126431db08bc004c11855e9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94137890', 'ctest-vn-90592135'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-08-31 02:22:36,962 - DEBUG - Response for create_subnet : {'subnet': {'id': '1b4cfef5-4de2-486f-84dc-f73d6f9689c7', 'name': '', 'tenant_id': '14ac731b2126431db08bc004c11855e9', 'network_id': 'e181f4f1-d28d-4008-b313-8b8d17f9917f', 'ip_version': 4, 'cidr': '202.45.51.0/26', 'allocation_pools': [{'start': '202.45.51.2', 'end': '202.45.51.62'}], 'gateway_ip': '202.45.51.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-08-31T02:22:36.880925', 'updated_at': '2026-08-31T02:22:36.880925', 'dns_server_address': '202.45.51.2', 'tags': [], 'project_id': '14ac731b2126431db08bc004c11855e9'}} 2026-08-31 02:22:36,982 - INFO - Created VN ctest-vn-90592135 2026-08-31 02:22:37,037 - DEBUG - VN ctest-vn-90592135 UUID is e181f4f1-d28d-4008-b313-8b8d17f9917f 2026-08-31 02:22:37,148 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-94137890:ctest-vn-67850602, 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-94137890:ctest-vn-90592135, 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-08-31 02:22:37,481 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '19a70456-f140-45b1-b4ca-3da7de322f4e', 'name': 'ctest-vn-67850602', 'tenant_id': '14ac731b2126431db08bc004c11855e9', 'project_id': '14ac731b2126431db08bc004c11855e9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['774b1641-ca99-4149-a540-6c0178cb1468'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94137890', 'ctest-vn-67850602'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-94137890', 'ctest-policy-allow-all-61276070']], 'subnet_ipam': [{'subnet_cidr': '74.252.205.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-08-31T02:22:36.116712', 'updated_at': '2026-08-31T02:22:36.306937'}} 2026-08-31 02:22:37,746 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e181f4f1-d28d-4008-b313-8b8d17f9917f', 'name': 'ctest-vn-90592135', 'tenant_id': '14ac731b2126431db08bc004c11855e9', 'project_id': '14ac731b2126431db08bc004c11855e9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['1b4cfef5-4de2-486f-84dc-f73d6f9689c7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94137890', 'ctest-vn-90592135'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-94137890', 'ctest-policy-allow-all-61276070']], 'subnet_ipam': [{'subnet_cidr': '202.45.51.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-08-31T02:22:36.720777', 'updated_at': '2026-08-31T02:22:36.899560'}} 2026-08-31 02:22:37,905 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-31 02:22:38,223 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-31 02:22:38,254 - DEBUG - Requesting: http://10.0.0.177:8082/domain/e72092a5-ed6c-4e44-9e26-97f06214b8ee 2026-08-31 02:22:38,267 - DEBUG - Requesting: http://10.0.0.177:8082/project/14ac731b-2126-431d-b08b-c004c11855e9 2026-08-31 02:22:38,351 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/19a70456-f140-45b1-b4ca-3da7de322f4e 2026-08-31 02:22:38,367 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/19a70456-f140-45b1-b4ca-3da7de322f4e 2026-08-31 02:22:38,377 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/b1c7caa1-f61f-47ff-b0b2-55f253ae40bf 2026-08-31 02:22:38,385 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/b1c7caa1-f61f-47ff-b0b2-55f253ae40bf 2026-08-31 02:22:38,393 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/bd4c761c-e480-495f-86d3-affac99ee54d 2026-08-31 02:22:38,401 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-31 02:22:38,401 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/19a70456-f140-45b1-b4ca-3da7de322f4e 2026-08-31 02:22:38,410 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/b1c7caa1-f61f-47ff-b0b2-55f253ae40bf 2026-08-31 02:22:38,427 - INFO - Verified VN network id 12 for VN 19a70456-f140-45b1-b4ca-3da7de322f4e 2026-08-31 02:22:38,427 - INFO - Verifications in API Server for VN ctest-vn-67850602 passed 2026-08-31 02:22:38,427 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/19a70456-f140-45b1-b4ca-3da7de322f4e 2026-08-31 02:22:38,437 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/b1c7caa1-f61f-47ff-b0b2-55f253ae40bf 2026-08-31 02:22:38,446 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/b1c7caa1-f61f-47ff-b0b2-55f253ae40bf 2026-08-31 02:22:38,454 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/bd4c761c-e480-495f-86d3-affac99ee54d 2026-08-31 02:22:38,468 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94137890:ctest-vn-67850602', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94137890', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1848450943520097713', 'uuid-lslong': '13027292663319244622'}, 'enable': 'true', 'created': '2026-08-31T02:22:36', 'last-modified': '2026-08-31T02:22:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.019685'} 2026-08-31 02:22:38,475 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-31 02:22:38,475 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-67850602 passed 2026-08-31 02:22:38,475 - DEBUG - ====Verifying policy data for ctest-vn-67850602 in API_Server ====== 2026-08-31 02:22:38,476 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-31 02:22:38,482 - DEBUG - Requesting: http://10.0.0.177:8082/domain/e72092a5-ed6c-4e44-9e26-97f06214b8ee 2026-08-31 02:22:38,493 - DEBUG - Requesting: http://10.0.0.177:8082/project/14ac731b-2126-431d-b08b-c004c11855e9 2026-08-31 02:22:38,582 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/19a70456-f140-45b1-b4ca-3da7de322f4e 2026-08-31 02:22:38,624 - DEBUG - ==>Verifying data for policy with id: f60677a9-f1ff-4cda-a275-34c7f1e3f886, fqn: ['default-domain', 'ctest-TestBasicPolicy-94137890', 'ctest-policy-allow-all-61276070'] 2026-08-31 02:22:38,624 - INFO - VN ctest-vn-67850602 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-31 02:22:38,624 - DEBUG - Verifying the vn in opserver 2026-08-31 02:22:38,624 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94137890:ctest-vn-67850602 virtual network link through opserver 10.0.0.177 2026-08-31 02:22:38,624 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-08-31 02:22:38,963 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-08-31 02:22:39,026 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94137890:ctest-vn-67850602', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94137890:ctest-vn-67850602?flat'} 2026-08-31 02:22:39,026 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-94137890:ctest-vn-67850602 is found in opserver 2026-08-31 02:22:39,038 - DEBUG - Do not have enough data to verify VN in agent 2026-08-31 02:22:39,044 - DEBUG - VRF ids for VN ctest-vn-67850602: {} 2026-08-31 02:22:39,044 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-31 02:22:39,051 - DEBUG - Requesting: http://10.0.0.177:8082/domain/e72092a5-ed6c-4e44-9e26-97f06214b8ee 2026-08-31 02:22:39,064 - DEBUG - Requesting: http://10.0.0.177:8082/project/14ac731b-2126-431d-b08b-c004c11855e9 2026-08-31 02:22:39,141 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/e181f4f1-d28d-4008-b313-8b8d17f9917f 2026-08-31 02:22:39,155 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/e181f4f1-d28d-4008-b313-8b8d17f9917f 2026-08-31 02:22:39,165 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/40f02d24-ed09-4b19-9969-067fd46f0dd7 2026-08-31 02:22:39,174 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/40f02d24-ed09-4b19-9969-067fd46f0dd7 2026-08-31 02:22:39,183 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/dfa263d5-c785-4352-9686-2746b9585090 2026-08-31 02:22:39,191 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-08-31 02:22:39,191 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/e181f4f1-d28d-4008-b313-8b8d17f9917f 2026-08-31 02:22:39,202 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/40f02d24-ed09-4b19-9969-067fd46f0dd7 2026-08-31 02:22:39,218 - INFO - Verified VN network id 13 for VN e181f4f1-d28d-4008-b313-8b8d17f9917f 2026-08-31 02:22:39,218 - INFO - Verifications in API Server for VN ctest-vn-90592135 passed 2026-08-31 02:22:39,218 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/e181f4f1-d28d-4008-b313-8b8d17f9917f 2026-08-31 02:22:39,228 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/40f02d24-ed09-4b19-9969-067fd46f0dd7 2026-08-31 02:22:39,238 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/40f02d24-ed09-4b19-9969-067fd46f0dd7 2026-08-31 02:22:39,248 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/dfa263d5-c785-4352-9686-2746b9585090 2026-08-31 02:22:39,264 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94137890:ctest-vn-90592135', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94137890', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16249538249986228232', 'uuid-lslong': '12903810795455484287'}, 'enable': 'true', 'created': '2026-08-31T02:22:36', 'last-modified': '2026-08-31T02:22:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.551151'} 2026-08-31 02:22:39,271 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-08-31 02:22:39,271 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-90592135 passed 2026-08-31 02:22:39,271 - DEBUG - ====Verifying policy data for ctest-vn-90592135 in API_Server ====== 2026-08-31 02:22:39,271 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-31 02:22:39,277 - DEBUG - Requesting: http://10.0.0.177:8082/domain/e72092a5-ed6c-4e44-9e26-97f06214b8ee 2026-08-31 02:22:39,289 - DEBUG - Requesting: http://10.0.0.177:8082/project/14ac731b-2126-431d-b08b-c004c11855e9 2026-08-31 02:22:39,371 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/e181f4f1-d28d-4008-b313-8b8d17f9917f 2026-08-31 02:22:39,381 - DEBUG - ==>Verifying data for policy with id: f60677a9-f1ff-4cda-a275-34c7f1e3f886, fqn: ['default-domain', 'ctest-TestBasicPolicy-94137890', 'ctest-policy-allow-all-61276070'] 2026-08-31 02:22:39,381 - INFO - VN ctest-vn-90592135 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-31 02:22:39,382 - DEBUG - Verifying the vn in opserver 2026-08-31 02:22:39,382 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94137890:ctest-vn-90592135 virtual network link through opserver 10.0.0.177 2026-08-31 02:22:39,382 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-08-31 02:22:39,394 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94137890:ctest-vn-90592135', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94137890:ctest-vn-90592135?flat'} 2026-08-31 02:22:39,394 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-94137890:ctest-vn-90592135 is found in opserver 2026-08-31 02:22:39,407 - DEBUG - Do not have enough data to verify VN in agent 2026-08-31 02:22:39,411 - DEBUG - VRF ids for VN ctest-vn-90592135: {} 2026-08-31 02:22:39,472 - DEBUG - Services list from nova: [, , ] 2026-08-31 02:22:39,939 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6236-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6236-1) 2026-08-31 02:22:40,327 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6236-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6236-1) 2026-08-31 02:22:40,327 - INFO - Waiting for VM ctest-TestBasicPolicy-94137890-05968913 to be up.. 2026-08-31 02:22:40,365 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-31 02:22:45,439 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-31 02:22:50,516 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-31 02:22:55,598 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-31 02:23:00,682 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-31 02:23:05,760 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-31 02:23:10,844 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-31 02:23:15,923 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-31 02:23:21,004 - DEBUG - VM is in ACTIVE state now 2026-08-31 02:23:21,004 - INFO - VM name : ctest-TestBasicPolicy-94137890-05968913 2026-08-31 02:23:21,082 - DEBUG - VM ctest-TestBasicPolicy-94137890-05968913 ID is 58094e24-ab85-471d-8015-93b3a1c61d88 2026-08-31 02:23:21,104 - DEBUG - VM ctest-TestBasicPolicy-94137890-05968913 launched on Node cn-jenkins-deploy-platform-ansible-os-6236-1 2026-08-31 02:23:21,187 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/58094e24-ab85-471d-8015-93b3a1c61d88 2026-08-31 02:23:21,197 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/46874ad0-2c4a-491f-bd46-7bae87333fef 2026-08-31 02:23:24,475 - 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 1026ms') 2026-08-31 02:23:24,475 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94137890-05968913 failed! 2026-08-31 02:23:24,529 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-94137890:ctest-vn-67850602 is 74.252.205.193 and allocation pool is NOT set 2026-08-31 02:23:26,594 - 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=3.46 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.593 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.593/2.028/3.464/1.435 ms') 2026-08-31 02:23:26,594 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94137890-05968913 passed 2026-08-31 02:23:26,745 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-31 02:23:26,745 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-94137890-05968913, IP 74.252.205.195, Port 22 2026-08-31 02:23:26,911 - DEBUG - VM ctest-TestBasicPolicy-94137890-05968913 is ready for SSH connections 2026-08-31 02:23:26,912 - INFO - Waiting for VM ctest-TestBasicPolicy-94137890-19545541 to be up.. 2026-08-31 02:23:26,987 - DEBUG - VM is in ACTIVE state now 2026-08-31 02:23:26,987 - INFO - VM name : ctest-TestBasicPolicy-94137890-19545541 2026-08-31 02:23:27,060 - DEBUG - VM ctest-TestBasicPolicy-94137890-19545541 ID is 11a04f35-07a3-45e7-aea7-257a341c4aa5 2026-08-31 02:23:27,060 - DEBUG - VM ctest-TestBasicPolicy-94137890-19545541 launched on Node cn-jenkins-deploy-platform-ansible-os-6236-1 2026-08-31 02:23:27,143 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/11a04f35-07a3-45e7-aea7-257a341c4aa5 2026-08-31 02:23:27,155 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/0e53cd73-fdc5-4cf9-8f31-96b3daeddaaf 2026-08-31 02:23:28,402 - 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.43 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=4.07 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.426/3.747/4.068/0.321 ms') 2026-08-31 02:23:28,402 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-94137890-19545541 passed 2026-08-31 02:23:28,557 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-31 02:23:28,557 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-94137890-19545541, IP 202.45.51.3, Port 22 2026-08-31 02:23:28,623 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-08-31 02:23:28,707 - DEBUG - VM ctest-TestBasicPolicy-94137890-19545541 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-31 02:23:33,708 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-31 02:23:33,708 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-94137890-19545541, IP 202.45.51.3, Port 22 2026-08-31 02:23:33,875 - DEBUG - VM ctest-TestBasicPolicy-94137890-19545541 is ready for SSH connections 2026-08-31 02:23:33,876 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-31 02:23:33,876 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 202.45.51.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123 2026-08-31 02:23:33,876 - DEBUG - ping -s 56 -c 3 -W 1 202.45.51.3 2026-08-31 02:23:37,815 - DEBUG - PING 202.45.51.3 (202.45.51.3): 56 data bytes 64 bytes from 202.45.51.3: seq=0 ttl=63 time=4.650 ms 64 bytes from 202.45.51.3: seq=1 ttl=63 time=1.196 ms 64 bytes from 202.45.51.3: seq=2 ttl=63 time=1.265 ms --- 202.45.51.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.196/2.370/4.650 ms 2026-08-31 02:23:37,815 - INFO - Ping to IP 202.45.51.3 from VM ctest-TestBasicPolicy-94137890-05968913 passed 2026-08-31 02:23:38,009 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f60677a9-f1ff-4cda-a275-34c7f1e3f886", "href": "http://10.0.0.177:8082/network-policy/f60677a9-f1ff-4cda-a275-34c7f1e3f886"}} 2026-08-31 02:23:38,009 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-31 02:23:38,009 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 202.45.51.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123 2026-08-31 02:23:38,009 - DEBUG - ping -s 56 -c 3 -W 1 202.45.51.3 2026-08-31 02:23:41,135 - DEBUG - PING 202.45.51.3 (202.45.51.3): 56 data bytes 64 bytes from 202.45.51.3: seq=0 ttl=63 time=1.566 ms --- 202.45.51.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.566/1.566/1.566 ms 2026-08-31 02:23:41,135 - WARNING - Ping to IP 202.45.51.3 from VM ctest-TestBasicPolicy-94137890-05968913 failed 2026-08-31 02:23:41,136 - INFO - Deleting VM ctest-TestBasicPolicy-94137890-19545541 2026-08-31 02:23:41,227 - INFO - Deleting VM ctest-TestBasicPolicy-94137890-05968913 2026-08-31 02:23:41,601 - INFO - Deleted policy ctest-policy-allow-all-61276070 2026-08-31 02:23:41,601 - INFO - Deleting VN ctest-vn-90592135 2026-08-31 02:23:41,635 - DEBUG - VN e181f4f1-d28d-4008-b313-8b8d17f9917f still in use: Unable to complete operation on network e181f4f1-d28d-4008-b313-8b8d17f9917f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9324b458-f1af-46d1-a814-e40ce867c896'] 2026-08-31 02:23:41,635 - WARNING - Deleting VN ctest-vn-90592135 failed..Will retry 2026-08-31 02:23:43,749 - DEBUG - Response for deleting network () 2026-08-31 02:23:43,749 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/40f02d24-ed09-4b19-9969-067fd46f0dd7 2026-08-31 02:23:43,756 - DEBUG - Response Code: 404 2026-08-31 02:23:43,756 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-31 02:23:43,765 - DEBUG - Requesting: http://10.0.0.177:8082/domain/e72092a5-ed6c-4e44-9e26-97f06214b8ee 2026-08-31 02:23:43,820 - DEBUG - Requesting: http://10.0.0.177:8082/project/14ac731b-2126-431d-b08b-c004c11855e9 2026-08-31 02:23:43,892 - INFO - Validated that VN ctest-vn-90592135 is not found in API Server 2026-08-31 02:23:43,906 - DEBUG - VN ctest-vn-90592135 is not present in Agent 10.0.0.177 2026-08-31 02:23:43,907 - INFO - Validated that VN ctest-vn-90592135 is not in any agent 2026-08-31 02:23:43,925 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-90592135 info 2026-08-31 02:23:43,925 - INFO - Deleting VN ctest-vn-67850602 2026-08-31 02:23:44,053 - DEBUG - Response for deleting network () 2026-08-31 02:23:44,053 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/b1c7caa1-f61f-47ff-b0b2-55f253ae40bf 2026-08-31 02:23:44,063 - DEBUG - Response Code: 404 2026-08-31 02:23:44,063 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-31 02:23:44,069 - DEBUG - Requesting: http://10.0.0.177:8082/domain/e72092a5-ed6c-4e44-9e26-97f06214b8ee 2026-08-31 02:23:44,123 - DEBUG - Requesting: http://10.0.0.177:8082/project/14ac731b-2126-431d-b08b-c004c11855e9 2026-08-31 02:23:44,200 - INFO - Validated that VN ctest-vn-67850602 is not found in API Server 2026-08-31 02:23:44,211 - DEBUG - VN ctest-vn-67850602 is not present in Agent 10.0.0.177 2026-08-31 02:23:44,212 - INFO - Validated that VN ctest-vn-67850602 is not in any agent 2026-08-31 02:23:44,233 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-67850602 info 2026-08-31 02:23:44,492 - DEBUG - No XMPP flaps were noticed during the test
2026-08-31 02:23:44,492 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:09]
2026-08-31 02:23:44,492 - INFO - -------------------------------------------------------------------------------- 2026-08-31 02:23:45,260 - INFO - Deleted project: ctest-TestBasicPolicy-94137890, ID : 14ac731b-2126-431d-b08b-c004c11855e9