2026-06-17 15:24:23,015 - INFO - Domain Default found not creating 2026-06-17 15:24:23,150 - INFO - Project ctest-TestBasicPolicy-75146738 not found, creating it 2026-06-17 15:24:23,600 - INFO - Created Project:ctest-TestBasicPolicy-75146738, ID : c519e3ea-c0cf-4d92-af73-694f2c5507c4 2026-06-17 15:24:25,198 - INFO - ================================================================================ 2026-06-17 15:24:25,199 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-17 15:24:25,199 - 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-06-17 15:24:25,457 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-06-17 15:24:25,457 - INFO - Initial checks done. Running the testcase now 2026-06-17 15:24:25,458 - INFO - 2026-06-17 15:24:26,061 - DEBUG - Response for create_network : {'network': {'id': '71fc23ea-bd52-445c-816d-97e6a651785c', 'name': 'ctest-vn-14021889', 'tenant_id': 'c519e3eac0cf4d92af73694f2c5507c4', 'project_id': 'c519e3eac0cf4d92af73694f2c5507c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75146738', 'ctest-vn-14021889'], 'port_security_enabled': True, 'description': ''}} 2026-06-17 15:24:26,234 - DEBUG - Response for create_subnet : {'subnet': {'id': '95cd386c-9dac-4633-a7ec-89ed6739813d', 'name': '', 'tenant_id': 'c519e3eac0cf4d92af73694f2c5507c4', 'network_id': '71fc23ea-bd52-445c-816d-97e6a651785c', 'ip_version': 4, 'cidr': '159.31.65.64/26', 'allocation_pools': [{'start': '159.31.65.66', 'end': '159.31.65.126'}], 'gateway_ip': '159.31.65.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '159.31.65.66', 'tags': [], 'project_id': 'c519e3eac0cf4d92af73694f2c5507c4'}} 2026-06-17 15:24:26,248 - INFO - Created VN ctest-vn-14021889 2026-06-17 15:24:26,300 - DEBUG - VN ctest-vn-14021889 UUID is 71fc23ea-bd52-445c-816d-97e6a651785c 2026-06-17 15:24:26,610 - DEBUG - Response for create_network : {'network': {'id': 'c1a54e9d-9593-463e-95fe-d4febe423385', 'name': 'ctest-vn-07925787', 'tenant_id': 'c519e3eac0cf4d92af73694f2c5507c4', 'project_id': 'c519e3eac0cf4d92af73694f2c5507c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75146738', 'ctest-vn-07925787'], 'port_security_enabled': True, 'description': ''}} 2026-06-17 15:24:26,768 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fea16dfb-2de8-4ad5-9d39-d5a4c60eeb4e', 'name': '', 'tenant_id': 'c519e3eac0cf4d92af73694f2c5507c4', 'network_id': 'c1a54e9d-9593-463e-95fe-d4febe423385', 'ip_version': 4, 'cidr': '79.174.85.192/26', 'allocation_pools': [{'start': '79.174.85.194', 'end': '79.174.85.254'}], 'gateway_ip': '79.174.85.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.174.85.194', 'tags': [], 'project_id': 'c519e3eac0cf4d92af73694f2c5507c4'}} 2026-06-17 15:24:26,782 - INFO - Created VN ctest-vn-07925787 2026-06-17 15:24:26,832 - DEBUG - VN ctest-vn-07925787 UUID is c1a54e9d-9593-463e-95fe-d4febe423385 2026-06-17 15:24:26,976 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-75146738:ctest-vn-14021889, 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-75146738:ctest-vn-07925787, 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-06-17 15:24:27,265 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '71fc23ea-bd52-445c-816d-97e6a651785c', 'name': 'ctest-vn-14021889', 'tenant_id': 'c519e3eac0cf4d92af73694f2c5507c4', 'project_id': 'c519e3eac0cf4d92af73694f2c5507c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['95cd386c-9dac-4633-a7ec-89ed6739813d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75146738', 'ctest-vn-14021889'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-75146738', 'ctest-policy-allow-all-28173822']], 'subnet_ipam': [{'subnet_cidr': '159.31.65.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-17 15:24:27,489 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c1a54e9d-9593-463e-95fe-d4febe423385', 'name': 'ctest-vn-07925787', 'tenant_id': 'c519e3eac0cf4d92af73694f2c5507c4', 'project_id': 'c519e3eac0cf4d92af73694f2c5507c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fea16dfb-2de8-4ad5-9d39-d5a4c60eeb4e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75146738', 'ctest-vn-07925787'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-75146738', 'ctest-policy-allow-all-28173822']], 'subnet_ipam': [{'subnet_cidr': '79.174.85.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-17 15:24:27,656 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-17 15:24:28,023 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-17 15:24:28,053 - DEBUG - Requesting: http://10.0.0.38:8082/domain/423b3f8e-9a2b-4169-ab7d-98b8b281b88c 2026-06-17 15:24:28,065 - DEBUG - Requesting: http://10.0.0.38:8082/project/c519e3ea-c0cf-4d92-af73-694f2c5507c4 2026-06-17 15:24:28,143 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/71fc23ea-bd52-445c-816d-97e6a651785c 2026-06-17 15:24:28,156 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/71fc23ea-bd52-445c-816d-97e6a651785c 2026-06-17 15:24:28,164 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f7b2fc0c-5b09-483f-9d8c-577351cce2fd 2026-06-17 15:24:28,173 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f7b2fc0c-5b09-483f-9d8c-577351cce2fd 2026-06-17 15:24:28,179 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a0cc1d26-b398-48bc-ad1d-c14bc0463d2c 2026-06-17 15:24:28,185 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-17 15:24:28,185 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/71fc23ea-bd52-445c-816d-97e6a651785c 2026-06-17 15:24:28,193 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f7b2fc0c-5b09-483f-9d8c-577351cce2fd 2026-06-17 15:24:28,207 - INFO - Verified VN network id 10 for VN 71fc23ea-bd52-445c-816d-97e6a651785c 2026-06-17 15:24:28,207 - INFO - Verifications in API Server for VN ctest-vn-14021889 passed 2026-06-17 15:24:28,207 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/71fc23ea-bd52-445c-816d-97e6a651785c 2026-06-17 15:24:28,215 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f7b2fc0c-5b09-483f-9d8c-577351cce2fd 2026-06-17 15:24:28,221 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f7b2fc0c-5b09-483f-9d8c-577351cce2fd 2026-06-17 15:24:28,227 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a0cc1d26-b398-48bc-ad1d-c14bc0463d2c 2026-06-17 15:24:28,239 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-75146738:ctest-vn-14021889', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-75146738', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8213479311522546780', 'uuid-lslong': '9326277420242794588'}, 'enable': 'true', 'created': '2026-06-17T15:24:26', 'last-modified': '2026-06-17T15:24:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.999179'} 2026-06-17 15:24:28,245 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-17 15:24:28,245 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-14021889 passed 2026-06-17 15:24:28,245 - DEBUG - ====Verifying policy data for ctest-vn-14021889 in API_Server ====== 2026-06-17 15:24:28,245 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-17 15:24:28,250 - DEBUG - Requesting: http://10.0.0.38:8082/domain/423b3f8e-9a2b-4169-ab7d-98b8b281b88c 2026-06-17 15:24:28,260 - DEBUG - Requesting: http://10.0.0.38:8082/project/c519e3ea-c0cf-4d92-af73-694f2c5507c4 2026-06-17 15:24:28,335 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/71fc23ea-bd52-445c-816d-97e6a651785c 2026-06-17 15:24:28,344 - DEBUG - ==>Verifying data for policy with id: f48c1d26-6dbc-4677-9389-41b111ad05c8, fqn: ['default-domain', 'ctest-TestBasicPolicy-75146738', 'ctest-policy-allow-all-28173822'] 2026-06-17 15:24:28,344 - INFO - VN ctest-vn-14021889 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-17 15:24:28,344 - DEBUG - Verifying the vn in opserver 2026-06-17 15:24:28,345 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-75146738:ctest-vn-14021889 virtual network link through opserver 10.0.0.38 2026-06-17 15:24:28,345 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-06-17 15:24:28,705 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-06-17 15:24:28,762 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-75146738:ctest-vn-14021889', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-75146738:ctest-vn-14021889?flat'} 2026-06-17 15:24:28,762 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-75146738:ctest-vn-14021889 is found in opserver 2026-06-17 15:24:28,773 - DEBUG - Do not have enough data to verify VN in agent 2026-06-17 15:24:28,778 - DEBUG - VRF ids for VN ctest-vn-14021889: {} 2026-06-17 15:24:28,778 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-17 15:24:28,783 - DEBUG - Requesting: http://10.0.0.38:8082/domain/423b3f8e-9a2b-4169-ab7d-98b8b281b88c 2026-06-17 15:24:28,796 - DEBUG - Requesting: http://10.0.0.38:8082/project/c519e3ea-c0cf-4d92-af73-694f2c5507c4 2026-06-17 15:24:28,868 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c1a54e9d-9593-463e-95fe-d4febe423385 2026-06-17 15:24:28,880 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c1a54e9d-9593-463e-95fe-d4febe423385 2026-06-17 15:24:28,888 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5e630038-766c-4c5f-9568-58df51beb86c 2026-06-17 15:24:28,894 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5e630038-766c-4c5f-9568-58df51beb86c 2026-06-17 15:24:28,900 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/afde9fdb-0234-45bc-9530-9e9e5b285327 2026-06-17 15:24:28,905 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-17 15:24:28,905 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c1a54e9d-9593-463e-95fe-d4febe423385 2026-06-17 15:24:28,913 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5e630038-766c-4c5f-9568-58df51beb86c 2026-06-17 15:24:28,926 - INFO - Verified VN network id 11 for VN c1a54e9d-9593-463e-95fe-d4febe423385 2026-06-17 15:24:28,926 - INFO - Verifications in API Server for VN ctest-vn-07925787 passed 2026-06-17 15:24:28,926 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c1a54e9d-9593-463e-95fe-d4febe423385 2026-06-17 15:24:28,934 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5e630038-766c-4c5f-9568-58df51beb86c 2026-06-17 15:24:28,941 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5e630038-766c-4c5f-9568-58df51beb86c 2026-06-17 15:24:28,947 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/afde9fdb-0234-45bc-9530-9e9e5b285327 2026-06-17 15:24:28,958 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-75146738:ctest-vn-07925787', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-75146738', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13953645459203638846', 'uuid-lslong': '10808310346314560389'}, 'enable': 'true', 'created': '2026-06-17T15:24:26', 'last-modified': '2026-06-17T15:24:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.492864'} 2026-06-17 15:24:28,971 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-17 15:24:28,971 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07925787 passed 2026-06-17 15:24:28,971 - DEBUG - ====Verifying policy data for ctest-vn-07925787 in API_Server ====== 2026-06-17 15:24:28,971 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-17 15:24:28,976 - DEBUG - Requesting: http://10.0.0.38:8082/domain/423b3f8e-9a2b-4169-ab7d-98b8b281b88c 2026-06-17 15:24:28,986 - DEBUG - Requesting: http://10.0.0.38:8082/project/c519e3ea-c0cf-4d92-af73-694f2c5507c4 2026-06-17 15:24:29,061 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c1a54e9d-9593-463e-95fe-d4febe423385 2026-06-17 15:24:29,070 - DEBUG - ==>Verifying data for policy with id: f48c1d26-6dbc-4677-9389-41b111ad05c8, fqn: ['default-domain', 'ctest-TestBasicPolicy-75146738', 'ctest-policy-allow-all-28173822'] 2026-06-17 15:24:29,070 - INFO - VN ctest-vn-07925787 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-17 15:24:29,070 - DEBUG - Verifying the vn in opserver 2026-06-17 15:24:29,070 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-75146738:ctest-vn-07925787 virtual network link through opserver 10.0.0.38 2026-06-17 15:24:29,070 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-06-17 15:24:29,079 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-75146738:ctest-vn-07925787', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-75146738:ctest-vn-07925787?flat'} 2026-06-17 15:24:29,079 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-75146738:ctest-vn-07925787 is found in opserver 2026-06-17 15:24:29,088 - DEBUG - Do not have enough data to verify VN in agent 2026-06-17 15:24:29,092 - DEBUG - VRF ids for VN ctest-vn-07925787: {} 2026-06-17 15:24:29,153 - DEBUG - Services list from nova: [, , ] 2026-06-17 15:24:30,285 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5966-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5966-1) 2026-06-17 15:24:31,473 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5966-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5966-1) 2026-06-17 15:24:31,473 - INFO - Waiting for VM ctest-TestBasicPolicy-75146738-57034629 to be up.. 2026-06-17 15:24:31,522 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-17 15:24:36,607 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-17 15:24:41,692 - DEBUG - VM is in ACTIVE state now 2026-06-17 15:24:41,692 - INFO - VM name : ctest-TestBasicPolicy-75146738-57034629 2026-06-17 15:24:41,770 - DEBUG - VM ctest-TestBasicPolicy-75146738-57034629 ID is 7a8b7b58-d9da-46a4-94b4-aaa9a1ab2ef6 2026-06-17 15:24:41,790 - DEBUG - VM ctest-TestBasicPolicy-75146738-57034629 launched on Node cn-jenkins-deploy-platform-ansible-os-5966-1 2026-06-17 15:24:41,863 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/7a8b7b58-d9da-46a4-94b4-aaa9a1ab2ef6 2026-06-17 15:24:41,870 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2c712cd4-4c93-47d1-a120-96586f2010c7 2026-06-17 15:24:45,129 - 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 1030ms') 2026-06-17 15:24:45,129 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-75146738-57034629 failed! 2026-06-17 15:24:45,184 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-75146738:ctest-vn-14021889 is 159.31.65.65 and allocation pool is NOT set 2026-06-17 15:24:47,249 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=5.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.561 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.561/3.162/5.763/2.601 ms') 2026-06-17 15:24:47,249 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-75146738-57034629 passed 2026-06-17 15:24:47,400 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-17 15:24:47,401 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-75146738-57034629, IP 159.31.65.67, Port 22 2026-06-17 15:24:47,465 - 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-06-17 15:24:47,534 - DEBUG - VM ctest-TestBasicPolicy-75146738-57034629 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-17 15:24:52,535 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-17 15:24:52,535 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-75146738-57034629, IP 159.31.65.67, Port 22 2026-06-17 15:24:52,696 - DEBUG - VM ctest-TestBasicPolicy-75146738-57034629 is ready for SSH connections 2026-06-17 15:24:52,696 - INFO - Waiting for VM ctest-TestBasicPolicy-75146738-35550583 to be up.. 2026-06-17 15:24:52,786 - DEBUG - VM is in ACTIVE state now 2026-06-17 15:24:52,786 - INFO - VM name : ctest-TestBasicPolicy-75146738-35550583 2026-06-17 15:24:52,859 - DEBUG - VM ctest-TestBasicPolicy-75146738-35550583 ID is de90af33-16dc-46e4-844c-767f10e94452 2026-06-17 15:24:52,859 - DEBUG - VM ctest-TestBasicPolicy-75146738-35550583 launched on Node cn-jenkins-deploy-platform-ansible-os-5966-1 2026-06-17 15:24:52,929 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/de90af33-16dc-46e4-844c-767f10e94452 2026-06-17 15:24:52,939 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/eb40c4ce-9f19-4057-8c93-dac7b478a2b9 2026-06-17 15:24:54,189 - 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.30 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.376 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.376/1.836/3.297/1.460 ms') 2026-06-17 15:24:54,189 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-75146738-35550583 passed 2026-06-17 15:24:54,340 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-17 15:24:54,340 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-75146738-35550583, IP 79.174.85.195, Port 22 2026-06-17 15:24:54,495 - DEBUG - VM ctest-TestBasicPolicy-75146738-35550583 is ready for SSH connections 2026-06-17 15:24:54,495 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-17 15:24:54,495 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 79.174.85.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-06-17 15:24:54,495 - DEBUG - ping -s 56 -c 3 -W 1 79.174.85.195 2026-06-17 15:24:58,443 - DEBUG - PING 79.174.85.195 (79.174.85.195): 56 data bytes 64 bytes from 79.174.85.195: seq=0 ttl=63 time=4.471 ms 64 bytes from 79.174.85.195: seq=1 ttl=63 time=1.148 ms 64 bytes from 79.174.85.195: seq=2 ttl=63 time=0.846 ms --- 79.174.85.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.846/2.155/4.471 ms 2026-06-17 15:24:58,444 - INFO - Ping to IP 79.174.85.195 from VM ctest-TestBasicPolicy-75146738-57034629 passed 2026-06-17 15:24:58,620 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f48c1d26-6dbc-4677-9389-41b111ad05c8", "href": "http://10.0.0.38:8082/network-policy/f48c1d26-6dbc-4677-9389-41b111ad05c8"}} 2026-06-17 15:24:58,620 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-17 15:24:58,620 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 79.174.85.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-06-17 15:24:58,620 - DEBUG - ping -s 56 -c 3 -W 1 79.174.85.195 2026-06-17 15:25:01,753 - DEBUG - PING 79.174.85.195 (79.174.85.195): 56 data bytes --- 79.174.85.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-06-17 15:25:01,753 - WARNING - Ping to IP 79.174.85.195 from VM ctest-TestBasicPolicy-75146738-57034629 failed 2026-06-17 15:25:01,753 - INFO - Deleting VM ctest-TestBasicPolicy-75146738-35550583 2026-06-17 15:25:01,831 - INFO - Deleting VM ctest-TestBasicPolicy-75146738-57034629 2026-06-17 15:25:02,176 - INFO - Deleted policy ctest-policy-allow-all-28173822 2026-06-17 15:25:02,176 - INFO - Deleting VN ctest-vn-07925787 2026-06-17 15:25:02,213 - DEBUG - VN c1a54e9d-9593-463e-95fe-d4febe423385 still in use: Unable to complete operation on network c1a54e9d-9593-463e-95fe-d4febe423385. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-75b74ee3-df7b-48dc-bc1e-a742ead80783'] 2026-06-17 15:25:02,213 - WARNING - Deleting VN ctest-vn-07925787 failed..Will retry 2026-06-17 15:25:04,318 - DEBUG - Response for deleting network () 2026-06-17 15:25:04,318 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5e630038-766c-4c5f-9568-58df51beb86c 2026-06-17 15:25:04,325 - DEBUG - Response Code: 404 2026-06-17 15:25:04,325 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-17 15:25:04,331 - DEBUG - Requesting: http://10.0.0.38:8082/domain/423b3f8e-9a2b-4169-ab7d-98b8b281b88c 2026-06-17 15:25:04,386 - DEBUG - Requesting: http://10.0.0.38:8082/project/c519e3ea-c0cf-4d92-af73-694f2c5507c4 2026-06-17 15:25:04,466 - INFO - Validated that VN ctest-vn-07925787 is not found in API Server 2026-06-17 15:25:04,478 - DEBUG - VN ctest-vn-07925787 is not present in Agent 10.0.0.38 2026-06-17 15:25:04,479 - INFO - Validated that VN ctest-vn-07925787 is not in any agent 2026-06-17 15:25:04,502 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-07925787 info 2026-06-17 15:25:04,502 - INFO - Deleting VN ctest-vn-14021889 2026-06-17 15:25:04,607 - DEBUG - Response for deleting network () 2026-06-17 15:25:04,607 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f7b2fc0c-5b09-483f-9d8c-577351cce2fd 2026-06-17 15:25:04,615 - DEBUG - Response Code: 404 2026-06-17 15:25:04,615 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-06-17 15:25:04,621 - DEBUG - Requesting: http://10.0.0.38:8082/domain/423b3f8e-9a2b-4169-ab7d-98b8b281b88c 2026-06-17 15:25:04,676 - DEBUG - Requesting: http://10.0.0.38:8082/project/c519e3ea-c0cf-4d92-af73-694f2c5507c4 2026-06-17 15:25:04,750 - INFO - Validated that VN ctest-vn-14021889 is not found in API Server 2026-06-17 15:25:04,762 - DEBUG - VN ctest-vn-14021889 is not present in Agent 10.0.0.38 2026-06-17 15:25:04,762 - INFO - Validated that VN ctest-vn-14021889 is not in any agent 2026-06-17 15:25:04,784 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-14021889 info 2026-06-17 15:25:05,045 - DEBUG - No XMPP flaps were noticed during the test 2026-06-17 15:25:05,045 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:40] 2026-06-17 15:25:05,046 - INFO - -------------------------------------------------------------------------------- 2026-06-17 15:25:05,860 - INFO - Deleted project: ctest-TestBasicPolicy-75146738, ID : c519e3ea-c0cf-4d92-af73-694f2c5507c4