2026-08-17 15:44:05,571 - INFO - Domain Default found not creating 2026-08-17 15:44:05,739 - INFO - Project ctest-TestBasicPolicy-22378420 not found, creating it 2026-08-17 15:44:06,240 - INFO - Created Project:ctest-TestBasicPolicy-22378420, ID : 38eed1f0-4525-40dc-9e3d-e112ba949d9c 2026-08-17 15:44:07,949 - INFO - ================================================================================ 2026-08-17 15:44:07,949 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-17 15:44:07,949 - 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-17 15:44:08,220 - DEBUG - Nothing to compare xmpp stats {'10.0.0.177': {'10.20.0.17': '0'}} with 2026-08-17 15:44:08,220 - INFO - Initial checks done. Running the testcase now 2026-08-17 15:44:08,220 - INFO - 2026-08-17 15:44:08,864 - DEBUG - Response for create_network : {'network': {'id': '92f5b4d9-65dc-43db-9ca7-67e710e2a9dc', 'name': 'ctest-vn-84454090', 'tenant_id': '38eed1f0452540dc9e3de112ba949d9c', 'project_id': '38eed1f0452540dc9e3de112ba949d9c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22378420', 'ctest-vn-84454090'], 'port_security_enabled': True, 'description': ''}} 2026-08-17 15:44:09,095 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd0f3ae48-963c-4638-8a75-030094bc558e', 'name': '', 'tenant_id': '38eed1f0452540dc9e3de112ba949d9c', 'network_id': '92f5b4d9-65dc-43db-9ca7-67e710e2a9dc', 'ip_version': 4, 'cidr': '8.175.59.128/26', 'allocation_pools': [{'start': '8.175.59.130', 'end': '8.175.59.190'}], 'gateway_ip': '8.175.59.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.175.59.130', 'tags': [], 'project_id': '38eed1f0452540dc9e3de112ba949d9c'}} 2026-08-17 15:44:09,110 - INFO - Created VN ctest-vn-84454090 2026-08-17 15:44:09,163 - DEBUG - VN ctest-vn-84454090 UUID is 92f5b4d9-65dc-43db-9ca7-67e710e2a9dc 2026-08-17 15:44:09,523 - DEBUG - Response for create_network : {'network': {'id': '3a856ec0-38c5-4c27-adb1-731a405649ed', 'name': 'ctest-vn-26502038', 'tenant_id': '38eed1f0452540dc9e3de112ba949d9c', 'project_id': '38eed1f0452540dc9e3de112ba949d9c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22378420', 'ctest-vn-26502038'], 'port_security_enabled': True, 'description': ''}} 2026-08-17 15:44:09,768 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b027e1dc-66dc-44e6-8d42-341b485b68fa', 'name': '', 'tenant_id': '38eed1f0452540dc9e3de112ba949d9c', 'network_id': '3a856ec0-38c5-4c27-adb1-731a405649ed', 'ip_version': 4, 'cidr': '12.212.6.0/26', 'allocation_pools': [{'start': '12.212.6.2', 'end': '12.212.6.62'}], 'gateway_ip': '12.212.6.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '12.212.6.2', 'tags': [], 'project_id': '38eed1f0452540dc9e3de112ba949d9c'}} 2026-08-17 15:44:09,786 - INFO - Created VN ctest-vn-26502038 2026-08-17 15:44:09,838 - DEBUG - VN ctest-vn-26502038 UUID is 3a856ec0-38c5-4c27-adb1-731a405649ed 2026-08-17 15:44:09,990 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-22378420:ctest-vn-84454090, 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-22378420:ctest-vn-26502038, 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-17 15:44:10,311 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '92f5b4d9-65dc-43db-9ca7-67e710e2a9dc', 'name': 'ctest-vn-84454090', 'tenant_id': '38eed1f0452540dc9e3de112ba949d9c', 'project_id': '38eed1f0452540dc9e3de112ba949d9c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d0f3ae48-963c-4638-8a75-030094bc558e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22378420', 'ctest-vn-84454090'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-22378420', 'ctest-policy-allow-all-69364087']], 'subnet_ipam': [{'subnet_cidr': '8.175.59.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-17 15:44:10,557 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3a856ec0-38c5-4c27-adb1-731a405649ed', 'name': 'ctest-vn-26502038', 'tenant_id': '38eed1f0452540dc9e3de112ba949d9c', 'project_id': '38eed1f0452540dc9e3de112ba949d9c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b027e1dc-66dc-44e6-8d42-341b485b68fa'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22378420', 'ctest-vn-26502038'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-22378420', 'ctest-policy-allow-all-69364087']], 'subnet_ipam': [{'subnet_cidr': '12.212.6.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-17 15:44:10,730 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-17 15:44:11,092 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-17 15:44:11,120 - DEBUG - Requesting: http://10.0.0.177:8082/domain/46c0095c-2264-4754-b399-bc719d178f53 2026-08-17 15:44:11,134 - DEBUG - Requesting: http://10.0.0.177:8082/project/38eed1f0-4525-40dc-9e3d-e112ba949d9c 2026-08-17 15:44:11,211 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/92f5b4d9-65dc-43db-9ca7-67e710e2a9dc 2026-08-17 15:44:11,223 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/92f5b4d9-65dc-43db-9ca7-67e710e2a9dc 2026-08-17 15:44:11,233 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/a2e42efc-96d7-43de-93ba-4b3da63b2f4e 2026-08-17 15:44:11,241 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/a2e42efc-96d7-43de-93ba-4b3da63b2f4e 2026-08-17 15:44:11,248 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/8bbbe85e-0fd9-46cf-9f2f-c2b5a7b32f3d 2026-08-17 15:44:11,255 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-17 15:44:11,255 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/92f5b4d9-65dc-43db-9ca7-67e710e2a9dc 2026-08-17 15:44:11,264 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/a2e42efc-96d7-43de-93ba-4b3da63b2f4e 2026-08-17 15:44:11,279 - INFO - Verified VN network id 11 for VN 92f5b4d9-65dc-43db-9ca7-67e710e2a9dc 2026-08-17 15:44:11,279 - INFO - Verifications in API Server for VN ctest-vn-84454090 passed 2026-08-17 15:44:11,279 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/92f5b4d9-65dc-43db-9ca7-67e710e2a9dc 2026-08-17 15:44:11,289 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/a2e42efc-96d7-43de-93ba-4b3da63b2f4e 2026-08-17 15:44:11,297 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/a2e42efc-96d7-43de-93ba-4b3da63b2f4e 2026-08-17 15:44:11,304 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/8bbbe85e-0fd9-46cf-9f2f-c2b5a7b32f3d 2026-08-17 15:44:11,316 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-22378420:ctest-vn-84454090', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-22378420', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10589568944641426395', 'uuid-lslong': '11288105233145833948'}, 'enable': 'true', 'created': '2026-08-17T15:44:08', 'last-modified': '2026-08-17T15:44:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.039452'} 2026-08-17 15:44:11,324 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-17 15:44:11,324 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-84454090 passed 2026-08-17 15:44:11,324 - DEBUG - ====Verifying policy data for ctest-vn-84454090 in API_Server ====== 2026-08-17 15:44:11,324 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-17 15:44:11,330 - DEBUG - Requesting: http://10.0.0.177:8082/domain/46c0095c-2264-4754-b399-bc719d178f53 2026-08-17 15:44:11,341 - DEBUG - Requesting: http://10.0.0.177:8082/project/38eed1f0-4525-40dc-9e3d-e112ba949d9c 2026-08-17 15:44:11,420 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/92f5b4d9-65dc-43db-9ca7-67e710e2a9dc 2026-08-17 15:44:11,430 - DEBUG - ==>Verifying data for policy with id: 7e57f066-bcb3-4e65-b628-87fc87839971, fqn: ['default-domain', 'ctest-TestBasicPolicy-22378420', 'ctest-policy-allow-all-69364087'] 2026-08-17 15:44:11,431 - INFO - VN ctest-vn-84454090 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-17 15:44:11,431 - DEBUG - Verifying the vn in opserver 2026-08-17 15:44:11,431 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-22378420:ctest-vn-84454090 virtual network link through opserver 10.0.0.177 2026-08-17 15:44:11,431 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-08-17 15:44:11,801 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-08-17 15:44:11,858 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-22378420:ctest-vn-84454090', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-22378420:ctest-vn-84454090?flat'} 2026-08-17 15:44:11,858 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-22378420:ctest-vn-84454090 is found in opserver 2026-08-17 15:44:11,871 - DEBUG - Do not have enough data to verify VN in agent 2026-08-17 15:44:11,875 - DEBUG - VRF ids for VN ctest-vn-84454090: {} 2026-08-17 15:44:11,875 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-17 15:44:11,881 - DEBUG - Requesting: http://10.0.0.177:8082/domain/46c0095c-2264-4754-b399-bc719d178f53 2026-08-17 15:44:11,893 - DEBUG - Requesting: http://10.0.0.177:8082/project/38eed1f0-4525-40dc-9e3d-e112ba949d9c 2026-08-17 15:44:11,974 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/3a856ec0-38c5-4c27-adb1-731a405649ed 2026-08-17 15:44:11,991 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/3a856ec0-38c5-4c27-adb1-731a405649ed 2026-08-17 15:44:12,002 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/17e5250b-100b-439b-87c5-e552bcea65a1 2026-08-17 15:44:12,010 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/17e5250b-100b-439b-87c5-e552bcea65a1 2026-08-17 15:44:12,018 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/cd453949-f8e1-42d6-8df6-c9e5be334ac7 2026-08-17 15:44:12,027 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-17 15:44:12,027 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/3a856ec0-38c5-4c27-adb1-731a405649ed 2026-08-17 15:44:12,036 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/17e5250b-100b-439b-87c5-e552bcea65a1 2026-08-17 15:44:12,056 - INFO - Verified VN network id 12 for VN 3a856ec0-38c5-4c27-adb1-731a405649ed 2026-08-17 15:44:12,057 - INFO - Verifications in API Server for VN ctest-vn-26502038 passed 2026-08-17 15:44:12,057 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/3a856ec0-38c5-4c27-adb1-731a405649ed 2026-08-17 15:44:12,069 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/17e5250b-100b-439b-87c5-e552bcea65a1 2026-08-17 15:44:12,077 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/17e5250b-100b-439b-87c5-e552bcea65a1 2026-08-17 15:44:12,085 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/cd453949-f8e1-42d6-8df6-c9e5be334ac7 2026-08-17 15:44:12,098 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-22378420:ctest-vn-26502038', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-22378420', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4216898397967567911', 'uuid-lslong': '12515911396025059821'}, 'enable': 'true', 'created': '2026-08-17T15:44:09', 'last-modified': '2026-08-17T15:44:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.566257'} 2026-08-17 15:44:12,106 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-17 15:44:12,106 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-26502038 passed 2026-08-17 15:44:12,106 - DEBUG - ====Verifying policy data for ctest-vn-26502038 in API_Server ====== 2026-08-17 15:44:12,106 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-17 15:44:12,112 - DEBUG - Requesting: http://10.0.0.177:8082/domain/46c0095c-2264-4754-b399-bc719d178f53 2026-08-17 15:44:12,123 - DEBUG - Requesting: http://10.0.0.177:8082/project/38eed1f0-4525-40dc-9e3d-e112ba949d9c 2026-08-17 15:44:12,206 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/3a856ec0-38c5-4c27-adb1-731a405649ed 2026-08-17 15:44:12,217 - DEBUG - ==>Verifying data for policy with id: 7e57f066-bcb3-4e65-b628-87fc87839971, fqn: ['default-domain', 'ctest-TestBasicPolicy-22378420', 'ctest-policy-allow-all-69364087'] 2026-08-17 15:44:12,217 - INFO - VN ctest-vn-26502038 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-17 15:44:12,217 - DEBUG - Verifying the vn in opserver 2026-08-17 15:44:12,217 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-22378420:ctest-vn-26502038 virtual network link through opserver 10.0.0.177 2026-08-17 15:44:12,217 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-08-17 15:44:12,229 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-22378420:ctest-vn-26502038', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-22378420:ctest-vn-26502038?flat'} 2026-08-17 15:44:12,229 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-22378420:ctest-vn-26502038 is found in opserver 2026-08-17 15:44:12,241 - DEBUG - Do not have enough data to verify VN in agent 2026-08-17 15:44:12,246 - DEBUG - VRF ids for VN ctest-vn-26502038: {} 2026-08-17 15:44:12,310 - DEBUG - Services list from nova: [, , ] 2026-08-17 15:44:12,763 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6176-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6176-1) 2026-08-17 15:44:13,160 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6176-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6176-1) 2026-08-17 15:44:13,161 - INFO - Waiting for VM ctest-TestBasicPolicy-22378420-35501870 to be up.. 2026-08-17 15:44:13,201 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 15:44:18,285 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 15:44:23,368 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 15:44:28,454 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 15:44:33,534 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 15:44:38,615 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 15:44:43,694 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 15:44:48,778 - DEBUG - VM is in ACTIVE state now 2026-08-17 15:44:48,778 - INFO - VM name : ctest-TestBasicPolicy-22378420-35501870 2026-08-17 15:44:48,866 - DEBUG - VM ctest-TestBasicPolicy-22378420-35501870 ID is 601ec83e-1cec-405c-9889-34a833a8fe96 2026-08-17 15:44:48,889 - DEBUG - VM ctest-TestBasicPolicy-22378420-35501870 launched on Node cn-jenkins-deploy-platform-ansible-os-6176-1 2026-08-17 15:44:48,966 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/601ec83e-1cec-405c-9889-34a833a8fe96 2026-08-17 15:44:48,976 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/8405080b-aa1d-4b02-aecb-2494a90b4609 2026-08-17 15:44:52,224 - 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 1014ms') 2026-08-17 15:44:52,224 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-22378420-35501870 failed! 2026-08-17 15:44:52,282 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-22378420:ctest-vn-84454090 is 8.175.59.129 and allocation pool is NOT set 2026-08-17 15:44:56,355 - 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 1012ms') 2026-08-17 15:44:56,355 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-22378420-35501870 failed! 2026-08-17 15:44:56,410 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-22378420:ctest-vn-84454090 is 8.175.59.129 and allocation pool is NOT set 2026-08-17 15:44:58,472 - 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=3.64 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.553 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 = 0.553/2.095/3.637/1.542 ms') 2026-08-17 15:44:58,472 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-22378420-35501870 passed 2026-08-17 15:44:58,626 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 15:44:58,626 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-22378420-35501870, IP 8.175.59.131, Port 22 2026-08-17 15:44:58,793 - DEBUG - VM ctest-TestBasicPolicy-22378420-35501870 is ready for SSH connections 2026-08-17 15:44:58,793 - INFO - Waiting for VM ctest-TestBasicPolicy-22378420-48637619 to be up.. 2026-08-17 15:44:58,892 - DEBUG - VM is in ACTIVE state now 2026-08-17 15:44:58,892 - INFO - VM name : ctest-TestBasicPolicy-22378420-48637619 2026-08-17 15:44:58,970 - DEBUG - VM ctest-TestBasicPolicy-22378420-48637619 ID is 1975a82b-59a0-44a8-aa19-2dd0f688aef6 2026-08-17 15:44:58,971 - DEBUG - VM ctest-TestBasicPolicy-22378420-48637619 launched on Node cn-jenkins-deploy-platform-ansible-os-6176-1 2026-08-17 15:44:59,056 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/1975a82b-59a0-44a8-aa19-2dd0f688aef6 2026-08-17 15:44:59,065 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/03102706-d2bf-4b74-956f-9dc1d1107b98 2026-08-17 15:45:00,318 - 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.21 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.48 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 = 1.477/2.845/4.213/1.368 ms') 2026-08-17 15:45:00,318 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-22378420-48637619 passed 2026-08-17 15:45:00,466 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 15:45:00,467 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-22378420-48637619, IP 12.212.6.3, Port 22 2026-08-17 15:45:00,533 - 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-17 15:45:00,608 - DEBUG - VM ctest-TestBasicPolicy-22378420-48637619 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-17 15:45:05,610 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 15:45:05,610 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-22378420-48637619, IP 12.212.6.3, Port 22 2026-08-17 15:45:05,777 - DEBUG - VM ctest-TestBasicPolicy-22378420-48637619 is ready for SSH connections 2026-08-17 15:45:05,777 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 15:45:05,777 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 12.212.6.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123 2026-08-17 15:45:05,777 - DEBUG - ping -s 56 -c 3 -W 1 12.212.6.3 2026-08-17 15:45:10,056 - DEBUG - PING 12.212.6.3 (12.212.6.3): 56 data bytes 64 bytes from 12.212.6.3: seq=0 ttl=63 time=4.948 ms 64 bytes from 12.212.6.3: seq=1 ttl=63 time=1.185 ms 64 bytes from 12.212.6.3: seq=2 ttl=63 time=1.103 ms --- 12.212.6.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.103/2.412/4.948 ms 2026-08-17 15:45:10,056 - INFO - Ping to IP 12.212.6.3 from VM ctest-TestBasicPolicy-22378420-35501870 passed 2026-08-17 15:45:10,238 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7e57f066-bcb3-4e65-b628-87fc87839971", "href": "http://10.0.0.177:8082/network-policy/7e57f066-bcb3-4e65-b628-87fc87839971"}} 2026-08-17 15:45:10,238 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 15:45:10,238 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 12.212.6.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123 2026-08-17 15:45:10,238 - DEBUG - ping -s 56 -c 3 -W 1 12.212.6.3 2026-08-17 15:45:13,560 - DEBUG - PING 12.212.6.3 (12.212.6.3): 56 data bytes 64 bytes from 12.212.6.3: seq=0 ttl=63 time=3.848 ms --- 12.212.6.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 3.848/3.848/3.848 ms 2026-08-17 15:45:13,561 - WARNING - Ping to IP 12.212.6.3 from VM ctest-TestBasicPolicy-22378420-35501870 failed 2026-08-17 15:45:13,561 - INFO - Deleting VM ctest-TestBasicPolicy-22378420-48637619 2026-08-17 15:45:13,637 - INFO - Deleting VM ctest-TestBasicPolicy-22378420-35501870 2026-08-17 15:45:14,016 - INFO - Deleted policy ctest-policy-allow-all-69364087 2026-08-17 15:45:14,016 - INFO - Deleting VN ctest-vn-26502038 2026-08-17 15:45:14,057 - DEBUG - VN 3a856ec0-38c5-4c27-adb1-731a405649ed still in use: Unable to complete operation on network 3a856ec0-38c5-4c27-adb1-731a405649ed. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4bce10ef-8dc5-4ab4-a5bb-a6a760f64ec5'] 2026-08-17 15:45:14,057 - WARNING - Deleting VN ctest-vn-26502038 failed..Will retry 2026-08-17 15:45:16,164 - DEBUG - Response for deleting network () 2026-08-17 15:45:16,164 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/17e5250b-100b-439b-87c5-e552bcea65a1 2026-08-17 15:45:16,170 - DEBUG - Response Code: 404 2026-08-17 15:45:16,171 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-17 15:45:16,180 - DEBUG - Requesting: http://10.0.0.177:8082/domain/46c0095c-2264-4754-b399-bc719d178f53 2026-08-17 15:45:16,237 - DEBUG - Requesting: http://10.0.0.177:8082/project/38eed1f0-4525-40dc-9e3d-e112ba949d9c 2026-08-17 15:45:16,313 - INFO - Validated that VN ctest-vn-26502038 is not found in API Server 2026-08-17 15:45:16,325 - DEBUG - VN ctest-vn-26502038 is not present in Agent 10.0.0.177 2026-08-17 15:45:16,325 - INFO - Validated that VN ctest-vn-26502038 is not in any agent 2026-08-17 15:45:16,340 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-26502038 info 2026-08-17 15:45:16,340 - INFO - Deleting VN ctest-vn-84454090 2026-08-17 15:45:16,446 - DEBUG - Response for deleting network () 2026-08-17 15:45:16,446 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/a2e42efc-96d7-43de-93ba-4b3da63b2f4e 2026-08-17 15:45:16,459 - DEBUG - Response Code: 404 2026-08-17 15:45:16,460 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-17 15:45:16,465 - DEBUG - Requesting: http://10.0.0.177:8082/domain/46c0095c-2264-4754-b399-bc719d178f53 2026-08-17 15:45:16,521 - DEBUG - Requesting: http://10.0.0.177:8082/project/38eed1f0-4525-40dc-9e3d-e112ba949d9c 2026-08-17 15:45:16,596 - INFO - Validated that VN ctest-vn-84454090 is not found in API Server 2026-08-17 15:45:16,606 - DEBUG - VN ctest-vn-84454090 is not present in Agent 10.0.0.177 2026-08-17 15:45:16,606 - INFO - Validated that VN ctest-vn-84454090 is not in any agent 2026-08-17 15:45:16,620 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-84454090 info 2026-08-17 15:45:16,894 - DEBUG - No XMPP flaps were noticed during the test
2026-08-17 15:45:16,894 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:09]
2026-08-17 15:45:16,895 - INFO - -------------------------------------------------------------------------------- 2026-08-17 15:45:17,677 - INFO - Deleted project: ctest-TestBasicPolicy-22378420, ID : 38eed1f0-4525-40dc-9e3d-e112ba949d9c