2026-10-22 22:11:07,375 - INFO - Domain Default found not creating 2026-10-22 22:11:07,717 - INFO - Project ctest-TestBasicPolicy-43295675 not found, creating it 2026-10-22 22:11:08,356 - INFO - Created Project:ctest-TestBasicPolicy-43295675, ID : 62f684f1-3545-49d4-b98e-723faed5577a 2026-10-22 22:11:10,638 - INFO - ================================================================================ 2026-10-22 22:11:10,638 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-10-22 22:11:10,638 - 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-10-22 22:11:10,931 - DEBUG - Nothing to compare xmpp stats {'10.0.0.191': {'10.20.0.254': '0'}} with 2026-10-22 22:11:10,931 - INFO - Initial checks done. Running the testcase now 2026-10-22 22:11:10,931 - INFO - 2026-10-22 22:11:12,523 - DEBUG - Response for create_network : {'network': {'id': '17167f02-fcef-4a0e-ab79-9d7783be1212', 'name': 'ctest-vn-38842225', 'tenant_id': '62f684f1354549d4b98e723faed5577a', 'project_id': '62f684f1354549d4b98e723faed5577a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43295675', 'ctest-vn-38842225'], 'port_security_enabled': True, 'description': ''}} 2026-10-22 22:11:12,769 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e47cef0c-03e5-4533-8621-b9b48fbe28ed', 'name': '', 'tenant_id': '62f684f1354549d4b98e723faed5577a', 'network_id': '17167f02-fcef-4a0e-ab79-9d7783be1212', 'ip_version': 4, 'cidr': '12.77.79.192/26', 'allocation_pools': [{'start': '12.77.79.194', 'end': '12.77.79.254'}], 'gateway_ip': '12.77.79.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '12.77.79.194', 'tags': [], 'project_id': '62f684f1354549d4b98e723faed5577a'}} 2026-10-22 22:11:12,801 - INFO - Created VN ctest-vn-38842225 2026-10-22 22:11:12,864 - DEBUG - VN ctest-vn-38842225 UUID is 17167f02-fcef-4a0e-ab79-9d7783be1212 2026-10-22 22:11:13,288 - DEBUG - Response for create_network : {'network': {'id': 'e5f70397-a8c8-4d08-99be-eb6ea3d8a4d8', 'name': 'ctest-vn-38966095', 'tenant_id': '62f684f1354549d4b98e723faed5577a', 'project_id': '62f684f1354549d4b98e723faed5577a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43295675', 'ctest-vn-38966095'], 'port_security_enabled': True, 'description': ''}} 2026-10-22 22:11:13,536 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a211b784-3897-4df6-925c-e366a4d9cd14', 'name': '', 'tenant_id': '62f684f1354549d4b98e723faed5577a', 'network_id': 'e5f70397-a8c8-4d08-99be-eb6ea3d8a4d8', 'ip_version': 4, 'cidr': '214.215.177.128/26', 'allocation_pools': [{'start': '214.215.177.130', 'end': '214.215.177.190'}], 'gateway_ip': '214.215.177.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '214.215.177.130', 'tags': [], 'project_id': '62f684f1354549d4b98e723faed5577a'}} 2026-10-22 22:11:13,564 - INFO - Created VN ctest-vn-38966095 2026-10-22 22:11:13,628 - DEBUG - VN ctest-vn-38966095 UUID is e5f70397-a8c8-4d08-99be-eb6ea3d8a4d8 2026-10-22 22:11:13,778 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-43295675:ctest-vn-38842225, 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-43295675:ctest-vn-38966095, 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-10-22 22:11:14,152 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '17167f02-fcef-4a0e-ab79-9d7783be1212', 'name': 'ctest-vn-38842225', 'tenant_id': '62f684f1354549d4b98e723faed5577a', 'project_id': '62f684f1354549d4b98e723faed5577a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['e47cef0c-03e5-4533-8621-b9b48fbe28ed'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43295675', 'ctest-vn-38842225'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43295675', 'ctest-policy-allow-all-92468503']], 'subnet_ipam': [{'subnet_cidr': '12.77.79.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-22 22:11:14,401 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e5f70397-a8c8-4d08-99be-eb6ea3d8a4d8', 'name': 'ctest-vn-38966095', 'tenant_id': '62f684f1354549d4b98e723faed5577a', 'project_id': '62f684f1354549d4b98e723faed5577a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['a211b784-3897-4df6-925c-e366a4d9cd14'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43295675', 'ctest-vn-38966095'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43295675', 'ctest-policy-allow-all-92468503']], 'subnet_ipam': [{'subnet_cidr': '214.215.177.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-22 22:11:14,591 - DEBUG - Requesting: http://10.0.0.191:8082/domains 2026-10-22 22:11:15,011 - DEBUG - Requesting: http://10.0.0.191:8082/domains 2026-10-22 22:11:15,069 - DEBUG - Requesting: http://10.0.0.191:8082/domain/e4518450-1ee7-483a-9faa-f2e7b0e80855 2026-10-22 22:11:15,093 - DEBUG - Requesting: http://10.0.0.191:8082/project/62f684f1-3545-49d4-b98e-723faed5577a 2026-10-22 22:11:15,185 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-network/17167f02-fcef-4a0e-ab79-9d7783be1212 2026-10-22 22:11:15,202 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-network/17167f02-fcef-4a0e-ab79-9d7783be1212 2026-10-22 22:11:15,214 - DEBUG - Requesting: http://10.0.0.191:8082/routing-instance/c026821d-cd25-4175-8981-94090c90affe 2026-10-22 22:11:15,224 - DEBUG - Requesting: http://10.0.0.191:8082/routing-instance/c026821d-cd25-4175-8981-94090c90affe 2026-10-22 22:11:15,234 - DEBUG - Requesting: http://10.0.0.191:8082/route-target/d495a3ee-7096-430c-979a-7725755b9163 2026-10-22 22:11:15,244 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-22 22:11:15,244 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-network/17167f02-fcef-4a0e-ab79-9d7783be1212 2026-10-22 22:11:15,259 - DEBUG - Requesting: http://10.0.0.191:8082/routing-instance/c026821d-cd25-4175-8981-94090c90affe 2026-10-22 22:11:15,283 - INFO - Verified VN network id 11 for VN 17167f02-fcef-4a0e-ab79-9d7783be1212 2026-10-22 22:11:15,284 - INFO - Verifications in API Server for VN ctest-vn-38842225 passed 2026-10-22 22:11:15,284 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-network/17167f02-fcef-4a0e-ab79-9d7783be1212 2026-10-22 22:11:15,299 - DEBUG - Requesting: http://10.0.0.191:8082/routing-instance/c026821d-cd25-4175-8981-94090c90affe 2026-10-22 22:11:15,310 - DEBUG - Requesting: http://10.0.0.191:8082/routing-instance/c026821d-cd25-4175-8981-94090c90affe 2026-10-22 22:11:15,322 - DEBUG - Requesting: http://10.0.0.191:8082/route-target/d495a3ee-7096-430c-979a-7725755b9163 2026-10-22 22:11:15,346 - DEBUG - Control-node 10.0.0.191 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43295675:ctest-vn-38842225', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43295675', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1663656763170179598', 'uuid-lslong': '12356080189304607250'}, 'enable': 'true', 'created': '2026-10-22T22:11:12', 'last-modified': '2026-10-22T22:11:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.237907'} 2026-10-22 22:11:15,358 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-22 22:11:15,359 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38842225 passed 2026-10-22 22:11:15,359 - DEBUG - ====Verifying policy data for ctest-vn-38842225 in API_Server ====== 2026-10-22 22:11:15,359 - DEBUG - Requesting: http://10.0.0.191:8082/domains 2026-10-22 22:11:15,369 - DEBUG - Requesting: http://10.0.0.191:8082/domain/e4518450-1ee7-483a-9faa-f2e7b0e80855 2026-10-22 22:11:15,387 - DEBUG - Requesting: http://10.0.0.191:8082/project/62f684f1-3545-49d4-b98e-723faed5577a 2026-10-22 22:11:15,481 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-network/17167f02-fcef-4a0e-ab79-9d7783be1212 2026-10-22 22:11:15,497 - DEBUG - ==>Verifying data for policy with id: 93fd11f8-9327-4eee-95d4-1ae9bc2f03f3, fqn: ['default-domain', 'ctest-TestBasicPolicy-43295675', 'ctest-policy-allow-all-92468503'] 2026-10-22 22:11:15,497 - INFO - VN ctest-vn-38842225 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-22 22:11:15,498 - DEBUG - Verifying the vn in opserver 2026-10-22 22:11:15,498 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43295675:ctest-vn-38842225 virtual network link through opserver 10.0.0.191 2026-10-22 22:11:15,498 - DEBUG - Requesting: http://10.0.0.191:8081/analytics/uves/virtual-networks 2026-10-22 22:11:15,909 - DEBUG - Requesting: http://10.0.0.191:8081/analytics/uves/virtual-networks 2026-10-22 22:11:15,992 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43295675:ctest-vn-38842225', 'href': 'http://10.0.0.191:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43295675:ctest-vn-38842225?flat'} 2026-10-22 22:11:15,992 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43295675:ctest-vn-38842225 is found in opserver 2026-10-22 22:11:16,008 - DEBUG - Do not have enough data to verify VN in agent 2026-10-22 22:11:16,018 - DEBUG - VRF ids for VN ctest-vn-38842225: {} 2026-10-22 22:11:16,018 - DEBUG - Requesting: http://10.0.0.191:8082/domains 2026-10-22 22:11:16,028 - DEBUG - Requesting: http://10.0.0.191:8082/domain/e4518450-1ee7-483a-9faa-f2e7b0e80855 2026-10-22 22:11:16,047 - DEBUG - Requesting: http://10.0.0.191:8082/project/62f684f1-3545-49d4-b98e-723faed5577a 2026-10-22 22:11:16,145 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-network/e5f70397-a8c8-4d08-99be-eb6ea3d8a4d8 2026-10-22 22:11:16,170 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-network/e5f70397-a8c8-4d08-99be-eb6ea3d8a4d8 2026-10-22 22:11:16,192 - DEBUG - Requesting: http://10.0.0.191:8082/routing-instance/cfa09ab6-1eff-4674-ae5e-896924e4e7f5 2026-10-22 22:11:16,206 - DEBUG - Requesting: http://10.0.0.191:8082/routing-instance/cfa09ab6-1eff-4674-ae5e-896924e4e7f5 2026-10-22 22:11:16,219 - DEBUG - Requesting: http://10.0.0.191:8082/route-target/53fae910-4b72-4b0d-ae2e-017dcb1b6f2e 2026-10-22 22:11:16,230 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-22 22:11:16,231 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-network/e5f70397-a8c8-4d08-99be-eb6ea3d8a4d8 2026-10-22 22:11:16,246 - DEBUG - Requesting: http://10.0.0.191:8082/routing-instance/cfa09ab6-1eff-4674-ae5e-896924e4e7f5 2026-10-22 22:11:16,273 - INFO - Verified VN network id 12 for VN e5f70397-a8c8-4d08-99be-eb6ea3d8a4d8 2026-10-22 22:11:16,273 - INFO - Verifications in API Server for VN ctest-vn-38966095 passed 2026-10-22 22:11:16,273 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-network/e5f70397-a8c8-4d08-99be-eb6ea3d8a4d8 2026-10-22 22:11:16,295 - DEBUG - Requesting: http://10.0.0.191:8082/routing-instance/cfa09ab6-1eff-4674-ae5e-896924e4e7f5 2026-10-22 22:11:16,308 - DEBUG - Requesting: http://10.0.0.191:8082/routing-instance/cfa09ab6-1eff-4674-ae5e-896924e4e7f5 2026-10-22 22:11:16,321 - DEBUG - Requesting: http://10.0.0.191:8082/route-target/53fae910-4b72-4b0d-ae2e-017dcb1b6f2e 2026-10-22 22:11:16,344 - DEBUG - Control-node 10.0.0.191 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43295675:ctest-vn-38966095', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43295675', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16570717303839673608', 'uuid-lslong': '11078550993805812952'}, 'enable': 'true', 'created': '2026-10-22T22:11:13', 'last-modified': '2026-10-22T22:11:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.968292'} 2026-10-22 22:11:16,355 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-22 22:11:16,356 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38966095 passed 2026-10-22 22:11:16,356 - DEBUG - ====Verifying policy data for ctest-vn-38966095 in API_Server ====== 2026-10-22 22:11:16,356 - DEBUG - Requesting: http://10.0.0.191:8082/domains 2026-10-22 22:11:16,366 - DEBUG - Requesting: http://10.0.0.191:8082/domain/e4518450-1ee7-483a-9faa-f2e7b0e80855 2026-10-22 22:11:16,384 - DEBUG - Requesting: http://10.0.0.191:8082/project/62f684f1-3545-49d4-b98e-723faed5577a 2026-10-22 22:11:16,478 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-network/e5f70397-a8c8-4d08-99be-eb6ea3d8a4d8 2026-10-22 22:11:16,495 - DEBUG - ==>Verifying data for policy with id: 93fd11f8-9327-4eee-95d4-1ae9bc2f03f3, fqn: ['default-domain', 'ctest-TestBasicPolicy-43295675', 'ctest-policy-allow-all-92468503'] 2026-10-22 22:11:16,495 - INFO - VN ctest-vn-38966095 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-22 22:11:16,495 - DEBUG - Verifying the vn in opserver 2026-10-22 22:11:16,495 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43295675:ctest-vn-38966095 virtual network link through opserver 10.0.0.191 2026-10-22 22:11:16,495 - DEBUG - Requesting: http://10.0.0.191:8081/analytics/uves/virtual-networks 2026-10-22 22:11:16,513 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43295675:ctest-vn-38966095', 'href': 'http://10.0.0.191:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43295675:ctest-vn-38966095?flat'} 2026-10-22 22:11:16,513 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43295675:ctest-vn-38966095 is found in opserver 2026-10-22 22:11:16,530 - DEBUG - Do not have enough data to verify VN in agent 2026-10-22 22:11:16,537 - DEBUG - VRF ids for VN ctest-vn-38966095: {} 2026-10-22 22:11:16,642 - DEBUG - Services list from nova: [, , ] 2026-10-22 22:11:17,227 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6390-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6390-1) 2026-10-22 22:11:17,943 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6390-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6390-1) 2026-10-22 22:11:17,943 - INFO - Waiting for VM ctest-TestBasicPolicy-43295675-21008836 to be up.. 2026-10-22 22:11:18,064 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-22 22:11:23,218 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-22 22:11:28,357 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-22 22:11:33,506 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-22 22:11:38,624 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-22 22:11:43,760 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-22 22:11:48,888 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-22 22:11:54,024 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-22 22:11:59,158 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-22 22:12:04,295 - DEBUG - VM is in ACTIVE state now 2026-10-22 22:12:04,295 - INFO - VM name : ctest-TestBasicPolicy-43295675-21008836 2026-10-22 22:12:04,433 - DEBUG - VM ctest-TestBasicPolicy-43295675-21008836 ID is 2879f1db-db56-4e1b-b915-96a58b129a2a 2026-10-22 22:12:04,473 - DEBUG - VM ctest-TestBasicPolicy-43295675-21008836 launched on Node cn-jenkins-deploy-platform-ansible-os-6390-1 2026-10-22 22:12:04,607 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-machine/2879f1db-db56-4e1b-b915-96a58b129a2a 2026-10-22 22:12:04,621 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-machine-interface/559aff3b-22a3-43ab-9b70-ff326258ea5a 2026-10-22 22:12:07,924 - 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 1007ms') 2026-10-22 22:12:07,924 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-43295675-21008836 failed! 2026-10-22 22:12:07,999 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-43295675:ctest-vn-38842225 is 12.77.79.193 and allocation pool is NOT set 2026-10-22 22:12:10,083 - 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=7.41 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.89 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 = 3.889/5.650/7.411/1.761 ms') 2026-10-22 22:12:10,083 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-43295675-21008836 passed 2026-10-22 22:12:10,264 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-22 22:12:10,264 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43295675-21008836, IP 12.77.79.195, Port 22 2026-10-22 22:12:10,345 - 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-10-22 22:12:10,486 - DEBUG - VM ctest-TestBasicPolicy-43295675-21008836 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-22 22:12:15,487 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-22 22:12:15,488 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43295675-21008836, IP 12.77.79.195, Port 22 2026-10-22 22:12:15,670 - DEBUG - VM ctest-TestBasicPolicy-43295675-21008836 is ready for SSH connections 2026-10-22 22:12:15,671 - INFO - Waiting for VM ctest-TestBasicPolicy-43295675-70425634 to be up.. 2026-10-22 22:12:15,823 - DEBUG - VM is in ACTIVE state now 2026-10-22 22:12:15,823 - INFO - VM name : ctest-TestBasicPolicy-43295675-70425634 2026-10-22 22:12:15,960 - DEBUG - VM ctest-TestBasicPolicy-43295675-70425634 ID is 62ca853b-7d2a-4bac-b65a-22535a9b9d0e 2026-10-22 22:12:15,960 - DEBUG - VM ctest-TestBasicPolicy-43295675-70425634 launched on Node cn-jenkins-deploy-platform-ansible-os-6390-1 2026-10-22 22:12:16,102 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-machine/62ca853b-7d2a-4bac-b65a-22535a9b9d0e 2026-10-22 22:12:16,120 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-machine-interface/af2bb90c-1a3f-433d-ace1-365ff4f6d14f 2026-10-22 22:12:19,420 - 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=2 ttl=63 time=5.08 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1006ms\r\nrtt min/avg/max/mdev = 5.082/5.082/5.082/0.000 ms') 2026-10-22 22:12:19,421 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-43295675-70425634 passed 2026-10-22 22:12:19,632 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-22 22:12:19,632 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43295675-70425634, IP 214.215.177.131, Port 22 2026-10-22 22:12:19,707 - 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-10-22 22:12:19,831 - DEBUG - VM ctest-TestBasicPolicy-43295675-70425634 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-22 22:12:24,832 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-22 22:12:24,832 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43295675-70425634, IP 214.215.177.131, Port 22 2026-10-22 22:12:24,902 - 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-10-22 22:12:25,052 - DEBUG - VM ctest-TestBasicPolicy-43295675-70425634 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-22 22:12:30,053 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-22 22:12:30,053 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43295675-70425634, IP 214.215.177.131, Port 22 2026-10-22 22:12:30,235 - DEBUG - VM ctest-TestBasicPolicy-43295675-70425634 is ready for SSH connections 2026-10-22 22:12:30,235 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-22 22:12:30,235 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 214.215.177.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.191, gateway password: c0ntrail123 2026-10-22 22:12:30,236 - DEBUG - ping -s 56 -c 3 -W 1 214.215.177.131 2026-10-22 22:12:34,716 - DEBUG - PING 214.215.177.131 (214.215.177.131): 56 data bytes 64 bytes from 214.215.177.131: seq=0 ttl=63 time=5.951 ms 64 bytes from 214.215.177.131: seq=1 ttl=63 time=1.628 ms 64 bytes from 214.215.177.131: seq=2 ttl=63 time=1.555 ms --- 214.215.177.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.555/3.044/5.951 ms 2026-10-22 22:12:34,716 - INFO - Ping to IP 214.215.177.131 from VM ctest-TestBasicPolicy-43295675-21008836 passed 2026-10-22 22:12:34,943 - DEBUG - Policy Update Response {"network-policy": {"uuid": "93fd11f8-9327-4eee-95d4-1ae9bc2f03f3", "href": "http://10.0.0.191:8082/network-policy/93fd11f8-9327-4eee-95d4-1ae9bc2f03f3"}} 2026-10-22 22:12:34,944 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-22 22:12:34,944 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 214.215.177.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.191, gateway password: c0ntrail123 2026-10-22 22:12:34,944 - DEBUG - ping -s 56 -c 3 -W 1 214.215.177.131 2026-10-22 22:12:38,122 - DEBUG - PING 214.215.177.131 (214.215.177.131): 56 data bytes 64 bytes from 214.215.177.131: seq=0 ttl=63 time=2.564 ms --- 214.215.177.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.564/2.564/2.564 ms 2026-10-22 22:12:38,122 - WARNING - Ping to IP 214.215.177.131 from VM ctest-TestBasicPolicy-43295675-21008836 failed 2026-10-22 22:12:38,123 - INFO - Deleting VM ctest-TestBasicPolicy-43295675-70425634 2026-10-22 22:12:38,280 - INFO - Deleting VM ctest-TestBasicPolicy-43295675-21008836 2026-10-22 22:12:38,920 - INFO - Deleted policy ctest-policy-allow-all-92468503 2026-10-22 22:12:38,920 - INFO - Deleting VN ctest-vn-38966095 2026-10-22 22:12:39,001 - DEBUG - VN e5f70397-a8c8-4d08-99be-eb6ea3d8a4d8 still in use: Unable to complete operation on network e5f70397-a8c8-4d08-99be-eb6ea3d8a4d8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7ac14b89-eb28-4054-bd13-89b58d68051f'] 2026-10-22 22:12:39,002 - WARNING - Deleting VN ctest-vn-38966095 failed..Will retry 2026-10-22 22:12:41,073 - DEBUG - VN e5f70397-a8c8-4d08-99be-eb6ea3d8a4d8 still in use: Unable to complete operation on network e5f70397-a8c8-4d08-99be-eb6ea3d8a4d8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9ccfd144-fa41-425c-addc-dae31d5e1e6d'] 2026-10-22 22:12:41,074 - WARNING - Deleting VN ctest-vn-38966095 failed..Will retry 2026-10-22 22:12:43,293 - DEBUG - Response for deleting network () 2026-10-22 22:12:43,294 - DEBUG - Requesting: http://10.0.0.191:8082/routing-instance/cfa09ab6-1eff-4674-ae5e-896924e4e7f5 2026-10-22 22:12:43,307 - DEBUG - Response Code: 404 2026-10-22 22:12:43,307 - DEBUG - Requesting: http://10.0.0.191:8082/domains 2026-10-22 22:12:43,317 - DEBUG - Requesting: http://10.0.0.191:8082/domain/e4518450-1ee7-483a-9faa-f2e7b0e80855 2026-10-22 22:12:43,338 - DEBUG - Requesting: http://10.0.0.191:8082/project/62f684f1-3545-49d4-b98e-723faed5577a 2026-10-22 22:12:43,434 - INFO - Validated that VN ctest-vn-38966095 is not found in API Server 2026-10-22 22:12:43,458 - DEBUG - VN ctest-vn-38966095 is not present in Agent 10.0.0.191 2026-10-22 22:12:43,458 - INFO - Validated that VN ctest-vn-38966095 is not in any agent 2026-10-22 22:12:43,492 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-38966095 info 2026-10-22 22:12:43,492 - INFO - Deleting VN ctest-vn-38842225 2026-10-22 22:12:43,671 - DEBUG - Response for deleting network () 2026-10-22 22:12:43,671 - DEBUG - Requesting: http://10.0.0.191:8082/routing-instance/c026821d-cd25-4175-8981-94090c90affe 2026-10-22 22:12:43,684 - DEBUG - Response Code: 404 2026-10-22 22:12:43,684 - DEBUG - Requesting: http://10.0.0.191:8082/domains 2026-10-22 22:12:43,694 - DEBUG - Requesting: http://10.0.0.191:8082/domain/e4518450-1ee7-483a-9faa-f2e7b0e80855 2026-10-22 22:12:43,710 - DEBUG - Requesting: http://10.0.0.191:8082/project/62f684f1-3545-49d4-b98e-723faed5577a 2026-10-22 22:12:43,802 - INFO - Validated that VN ctest-vn-38842225 is not found in API Server 2026-10-22 22:12:43,821 - DEBUG - VN ctest-vn-38842225 is not present in Agent 10.0.0.191 2026-10-22 22:12:43,821 - INFO - Validated that VN ctest-vn-38842225 is not in any agent 2026-10-22 22:12:43,850 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-38842225 info 2026-10-22 22:12:44,144 - DEBUG - No XMPP flaps were noticed during the test 2026-10-22 22:12:44,145 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:34] 2026-10-22 22:12:44,145 - INFO - -------------------------------------------------------------------------------- 2026-10-22 22:12:45,087 - INFO - Deleted project: ctest-TestBasicPolicy-43295675, ID : 62f684f1-3545-49d4-b98e-723faed5577a