2026-01-29 15:43:08,915 - INFO - Reading existing Domain with UUID 15f28af7-a830-475b-bae4-ed3759af0601 2026-01-29 15:43:08,929 - INFO - Using existing domain ['admin_domain'](15f28af7-a830-475b-bae4-ed3759af0601) 2026-01-29 15:43:09,235 - INFO - Project ctest-TestBasicPolicy-24783994 not found, creating it 2026-01-29 15:43:09,877 - INFO - Created Project:ctest-TestBasicPolicy-24783994, ID : 8deb5d8e-c055-4da6-ab3c-00f9330b7936 2026-01-29 15:43:11,976 - INFO - ================================================================================ 2026-01-29 15:43:11,976 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-29 15:43:11,976 - 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-01-29 15:43:12,390 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.0.0.23': '0'}} with 2026-01-29 15:43:12,390 - INFO - Initial checks done. Running the testcase now 2026-01-29 15:43:12,390 - INFO - 2026-01-29 15:43:13,324 - DEBUG - Response for create_network : {'network': {'id': 'efdbf579-0917-4052-a5a7-542420a4af80', 'name': 'ctest-vn-76140150', 'tenant_id': '8deb5d8ec0554da6ab3c00f9330b7936', 'project_id': '8deb5d8ec0554da6ab3c00f9330b7936', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-24783994', 'ctest-vn-76140150'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-01-29 15:43:13,587 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dbc80e86-5277-4fbd-ac84-a7db4031484e', 'name': '', 'tenant_id': '8deb5d8ec0554da6ab3c00f9330b7936', 'network_id': 'efdbf579-0917-4052-a5a7-542420a4af80', 'ip_version': 4, 'cidr': '70.153.84.192/26', 'allocation_pools': [{'start': '70.153.84.194', 'end': '70.153.84.254'}], 'gateway_ip': '70.153.84.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-01-29T15:43:13.475327', 'updated_at': '2026-01-29T15:43:13.475327', 'dns_server_address': '70.153.84.194', 'tags': [], 'project_id': '8deb5d8ec0554da6ab3c00f9330b7936'}} 2026-01-29 15:43:13,655 - INFO - Created VN ctest-vn-76140150 2026-01-29 15:43:13,717 - DEBUG - VN ctest-vn-76140150 UUID is efdbf579-0917-4052-a5a7-542420a4af80 2026-01-29 15:43:14,283 - DEBUG - Response for create_network : {'network': {'id': 'aa30b7ed-d028-4e59-b1d4-07e8f9de4713', 'name': 'ctest-vn-83183834', 'tenant_id': '8deb5d8ec0554da6ab3c00f9330b7936', 'project_id': '8deb5d8ec0554da6ab3c00f9330b7936', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-24783994', 'ctest-vn-83183834'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-01-29 15:43:14,534 - DEBUG - Response for create_subnet : {'subnet': {'id': '22f5759f-e09d-439f-b02c-f3f1df0d0bd4', 'name': '', 'tenant_id': '8deb5d8ec0554da6ab3c00f9330b7936', 'network_id': 'aa30b7ed-d028-4e59-b1d4-07e8f9de4713', 'ip_version': 4, 'cidr': '121.102.2.192/26', 'allocation_pools': [{'start': '121.102.2.194', 'end': '121.102.2.254'}], 'gateway_ip': '121.102.2.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-01-29T15:43:14.419013', 'updated_at': '2026-01-29T15:43:14.419013', 'dns_server_address': '121.102.2.194', 'tags': [], 'project_id': '8deb5d8ec0554da6ab3c00f9330b7936'}} 2026-01-29 15:43:14,604 - INFO - Created VN ctest-vn-83183834 2026-01-29 15:43:14,664 - DEBUG - VN ctest-vn-83183834 UUID is aa30b7ed-d028-4e59-b1d4-07e8f9de4713 2026-01-29 15:43:14,891 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-24783994:ctest-vn-76140150, 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-24783994:ctest-vn-83183834, 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-01-29 15:43:15,341 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'efdbf579-0917-4052-a5a7-542420a4af80', 'name': 'ctest-vn-76140150', 'tenant_id': '8deb5d8ec0554da6ab3c00f9330b7936', 'project_id': '8deb5d8ec0554da6ab3c00f9330b7936', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['dbc80e86-5277-4fbd-ac84-a7db4031484e'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-24783994', 'ctest-vn-76140150'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-24783994', 'ctest-policy-allow-all-29462960']], 'subnet_ipam': [{'subnet_cidr': '70.153.84.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-01-29T15:43:13.241093', 'updated_at': '2026-01-29T15:43:13.492055'}} 2026-01-29 15:43:15,730 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'aa30b7ed-d028-4e59-b1d4-07e8f9de4713', 'name': 'ctest-vn-83183834', 'tenant_id': '8deb5d8ec0554da6ab3c00f9330b7936', 'project_id': '8deb5d8ec0554da6ab3c00f9330b7936', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['22f5759f-e09d-439f-b02c-f3f1df0d0bd4'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-24783994', 'ctest-vn-83183834'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-24783994', 'ctest-policy-allow-all-29462960']], 'subnet_ipam': [{'subnet_cidr': '121.102.2.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-01-29T15:43:14.190497', 'updated_at': '2026-01-29T15:43:14.435231'}} 2026-01-29 15:43:15,958 - DEBUG - Requesting: https://10.0.0.23:8082/domains 2026-01-29 15:43:16,351 - DEBUG - Requesting: https://10.0.0.23:8082/domains 2026-01-29 15:43:16,469 - DEBUG - Requesting: https://10.0.0.23:8082/domain/15f28af7-a830-475b-bae4-ed3759af0601 2026-01-29 15:43:16,533 - DEBUG - Requesting: https://10.0.0.23:8082/project/8deb5d8e-c055-4da6-ab3c-00f9330b7936 2026-01-29 15:43:16,642 - DEBUG - Requesting: https://10.0.0.23:8082/virtual-network/efdbf579-0917-4052-a5a7-542420a4af80 2026-01-29 15:43:16,712 - DEBUG - Requesting: https://10.0.0.23:8082/virtual-network/efdbf579-0917-4052-a5a7-542420a4af80 2026-01-29 15:43:16,776 - DEBUG - Requesting: https://10.0.0.23:8082/routing-instance/53c3321d-0fc4-47ec-a167-5daa61e2b8bd 2026-01-29 15:43:16,861 - DEBUG - Requesting: https://10.0.0.23:8082/routing-instance/53c3321d-0fc4-47ec-a167-5daa61e2b8bd 2026-01-29 15:43:16,933 - DEBUG - Requesting: https://10.0.0.23:8082/route-target/7604b2ca-a162-4031-9591-604de3a4df29 2026-01-29 15:43:16,997 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-29 15:43:16,997 - DEBUG - Requesting: https://10.0.0.23:8082/virtual-network/efdbf579-0917-4052-a5a7-542420a4af80 2026-01-29 15:43:17,070 - DEBUG - Requesting: https://10.0.0.23:8082/routing-instance/53c3321d-0fc4-47ec-a167-5daa61e2b8bd 2026-01-29 15:43:17,152 - INFO - Verified VN network id 9 for VN efdbf579-0917-4052-a5a7-542420a4af80 2026-01-29 15:43:17,153 - INFO - Verifications in API Server for VN ctest-vn-76140150 passed 2026-01-29 15:43:17,153 - DEBUG - Requesting: https://10.0.0.23:8082/virtual-network/efdbf579-0917-4052-a5a7-542420a4af80 2026-01-29 15:43:17,222 - DEBUG - Requesting: https://10.0.0.23:8082/routing-instance/53c3321d-0fc4-47ec-a167-5daa61e2b8bd 2026-01-29 15:43:17,309 - DEBUG - Requesting: https://10.0.0.23:8082/routing-instance/53c3321d-0fc4-47ec-a167-5daa61e2b8bd 2026-01-29 15:43:17,383 - DEBUG - Requesting: https://10.0.0.23:8082/route-target/7604b2ca-a162-4031-9591-604de3a4df29 2026-01-29 15:43:17,526 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-24783994:ctest-vn-76140150', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24783994', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17283677895156777042', 'uuid-lslong': '11936601851512008576'}, 'enable': 'true', 'created': '2026-01-29T15:43:13', 'last-modified': '2026-01-29T15:43:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.218732'} 2026-01-29 15:43:17,594 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-29 15:43:17,595 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76140150 passed 2026-01-29 15:43:17,595 - DEBUG - ====Verifying policy data for ctest-vn-76140150 in API_Server ====== 2026-01-29 15:43:17,595 - DEBUG - Requesting: https://10.0.0.23:8082/domains 2026-01-29 15:43:17,657 - DEBUG - Requesting: https://10.0.0.23:8082/domain/15f28af7-a830-475b-bae4-ed3759af0601 2026-01-29 15:43:17,745 - DEBUG - Requesting: https://10.0.0.23:8082/project/8deb5d8e-c055-4da6-ab3c-00f9330b7936 2026-01-29 15:43:17,846 - DEBUG - Requesting: https://10.0.0.23:8082/virtual-network/efdbf579-0917-4052-a5a7-542420a4af80 2026-01-29 15:43:17,905 - DEBUG - ==>Verifying data for policy with id: ad059a68-592c-4332-8ba2-2cd831fd8234, fqn: ['admin_domain', 'ctest-TestBasicPolicy-24783994', 'ctest-policy-allow-all-29462960'] 2026-01-29 15:43:17,905 - INFO - VN ctest-vn-76140150 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-29 15:43:17,905 - DEBUG - Verifying the vn in opserver 2026-01-29 15:43:17,905 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-24783994:ctest-vn-76140150 virtual network link through opserver 10.0.0.23 2026-01-29 15:43:17,905 - DEBUG - Requesting: https://10.0.0.23:8081/analytics/uves/virtual-networks 2026-01-29 15:43:18,265 - DEBUG - Requesting: https://10.0.0.23:8081/analytics/uves/virtual-networks 2026-01-29 15:43:18,409 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-24783994:ctest-vn-76140150', 'href': 'https://10.0.0.23:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-24783994:ctest-vn-76140150?flat'} 2026-01-29 15:43:18,409 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-24783994:ctest-vn-76140150 is found in opserver 2026-01-29 15:43:18,513 - DEBUG - Do not have enough data to verify VN in agent 2026-01-29 15:43:18,565 - DEBUG - VRF ids for VN ctest-vn-76140150: {} 2026-01-29 15:43:18,565 - DEBUG - Requesting: https://10.0.0.23:8082/domains 2026-01-29 15:43:18,617 - DEBUG - Requesting: https://10.0.0.23:8082/domain/15f28af7-a830-475b-bae4-ed3759af0601 2026-01-29 15:43:18,677 - DEBUG - Requesting: https://10.0.0.23:8082/project/8deb5d8e-c055-4da6-ab3c-00f9330b7936 2026-01-29 15:43:18,788 - DEBUG - Requesting: https://10.0.0.23:8082/virtual-network/aa30b7ed-d028-4e59-b1d4-07e8f9de4713 2026-01-29 15:43:18,860 - DEBUG - Requesting: https://10.0.0.23:8082/virtual-network/aa30b7ed-d028-4e59-b1d4-07e8f9de4713 2026-01-29 15:43:18,922 - DEBUG - Requesting: https://10.0.0.23:8082/routing-instance/95afb60e-539e-49e1-a830-42e0c802a4fd 2026-01-29 15:43:18,977 - DEBUG - Requesting: https://10.0.0.23:8082/routing-instance/95afb60e-539e-49e1-a830-42e0c802a4fd 2026-01-29 15:43:19,034 - DEBUG - Requesting: https://10.0.0.23:8082/route-target/4f97140c-c74e-4ff2-92d0-5ec289a03133 2026-01-29 15:43:19,094 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-29 15:43:19,094 - DEBUG - Requesting: https://10.0.0.23:8082/virtual-network/aa30b7ed-d028-4e59-b1d4-07e8f9de4713 2026-01-29 15:43:19,156 - DEBUG - Requesting: https://10.0.0.23:8082/routing-instance/95afb60e-539e-49e1-a830-42e0c802a4fd 2026-01-29 15:43:19,225 - INFO - Verified VN network id 10 for VN aa30b7ed-d028-4e59-b1d4-07e8f9de4713 2026-01-29 15:43:19,225 - INFO - Verifications in API Server for VN ctest-vn-83183834 passed 2026-01-29 15:43:19,225 - DEBUG - Requesting: https://10.0.0.23:8082/virtual-network/aa30b7ed-d028-4e59-b1d4-07e8f9de4713 2026-01-29 15:43:19,287 - DEBUG - Requesting: https://10.0.0.23:8082/routing-instance/95afb60e-539e-49e1-a830-42e0c802a4fd 2026-01-29 15:43:19,346 - DEBUG - Requesting: https://10.0.0.23:8082/routing-instance/95afb60e-539e-49e1-a830-42e0c802a4fd 2026-01-29 15:43:19,405 - DEBUG - Requesting: https://10.0.0.23:8082/route-target/4f97140c-c74e-4ff2-92d0-5ec289a03133 2026-01-29 15:43:19,518 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-24783994:ctest-vn-83183834', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24783994', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12263504017357295193', 'uuid-lslong': '12813875536981804819'}, 'enable': 'true', 'created': '2026-01-29T15:43:14', 'last-modified': '2026-01-29T15:43:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.827322'} 2026-01-29 15:43:19,571 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-29 15:43:19,571 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-83183834 passed 2026-01-29 15:43:19,571 - DEBUG - ====Verifying policy data for ctest-vn-83183834 in API_Server ====== 2026-01-29 15:43:19,571 - DEBUG - Requesting: https://10.0.0.23:8082/domains 2026-01-29 15:43:19,625 - DEBUG - Requesting: https://10.0.0.23:8082/domain/15f28af7-a830-475b-bae4-ed3759af0601 2026-01-29 15:43:19,690 - DEBUG - Requesting: https://10.0.0.23:8082/project/8deb5d8e-c055-4da6-ab3c-00f9330b7936 2026-01-29 15:43:19,779 - DEBUG - Requesting: https://10.0.0.23:8082/virtual-network/aa30b7ed-d028-4e59-b1d4-07e8f9de4713 2026-01-29 15:43:19,840 - DEBUG - ==>Verifying data for policy with id: ad059a68-592c-4332-8ba2-2cd831fd8234, fqn: ['admin_domain', 'ctest-TestBasicPolicy-24783994', 'ctest-policy-allow-all-29462960'] 2026-01-29 15:43:19,840 - INFO - VN ctest-vn-83183834 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-29 15:43:19,840 - DEBUG - Verifying the vn in opserver 2026-01-29 15:43:19,840 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-24783994:ctest-vn-83183834 virtual network link through opserver 10.0.0.23 2026-01-29 15:43:19,840 - DEBUG - Requesting: https://10.0.0.23:8081/analytics/uves/virtual-networks 2026-01-29 15:43:19,905 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-24783994:ctest-vn-83183834', 'href': 'https://10.0.0.23:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-24783994:ctest-vn-83183834?flat'} 2026-01-29 15:43:19,905 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-24783994:ctest-vn-83183834 is found in opserver 2026-01-29 15:43:20,009 - DEBUG - Do not have enough data to verify VN in agent 2026-01-29 15:43:20,066 - DEBUG - VRF ids for VN ctest-vn-83183834: {} 2026-01-29 15:43:20,161 - DEBUG - Services list from nova: [, , ] 2026-01-29 15:43:22,081 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-656-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-656-1) 2026-01-29 15:43:23,696 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-656-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-656-1) 2026-01-29 15:43:23,696 - INFO - Waiting for VM ctest-TestBasicPolicy-24783994-35208865 to be up.. 2026-01-29 15:43:23,924 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-29 15:43:29,104 - DEBUG - VM is in ACTIVE state now 2026-01-29 15:43:29,104 - INFO - VM name : ctest-TestBasicPolicy-24783994-35208865 2026-01-29 15:43:29,266 - DEBUG - VM ctest-TestBasicPolicy-24783994-35208865 ID is e81f56e1-0bb6-44ad-a4bb-1543a6757bb4 2026-01-29 15:43:29,295 - DEBUG - VM ctest-TestBasicPolicy-24783994-35208865 launched on Node cn-jenkins-deploy-platform-juju-os-656-1 2026-01-29 15:43:29,462 - DEBUG - Requesting: https://10.0.0.23:8082/virtual-machine/e81f56e1-0bb6-44ad-a4bb-1543a6757bb4 2026-01-29 15:43:29,525 - DEBUG - Requesting: https://10.0.0.23:8082/virtual-machine-interface/53140359-b8cb-40f9-bcbe-6f9db37ed000 2026-01-29 15:43:33,022 - 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 1010ms') 2026-01-29 15:43:33,023 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-24783994-35208865 failed! 2026-01-29 15:43:33,094 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicPolicy-24783994:ctest-vn-76140150 is 70.153.84.193 and allocation pool is NOT set 2026-01-29 15:43:37,205 - 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 1021ms') 2026-01-29 15:43:37,205 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-24783994-35208865 failed! 2026-01-29 15:43:37,264 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicPolicy-24783994:ctest-vn-76140150 is 70.153.84.193 and allocation pool is NOT set 2026-01-29 15:43:39,364 - 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.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.678 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 = 0.678/2.662/4.646/1.984 ms') 2026-01-29 15:43:39,364 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-24783994-35208865 passed 2026-01-29 15:43:39,532 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 15:43:39,532 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-24783994-35208865, IP 70.153.84.195, Port 22 2026-01-29 15:43:39,751 - DEBUG - VM ctest-TestBasicPolicy-24783994-35208865 is ready for SSH connections 2026-01-29 15:43:39,752 - INFO - Waiting for VM ctest-TestBasicPolicy-24783994-15911738 to be up.. 2026-01-29 15:43:39,920 - DEBUG - VM is in ACTIVE state now 2026-01-29 15:43:39,920 - INFO - VM name : ctest-TestBasicPolicy-24783994-15911738 2026-01-29 15:43:40,092 - DEBUG - VM ctest-TestBasicPolicy-24783994-15911738 ID is 52854e37-5536-4f36-b2be-a3f113f79d3c 2026-01-29 15:43:40,092 - DEBUG - VM ctest-TestBasicPolicy-24783994-15911738 launched on Node cn-jenkins-deploy-platform-juju-os-656-1 2026-01-29 15:43:40,261 - DEBUG - Requesting: https://10.0.0.23:8082/virtual-machine/52854e37-5536-4f36-b2be-a3f113f79d3c 2026-01-29 15:43:40,322 - DEBUG - Requesting: https://10.0.0.23:8082/virtual-machine-interface/6089ffd7-2fb9-405f-9127-712181760619 2026-01-29 15:43:41,792 - 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.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.823 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.823/1.946/3.069/1.123 ms') 2026-01-29 15:43:41,792 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-24783994-15911738 passed 2026-01-29 15:43:41,960 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 15:43:41,961 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-24783994-15911738, IP 121.102.2.195, Port 22 2026-01-29 15:43:42,202 - DEBUG - VM ctest-TestBasicPolicy-24783994-15911738 is ready for SSH connections 2026-01-29 15:43:42,203 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 15:43:42,203 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 121.102.2.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2026-01-29 15:43:42,203 - DEBUG - ping -s 56 -c 3 -W 1 121.102.2.195 2026-01-29 15:43:46,443 - DEBUG - PING 121.102.2.195 (121.102.2.195): 56 data bytes 64 bytes from 121.102.2.195: seq=0 ttl=63 time=4.119 ms 64 bytes from 121.102.2.195: seq=1 ttl=63 time=1.378 ms 64 bytes from 121.102.2.195: seq=2 ttl=63 time=1.114 ms --- 121.102.2.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.114/2.203/4.119 ms 2026-01-29 15:43:46,444 - INFO - Ping to IP 121.102.2.195 from VM ctest-TestBasicPolicy-24783994-35208865 passed 2026-01-29 15:43:46,649 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ad059a68-592c-4332-8ba2-2cd831fd8234", "href": "https://10.0.0.23:8082/network-policy/ad059a68-592c-4332-8ba2-2cd831fd8234"}} 2026-01-29 15:43:46,649 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 15:43:46,649 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 121.102.2.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2026-01-29 15:43:46,650 - DEBUG - ping -s 56 -c 3 -W 1 121.102.2.195 2026-01-29 15:43:49,913 - DEBUG - PING 121.102.2.195 (121.102.2.195): 56 data bytes 64 bytes from 121.102.2.195: seq=0 ttl=63 time=2.085 ms --- 121.102.2.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.085/2.085/2.085 ms 2026-01-29 15:43:49,914 - WARNING - Ping to IP 121.102.2.195 from VM ctest-TestBasicPolicy-24783994-35208865 failed 2026-01-29 15:43:49,914 - INFO - Deleting VM ctest-TestBasicPolicy-24783994-15911738 2026-01-29 15:43:50,056 - INFO - Deleting VM ctest-TestBasicPolicy-24783994-35208865 2026-01-29 15:43:50,880 - INFO - Deleted policy ctest-policy-allow-all-29462960 2026-01-29 15:43:50,882 - INFO - Deleting VN ctest-vn-83183834 2026-01-29 15:43:51,045 - DEBUG - VN aa30b7ed-d028-4e59-b1d4-07e8f9de4713 still in use: Unable to complete operation on network aa30b7ed-d028-4e59-b1d4-07e8f9de4713. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e3719dfe-b40f-4506-a762-37b1a21feb28'] 2026-01-29 15:43:51,045 - WARNING - Deleting VN ctest-vn-83183834 failed..Will retry 2026-01-29 15:43:53,238 - DEBUG - Response for deleting network () 2026-01-29 15:43:53,239 - DEBUG - Requesting: https://10.0.0.23:8082/routing-instance/95afb60e-539e-49e1-a830-42e0c802a4fd 2026-01-29 15:43:53,296 - DEBUG - Response Code: 404 2026-01-29 15:43:53,297 - DEBUG - Requesting: https://10.0.0.23:8082/domains 2026-01-29 15:43:53,349 - DEBUG - Requesting: https://10.0.0.23:8082/domain/15f28af7-a830-475b-bae4-ed3759af0601 2026-01-29 15:43:53,414 - DEBUG - Requesting: https://10.0.0.23:8082/project/8deb5d8e-c055-4da6-ab3c-00f9330b7936 2026-01-29 15:43:53,498 - INFO - Validated that VN ctest-vn-83183834 is not found in API Server 2026-01-29 15:43:53,597 - DEBUG - VN ctest-vn-83183834 is not present in Agent 10.0.0.23 2026-01-29 15:43:53,597 - INFO - Validated that VN ctest-vn-83183834 is not in any agent 2026-01-29 15:43:53,753 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-83183834 info 2026-01-29 15:43:53,753 - INFO - Deleting VN ctest-vn-76140150 2026-01-29 15:43:53,958 - DEBUG - Response for deleting network () 2026-01-29 15:43:53,958 - DEBUG - Requesting: https://10.0.0.23:8082/routing-instance/53c3321d-0fc4-47ec-a167-5daa61e2b8bd 2026-01-29 15:43:54,012 - DEBUG - Response Code: 404 2026-01-29 15:43:54,013 - DEBUG - Requesting: https://10.0.0.23:8082/domains 2026-01-29 15:43:54,065 - DEBUG - Requesting: https://10.0.0.23:8082/domain/15f28af7-a830-475b-bae4-ed3759af0601 2026-01-29 15:43:54,126 - DEBUG - Requesting: https://10.0.0.23:8082/project/8deb5d8e-c055-4da6-ab3c-00f9330b7936 2026-01-29 15:43:54,222 - INFO - Validated that VN ctest-vn-76140150 is not found in API Server 2026-01-29 15:43:54,329 - DEBUG - VN ctest-vn-76140150 is not present in Agent 10.0.0.23 2026-01-29 15:43:54,329 - INFO - Validated that VN ctest-vn-76140150 is not in any agent 2026-01-29 15:43:54,490 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-76140150 info 2026-01-29 15:43:54,898 - DEBUG - No XMPP flaps were noticed during the test 2026-01-29 15:43:54,899 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:43] 2026-01-29 15:43:54,899 - INFO - -------------------------------------------------------------------------------- 2026-01-29 15:43:55,845 - INFO - Deleted project: ctest-TestBasicPolicy-24783994, ID : 8deb5d8e-c055-4da6-ab3c-00f9330b7936