2026-01-29 15:30:44,448 - INFO - Reading existing Domain with UUID 5762e81a-fedf-4255-81ca-e05b2ea83674 2026-01-29 15:30:44,458 - INFO - Using existing domain ['admin_domain'](5762e81a-fedf-4255-81ca-e05b2ea83674) 2026-01-29 15:30:44,676 - INFO - Project ctest-TestBasicPolicy-43636478 not found, creating it 2026-01-29 15:30:45,172 - INFO - Created Project:ctest-TestBasicPolicy-43636478, ID : 18fab8db-9c41-478e-a64b-f9f3356d00ee 2026-01-29 15:30:46,946 - INFO - ================================================================================ 2026-01-29 15:30:46,947 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-29 15:30:46,947 - 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:30:47,341 - DEBUG - Nothing to compare xmpp stats {'10.0.0.61': {'10.0.0.61': '0'}} with 2026-01-29 15:30:47,341 - INFO - Initial checks done. Running the testcase now 2026-01-29 15:30:47,341 - INFO - 2026-01-29 15:30:48,192 - DEBUG - Response for create_network : {'network': {'id': '5cf19b71-9540-448c-bf9e-c177bc4d8808', 'name': 'ctest-vn-41370449', 'tenant_id': '18fab8db9c41478ea64bf9f3356d00ee', 'project_id': '18fab8db9c41478ea64bf9f3356d00ee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-43636478', 'ctest-vn-41370449'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-01-29 15:30:48,477 - DEBUG - Response for create_subnet : {'subnet': {'id': '129a8b3c-e788-4786-8de5-c704be7c1c1a', 'name': '', 'tenant_id': '18fab8db9c41478ea64bf9f3356d00ee', 'network_id': '5cf19b71-9540-448c-bf9e-c177bc4d8808', 'ip_version': 4, 'cidr': '111.218.245.64/26', 'allocation_pools': [{'start': '111.218.245.66', 'end': '111.218.245.126'}], 'gateway_ip': '111.218.245.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-01-29T15:30:48.371654', 'updated_at': '2026-01-29T15:30:48.371654', 'dns_server_address': '111.218.245.66', 'tags': [], 'project_id': '18fab8db9c41478ea64bf9f3356d00ee'}} 2026-01-29 15:30:48,542 - INFO - Created VN ctest-vn-41370449 2026-01-29 15:30:48,600 - DEBUG - VN ctest-vn-41370449 UUID is 5cf19b71-9540-448c-bf9e-c177bc4d8808 2026-01-29 15:30:49,104 - DEBUG - Response for create_network : {'network': {'id': '65933e14-8d9a-4414-9b25-4b351227d0d8', 'name': 'ctest-vn-89663719', 'tenant_id': '18fab8db9c41478ea64bf9f3356d00ee', 'project_id': '18fab8db9c41478ea64bf9f3356d00ee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-43636478', 'ctest-vn-89663719'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-01-29 15:30:49,309 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ce382904-d4b3-4525-8711-9b138533573d', 'name': '', 'tenant_id': '18fab8db9c41478ea64bf9f3356d00ee', 'network_id': '65933e14-8d9a-4414-9b25-4b351227d0d8', 'ip_version': 4, 'cidr': '109.153.210.0/26', 'allocation_pools': [{'start': '109.153.210.2', 'end': '109.153.210.62'}], 'gateway_ip': '109.153.210.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-01-29T15:30:49.208996', 'updated_at': '2026-01-29T15:30:49.208996', 'dns_server_address': '109.153.210.2', 'tags': [], 'project_id': '18fab8db9c41478ea64bf9f3356d00ee'}} 2026-01-29 15:30:49,378 - INFO - Created VN ctest-vn-89663719 2026-01-29 15:30:49,436 - DEBUG - VN ctest-vn-89663719 UUID is 65933e14-8d9a-4414-9b25-4b351227d0d8 2026-01-29 15:30:49,660 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-43636478:ctest-vn-41370449, 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-43636478:ctest-vn-89663719, 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:30:50,072 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5cf19b71-9540-448c-bf9e-c177bc4d8808', 'name': 'ctest-vn-41370449', 'tenant_id': '18fab8db9c41478ea64bf9f3356d00ee', 'project_id': '18fab8db9c41478ea64bf9f3356d00ee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['129a8b3c-e788-4786-8de5-c704be7c1c1a'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-43636478', 'ctest-vn-41370449'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-43636478', 'ctest-policy-allow-all-53362096']], 'subnet_ipam': [{'subnet_cidr': '111.218.245.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-01-29T15:30:48.105800', 'updated_at': '2026-01-29T15:30:48.385458'}} 2026-01-29 15:30:50,476 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '65933e14-8d9a-4414-9b25-4b351227d0d8', 'name': 'ctest-vn-89663719', 'tenant_id': '18fab8db9c41478ea64bf9f3356d00ee', 'project_id': '18fab8db9c41478ea64bf9f3356d00ee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ce382904-d4b3-4525-8711-9b138533573d'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-43636478', 'ctest-vn-89663719'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-43636478', 'ctest-policy-allow-all-53362096']], 'subnet_ipam': [{'subnet_cidr': '109.153.210.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-01-29T15:30:49.019832', 'updated_at': '2026-01-29T15:30:49.221881'}} 2026-01-29 15:30:50,664 - DEBUG - Requesting: https://10.0.0.61:8082/domains 2026-01-29 15:30:51,018 - DEBUG - Requesting: https://10.0.0.61:8082/domains 2026-01-29 15:30:51,100 - DEBUG - Requesting: https://10.0.0.61:8082/domain/5762e81a-fedf-4255-81ca-e05b2ea83674 2026-01-29 15:30:51,165 - DEBUG - Requesting: https://10.0.0.61:8082/project/18fab8db-9c41-478e-a64b-f9f3356d00ee 2026-01-29 15:30:51,250 - DEBUG - Requesting: https://10.0.0.61:8082/virtual-network/5cf19b71-9540-448c-bf9e-c177bc4d8808 2026-01-29 15:30:51,310 - DEBUG - Requesting: https://10.0.0.61:8082/virtual-network/5cf19b71-9540-448c-bf9e-c177bc4d8808 2026-01-29 15:30:51,366 - DEBUG - Requesting: https://10.0.0.61:8082/routing-instance/81c2207b-feab-4dc3-9ba5-ab711b54aae0 2026-01-29 15:30:51,421 - DEBUG - Requesting: https://10.0.0.61:8082/routing-instance/81c2207b-feab-4dc3-9ba5-ab711b54aae0 2026-01-29 15:30:51,482 - DEBUG - Requesting: https://10.0.0.61:8082/route-target/43c2782b-8fe3-4ac1-977d-d3cffbe6bf62 2026-01-29 15:30:51,536 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-29 15:30:51,537 - DEBUG - Requesting: https://10.0.0.61:8082/virtual-network/5cf19b71-9540-448c-bf9e-c177bc4d8808 2026-01-29 15:30:51,594 - DEBUG - Requesting: https://10.0.0.61:8082/routing-instance/81c2207b-feab-4dc3-9ba5-ab711b54aae0 2026-01-29 15:30:51,657 - INFO - Verified VN network id 11 for VN 5cf19b71-9540-448c-bf9e-c177bc4d8808 2026-01-29 15:30:51,657 - INFO - Verifications in API Server for VN ctest-vn-41370449 passed 2026-01-29 15:30:51,657 - DEBUG - Requesting: https://10.0.0.61:8082/virtual-network/5cf19b71-9540-448c-bf9e-c177bc4d8808 2026-01-29 15:30:51,709 - DEBUG - Requesting: https://10.0.0.61:8082/routing-instance/81c2207b-feab-4dc3-9ba5-ab711b54aae0 2026-01-29 15:30:51,765 - DEBUG - Requesting: https://10.0.0.61:8082/routing-instance/81c2207b-feab-4dc3-9ba5-ab711b54aae0 2026-01-29 15:30:51,817 - DEBUG - Requesting: https://10.0.0.61:8082/route-target/43c2782b-8fe3-4ac1-977d-d3cffbe6bf62 2026-01-29 15:30:51,921 - DEBUG - Control-node 10.0.0.61 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-43636478:ctest-vn-41370449', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43636478', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6697305033014264972', 'uuid-lslong': '13807686227568986120'}, 'enable': 'true', 'created': '2026-01-29T15:30:48', 'last-modified': '2026-01-29T15:30:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.876897'} 2026-01-29 15:30:51,974 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-29 15:30:51,974 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-41370449 passed 2026-01-29 15:30:51,974 - DEBUG - ====Verifying policy data for ctest-vn-41370449 in API_Server ====== 2026-01-29 15:30:51,975 - DEBUG - Requesting: https://10.0.0.61:8082/domains 2026-01-29 15:30:52,028 - DEBUG - Requesting: https://10.0.0.61:8082/domain/5762e81a-fedf-4255-81ca-e05b2ea83674 2026-01-29 15:30:52,090 - DEBUG - Requesting: https://10.0.0.61:8082/project/18fab8db-9c41-478e-a64b-f9f3356d00ee 2026-01-29 15:30:52,177 - DEBUG - Requesting: https://10.0.0.61:8082/virtual-network/5cf19b71-9540-448c-bf9e-c177bc4d8808 2026-01-29 15:30:52,234 - DEBUG - ==>Verifying data for policy with id: fb13d887-9548-4168-89a6-488c55d63dd2, fqn: ['admin_domain', 'ctest-TestBasicPolicy-43636478', 'ctest-policy-allow-all-53362096'] 2026-01-29 15:30:52,234 - INFO - VN ctest-vn-41370449 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-29 15:30:52,234 - DEBUG - Verifying the vn in opserver 2026-01-29 15:30:52,234 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-43636478:ctest-vn-41370449 virtual network link through opserver 10.0.0.61 2026-01-29 15:30:52,234 - DEBUG - Requesting: https://10.0.0.61:8081/analytics/uves/virtual-networks 2026-01-29 15:30:52,584 - DEBUG - Requesting: https://10.0.0.61:8081/analytics/uves/virtual-networks 2026-01-29 15:30:52,704 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-43636478:ctest-vn-41370449', 'href': 'https://10.0.0.61:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-43636478:ctest-vn-41370449?flat'} 2026-01-29 15:30:52,704 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-43636478:ctest-vn-41370449 is found in opserver 2026-01-29 15:30:52,802 - DEBUG - Do not have enough data to verify VN in agent 2026-01-29 15:30:52,852 - DEBUG - VRF ids for VN ctest-vn-41370449: {} 2026-01-29 15:30:52,852 - DEBUG - Requesting: https://10.0.0.61:8082/domains 2026-01-29 15:30:52,908 - DEBUG - Requesting: https://10.0.0.61:8082/domain/5762e81a-fedf-4255-81ca-e05b2ea83674 2026-01-29 15:30:52,969 - DEBUG - Requesting: https://10.0.0.61:8082/project/18fab8db-9c41-478e-a64b-f9f3356d00ee 2026-01-29 15:30:53,049 - DEBUG - Requesting: https://10.0.0.61:8082/virtual-network/65933e14-8d9a-4414-9b25-4b351227d0d8 2026-01-29 15:30:53,106 - DEBUG - Requesting: https://10.0.0.61:8082/virtual-network/65933e14-8d9a-4414-9b25-4b351227d0d8 2026-01-29 15:30:53,165 - DEBUG - Requesting: https://10.0.0.61:8082/routing-instance/2225d70c-d01f-4486-a57a-406d07ab4b7c 2026-01-29 15:30:53,225 - DEBUG - Requesting: https://10.0.0.61:8082/routing-instance/2225d70c-d01f-4486-a57a-406d07ab4b7c 2026-01-29 15:30:53,281 - DEBUG - Requesting: https://10.0.0.61:8082/route-target/661d9b59-0f80-4115-bd3c-07f3b83ef35a 2026-01-29 15:30:53,333 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-29 15:30:53,333 - DEBUG - Requesting: https://10.0.0.61:8082/virtual-network/65933e14-8d9a-4414-9b25-4b351227d0d8 2026-01-29 15:30:53,390 - DEBUG - Requesting: https://10.0.0.61:8082/routing-instance/2225d70c-d01f-4486-a57a-406d07ab4b7c 2026-01-29 15:30:53,454 - INFO - Verified VN network id 12 for VN 65933e14-8d9a-4414-9b25-4b351227d0d8 2026-01-29 15:30:53,454 - INFO - Verifications in API Server for VN ctest-vn-89663719 passed 2026-01-29 15:30:53,454 - DEBUG - Requesting: https://10.0.0.61:8082/virtual-network/65933e14-8d9a-4414-9b25-4b351227d0d8 2026-01-29 15:30:53,510 - DEBUG - Requesting: https://10.0.0.61:8082/routing-instance/2225d70c-d01f-4486-a57a-406d07ab4b7c 2026-01-29 15:30:53,565 - DEBUG - Requesting: https://10.0.0.61:8082/routing-instance/2225d70c-d01f-4486-a57a-406d07ab4b7c 2026-01-29 15:30:53,621 - DEBUG - Requesting: https://10.0.0.61:8082/route-target/661d9b59-0f80-4115-bd3c-07f3b83ef35a 2026-01-29 15:30:53,729 - DEBUG - Control-node 10.0.0.61 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-43636478:ctest-vn-89663719', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43636478', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7319262077403153428', 'uuid-lslong': '11179424341327073496'}, 'enable': 'true', 'created': '2026-01-29T15:30:49', 'last-modified': '2026-01-29T15:30:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.324441'} 2026-01-29 15:30:53,783 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-29 15:30:53,783 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-89663719 passed 2026-01-29 15:30:53,783 - DEBUG - ====Verifying policy data for ctest-vn-89663719 in API_Server ====== 2026-01-29 15:30:53,783 - DEBUG - Requesting: https://10.0.0.61:8082/domains 2026-01-29 15:30:53,836 - DEBUG - Requesting: https://10.0.0.61:8082/domain/5762e81a-fedf-4255-81ca-e05b2ea83674 2026-01-29 15:30:53,893 - DEBUG - Requesting: https://10.0.0.61:8082/project/18fab8db-9c41-478e-a64b-f9f3356d00ee 2026-01-29 15:30:53,969 - DEBUG - Requesting: https://10.0.0.61:8082/virtual-network/65933e14-8d9a-4414-9b25-4b351227d0d8 2026-01-29 15:30:54,026 - DEBUG - ==>Verifying data for policy with id: fb13d887-9548-4168-89a6-488c55d63dd2, fqn: ['admin_domain', 'ctest-TestBasicPolicy-43636478', 'ctest-policy-allow-all-53362096'] 2026-01-29 15:30:54,026 - INFO - VN ctest-vn-89663719 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-29 15:30:54,026 - DEBUG - Verifying the vn in opserver 2026-01-29 15:30:54,026 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-43636478:ctest-vn-89663719 virtual network link through opserver 10.0.0.61 2026-01-29 15:30:54,026 - DEBUG - Requesting: https://10.0.0.61:8081/analytics/uves/virtual-networks 2026-01-29 15:30:54,084 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-43636478:ctest-vn-89663719', 'href': 'https://10.0.0.61:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-43636478:ctest-vn-89663719?flat'} 2026-01-29 15:30:54,084 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-43636478:ctest-vn-89663719 is found in opserver 2026-01-29 15:30:54,189 - DEBUG - Do not have enough data to verify VN in agent 2026-01-29 15:30:54,236 - DEBUG - VRF ids for VN ctest-vn-89663719: {} 2026-01-29 15:30:54,308 - DEBUG - Services list from nova: [, , ] 2026-01-29 15:30:55,443 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-655-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-655-1) 2026-01-29 15:30:56,763 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-655-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-655-1) 2026-01-29 15:30:56,763 - INFO - Waiting for VM ctest-TestBasicPolicy-43636478-37418111 to be up.. 2026-01-29 15:30:56,924 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-29 15:31:02,071 - DEBUG - VM is in ACTIVE state now 2026-01-29 15:31:02,071 - INFO - VM name : ctest-TestBasicPolicy-43636478-37418111 2026-01-29 15:31:02,222 - DEBUG - VM ctest-TestBasicPolicy-43636478-37418111 ID is 6af383d0-404d-4204-a86a-de6197f47b12 2026-01-29 15:31:02,269 - DEBUG - VM ctest-TestBasicPolicy-43636478-37418111 launched on Node cn-jenkins-deploy-platform-juju-os-655-1 2026-01-29 15:31:02,422 - DEBUG - Requesting: https://10.0.0.61:8082/virtual-machine/6af383d0-404d-4204-a86a-de6197f47b12 2026-01-29 15:31:02,485 - DEBUG - Requesting: https://10.0.0.61:8082/virtual-machine-interface/0ca4d210-0460-47b4-b120-722dcffeefe8 2026-01-29 15:31:06,007 - 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 1029ms') 2026-01-29 15:31:06,008 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-43636478-37418111 failed! 2026-01-29 15:31:06,064 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicPolicy-43636478:ctest-vn-41370449 is 111.218.245.65 and allocation pool is NOT set 2026-01-29 15:31:08,148 - 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.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.514 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.514/7.317/14.120/6.803 ms') 2026-01-29 15:31:08,148 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-43636478-37418111 passed 2026-01-29 15:31:08,304 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 15:31:08,304 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43636478-37418111, IP 111.218.245.67, Port 22 2026-01-29 15:31:08,518 - DEBUG - VM ctest-TestBasicPolicy-43636478-37418111 is ready for SSH connections 2026-01-29 15:31:08,518 - INFO - Waiting for VM ctest-TestBasicPolicy-43636478-53409969 to be up.. 2026-01-29 15:31:08,654 - DEBUG - VM is in ACTIVE state now 2026-01-29 15:31:08,654 - INFO - VM name : ctest-TestBasicPolicy-43636478-53409969 2026-01-29 15:31:08,791 - DEBUG - VM ctest-TestBasicPolicy-43636478-53409969 ID is 82ac0ddc-e910-47d2-a3cc-7b32f9f9deb7 2026-01-29 15:31:08,791 - DEBUG - VM ctest-TestBasicPolicy-43636478-53409969 launched on Node cn-jenkins-deploy-platform-juju-os-655-1 2026-01-29 15:31:08,938 - DEBUG - Requesting: https://10.0.0.61:8082/virtual-machine/82ac0ddc-e910-47d2-a3cc-7b32f9f9deb7 2026-01-29 15:31:09,001 - DEBUG - Requesting: https://10.0.0.61:8082/virtual-machine-interface/aebd00d9-a779-4093-8129-ea2eae0f7938 2026-01-29 15:31:10,458 - 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.33 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.896 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.896/2.112/3.329/1.216 ms') 2026-01-29 15:31:10,458 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-43636478-53409969 passed 2026-01-29 15:31:10,608 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 15:31:10,608 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43636478-53409969, IP 109.153.210.3, Port 22 2026-01-29 15:31:10,818 - DEBUG - VM ctest-TestBasicPolicy-43636478-53409969 is ready for SSH connections 2026-01-29 15:31:10,818 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 15:31:10,818 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 109.153.210.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.61, gateway password: c0ntrail123 2026-01-29 15:31:10,819 - DEBUG - ping -s 56 -c 3 -W 1 109.153.210.3 2026-01-29 15:31:14,871 - DEBUG - PING 109.153.210.3 (109.153.210.3): 56 data bytes 64 bytes from 109.153.210.3: seq=0 ttl=63 time=4.383 ms 64 bytes from 109.153.210.3: seq=1 ttl=63 time=0.808 ms 64 bytes from 109.153.210.3: seq=2 ttl=63 time=1.163 ms --- 109.153.210.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.808/2.118/4.383 ms 2026-01-29 15:31:14,871 - INFO - Ping to IP 109.153.210.3 from VM ctest-TestBasicPolicy-43636478-37418111 passed 2026-01-29 15:31:15,064 - DEBUG - Policy Update Response {"network-policy": {"uuid": "fb13d887-9548-4168-89a6-488c55d63dd2", "href": "https://10.0.0.61:8082/network-policy/fb13d887-9548-4168-89a6-488c55d63dd2"}} 2026-01-29 15:31:15,064 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 15:31:15,064 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 109.153.210.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.61, gateway password: c0ntrail123 2026-01-29 15:31:15,064 - DEBUG - ping -s 56 -c 3 -W 1 109.153.210.3 2026-01-29 15:31:18,294 - DEBUG - PING 109.153.210.3 (109.153.210.3): 56 data bytes --- 109.153.210.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-29 15:31:18,294 - WARNING - Ping to IP 109.153.210.3 from VM ctest-TestBasicPolicy-43636478-37418111 failed 2026-01-29 15:31:18,294 - INFO - Deleting VM ctest-TestBasicPolicy-43636478-53409969 2026-01-29 15:31:18,420 - INFO - Deleting VM ctest-TestBasicPolicy-43636478-37418111 2026-01-29 15:31:19,425 - INFO - Deleted policy ctest-policy-allow-all-53362096 2026-01-29 15:31:19,425 - INFO - Deleting VN ctest-vn-89663719 2026-01-29 15:31:19,568 - DEBUG - VN 65933e14-8d9a-4414-9b25-4b351227d0d8 still in use: Unable to complete operation on network 65933e14-8d9a-4414-9b25-4b351227d0d8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8329638c-22a7-41ea-b2f2-8bab0e540392'] 2026-01-29 15:31:19,568 - WARNING - Deleting VN ctest-vn-89663719 failed..Will retry 2026-01-29 15:31:21,729 - DEBUG - Response for deleting network () 2026-01-29 15:31:21,729 - DEBUG - Requesting: https://10.0.0.61:8082/routing-instance/2225d70c-d01f-4486-a57a-406d07ab4b7c 2026-01-29 15:31:21,784 - DEBUG - Response Code: 404 2026-01-29 15:31:21,784 - DEBUG - Requesting: https://10.0.0.61:8082/domains 2026-01-29 15:31:21,836 - DEBUG - Requesting: https://10.0.0.61:8082/domain/5762e81a-fedf-4255-81ca-e05b2ea83674 2026-01-29 15:31:21,897 - DEBUG - Requesting: https://10.0.0.61:8082/project/18fab8db-9c41-478e-a64b-f9f3356d00ee 2026-01-29 15:31:21,970 - INFO - Validated that VN ctest-vn-89663719 is not found in API Server 2026-01-29 15:31:22,073 - DEBUG - VN ctest-vn-89663719 is not present in Agent 10.0.0.61 2026-01-29 15:31:22,073 - INFO - Validated that VN ctest-vn-89663719 is not in any agent 2026-01-29 15:31:22,290 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-89663719 info 2026-01-29 15:31:22,294 - INFO - Deleting VN ctest-vn-41370449 2026-01-29 15:31:22,603 - DEBUG - Response for deleting network () 2026-01-29 15:31:22,603 - DEBUG - Requesting: https://10.0.0.61:8082/routing-instance/81c2207b-feab-4dc3-9ba5-ab711b54aae0 2026-01-29 15:31:22,656 - DEBUG - Response Code: 404 2026-01-29 15:31:22,656 - DEBUG - Requesting: https://10.0.0.61:8082/domains 2026-01-29 15:31:22,708 - DEBUG - Requesting: https://10.0.0.61:8082/domain/5762e81a-fedf-4255-81ca-e05b2ea83674 2026-01-29 15:31:22,769 - DEBUG - Requesting: https://10.0.0.61:8082/project/18fab8db-9c41-478e-a64b-f9f3356d00ee 2026-01-29 15:31:22,845 - INFO - Validated that VN ctest-vn-41370449 is not found in API Server 2026-01-29 15:31:22,956 - DEBUG - VN ctest-vn-41370449 is not present in Agent 10.0.0.61 2026-01-29 15:31:22,957 - INFO - Validated that VN ctest-vn-41370449 is not in any agent 2026-01-29 15:31:23,110 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-41370449 info 2026-01-29 15:31:23,505 - DEBUG - No XMPP flaps were noticed during the test
2026-01-29 15:31:23,505 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:37]
2026-01-29 15:31:23,505 - INFO - -------------------------------------------------------------------------------- 2026-01-29 15:31:24,244 - INFO - Deleted project: ctest-TestBasicPolicy-43636478, ID : 18fab8db-9c41-478e-a64b-f9f3356d00ee