2026-02-26 01:50:00,435 - INFO - Reading existing Domain with UUID f6868889-8458-4392-b4ae-21dc8466dc91 2026-02-26 01:50:00,449 - INFO - Using existing domain ['admin_domain'](f6868889-8458-4392-b4ae-21dc8466dc91) 2026-02-26 01:50:00,702 - INFO - Project ctest-TestBasicPolicy-48516442 not found, creating it 2026-02-26 01:50:01,302 - INFO - Created Project:ctest-TestBasicPolicy-48516442, ID : 5d194f5a-d6d1-4d94-b9fe-a4848ff2c933 2026-02-26 01:50:03,444 - INFO - ================================================================================ 2026-02-26 01:50:03,444 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-26 01:50:03,444 - 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-02-26 01:50:03,844 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.0.0.141': '0'}} with 2026-02-26 01:50:03,844 - INFO - Initial checks done. Running the testcase now 2026-02-26 01:50:03,845 - INFO - 2026-02-26 01:50:04,659 - DEBUG - Response for create_network : {'network': {'id': '5db7c23b-9889-44d8-b344-fb3366112478', 'name': 'ctest-vn-48278400', 'tenant_id': '5d194f5ad6d14d94b9fea4848ff2c933', 'project_id': '5d194f5ad6d14d94b9fea4848ff2c933', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-48516442', 'ctest-vn-48278400'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-02-26 01:50:04,924 - DEBUG - Response for create_subnet : {'subnet': {'id': '4891cdda-3aa6-4928-b4ba-528fff79ac03', 'name': '', 'tenant_id': '5d194f5ad6d14d94b9fea4848ff2c933', 'network_id': '5db7c23b-9889-44d8-b344-fb3366112478', 'ip_version': 4, 'cidr': '203.24.155.192/26', 'allocation_pools': [{'start': '203.24.155.194', 'end': '203.24.155.254'}], 'gateway_ip': '203.24.155.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-02-26T01:50:04.814246', 'updated_at': '2026-02-26T01:50:04.814246', 'dns_server_address': '203.24.155.194', 'tags': [], 'project_id': '5d194f5ad6d14d94b9fea4848ff2c933'}} 2026-02-26 01:50:04,993 - INFO - Created VN ctest-vn-48278400 2026-02-26 01:50:05,051 - DEBUG - VN ctest-vn-48278400 UUID is 5db7c23b-9889-44d8-b344-fb3366112478 2026-02-26 01:50:05,615 - DEBUG - Response for create_network : {'network': {'id': '8a72e86f-cc80-4da7-b2dc-0f0947a31e2f', 'name': 'ctest-vn-31559103', 'tenant_id': '5d194f5ad6d14d94b9fea4848ff2c933', 'project_id': '5d194f5ad6d14d94b9fea4848ff2c933', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-48516442', 'ctest-vn-31559103'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-02-26 01:50:05,844 - DEBUG - Response for create_subnet : {'subnet': {'id': '0f6653b5-7774-4901-bfff-a47e9b757ad5', 'name': '', 'tenant_id': '5d194f5ad6d14d94b9fea4848ff2c933', 'network_id': '8a72e86f-cc80-4da7-b2dc-0f0947a31e2f', 'ip_version': 4, 'cidr': '145.224.10.0/26', 'allocation_pools': [{'start': '145.224.10.2', 'end': '145.224.10.62'}], 'gateway_ip': '145.224.10.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-02-26T01:50:05.738342', 'updated_at': '2026-02-26T01:50:05.738342', 'dns_server_address': '145.224.10.2', 'tags': [], 'project_id': '5d194f5ad6d14d94b9fea4848ff2c933'}} 2026-02-26 01:50:05,917 - INFO - Created VN ctest-vn-31559103 2026-02-26 01:50:05,971 - DEBUG - VN ctest-vn-31559103 UUID is 8a72e86f-cc80-4da7-b2dc-0f0947a31e2f 2026-02-26 01:50:06,239 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-48516442:ctest-vn-48278400, 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-48516442:ctest-vn-31559103, 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-02-26 01:50:06,678 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5db7c23b-9889-44d8-b344-fb3366112478', 'name': 'ctest-vn-48278400', 'tenant_id': '5d194f5ad6d14d94b9fea4848ff2c933', 'project_id': '5d194f5ad6d14d94b9fea4848ff2c933', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4891cdda-3aa6-4928-b4ba-528fff79ac03'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-48516442', 'ctest-vn-48278400'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-48516442', 'ctest-policy-allow-all-37565616']], 'subnet_ipam': [{'subnet_cidr': '203.24.155.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-02-26T01:50:04.579745', 'updated_at': '2026-02-26T01:50:04.831556'}} 2026-02-26 01:50:07,064 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8a72e86f-cc80-4da7-b2dc-0f0947a31e2f', 'name': 'ctest-vn-31559103', 'tenant_id': '5d194f5ad6d14d94b9fea4848ff2c933', 'project_id': '5d194f5ad6d14d94b9fea4848ff2c933', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0f6653b5-7774-4901-bfff-a47e9b757ad5'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-48516442', 'ctest-vn-31559103'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-48516442', 'ctest-policy-allow-all-37565616']], 'subnet_ipam': [{'subnet_cidr': '145.224.10.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-02-26T01:50:05.536159', 'updated_at': '2026-02-26T01:50:05.753148'}} 2026-02-26 01:50:07,288 - DEBUG - Requesting: https://10.0.0.141:8082/domains 2026-02-26 01:50:07,647 - DEBUG - Requesting: https://10.0.0.141:8082/domains 2026-02-26 01:50:07,739 - DEBUG - Requesting: https://10.0.0.141:8082/domain/f6868889-8458-4392-b4ae-21dc8466dc91 2026-02-26 01:50:07,799 - DEBUG - Requesting: https://10.0.0.141:8082/project/5d194f5a-d6d1-4d94-b9fe-a4848ff2c933 2026-02-26 01:50:07,892 - DEBUG - Requesting: https://10.0.0.141:8082/virtual-network/5db7c23b-9889-44d8-b344-fb3366112478 2026-02-26 01:50:07,957 - DEBUG - Requesting: https://10.0.0.141:8082/virtual-network/5db7c23b-9889-44d8-b344-fb3366112478 2026-02-26 01:50:08,024 - DEBUG - Requesting: https://10.0.0.141:8082/routing-instance/64a08063-c00b-443c-8ad0-84150b172163 2026-02-26 01:50:08,085 - DEBUG - Requesting: https://10.0.0.141:8082/routing-instance/64a08063-c00b-443c-8ad0-84150b172163 2026-02-26 01:50:08,147 - DEBUG - Requesting: https://10.0.0.141:8082/route-target/d7c040e0-af26-4d51-bebd-13a440c5704d 2026-02-26 01:50:08,203 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-26 01:50:08,203 - DEBUG - Requesting: https://10.0.0.141:8082/virtual-network/5db7c23b-9889-44d8-b344-fb3366112478 2026-02-26 01:50:08,261 - DEBUG - Requesting: https://10.0.0.141:8082/routing-instance/64a08063-c00b-443c-8ad0-84150b172163 2026-02-26 01:50:08,324 - INFO - Verified VN network id 11 for VN 5db7c23b-9889-44d8-b344-fb3366112478 2026-02-26 01:50:08,324 - INFO - Verifications in API Server for VN ctest-vn-48278400 passed 2026-02-26 01:50:08,325 - DEBUG - Requesting: https://10.0.0.141:8082/virtual-network/5db7c23b-9889-44d8-b344-fb3366112478 2026-02-26 01:50:08,380 - DEBUG - Requesting: https://10.0.0.141:8082/routing-instance/64a08063-c00b-443c-8ad0-84150b172163 2026-02-26 01:50:08,435 - DEBUG - Requesting: https://10.0.0.141:8082/routing-instance/64a08063-c00b-443c-8ad0-84150b172163 2026-02-26 01:50:08,491 - DEBUG - Requesting: https://10.0.0.141:8082/route-target/d7c040e0-af26-4d51-bebd-13a440c5704d 2026-02-26 01:50:08,603 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-48516442:ctest-vn-48278400', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48516442', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6753079727483339992', 'uuid-lslong': '12917725829379728504'}, 'enable': 'true', 'created': '2026-02-26T01:50:04', 'last-modified': '2026-02-26T01:50:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.961211'} 2026-02-26 01:50:08,665 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-26 01:50:08,665 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-48278400 passed 2026-02-26 01:50:08,666 - DEBUG - ====Verifying policy data for ctest-vn-48278400 in API_Server ====== 2026-02-26 01:50:08,666 - DEBUG - Requesting: https://10.0.0.141:8082/domains 2026-02-26 01:50:08,723 - DEBUG - Requesting: https://10.0.0.141:8082/domain/f6868889-8458-4392-b4ae-21dc8466dc91 2026-02-26 01:50:08,783 - DEBUG - Requesting: https://10.0.0.141:8082/project/5d194f5a-d6d1-4d94-b9fe-a4848ff2c933 2026-02-26 01:50:08,864 - DEBUG - Requesting: https://10.0.0.141:8082/virtual-network/5db7c23b-9889-44d8-b344-fb3366112478 2026-02-26 01:50:08,921 - DEBUG - ==>Verifying data for policy with id: 39f8e330-3cb3-4587-abc0-8409f15b7627, fqn: ['admin_domain', 'ctest-TestBasicPolicy-48516442', 'ctest-policy-allow-all-37565616'] 2026-02-26 01:50:08,921 - INFO - VN ctest-vn-48278400 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-26 01:50:08,921 - DEBUG - Verifying the vn in opserver 2026-02-26 01:50:08,921 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-48516442:ctest-vn-48278400 virtual network link through opserver 10.0.0.141 2026-02-26 01:50:08,922 - DEBUG - Requesting: https://10.0.0.141:8081/analytics/uves/virtual-networks 2026-02-26 01:50:09,293 - DEBUG - Requesting: https://10.0.0.141:8081/analytics/uves/virtual-networks 2026-02-26 01:50:09,452 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-48516442:ctest-vn-48278400', 'href': 'https://10.0.0.141:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-48516442:ctest-vn-48278400?flat'} 2026-02-26 01:50:09,452 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-48516442:ctest-vn-48278400 is found in opserver 2026-02-26 01:50:09,563 - DEBUG - Do not have enough data to verify VN in agent 2026-02-26 01:50:09,615 - DEBUG - VRF ids for VN ctest-vn-48278400: {} 2026-02-26 01:50:09,615 - DEBUG - Requesting: https://10.0.0.141:8082/domains 2026-02-26 01:50:09,671 - DEBUG - Requesting: https://10.0.0.141:8082/domain/f6868889-8458-4392-b4ae-21dc8466dc91 2026-02-26 01:50:09,735 - DEBUG - Requesting: https://10.0.0.141:8082/project/5d194f5a-d6d1-4d94-b9fe-a4848ff2c933 2026-02-26 01:50:09,815 - DEBUG - Requesting: https://10.0.0.141:8082/virtual-network/8a72e86f-cc80-4da7-b2dc-0f0947a31e2f 2026-02-26 01:50:09,876 - DEBUG - Requesting: https://10.0.0.141:8082/virtual-network/8a72e86f-cc80-4da7-b2dc-0f0947a31e2f 2026-02-26 01:50:09,932 - DEBUG - Requesting: https://10.0.0.141:8082/routing-instance/c4ada521-c9e8-4d5d-84b1-662d7d572d11 2026-02-26 01:50:09,988 - DEBUG - Requesting: https://10.0.0.141:8082/routing-instance/c4ada521-c9e8-4d5d-84b1-662d7d572d11 2026-02-26 01:50:10,047 - DEBUG - Requesting: https://10.0.0.141:8082/route-target/b8eeb9dd-39ea-4977-a967-d05e251a4a37 2026-02-26 01:50:10,103 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-26 01:50:10,103 - DEBUG - Requesting: https://10.0.0.141:8082/virtual-network/8a72e86f-cc80-4da7-b2dc-0f0947a31e2f 2026-02-26 01:50:10,160 - DEBUG - Requesting: https://10.0.0.141:8082/routing-instance/c4ada521-c9e8-4d5d-84b1-662d7d572d11 2026-02-26 01:50:10,232 - INFO - Verified VN network id 12 for VN 8a72e86f-cc80-4da7-b2dc-0f0947a31e2f 2026-02-26 01:50:10,232 - INFO - Verifications in API Server for VN ctest-vn-31559103 passed 2026-02-26 01:50:10,232 - DEBUG - Requesting: https://10.0.0.141:8082/virtual-network/8a72e86f-cc80-4da7-b2dc-0f0947a31e2f 2026-02-26 01:50:10,288 - DEBUG - Requesting: https://10.0.0.141:8082/routing-instance/c4ada521-c9e8-4d5d-84b1-662d7d572d11 2026-02-26 01:50:10,347 - DEBUG - Requesting: https://10.0.0.141:8082/routing-instance/c4ada521-c9e8-4d5d-84b1-662d7d572d11 2026-02-26 01:50:10,411 - DEBUG - Requesting: https://10.0.0.141:8082/route-target/b8eeb9dd-39ea-4977-a967-d05e251a4a37 2026-02-26 01:50:10,520 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-48516442:ctest-vn-31559103', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48516442', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9976291691449044391', 'uuid-lslong': '12888192766158511663'}, 'enable': 'true', 'created': '2026-02-26T01:50:05', 'last-modified': '2026-02-26T01:50:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.506767'} 2026-02-26 01:50:10,572 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-26 01:50:10,572 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31559103 passed 2026-02-26 01:50:10,572 - DEBUG - ====Verifying policy data for ctest-vn-31559103 in API_Server ====== 2026-02-26 01:50:10,572 - DEBUG - Requesting: https://10.0.0.141:8082/domains 2026-02-26 01:50:10,627 - DEBUG - Requesting: https://10.0.0.141:8082/domain/f6868889-8458-4392-b4ae-21dc8466dc91 2026-02-26 01:50:10,688 - DEBUG - Requesting: https://10.0.0.141:8082/project/5d194f5a-d6d1-4d94-b9fe-a4848ff2c933 2026-02-26 01:50:10,780 - DEBUG - Requesting: https://10.0.0.141:8082/virtual-network/8a72e86f-cc80-4da7-b2dc-0f0947a31e2f 2026-02-26 01:50:10,836 - DEBUG - ==>Verifying data for policy with id: 39f8e330-3cb3-4587-abc0-8409f15b7627, fqn: ['admin_domain', 'ctest-TestBasicPolicy-48516442', 'ctest-policy-allow-all-37565616'] 2026-02-26 01:50:10,836 - INFO - VN ctest-vn-31559103 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-26 01:50:10,836 - DEBUG - Verifying the vn in opserver 2026-02-26 01:50:10,836 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-48516442:ctest-vn-31559103 virtual network link through opserver 10.0.0.141 2026-02-26 01:50:10,836 - DEBUG - Requesting: https://10.0.0.141:8081/analytics/uves/virtual-networks 2026-02-26 01:50:10,895 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-48516442:ctest-vn-31559103', 'href': 'https://10.0.0.141:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-48516442:ctest-vn-31559103?flat'} 2026-02-26 01:50:10,895 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-48516442:ctest-vn-31559103 is found in opserver 2026-02-26 01:50:10,999 - DEBUG - Do not have enough data to verify VN in agent 2026-02-26 01:50:11,047 - DEBUG - VRF ids for VN ctest-vn-31559103: {} 2026-02-26 01:50:11,121 - DEBUG - Services list from nova: [, , ] 2026-02-26 01:50:12,393 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-675-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-675-1) 2026-02-26 01:50:13,966 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-675-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-675-1) 2026-02-26 01:50:13,966 - INFO - Waiting for VM ctest-TestBasicPolicy-48516442-17482671 to be up.. 2026-02-26 01:50:14,146 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-26 01:50:19,319 - DEBUG - VM is in ACTIVE state now 2026-02-26 01:50:19,319 - INFO - VM name : ctest-TestBasicPolicy-48516442-17482671 2026-02-26 01:50:19,476 - DEBUG - VM ctest-TestBasicPolicy-48516442-17482671 ID is 798dc160-ed84-4b34-86e7-bd61a145b6ac 2026-02-26 01:50:19,505 - DEBUG - VM ctest-TestBasicPolicy-48516442-17482671 launched on Node cn-jenkins-deploy-platform-juju-os-675-1 2026-02-26 01:50:19,662 - DEBUG - Requesting: https://10.0.0.141:8082/virtual-machine/798dc160-ed84-4b34-86e7-bd61a145b6ac 2026-02-26 01:50:19,728 - DEBUG - Requesting: https://10.0.0.141:8082/virtual-machine-interface/922abf5e-4413-476d-9a52-34be837b64de 2026-02-26 01:50:23,213 - 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 1017ms') 2026-02-26 01:50:23,213 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48516442-17482671 failed! 2026-02-26 01:50:23,270 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicPolicy-48516442:ctest-vn-48278400 is 203.24.155.193 and allocation pool is NOT set 2026-02-26 01:50:25,362 - 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=14.9 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.933 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.933/7.896/14.860/6.963 ms') 2026-02-26 01:50:25,362 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48516442-17482671 passed 2026-02-26 01:50:25,530 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-26 01:50:25,530 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48516442-17482671, IP 203.24.155.195, Port 22 2026-02-26 01:50:25,617 - 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-02-26 01:50:25,773 - DEBUG - VM ctest-TestBasicPolicy-48516442-17482671 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-26 01:50:30,774 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-26 01:50:30,774 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48516442-17482671, IP 203.24.155.195, Port 22 2026-02-26 01:50:30,989 - DEBUG - VM ctest-TestBasicPolicy-48516442-17482671 is ready for SSH connections 2026-02-26 01:50:30,989 - INFO - Waiting for VM ctest-TestBasicPolicy-48516442-01750138 to be up.. 2026-02-26 01:50:31,136 - DEBUG - VM is in ACTIVE state now 2026-02-26 01:50:31,137 - INFO - VM name : ctest-TestBasicPolicy-48516442-01750138 2026-02-26 01:50:31,295 - DEBUG - VM ctest-TestBasicPolicy-48516442-01750138 ID is 1466d954-4ade-4714-a082-f212638895ed 2026-02-26 01:50:31,295 - DEBUG - VM ctest-TestBasicPolicy-48516442-01750138 launched on Node cn-jenkins-deploy-platform-juju-os-675-1 2026-02-26 01:50:31,454 - DEBUG - Requesting: https://10.0.0.141:8082/virtual-machine/1466d954-4ade-4714-a082-f212638895ed 2026-02-26 01:50:31,515 - DEBUG - Requesting: https://10.0.0.141:8082/virtual-machine-interface/f3f5e84d-de08-427e-b425-065fdfd055de 2026-02-26 01:50:32,980 - 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.04 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.482 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.482/1.761/3.041/1.279 ms') 2026-02-26 01:50:32,980 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-48516442-01750138 passed 2026-02-26 01:50:33,142 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-26 01:50:33,142 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48516442-01750138, IP 145.224.10.3, Port 22 2026-02-26 01:50:33,376 - DEBUG - VM ctest-TestBasicPolicy-48516442-01750138 is ready for SSH connections 2026-02-26 01:50:33,376 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-26 01:50:33,376 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 145.224.10.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-02-26 01:50:33,376 - DEBUG - ping -s 56 -c 3 -W 1 145.224.10.3 2026-02-26 01:50:37,563 - DEBUG - PING 145.224.10.3 (145.224.10.3): 56 data bytes 64 bytes from 145.224.10.3: seq=0 ttl=63 time=3.977 ms 64 bytes from 145.224.10.3: seq=1 ttl=63 time=1.057 ms 64 bytes from 145.224.10.3: seq=2 ttl=63 time=1.216 ms --- 145.224.10.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.057/2.083/3.977 ms 2026-02-26 01:50:37,563 - INFO - Ping to IP 145.224.10.3 from VM ctest-TestBasicPolicy-48516442-17482671 passed 2026-02-26 01:50:37,786 - DEBUG - Policy Update Response {"network-policy": {"uuid": "39f8e330-3cb3-4587-abc0-8409f15b7627", "href": "https://10.0.0.141:8082/network-policy/39f8e330-3cb3-4587-abc0-8409f15b7627"}} 2026-02-26 01:50:37,786 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-26 01:50:37,786 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 145.224.10.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-02-26 01:50:37,786 - DEBUG - ping -s 56 -c 3 -W 1 145.224.10.3 2026-02-26 01:50:41,005 - DEBUG - PING 145.224.10.3 (145.224.10.3): 56 data bytes --- 145.224.10.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-26 01:50:41,006 - WARNING - Ping to IP 145.224.10.3 from VM ctest-TestBasicPolicy-48516442-17482671 failed 2026-02-26 01:50:41,006 - INFO - Deleting VM ctest-TestBasicPolicy-48516442-01750138 2026-02-26 01:50:41,134 - INFO - Deleting VM ctest-TestBasicPolicy-48516442-17482671 2026-02-26 01:50:41,887 - INFO - Deleted policy ctest-policy-allow-all-37565616 2026-02-26 01:50:41,887 - INFO - Deleting VN ctest-vn-31559103 2026-02-26 01:50:42,035 - DEBUG - VN 8a72e86f-cc80-4da7-b2dc-0f0947a31e2f still in use: Unable to complete operation on network 8a72e86f-cc80-4da7-b2dc-0f0947a31e2f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-80792d37-e368-4f49-99f4-fcf1e880ca67'] 2026-02-26 01:50:42,035 - WARNING - Deleting VN ctest-vn-31559103 failed..Will retry 2026-02-26 01:50:44,222 - DEBUG - Response for deleting network () 2026-02-26 01:50:44,222 - DEBUG - Requesting: https://10.0.0.141:8082/routing-instance/c4ada521-c9e8-4d5d-84b1-662d7d572d11 2026-02-26 01:50:44,278 - DEBUG - Response Code: 404 2026-02-26 01:50:44,278 - DEBUG - Requesting: https://10.0.0.141:8082/domains 2026-02-26 01:50:44,335 - DEBUG - Requesting: https://10.0.0.141:8082/domain/f6868889-8458-4392-b4ae-21dc8466dc91 2026-02-26 01:50:44,395 - DEBUG - Requesting: https://10.0.0.141:8082/project/5d194f5a-d6d1-4d94-b9fe-a4848ff2c933 2026-02-26 01:50:44,483 - INFO - Validated that VN ctest-vn-31559103 is not found in API Server 2026-02-26 01:50:44,583 - DEBUG - VN ctest-vn-31559103 is not present in Agent 10.0.0.141 2026-02-26 01:50:44,584 - INFO - Validated that VN ctest-vn-31559103 is not in any agent 2026-02-26 01:50:44,739 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-31559103 info 2026-02-26 01:50:44,739 - INFO - Deleting VN ctest-vn-48278400 2026-02-26 01:50:44,945 - DEBUG - Response for deleting network () 2026-02-26 01:50:44,946 - DEBUG - Requesting: https://10.0.0.141:8082/routing-instance/64a08063-c00b-443c-8ad0-84150b172163 2026-02-26 01:50:45,003 - DEBUG - Response Code: 404 2026-02-26 01:50:45,003 - DEBUG - Requesting: https://10.0.0.141:8082/domains 2026-02-26 01:50:45,059 - DEBUG - Requesting: https://10.0.0.141:8082/domain/f6868889-8458-4392-b4ae-21dc8466dc91 2026-02-26 01:50:45,123 - DEBUG - Requesting: https://10.0.0.141:8082/project/5d194f5a-d6d1-4d94-b9fe-a4848ff2c933 2026-02-26 01:50:45,212 - INFO - Validated that VN ctest-vn-48278400 is not found in API Server 2026-02-26 01:50:45,311 - DEBUG - VN ctest-vn-48278400 is not present in Agent 10.0.0.141 2026-02-26 01:50:45,311 - INFO - Validated that VN ctest-vn-48278400 is not in any agent 2026-02-26 01:50:45,472 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-48278400 info 2026-02-26 01:50:45,871 - DEBUG - No XMPP flaps were noticed during the test 2026-02-26 01:50:45,872 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:42] 2026-02-26 01:50:45,872 - INFO - -------------------------------------------------------------------------------- 2026-02-26 01:50:46,710 - INFO - Deleted project: ctest-TestBasicPolicy-48516442, ID : 5d194f5a-d6d1-4d94-b9fe-a4848ff2c933