2026-02-20 13:28:54,725 - INFO - Domain Default found not creating 2026-02-20 13:28:54,890 - INFO - Project ctest-TestBasicPolicy-45212377 not found, creating it 2026-02-20 13:28:55,356 - INFO - Created Project:ctest-TestBasicPolicy-45212377, ID : 27787fd5-e1cf-4d03-a8ad-921111a41fe7 2026-02-20 13:28:56,873 - INFO - ================================================================================ 2026-02-20 13:28:56,873 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-20 13:28:56,873 - 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-02-20 13:28:57,129 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-02-20 13:28:57,129 - INFO - Initial checks done. Running the testcase now 2026-02-20 13:28:57,129 - INFO - 2026-02-20 13:28:57,683 - DEBUG - Response for create_network : {'network': {'id': '25094c25-c2e4-40a5-937a-3ccaa4d14eeb', 'name': 'ctest-vn-07977600', 'tenant_id': '27787fd5e1cf4d03a8ad921111a41fe7', 'project_id': '27787fd5e1cf4d03a8ad921111a41fe7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45212377', 'ctest-vn-07977600'], 'port_security_enabled': True, 'description': ''}} 2026-02-20 13:28:57,845 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ccf33b8c-8359-4eee-be19-1e8ef28ee120', 'name': '', 'tenant_id': '27787fd5e1cf4d03a8ad921111a41fe7', 'network_id': '25094c25-c2e4-40a5-937a-3ccaa4d14eeb', 'ip_version': 4, 'cidr': '107.51.143.64/26', 'allocation_pools': [{'start': '107.51.143.66', 'end': '107.51.143.126'}], 'gateway_ip': '107.51.143.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.51.143.66', 'tags': [], 'project_id': '27787fd5e1cf4d03a8ad921111a41fe7'}} 2026-02-20 13:28:57,866 - INFO - Created VN ctest-vn-07977600 2026-02-20 13:28:57,919 - DEBUG - VN ctest-vn-07977600 UUID is 25094c25-c2e4-40a5-937a-3ccaa4d14eeb 2026-02-20 13:28:58,204 - DEBUG - Response for create_network : {'network': {'id': 'd83bdf01-c053-487d-9f0c-aa5c8620ca31', 'name': 'ctest-vn-77145795', 'tenant_id': '27787fd5e1cf4d03a8ad921111a41fe7', 'project_id': '27787fd5e1cf4d03a8ad921111a41fe7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45212377', 'ctest-vn-77145795'], 'port_security_enabled': True, 'description': ''}} 2026-02-20 13:28:58,389 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b68ddbb1-9550-4e54-9f74-82b08c82b502', 'name': '', 'tenant_id': '27787fd5e1cf4d03a8ad921111a41fe7', 'network_id': 'd83bdf01-c053-487d-9f0c-aa5c8620ca31', 'ip_version': 4, 'cidr': '164.33.42.64/26', 'allocation_pools': [{'start': '164.33.42.66', 'end': '164.33.42.126'}], 'gateway_ip': '164.33.42.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.33.42.66', 'tags': [], 'project_id': '27787fd5e1cf4d03a8ad921111a41fe7'}} 2026-02-20 13:28:58,410 - INFO - Created VN ctest-vn-77145795 2026-02-20 13:28:58,463 - DEBUG - VN ctest-vn-77145795 UUID is d83bdf01-c053-487d-9f0c-aa5c8620ca31 2026-02-20 13:28:58,584 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-45212377:ctest-vn-07977600, 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-45212377:ctest-vn-77145795, 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-02-20 13:28:58,872 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '25094c25-c2e4-40a5-937a-3ccaa4d14eeb', 'name': 'ctest-vn-07977600', 'tenant_id': '27787fd5e1cf4d03a8ad921111a41fe7', 'project_id': '27787fd5e1cf4d03a8ad921111a41fe7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ccf33b8c-8359-4eee-be19-1e8ef28ee120'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45212377', 'ctest-vn-07977600'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45212377', 'ctest-policy-allow-all-86446954']], 'subnet_ipam': [{'subnet_cidr': '107.51.143.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-20 13:28:59,157 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd83bdf01-c053-487d-9f0c-aa5c8620ca31', 'name': 'ctest-vn-77145795', 'tenant_id': '27787fd5e1cf4d03a8ad921111a41fe7', 'project_id': '27787fd5e1cf4d03a8ad921111a41fe7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b68ddbb1-9550-4e54-9f74-82b08c82b502'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45212377', 'ctest-vn-77145795'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45212377', 'ctest-policy-allow-all-86446954']], 'subnet_ipam': [{'subnet_cidr': '164.33.42.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-20 13:28:59,302 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-20 13:28:59,601 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-20 13:28:59,633 - DEBUG - Requesting: http://10.0.0.38:8082/domain/438dd2ca-279c-47a7-825a-4d0b1a21a217 2026-02-20 13:28:59,645 - DEBUG - Requesting: http://10.0.0.38:8082/project/27787fd5-e1cf-4d03-a8ad-921111a41fe7 2026-02-20 13:28:59,716 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/25094c25-c2e4-40a5-937a-3ccaa4d14eeb 2026-02-20 13:28:59,727 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/25094c25-c2e4-40a5-937a-3ccaa4d14eeb 2026-02-20 13:28:59,737 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/54e83ee5-eec5-4cfd-a8c5-012afa092ff4 2026-02-20 13:28:59,746 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/54e83ee5-eec5-4cfd-a8c5-012afa092ff4 2026-02-20 13:28:59,754 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/989c57cc-d373-45f4-9901-4fd31f15dfc6 2026-02-20 13:28:59,762 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-20 13:28:59,762 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/25094c25-c2e4-40a5-937a-3ccaa4d14eeb 2026-02-20 13:28:59,772 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/54e83ee5-eec5-4cfd-a8c5-012afa092ff4 2026-02-20 13:28:59,789 - INFO - Verified VN network id 11 for VN 25094c25-c2e4-40a5-937a-3ccaa4d14eeb 2026-02-20 13:28:59,789 - INFO - Verifications in API Server for VN ctest-vn-07977600 passed 2026-02-20 13:28:59,789 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/25094c25-c2e4-40a5-937a-3ccaa4d14eeb 2026-02-20 13:28:59,799 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/54e83ee5-eec5-4cfd-a8c5-012afa092ff4 2026-02-20 13:28:59,807 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/54e83ee5-eec5-4cfd-a8c5-012afa092ff4 2026-02-20 13:28:59,816 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/989c57cc-d373-45f4-9901-4fd31f15dfc6 2026-02-20 13:28:59,829 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45212377:ctest-vn-07977600', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45212377', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2668747979260969125', 'uuid-lslong': '10626873111780347627'}, 'enable': 'true', 'created': '2026-02-20T13:28:57', 'last-modified': '2026-02-20T13:28:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.977047'} 2026-02-20 13:28:59,836 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-20 13:28:59,836 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07977600 passed 2026-02-20 13:28:59,836 - DEBUG - ====Verifying policy data for ctest-vn-07977600 in API_Server ====== 2026-02-20 13:28:59,837 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-20 13:28:59,842 - DEBUG - Requesting: http://10.0.0.38:8082/domain/438dd2ca-279c-47a7-825a-4d0b1a21a217 2026-02-20 13:28:59,854 - DEBUG - Requesting: http://10.0.0.38:8082/project/27787fd5-e1cf-4d03-a8ad-921111a41fe7 2026-02-20 13:28:59,927 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/25094c25-c2e4-40a5-937a-3ccaa4d14eeb 2026-02-20 13:28:59,938 - DEBUG - ==>Verifying data for policy with id: c06fde0f-0293-4ef2-8215-b7341f514045, fqn: ['default-domain', 'ctest-TestBasicPolicy-45212377', 'ctest-policy-allow-all-86446954'] 2026-02-20 13:28:59,938 - INFO - VN ctest-vn-07977600 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-20 13:28:59,938 - DEBUG - Verifying the vn in opserver 2026-02-20 13:28:59,938 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45212377:ctest-vn-07977600 virtual network link through opserver 10.0.0.38 2026-02-20 13:28:59,938 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-20 13:29:00,234 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-20 13:29:00,301 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45212377:ctest-vn-07977600', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45212377:ctest-vn-07977600?flat'} 2026-02-20 13:29:00,301 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45212377:ctest-vn-07977600 is found in opserver 2026-02-20 13:29:00,310 - DEBUG - Do not have enough data to verify VN in agent 2026-02-20 13:29:00,316 - DEBUG - VRF ids for VN ctest-vn-07977600: {} 2026-02-20 13:29:00,316 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-20 13:29:00,322 - DEBUG - Requesting: http://10.0.0.38:8082/domain/438dd2ca-279c-47a7-825a-4d0b1a21a217 2026-02-20 13:29:00,334 - DEBUG - Requesting: http://10.0.0.38:8082/project/27787fd5-e1cf-4d03-a8ad-921111a41fe7 2026-02-20 13:29:00,407 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d83bdf01-c053-487d-9f0c-aa5c8620ca31 2026-02-20 13:29:00,419 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d83bdf01-c053-487d-9f0c-aa5c8620ca31 2026-02-20 13:29:00,430 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/65935cb4-a2b0-4bb0-9de1-1ae61e51d011 2026-02-20 13:29:00,437 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/65935cb4-a2b0-4bb0-9de1-1ae61e51d011 2026-02-20 13:29:00,444 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/22517b58-406d-49e8-a6ca-7823f62b0a84 2026-02-20 13:29:00,452 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-20 13:29:00,452 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d83bdf01-c053-487d-9f0c-aa5c8620ca31 2026-02-20 13:29:00,460 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/65935cb4-a2b0-4bb0-9de1-1ae61e51d011 2026-02-20 13:29:00,476 - INFO - Verified VN network id 12 for VN d83bdf01-c053-487d-9f0c-aa5c8620ca31 2026-02-20 13:29:00,476 - INFO - Verifications in API Server for VN ctest-vn-77145795 passed 2026-02-20 13:29:00,476 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d83bdf01-c053-487d-9f0c-aa5c8620ca31 2026-02-20 13:29:00,485 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/65935cb4-a2b0-4bb0-9de1-1ae61e51d011 2026-02-20 13:29:00,494 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/65935cb4-a2b0-4bb0-9de1-1ae61e51d011 2026-02-20 13:29:00,502 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/22517b58-406d-49e8-a6ca-7823f62b0a84 2026-02-20 13:29:00,519 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45212377:ctest-vn-77145795', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45212377', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15581292534433007741', 'uuid-lslong': '11460722466115078705'}, 'enable': 'true', 'created': '2026-02-20T13:28:58', 'last-modified': '2026-02-20T13:28:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.432452'} 2026-02-20 13:29:00,525 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-20 13:29:00,525 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-77145795 passed 2026-02-20 13:29:00,525 - DEBUG - ====Verifying policy data for ctest-vn-77145795 in API_Server ====== 2026-02-20 13:29:00,525 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-20 13:29:00,533 - DEBUG - Requesting: http://10.0.0.38:8082/domain/438dd2ca-279c-47a7-825a-4d0b1a21a217 2026-02-20 13:29:00,548 - DEBUG - Requesting: http://10.0.0.38:8082/project/27787fd5-e1cf-4d03-a8ad-921111a41fe7 2026-02-20 13:29:00,620 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d83bdf01-c053-487d-9f0c-aa5c8620ca31 2026-02-20 13:29:00,629 - DEBUG - ==>Verifying data for policy with id: c06fde0f-0293-4ef2-8215-b7341f514045, fqn: ['default-domain', 'ctest-TestBasicPolicy-45212377', 'ctest-policy-allow-all-86446954'] 2026-02-20 13:29:00,629 - INFO - VN ctest-vn-77145795 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-20 13:29:00,629 - DEBUG - Verifying the vn in opserver 2026-02-20 13:29:00,629 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45212377:ctest-vn-77145795 virtual network link through opserver 10.0.0.38 2026-02-20 13:29:00,629 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-20 13:29:00,639 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45212377:ctest-vn-77145795', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45212377:ctest-vn-77145795?flat'} 2026-02-20 13:29:00,639 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45212377:ctest-vn-77145795 is found in opserver 2026-02-20 13:29:00,649 - DEBUG - Do not have enough data to verify VN in agent 2026-02-20 13:29:00,654 - DEBUG - VRF ids for VN ctest-vn-77145795: {} 2026-02-20 13:29:00,713 - DEBUG - Services list from nova: [, , ] 2026-02-20 13:29:01,869 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5374-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5374-1) 2026-02-20 13:29:03,153 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5374-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5374-1) 2026-02-20 13:29:03,153 - INFO - Waiting for VM ctest-TestBasicPolicy-45212377-27852346 to be up.. 2026-02-20 13:29:03,266 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-20 13:29:08,364 - DEBUG - VM is in ACTIVE state now 2026-02-20 13:29:08,364 - INFO - VM name : ctest-TestBasicPolicy-45212377-27852346 2026-02-20 13:29:08,463 - DEBUG - VM ctest-TestBasicPolicy-45212377-27852346 ID is 6959345c-59ba-4227-866d-48c916fe8af9 2026-02-20 13:29:08,485 - DEBUG - VM ctest-TestBasicPolicy-45212377-27852346 launched on Node cn-jenkins-deploy-platform-ansible-os-5374-1 2026-02-20 13:29:08,566 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6959345c-59ba-4227-866d-48c916fe8af9 2026-02-20 13:29:08,576 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b4206a8f-401d-484f-b6f5-0dde52556b00 2026-02-20 13:29:11,845 - 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 1021ms') 2026-02-20 13:29:11,845 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-45212377-27852346 failed! 2026-02-20 13:29:11,907 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-45212377:ctest-vn-07977600 is 107.51.143.65 and allocation pool is NOT set 2026-02-20 13:29:13,973 - 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=4.56 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.73 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 = 3.733/4.147/4.562/0.414 ms') 2026-02-20 13:29:13,973 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-45212377-27852346 passed 2026-02-20 13:29:14,127 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-20 13:29:14,127 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45212377-27852346, IP 107.51.143.67, Port 22 2026-02-20 13:29:14,193 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-02-20 13:29:14,288 - DEBUG - VM ctest-TestBasicPolicy-45212377-27852346 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-20 13:29:19,289 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-20 13:29:19,289 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45212377-27852346, IP 107.51.143.67, Port 22 2026-02-20 13:29:19,460 - DEBUG - VM ctest-TestBasicPolicy-45212377-27852346 is ready for SSH connections 2026-02-20 13:29:19,460 - INFO - Waiting for VM ctest-TestBasicPolicy-45212377-50487638 to be up.. 2026-02-20 13:29:19,539 - DEBUG - VM is in ACTIVE state now 2026-02-20 13:29:19,539 - INFO - VM name : ctest-TestBasicPolicy-45212377-50487638 2026-02-20 13:29:19,624 - DEBUG - VM ctest-TestBasicPolicy-45212377-50487638 ID is ebe238d8-324d-4548-bae9-b1cb29edbb9d 2026-02-20 13:29:19,624 - DEBUG - VM ctest-TestBasicPolicy-45212377-50487638 launched on Node cn-jenkins-deploy-platform-ansible-os-5374-1 2026-02-20 13:29:19,719 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ebe238d8-324d-4548-bae9-b1cb29edbb9d 2026-02-20 13:29:19,727 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b7b6d98a-f6f3-46a7-8706-543f8911ee98 2026-02-20 13:29:20,966 - 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.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.558 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.558/2.112/3.666/1.554 ms') 2026-02-20 13:29:20,966 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-45212377-50487638 passed 2026-02-20 13:29:21,119 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-20 13:29:21,119 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45212377-50487638, IP 164.33.42.67, Port 22 2026-02-20 13:29:21,285 - DEBUG - VM ctest-TestBasicPolicy-45212377-50487638 is ready for SSH connections 2026-02-20 13:29:21,285 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-20 13:29:21,286 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 164.33.42.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-20 13:29:21,286 - DEBUG - ping -s 56 -c 3 -W 1 164.33.42.67 2026-02-20 13:29:25,410 - DEBUG - PING 164.33.42.67 (164.33.42.67): 56 data bytes 64 bytes from 164.33.42.67: seq=0 ttl=63 time=3.620 ms 64 bytes from 164.33.42.67: seq=1 ttl=63 time=1.095 ms 64 bytes from 164.33.42.67: seq=2 ttl=63 time=0.862 ms --- 164.33.42.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.862/1.859/3.620 ms 2026-02-20 13:29:25,410 - INFO - Ping to IP 164.33.42.67 from VM ctest-TestBasicPolicy-45212377-27852346 passed 2026-02-20 13:29:25,598 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c06fde0f-0293-4ef2-8215-b7341f514045", "href": "http://10.0.0.38:8082/network-policy/c06fde0f-0293-4ef2-8215-b7341f514045"}} 2026-02-20 13:29:25,598 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-20 13:29:25,599 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 164.33.42.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-20 13:29:25,599 - DEBUG - ping -s 56 -c 3 -W 1 164.33.42.67 2026-02-20 13:29:28,815 - DEBUG - PING 164.33.42.67 (164.33.42.67): 56 data bytes --- 164.33.42.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-20 13:29:28,815 - WARNING - Ping to IP 164.33.42.67 from VM ctest-TestBasicPolicy-45212377-27852346 failed 2026-02-20 13:29:28,815 - INFO - Deleting VM ctest-TestBasicPolicy-45212377-50487638 2026-02-20 13:29:28,899 - INFO - Deleting VM ctest-TestBasicPolicy-45212377-27852346 2026-02-20 13:29:29,326 - INFO - Deleted policy ctest-policy-allow-all-86446954 2026-02-20 13:29:29,326 - INFO - Deleting VN ctest-vn-77145795 2026-02-20 13:29:29,368 - DEBUG - VN d83bdf01-c053-487d-9f0c-aa5c8620ca31 still in use: Unable to complete operation on network d83bdf01-c053-487d-9f0c-aa5c8620ca31. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7dcfdd26-c5af-470f-9eba-d15c713e82ea'] 2026-02-20 13:29:29,368 - WARNING - Deleting VN ctest-vn-77145795 failed..Will retry 2026-02-20 13:29:31,472 - DEBUG - Response for deleting network () 2026-02-20 13:29:31,472 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/65935cb4-a2b0-4bb0-9de1-1ae61e51d011 2026-02-20 13:29:31,478 - DEBUG - Response Code: 404 2026-02-20 13:29:31,478 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-20 13:29:31,484 - DEBUG - Requesting: http://10.0.0.38:8082/domain/438dd2ca-279c-47a7-825a-4d0b1a21a217 2026-02-20 13:29:31,540 - DEBUG - Requesting: http://10.0.0.38:8082/project/27787fd5-e1cf-4d03-a8ad-921111a41fe7 2026-02-20 13:29:31,611 - INFO - Validated that VN ctest-vn-77145795 is not found in API Server 2026-02-20 13:29:31,622 - DEBUG - VN ctest-vn-77145795 is not present in Agent 10.0.0.38 2026-02-20 13:29:31,622 - INFO - Validated that VN ctest-vn-77145795 is not in any agent 2026-02-20 13:29:31,638 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-77145795 info 2026-02-20 13:29:31,638 - INFO - Deleting VN ctest-vn-07977600 2026-02-20 13:29:31,747 - DEBUG - Response for deleting network () 2026-02-20 13:29:31,747 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/54e83ee5-eec5-4cfd-a8c5-012afa092ff4 2026-02-20 13:29:31,752 - DEBUG - Response Code: 404 2026-02-20 13:29:31,752 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-20 13:29:31,757 - DEBUG - Requesting: http://10.0.0.38:8082/domain/438dd2ca-279c-47a7-825a-4d0b1a21a217 2026-02-20 13:29:31,814 - DEBUG - Requesting: http://10.0.0.38:8082/project/27787fd5-e1cf-4d03-a8ad-921111a41fe7 2026-02-20 13:29:31,888 - INFO - Validated that VN ctest-vn-07977600 is not found in API Server 2026-02-20 13:29:31,897 - DEBUG - VN ctest-vn-07977600 is not present in Agent 10.0.0.38 2026-02-20 13:29:31,897 - INFO - Validated that VN ctest-vn-07977600 is not in any agent 2026-02-20 13:29:31,914 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-07977600 info 2026-02-20 13:29:32,182 - DEBUG - No XMPP flaps were noticed during the test 2026-02-20 13:29:32,182 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36] 2026-02-20 13:29:32,182 - INFO - -------------------------------------------------------------------------------- 2026-02-20 13:29:32,928 - INFO - Deleted project: ctest-TestBasicPolicy-45212377, ID : 27787fd5-e1cf-4d03-a8ad-921111a41fe7