2026-04-27 17:44:41,701 - INFO - Domain Default found not creating 2026-04-27 17:44:41,929 - INFO - Project ctest-TestBasicPolicy-84655925 not found, creating it 2026-04-27 17:44:42,430 - INFO - Created Project:ctest-TestBasicPolicy-84655925, ID : 7de2e0ae-2e3e-4066-8cca-a8ac17a2edf1 2026-04-27 17:44:44,146 - INFO - ================================================================================ 2026-04-27 17:44:44,146 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-27 17:44:44,146 - 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-04-27 17:44:44,419 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2026-04-27 17:44:44,419 - INFO - Initial checks done. Running the testcase now 2026-04-27 17:44:44,419 - INFO - 2026-04-27 17:44:45,055 - DEBUG - Response for create_network : {'network': {'id': 'abd4d1f1-a205-4b30-837a-932fc1164c69', 'name': 'ctest-vn-01071939', 'tenant_id': '7de2e0ae2e3e40668ccaa8ac17a2edf1', 'project_id': '7de2e0ae2e3e40668ccaa8ac17a2edf1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84655925', 'ctest-vn-01071939'], 'port_security_enabled': True, 'description': ''}} 2026-04-27 17:44:45,257 - DEBUG - Response for create_subnet : {'subnet': {'id': '867a10c1-1161-4837-a890-c6e69b60363b', 'name': '', 'tenant_id': '7de2e0ae2e3e40668ccaa8ac17a2edf1', 'network_id': 'abd4d1f1-a205-4b30-837a-932fc1164c69', 'ip_version': 4, 'cidr': '164.13.212.128/26', 'allocation_pools': [{'start': '164.13.212.130', 'end': '164.13.212.190'}], 'gateway_ip': '164.13.212.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.13.212.130', 'tags': [], 'project_id': '7de2e0ae2e3e40668ccaa8ac17a2edf1'}} 2026-04-27 17:44:45,277 - INFO - Created VN ctest-vn-01071939 2026-04-27 17:44:45,331 - DEBUG - VN ctest-vn-01071939 UUID is abd4d1f1-a205-4b30-837a-932fc1164c69 2026-04-27 17:44:45,674 - DEBUG - Response for create_network : {'network': {'id': 'ab8f7243-3a26-41fe-a693-06e2015329ee', 'name': 'ctest-vn-94753258', 'tenant_id': '7de2e0ae2e3e40668ccaa8ac17a2edf1', 'project_id': '7de2e0ae2e3e40668ccaa8ac17a2edf1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84655925', 'ctest-vn-94753258'], 'port_security_enabled': True, 'description': ''}} 2026-04-27 17:44:45,902 - DEBUG - Response for create_subnet : {'subnet': {'id': '51b0651e-0787-44e6-9759-e8c8d7371a1c', 'name': '', 'tenant_id': '7de2e0ae2e3e40668ccaa8ac17a2edf1', 'network_id': 'ab8f7243-3a26-41fe-a693-06e2015329ee', 'ip_version': 4, 'cidr': '171.26.53.192/26', 'allocation_pools': [{'start': '171.26.53.194', 'end': '171.26.53.254'}], 'gateway_ip': '171.26.53.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '171.26.53.194', 'tags': [], 'project_id': '7de2e0ae2e3e40668ccaa8ac17a2edf1'}} 2026-04-27 17:44:45,928 - INFO - Created VN ctest-vn-94753258 2026-04-27 17:44:45,983 - DEBUG - VN ctest-vn-94753258 UUID is ab8f7243-3a26-41fe-a693-06e2015329ee 2026-04-27 17:44:46,121 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-84655925:ctest-vn-01071939, 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-84655925:ctest-vn-94753258, 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-04-27 17:44:46,497 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'abd4d1f1-a205-4b30-837a-932fc1164c69', 'name': 'ctest-vn-01071939', 'tenant_id': '7de2e0ae2e3e40668ccaa8ac17a2edf1', 'project_id': '7de2e0ae2e3e40668ccaa8ac17a2edf1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['867a10c1-1161-4837-a890-c6e69b60363b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84655925', 'ctest-vn-01071939'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-84655925', 'ctest-policy-allow-all-20080316']], 'subnet_ipam': [{'subnet_cidr': '164.13.212.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-27 17:44:46,771 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ab8f7243-3a26-41fe-a693-06e2015329ee', 'name': 'ctest-vn-94753258', 'tenant_id': '7de2e0ae2e3e40668ccaa8ac17a2edf1', 'project_id': '7de2e0ae2e3e40668ccaa8ac17a2edf1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['51b0651e-0787-44e6-9759-e8c8d7371a1c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84655925', 'ctest-vn-94753258'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-84655925', 'ctest-policy-allow-all-20080316']], 'subnet_ipam': [{'subnet_cidr': '171.26.53.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-27 17:44:46,947 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-04-27 17:44:47,256 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-04-27 17:44:47,301 - DEBUG - Requesting: http://10.0.0.33:8082/domain/887b5ccc-0b81-4877-8df6-e2f3e42897ca 2026-04-27 17:44:47,318 - DEBUG - Requesting: http://10.0.0.33:8082/project/7de2e0ae-2e3e-4066-8cca-a8ac17a2edf1 2026-04-27 17:44:47,396 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/abd4d1f1-a205-4b30-837a-932fc1164c69 2026-04-27 17:44:47,412 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/abd4d1f1-a205-4b30-837a-932fc1164c69 2026-04-27 17:44:47,426 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/6e76cbcc-cf80-42e0-9722-4662fc940ed1 2026-04-27 17:44:47,438 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/6e76cbcc-cf80-42e0-9722-4662fc940ed1 2026-04-27 17:44:47,451 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/cfab61e4-aab7-4654-b276-857c8f0c5973 2026-04-27 17:44:47,464 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-27 17:44:47,464 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/abd4d1f1-a205-4b30-837a-932fc1164c69 2026-04-27 17:44:47,478 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/6e76cbcc-cf80-42e0-9722-4662fc940ed1 2026-04-27 17:44:47,502 - INFO - Verified VN network id 11 for VN abd4d1f1-a205-4b30-837a-932fc1164c69 2026-04-27 17:44:47,502 - INFO - Verifications in API Server for VN ctest-vn-01071939 passed 2026-04-27 17:44:47,502 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/abd4d1f1-a205-4b30-837a-932fc1164c69 2026-04-27 17:44:47,519 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/6e76cbcc-cf80-42e0-9722-4662fc940ed1 2026-04-27 17:44:47,532 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/6e76cbcc-cf80-42e0-9722-4662fc940ed1 2026-04-27 17:44:47,544 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/cfab61e4-aab7-4654-b276-857c8f0c5973 2026-04-27 17:44:47,562 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-84655925:ctest-vn-01071939', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-84655925', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12381752111283915568', 'uuid-lslong': '9474046599439469673'}, 'enable': 'true', 'created': '2026-04-27T17:44:45', 'last-modified': '2026-04-27T17:44:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.102902'} 2026-04-27 17:44:47,571 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-27 17:44:47,571 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-01071939 passed 2026-04-27 17:44:47,572 - DEBUG - ====Verifying policy data for ctest-vn-01071939 in API_Server ====== 2026-04-27 17:44:47,572 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-04-27 17:44:47,579 - DEBUG - Requesting: http://10.0.0.33:8082/domain/887b5ccc-0b81-4877-8df6-e2f3e42897ca 2026-04-27 17:44:47,596 - DEBUG - Requesting: http://10.0.0.33:8082/project/7de2e0ae-2e3e-4066-8cca-a8ac17a2edf1 2026-04-27 17:44:47,682 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/abd4d1f1-a205-4b30-837a-932fc1164c69 2026-04-27 17:44:47,696 - DEBUG - ==>Verifying data for policy with id: 57a554a6-7498-4aad-8997-69b81d6b1484, fqn: ['default-domain', 'ctest-TestBasicPolicy-84655925', 'ctest-policy-allow-all-20080316'] 2026-04-27 17:44:47,696 - INFO - VN ctest-vn-01071939 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-27 17:44:47,696 - DEBUG - Verifying the vn in opserver 2026-04-27 17:44:47,696 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-84655925:ctest-vn-01071939 virtual network link through opserver 10.0.0.33 2026-04-27 17:44:47,696 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-04-27 17:44:48,013 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-04-27 17:44:48,107 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-84655925:ctest-vn-01071939', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-84655925:ctest-vn-01071939?flat'} 2026-04-27 17:44:48,107 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-84655925:ctest-vn-01071939 is found in opserver 2026-04-27 17:44:48,123 - DEBUG - Do not have enough data to verify VN in agent 2026-04-27 17:44:48,131 - DEBUG - VRF ids for VN ctest-vn-01071939: {} 2026-04-27 17:44:48,131 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-04-27 17:44:48,139 - DEBUG - Requesting: http://10.0.0.33:8082/domain/887b5ccc-0b81-4877-8df6-e2f3e42897ca 2026-04-27 17:44:48,155 - DEBUG - Requesting: http://10.0.0.33:8082/project/7de2e0ae-2e3e-4066-8cca-a8ac17a2edf1 2026-04-27 17:44:48,251 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ab8f7243-3a26-41fe-a693-06e2015329ee 2026-04-27 17:44:48,272 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ab8f7243-3a26-41fe-a693-06e2015329ee 2026-04-27 17:44:48,286 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/fd8217ed-ae9a-4196-bf68-720e3fd2f965 2026-04-27 17:44:48,295 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/fd8217ed-ae9a-4196-bf68-720e3fd2f965 2026-04-27 17:44:48,306 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/2ffba89f-50e3-40b7-9fc0-9c4fa26410a6 2026-04-27 17:44:48,317 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-27 17:44:48,318 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ab8f7243-3a26-41fe-a693-06e2015329ee 2026-04-27 17:44:48,332 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/fd8217ed-ae9a-4196-bf68-720e3fd2f965 2026-04-27 17:44:48,358 - INFO - Verified VN network id 12 for VN ab8f7243-3a26-41fe-a693-06e2015329ee 2026-04-27 17:44:48,358 - INFO - Verifications in API Server for VN ctest-vn-94753258 passed 2026-04-27 17:44:48,358 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ab8f7243-3a26-41fe-a693-06e2015329ee 2026-04-27 17:44:48,371 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/fd8217ed-ae9a-4196-bf68-720e3fd2f965 2026-04-27 17:44:48,379 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/fd8217ed-ae9a-4196-bf68-720e3fd2f965 2026-04-27 17:44:48,387 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/2ffba89f-50e3-40b7-9fc0-9c4fa26410a6 2026-04-27 17:44:48,403 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-84655925:ctest-vn-94753258', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-84655925', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12362225135219261950', 'uuid-lslong': '12002944999627106798'}, 'enable': 'true', 'created': '2026-04-27T17:44:45', 'last-modified': '2026-04-27T17:44:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.660634'} 2026-04-27 17:44:48,412 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-27 17:44:48,412 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-94753258 passed 2026-04-27 17:44:48,413 - DEBUG - ====Verifying policy data for ctest-vn-94753258 in API_Server ====== 2026-04-27 17:44:48,413 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-04-27 17:44:48,421 - DEBUG - Requesting: http://10.0.0.33:8082/domain/887b5ccc-0b81-4877-8df6-e2f3e42897ca 2026-04-27 17:44:48,437 - DEBUG - Requesting: http://10.0.0.33:8082/project/7de2e0ae-2e3e-4066-8cca-a8ac17a2edf1 2026-04-27 17:44:48,532 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ab8f7243-3a26-41fe-a693-06e2015329ee 2026-04-27 17:44:48,547 - DEBUG - ==>Verifying data for policy with id: 57a554a6-7498-4aad-8997-69b81d6b1484, fqn: ['default-domain', 'ctest-TestBasicPolicy-84655925', 'ctest-policy-allow-all-20080316'] 2026-04-27 17:44:48,548 - INFO - VN ctest-vn-94753258 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-27 17:44:48,548 - DEBUG - Verifying the vn in opserver 2026-04-27 17:44:48,548 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-84655925:ctest-vn-94753258 virtual network link through opserver 10.0.0.33 2026-04-27 17:44:48,548 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-04-27 17:44:48,562 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-84655925:ctest-vn-94753258', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-84655925:ctest-vn-94753258?flat'} 2026-04-27 17:44:48,562 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-84655925:ctest-vn-94753258 is found in opserver 2026-04-27 17:44:48,576 - DEBUG - Do not have enough data to verify VN in agent 2026-04-27 17:44:48,583 - DEBUG - VRF ids for VN ctest-vn-94753258: {} 2026-04-27 17:44:48,674 - DEBUG - Services list from nova: [, , ] 2026-04-27 17:44:49,977 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5697-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5697-1) 2026-04-27 17:44:51,606 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5697-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5697-1) 2026-04-27 17:44:51,607 - INFO - Waiting for VM ctest-TestBasicPolicy-84655925-55745417 to be up.. 2026-04-27 17:44:51,730 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-27 17:44:56,839 - DEBUG - VM is in ACTIVE state now 2026-04-27 17:44:56,840 - INFO - VM name : ctest-TestBasicPolicy-84655925-55745417 2026-04-27 17:44:56,945 - DEBUG - VM ctest-TestBasicPolicy-84655925-55745417 ID is 17fd1104-7a55-4498-82dd-3bac55d991bc 2026-04-27 17:44:56,978 - DEBUG - VM ctest-TestBasicPolicy-84655925-55745417 launched on Node cn-jenkins-deploy-platform-ansible-os-5697-1 2026-04-27 17:44:57,088 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/17fd1104-7a55-4498-82dd-3bac55d991bc 2026-04-27 17:44:57,099 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/fc764d50-7864-4773-b70a-4573fc510391 2026-04-27 17:45:00,382 - 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 1023ms') 2026-04-27 17:45:00,382 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-84655925-55745417 failed! 2026-04-27 17:45:00,447 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-84655925:ctest-vn-01071939 is 164.13.212.129 and allocation pool is NOT set 2026-04-27 17:45:04,534 - 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 1020ms') 2026-04-27 17:45:04,534 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-84655925-55745417 failed! 2026-04-27 17:45:04,599 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-84655925:ctest-vn-01071939 is 164.13.212.129 and allocation pool is NOT set 2026-04-27 17:45:06,675 - 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.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.34 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 = 1.336/3.638/5.941/2.302 ms') 2026-04-27 17:45:06,675 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-84655925-55745417 passed 2026-04-27 17:45:06,839 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-27 17:45:06,839 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-84655925-55745417, IP 164.13.212.131, Port 22 2026-04-27 17:45:07,014 - DEBUG - VM ctest-TestBasicPolicy-84655925-55745417 is ready for SSH connections 2026-04-27 17:45:07,014 - INFO - Waiting for VM ctest-TestBasicPolicy-84655925-34005876 to be up.. 2026-04-27 17:45:07,139 - DEBUG - VM is in ACTIVE state now 2026-04-27 17:45:07,139 - INFO - VM name : ctest-TestBasicPolicy-84655925-34005876 2026-04-27 17:45:07,258 - DEBUG - VM ctest-TestBasicPolicy-84655925-34005876 ID is 65734ce3-a216-4eaa-b152-fcda75c54660 2026-04-27 17:45:07,258 - DEBUG - VM ctest-TestBasicPolicy-84655925-34005876 launched on Node cn-jenkins-deploy-platform-ansible-os-5697-1 2026-04-27 17:45:07,379 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/65734ce3-a216-4eaa-b152-fcda75c54660 2026-04-27 17:45:07,392 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/ce4ab527-9b5e-448d-a5ad-d60dac7cd504 2026-04-27 17:45:08,658 - 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=4.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.76 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 = 3.763/4.307/4.852/0.544 ms') 2026-04-27 17:45:08,658 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-84655925-34005876 passed 2026-04-27 17:45:08,819 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-27 17:45:08,819 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-84655925-34005876, IP 171.26.53.195, Port 22 2026-04-27 17:45:08,885 - 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-04-27 17:45:09,003 - DEBUG - VM ctest-TestBasicPolicy-84655925-34005876 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-27 17:45:14,004 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-27 17:45:14,004 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-84655925-34005876, IP 171.26.53.195, Port 22 2026-04-27 17:45:14,181 - DEBUG - VM ctest-TestBasicPolicy-84655925-34005876 is ready for SSH connections 2026-04-27 17:45:14,181 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-27 17:45:14,182 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 171.26.53.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-04-27 17:45:14,182 - DEBUG - ping -s 56 -c 3 -W 1 171.26.53.195 2026-04-27 17:45:18,581 - DEBUG - PING 171.26.53.195 (171.26.53.195): 56 data bytes 64 bytes from 171.26.53.195: seq=0 ttl=63 time=5.085 ms 64 bytes from 171.26.53.195: seq=1 ttl=63 time=1.868 ms 64 bytes from 171.26.53.195: seq=2 ttl=63 time=1.377 ms --- 171.26.53.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.377/2.776/5.085 ms 2026-04-27 17:45:18,581 - INFO - Ping to IP 171.26.53.195 from VM ctest-TestBasicPolicy-84655925-55745417 passed 2026-04-27 17:45:18,787 - DEBUG - Policy Update Response {"network-policy": {"uuid": "57a554a6-7498-4aad-8997-69b81d6b1484", "href": "http://10.0.0.33:8082/network-policy/57a554a6-7498-4aad-8997-69b81d6b1484"}} 2026-04-27 17:45:18,787 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-27 17:45:18,787 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 171.26.53.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-04-27 17:45:18,787 - DEBUG - ping -s 56 -c 3 -W 1 171.26.53.195 2026-04-27 17:45:22,059 - DEBUG - PING 171.26.53.195 (171.26.53.195): 56 data bytes --- 171.26.53.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-27 17:45:22,060 - WARNING - Ping to IP 171.26.53.195 from VM ctest-TestBasicPolicy-84655925-55745417 failed 2026-04-27 17:45:22,060 - INFO - Deleting VM ctest-TestBasicPolicy-84655925-34005876 2026-04-27 17:45:22,174 - INFO - Deleting VM ctest-TestBasicPolicy-84655925-55745417 2026-04-27 17:45:22,689 - INFO - Deleted policy ctest-policy-allow-all-20080316 2026-04-27 17:45:22,689 - INFO - Deleting VN ctest-vn-94753258 2026-04-27 17:45:22,743 - DEBUG - VN ab8f7243-3a26-41fe-a693-06e2015329ee still in use: Unable to complete operation on network ab8f7243-3a26-41fe-a693-06e2015329ee. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-366e9395-5fe8-4ea4-b235-ae0da3871a45'] 2026-04-27 17:45:22,743 - WARNING - Deleting VN ctest-vn-94753258 failed..Will retry 2026-04-27 17:45:25,108 - DEBUG - Response for deleting network () 2026-04-27 17:45:25,108 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/fd8217ed-ae9a-4196-bf68-720e3fd2f965 2026-04-27 17:45:25,120 - DEBUG - Response Code: 404 2026-04-27 17:45:25,121 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-04-27 17:45:25,134 - DEBUG - Requesting: http://10.0.0.33:8082/domain/887b5ccc-0b81-4877-8df6-e2f3e42897ca 2026-04-27 17:45:25,176 - DEBUG - Requesting: http://10.0.0.33:8082/project/7de2e0ae-2e3e-4066-8cca-a8ac17a2edf1 2026-04-27 17:45:25,263 - INFO - Validated that VN ctest-vn-94753258 is not found in API Server 2026-04-27 17:45:25,279 - DEBUG - VN ctest-vn-94753258 is not present in Agent 10.0.0.33 2026-04-27 17:45:25,279 - INFO - Validated that VN ctest-vn-94753258 is not in any agent 2026-04-27 17:45:25,297 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-94753258 info 2026-04-27 17:45:25,297 - INFO - Deleting VN ctest-vn-01071939 2026-04-27 17:45:25,477 - DEBUG - Response for deleting network () 2026-04-27 17:45:25,477 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/6e76cbcc-cf80-42e0-9722-4662fc940ed1 2026-04-27 17:45:25,487 - DEBUG - Response Code: 404 2026-04-27 17:45:25,487 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-04-27 17:45:25,498 - DEBUG - Requesting: http://10.0.0.33:8082/domain/887b5ccc-0b81-4877-8df6-e2f3e42897ca 2026-04-27 17:45:25,561 - DEBUG - Requesting: http://10.0.0.33:8082/project/7de2e0ae-2e3e-4066-8cca-a8ac17a2edf1 2026-04-27 17:45:25,654 - INFO - Validated that VN ctest-vn-01071939 is not found in API Server 2026-04-27 17:45:25,668 - DEBUG - VN ctest-vn-01071939 is not present in Agent 10.0.0.33 2026-04-27 17:45:25,668 - INFO - Validated that VN ctest-vn-01071939 is not in any agent 2026-04-27 17:45:25,685 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-01071939 info 2026-04-27 17:45:25,957 - DEBUG - No XMPP flaps were noticed during the test 2026-04-27 17:45:25,957 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:41] 2026-04-27 17:45:25,957 - INFO - -------------------------------------------------------------------------------- 2026-04-27 17:45:26,718 - INFO - Deleted project: ctest-TestBasicPolicy-84655925, ID : 7de2e0ae-2e3e-4066-8cca-a8ac17a2edf1