2026-10-26 14:50:41,128 - INFO - Domain Default found not creating 2026-10-26 14:50:41,389 - INFO - Project ctest-TestBasicPolicy-67857614 not found, creating it 2026-10-26 14:50:41,988 - INFO - Created Project:ctest-TestBasicPolicy-67857614, ID : 41e601f6-bc9c-4578-9394-93c07c0a04ef 2026-10-26 14:50:44,140 - INFO - ================================================================================ 2026-10-26 14:50:44,140 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-10-26 14:50:44,140 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2026-10-26 14:50:44,420 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2026-10-26 14:50:44,420 - INFO - Initial checks done. Running the testcase now 2026-10-26 14:50:44,420 - INFO - 2026-10-26 14:50:45,176 - DEBUG - Response for create_network : {'network': {'id': '583eb142-d5c4-4393-abaa-4d46cd02623d', 'name': 'ctest-vn-01589595', 'tenant_id': '41e601f6bc9c4578939493c07c0a04ef', 'project_id': '41e601f6bc9c4578939493c07c0a04ef', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67857614', 'ctest-vn-01589595'], 'port_security_enabled': True, 'description': ''}} 2026-10-26 14:50:45,454 - DEBUG - Response for create_subnet : {'subnet': {'id': '2354bdd9-51da-4c02-a3a7-0e98a62ef8fe', 'name': '', 'tenant_id': '41e601f6bc9c4578939493c07c0a04ef', 'network_id': '583eb142-d5c4-4393-abaa-4d46cd02623d', 'ip_version': 4, 'cidr': '195.224.214.128/26', 'allocation_pools': [{'start': '195.224.214.130', 'end': '195.224.214.190'}], 'gateway_ip': '195.224.214.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '195.224.214.130', 'tags': [], 'project_id': '41e601f6bc9c4578939493c07c0a04ef'}} 2026-10-26 14:50:45,479 - INFO - Created VN ctest-vn-01589595 2026-10-26 14:50:45,535 - DEBUG - VN ctest-vn-01589595 UUID is 583eb142-d5c4-4393-abaa-4d46cd02623d 2026-10-26 14:50:45,919 - DEBUG - Response for create_network : {'network': {'id': '7d90c7a7-a405-4be2-8caf-41f25d738ec0', 'name': 'ctest-vn-80185343', 'tenant_id': '41e601f6bc9c4578939493c07c0a04ef', 'project_id': '41e601f6bc9c4578939493c07c0a04ef', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67857614', 'ctest-vn-80185343'], 'port_security_enabled': True, 'description': ''}} 2026-10-26 14:50:46,163 - DEBUG - Response for create_subnet : {'subnet': {'id': '33317510-edd1-485b-868d-d24d80e08819', 'name': '', 'tenant_id': '41e601f6bc9c4578939493c07c0a04ef', 'network_id': '7d90c7a7-a405-4be2-8caf-41f25d738ec0', 'ip_version': 4, 'cidr': '203.41.201.64/26', 'allocation_pools': [{'start': '203.41.201.66', 'end': '203.41.201.126'}], 'gateway_ip': '203.41.201.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.41.201.66', 'tags': [], 'project_id': '41e601f6bc9c4578939493c07c0a04ef'}} 2026-10-26 14:50:46,188 - INFO - Created VN ctest-vn-80185343 2026-10-26 14:50:46,247 - DEBUG - VN ctest-vn-80185343 UUID is 7d90c7a7-a405-4be2-8caf-41f25d738ec0 2026-10-26 14:50:46,388 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-67857614:ctest-vn-01589595, 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-67857614:ctest-vn-80185343, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2026-10-26 14:50:46,739 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '583eb142-d5c4-4393-abaa-4d46cd02623d', 'name': 'ctest-vn-01589595', 'tenant_id': '41e601f6bc9c4578939493c07c0a04ef', 'project_id': '41e601f6bc9c4578939493c07c0a04ef', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['2354bdd9-51da-4c02-a3a7-0e98a62ef8fe'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67857614', 'ctest-vn-01589595'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67857614', 'ctest-policy-allow-all-75005186']], 'subnet_ipam': [{'subnet_cidr': '195.224.214.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-26 14:50:47,013 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7d90c7a7-a405-4be2-8caf-41f25d738ec0', 'name': 'ctest-vn-80185343', 'tenant_id': '41e601f6bc9c4578939493c07c0a04ef', 'project_id': '41e601f6bc9c4578939493c07c0a04ef', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['33317510-edd1-485b-868d-d24d80e08819'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67857614', 'ctest-vn-80185343'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67857614', 'ctest-policy-allow-all-75005186']], 'subnet_ipam': [{'subnet_cidr': '203.41.201.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-26 14:50:47,199 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-10-26 14:50:47,599 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-10-26 14:50:47,634 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e291b5af-3f0f-463e-9ce9-038a05513fec 2026-10-26 14:50:47,651 - DEBUG - Requesting: http://10.0.0.38:8082/project/41e601f6-bc9c-4578-9394-93c07c0a04ef 2026-10-26 14:50:47,738 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/583eb142-d5c4-4393-abaa-4d46cd02623d 2026-10-26 14:50:47,753 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/583eb142-d5c4-4393-abaa-4d46cd02623d 2026-10-26 14:50:47,767 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/889bc88f-e68d-4cfd-8442-4708ec47262e 2026-10-26 14:50:47,777 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/889bc88f-e68d-4cfd-8442-4708ec47262e 2026-10-26 14:50:47,787 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a096238e-c0c1-4ad1-bee8-79f6264dc20e 2026-10-26 14:50:47,797 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-26 14:50:47,797 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/583eb142-d5c4-4393-abaa-4d46cd02623d 2026-10-26 14:50:47,811 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/889bc88f-e68d-4cfd-8442-4708ec47262e 2026-10-26 14:50:47,830 - INFO - Verified VN network id 12 for VN 583eb142-d5c4-4393-abaa-4d46cd02623d 2026-10-26 14:50:47,830 - INFO - Verifications in API Server for VN ctest-vn-01589595 passed 2026-10-26 14:50:47,831 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/583eb142-d5c4-4393-abaa-4d46cd02623d 2026-10-26 14:50:47,845 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/889bc88f-e68d-4cfd-8442-4708ec47262e 2026-10-26 14:50:47,857 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/889bc88f-e68d-4cfd-8442-4708ec47262e 2026-10-26 14:50:47,872 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a096238e-c0c1-4ad1-bee8-79f6264dc20e 2026-10-26 14:50:47,897 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67857614:ctest-vn-01589595', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67857614', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6358714624506086291', 'uuid-lslong': '12369784293009023549'}, 'enable': 'true', 'created': '2026-10-26T14:50:45', 'last-modified': '2026-10-26T14:50:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.192270'} 2026-10-26 14:50:47,907 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-26 14:50:47,908 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-01589595 passed 2026-10-26 14:50:47,908 - DEBUG - ====Verifying policy data for ctest-vn-01589595 in API_Server ====== 2026-10-26 14:50:47,908 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-10-26 14:50:47,916 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e291b5af-3f0f-463e-9ce9-038a05513fec 2026-10-26 14:50:47,931 - DEBUG - Requesting: http://10.0.0.38:8082/project/41e601f6-bc9c-4578-9394-93c07c0a04ef 2026-10-26 14:50:48,030 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/583eb142-d5c4-4393-abaa-4d46cd02623d 2026-10-26 14:50:48,043 - DEBUG - ==>Verifying data for policy with id: 26aa80ef-8970-4442-9103-139721e44bbe, fqn: ['default-domain', 'ctest-TestBasicPolicy-67857614', 'ctest-policy-allow-all-75005186'] 2026-10-26 14:50:48,043 - INFO - VN ctest-vn-01589595 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-26 14:50:48,043 - DEBUG - Verifying the vn in opserver 2026-10-26 14:50:48,044 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67857614:ctest-vn-01589595 virtual network link through opserver 10.0.0.38 2026-10-26 14:50:48,044 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-10-26 14:50:48,434 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-10-26 14:50:48,507 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67857614:ctest-vn-01589595', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67857614:ctest-vn-01589595?flat'} 2026-10-26 14:50:48,507 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67857614:ctest-vn-01589595 is found in opserver 2026-10-26 14:50:48,519 - DEBUG - Do not have enough data to verify VN in agent 2026-10-26 14:50:48,526 - DEBUG - VRF ids for VN ctest-vn-01589595: {} 2026-10-26 14:50:48,526 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-10-26 14:50:48,534 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e291b5af-3f0f-463e-9ce9-038a05513fec 2026-10-26 14:50:48,548 - DEBUG - Requesting: http://10.0.0.38:8082/project/41e601f6-bc9c-4578-9394-93c07c0a04ef 2026-10-26 14:50:48,631 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7d90c7a7-a405-4be2-8caf-41f25d738ec0 2026-10-26 14:50:48,646 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7d90c7a7-a405-4be2-8caf-41f25d738ec0 2026-10-26 14:50:48,660 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/710a3cbe-bd9f-4357-a2a1-f16315fcb955 2026-10-26 14:50:48,673 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/710a3cbe-bd9f-4357-a2a1-f16315fcb955 2026-10-26 14:50:48,683 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/9bec867d-5288-4529-bd09-d81e0661ea9d 2026-10-26 14:50:48,693 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-26 14:50:48,693 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7d90c7a7-a405-4be2-8caf-41f25d738ec0 2026-10-26 14:50:48,705 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/710a3cbe-bd9f-4357-a2a1-f16315fcb955 2026-10-26 14:50:48,724 - INFO - Verified VN network id 13 for VN 7d90c7a7-a405-4be2-8caf-41f25d738ec0 2026-10-26 14:50:48,724 - INFO - Verifications in API Server for VN ctest-vn-80185343 passed 2026-10-26 14:50:48,724 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7d90c7a7-a405-4be2-8caf-41f25d738ec0 2026-10-26 14:50:48,736 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/710a3cbe-bd9f-4357-a2a1-f16315fcb955 2026-10-26 14:50:48,745 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/710a3cbe-bd9f-4357-a2a1-f16315fcb955 2026-10-26 14:50:48,753 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/9bec867d-5288-4529-bd09-d81e0661ea9d 2026-10-26 14:50:48,773 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67857614:ctest-vn-80185343', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67857614', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9047951174212602850', 'uuid-lslong': '10137393795440021184'}, 'enable': 'true', 'created': '2026-10-26T14:50:45', 'last-modified': '2026-10-26T14:50:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.799467'} 2026-10-26 14:50:48,783 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-26 14:50:48,784 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-80185343 passed 2026-10-26 14:50:48,784 - DEBUG - ====Verifying policy data for ctest-vn-80185343 in API_Server ====== 2026-10-26 14:50:48,784 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-10-26 14:50:48,792 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e291b5af-3f0f-463e-9ce9-038a05513fec 2026-10-26 14:50:48,806 - DEBUG - Requesting: http://10.0.0.38:8082/project/41e601f6-bc9c-4578-9394-93c07c0a04ef 2026-10-26 14:50:48,896 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7d90c7a7-a405-4be2-8caf-41f25d738ec0 2026-10-26 14:50:48,909 - DEBUG - ==>Verifying data for policy with id: 26aa80ef-8970-4442-9103-139721e44bbe, fqn: ['default-domain', 'ctest-TestBasicPolicy-67857614', 'ctest-policy-allow-all-75005186'] 2026-10-26 14:50:48,909 - INFO - VN ctest-vn-80185343 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-26 14:50:48,909 - DEBUG - Verifying the vn in opserver 2026-10-26 14:50:48,909 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67857614:ctest-vn-80185343 virtual network link through opserver 10.0.0.38 2026-10-26 14:50:48,909 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-10-26 14:50:48,921 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67857614:ctest-vn-80185343', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67857614:ctest-vn-80185343?flat'} 2026-10-26 14:50:48,921 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67857614:ctest-vn-80185343 is found in opserver 2026-10-26 14:50:48,935 - DEBUG - Do not have enough data to verify VN in agent 2026-10-26 14:50:48,940 - DEBUG - VRF ids for VN ctest-vn-80185343: {} 2026-10-26 14:50:49,014 - DEBUG - Services list from nova: [, , ] 2026-10-26 14:50:49,541 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6412-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6412-1) 2026-10-26 14:50:50,077 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6412-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6412-1) 2026-10-26 14:50:50,077 - INFO - Waiting for VM ctest-TestBasicPolicy-67857614-18904242 to be up.. 2026-10-26 14:50:50,143 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 14:50:55,251 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 14:51:00,361 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 14:51:05,468 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 14:51:10,574 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 14:51:15,674 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 14:51:20,770 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 14:51:25,871 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 14:51:30,997 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 14:51:36,098 - DEBUG - VM is in ACTIVE state now 2026-10-26 14:51:36,098 - INFO - VM name : ctest-TestBasicPolicy-67857614-18904242 2026-10-26 14:51:36,194 - DEBUG - VM ctest-TestBasicPolicy-67857614-18904242 ID is 85065e66-526e-4e5b-bb3d-a112ef8a512c 2026-10-26 14:51:36,223 - DEBUG - VM ctest-TestBasicPolicy-67857614-18904242 launched on Node cn-jenkins-deploy-platform-ansible-os-6412-1 2026-10-26 14:51:36,325 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/85065e66-526e-4e5b-bb3d-a112ef8a512c 2026-10-26 14:51:36,335 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c0f83bae-c1de-4b4f-97ec-0b4a35a230f5 2026-10-26 14:51:39,606 - 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 1007ms') 2026-10-26 14:51:39,606 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-67857614-18904242 failed! 2026-10-26 14:51:39,663 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-67857614:ctest-vn-01589595 is 195.224.214.129 and allocation pool is NOT set 2026-10-26 14:51:41,724 - 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.23 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.567 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.567/2.898/5.229/2.331 ms') 2026-10-26 14:51:41,724 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-67857614-18904242 passed 2026-10-26 14:51:41,879 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-26 14:51:41,879 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-67857614-18904242, IP 195.224.214.131, Port 22 2026-10-26 14:51:42,049 - DEBUG - VM ctest-TestBasicPolicy-67857614-18904242 is ready for SSH connections 2026-10-26 14:51:42,049 - INFO - Waiting for VM ctest-TestBasicPolicy-67857614-24630637 to be up.. 2026-10-26 14:51:42,162 - DEBUG - VM is in ACTIVE state now 2026-10-26 14:51:42,162 - INFO - VM name : ctest-TestBasicPolicy-67857614-24630637 2026-10-26 14:51:42,256 - DEBUG - VM ctest-TestBasicPolicy-67857614-24630637 ID is ef108876-d2dc-457f-9f3f-179eaf55f104 2026-10-26 14:51:42,256 - DEBUG - VM ctest-TestBasicPolicy-67857614-24630637 launched on Node cn-jenkins-deploy-platform-ansible-os-6412-1 2026-10-26 14:51:42,355 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ef108876-d2dc-457f-9f3f-179eaf55f104 2026-10-26 14:51:42,367 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/00e7209f-77a0-44c2-b717-50e125bbc946 2026-10-26 14:51:45,657 - 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 1028ms') 2026-10-26 14:51:45,657 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-67857614-24630637 failed! 2026-10-26 14:51:45,715 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-67857614:ctest-vn-80185343 is 203.41.201.65 and allocation pool is NOT set 2026-10-26 14:51:47,781 - 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.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.92 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.874/3.897/3.920/0.023 ms') 2026-10-26 14:51:47,781 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-67857614-24630637 passed 2026-10-26 14:51:47,935 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-26 14:51:47,935 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-67857614-24630637, IP 203.41.201.67, Port 22 2026-10-26 14:51:48,112 - DEBUG - VM ctest-TestBasicPolicy-67857614-24630637 is ready for SSH connections 2026-10-26 14:51:48,112 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-26 14:51:48,112 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 203.41.201.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-10-26 14:51:48,112 - DEBUG - ping -s 56 -c 3 -W 1 203.41.201.67 2026-10-26 14:51:52,274 - DEBUG - PING 203.41.201.67 (203.41.201.67): 56 data bytes 64 bytes from 203.41.201.67: seq=0 ttl=63 time=5.895 ms 64 bytes from 203.41.201.67: seq=1 ttl=63 time=1.035 ms 64 bytes from 203.41.201.67: seq=2 ttl=63 time=1.090 ms --- 203.41.201.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.035/2.673/5.895 ms 2026-10-26 14:51:52,274 - INFO - Ping to IP 203.41.201.67 from VM ctest-TestBasicPolicy-67857614-18904242 passed 2026-10-26 14:51:52,459 - DEBUG - Policy Update Response {"network-policy": {"uuid": "26aa80ef-8970-4442-9103-139721e44bbe", "href": "http://10.0.0.38:8082/network-policy/26aa80ef-8970-4442-9103-139721e44bbe"}} 2026-10-26 14:51:52,459 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-26 14:51:52,459 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 203.41.201.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-10-26 14:51:52,460 - DEBUG - ping -s 56 -c 3 -W 1 203.41.201.67 2026-10-26 14:51:55,610 - DEBUG - PING 203.41.201.67 (203.41.201.67): 56 data bytes 64 bytes from 203.41.201.67: seq=0 ttl=63 time=2.097 ms --- 203.41.201.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.097/2.097/2.097 ms 2026-10-26 14:51:55,610 - WARNING - Ping to IP 203.41.201.67 from VM ctest-TestBasicPolicy-67857614-18904242 failed 2026-10-26 14:51:55,610 - INFO - Deleting VM ctest-TestBasicPolicy-67857614-24630637 2026-10-26 14:51:55,695 - INFO - Deleting VM ctest-TestBasicPolicy-67857614-18904242 2026-10-26 14:51:56,124 - INFO - Deleted policy ctest-policy-allow-all-75005186 2026-10-26 14:51:56,124 - INFO - Deleting VN ctest-vn-80185343 2026-10-26 14:51:56,169 - DEBUG - VN 7d90c7a7-a405-4be2-8caf-41f25d738ec0 still in use: Unable to complete operation on network 7d90c7a7-a405-4be2-8caf-41f25d738ec0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-60667740-0080-4079-bc27-f987e3bc3b2c'] 2026-10-26 14:51:56,169 - WARNING - Deleting VN ctest-vn-80185343 failed..Will retry 2026-10-26 14:51:58,207 - DEBUG - VN 7d90c7a7-a405-4be2-8caf-41f25d738ec0 still in use: Unable to complete operation on network 7d90c7a7-a405-4be2-8caf-41f25d738ec0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-54aa4f97-be1c-43c1-be89-f21819dadfd8'] 2026-10-26 14:51:58,207 - WARNING - Deleting VN ctest-vn-80185343 failed..Will retry 2026-10-26 14:52:00,341 - DEBUG - Response for deleting network () 2026-10-26 14:52:00,341 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/710a3cbe-bd9f-4357-a2a1-f16315fcb955 2026-10-26 14:52:00,348 - DEBUG - Response Code: 404 2026-10-26 14:52:00,348 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-10-26 14:52:00,356 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e291b5af-3f0f-463e-9ce9-038a05513fec 2026-10-26 14:52:00,416 - DEBUG - Requesting: http://10.0.0.38:8082/project/41e601f6-bc9c-4578-9394-93c07c0a04ef 2026-10-26 14:52:00,501 - INFO - Validated that VN ctest-vn-80185343 is not found in API Server 2026-10-26 14:52:00,515 - DEBUG - VN ctest-vn-80185343 is not present in Agent 10.0.0.38 2026-10-26 14:52:00,515 - INFO - Validated that VN ctest-vn-80185343 is not in any agent 2026-10-26 14:52:00,534 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-80185343 info 2026-10-26 14:52:00,534 - INFO - Deleting VN ctest-vn-01589595 2026-10-26 14:52:00,659 - DEBUG - Response for deleting network () 2026-10-26 14:52:00,659 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/889bc88f-e68d-4cfd-8442-4708ec47262e 2026-10-26 14:52:00,666 - DEBUG - Response Code: 404 2026-10-26 14:52:00,666 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-10-26 14:52:00,673 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e291b5af-3f0f-463e-9ce9-038a05513fec 2026-10-26 14:52:00,729 - DEBUG - Requesting: http://10.0.0.38:8082/project/41e601f6-bc9c-4578-9394-93c07c0a04ef 2026-10-26 14:52:00,807 - INFO - Validated that VN ctest-vn-01589595 is not found in API Server 2026-10-26 14:52:00,822 - DEBUG - VN ctest-vn-01589595 is not present in Agent 10.0.0.38 2026-10-26 14:52:00,822 - INFO - Validated that VN ctest-vn-01589595 is not in any agent 2026-10-26 14:52:00,842 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-01589595 info 2026-10-26 14:52:01,118 - DEBUG - No XMPP flaps were noticed during the test
2026-10-26 14:52:01,118 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:17]
2026-10-26 14:52:01,118 - INFO - -------------------------------------------------------------------------------- 2026-10-26 14:52:01,991 - INFO - Deleted project: ctest-TestBasicPolicy-67857614, ID : 41e601f6-bc9c-4578-9394-93c07c0a04ef