2026-08-25 23:47:37,840 - INFO - Domain Default found not creating 2026-08-25 23:47:38,010 - INFO - Project ctest-TestBasicPolicy-59986106 not found, creating it 2026-08-25 23:47:38,536 - INFO - Created Project:ctest-TestBasicPolicy-59986106, ID : b82604e0-d5ef-4b6e-9987-a69cb8c77277 2026-08-25 23:47:40,258 - INFO - ================================================================================ 2026-08-25 23:47:40,259 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-25 23:47:40,259 - 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-25 23:47:40,529 - DEBUG - Nothing to compare xmpp stats {'10.0.0.162': {'10.20.0.17': '0'}} with 2026-08-25 23:47:40,529 - INFO - Initial checks done. Running the testcase now 2026-08-25 23:47:40,530 - INFO - 2026-08-25 23:47:41,216 - DEBUG - Response for create_network : {'network': {'id': 'cafa73eb-f032-475d-92ef-6423766bdf8e', 'name': 'ctest-vn-44610503', 'tenant_id': 'b82604e0d5ef4b6e9987a69cb8c77277', 'project_id': 'b82604e0d5ef4b6e9987a69cb8c77277', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59986106', 'ctest-vn-44610503'], 'port_security_enabled': True, 'description': ''}} 2026-08-25 23:47:41,405 - DEBUG - Response for create_subnet : {'subnet': {'id': '0991d928-c248-4ed3-b909-b00d15e614f5', 'name': '', 'tenant_id': 'b82604e0d5ef4b6e9987a69cb8c77277', 'network_id': 'cafa73eb-f032-475d-92ef-6423766bdf8e', 'ip_version': 4, 'cidr': '218.112.124.0/26', 'allocation_pools': [{'start': '218.112.124.2', 'end': '218.112.124.62'}], 'gateway_ip': '218.112.124.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '218.112.124.2', 'tags': [], 'project_id': 'b82604e0d5ef4b6e9987a69cb8c77277'}} 2026-08-25 23:47:41,428 - INFO - Created VN ctest-vn-44610503 2026-08-25 23:47:41,480 - DEBUG - VN ctest-vn-44610503 UUID is cafa73eb-f032-475d-92ef-6423766bdf8e 2026-08-25 23:47:41,823 - DEBUG - Response for create_network : {'network': {'id': 'cf565a34-9dc1-487a-8f8f-b8d13d6ba636', 'name': 'ctest-vn-62452837', 'tenant_id': 'b82604e0d5ef4b6e9987a69cb8c77277', 'project_id': 'b82604e0d5ef4b6e9987a69cb8c77277', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59986106', 'ctest-vn-62452837'], 'port_security_enabled': True, 'description': ''}} 2026-08-25 23:47:42,009 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a352d0f9-03d2-4d3e-aebd-da4b13fe4ab0', 'name': '', 'tenant_id': 'b82604e0d5ef4b6e9987a69cb8c77277', 'network_id': 'cf565a34-9dc1-487a-8f8f-b8d13d6ba636', 'ip_version': 4, 'cidr': '164.220.198.128/26', 'allocation_pools': [{'start': '164.220.198.130', 'end': '164.220.198.190'}], 'gateway_ip': '164.220.198.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.220.198.130', 'tags': [], 'project_id': 'b82604e0d5ef4b6e9987a69cb8c77277'}} 2026-08-25 23:47:42,027 - INFO - Created VN ctest-vn-62452837 2026-08-25 23:47:42,084 - DEBUG - VN ctest-vn-62452837 UUID is cf565a34-9dc1-487a-8f8f-b8d13d6ba636 2026-08-25 23:47:42,206 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-59986106:ctest-vn-44610503, 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-59986106:ctest-vn-62452837, 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-25 23:47:42,565 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cafa73eb-f032-475d-92ef-6423766bdf8e', 'name': 'ctest-vn-44610503', 'tenant_id': 'b82604e0d5ef4b6e9987a69cb8c77277', 'project_id': 'b82604e0d5ef4b6e9987a69cb8c77277', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['0991d928-c248-4ed3-b909-b00d15e614f5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59986106', 'ctest-vn-44610503'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-59986106', 'ctest-policy-allow-all-56665080']], 'subnet_ipam': [{'subnet_cidr': '218.112.124.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-25 23:47:42,860 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cf565a34-9dc1-487a-8f8f-b8d13d6ba636', 'name': 'ctest-vn-62452837', 'tenant_id': 'b82604e0d5ef4b6e9987a69cb8c77277', 'project_id': 'b82604e0d5ef4b6e9987a69cb8c77277', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['a352d0f9-03d2-4d3e-aebd-da4b13fe4ab0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59986106', 'ctest-vn-62452837'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-59986106', 'ctest-policy-allow-all-56665080']], 'subnet_ipam': [{'subnet_cidr': '164.220.198.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-25 23:47:43,036 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-08-25 23:47:43,406 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-08-25 23:47:43,441 - DEBUG - Requesting: http://10.0.0.162:8082/domain/9db896ba-d4cf-437d-846f-a4837f9a7076 2026-08-25 23:47:43,457 - DEBUG - Requesting: http://10.0.0.162:8082/project/b82604e0-d5ef-4b6e-9987-a69cb8c77277 2026-08-25 23:47:43,538 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/cafa73eb-f032-475d-92ef-6423766bdf8e 2026-08-25 23:47:43,549 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/cafa73eb-f032-475d-92ef-6423766bdf8e 2026-08-25 23:47:43,558 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/dc0e5244-63a9-47ce-9322-0b92c1e3effe 2026-08-25 23:47:43,566 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/dc0e5244-63a9-47ce-9322-0b92c1e3effe 2026-08-25 23:47:43,574 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/3e3fff2b-7959-4c25-a962-6ffb0483cc05 2026-08-25 23:47:43,582 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-25 23:47:43,582 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/cafa73eb-f032-475d-92ef-6423766bdf8e 2026-08-25 23:47:43,592 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/dc0e5244-63a9-47ce-9322-0b92c1e3effe 2026-08-25 23:47:43,607 - INFO - Verified VN network id 11 for VN cafa73eb-f032-475d-92ef-6423766bdf8e 2026-08-25 23:47:43,607 - INFO - Verifications in API Server for VN ctest-vn-44610503 passed 2026-08-25 23:47:43,607 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/cafa73eb-f032-475d-92ef-6423766bdf8e 2026-08-25 23:47:43,616 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/dc0e5244-63a9-47ce-9322-0b92c1e3effe 2026-08-25 23:47:43,624 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/dc0e5244-63a9-47ce-9322-0b92c1e3effe 2026-08-25 23:47:43,635 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/3e3fff2b-7959-4c25-a962-6ffb0483cc05 2026-08-25 23:47:43,651 - DEBUG - Control-node 10.0.0.162 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-59986106:ctest-vn-44610503', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-59986106', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14626130197023442781', 'uuid-lslong': '10587791352444739470'}, 'enable': 'true', 'created': '2026-08-25T23:47:41', 'last-modified': '2026-08-25T23:47:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.118754'} 2026-08-25 23:47:43,661 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-25 23:47:43,662 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-44610503 passed 2026-08-25 23:47:43,662 - DEBUG - ====Verifying policy data for ctest-vn-44610503 in API_Server ====== 2026-08-25 23:47:43,662 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-08-25 23:47:43,671 - DEBUG - Requesting: http://10.0.0.162:8082/domain/9db896ba-d4cf-437d-846f-a4837f9a7076 2026-08-25 23:47:43,688 - DEBUG - Requesting: http://10.0.0.162:8082/project/b82604e0-d5ef-4b6e-9987-a69cb8c77277 2026-08-25 23:47:43,762 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/cafa73eb-f032-475d-92ef-6423766bdf8e 2026-08-25 23:47:43,771 - DEBUG - ==>Verifying data for policy with id: aee620cd-45df-4adb-88fd-8ee95abebf10, fqn: ['default-domain', 'ctest-TestBasicPolicy-59986106', 'ctest-policy-allow-all-56665080'] 2026-08-25 23:47:43,771 - INFO - VN ctest-vn-44610503 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-25 23:47:43,771 - DEBUG - Verifying the vn in opserver 2026-08-25 23:47:43,772 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-59986106:ctest-vn-44610503 virtual network link through opserver 10.0.0.162 2026-08-25 23:47:43,772 - DEBUG - Requesting: http://10.0.0.162:8081/analytics/uves/virtual-networks 2026-08-25 23:47:44,142 - DEBUG - Requesting: http://10.0.0.162:8081/analytics/uves/virtual-networks 2026-08-25 23:47:44,200 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-59986106:ctest-vn-44610503', 'href': 'http://10.0.0.162:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-59986106:ctest-vn-44610503?flat'} 2026-08-25 23:47:44,200 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-59986106:ctest-vn-44610503 is found in opserver 2026-08-25 23:47:44,211 - DEBUG - Do not have enough data to verify VN in agent 2026-08-25 23:47:44,215 - DEBUG - VRF ids for VN ctest-vn-44610503: {} 2026-08-25 23:47:44,216 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-08-25 23:47:44,221 - DEBUG - Requesting: http://10.0.0.162:8082/domain/9db896ba-d4cf-437d-846f-a4837f9a7076 2026-08-25 23:47:44,232 - DEBUG - Requesting: http://10.0.0.162:8082/project/b82604e0-d5ef-4b6e-9987-a69cb8c77277 2026-08-25 23:47:44,308 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/cf565a34-9dc1-487a-8f8f-b8d13d6ba636 2026-08-25 23:47:44,320 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/cf565a34-9dc1-487a-8f8f-b8d13d6ba636 2026-08-25 23:47:44,330 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/1e56838c-4551-40c0-80c2-32208c178efc 2026-08-25 23:47:44,337 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/1e56838c-4551-40c0-80c2-32208c178efc 2026-08-25 23:47:44,344 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/c2407465-bd2e-49e4-9664-20446eb3b5e2 2026-08-25 23:47:44,350 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-25 23:47:44,350 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/cf565a34-9dc1-487a-8f8f-b8d13d6ba636 2026-08-25 23:47:44,363 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/1e56838c-4551-40c0-80c2-32208c178efc 2026-08-25 23:47:44,384 - INFO - Verified VN network id 12 for VN cf565a34-9dc1-487a-8f8f-b8d13d6ba636 2026-08-25 23:47:44,384 - INFO - Verifications in API Server for VN ctest-vn-62452837 passed 2026-08-25 23:47:44,384 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/cf565a34-9dc1-487a-8f8f-b8d13d6ba636 2026-08-25 23:47:44,395 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/1e56838c-4551-40c0-80c2-32208c178efc 2026-08-25 23:47:44,404 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/1e56838c-4551-40c0-80c2-32208c178efc 2026-08-25 23:47:44,413 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/c2407465-bd2e-49e4-9664-20446eb3b5e2 2026-08-25 23:47:44,429 - DEBUG - Control-node 10.0.0.162 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-59986106:ctest-vn-62452837', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-59986106', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14940227995879688314', 'uuid-lslong': '10344690077911459382'}, 'enable': 'true', 'created': '2026-08-25T23:47:41', 'last-modified': '2026-08-25T23:47:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.610006'} 2026-08-25 23:47:44,436 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-25 23:47:44,436 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-62452837 passed 2026-08-25 23:47:44,436 - DEBUG - ====Verifying policy data for ctest-vn-62452837 in API_Server ====== 2026-08-25 23:47:44,436 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-08-25 23:47:44,443 - DEBUG - Requesting: http://10.0.0.162:8082/domain/9db896ba-d4cf-437d-846f-a4837f9a7076 2026-08-25 23:47:44,456 - DEBUG - Requesting: http://10.0.0.162:8082/project/b82604e0-d5ef-4b6e-9987-a69cb8c77277 2026-08-25 23:47:44,534 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/cf565a34-9dc1-487a-8f8f-b8d13d6ba636 2026-08-25 23:47:44,546 - DEBUG - ==>Verifying data for policy with id: aee620cd-45df-4adb-88fd-8ee95abebf10, fqn: ['default-domain', 'ctest-TestBasicPolicy-59986106', 'ctest-policy-allow-all-56665080'] 2026-08-25 23:47:44,546 - INFO - VN ctest-vn-62452837 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-25 23:47:44,546 - DEBUG - Verifying the vn in opserver 2026-08-25 23:47:44,546 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-59986106:ctest-vn-62452837 virtual network link through opserver 10.0.0.162 2026-08-25 23:47:44,547 - DEBUG - Requesting: http://10.0.0.162:8081/analytics/uves/virtual-networks 2026-08-25 23:47:44,559 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-59986106:ctest-vn-62452837', 'href': 'http://10.0.0.162:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-59986106:ctest-vn-62452837?flat'} 2026-08-25 23:47:44,559 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-59986106:ctest-vn-62452837 is found in opserver 2026-08-25 23:47:44,572 - DEBUG - Do not have enough data to verify VN in agent 2026-08-25 23:47:44,578 - DEBUG - VRF ids for VN ctest-vn-62452837: {} 2026-08-25 23:47:44,639 - DEBUG - Services list from nova: [, , ] 2026-08-25 23:47:45,160 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6230-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6230-1) 2026-08-25 23:47:45,585 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6230-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6230-1) 2026-08-25 23:47:45,586 - INFO - Waiting for VM ctest-TestBasicPolicy-59986106-49297313 to be up.. 2026-08-25 23:47:45,639 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 23:47:50,733 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 23:47:55,833 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 23:48:00,949 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 23:48:06,043 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 23:48:11,142 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 23:48:16,219 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 23:48:21,299 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 23:48:26,400 - DEBUG - VM is in ACTIVE state now 2026-08-25 23:48:26,400 - INFO - VM name : ctest-TestBasicPolicy-59986106-49297313 2026-08-25 23:48:26,501 - DEBUG - VM ctest-TestBasicPolicy-59986106-49297313 ID is cf38966f-d595-4041-bf6b-f89f48cbd287 2026-08-25 23:48:26,524 - DEBUG - VM ctest-TestBasicPolicy-59986106-49297313 launched on Node cn-jenkins-deploy-platform-ansible-os-6230-1 2026-08-25 23:48:26,614 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine/cf38966f-d595-4041-bf6b-f89f48cbd287 2026-08-25 23:48:26,624 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine-interface/214198d1-697a-4679-8d44-15289da9b4b1 2026-08-25 23:48:29,907 - 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-08-25 23:48:29,907 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-59986106-49297313 failed! 2026-08-25 23:48:29,964 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-59986106:ctest-vn-44610503 is 218.112.124.1 and allocation pool is NOT set 2026-08-25 23:48:32,026 - 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.50 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.01 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 = 1.009/3.252/5.495/2.243 ms') 2026-08-25 23:48:32,026 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-59986106-49297313 passed 2026-08-25 23:48:32,184 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-25 23:48:32,184 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-59986106-49297313, IP 218.112.124.3, Port 22 2026-08-25 23:48:32,350 - DEBUG - VM ctest-TestBasicPolicy-59986106-49297313 is ready for SSH connections 2026-08-25 23:48:32,350 - INFO - Waiting for VM ctest-TestBasicPolicy-59986106-70706128 to be up.. 2026-08-25 23:48:32,439 - DEBUG - VM is in ACTIVE state now 2026-08-25 23:48:32,439 - INFO - VM name : ctest-TestBasicPolicy-59986106-70706128 2026-08-25 23:48:32,527 - DEBUG - VM ctest-TestBasicPolicy-59986106-70706128 ID is a6941944-60a7-4170-a733-53faea6e2d50 2026-08-25 23:48:32,527 - DEBUG - VM ctest-TestBasicPolicy-59986106-70706128 launched on Node cn-jenkins-deploy-platform-ansible-os-6230-1 2026-08-25 23:48:32,622 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine/a6941944-60a7-4170-a733-53faea6e2d50 2026-08-25 23:48:32,634 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine-interface/108cf0a2-67ea-4113-b47e-c841a789c696 2026-08-25 23:48:33,909 - 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.10 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.71 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 2.710/4.406/6.103/1.696 ms') 2026-08-25 23:48:33,909 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-59986106-70706128 passed 2026-08-25 23:48:34,064 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-25 23:48:34,064 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-59986106-70706128, IP 164.220.198.131, Port 22 2026-08-25 23:48:34,130 - 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-25 23:48:34,222 - DEBUG - VM ctest-TestBasicPolicy-59986106-70706128 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-25 23:48:39,222 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-25 23:48:39,222 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-59986106-70706128, IP 164.220.198.131, Port 22 2026-08-25 23:48:39,394 - DEBUG - VM ctest-TestBasicPolicy-59986106-70706128 is ready for SSH connections 2026-08-25 23:48:39,394 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-25 23:48:39,394 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 164.220.198.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.162, gateway password: c0ntrail123 2026-08-25 23:48:39,394 - DEBUG - ping -s 56 -c 3 -W 1 164.220.198.131 2026-08-25 23:48:43,503 - DEBUG - PING 164.220.198.131 (164.220.198.131): 56 data bytes 64 bytes from 164.220.198.131: seq=0 ttl=63 time=5.320 ms 64 bytes from 164.220.198.131: seq=1 ttl=63 time=1.440 ms 64 bytes from 164.220.198.131: seq=2 ttl=63 time=1.095 ms --- 164.220.198.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.095/2.618/5.320 ms 2026-08-25 23:48:43,504 - INFO - Ping to IP 164.220.198.131 from VM ctest-TestBasicPolicy-59986106-49297313 passed 2026-08-25 23:48:43,684 - DEBUG - Policy Update Response {"network-policy": {"uuid": "aee620cd-45df-4adb-88fd-8ee95abebf10", "href": "http://10.0.0.162:8082/network-policy/aee620cd-45df-4adb-88fd-8ee95abebf10"}} 2026-08-25 23:48:43,684 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-25 23:48:43,684 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 164.220.198.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.162, gateway password: c0ntrail123 2026-08-25 23:48:43,684 - DEBUG - ping -s 56 -c 3 -W 1 164.220.198.131 2026-08-25 23:48:46,810 - DEBUG - PING 164.220.198.131 (164.220.198.131): 56 data bytes 64 bytes from 164.220.198.131: seq=0 ttl=63 time=1.347 ms --- 164.220.198.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.347/1.347/1.347 ms 2026-08-25 23:48:46,810 - WARNING - Ping to IP 164.220.198.131 from VM ctest-TestBasicPolicy-59986106-49297313 failed 2026-08-25 23:48:46,811 - INFO - Deleting VM ctest-TestBasicPolicy-59986106-70706128 2026-08-25 23:48:46,892 - INFO - Deleting VM ctest-TestBasicPolicy-59986106-49297313 2026-08-25 23:48:47,302 - INFO - Deleted policy ctest-policy-allow-all-56665080 2026-08-25 23:48:47,302 - INFO - Deleting VN ctest-vn-62452837 2026-08-25 23:48:47,336 - DEBUG - VN cf565a34-9dc1-487a-8f8f-b8d13d6ba636 still in use: Unable to complete operation on network cf565a34-9dc1-487a-8f8f-b8d13d6ba636. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ff42aa90-10fa-48b4-99fa-988b418810aa'] 2026-08-25 23:48:47,336 - WARNING - Deleting VN ctest-vn-62452837 failed..Will retry 2026-08-25 23:48:49,469 - DEBUG - Response for deleting network () 2026-08-25 23:48:49,470 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/1e56838c-4551-40c0-80c2-32208c178efc 2026-08-25 23:48:49,480 - DEBUG - Response Code: 404 2026-08-25 23:48:49,480 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-08-25 23:48:49,486 - DEBUG - Requesting: http://10.0.0.162:8082/domain/9db896ba-d4cf-437d-846f-a4837f9a7076 2026-08-25 23:48:49,542 - DEBUG - Requesting: http://10.0.0.162:8082/project/b82604e0-d5ef-4b6e-9987-a69cb8c77277 2026-08-25 23:48:49,624 - INFO - Validated that VN ctest-vn-62452837 is not found in API Server 2026-08-25 23:48:49,636 - DEBUG - VN ctest-vn-62452837 is not present in Agent 10.0.0.162 2026-08-25 23:48:49,637 - INFO - Validated that VN ctest-vn-62452837 is not in any agent 2026-08-25 23:48:49,655 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-62452837 info 2026-08-25 23:48:49,655 - INFO - Deleting VN ctest-vn-44610503 2026-08-25 23:48:49,781 - DEBUG - Response for deleting network () 2026-08-25 23:48:49,781 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/dc0e5244-63a9-47ce-9322-0b92c1e3effe 2026-08-25 23:48:49,790 - DEBUG - Response Code: 404 2026-08-25 23:48:49,790 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-08-25 23:48:49,796 - DEBUG - Requesting: http://10.0.0.162:8082/domain/9db896ba-d4cf-437d-846f-a4837f9a7076 2026-08-25 23:48:49,850 - DEBUG - Requesting: http://10.0.0.162:8082/project/b82604e0-d5ef-4b6e-9987-a69cb8c77277 2026-08-25 23:48:49,928 - INFO - Validated that VN ctest-vn-44610503 is not found in API Server 2026-08-25 23:48:49,941 - DEBUG - VN ctest-vn-44610503 is not present in Agent 10.0.0.162 2026-08-25 23:48:49,941 - INFO - Validated that VN ctest-vn-44610503 is not in any agent 2026-08-25 23:48:49,958 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-44610503 info 2026-08-25 23:48:50,218 - DEBUG - No XMPP flaps were noticed during the test
2026-08-25 23:48:50,218 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:10]
2026-08-25 23:48:50,218 - INFO - -------------------------------------------------------------------------------- 2026-08-25 23:48:51,007 - INFO - Deleted project: ctest-TestBasicPolicy-59986106, ID : b82604e0-d5ef-4b6e-9987-a69cb8c77277