2026-04-30 02:13:11,909 - INFO - Reading existing Domain with UUID 54f544c9-c831-4d04-9bb9-e86845e32e36 2026-04-30 02:13:11,921 - INFO - Using existing domain ['admin_domain'](54f544c9-c831-4d04-9bb9-e86845e32e36) 2026-04-30 02:13:12,216 - INFO - Project ctest-TestBasicPolicy-61370539 not found, creating it 2026-04-30 02:13:12,735 - INFO - Created Project:ctest-TestBasicPolicy-61370539, ID : 55232f47-d9db-4078-92d3-bef4d5a360ec 2026-04-30 02:13:14,628 - INFO - ================================================================================ 2026-04-30 02:13:14,628 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-30 02:13:14,628 - 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-30 02:13:15,022 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.0.0.27': '0'}} with 2026-04-30 02:13:15,022 - INFO - Initial checks done. Running the testcase now 2026-04-30 02:13:15,022 - INFO - 2026-04-30 02:13:15,806 - DEBUG - Response for create_network : {'network': {'id': '824d077e-c061-4ca6-b3de-9407d23038af', 'name': 'ctest-vn-91477752', 'tenant_id': '55232f47d9db407892d3bef4d5a360ec', 'project_id': '55232f47d9db407892d3bef4d5a360ec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-61370539', 'ctest-vn-91477752'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-04-30 02:13:16,086 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b73b224b-c702-44a4-ac02-62f1fa9251ce', 'name': '', 'tenant_id': '55232f47d9db407892d3bef4d5a360ec', 'network_id': '824d077e-c061-4ca6-b3de-9407d23038af', 'ip_version': 4, 'cidr': '2.88.107.64/26', 'allocation_pools': [{'start': '2.88.107.66', 'end': '2.88.107.126'}], 'gateway_ip': '2.88.107.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-04-30T02:13:15.975271', 'updated_at': '2026-04-30T02:13:15.975271', 'dns_server_address': '2.88.107.66', 'tags': [], 'project_id': '55232f47d9db407892d3bef4d5a360ec'}} 2026-04-30 02:13:16,155 - INFO - Created VN ctest-vn-91477752 2026-04-30 02:13:16,213 - DEBUG - VN ctest-vn-91477752 UUID is 824d077e-c061-4ca6-b3de-9407d23038af 2026-04-30 02:13:16,722 - DEBUG - Response for create_network : {'network': {'id': '043531cf-da74-4f14-af79-b1722e1531e2', 'name': 'ctest-vn-75807542', 'tenant_id': '55232f47d9db407892d3bef4d5a360ec', 'project_id': '55232f47d9db407892d3bef4d5a360ec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-61370539', 'ctest-vn-75807542'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-04-30 02:13:16,958 - DEBUG - Response for create_subnet : {'subnet': {'id': '92e7c483-b137-47c2-a5f2-cf9c88aac0f7', 'name': '', 'tenant_id': '55232f47d9db407892d3bef4d5a360ec', 'network_id': '043531cf-da74-4f14-af79-b1722e1531e2', 'ip_version': 4, 'cidr': '147.19.232.0/26', 'allocation_pools': [{'start': '147.19.232.2', 'end': '147.19.232.62'}], 'gateway_ip': '147.19.232.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-04-30T02:13:16.859969', 'updated_at': '2026-04-30T02:13:16.859969', 'dns_server_address': '147.19.232.2', 'tags': [], 'project_id': '55232f47d9db407892d3bef4d5a360ec'}} 2026-04-30 02:13:17,023 - INFO - Created VN ctest-vn-75807542 2026-04-30 02:13:17,081 - DEBUG - VN ctest-vn-75807542 UUID is 043531cf-da74-4f14-af79-b1722e1531e2 2026-04-30 02:13:17,302 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-61370539:ctest-vn-91477752, 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-61370539:ctest-vn-75807542, 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-30 02:13:17,729 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '824d077e-c061-4ca6-b3de-9407d23038af', 'name': 'ctest-vn-91477752', 'tenant_id': '55232f47d9db407892d3bef4d5a360ec', 'project_id': '55232f47d9db407892d3bef4d5a360ec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b73b224b-c702-44a4-ac02-62f1fa9251ce'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-61370539', 'ctest-vn-91477752'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-61370539', 'ctest-policy-allow-all-46481843']], 'subnet_ipam': [{'subnet_cidr': '2.88.107.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-04-30T02:13:15.721531', 'updated_at': '2026-04-30T02:13:15.990272'}} 2026-04-30 02:13:18,113 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '043531cf-da74-4f14-af79-b1722e1531e2', 'name': 'ctest-vn-75807542', 'tenant_id': '55232f47d9db407892d3bef4d5a360ec', 'project_id': '55232f47d9db407892d3bef4d5a360ec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['92e7c483-b137-47c2-a5f2-cf9c88aac0f7'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-61370539', 'ctest-vn-75807542'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-61370539', 'ctest-policy-allow-all-46481843']], 'subnet_ipam': [{'subnet_cidr': '147.19.232.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-04-30T02:13:16.643257', 'updated_at': '2026-04-30T02:13:16.875714'}} 2026-04-30 02:13:18,297 - DEBUG - Requesting: https://10.0.0.27:8082/domains 2026-04-30 02:13:18,652 - DEBUG - Requesting: https://10.0.0.27:8082/domains 2026-04-30 02:13:18,741 - DEBUG - Requesting: https://10.0.0.27:8082/domain/54f544c9-c831-4d04-9bb9-e86845e32e36 2026-04-30 02:13:18,802 - DEBUG - Requesting: https://10.0.0.27:8082/project/55232f47-d9db-4078-92d3-bef4d5a360ec 2026-04-30 02:13:18,883 - DEBUG - Requesting: https://10.0.0.27:8082/virtual-network/824d077e-c061-4ca6-b3de-9407d23038af 2026-04-30 02:13:18,942 - DEBUG - Requesting: https://10.0.0.27:8082/virtual-network/824d077e-c061-4ca6-b3de-9407d23038af 2026-04-30 02:13:18,999 - DEBUG - Requesting: https://10.0.0.27:8082/routing-instance/e28b04df-2a5e-4ece-825d-912cb9c8ea12 2026-04-30 02:13:19,053 - DEBUG - Requesting: https://10.0.0.27:8082/routing-instance/e28b04df-2a5e-4ece-825d-912cb9c8ea12 2026-04-30 02:13:19,110 - DEBUG - Requesting: https://10.0.0.27:8082/route-target/850463c4-b557-440f-bc8c-39df64687c1b 2026-04-30 02:13:19,165 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-30 02:13:19,166 - DEBUG - Requesting: https://10.0.0.27:8082/virtual-network/824d077e-c061-4ca6-b3de-9407d23038af 2026-04-30 02:13:19,227 - DEBUG - Requesting: https://10.0.0.27:8082/routing-instance/e28b04df-2a5e-4ece-825d-912cb9c8ea12 2026-04-30 02:13:19,291 - INFO - Verified VN network id 11 for VN 824d077e-c061-4ca6-b3de-9407d23038af 2026-04-30 02:13:19,291 - INFO - Verifications in API Server for VN ctest-vn-91477752 passed 2026-04-30 02:13:19,291 - DEBUG - Requesting: https://10.0.0.27:8082/virtual-network/824d077e-c061-4ca6-b3de-9407d23038af 2026-04-30 02:13:19,351 - DEBUG - Requesting: https://10.0.0.27:8082/routing-instance/e28b04df-2a5e-4ece-825d-912cb9c8ea12 2026-04-30 02:13:19,410 - DEBUG - Requesting: https://10.0.0.27:8082/routing-instance/e28b04df-2a5e-4ece-825d-912cb9c8ea12 2026-04-30 02:13:19,462 - DEBUG - Requesting: https://10.0.0.27:8082/route-target/850463c4-b557-440f-bc8c-39df64687c1b 2026-04-30 02:13:19,562 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-61370539:ctest-vn-91477752', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61370539', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9389169039112228006', 'uuid-lslong': '12960959538930923695'}, 'enable': 'true', 'created': '2026-04-30T02:13:15', 'last-modified': '2026-04-30T02:13:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.876264'} 2026-04-30 02:13:19,615 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-30 02:13:19,615 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-91477752 passed 2026-04-30 02:13:19,616 - DEBUG - ====Verifying policy data for ctest-vn-91477752 in API_Server ====== 2026-04-30 02:13:19,616 - DEBUG - Requesting: https://10.0.0.27:8082/domains 2026-04-30 02:13:19,669 - DEBUG - Requesting: https://10.0.0.27:8082/domain/54f544c9-c831-4d04-9bb9-e86845e32e36 2026-04-30 02:13:19,733 - DEBUG - Requesting: https://10.0.0.27:8082/project/55232f47-d9db-4078-92d3-bef4d5a360ec 2026-04-30 02:13:19,818 - DEBUG - Requesting: https://10.0.0.27:8082/virtual-network/824d077e-c061-4ca6-b3de-9407d23038af 2026-04-30 02:13:19,874 - DEBUG - ==>Verifying data for policy with id: 4fe15d43-2d0b-418a-9802-4b7466bac761, fqn: ['admin_domain', 'ctest-TestBasicPolicy-61370539', 'ctest-policy-allow-all-46481843'] 2026-04-30 02:13:19,874 - INFO - VN ctest-vn-91477752 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-30 02:13:19,874 - DEBUG - Verifying the vn in opserver 2026-04-30 02:13:19,874 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-61370539:ctest-vn-91477752 virtual network link through opserver 10.0.0.27 2026-04-30 02:13:19,875 - DEBUG - Requesting: https://10.0.0.27:8081/analytics/uves/virtual-networks 2026-04-30 02:13:20,224 - DEBUG - Requesting: https://10.0.0.27:8081/analytics/uves/virtual-networks 2026-04-30 02:13:20,345 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-61370539:ctest-vn-91477752', 'href': 'https://10.0.0.27:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-61370539:ctest-vn-91477752?flat'} 2026-04-30 02:13:20,345 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-61370539:ctest-vn-91477752 is found in opserver 2026-04-30 02:13:20,441 - DEBUG - Do not have enough data to verify VN in agent 2026-04-30 02:13:20,489 - DEBUG - VRF ids for VN ctest-vn-91477752: {} 2026-04-30 02:13:20,489 - DEBUG - Requesting: https://10.0.0.27:8082/domains 2026-04-30 02:13:20,545 - DEBUG - Requesting: https://10.0.0.27:8082/domain/54f544c9-c831-4d04-9bb9-e86845e32e36 2026-04-30 02:13:20,602 - DEBUG - Requesting: https://10.0.0.27:8082/project/55232f47-d9db-4078-92d3-bef4d5a360ec 2026-04-30 02:13:20,682 - DEBUG - Requesting: https://10.0.0.27:8082/virtual-network/043531cf-da74-4f14-af79-b1722e1531e2 2026-04-30 02:13:20,742 - DEBUG - Requesting: https://10.0.0.27:8082/virtual-network/043531cf-da74-4f14-af79-b1722e1531e2 2026-04-30 02:13:20,798 - DEBUG - Requesting: https://10.0.0.27:8082/routing-instance/5c1954f0-ce12-4ab7-ba7b-3cea13f25d12 2026-04-30 02:13:20,853 - DEBUG - Requesting: https://10.0.0.27:8082/routing-instance/5c1954f0-ce12-4ab7-ba7b-3cea13f25d12 2026-04-30 02:13:20,910 - DEBUG - Requesting: https://10.0.0.27:8082/route-target/6fe3dbb6-29fe-4dab-b886-8f64b5cae899 2026-04-30 02:13:20,969 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-30 02:13:20,969 - DEBUG - Requesting: https://10.0.0.27:8082/virtual-network/043531cf-da74-4f14-af79-b1722e1531e2 2026-04-30 02:13:21,026 - DEBUG - Requesting: https://10.0.0.27:8082/routing-instance/5c1954f0-ce12-4ab7-ba7b-3cea13f25d12 2026-04-30 02:13:21,093 - INFO - Verified VN network id 12 for VN 043531cf-da74-4f14-af79-b1722e1531e2 2026-04-30 02:13:21,093 - INFO - Verifications in API Server for VN ctest-vn-75807542 passed 2026-04-30 02:13:21,094 - DEBUG - Requesting: https://10.0.0.27:8082/virtual-network/043531cf-da74-4f14-af79-b1722e1531e2 2026-04-30 02:13:21,150 - DEBUG - Requesting: https://10.0.0.27:8082/routing-instance/5c1954f0-ce12-4ab7-ba7b-3cea13f25d12 2026-04-30 02:13:21,205 - DEBUG - Requesting: https://10.0.0.27:8082/routing-instance/5c1954f0-ce12-4ab7-ba7b-3cea13f25d12 2026-04-30 02:13:21,258 - DEBUG - Requesting: https://10.0.0.27:8082/route-target/6fe3dbb6-29fe-4dab-b886-8f64b5cae899 2026-04-30 02:13:21,366 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-61370539:ctest-vn-75807542', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61370539', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '303203318710423316', 'uuid-lslong': '12644332532776907234'}, 'enable': 'true', 'created': '2026-04-30T02:13:16', 'last-modified': '2026-04-30T02:13:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.291544'} 2026-04-30 02:13:21,419 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-30 02:13:21,419 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-75807542 passed 2026-04-30 02:13:21,419 - DEBUG - ====Verifying policy data for ctest-vn-75807542 in API_Server ====== 2026-04-30 02:13:21,420 - DEBUG - Requesting: https://10.0.0.27:8082/domains 2026-04-30 02:13:21,473 - DEBUG - Requesting: https://10.0.0.27:8082/domain/54f544c9-c831-4d04-9bb9-e86845e32e36 2026-04-30 02:13:21,534 - DEBUG - Requesting: https://10.0.0.27:8082/project/55232f47-d9db-4078-92d3-bef4d5a360ec 2026-04-30 02:13:21,618 - DEBUG - Requesting: https://10.0.0.27:8082/virtual-network/043531cf-da74-4f14-af79-b1722e1531e2 2026-04-30 02:13:21,675 - DEBUG - ==>Verifying data for policy with id: 4fe15d43-2d0b-418a-9802-4b7466bac761, fqn: ['admin_domain', 'ctest-TestBasicPolicy-61370539', 'ctest-policy-allow-all-46481843'] 2026-04-30 02:13:21,675 - INFO - VN ctest-vn-75807542 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-30 02:13:21,675 - DEBUG - Verifying the vn in opserver 2026-04-30 02:13:21,675 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-61370539:ctest-vn-75807542 virtual network link through opserver 10.0.0.27 2026-04-30 02:13:21,675 - DEBUG - Requesting: https://10.0.0.27:8081/analytics/uves/virtual-networks 2026-04-30 02:13:21,729 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-61370539:ctest-vn-75807542', 'href': 'https://10.0.0.27:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-61370539:ctest-vn-75807542?flat'} 2026-04-30 02:13:21,729 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-61370539:ctest-vn-75807542 is found in opserver 2026-04-30 02:13:21,829 - DEBUG - Do not have enough data to verify VN in agent 2026-04-30 02:13:21,885 - DEBUG - VRF ids for VN ctest-vn-75807542: {} 2026-04-30 02:13:21,962 - DEBUG - Services list from nova: [, , ] 2026-04-30 02:13:23,104 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-699-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-699-1) 2026-04-30 02:13:24,431 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-699-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-699-1) 2026-04-30 02:13:24,432 - INFO - Waiting for VM ctest-TestBasicPolicy-61370539-35650482 to be up.. 2026-04-30 02:13:24,614 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-30 02:13:29,763 - DEBUG - VM is in ACTIVE state now 2026-04-30 02:13:29,763 - INFO - VM name : ctest-TestBasicPolicy-61370539-35650482 2026-04-30 02:13:29,923 - DEBUG - VM ctest-TestBasicPolicy-61370539-35650482 ID is 2c809829-f8c0-48d1-ac21-d37f3c2f200f 2026-04-30 02:13:29,949 - DEBUG - VM ctest-TestBasicPolicy-61370539-35650482 launched on Node cn-jenkins-deploy-platform-juju-os-699-1 2026-04-30 02:13:30,087 - DEBUG - Requesting: https://10.0.0.27:8082/virtual-machine/2c809829-f8c0-48d1-ac21-d37f3c2f200f 2026-04-30 02:13:30,145 - DEBUG - Requesting: https://10.0.0.27:8082/virtual-machine-interface/5dc8c7c3-d2d2-41af-949e-c0136752e97f 2026-04-30 02:13:33,610 - 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 1004ms') 2026-04-30 02:13:33,610 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-61370539-35650482 failed! 2026-04-30 02:13:33,668 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicPolicy-61370539:ctest-vn-91477752 is 2.88.107.65 and allocation pool is NOT set 2026-04-30 02:13:35,754 - 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=4.73 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.21 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.208/2.966/4.725/1.758 ms') 2026-04-30 02:13:35,754 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-61370539-35650482 passed 2026-04-30 02:13:35,917 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-30 02:13:35,917 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-61370539-35650482, IP 2.88.107.67, Port 22 2026-04-30 02:13:36,007 - 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-30 02:13:36,152 - DEBUG - VM ctest-TestBasicPolicy-61370539-35650482 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-30 02:13:41,152 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-30 02:13:41,153 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-61370539-35650482, IP 2.88.107.67, Port 22 2026-04-30 02:13:41,379 - DEBUG - VM ctest-TestBasicPolicy-61370539-35650482 is ready for SSH connections 2026-04-30 02:13:41,379 - INFO - Waiting for VM ctest-TestBasicPolicy-61370539-78600316 to be up.. 2026-04-30 02:13:41,520 - DEBUG - VM is in ACTIVE state now 2026-04-30 02:13:41,520 - INFO - VM name : ctest-TestBasicPolicy-61370539-78600316 2026-04-30 02:13:41,660 - DEBUG - VM ctest-TestBasicPolicy-61370539-78600316 ID is 82507f6f-f92c-49a5-9321-3fc63688997b 2026-04-30 02:13:41,661 - DEBUG - VM ctest-TestBasicPolicy-61370539-78600316 launched on Node cn-jenkins-deploy-platform-juju-os-699-1 2026-04-30 02:13:41,812 - DEBUG - Requesting: https://10.0.0.27:8082/virtual-machine/82507f6f-f92c-49a5-9321-3fc63688997b 2026-04-30 02:13:41,865 - DEBUG - Requesting: https://10.0.0.27:8082/virtual-machine-interface/2ee905fd-b1b8-4f67-a786-40bfa22791d7 2026-04-30 02:13:43,323 - 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=2.95 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.425 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.425/1.685/2.945/1.260 ms') 2026-04-30 02:13:43,323 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-61370539-78600316 passed 2026-04-30 02:13:43,477 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-30 02:13:43,477 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-61370539-78600316, IP 147.19.232.3, Port 22 2026-04-30 02:13:43,691 - DEBUG - VM ctest-TestBasicPolicy-61370539-78600316 is ready for SSH connections 2026-04-30 02:13:43,691 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-30 02:13:43,691 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 147.19.232.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2026-04-30 02:13:43,691 - DEBUG - ping -s 56 -c 3 -W 1 147.19.232.3 2026-04-30 02:13:47,779 - DEBUG - PING 147.19.232.3 (147.19.232.3): 56 data bytes 64 bytes from 147.19.232.3: seq=0 ttl=63 time=4.478 ms 64 bytes from 147.19.232.3: seq=1 ttl=63 time=1.184 ms 64 bytes from 147.19.232.3: seq=2 ttl=63 time=0.902 ms --- 147.19.232.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.902/2.188/4.478 ms 2026-04-30 02:13:47,779 - INFO - Ping to IP 147.19.232.3 from VM ctest-TestBasicPolicy-61370539-35650482 passed 2026-04-30 02:13:47,964 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4fe15d43-2d0b-418a-9802-4b7466bac761", "href": "https://10.0.0.27:8082/network-policy/4fe15d43-2d0b-418a-9802-4b7466bac761"}} 2026-04-30 02:13:47,964 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-30 02:13:47,964 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 147.19.232.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2026-04-30 02:13:47,965 - DEBUG - ping -s 56 -c 3 -W 1 147.19.232.3 2026-04-30 02:13:51,193 - DEBUG - PING 147.19.232.3 (147.19.232.3): 56 data bytes --- 147.19.232.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-30 02:13:51,193 - WARNING - Ping to IP 147.19.232.3 from VM ctest-TestBasicPolicy-61370539-35650482 failed 2026-04-30 02:13:51,193 - INFO - Deleting VM ctest-TestBasicPolicy-61370539-78600316 2026-04-30 02:13:51,306 - INFO - Deleting VM ctest-TestBasicPolicy-61370539-35650482 2026-04-30 02:13:52,050 - INFO - Deleted policy ctest-policy-allow-all-46481843 2026-04-30 02:13:52,050 - INFO - Deleting VN ctest-vn-75807542 2026-04-30 02:13:52,192 - DEBUG - VN 043531cf-da74-4f14-af79-b1722e1531e2 still in use: Unable to complete operation on network 043531cf-da74-4f14-af79-b1722e1531e2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fa642b20-dd56-46a1-a3b9-ce8aaadcc237'] 2026-04-30 02:13:52,192 - WARNING - Deleting VN ctest-vn-75807542 failed..Will retry 2026-04-30 02:13:54,513 - DEBUG - Response for deleting network () 2026-04-30 02:13:54,513 - DEBUG - Requesting: https://10.0.0.27:8082/routing-instance/5c1954f0-ce12-4ab7-ba7b-3cea13f25d12 2026-04-30 02:13:54,569 - DEBUG - Response Code: 404 2026-04-30 02:13:54,569 - DEBUG - Requesting: https://10.0.0.27:8082/domains 2026-04-30 02:13:54,621 - DEBUG - Requesting: https://10.0.0.27:8082/domain/54f544c9-c831-4d04-9bb9-e86845e32e36 2026-04-30 02:13:54,682 - DEBUG - Requesting: https://10.0.0.27:8082/project/55232f47-d9db-4078-92d3-bef4d5a360ec 2026-04-30 02:13:54,762 - INFO - Validated that VN ctest-vn-75807542 is not found in API Server 2026-04-30 02:13:54,857 - DEBUG - VN ctest-vn-75807542 is not present in Agent 10.0.0.27 2026-04-30 02:13:54,857 - INFO - Validated that VN ctest-vn-75807542 is not in any agent 2026-04-30 02:13:55,005 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-75807542 info 2026-04-30 02:13:55,006 - INFO - Deleting VN ctest-vn-91477752 2026-04-30 02:13:55,209 - DEBUG - Response for deleting network () 2026-04-30 02:13:55,209 - DEBUG - Requesting: https://10.0.0.27:8082/routing-instance/e28b04df-2a5e-4ece-825d-912cb9c8ea12 2026-04-30 02:13:55,260 - DEBUG - Response Code: 404 2026-04-30 02:13:55,261 - DEBUG - Requesting: https://10.0.0.27:8082/domains 2026-04-30 02:13:55,313 - DEBUG - Requesting: https://10.0.0.27:8082/domain/54f544c9-c831-4d04-9bb9-e86845e32e36 2026-04-30 02:13:55,373 - DEBUG - Requesting: https://10.0.0.27:8082/project/55232f47-d9db-4078-92d3-bef4d5a360ec 2026-04-30 02:13:55,454 - INFO - Validated that VN ctest-vn-91477752 is not found in API Server 2026-04-30 02:13:55,553 - DEBUG - VN ctest-vn-91477752 is not present in Agent 10.0.0.27 2026-04-30 02:13:55,553 - INFO - Validated that VN ctest-vn-91477752 is not in any agent 2026-04-30 02:13:55,697 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-91477752 info 2026-04-30 02:13:56,077 - DEBUG - No XMPP flaps were noticed during the test
2026-04-30 02:13:56,077 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:42]
2026-04-30 02:13:56,078 - INFO - -------------------------------------------------------------------------------- 2026-04-30 02:13:56,886 - INFO - Deleted project: ctest-TestBasicPolicy-61370539, ID : 55232f47-d9db-4078-92d3-bef4d5a360ec