2026-05-18 01:52:05,785 - INFO - Reading existing Domain with UUID 2d41c0d2-849f-4e48-95a3-b6637df9305b 2026-05-18 01:52:05,797 - INFO - Using existing domain ['admin_domain'](2d41c0d2-849f-4e48-95a3-b6637df9305b) 2026-05-18 01:52:06,018 - INFO - Project ctest-TestBasicPolicy-95698054 not found, creating it 2026-05-18 01:52:06,535 - INFO - Created Project:ctest-TestBasicPolicy-95698054, ID : e5faaa50-f5e4-4351-8ffc-31fea6170d98 2026-05-18 01:52:08,351 - INFO - ================================================================================ 2026-05-18 01:52:08,351 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-18 01:52:08,351 - 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-05-18 01:52:08,749 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.0.0.241': '0'}} with 2026-05-18 01:52:08,749 - INFO - Initial checks done. Running the testcase now 2026-05-18 01:52:08,750 - INFO - 2026-05-18 01:52:09,576 - DEBUG - Response for create_network : {'network': {'id': '6809622d-0600-4617-9c37-17f867aa2f3e', 'name': 'ctest-vn-76844020', 'tenant_id': 'e5faaa50f5e443518ffc31fea6170d98', 'project_id': 'e5faaa50f5e443518ffc31fea6170d98', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-95698054', 'ctest-vn-76844020'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-05-18 01:52:09,820 - DEBUG - Response for create_subnet : {'subnet': {'id': '834bbeb9-a0eb-4ce5-b13d-34af2f5f48f2', 'name': '', 'tenant_id': 'e5faaa50f5e443518ffc31fea6170d98', 'network_id': '6809622d-0600-4617-9c37-17f867aa2f3e', 'ip_version': 4, 'cidr': '51.49.82.128/26', 'allocation_pools': [{'start': '51.49.82.130', 'end': '51.49.82.190'}], 'gateway_ip': '51.49.82.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-05-18T01:52:09.708413', 'updated_at': '2026-05-18T01:52:09.708413', 'dns_server_address': '51.49.82.130', 'tags': [], 'project_id': 'e5faaa50f5e443518ffc31fea6170d98'}} 2026-05-18 01:52:09,890 - INFO - Created VN ctest-vn-76844020 2026-05-18 01:52:09,943 - DEBUG - VN ctest-vn-76844020 UUID is 6809622d-0600-4617-9c37-17f867aa2f3e 2026-05-18 01:52:10,467 - DEBUG - Response for create_network : {'network': {'id': '4a199899-b088-46d7-8251-beda3116e909', 'name': 'ctest-vn-68180757', 'tenant_id': 'e5faaa50f5e443518ffc31fea6170d98', 'project_id': 'e5faaa50f5e443518ffc31fea6170d98', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-95698054', 'ctest-vn-68180757'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-05-18 01:52:10,704 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cd2ab793-aa16-4a9d-b305-920b3b350403', 'name': '', 'tenant_id': 'e5faaa50f5e443518ffc31fea6170d98', 'network_id': '4a199899-b088-46d7-8251-beda3116e909', 'ip_version': 4, 'cidr': '53.83.101.0/26', 'allocation_pools': [{'start': '53.83.101.2', 'end': '53.83.101.62'}], 'gateway_ip': '53.83.101.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-05-18T01:52:10.599739', 'updated_at': '2026-05-18T01:52:10.599739', 'dns_server_address': '53.83.101.2', 'tags': [], 'project_id': 'e5faaa50f5e443518ffc31fea6170d98'}} 2026-05-18 01:52:10,774 - INFO - Created VN ctest-vn-68180757 2026-05-18 01:52:10,827 - DEBUG - VN ctest-vn-68180757 UUID is 4a199899-b088-46d7-8251-beda3116e909 2026-05-18 01:52:11,044 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-95698054:ctest-vn-76844020, 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-95698054:ctest-vn-68180757, 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-05-18 01:52:11,455 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6809622d-0600-4617-9c37-17f867aa2f3e', 'name': 'ctest-vn-76844020', 'tenant_id': 'e5faaa50f5e443518ffc31fea6170d98', 'project_id': 'e5faaa50f5e443518ffc31fea6170d98', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['834bbeb9-a0eb-4ce5-b13d-34af2f5f48f2'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-95698054', 'ctest-vn-76844020'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-95698054', 'ctest-policy-allow-all-74513953']], 'subnet_ipam': [{'subnet_cidr': '51.49.82.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-05-18T01:52:09.483252', 'updated_at': '2026-05-18T01:52:09.730490'}} 2026-05-18 01:52:11,791 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4a199899-b088-46d7-8251-beda3116e909', 'name': 'ctest-vn-68180757', 'tenant_id': 'e5faaa50f5e443518ffc31fea6170d98', 'project_id': 'e5faaa50f5e443518ffc31fea6170d98', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cd2ab793-aa16-4a9d-b305-920b3b350403'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-95698054', 'ctest-vn-68180757'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-95698054', 'ctest-policy-allow-all-74513953']], 'subnet_ipam': [{'subnet_cidr': '53.83.101.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-05-18T01:52:10.379565', 'updated_at': '2026-05-18T01:52:10.613910'}} 2026-05-18 01:52:11,983 - DEBUG - Requesting: https://10.0.0.241:8082/domains 2026-05-18 01:52:12,356 - DEBUG - Requesting: https://10.0.0.241:8082/domains 2026-05-18 01:52:12,444 - DEBUG - Requesting: https://10.0.0.241:8082/domain/2d41c0d2-849f-4e48-95a3-b6637df9305b 2026-05-18 01:52:12,504 - DEBUG - Requesting: https://10.0.0.241:8082/project/e5faaa50-f5e4-4351-8ffc-31fea6170d98 2026-05-18 01:52:12,589 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/6809622d-0600-4617-9c37-17f867aa2f3e 2026-05-18 01:52:12,649 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/6809622d-0600-4617-9c37-17f867aa2f3e 2026-05-18 01:52:12,705 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/7acc7d7b-0420-44e6-bc92-3970e5293877 2026-05-18 01:52:12,760 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/7acc7d7b-0420-44e6-bc92-3970e5293877 2026-05-18 01:52:12,816 - DEBUG - Requesting: https://10.0.0.241:8082/route-target/f68a7494-58b1-4cdc-92b9-ed6d1b509664 2026-05-18 01:52:12,868 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-18 01:52:12,868 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/6809622d-0600-4617-9c37-17f867aa2f3e 2026-05-18 01:52:12,925 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/7acc7d7b-0420-44e6-bc92-3970e5293877 2026-05-18 01:52:12,988 - INFO - Verified VN network id 11 for VN 6809622d-0600-4617-9c37-17f867aa2f3e 2026-05-18 01:52:12,988 - INFO - Verifications in API Server for VN ctest-vn-76844020 passed 2026-05-18 01:52:12,988 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/6809622d-0600-4617-9c37-17f867aa2f3e 2026-05-18 01:52:13,045 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/7acc7d7b-0420-44e6-bc92-3970e5293877 2026-05-18 01:52:13,100 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/7acc7d7b-0420-44e6-bc92-3970e5293877 2026-05-18 01:52:13,152 - DEBUG - Requesting: https://10.0.0.241:8082/route-target/f68a7494-58b1-4cdc-92b9-ed6d1b509664 2026-05-18 01:52:13,256 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-95698054:ctest-vn-76844020', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-95698054', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7496631000248632855', 'uuid-lslong': '11256492149294378814'}, 'enable': 'true', 'created': '2026-05-18T01:52:09', 'last-modified': '2026-05-18T01:52:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.828579'} 2026-05-18 01:52:13,309 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-18 01:52:13,309 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76844020 passed 2026-05-18 01:52:13,309 - DEBUG - ====Verifying policy data for ctest-vn-76844020 in API_Server ====== 2026-05-18 01:52:13,309 - DEBUG - Requesting: https://10.0.0.241:8082/domains 2026-05-18 01:52:13,364 - DEBUG - Requesting: https://10.0.0.241:8082/domain/2d41c0d2-849f-4e48-95a3-b6637df9305b 2026-05-18 01:52:13,424 - DEBUG - Requesting: https://10.0.0.241:8082/project/e5faaa50-f5e4-4351-8ffc-31fea6170d98 2026-05-18 01:52:13,504 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/6809622d-0600-4617-9c37-17f867aa2f3e 2026-05-18 01:52:13,561 - DEBUG - ==>Verifying data for policy with id: 985b89e4-000f-4f26-93ac-b801ec40c59b, fqn: ['admin_domain', 'ctest-TestBasicPolicy-95698054', 'ctest-policy-allow-all-74513953'] 2026-05-18 01:52:13,561 - INFO - VN ctest-vn-76844020 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-18 01:52:13,561 - DEBUG - Verifying the vn in opserver 2026-05-18 01:52:13,561 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-95698054:ctest-vn-76844020 virtual network link through opserver 10.0.0.241 2026-05-18 01:52:13,561 - DEBUG - Requesting: https://10.0.0.241:8081/analytics/uves/virtual-networks 2026-05-18 01:52:13,912 - DEBUG - Requesting: https://10.0.0.241:8081/analytics/uves/virtual-networks 2026-05-18 01:52:14,044 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-95698054:ctest-vn-76844020', 'href': 'https://10.0.0.241:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-95698054:ctest-vn-76844020?flat'} 2026-05-18 01:52:14,044 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-95698054:ctest-vn-76844020 is found in opserver 2026-05-18 01:52:14,148 - DEBUG - Do not have enough data to verify VN in agent 2026-05-18 01:52:14,196 - DEBUG - VRF ids for VN ctest-vn-76844020: {} 2026-05-18 01:52:14,196 - DEBUG - Requesting: https://10.0.0.241:8082/domains 2026-05-18 01:52:14,247 - DEBUG - Requesting: https://10.0.0.241:8082/domain/2d41c0d2-849f-4e48-95a3-b6637df9305b 2026-05-18 01:52:14,304 - DEBUG - Requesting: https://10.0.0.241:8082/project/e5faaa50-f5e4-4351-8ffc-31fea6170d98 2026-05-18 01:52:14,389 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/4a199899-b088-46d7-8251-beda3116e909 2026-05-18 01:52:14,449 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/4a199899-b088-46d7-8251-beda3116e909 2026-05-18 01:52:14,510 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/b764ae20-b816-4cd7-92cd-7f4e16077ed1 2026-05-18 01:52:14,564 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/b764ae20-b816-4cd7-92cd-7f4e16077ed1 2026-05-18 01:52:14,620 - DEBUG - Requesting: https://10.0.0.241:8082/route-target/c51279aa-25f4-4552-af0f-ade7806a6062 2026-05-18 01:52:14,676 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-18 01:52:14,676 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/4a199899-b088-46d7-8251-beda3116e909 2026-05-18 01:52:14,737 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/b764ae20-b816-4cd7-92cd-7f4e16077ed1 2026-05-18 01:52:14,804 - INFO - Verified VN network id 12 for VN 4a199899-b088-46d7-8251-beda3116e909 2026-05-18 01:52:14,804 - INFO - Verifications in API Server for VN ctest-vn-68180757 passed 2026-05-18 01:52:14,804 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/4a199899-b088-46d7-8251-beda3116e909 2026-05-18 01:52:14,861 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/b764ae20-b816-4cd7-92cd-7f4e16077ed1 2026-05-18 01:52:14,921 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/b764ae20-b816-4cd7-92cd-7f4e16077ed1 2026-05-18 01:52:14,980 - DEBUG - Requesting: https://10.0.0.241:8082/route-target/c51279aa-25f4-4552-af0f-ade7806a6062 2026-05-18 01:52:15,084 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-95698054:ctest-vn-68180757', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-95698054', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5339466619083572951', 'uuid-lslong': '9390496542379927817'}, 'enable': 'true', 'created': '2026-05-18T01:52:10', 'last-modified': '2026-05-18T01:52:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.320226'} 2026-05-18 01:52:15,137 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-18 01:52:15,137 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68180757 passed 2026-05-18 01:52:15,137 - DEBUG - ====Verifying policy data for ctest-vn-68180757 in API_Server ====== 2026-05-18 01:52:15,137 - DEBUG - Requesting: https://10.0.0.241:8082/domains 2026-05-18 01:52:15,187 - DEBUG - Requesting: https://10.0.0.241:8082/domain/2d41c0d2-849f-4e48-95a3-b6637df9305b 2026-05-18 01:52:15,244 - DEBUG - Requesting: https://10.0.0.241:8082/project/e5faaa50-f5e4-4351-8ffc-31fea6170d98 2026-05-18 01:52:15,320 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/4a199899-b088-46d7-8251-beda3116e909 2026-05-18 01:52:15,377 - DEBUG - ==>Verifying data for policy with id: 985b89e4-000f-4f26-93ac-b801ec40c59b, fqn: ['admin_domain', 'ctest-TestBasicPolicy-95698054', 'ctest-policy-allow-all-74513953'] 2026-05-18 01:52:15,377 - INFO - VN ctest-vn-68180757 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-18 01:52:15,377 - DEBUG - Verifying the vn in opserver 2026-05-18 01:52:15,378 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-95698054:ctest-vn-68180757 virtual network link through opserver 10.0.0.241 2026-05-18 01:52:15,378 - DEBUG - Requesting: https://10.0.0.241:8081/analytics/uves/virtual-networks 2026-05-18 01:52:15,432 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-95698054:ctest-vn-68180757', 'href': 'https://10.0.0.241:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-95698054:ctest-vn-68180757?flat'} 2026-05-18 01:52:15,432 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-95698054:ctest-vn-68180757 is found in opserver 2026-05-18 01:52:15,536 - DEBUG - Do not have enough data to verify VN in agent 2026-05-18 01:52:15,588 - DEBUG - VRF ids for VN ctest-vn-68180757: {} 2026-05-18 01:52:15,661 - DEBUG - Services list from nova: [, , ] 2026-05-18 01:52:16,830 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-704-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-704-1) 2026-05-18 01:52:18,240 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-704-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-704-1) 2026-05-18 01:52:18,240 - INFO - Waiting for VM ctest-TestBasicPolicy-95698054-24633139 to be up.. 2026-05-18 01:52:18,408 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-18 01:52:23,554 - DEBUG - VM is in ACTIVE state now 2026-05-18 01:52:23,554 - INFO - VM name : ctest-TestBasicPolicy-95698054-24633139 2026-05-18 01:52:23,725 - DEBUG - VM ctest-TestBasicPolicy-95698054-24633139 ID is a61f2ce8-ee5d-471e-967b-817e59ec1773 2026-05-18 01:52:23,766 - DEBUG - VM ctest-TestBasicPolicy-95698054-24633139 launched on Node cn-jenkins-deploy-platform-juju-os-704-1 2026-05-18 01:52:23,924 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine/a61f2ce8-ee5d-471e-967b-817e59ec1773 2026-05-18 01:52:23,980 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine-interface/4d66fd6c-ea96-48a2-9ed6-c9b430e80794 2026-05-18 01:52:27,476 - 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 1025ms') 2026-05-18 01:52:27,477 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95698054-24633139 failed! 2026-05-18 01:52:27,535 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicPolicy-95698054:ctest-vn-76844020 is 51.49.82.129 and allocation pool is NOT set 2026-05-18 01:52:29,627 - 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.3 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.51 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.514/8.415/14.317/5.901 ms') 2026-05-18 01:52:29,627 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95698054-24633139 passed 2026-05-18 01:52:29,791 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-18 01:52:29,791 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-95698054-24633139, IP 51.49.82.131, Port 22 2026-05-18 01:52:29,878 - 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-05-18 01:52:30,020 - DEBUG - VM ctest-TestBasicPolicy-95698054-24633139 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-18 01:52:35,021 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-18 01:52:35,021 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-95698054-24633139, IP 51.49.82.131, Port 22 2026-05-18 01:52:35,239 - DEBUG - VM ctest-TestBasicPolicy-95698054-24633139 is ready for SSH connections 2026-05-18 01:52:35,239 - INFO - Waiting for VM ctest-TestBasicPolicy-95698054-86242664 to be up.. 2026-05-18 01:52:35,380 - DEBUG - VM is in ACTIVE state now 2026-05-18 01:52:35,380 - INFO - VM name : ctest-TestBasicPolicy-95698054-86242664 2026-05-18 01:52:35,523 - DEBUG - VM ctest-TestBasicPolicy-95698054-86242664 ID is 28f09427-1410-4a43-b5c4-2313dd43f03a 2026-05-18 01:52:35,524 - DEBUG - VM ctest-TestBasicPolicy-95698054-86242664 launched on Node cn-jenkins-deploy-platform-juju-os-704-1 2026-05-18 01:52:35,659 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine/28f09427-1410-4a43-b5c4-2313dd43f03a 2026-05-18 01:52:35,720 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine-interface/3e7136e8-d49e-439d-9ae2-d26f6eecafa9 2026-05-18 01:52:37,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.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.517 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.517/2.118/3.719/1.601 ms') 2026-05-18 01:52:37,189 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-95698054-86242664 passed 2026-05-18 01:52:37,339 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-18 01:52:37,339 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-95698054-86242664, IP 53.83.101.3, Port 22 2026-05-18 01:52:37,561 - DEBUG - VM ctest-TestBasicPolicy-95698054-86242664 is ready for SSH connections 2026-05-18 01:52:37,561 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-18 01:52:37,561 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 53.83.101.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2026-05-18 01:52:37,562 - DEBUG - ping -s 56 -c 3 -W 1 53.83.101.3 2026-05-18 01:52:41,724 - DEBUG - PING 53.83.101.3 (53.83.101.3): 56 data bytes 64 bytes from 53.83.101.3: seq=0 ttl=63 time=3.494 ms 64 bytes from 53.83.101.3: seq=1 ttl=63 time=1.175 ms 64 bytes from 53.83.101.3: seq=2 ttl=63 time=1.067 ms --- 53.83.101.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.067/1.912/3.494 ms 2026-05-18 01:52:41,724 - INFO - Ping to IP 53.83.101.3 from VM ctest-TestBasicPolicy-95698054-24633139 passed 2026-05-18 01:52:41,911 - DEBUG - Policy Update Response {"network-policy": {"uuid": "985b89e4-000f-4f26-93ac-b801ec40c59b", "href": "https://10.0.0.241:8082/network-policy/985b89e4-000f-4f26-93ac-b801ec40c59b"}} 2026-05-18 01:52:41,911 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-18 01:52:41,912 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 53.83.101.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2026-05-18 01:52:41,912 - DEBUG - ping -s 56 -c 3 -W 1 53.83.101.3 2026-05-18 01:52:45,121 - DEBUG - PING 53.83.101.3 (53.83.101.3): 56 data bytes --- 53.83.101.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-18 01:52:45,121 - WARNING - Ping to IP 53.83.101.3 from VM ctest-TestBasicPolicy-95698054-24633139 failed 2026-05-18 01:52:45,121 - INFO - Deleting VM ctest-TestBasicPolicy-95698054-86242664 2026-05-18 01:52:45,260 - INFO - Deleting VM ctest-TestBasicPolicy-95698054-24633139 2026-05-18 01:52:45,995 - INFO - Deleted policy ctest-policy-allow-all-74513953 2026-05-18 01:52:45,996 - INFO - Deleting VN ctest-vn-68180757 2026-05-18 01:52:46,138 - DEBUG - VN 4a199899-b088-46d7-8251-beda3116e909 still in use: Unable to complete operation on network 4a199899-b088-46d7-8251-beda3116e909. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5c402a3d-e345-4229-94bf-61d890449f04'] 2026-05-18 01:52:46,139 - WARNING - Deleting VN ctest-vn-68180757 failed..Will retry 2026-05-18 01:52:48,356 - DEBUG - Response for deleting network () 2026-05-18 01:52:48,356 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/b764ae20-b816-4cd7-92cd-7f4e16077ed1 2026-05-18 01:52:48,415 - DEBUG - Response Code: 404 2026-05-18 01:52:48,415 - DEBUG - Requesting: https://10.0.0.241:8082/domains 2026-05-18 01:52:48,467 - DEBUG - Requesting: https://10.0.0.241:8082/domain/2d41c0d2-849f-4e48-95a3-b6637df9305b 2026-05-18 01:52:48,528 - DEBUG - Requesting: https://10.0.0.241:8082/project/e5faaa50-f5e4-4351-8ffc-31fea6170d98 2026-05-18 01:52:48,608 - INFO - Validated that VN ctest-vn-68180757 is not found in API Server 2026-05-18 01:52:48,708 - DEBUG - VN ctest-vn-68180757 is not present in Agent 10.0.0.241 2026-05-18 01:52:48,708 - INFO - Validated that VN ctest-vn-68180757 is not in any agent 2026-05-18 01:52:48,872 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-68180757 info 2026-05-18 01:52:48,872 - INFO - Deleting VN ctest-vn-76844020 2026-05-18 01:52:49,035 - DEBUG - Response for deleting network () 2026-05-18 01:52:49,035 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/7acc7d7b-0420-44e6-bc92-3970e5293877 2026-05-18 01:52:49,095 - DEBUG - Response Code: 404 2026-05-18 01:52:49,095 - DEBUG - Requesting: https://10.0.0.241:8082/domains 2026-05-18 01:52:49,151 - DEBUG - Requesting: https://10.0.0.241:8082/domain/2d41c0d2-849f-4e48-95a3-b6637df9305b 2026-05-18 01:52:49,208 - DEBUG - Requesting: https://10.0.0.241:8082/project/e5faaa50-f5e4-4351-8ffc-31fea6170d98 2026-05-18 01:52:49,292 - INFO - Validated that VN ctest-vn-76844020 is not found in API Server 2026-05-18 01:52:49,404 - DEBUG - VN ctest-vn-76844020 is not present in Agent 10.0.0.241 2026-05-18 01:52:49,404 - INFO - Validated that VN ctest-vn-76844020 is not in any agent 2026-05-18 01:52:49,556 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-76844020 info 2026-05-18 01:52:49,956 - DEBUG - No XMPP flaps were noticed during the test 2026-05-18 01:52:49,956 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:41] 2026-05-18 01:52:49,956 - INFO - -------------------------------------------------------------------------------- 2026-05-18 01:52:50,830 - INFO - Deleted project: ctest-TestBasicPolicy-95698054, ID : e5faaa50-f5e4-4351-8ffc-31fea6170d98