2026-09-02 14:22:59,395 - INFO - Domain Default found not creating 2026-09-02 14:22:59,612 - INFO - Project ctest-TestBasicPolicy-63680958 not found, creating it 2026-09-02 14:23:00,164 - INFO - Created Project:ctest-TestBasicPolicy-63680958, ID : eb5b4e65-01ab-4a3b-b516-3df2b41dfb85 2026-09-02 14:23:02,053 - INFO - ================================================================================ 2026-09-02 14:23:02,053 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-09-02 14:23:02,053 - 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-09-02 14:23:02,332 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.25': '0'}} with 2026-09-02 14:23:02,332 - INFO - Initial checks done. Running the testcase now 2026-09-02 14:23:02,332 - INFO - 2026-09-02 14:23:03,044 - DEBUG - Response for create_network : {'network': {'id': '442543de-2683-4e2a-821e-2a698b3e067b', 'name': 'ctest-vn-75662097', 'tenant_id': 'eb5b4e6501ab4a3bb5163df2b41dfb85', 'project_id': 'eb5b4e6501ab4a3bb5163df2b41dfb85', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63680958', 'ctest-vn-75662097'], 'port_security_enabled': True, 'description': ''}} 2026-09-02 14:23:03,257 - DEBUG - Response for create_subnet : {'subnet': {'id': '9e806db1-66d5-4dc4-a00e-ffee22386b57', 'name': '', 'tenant_id': 'eb5b4e6501ab4a3bb5163df2b41dfb85', 'network_id': '442543de-2683-4e2a-821e-2a698b3e067b', 'ip_version': 4, 'cidr': '103.141.165.192/26', 'allocation_pools': [{'start': '103.141.165.194', 'end': '103.141.165.254'}], 'gateway_ip': '103.141.165.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.141.165.194', 'tags': [], 'project_id': 'eb5b4e6501ab4a3bb5163df2b41dfb85'}} 2026-09-02 14:23:03,279 - INFO - Created VN ctest-vn-75662097 2026-09-02 14:23:03,333 - DEBUG - VN ctest-vn-75662097 UUID is 442543de-2683-4e2a-821e-2a698b3e067b 2026-09-02 14:23:03,686 - DEBUG - Response for create_network : {'network': {'id': 'a29d4e57-6372-4b0c-85f1-c94d5abc7e51', 'name': 'ctest-vn-05081163', 'tenant_id': 'eb5b4e6501ab4a3bb5163df2b41dfb85', 'project_id': 'eb5b4e6501ab4a3bb5163df2b41dfb85', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63680958', 'ctest-vn-05081163'], 'port_security_enabled': True, 'description': ''}} 2026-09-02 14:23:03,911 - DEBUG - Response for create_subnet : {'subnet': {'id': 'de588e70-85db-45b0-8e83-f4a8f2a9b274', 'name': '', 'tenant_id': 'eb5b4e6501ab4a3bb5163df2b41dfb85', 'network_id': 'a29d4e57-6372-4b0c-85f1-c94d5abc7e51', 'ip_version': 4, 'cidr': '221.148.126.64/26', 'allocation_pools': [{'start': '221.148.126.66', 'end': '221.148.126.126'}], 'gateway_ip': '221.148.126.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.148.126.66', 'tags': [], 'project_id': 'eb5b4e6501ab4a3bb5163df2b41dfb85'}} 2026-09-02 14:23:03,932 - INFO - Created VN ctest-vn-05081163 2026-09-02 14:23:03,989 - DEBUG - VN ctest-vn-05081163 UUID is a29d4e57-6372-4b0c-85f1-c94d5abc7e51 2026-09-02 14:23:04,109 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-63680958:ctest-vn-75662097, 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-63680958:ctest-vn-05081163, 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-09-02 14:23:04,441 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '442543de-2683-4e2a-821e-2a698b3e067b', 'name': 'ctest-vn-75662097', 'tenant_id': 'eb5b4e6501ab4a3bb5163df2b41dfb85', 'project_id': 'eb5b4e6501ab4a3bb5163df2b41dfb85', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['9e806db1-66d5-4dc4-a00e-ffee22386b57'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63680958', 'ctest-vn-75662097'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-63680958', 'ctest-policy-allow-all-51018789']], 'subnet_ipam': [{'subnet_cidr': '103.141.165.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-02 14:23:04,706 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a29d4e57-6372-4b0c-85f1-c94d5abc7e51', 'name': 'ctest-vn-05081163', 'tenant_id': 'eb5b4e6501ab4a3bb5163df2b41dfb85', 'project_id': 'eb5b4e6501ab4a3bb5163df2b41dfb85', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['de588e70-85db-45b0-8e83-f4a8f2a9b274'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63680958', 'ctest-vn-05081163'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-63680958', 'ctest-policy-allow-all-51018789']], 'subnet_ipam': [{'subnet_cidr': '221.148.126.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-02 14:23:04,881 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-09-02 14:23:05,264 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-09-02 14:23:05,296 - DEBUG - Requesting: http://10.0.0.161:8082/domain/759a9c83-c697-48bb-b428-5713b193674b 2026-09-02 14:23:05,313 - DEBUG - Requesting: http://10.0.0.161:8082/project/eb5b4e65-01ab-4a3b-b516-3df2b41dfb85 2026-09-02 14:23:05,410 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/442543de-2683-4e2a-821e-2a698b3e067b 2026-09-02 14:23:05,427 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/442543de-2683-4e2a-821e-2a698b3e067b 2026-09-02 14:23:05,440 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/d815329e-da71-43ea-9420-f26281315e3e 2026-09-02 14:23:05,451 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/d815329e-da71-43ea-9420-f26281315e3e 2026-09-02 14:23:05,461 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/68c9a931-0f51-4a38-95f7-1058e26ac412 2026-09-02 14:23:05,469 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-02 14:23:05,469 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/442543de-2683-4e2a-821e-2a698b3e067b 2026-09-02 14:23:05,483 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/d815329e-da71-43ea-9420-f26281315e3e 2026-09-02 14:23:05,506 - INFO - Verified VN network id 12 for VN 442543de-2683-4e2a-821e-2a698b3e067b 2026-09-02 14:23:05,507 - INFO - Verifications in API Server for VN ctest-vn-75662097 passed 2026-09-02 14:23:05,507 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/442543de-2683-4e2a-821e-2a698b3e067b 2026-09-02 14:23:05,521 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/d815329e-da71-43ea-9420-f26281315e3e 2026-09-02 14:23:05,532 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/d815329e-da71-43ea-9420-f26281315e3e 2026-09-02 14:23:05,544 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/68c9a931-0f51-4a38-95f7-1058e26ac412 2026-09-02 14:23:05,562 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-63680958:ctest-vn-75662097', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-63680958', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4910405590125334058', 'uuid-lslong': '9375978107027981947'}, 'enable': 'true', 'created': '2026-09-02T14:23:02', 'last-modified': '2026-09-02T14:23:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.148929'} 2026-09-02 14:23:05,571 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-02 14:23:05,571 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-75662097 passed 2026-09-02 14:23:05,571 - DEBUG - ====Verifying policy data for ctest-vn-75662097 in API_Server ====== 2026-09-02 14:23:05,571 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-09-02 14:23:05,578 - DEBUG - Requesting: http://10.0.0.161:8082/domain/759a9c83-c697-48bb-b428-5713b193674b 2026-09-02 14:23:05,593 - DEBUG - Requesting: http://10.0.0.161:8082/project/eb5b4e65-01ab-4a3b-b516-3df2b41dfb85 2026-09-02 14:23:05,677 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/442543de-2683-4e2a-821e-2a698b3e067b 2026-09-02 14:23:05,689 - DEBUG - ==>Verifying data for policy with id: cd5e3862-da8d-415b-803a-58714b9d2c0c, fqn: ['default-domain', 'ctest-TestBasicPolicy-63680958', 'ctest-policy-allow-all-51018789'] 2026-09-02 14:23:05,690 - INFO - VN ctest-vn-75662097 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-02 14:23:05,690 - DEBUG - Verifying the vn in opserver 2026-09-02 14:23:05,690 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-63680958:ctest-vn-75662097 virtual network link through opserver 10.0.0.161 2026-09-02 14:23:05,690 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-09-02 14:23:06,070 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-09-02 14:23:06,135 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-63680958:ctest-vn-75662097', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-63680958:ctest-vn-75662097?flat'} 2026-09-02 14:23:06,135 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-63680958:ctest-vn-75662097 is found in opserver 2026-09-02 14:23:06,150 - DEBUG - Do not have enough data to verify VN in agent 2026-09-02 14:23:06,157 - DEBUG - VRF ids for VN ctest-vn-75662097: {} 2026-09-02 14:23:06,157 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-09-02 14:23:06,164 - DEBUG - Requesting: http://10.0.0.161:8082/domain/759a9c83-c697-48bb-b428-5713b193674b 2026-09-02 14:23:06,176 - DEBUG - Requesting: http://10.0.0.161:8082/project/eb5b4e65-01ab-4a3b-b516-3df2b41dfb85 2026-09-02 14:23:06,257 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/a29d4e57-6372-4b0c-85f1-c94d5abc7e51 2026-09-02 14:23:06,271 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/a29d4e57-6372-4b0c-85f1-c94d5abc7e51 2026-09-02 14:23:06,283 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/c0ac7302-8715-42cd-992c-1fa8d37ce2dc 2026-09-02 14:23:06,292 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/c0ac7302-8715-42cd-992c-1fa8d37ce2dc 2026-09-02 14:23:06,301 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/c82a3387-c75c-488a-82dd-421c465186c7 2026-09-02 14:23:06,310 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-02 14:23:06,310 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/a29d4e57-6372-4b0c-85f1-c94d5abc7e51 2026-09-02 14:23:06,321 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/c0ac7302-8715-42cd-992c-1fa8d37ce2dc 2026-09-02 14:23:06,339 - INFO - Verified VN network id 13 for VN a29d4e57-6372-4b0c-85f1-c94d5abc7e51 2026-09-02 14:23:06,339 - INFO - Verifications in API Server for VN ctest-vn-05081163 passed 2026-09-02 14:23:06,339 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/a29d4e57-6372-4b0c-85f1-c94d5abc7e51 2026-09-02 14:23:06,351 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/c0ac7302-8715-42cd-992c-1fa8d37ce2dc 2026-09-02 14:23:06,367 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/c0ac7302-8715-42cd-992c-1fa8d37ce2dc 2026-09-02 14:23:06,375 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/c82a3387-c75c-488a-82dd-421c465186c7 2026-09-02 14:23:06,393 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-63680958:ctest-vn-05081163', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-63680958', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11717607942725454604', 'uuid-lslong': '9651716810503650897'}, 'enable': 'true', 'created': '2026-09-02T14:23:03', 'last-modified': '2026-09-02T14:23:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.724078'} 2026-09-02 14:23:06,401 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-02 14:23:06,402 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-05081163 passed 2026-09-02 14:23:06,402 - DEBUG - ====Verifying policy data for ctest-vn-05081163 in API_Server ====== 2026-09-02 14:23:06,402 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-09-02 14:23:06,409 - DEBUG - Requesting: http://10.0.0.161:8082/domain/759a9c83-c697-48bb-b428-5713b193674b 2026-09-02 14:23:06,423 - DEBUG - Requesting: http://10.0.0.161:8082/project/eb5b4e65-01ab-4a3b-b516-3df2b41dfb85 2026-09-02 14:23:06,514 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/a29d4e57-6372-4b0c-85f1-c94d5abc7e51 2026-09-02 14:23:06,530 - DEBUG - ==>Verifying data for policy with id: cd5e3862-da8d-415b-803a-58714b9d2c0c, fqn: ['default-domain', 'ctest-TestBasicPolicy-63680958', 'ctest-policy-allow-all-51018789'] 2026-09-02 14:23:06,530 - INFO - VN ctest-vn-05081163 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-02 14:23:06,530 - DEBUG - Verifying the vn in opserver 2026-09-02 14:23:06,530 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-63680958:ctest-vn-05081163 virtual network link through opserver 10.0.0.161 2026-09-02 14:23:06,531 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-09-02 14:23:06,543 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-63680958:ctest-vn-05081163', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-63680958:ctest-vn-05081163?flat'} 2026-09-02 14:23:06,543 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-63680958:ctest-vn-05081163 is found in opserver 2026-09-02 14:23:06,557 - DEBUG - Do not have enough data to verify VN in agent 2026-09-02 14:23:06,566 - DEBUG - VRF ids for VN ctest-vn-05081163: {} 2026-09-02 14:23:06,640 - DEBUG - Services list from nova: [, , ] 2026-09-02 14:23:07,035 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6248-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6248-1) 2026-09-02 14:23:07,505 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6248-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6248-1) 2026-09-02 14:23:07,506 - INFO - Waiting for VM ctest-TestBasicPolicy-63680958-87424623 to be up.. 2026-09-02 14:23:07,554 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-02 14:23:12,651 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-02 14:23:17,745 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-02 14:23:22,840 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-02 14:23:27,931 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-02 14:23:33,029 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-02 14:23:38,135 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-02 14:23:43,243 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-02 14:23:48,345 - DEBUG - VM is in ACTIVE state now 2026-09-02 14:23:48,345 - INFO - VM name : ctest-TestBasicPolicy-63680958-87424623 2026-09-02 14:23:48,460 - DEBUG - VM ctest-TestBasicPolicy-63680958-87424623 ID is d1906bc4-376e-438d-bc59-05fb8460680d 2026-09-02 14:23:48,489 - DEBUG - VM ctest-TestBasicPolicy-63680958-87424623 launched on Node cn-jenkins-deploy-platform-ansible-os-6248-1 2026-09-02 14:23:48,591 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/d1906bc4-376e-438d-bc59-05fb8460680d 2026-09-02 14:23:48,604 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/0528f62a-5f44-42ce-a34a-f2b31a343b72 2026-09-02 14:23:51,879 - 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 1020ms') 2026-09-02 14:23:51,879 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-63680958-87424623 failed! 2026-09-02 14:23:51,937 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-63680958:ctest-vn-75662097 is 103.141.165.193 and allocation pool is NOT set 2026-09-02 14:23:54,013 - 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=16.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.85 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 = 2.850/9.462/16.074/6.612 ms') 2026-09-02 14:23:54,013 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-63680958-87424623 passed 2026-09-02 14:23:54,169 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-02 14:23:54,169 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-63680958-87424623, IP 103.141.165.195, Port 22 2026-09-02 14:23:54,235 - 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-09-02 14:23:54,322 - DEBUG - VM ctest-TestBasicPolicy-63680958-87424623 is NOT ready for SSH connections, VM status: ACTIVE 2026-09-02 14:23:59,323 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-02 14:23:59,323 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-63680958-87424623, IP 103.141.165.195, Port 22 2026-09-02 14:23:59,495 - DEBUG - VM ctest-TestBasicPolicy-63680958-87424623 is ready for SSH connections 2026-09-02 14:23:59,495 - INFO - Waiting for VM ctest-TestBasicPolicy-63680958-53848097 to be up.. 2026-09-02 14:23:59,600 - DEBUG - VM is in ACTIVE state now 2026-09-02 14:23:59,600 - INFO - VM name : ctest-TestBasicPolicy-63680958-53848097 2026-09-02 14:23:59,690 - DEBUG - VM ctest-TestBasicPolicy-63680958-53848097 ID is fe290c44-e89f-4fe5-b206-3830dae78837 2026-09-02 14:23:59,690 - DEBUG - VM ctest-TestBasicPolicy-63680958-53848097 launched on Node cn-jenkins-deploy-platform-ansible-os-6248-1 2026-09-02 14:23:59,790 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/fe290c44-e89f-4fe5-b206-3830dae78837 2026-09-02 14:23:59,800 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/eded847e-33dd-425e-a94b-3efd804adc7b 2026-09-02 14:24:01,060 - 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.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.682 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.682/2.662/4.643/1.980 ms') 2026-09-02 14:24:01,060 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-63680958-53848097 passed 2026-09-02 14:24:01,217 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-02 14:24:01,217 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-63680958-53848097, IP 221.148.126.67, Port 22 2026-09-02 14:24:01,391 - DEBUG - VM ctest-TestBasicPolicy-63680958-53848097 is ready for SSH connections 2026-09-02 14:24:01,392 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-02 14:24:01,392 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 221.148.126.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-09-02 14:24:01,392 - DEBUG - ping -s 56 -c 3 -W 1 221.148.126.67 2026-09-02 14:24:05,618 - DEBUG - PING 221.148.126.67 (221.148.126.67): 56 data bytes 64 bytes from 221.148.126.67: seq=0 ttl=63 time=4.931 ms 64 bytes from 221.148.126.67: seq=1 ttl=63 time=1.242 ms 64 bytes from 221.148.126.67: seq=2 ttl=63 time=1.197 ms --- 221.148.126.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.197/2.456/4.931 ms 2026-09-02 14:24:05,618 - INFO - Ping to IP 221.148.126.67 from VM ctest-TestBasicPolicy-63680958-87424623 passed 2026-09-02 14:24:05,821 - DEBUG - Policy Update Response {"network-policy": {"uuid": "cd5e3862-da8d-415b-803a-58714b9d2c0c", "href": "http://10.0.0.161:8082/network-policy/cd5e3862-da8d-415b-803a-58714b9d2c0c"}} 2026-09-02 14:24:05,822 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-02 14:24:05,822 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 221.148.126.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-09-02 14:24:05,822 - DEBUG - ping -s 56 -c 3 -W 1 221.148.126.67 2026-09-02 14:24:08,976 - DEBUG - PING 221.148.126.67 (221.148.126.67): 56 data bytes 64 bytes from 221.148.126.67: seq=0 ttl=63 time=1.634 ms --- 221.148.126.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.634/1.634/1.634 ms 2026-09-02 14:24:08,977 - WARNING - Ping to IP 221.148.126.67 from VM ctest-TestBasicPolicy-63680958-87424623 failed 2026-09-02 14:24:08,977 - INFO - Deleting VM ctest-TestBasicPolicy-63680958-53848097 2026-09-02 14:24:09,060 - INFO - Deleting VM ctest-TestBasicPolicy-63680958-87424623 2026-09-02 14:24:09,521 - INFO - Deleted policy ctest-policy-allow-all-51018789 2026-09-02 14:24:09,521 - INFO - Deleting VN ctest-vn-05081163 2026-09-02 14:24:09,571 - DEBUG - VN a29d4e57-6372-4b0c-85f1-c94d5abc7e51 still in use: Unable to complete operation on network a29d4e57-6372-4b0c-85f1-c94d5abc7e51. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-dbcfbbd5-2325-4611-b34b-5de5c0ad0dd2'] 2026-09-02 14:24:09,571 - WARNING - Deleting VN ctest-vn-05081163 failed..Will retry 2026-09-02 14:24:11,726 - DEBUG - Response for deleting network () 2026-09-02 14:24:11,726 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/c0ac7302-8715-42cd-992c-1fa8d37ce2dc 2026-09-02 14:24:11,733 - DEBUG - Response Code: 404 2026-09-02 14:24:11,734 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-09-02 14:24:11,741 - DEBUG - Requesting: http://10.0.0.161:8082/domain/759a9c83-c697-48bb-b428-5713b193674b 2026-09-02 14:24:11,807 - DEBUG - Requesting: http://10.0.0.161:8082/project/eb5b4e65-01ab-4a3b-b516-3df2b41dfb85 2026-09-02 14:24:11,887 - INFO - Validated that VN ctest-vn-05081163 is not found in API Server 2026-09-02 14:24:11,902 - DEBUG - VN ctest-vn-05081163 is not present in Agent 10.0.0.161 2026-09-02 14:24:11,902 - INFO - Validated that VN ctest-vn-05081163 is not in any agent 2026-09-02 14:24:11,924 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-05081163 info 2026-09-02 14:24:11,925 - INFO - Deleting VN ctest-vn-75662097 2026-09-02 14:24:12,068 - DEBUG - Response for deleting network () 2026-09-02 14:24:12,068 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/d815329e-da71-43ea-9420-f26281315e3e 2026-09-02 14:24:12,075 - DEBUG - Response Code: 404 2026-09-02 14:24:12,076 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-09-02 14:24:12,082 - DEBUG - Requesting: http://10.0.0.161:8082/domain/759a9c83-c697-48bb-b428-5713b193674b 2026-09-02 14:24:12,139 - DEBUG - Requesting: http://10.0.0.161:8082/project/eb5b4e65-01ab-4a3b-b516-3df2b41dfb85 2026-09-02 14:24:12,224 - INFO - Validated that VN ctest-vn-75662097 is not found in API Server 2026-09-02 14:24:12,238 - DEBUG - VN ctest-vn-75662097 is not present in Agent 10.0.0.161 2026-09-02 14:24:12,238 - INFO - Validated that VN ctest-vn-75662097 is not in any agent 2026-09-02 14:24:12,257 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-75662097 info 2026-09-02 14:24:12,531 - DEBUG - No XMPP flaps were noticed during the test 2026-09-02 14:24:12,531 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:10] 2026-09-02 14:24:12,532 - INFO - -------------------------------------------------------------------------------- 2026-09-02 14:24:13,367 - INFO - Deleted project: ctest-TestBasicPolicy-63680958, ID : eb5b4e65-01ab-4a3b-b516-3df2b41dfb85