2026-02-20 10:58:59,238 - INFO - Domain Default found not creating 2026-02-20 10:58:59,416 - INFO - Project ctest-TestBasicPolicy-76786187 not found, creating it 2026-02-20 10:58:59,901 - INFO - Created Project:ctest-TestBasicPolicy-76786187, ID : 9f8eeb6c-4725-494d-b224-9f0ca0b6ea07 2026-02-20 10:59:01,414 - INFO - ================================================================================ 2026-02-20 10:59:01,414 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-20 10:59:01,414 - 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 10:59:01,675 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.17': '0'}} with 2026-02-20 10:59:01,675 - INFO - Initial checks done. Running the testcase now 2026-02-20 10:59:01,675 - INFO - 2026-02-20 10:59:02,259 - DEBUG - Response for create_network : {'network': {'id': '5c94e298-9c6c-4b03-a7df-01f9e8690207', 'name': 'ctest-vn-72288386', 'tenant_id': '9f8eeb6c4725494db2249f0ca0b6ea07', 'project_id': '9f8eeb6c4725494db2249f0ca0b6ea07', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76786187', 'ctest-vn-72288386'], 'port_security_enabled': True, 'description': ''}} 2026-02-20 10:59:02,471 - DEBUG - Response for create_subnet : {'subnet': {'id': '1cc37d0b-bc77-4439-92fc-e39f007022ef', 'name': '', 'tenant_id': '9f8eeb6c4725494db2249f0ca0b6ea07', 'network_id': '5c94e298-9c6c-4b03-a7df-01f9e8690207', 'ip_version': 4, 'cidr': '216.76.90.0/26', 'allocation_pools': [{'start': '216.76.90.2', 'end': '216.76.90.62'}], 'gateway_ip': '216.76.90.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '216.76.90.2', 'tags': [], 'project_id': '9f8eeb6c4725494db2249f0ca0b6ea07'}} 2026-02-20 10:59:02,493 - INFO - Created VN ctest-vn-72288386 2026-02-20 10:59:02,549 - DEBUG - VN ctest-vn-72288386 UUID is 5c94e298-9c6c-4b03-a7df-01f9e8690207 2026-02-20 10:59:02,848 - DEBUG - Response for create_network : {'network': {'id': '999d8a5e-d1db-4bc7-b602-e84995a2bed5', 'name': 'ctest-vn-24412943', 'tenant_id': '9f8eeb6c4725494db2249f0ca0b6ea07', 'project_id': '9f8eeb6c4725494db2249f0ca0b6ea07', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76786187', 'ctest-vn-24412943'], 'port_security_enabled': True, 'description': ''}} 2026-02-20 10:59:03,023 - DEBUG - Response for create_subnet : {'subnet': {'id': '7df16f15-fbd0-4ba1-a18f-c5ac5a44d569', 'name': '', 'tenant_id': '9f8eeb6c4725494db2249f0ca0b6ea07', 'network_id': '999d8a5e-d1db-4bc7-b602-e84995a2bed5', 'ip_version': 4, 'cidr': '67.220.147.192/26', 'allocation_pools': [{'start': '67.220.147.194', 'end': '67.220.147.254'}], 'gateway_ip': '67.220.147.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '67.220.147.194', 'tags': [], 'project_id': '9f8eeb6c4725494db2249f0ca0b6ea07'}} 2026-02-20 10:59:03,044 - INFO - Created VN ctest-vn-24412943 2026-02-20 10:59:03,097 - DEBUG - VN ctest-vn-24412943 UUID is 999d8a5e-d1db-4bc7-b602-e84995a2bed5 2026-02-20 10:59:03,220 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-76786187:ctest-vn-72288386, 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-76786187:ctest-vn-24412943, 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 10:59:03,544 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5c94e298-9c6c-4b03-a7df-01f9e8690207', 'name': 'ctest-vn-72288386', 'tenant_id': '9f8eeb6c4725494db2249f0ca0b6ea07', 'project_id': '9f8eeb6c4725494db2249f0ca0b6ea07', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1cc37d0b-bc77-4439-92fc-e39f007022ef'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76786187', 'ctest-vn-72288386'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-76786187', 'ctest-policy-allow-all-01174160']], 'subnet_ipam': [{'subnet_cidr': '216.76.90.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-20 10:59:03,792 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '999d8a5e-d1db-4bc7-b602-e84995a2bed5', 'name': 'ctest-vn-24412943', 'tenant_id': '9f8eeb6c4725494db2249f0ca0b6ea07', 'project_id': '9f8eeb6c4725494db2249f0ca0b6ea07', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7df16f15-fbd0-4ba1-a18f-c5ac5a44d569'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76786187', 'ctest-vn-24412943'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-76786187', 'ctest-policy-allow-all-01174160']], 'subnet_ipam': [{'subnet_cidr': '67.220.147.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-20 10:59:03,953 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-02-20 10:59:04,258 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-02-20 10:59:04,292 - DEBUG - Requesting: http://10.0.0.241:8082/domain/74096d83-10e3-4ed7-8a85-61d982f6583c 2026-02-20 10:59:04,305 - DEBUG - Requesting: http://10.0.0.241:8082/project/9f8eeb6c-4725-494d-b224-9f0ca0b6ea07 2026-02-20 10:59:04,379 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/5c94e298-9c6c-4b03-a7df-01f9e8690207 2026-02-20 10:59:04,390 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/5c94e298-9c6c-4b03-a7df-01f9e8690207 2026-02-20 10:59:04,401 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/4a818d94-838c-4a16-a6f3-a152ec59fc9a 2026-02-20 10:59:04,408 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/4a818d94-838c-4a16-a6f3-a152ec59fc9a 2026-02-20 10:59:04,415 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/fdf8e13e-4159-4f1a-b92c-205c5fff5d84 2026-02-20 10:59:04,421 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-20 10:59:04,421 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/5c94e298-9c6c-4b03-a7df-01f9e8690207 2026-02-20 10:59:04,431 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/4a818d94-838c-4a16-a6f3-a152ec59fc9a 2026-02-20 10:59:04,446 - INFO - Verified VN network id 11 for VN 5c94e298-9c6c-4b03-a7df-01f9e8690207 2026-02-20 10:59:04,447 - INFO - Verifications in API Server for VN ctest-vn-72288386 passed 2026-02-20 10:59:04,447 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/5c94e298-9c6c-4b03-a7df-01f9e8690207 2026-02-20 10:59:04,455 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/4a818d94-838c-4a16-a6f3-a152ec59fc9a 2026-02-20 10:59:04,462 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/4a818d94-838c-4a16-a6f3-a152ec59fc9a 2026-02-20 10:59:04,468 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/fdf8e13e-4159-4f1a-b92c-205c5fff5d84 2026-02-20 10:59:04,481 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-76786187:ctest-vn-72288386', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-76786187', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6671206093129796355', 'uuid-lslong': '12096389296998121991'}, 'enable': 'true', 'created': '2026-02-20T10:59:02', 'last-modified': '2026-02-20T10:59:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.960322'} 2026-02-20 10:59:04,487 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-20 10:59:04,487 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-72288386 passed 2026-02-20 10:59:04,488 - DEBUG - ====Verifying policy data for ctest-vn-72288386 in API_Server ====== 2026-02-20 10:59:04,488 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-02-20 10:59:04,494 - DEBUG - Requesting: http://10.0.0.241:8082/domain/74096d83-10e3-4ed7-8a85-61d982f6583c 2026-02-20 10:59:04,506 - DEBUG - Requesting: http://10.0.0.241:8082/project/9f8eeb6c-4725-494d-b224-9f0ca0b6ea07 2026-02-20 10:59:04,577 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/5c94e298-9c6c-4b03-a7df-01f9e8690207 2026-02-20 10:59:04,587 - DEBUG - ==>Verifying data for policy with id: fcdce5b4-4d5a-4149-9789-3a399a650a0b, fqn: ['default-domain', 'ctest-TestBasicPolicy-76786187', 'ctest-policy-allow-all-01174160'] 2026-02-20 10:59:04,587 - INFO - VN ctest-vn-72288386 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-20 10:59:04,587 - DEBUG - Verifying the vn in opserver 2026-02-20 10:59:04,587 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-76786187:ctest-vn-72288386 virtual network link through opserver 10.0.0.241 2026-02-20 10:59:04,587 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2026-02-20 10:59:04,889 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2026-02-20 10:59:04,956 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-76786187:ctest-vn-72288386', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-76786187:ctest-vn-72288386?flat'} 2026-02-20 10:59:04,956 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-76786187:ctest-vn-72288386 is found in opserver 2026-02-20 10:59:04,966 - DEBUG - Do not have enough data to verify VN in agent 2026-02-20 10:59:04,971 - DEBUG - VRF ids for VN ctest-vn-72288386: {} 2026-02-20 10:59:04,971 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-02-20 10:59:04,977 - DEBUG - Requesting: http://10.0.0.241:8082/domain/74096d83-10e3-4ed7-8a85-61d982f6583c 2026-02-20 10:59:04,989 - DEBUG - Requesting: http://10.0.0.241:8082/project/9f8eeb6c-4725-494d-b224-9f0ca0b6ea07 2026-02-20 10:59:05,060 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/999d8a5e-d1db-4bc7-b602-e84995a2bed5 2026-02-20 10:59:05,072 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/999d8a5e-d1db-4bc7-b602-e84995a2bed5 2026-02-20 10:59:05,082 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/e2c3f721-7e58-4b45-9bb6-2d8a79bcd0a7 2026-02-20 10:59:05,090 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/e2c3f721-7e58-4b45-9bb6-2d8a79bcd0a7 2026-02-20 10:59:05,098 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/31b0dc52-59b0-4c0f-88ed-6dd1675a229b 2026-02-20 10:59:05,105 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-20 10:59:05,105 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/999d8a5e-d1db-4bc7-b602-e84995a2bed5 2026-02-20 10:59:05,116 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/e2c3f721-7e58-4b45-9bb6-2d8a79bcd0a7 2026-02-20 10:59:05,131 - INFO - Verified VN network id 12 for VN 999d8a5e-d1db-4bc7-b602-e84995a2bed5 2026-02-20 10:59:05,131 - INFO - Verifications in API Server for VN ctest-vn-24412943 passed 2026-02-20 10:59:05,131 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/999d8a5e-d1db-4bc7-b602-e84995a2bed5 2026-02-20 10:59:05,142 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/e2c3f721-7e58-4b45-9bb6-2d8a79bcd0a7 2026-02-20 10:59:05,151 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/e2c3f721-7e58-4b45-9bb6-2d8a79bcd0a7 2026-02-20 10:59:05,160 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/31b0dc52-59b0-4c0f-88ed-6dd1675a229b 2026-02-20 10:59:05,173 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-76786187:ctest-vn-24412943', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-76786187', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11069155598998916039', 'uuid-lslong': '13115300467597033173'}, 'enable': 'true', 'created': '2026-02-20T10:59:02', 'last-modified': '2026-02-20T10:59:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.415345'} 2026-02-20 10:59:05,180 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-20 10:59:05,181 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-24412943 passed 2026-02-20 10:59:05,181 - DEBUG - ====Verifying policy data for ctest-vn-24412943 in API_Server ====== 2026-02-20 10:59:05,181 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-02-20 10:59:05,187 - DEBUG - Requesting: http://10.0.0.241:8082/domain/74096d83-10e3-4ed7-8a85-61d982f6583c 2026-02-20 10:59:05,197 - DEBUG - Requesting: http://10.0.0.241:8082/project/9f8eeb6c-4725-494d-b224-9f0ca0b6ea07 2026-02-20 10:59:05,265 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/999d8a5e-d1db-4bc7-b602-e84995a2bed5 2026-02-20 10:59:05,275 - DEBUG - ==>Verifying data for policy with id: fcdce5b4-4d5a-4149-9789-3a399a650a0b, fqn: ['default-domain', 'ctest-TestBasicPolicy-76786187', 'ctest-policy-allow-all-01174160'] 2026-02-20 10:59:05,275 - INFO - VN ctest-vn-24412943 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-20 10:59:05,275 - DEBUG - Verifying the vn in opserver 2026-02-20 10:59:05,275 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-76786187:ctest-vn-24412943 virtual network link through opserver 10.0.0.241 2026-02-20 10:59:05,275 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2026-02-20 10:59:05,286 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-76786187:ctest-vn-24412943', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-76786187:ctest-vn-24412943?flat'} 2026-02-20 10:59:05,286 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-76786187:ctest-vn-24412943 is found in opserver 2026-02-20 10:59:05,295 - DEBUG - Do not have enough data to verify VN in agent 2026-02-20 10:59:05,300 - DEBUG - VRF ids for VN ctest-vn-24412943: {} 2026-02-20 10:59:05,359 - DEBUG - Services list from nova: [, , ] 2026-02-20 10:59:06,401 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5371-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5371-1) 2026-02-20 10:59:07,566 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5371-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5371-1) 2026-02-20 10:59:07,567 - INFO - Waiting for VM ctest-TestBasicPolicy-76786187-49175096 to be up.. 2026-02-20 10:59:07,667 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-20 10:59:12,761 - DEBUG - VM is in ACTIVE state now 2026-02-20 10:59:12,761 - INFO - VM name : ctest-TestBasicPolicy-76786187-49175096 2026-02-20 10:59:12,844 - DEBUG - VM ctest-TestBasicPolicy-76786187-49175096 ID is 7a50b38a-7005-4d82-9136-6c750defef3f 2026-02-20 10:59:12,865 - DEBUG - VM ctest-TestBasicPolicy-76786187-49175096 launched on Node cn-jenkins-deploy-platform-ansible-os-5371-1 2026-02-20 10:59:12,952 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/7a50b38a-7005-4d82-9136-6c750defef3f 2026-02-20 10:59:12,961 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/22d78d59-7c9a-4fea-9c61-ee252dcfabd4 2026-02-20 10:59:16,218 - 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 1010ms') 2026-02-20 10:59:16,218 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-76786187-49175096 failed! 2026-02-20 10:59:16,273 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-76786187:ctest-vn-72288386 is 216.76.90.1 and allocation pool is NOT set 2026-02-20 10:59:18,339 - 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.71 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.390 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.390/3.048/5.707/2.658 ms') 2026-02-20 10:59:18,339 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-76786187-49175096 passed 2026-02-20 10:59:18,493 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-20 10:59:18,493 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-76786187-49175096, IP 216.76.90.3, Port 22 2026-02-20 10:59:18,562 - 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 10:59:18,647 - DEBUG - VM ctest-TestBasicPolicy-76786187-49175096 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-20 10:59:23,648 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-20 10:59:23,648 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-76786187-49175096, IP 216.76.90.3, Port 22 2026-02-20 10:59:23,804 - DEBUG - VM ctest-TestBasicPolicy-76786187-49175096 is ready for SSH connections 2026-02-20 10:59:23,804 - INFO - Waiting for VM ctest-TestBasicPolicy-76786187-06208463 to be up.. 2026-02-20 10:59:23,891 - DEBUG - VM is in ACTIVE state now 2026-02-20 10:59:23,891 - INFO - VM name : ctest-TestBasicPolicy-76786187-06208463 2026-02-20 10:59:23,970 - DEBUG - VM ctest-TestBasicPolicy-76786187-06208463 ID is b01ac4c0-b274-4f03-a25b-5409eafd4157 2026-02-20 10:59:23,970 - DEBUG - VM ctest-TestBasicPolicy-76786187-06208463 launched on Node cn-jenkins-deploy-platform-ansible-os-5371-1 2026-02-20 10:59:24,062 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/b01ac4c0-b274-4f03-a25b-5409eafd4157 2026-02-20 10:59:24,071 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/2f7d0373-e753-4f32-84d5-e3d1e71f8427 2026-02-20 10:59:25,322 - 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.04 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.363 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 = 0.363/1.700/3.038/1.337 ms') 2026-02-20 10:59:25,322 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-76786187-06208463 passed 2026-02-20 10:59:25,473 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-20 10:59:25,473 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-76786187-06208463, IP 67.220.147.195, Port 22 2026-02-20 10:59:25,628 - DEBUG - VM ctest-TestBasicPolicy-76786187-06208463 is ready for SSH connections 2026-02-20 10:59:25,628 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-20 10:59:25,628 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 67.220.147.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2026-02-20 10:59:25,628 - DEBUG - ping -s 56 -c 3 -W 1 67.220.147.195 2026-02-20 10:59:29,740 - DEBUG - PING 67.220.147.195 (67.220.147.195): 56 data bytes 64 bytes from 67.220.147.195: seq=0 ttl=63 time=3.935 ms 64 bytes from 67.220.147.195: seq=1 ttl=63 time=1.049 ms 64 bytes from 67.220.147.195: seq=2 ttl=63 time=0.778 ms --- 67.220.147.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.778/1.920/3.935 ms 2026-02-20 10:59:29,740 - INFO - Ping to IP 67.220.147.195 from VM ctest-TestBasicPolicy-76786187-49175096 passed 2026-02-20 10:59:29,916 - DEBUG - Policy Update Response {"network-policy": {"uuid": "fcdce5b4-4d5a-4149-9789-3a399a650a0b", "href": "http://10.0.0.241:8082/network-policy/fcdce5b4-4d5a-4149-9789-3a399a650a0b"}} 2026-02-20 10:59:29,917 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-20 10:59:29,917 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 67.220.147.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2026-02-20 10:59:29,917 - DEBUG - ping -s 56 -c 3 -W 1 67.220.147.195 2026-02-20 10:59:33,155 - DEBUG - PING 67.220.147.195 (67.220.147.195): 56 data bytes --- 67.220.147.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-20 10:59:33,155 - WARNING - Ping to IP 67.220.147.195 from VM ctest-TestBasicPolicy-76786187-49175096 failed 2026-02-20 10:59:33,155 - INFO - Deleting VM ctest-TestBasicPolicy-76786187-06208463 2026-02-20 10:59:33,245 - INFO - Deleting VM ctest-TestBasicPolicy-76786187-49175096 2026-02-20 10:59:33,638 - INFO - Deleted policy ctest-policy-allow-all-01174160 2026-02-20 10:59:33,639 - INFO - Deleting VN ctest-vn-24412943 2026-02-20 10:59:33,680 - DEBUG - VN 999d8a5e-d1db-4bc7-b602-e84995a2bed5 still in use: Unable to complete operation on network 999d8a5e-d1db-4bc7-b602-e84995a2bed5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2610411e-4d97-4e91-8989-8d0218b6245b'] 2026-02-20 10:59:33,680 - WARNING - Deleting VN ctest-vn-24412943 failed..Will retry 2026-02-20 10:59:35,782 - DEBUG - Response for deleting network () 2026-02-20 10:59:35,782 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/e2c3f721-7e58-4b45-9bb6-2d8a79bcd0a7 2026-02-20 10:59:35,794 - DEBUG - Response Code: 404 2026-02-20 10:59:35,794 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-02-20 10:59:35,799 - DEBUG - Requesting: http://10.0.0.241:8082/domain/74096d83-10e3-4ed7-8a85-61d982f6583c 2026-02-20 10:59:35,850 - DEBUG - Requesting: http://10.0.0.241:8082/project/9f8eeb6c-4725-494d-b224-9f0ca0b6ea07 2026-02-20 10:59:35,926 - INFO - Validated that VN ctest-vn-24412943 is not found in API Server 2026-02-20 10:59:35,936 - DEBUG - VN ctest-vn-24412943 is not present in Agent 10.0.0.241 2026-02-20 10:59:35,936 - INFO - Validated that VN ctest-vn-24412943 is not in any agent 2026-02-20 10:59:35,952 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-24412943 info 2026-02-20 10:59:35,952 - INFO - Deleting VN ctest-vn-72288386 2026-02-20 10:59:36,052 - DEBUG - Response for deleting network () 2026-02-20 10:59:36,052 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/4a818d94-838c-4a16-a6f3-a152ec59fc9a 2026-02-20 10:59:36,056 - DEBUG - Response Code: 404 2026-02-20 10:59:36,056 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-02-20 10:59:36,061 - DEBUG - Requesting: http://10.0.0.241:8082/domain/74096d83-10e3-4ed7-8a85-61d982f6583c 2026-02-20 10:59:36,118 - DEBUG - Requesting: http://10.0.0.241:8082/project/9f8eeb6c-4725-494d-b224-9f0ca0b6ea07 2026-02-20 10:59:36,189 - INFO - Validated that VN ctest-vn-72288386 is not found in API Server 2026-02-20 10:59:36,199 - DEBUG - VN ctest-vn-72288386 is not present in Agent 10.0.0.241 2026-02-20 10:59:36,199 - INFO - Validated that VN ctest-vn-72288386 is not in any agent 2026-02-20 10:59:36,214 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-72288386 info 2026-02-20 10:59:36,465 - DEBUG - No XMPP flaps were noticed during the test
2026-02-20 10:59:36,465 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2026-02-20 10:59:36,465 - INFO - -------------------------------------------------------------------------------- 2026-02-20 10:59:37,163 - INFO - Deleted project: ctest-TestBasicPolicy-76786187, ID : 9f8eeb6c-4725-494d-b224-9f0ca0b6ea07