2026-06-15 01:42:56,911 - INFO - Reading existing Domain with UUID 21359ce1-50e9-4d69-b64c-799df2e42682 2026-06-15 01:42:56,921 - INFO - Using existing domain ['admin_domain'](21359ce1-50e9-4d69-b64c-799df2e42682) 2026-06-15 01:42:57,114 - INFO - Project ctest-TestBasicPolicy-90511333 not found, creating it 2026-06-15 01:42:57,631 - INFO - Created Project:ctest-TestBasicPolicy-90511333, ID : 3735cc75-c609-4516-9a0f-2af64db45c29 2026-06-15 01:42:59,306 - INFO - ================================================================================ 2026-06-15 01:42:59,306 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-15 01:42:59,306 - 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-15 01:42:59,686 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.0.0.19': '0'}} with 2026-06-15 01:42:59,686 - INFO - Initial checks done. Running the testcase now 2026-06-15 01:42:59,686 - INFO - 2026-06-15 01:43:00,446 - DEBUG - Response for create_network : {'network': {'id': 'a9898ef1-7ae8-48dd-bd7c-46501a21bbc0', 'name': 'ctest-vn-12524512', 'tenant_id': '3735cc75c60945169a0f2af64db45c29', 'project_id': '3735cc75c60945169a0f2af64db45c29', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-90511333', 'ctest-vn-12524512'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-06-15 01:43:00,705 - DEBUG - Response for create_subnet : {'subnet': {'id': '970e006e-06a1-42bf-b59e-0e8fffd7873a', 'name': '', 'tenant_id': '3735cc75c60945169a0f2af64db45c29', 'network_id': 'a9898ef1-7ae8-48dd-bd7c-46501a21bbc0', 'ip_version': 4, 'cidr': '223.58.172.64/26', 'allocation_pools': [{'start': '223.58.172.66', 'end': '223.58.172.126'}], 'gateway_ip': '223.58.172.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-06-15T01:43:00.612944', 'updated_at': '2026-06-15T01:43:00.612944', 'dns_server_address': '223.58.172.66', 'tags': [], 'project_id': '3735cc75c60945169a0f2af64db45c29'}} 2026-06-15 01:43:00,767 - INFO - Created VN ctest-vn-12524512 2026-06-15 01:43:00,821 - DEBUG - VN ctest-vn-12524512 UUID is a9898ef1-7ae8-48dd-bd7c-46501a21bbc0 2026-06-15 01:43:01,311 - DEBUG - Response for create_network : {'network': {'id': '5879b353-6958-47b0-bfc6-c84d9a3a6b87', 'name': 'ctest-vn-12615455', 'tenant_id': '3735cc75c60945169a0f2af64db45c29', 'project_id': '3735cc75c60945169a0f2af64db45c29', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-90511333', 'ctest-vn-12615455'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-06-15 01:43:01,537 - DEBUG - Response for create_subnet : {'subnet': {'id': '7a6ed9e0-0c78-49f2-9cca-55888e9dd5dc', 'name': '', 'tenant_id': '3735cc75c60945169a0f2af64db45c29', 'network_id': '5879b353-6958-47b0-bfc6-c84d9a3a6b87', 'ip_version': 4, 'cidr': '141.253.10.64/26', 'allocation_pools': [{'start': '141.253.10.66', 'end': '141.253.10.126'}], 'gateway_ip': '141.253.10.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-06-15T01:43:01.441850', 'updated_at': '2026-06-15T01:43:01.441850', 'dns_server_address': '141.253.10.66', 'tags': [], 'project_id': '3735cc75c60945169a0f2af64db45c29'}} 2026-06-15 01:43:01,604 - INFO - Created VN ctest-vn-12615455 2026-06-15 01:43:01,657 - DEBUG - VN ctest-vn-12615455 UUID is 5879b353-6958-47b0-bfc6-c84d9a3a6b87 2026-06-15 01:43:01,874 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-90511333:ctest-vn-12524512, security_group = None, network_policy = None, subnet_list = []], src_ports = [start_port = -1, end_port = -1], application = [], dst_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-90511333:ctest-vn-12615455, 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-15 01:43:02,301 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a9898ef1-7ae8-48dd-bd7c-46501a21bbc0', 'name': 'ctest-vn-12524512', 'tenant_id': '3735cc75c60945169a0f2af64db45c29', 'project_id': '3735cc75c60945169a0f2af64db45c29', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['970e006e-06a1-42bf-b59e-0e8fffd7873a'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-90511333', 'ctest-vn-12524512'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-90511333', 'ctest-policy-allow-all-95119119']], 'subnet_ipam': [{'subnet_cidr': '223.58.172.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-06-15T01:43:00.370337', 'updated_at': '2026-06-15T01:43:00.624878'}} 2026-06-15 01:43:02,641 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5879b353-6958-47b0-bfc6-c84d9a3a6b87', 'name': 'ctest-vn-12615455', 'tenant_id': '3735cc75c60945169a0f2af64db45c29', 'project_id': '3735cc75c60945169a0f2af64db45c29', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7a6ed9e0-0c78-49f2-9cca-55888e9dd5dc'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-90511333', 'ctest-vn-12615455'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-90511333', 'ctest-policy-allow-all-95119119']], 'subnet_ipam': [{'subnet_cidr': '141.253.10.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-06-15T01:43:01.229180', 'updated_at': '2026-06-15T01:43:01.454249'}} 2026-06-15 01:43:02,817 - DEBUG - Requesting: https://10.0.0.19:8082/domains 2026-06-15 01:43:03,171 - DEBUG - Requesting: https://10.0.0.19:8082/domains 2026-06-15 01:43:03,261 - DEBUG - Requesting: https://10.0.0.19:8082/domain/21359ce1-50e9-4d69-b64c-799df2e42682 2026-06-15 01:43:03,318 - DEBUG - Requesting: https://10.0.0.19:8082/project/3735cc75-c609-4516-9a0f-2af64db45c29 2026-06-15 01:43:03,402 - DEBUG - Requesting: https://10.0.0.19:8082/virtual-network/a9898ef1-7ae8-48dd-bd7c-46501a21bbc0 2026-06-15 01:43:03,459 - DEBUG - Requesting: https://10.0.0.19:8082/virtual-network/a9898ef1-7ae8-48dd-bd7c-46501a21bbc0 2026-06-15 01:43:03,515 - DEBUG - Requesting: https://10.0.0.19:8082/routing-instance/0b893137-ffbf-49a7-a0b9-a5fb74f1ce47 2026-06-15 01:43:03,570 - DEBUG - Requesting: https://10.0.0.19:8082/routing-instance/0b893137-ffbf-49a7-a0b9-a5fb74f1ce47 2026-06-15 01:43:03,626 - DEBUG - Requesting: https://10.0.0.19:8082/route-target/363873e1-a43e-46e7-9f04-2bacf91c91ff 2026-06-15 01:43:03,678 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-15 01:43:03,678 - DEBUG - Requesting: https://10.0.0.19:8082/virtual-network/a9898ef1-7ae8-48dd-bd7c-46501a21bbc0 2026-06-15 01:43:03,739 - DEBUG - Requesting: https://10.0.0.19:8082/routing-instance/0b893137-ffbf-49a7-a0b9-a5fb74f1ce47 2026-06-15 01:43:03,804 - INFO - Verified VN network id 11 for VN a9898ef1-7ae8-48dd-bd7c-46501a21bbc0 2026-06-15 01:43:03,804 - INFO - Verifications in API Server for VN ctest-vn-12524512 passed 2026-06-15 01:43:03,804 - DEBUG - Requesting: https://10.0.0.19:8082/virtual-network/a9898ef1-7ae8-48dd-bd7c-46501a21bbc0 2026-06-15 01:43:03,866 - DEBUG - Requesting: https://10.0.0.19:8082/routing-instance/0b893137-ffbf-49a7-a0b9-a5fb74f1ce47 2026-06-15 01:43:03,922 - DEBUG - Requesting: https://10.0.0.19:8082/routing-instance/0b893137-ffbf-49a7-a0b9-a5fb74f1ce47 2026-06-15 01:43:03,978 - DEBUG - Requesting: https://10.0.0.19:8082/route-target/363873e1-a43e-46e7-9f04-2bacf91c91ff 2026-06-15 01:43:04,086 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-90511333:ctest-vn-12524512', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90511333', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12216452632019486941', 'uuid-lslong': '13653865480130247616'}, 'enable': 'true', 'created': '2026-06-15T01:43:00', 'last-modified': '2026-06-15T01:43:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.811732'} 2026-06-15 01:43:04,143 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-15 01:43:04,143 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-12524512 passed 2026-06-15 01:43:04,143 - DEBUG - ====Verifying policy data for ctest-vn-12524512 in API_Server ====== 2026-06-15 01:43:04,143 - DEBUG - Requesting: https://10.0.0.19:8082/domains 2026-06-15 01:43:04,201 - DEBUG - Requesting: https://10.0.0.19:8082/domain/21359ce1-50e9-4d69-b64c-799df2e42682 2026-06-15 01:43:04,262 - DEBUG - Requesting: https://10.0.0.19:8082/project/3735cc75-c609-4516-9a0f-2af64db45c29 2026-06-15 01:43:04,350 - DEBUG - Requesting: https://10.0.0.19:8082/virtual-network/a9898ef1-7ae8-48dd-bd7c-46501a21bbc0 2026-06-15 01:43:04,413 - DEBUG - ==>Verifying data for policy with id: 60d52d0d-d3af-4dc4-bc42-7be74fce1ec1, fqn: ['admin_domain', 'ctest-TestBasicPolicy-90511333', 'ctest-policy-allow-all-95119119'] 2026-06-15 01:43:04,413 - INFO - VN ctest-vn-12524512 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-15 01:43:04,413 - DEBUG - Verifying the vn in opserver 2026-06-15 01:43:04,413 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-90511333:ctest-vn-12524512 virtual network link through opserver 10.0.0.19 2026-06-15 01:43:04,413 - DEBUG - Requesting: https://10.0.0.19:8081/analytics/uves/virtual-networks 2026-06-15 01:43:04,766 - DEBUG - Requesting: https://10.0.0.19:8081/analytics/uves/virtual-networks 2026-06-15 01:43:04,881 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-90511333:ctest-vn-12524512', 'href': 'https://10.0.0.19:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-90511333:ctest-vn-12524512?flat'} 2026-06-15 01:43:04,882 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-90511333:ctest-vn-12524512 is found in opserver 2026-06-15 01:43:04,977 - DEBUG - Do not have enough data to verify VN in agent 2026-06-15 01:43:05,025 - DEBUG - VRF ids for VN ctest-vn-12524512: {} 2026-06-15 01:43:05,025 - DEBUG - Requesting: https://10.0.0.19:8082/domains 2026-06-15 01:43:05,078 - DEBUG - Requesting: https://10.0.0.19:8082/domain/21359ce1-50e9-4d69-b64c-799df2e42682 2026-06-15 01:43:05,139 - DEBUG - Requesting: https://10.0.0.19:8082/project/3735cc75-c609-4516-9a0f-2af64db45c29 2026-06-15 01:43:05,219 - DEBUG - Requesting: https://10.0.0.19:8082/virtual-network/5879b353-6958-47b0-bfc6-c84d9a3a6b87 2026-06-15 01:43:05,278 - DEBUG - Requesting: https://10.0.0.19:8082/virtual-network/5879b353-6958-47b0-bfc6-c84d9a3a6b87 2026-06-15 01:43:05,335 - DEBUG - Requesting: https://10.0.0.19:8082/routing-instance/bda8b804-d79e-4ec9-87bd-56793820c9ef 2026-06-15 01:43:05,390 - DEBUG - Requesting: https://10.0.0.19:8082/routing-instance/bda8b804-d79e-4ec9-87bd-56793820c9ef 2026-06-15 01:43:05,450 - DEBUG - Requesting: https://10.0.0.19:8082/route-target/ac44fb5b-e213-492b-a161-4138dd683825 2026-06-15 01:43:05,506 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-15 01:43:05,506 - DEBUG - Requesting: https://10.0.0.19:8082/virtual-network/5879b353-6958-47b0-bfc6-c84d9a3a6b87 2026-06-15 01:43:05,562 - DEBUG - Requesting: https://10.0.0.19:8082/routing-instance/bda8b804-d79e-4ec9-87bd-56793820c9ef 2026-06-15 01:43:05,628 - INFO - Verified VN network id 12 for VN 5879b353-6958-47b0-bfc6-c84d9a3a6b87 2026-06-15 01:43:05,628 - INFO - Verifications in API Server for VN ctest-vn-12615455 passed 2026-06-15 01:43:05,628 - DEBUG - Requesting: https://10.0.0.19:8082/virtual-network/5879b353-6958-47b0-bfc6-c84d9a3a6b87 2026-06-15 01:43:05,683 - DEBUG - Requesting: https://10.0.0.19:8082/routing-instance/bda8b804-d79e-4ec9-87bd-56793820c9ef 2026-06-15 01:43:05,734 - DEBUG - Requesting: https://10.0.0.19:8082/routing-instance/bda8b804-d79e-4ec9-87bd-56793820c9ef 2026-06-15 01:43:05,790 - DEBUG - Requesting: https://10.0.0.19:8082/route-target/ac44fb5b-e213-492b-a161-4138dd683825 2026-06-15 01:43:05,898 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-90511333:ctest-vn-12615455', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90511333', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6375323918350698416', 'uuid-lslong': '13818952742258502535'}, 'enable': 'true', 'created': '2026-06-15T01:43:01', 'last-modified': '2026-06-15T01:43:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.284938'} 2026-06-15 01:43:05,951 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-15 01:43:05,951 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-12615455 passed 2026-06-15 01:43:05,952 - DEBUG - ====Verifying policy data for ctest-vn-12615455 in API_Server ====== 2026-06-15 01:43:05,952 - DEBUG - Requesting: https://10.0.0.19:8082/domains 2026-06-15 01:43:06,005 - DEBUG - Requesting: https://10.0.0.19:8082/domain/21359ce1-50e9-4d69-b64c-799df2e42682 2026-06-15 01:43:06,062 - DEBUG - Requesting: https://10.0.0.19:8082/project/3735cc75-c609-4516-9a0f-2af64db45c29 2026-06-15 01:43:06,154 - DEBUG - Requesting: https://10.0.0.19:8082/virtual-network/5879b353-6958-47b0-bfc6-c84d9a3a6b87 2026-06-15 01:43:06,211 - DEBUG - ==>Verifying data for policy with id: 60d52d0d-d3af-4dc4-bc42-7be74fce1ec1, fqn: ['admin_domain', 'ctest-TestBasicPolicy-90511333', 'ctest-policy-allow-all-95119119'] 2026-06-15 01:43:06,211 - INFO - VN ctest-vn-12615455 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-15 01:43:06,211 - DEBUG - Verifying the vn in opserver 2026-06-15 01:43:06,211 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-90511333:ctest-vn-12615455 virtual network link through opserver 10.0.0.19 2026-06-15 01:43:06,211 - DEBUG - Requesting: https://10.0.0.19:8081/analytics/uves/virtual-networks 2026-06-15 01:43:06,269 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-90511333:ctest-vn-12615455', 'href': 'https://10.0.0.19:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-90511333:ctest-vn-12615455?flat'} 2026-06-15 01:43:06,269 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-90511333:ctest-vn-12615455 is found in opserver 2026-06-15 01:43:06,366 - DEBUG - Do not have enough data to verify VN in agent 2026-06-15 01:43:06,417 - DEBUG - VRF ids for VN ctest-vn-12615455: {} 2026-06-15 01:43:06,494 - DEBUG - Services list from nova: [, , ] 2026-06-15 01:43:07,558 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-712-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-712-1) 2026-06-15 01:43:08,810 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-712-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-712-1) 2026-06-15 01:43:08,810 - INFO - Waiting for VM ctest-TestBasicPolicy-90511333-19029429 to be up.. 2026-06-15 01:43:08,962 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-15 01:43:14,098 - DEBUG - VM is in ACTIVE state now 2026-06-15 01:43:14,098 - INFO - VM name : ctest-TestBasicPolicy-90511333-19029429 2026-06-15 01:43:14,254 - DEBUG - VM ctest-TestBasicPolicy-90511333-19029429 ID is a13ae9d2-2ea7-4ee5-97f6-0e019d82170a 2026-06-15 01:43:14,282 - DEBUG - VM ctest-TestBasicPolicy-90511333-19029429 launched on Node cn-jenkins-deploy-platform-juju-os-712-1 2026-06-15 01:43:14,431 - DEBUG - Requesting: https://10.0.0.19:8082/virtual-machine/a13ae9d2-2ea7-4ee5-97f6-0e019d82170a 2026-06-15 01:43:14,490 - DEBUG - Requesting: https://10.0.0.19:8082/virtual-machine-interface/09bdf87f-cefe-408c-a841-f61b70b786fc 2026-06-15 01:43:17,975 - 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 1027ms') 2026-06-15 01:43:17,975 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-90511333-19029429 failed! 2026-06-15 01:43:18,037 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicPolicy-90511333:ctest-vn-12524512 is 223.58.172.65 and allocation pool is NOT set 2026-06-15 01:43:20,131 - 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.30 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.482 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.482/3.889/7.297/3.407 ms') 2026-06-15 01:43:20,131 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-90511333-19029429 passed 2026-06-15 01:43:20,281 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-15 01:43:20,281 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-90511333-19029429, IP 223.58.172.67, Port 22 2026-06-15 01:43:20,368 - 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-15 01:43:20,502 - DEBUG - VM ctest-TestBasicPolicy-90511333-19029429 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-15 01:43:25,503 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-15 01:43:25,503 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-90511333-19029429, IP 223.58.172.67, Port 22 2026-06-15 01:43:25,719 - DEBUG - VM ctest-TestBasicPolicy-90511333-19029429 is ready for SSH connections 2026-06-15 01:43:25,720 - INFO - Waiting for VM ctest-TestBasicPolicy-90511333-24130270 to be up.. 2026-06-15 01:43:25,854 - DEBUG - VM is in ACTIVE state now 2026-06-15 01:43:25,854 - INFO - VM name : ctest-TestBasicPolicy-90511333-24130270 2026-06-15 01:43:25,987 - DEBUG - VM ctest-TestBasicPolicy-90511333-24130270 ID is b3678e9a-4e8b-4c56-9c4b-b3a2e38f6ca6 2026-06-15 01:43:25,988 - DEBUG - VM ctest-TestBasicPolicy-90511333-24130270 launched on Node cn-jenkins-deploy-platform-juju-os-712-1 2026-06-15 01:43:26,126 - DEBUG - Requesting: https://10.0.0.19:8082/virtual-machine/b3678e9a-4e8b-4c56-9c4b-b3a2e38f6ca6 2026-06-15 01:43:26,182 - DEBUG - Requesting: https://10.0.0.19:8082/virtual-machine-interface/1f48d8e7-5dd6-4360-a6ec-6dd75c179756 2026-06-15 01:43:27,620 - 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.63 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.372 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.372/2.002/3.632/1.630 ms') 2026-06-15 01:43:27,620 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-90511333-24130270 passed 2026-06-15 01:43:27,769 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-15 01:43:27,769 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-90511333-24130270, IP 141.253.10.67, Port 22 2026-06-15 01:43:27,979 - DEBUG - VM ctest-TestBasicPolicy-90511333-24130270 is ready for SSH connections 2026-06-15 01:43:27,979 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-15 01:43:27,979 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 141.253.10.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-06-15 01:43:27,979 - DEBUG - ping -s 56 -c 3 -W 1 141.253.10.67 2026-06-15 01:43:32,044 - DEBUG - PING 141.253.10.67 (141.253.10.67): 56 data bytes 64 bytes from 141.253.10.67: seq=0 ttl=63 time=3.470 ms 64 bytes from 141.253.10.67: seq=1 ttl=63 time=0.970 ms 64 bytes from 141.253.10.67: seq=2 ttl=63 time=0.960 ms --- 141.253.10.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.960/1.800/3.470 ms 2026-06-15 01:43:32,044 - INFO - Ping to IP 141.253.10.67 from VM ctest-TestBasicPolicy-90511333-19029429 passed 2026-06-15 01:43:32,221 - DEBUG - Policy Update Response {"network-policy": {"uuid": "60d52d0d-d3af-4dc4-bc42-7be74fce1ec1", "href": "https://10.0.0.19:8082/network-policy/60d52d0d-d3af-4dc4-bc42-7be74fce1ec1"}} 2026-06-15 01:43:32,221 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-15 01:43:32,221 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 141.253.10.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-06-15 01:43:32,221 - DEBUG - ping -s 56 -c 3 -W 1 141.253.10.67 2026-06-15 01:43:35,437 - DEBUG - PING 141.253.10.67 (141.253.10.67): 56 data bytes --- 141.253.10.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-06-15 01:43:35,437 - WARNING - Ping to IP 141.253.10.67 from VM ctest-TestBasicPolicy-90511333-19029429 failed 2026-06-15 01:43:35,437 - INFO - Deleting VM ctest-TestBasicPolicy-90511333-24130270 2026-06-15 01:43:35,545 - INFO - Deleting VM ctest-TestBasicPolicy-90511333-19029429 2026-06-15 01:43:36,265 - INFO - Deleted policy ctest-policy-allow-all-95119119 2026-06-15 01:43:36,265 - INFO - Deleting VN ctest-vn-12615455 2026-06-15 01:43:36,408 - DEBUG - VN 5879b353-6958-47b0-bfc6-c84d9a3a6b87 still in use: Unable to complete operation on network 5879b353-6958-47b0-bfc6-c84d9a3a6b87. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-599563e2-878a-4ef8-a5f0-dfdbac629a56'] 2026-06-15 01:43:36,408 - WARNING - Deleting VN ctest-vn-12615455 failed..Will retry 2026-06-15 01:43:38,555 - DEBUG - Response for deleting network () 2026-06-15 01:43:38,555 - DEBUG - Requesting: https://10.0.0.19:8082/routing-instance/bda8b804-d79e-4ec9-87bd-56793820c9ef 2026-06-15 01:43:38,609 - DEBUG - Response Code: 404 2026-06-15 01:43:38,609 - DEBUG - Requesting: https://10.0.0.19:8082/domains 2026-06-15 01:43:38,661 - DEBUG - Requesting: https://10.0.0.19:8082/domain/21359ce1-50e9-4d69-b64c-799df2e42682 2026-06-15 01:43:38,718 - DEBUG - Requesting: https://10.0.0.19:8082/project/3735cc75-c609-4516-9a0f-2af64db45c29 2026-06-15 01:43:38,798 - INFO - Validated that VN ctest-vn-12615455 is not found in API Server 2026-06-15 01:43:38,897 - DEBUG - VN ctest-vn-12615455 is not present in Agent 10.0.0.19 2026-06-15 01:43:38,897 - INFO - Validated that VN ctest-vn-12615455 is not in any agent 2026-06-15 01:43:39,046 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-12615455 info 2026-06-15 01:43:39,046 - INFO - Deleting VN ctest-vn-12524512 2026-06-15 01:43:39,209 - DEBUG - Response for deleting network () 2026-06-15 01:43:39,209 - DEBUG - Requesting: https://10.0.0.19:8082/routing-instance/0b893137-ffbf-49a7-a0b9-a5fb74f1ce47 2026-06-15 01:43:39,261 - DEBUG - Response Code: 404 2026-06-15 01:43:39,261 - DEBUG - Requesting: https://10.0.0.19:8082/domains 2026-06-15 01:43:39,313 - DEBUG - Requesting: https://10.0.0.19:8082/domain/21359ce1-50e9-4d69-b64c-799df2e42682 2026-06-15 01:43:39,370 - DEBUG - Requesting: https://10.0.0.19:8082/project/3735cc75-c609-4516-9a0f-2af64db45c29 2026-06-15 01:43:39,446 - INFO - Validated that VN ctest-vn-12524512 is not found in API Server 2026-06-15 01:43:39,541 - DEBUG - VN ctest-vn-12524512 is not present in Agent 10.0.0.19 2026-06-15 01:43:39,541 - INFO - Validated that VN ctest-vn-12524512 is not in any agent 2026-06-15 01:43:39,690 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-12524512 info 2026-06-15 01:43:40,070 - DEBUG - No XMPP flaps were noticed during the test 2026-06-15 01:43:40,070 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:41] 2026-06-15 01:43:40,070 - INFO - -------------------------------------------------------------------------------- 2026-06-15 01:43:40,862 - INFO - Deleted project: ctest-TestBasicPolicy-90511333, ID : 3735cc75-c609-4516-9a0f-2af64db45c29