2026-04-29 02:22:43,855 - INFO - Domain Default found not creating 2026-04-29 02:22:44,093 - INFO - Project ctest-TestBasicPolicy-89687964 not found, creating it 2026-04-29 02:22:44,603 - INFO - Created Project:ctest-TestBasicPolicy-89687964, ID : 40da2d9c-3c61-4d76-94bd-cadf8bb7e7a2 2026-04-29 02:22:46,365 - INFO - ================================================================================ 2026-04-29 02:22:46,365 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-29 02:22:46,365 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2026-04-29 02:22:46,625 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-04-29 02:22:46,625 - INFO - Initial checks done. Running the testcase now 2026-04-29 02:22:46,626 - INFO - 2026-04-29 02:22:47,243 - DEBUG - Response for create_network : {'network': {'id': 'efcaf4c0-27b6-41be-a4d7-5d7a5d06004e', 'name': 'ctest-vn-76757521', 'tenant_id': '40da2d9c3c614d7694bdcadf8bb7e7a2', 'project_id': '40da2d9c3c614d7694bdcadf8bb7e7a2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89687964', 'ctest-vn-76757521'], 'port_security_enabled': True, 'description': ''}} 2026-04-29 02:22:47,463 - DEBUG - Response for create_subnet : {'subnet': {'id': '04cb9d42-0ac5-4eaf-bc7f-5f3a4b0cacca', 'name': '', 'tenant_id': '40da2d9c3c614d7694bdcadf8bb7e7a2', 'network_id': 'efcaf4c0-27b6-41be-a4d7-5d7a5d06004e', 'ip_version': 4, 'cidr': '173.10.189.0/26', 'allocation_pools': [{'start': '173.10.189.2', 'end': '173.10.189.62'}], 'gateway_ip': '173.10.189.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '173.10.189.2', 'tags': [], 'project_id': '40da2d9c3c614d7694bdcadf8bb7e7a2'}} 2026-04-29 02:22:47,484 - INFO - Created VN ctest-vn-76757521 2026-04-29 02:22:47,536 - DEBUG - VN ctest-vn-76757521 UUID is efcaf4c0-27b6-41be-a4d7-5d7a5d06004e 2026-04-29 02:22:47,851 - DEBUG - Response for create_network : {'network': {'id': 'e75d6ab9-384b-4c7c-8629-5f35c4d30001', 'name': 'ctest-vn-76886710', 'tenant_id': '40da2d9c3c614d7694bdcadf8bb7e7a2', 'project_id': '40da2d9c3c614d7694bdcadf8bb7e7a2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89687964', 'ctest-vn-76886710'], 'port_security_enabled': True, 'description': ''}} 2026-04-29 02:22:48,104 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bd21b7b3-5306-4570-94fe-72ce05765377', 'name': '', 'tenant_id': '40da2d9c3c614d7694bdcadf8bb7e7a2', 'network_id': 'e75d6ab9-384b-4c7c-8629-5f35c4d30001', 'ip_version': 4, 'cidr': '33.96.99.192/26', 'allocation_pools': [{'start': '33.96.99.194', 'end': '33.96.99.254'}], 'gateway_ip': '33.96.99.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.96.99.194', 'tags': [], 'project_id': '40da2d9c3c614d7694bdcadf8bb7e7a2'}} 2026-04-29 02:22:48,127 - INFO - Created VN ctest-vn-76886710 2026-04-29 02:22:48,180 - DEBUG - VN ctest-vn-76886710 UUID is e75d6ab9-384b-4c7c-8629-5f35c4d30001 2026-04-29 02:22:48,301 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-89687964:ctest-vn-76757521, 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-89687964:ctest-vn-76886710, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2026-04-29 02:22:48,605 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'efcaf4c0-27b6-41be-a4d7-5d7a5d06004e', 'name': 'ctest-vn-76757521', 'tenant_id': '40da2d9c3c614d7694bdcadf8bb7e7a2', 'project_id': '40da2d9c3c614d7694bdcadf8bb7e7a2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['04cb9d42-0ac5-4eaf-bc7f-5f3a4b0cacca'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89687964', 'ctest-vn-76757521'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-89687964', 'ctest-policy-allow-all-85038462']], 'subnet_ipam': [{'subnet_cidr': '173.10.189.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-29 02:22:48,851 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e75d6ab9-384b-4c7c-8629-5f35c4d30001', 'name': 'ctest-vn-76886710', 'tenant_id': '40da2d9c3c614d7694bdcadf8bb7e7a2', 'project_id': '40da2d9c3c614d7694bdcadf8bb7e7a2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bd21b7b3-5306-4570-94fe-72ce05765377'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89687964', 'ctest-vn-76886710'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-89687964', 'ctest-policy-allow-all-85038462']], 'subnet_ipam': [{'subnet_cidr': '33.96.99.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-29 02:22:49,004 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-29 02:22:49,340 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-29 02:22:49,375 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0cd39402-a790-4a04-8c5b-fa283d970f72 2026-04-29 02:22:49,388 - DEBUG - Requesting: http://10.0.0.50:8082/project/40da2d9c-3c61-4d76-94bd-cadf8bb7e7a2 2026-04-29 02:22:49,462 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/efcaf4c0-27b6-41be-a4d7-5d7a5d06004e 2026-04-29 02:22:49,475 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/efcaf4c0-27b6-41be-a4d7-5d7a5d06004e 2026-04-29 02:22:49,487 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bc7bc6ed-d41f-4787-97ee-8f3dcfd9cc5d 2026-04-29 02:22:49,495 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bc7bc6ed-d41f-4787-97ee-8f3dcfd9cc5d 2026-04-29 02:22:49,502 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/b1cd7699-5e02-43e8-9479-0a41b33a0165 2026-04-29 02:22:49,510 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-29 02:22:49,510 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/efcaf4c0-27b6-41be-a4d7-5d7a5d06004e 2026-04-29 02:22:49,521 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bc7bc6ed-d41f-4787-97ee-8f3dcfd9cc5d 2026-04-29 02:22:49,536 - INFO - Verified VN network id 12 for VN efcaf4c0-27b6-41be-a4d7-5d7a5d06004e 2026-04-29 02:22:49,536 - INFO - Verifications in API Server for VN ctest-vn-76757521 passed 2026-04-29 02:22:49,536 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/efcaf4c0-27b6-41be-a4d7-5d7a5d06004e 2026-04-29 02:22:49,546 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bc7bc6ed-d41f-4787-97ee-8f3dcfd9cc5d 2026-04-29 02:22:49,553 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bc7bc6ed-d41f-4787-97ee-8f3dcfd9cc5d 2026-04-29 02:22:49,561 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/b1cd7699-5e02-43e8-9479-0a41b33a0165 2026-04-29 02:22:49,574 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-89687964:ctest-vn-76757521', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-89687964', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17278892026497483198', 'uuid-lslong': '11878065322341040206'}, 'enable': 'true', 'created': '2026-04-29T02:22:47', 'last-modified': '2026-04-29T02:22:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.993867'} 2026-04-29 02:22:49,580 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-29 02:22:49,581 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76757521 passed 2026-04-29 02:22:49,581 - DEBUG - ====Verifying policy data for ctest-vn-76757521 in API_Server ====== 2026-04-29 02:22:49,581 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-29 02:22:49,587 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0cd39402-a790-4a04-8c5b-fa283d970f72 2026-04-29 02:22:49,599 - DEBUG - Requesting: http://10.0.0.50:8082/project/40da2d9c-3c61-4d76-94bd-cadf8bb7e7a2 2026-04-29 02:22:49,676 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/efcaf4c0-27b6-41be-a4d7-5d7a5d06004e 2026-04-29 02:22:49,689 - DEBUG - ==>Verifying data for policy with id: 466d4d53-0437-4ad6-a0fe-ed12f9c1f209, fqn: ['default-domain', 'ctest-TestBasicPolicy-89687964', 'ctest-policy-allow-all-85038462'] 2026-04-29 02:22:49,689 - INFO - VN ctest-vn-76757521 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-29 02:22:49,689 - DEBUG - Verifying the vn in opserver 2026-04-29 02:22:49,689 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-89687964:ctest-vn-76757521 virtual network link through opserver 10.0.0.50 2026-04-29 02:22:49,689 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-29 02:22:50,033 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-29 02:22:50,104 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-89687964:ctest-vn-76757521', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-89687964:ctest-vn-76757521?flat'} 2026-04-29 02:22:50,104 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-89687964:ctest-vn-76757521 is found in opserver 2026-04-29 02:22:50,118 - DEBUG - Do not have enough data to verify VN in agent 2026-04-29 02:22:50,125 - DEBUG - VRF ids for VN ctest-vn-76757521: {} 2026-04-29 02:22:50,125 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-29 02:22:50,132 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0cd39402-a790-4a04-8c5b-fa283d970f72 2026-04-29 02:22:50,145 - DEBUG - Requesting: http://10.0.0.50:8082/project/40da2d9c-3c61-4d76-94bd-cadf8bb7e7a2 2026-04-29 02:22:50,224 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e75d6ab9-384b-4c7c-8629-5f35c4d30001 2026-04-29 02:22:50,253 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e75d6ab9-384b-4c7c-8629-5f35c4d30001 2026-04-29 02:22:50,266 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/385831d6-b29f-46cb-81b6-84da12bf74a3 2026-04-29 02:22:50,274 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/385831d6-b29f-46cb-81b6-84da12bf74a3 2026-04-29 02:22:50,282 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/a1f0e74a-d4f1-4d1c-8ef3-6ad1b7588270 2026-04-29 02:22:50,290 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-29 02:22:50,290 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e75d6ab9-384b-4c7c-8629-5f35c4d30001 2026-04-29 02:22:50,299 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/385831d6-b29f-46cb-81b6-84da12bf74a3 2026-04-29 02:22:50,315 - INFO - Verified VN network id 13 for VN e75d6ab9-384b-4c7c-8629-5f35c4d30001 2026-04-29 02:22:50,315 - INFO - Verifications in API Server for VN ctest-vn-76886710 passed 2026-04-29 02:22:50,316 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e75d6ab9-384b-4c7c-8629-5f35c4d30001 2026-04-29 02:22:50,328 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/385831d6-b29f-46cb-81b6-84da12bf74a3 2026-04-29 02:22:50,336 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/385831d6-b29f-46cb-81b6-84da12bf74a3 2026-04-29 02:22:50,343 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/a1f0e74a-d4f1-4d1c-8ef3-6ad1b7588270 2026-04-29 02:22:50,355 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-89687964:ctest-vn-76886710', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-89687964', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16671598739341397116', 'uuid-lslong': '9667362759667548161'}, 'enable': 'true', 'created': '2026-04-29T02:22:47', 'last-modified': '2026-04-29T02:22:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.536212'} 2026-04-29 02:22:50,361 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-29 02:22:50,361 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76886710 passed 2026-04-29 02:22:50,361 - DEBUG - ====Verifying policy data for ctest-vn-76886710 in API_Server ====== 2026-04-29 02:22:50,361 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-29 02:22:50,368 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0cd39402-a790-4a04-8c5b-fa283d970f72 2026-04-29 02:22:50,379 - DEBUG - Requesting: http://10.0.0.50:8082/project/40da2d9c-3c61-4d76-94bd-cadf8bb7e7a2 2026-04-29 02:22:50,452 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e75d6ab9-384b-4c7c-8629-5f35c4d30001 2026-04-29 02:22:50,462 - DEBUG - ==>Verifying data for policy with id: 466d4d53-0437-4ad6-a0fe-ed12f9c1f209, fqn: ['default-domain', 'ctest-TestBasicPolicy-89687964', 'ctest-policy-allow-all-85038462'] 2026-04-29 02:22:50,462 - INFO - VN ctest-vn-76886710 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-29 02:22:50,462 - DEBUG - Verifying the vn in opserver 2026-04-29 02:22:50,462 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-89687964:ctest-vn-76886710 virtual network link through opserver 10.0.0.50 2026-04-29 02:22:50,462 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-29 02:22:50,473 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-89687964:ctest-vn-76886710', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-89687964:ctest-vn-76886710?flat'} 2026-04-29 02:22:50,473 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-89687964:ctest-vn-76886710 is found in opserver 2026-04-29 02:22:50,484 - DEBUG - Do not have enough data to verify VN in agent 2026-04-29 02:22:50,490 - DEBUG - VRF ids for VN ctest-vn-76886710: {} 2026-04-29 02:22:50,553 - DEBUG - Services list from nova: [, , ] 2026-04-29 02:22:51,727 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5708-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5708-1) 2026-04-29 02:22:53,021 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5708-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5708-1) 2026-04-29 02:22:53,021 - INFO - Waiting for VM ctest-TestBasicPolicy-89687964-79984098 to be up.. 2026-04-29 02:22:53,129 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-29 02:22:58,218 - DEBUG - VM is in ACTIVE state now 2026-04-29 02:22:58,219 - INFO - VM name : ctest-TestBasicPolicy-89687964-79984098 2026-04-29 02:22:58,311 - DEBUG - VM ctest-TestBasicPolicy-89687964-79984098 ID is 9bf6275e-f259-4c84-8b7b-e97964a29ca6 2026-04-29 02:22:58,334 - DEBUG - VM ctest-TestBasicPolicy-89687964-79984098 launched on Node cn-jenkins-deploy-platform-ansible-os-5708-1 2026-04-29 02:22:58,422 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/9bf6275e-f259-4c84-8b7b-e97964a29ca6 2026-04-29 02:22:58,431 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/aef09bc5-8034-4e97-8630-25c34378d65d 2026-04-29 02:23:01,684 - 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 1006ms') 2026-04-29 02:23:01,684 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-89687964-79984098 failed! 2026-04-29 02:23:01,744 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-89687964:ctest-vn-76757521 is 173.10.189.1 and allocation pool is NOT set 2026-04-29 02:23:05,806 - 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=2 ttl=63 time=9.36 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 9.356/9.356/9.356/0.000 ms') 2026-04-29 02:23:05,806 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-89687964-79984098 passed 2026-04-29 02:23:05,964 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-29 02:23:05,964 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-89687964-79984098, IP 173.10.189.3, Port 22 2026-04-29 02:23:06,030 - 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-04-29 02:23:06,126 - DEBUG - VM ctest-TestBasicPolicy-89687964-79984098 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-29 02:23:11,126 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-29 02:23:11,126 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-89687964-79984098, IP 173.10.189.3, Port 22 2026-04-29 02:23:11,284 - DEBUG - VM ctest-TestBasicPolicy-89687964-79984098 is ready for SSH connections 2026-04-29 02:23:11,284 - INFO - Waiting for VM ctest-TestBasicPolicy-89687964-74454409 to be up.. 2026-04-29 02:23:11,380 - DEBUG - VM is in ACTIVE state now 2026-04-29 02:23:11,380 - INFO - VM name : ctest-TestBasicPolicy-89687964-74454409 2026-04-29 02:23:11,470 - DEBUG - VM ctest-TestBasicPolicy-89687964-74454409 ID is 1bdebe85-5868-4a17-b1fc-6795076d4f9e 2026-04-29 02:23:11,471 - DEBUG - VM ctest-TestBasicPolicy-89687964-74454409 launched on Node cn-jenkins-deploy-platform-ansible-os-5708-1 2026-04-29 02:23:11,555 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/1bdebe85-5868-4a17-b1fc-6795076d4f9e 2026-04-29 02:23:11,564 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/9ccfddd3-8999-4b85-93ee-03368a8c153d 2026-04-29 02:23:12,813 - 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.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.503 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.503/2.101/3.700/1.598 ms') 2026-04-29 02:23:12,813 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-89687964-74454409 passed 2026-04-29 02:23:12,968 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-29 02:23:12,968 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-89687964-74454409, IP 33.96.99.195, Port 22 2026-04-29 02:23:13,123 - DEBUG - VM ctest-TestBasicPolicy-89687964-74454409 is ready for SSH connections 2026-04-29 02:23:13,124 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-29 02:23:13,124 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 33.96.99.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-29 02:23:13,124 - DEBUG - ping -s 56 -c 3 -W 1 33.96.99.195 2026-04-29 02:23:17,316 - DEBUG - PING 33.96.99.195 (33.96.99.195): 56 data bytes 64 bytes from 33.96.99.195: seq=0 ttl=63 time=4.215 ms 64 bytes from 33.96.99.195: seq=1 ttl=63 time=1.182 ms 64 bytes from 33.96.99.195: seq=2 ttl=63 time=0.913 ms --- 33.96.99.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.913/2.103/4.215 ms 2026-04-29 02:23:17,316 - INFO - Ping to IP 33.96.99.195 from VM ctest-TestBasicPolicy-89687964-79984098 passed 2026-04-29 02:23:17,508 - DEBUG - Policy Update Response {"network-policy": {"uuid": "466d4d53-0437-4ad6-a0fe-ed12f9c1f209", "href": "http://10.0.0.50:8082/network-policy/466d4d53-0437-4ad6-a0fe-ed12f9c1f209"}} 2026-04-29 02:23:17,508 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-29 02:23:17,508 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 33.96.99.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-29 02:23:17,508 - DEBUG - ping -s 56 -c 3 -W 1 33.96.99.195 2026-04-29 02:23:20,745 - DEBUG - PING 33.96.99.195 (33.96.99.195): 56 data bytes --- 33.96.99.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-29 02:23:20,745 - WARNING - Ping to IP 33.96.99.195 from VM ctest-TestBasicPolicy-89687964-79984098 failed 2026-04-29 02:23:20,745 - INFO - Deleting VM ctest-TestBasicPolicy-89687964-74454409 2026-04-29 02:23:20,832 - INFO - Deleting VM ctest-TestBasicPolicy-89687964-79984098 2026-04-29 02:23:21,320 - INFO - Deleted policy ctest-policy-allow-all-85038462 2026-04-29 02:23:21,320 - INFO - Deleting VN ctest-vn-76886710 2026-04-29 02:23:21,374 - DEBUG - VN e75d6ab9-384b-4c7c-8629-5f35c4d30001 still in use: Unable to complete operation on network e75d6ab9-384b-4c7c-8629-5f35c4d30001. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9670c0bc-8791-4ad4-9baf-ef1b3cc133f0'] 2026-04-29 02:23:21,375 - WARNING - Deleting VN ctest-vn-76886710 failed..Will retry 2026-04-29 02:23:23,482 - DEBUG - Response for deleting network () 2026-04-29 02:23:23,483 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/385831d6-b29f-46cb-81b6-84da12bf74a3 2026-04-29 02:23:23,488 - DEBUG - Response Code: 404 2026-04-29 02:23:23,489 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-29 02:23:23,495 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0cd39402-a790-4a04-8c5b-fa283d970f72 2026-04-29 02:23:23,549 - DEBUG - Requesting: http://10.0.0.50:8082/project/40da2d9c-3c61-4d76-94bd-cadf8bb7e7a2 2026-04-29 02:23:23,630 - INFO - Validated that VN ctest-vn-76886710 is not found in API Server 2026-04-29 02:23:23,641 - DEBUG - VN ctest-vn-76886710 is not present in Agent 10.0.0.50 2026-04-29 02:23:23,641 - INFO - Validated that VN ctest-vn-76886710 is not in any agent 2026-04-29 02:23:23,656 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-76886710 info 2026-04-29 02:23:23,656 - INFO - Deleting VN ctest-vn-76757521 2026-04-29 02:23:23,780 - DEBUG - Response for deleting network () 2026-04-29 02:23:23,780 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bc7bc6ed-d41f-4787-97ee-8f3dcfd9cc5d 2026-04-29 02:23:23,788 - DEBUG - Response Code: 404 2026-04-29 02:23:23,788 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-29 02:23:23,795 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0cd39402-a790-4a04-8c5b-fa283d970f72 2026-04-29 02:23:23,850 - DEBUG - Requesting: http://10.0.0.50:8082/project/40da2d9c-3c61-4d76-94bd-cadf8bb7e7a2 2026-04-29 02:23:23,925 - INFO - Validated that VN ctest-vn-76757521 is not found in API Server 2026-04-29 02:23:23,937 - DEBUG - VN ctest-vn-76757521 is not present in Agent 10.0.0.50 2026-04-29 02:23:23,937 - INFO - Validated that VN ctest-vn-76757521 is not in any agent 2026-04-29 02:23:23,954 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-76757521 info 2026-04-29 02:23:24,214 - DEBUG - No XMPP flaps were noticed during the test 2026-04-29 02:23:24,214 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:38] 2026-04-29 02:23:24,214 - INFO - -------------------------------------------------------------------------------- 2026-04-29 02:23:25,021 - INFO - Deleted project: ctest-TestBasicPolicy-89687964, ID : 40da2d9c-3c61-4d76-94bd-cadf8bb7e7a2