2026-02-03 07:09:44,346 - INFO - Reading existing Domain with UUID a20a955c-6c44-478d-8a7f-02c90676183f 2026-02-03 07:09:44,356 - INFO - Using existing domain ['admin_domain'](a20a955c-6c44-478d-8a7f-02c90676183f) 2026-02-03 07:09:44,536 - INFO - Project ctest-TestBasicPolicy-32173678 not found, creating it 2026-02-03 07:09:45,003 - INFO - Created Project:ctest-TestBasicPolicy-32173678, ID : c5b01278-4ddf-4853-ac37-7f2d8dc53d59 2026-02-03 07:09:46,602 - INFO - ================================================================================ 2026-02-03 07:09:46,602 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-03 07:09:46,602 - 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-03 07:09:46,988 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.0.0.129': '0'}} with 2026-02-03 07:09:46,988 - INFO - Initial checks done. Running the testcase now 2026-02-03 07:09:46,988 - INFO - 2026-02-03 07:09:48,024 - DEBUG - Response for create_network : {'network': {'id': 'ba1cb3f9-ed92-40a9-bebf-75266e568d4d', 'name': 'ctest-vn-47862391', 'tenant_id': 'c5b012784ddf4853ac377f2d8dc53d59', 'project_id': 'c5b012784ddf4853ac377f2d8dc53d59', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-32173678', 'ctest-vn-47862391'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-02-03 07:09:48,542 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c07f80b1-8322-45e8-ad2b-809226b18c29', 'name': '', 'tenant_id': 'c5b012784ddf4853ac377f2d8dc53d59', 'network_id': 'ba1cb3f9-ed92-40a9-bebf-75266e568d4d', 'ip_version': 4, 'cidr': '152.36.58.64/26', 'allocation_pools': [{'start': '152.36.58.66', 'end': '152.36.58.126'}], 'gateway_ip': '152.36.58.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-02-03T07:09:48.400449', 'updated_at': '2026-02-03T07:09:48.400449', 'dns_server_address': '152.36.58.66', 'tags': [], 'project_id': 'c5b012784ddf4853ac377f2d8dc53d59'}} 2026-02-03 07:09:48,621 - INFO - Created VN ctest-vn-47862391 2026-02-03 07:09:48,740 - DEBUG - VN ctest-vn-47862391 UUID is ba1cb3f9-ed92-40a9-bebf-75266e568d4d 2026-02-03 07:09:50,111 - DEBUG - Response for create_network : {'network': {'id': 'accef337-f128-4160-8acd-c4385219eba8', 'name': 'ctest-vn-89615660', 'tenant_id': 'c5b012784ddf4853ac377f2d8dc53d59', 'project_id': 'c5b012784ddf4853ac377f2d8dc53d59', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-32173678', 'ctest-vn-89615660'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-02-03 07:09:50,543 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f61c326c-ea34-4d6b-b584-5b1ba8f14bb1', 'name': '', 'tenant_id': 'c5b012784ddf4853ac377f2d8dc53d59', 'network_id': 'accef337-f128-4160-8acd-c4385219eba8', 'ip_version': 4, 'cidr': '114.247.21.192/26', 'allocation_pools': [{'start': '114.247.21.194', 'end': '114.247.21.254'}], 'gateway_ip': '114.247.21.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-02-03T07:09:50.283297', 'updated_at': '2026-02-03T07:09:50.283297', 'dns_server_address': '114.247.21.194', 'tags': [], 'project_id': 'c5b012784ddf4853ac377f2d8dc53d59'}} 2026-02-03 07:09:50,625 - INFO - Created VN ctest-vn-89615660 2026-02-03 07:09:50,687 - DEBUG - VN ctest-vn-89615660 UUID is accef337-f128-4160-8acd-c4385219eba8 2026-02-03 07:09:50,923 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-32173678:ctest-vn-47862391, 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-32173678:ctest-vn-89615660, 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-03 07:09:51,741 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ba1cb3f9-ed92-40a9-bebf-75266e568d4d', 'name': 'ctest-vn-47862391', 'tenant_id': 'c5b012784ddf4853ac377f2d8dc53d59', 'project_id': 'c5b012784ddf4853ac377f2d8dc53d59', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c07f80b1-8322-45e8-ad2b-809226b18c29'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-32173678', 'ctest-vn-47862391'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-32173678', 'ctest-policy-allow-all-01871696']], 'subnet_ipam': [{'subnet_cidr': '152.36.58.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-02-03T07:09:47.863571', 'updated_at': '2026-02-03T07:09:48.416405'}} 2026-02-03 07:09:53,286 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'accef337-f128-4160-8acd-c4385219eba8', 'name': 'ctest-vn-89615660', 'tenant_id': 'c5b012784ddf4853ac377f2d8dc53d59', 'project_id': 'c5b012784ddf4853ac377f2d8dc53d59', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f61c326c-ea34-4d6b-b584-5b1ba8f14bb1'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-32173678', 'ctest-vn-89615660'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-32173678', 'ctest-policy-allow-all-01871696']], 'subnet_ipam': [{'subnet_cidr': '114.247.21.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-02-03T07:09:49.974843', 'updated_at': '2026-02-03T07:09:50.302745'}} 2026-02-03 07:09:53,854 - DEBUG - Requesting: https://10.0.0.129:8082/domains 2026-02-03 07:09:54,396 - DEBUG - Requesting: https://10.0.0.129:8082/domains 2026-02-03 07:09:54,503 - DEBUG - Requesting: https://10.0.0.129:8082/domain/a20a955c-6c44-478d-8a7f-02c90676183f 2026-02-03 07:09:54,774 - DEBUG - Requesting: https://10.0.0.129:8082/project/c5b01278-4ddf-4853-ac37-7f2d8dc53d59 2026-02-03 07:09:54,936 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/ba1cb3f9-ed92-40a9-bebf-75266e568d4d 2026-02-03 07:09:55,003 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/ba1cb3f9-ed92-40a9-bebf-75266e568d4d 2026-02-03 07:09:55,060 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/bfd70eac-fbf5-442f-8f0d-53544a5262b3 2026-02-03 07:09:55,118 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/bfd70eac-fbf5-442f-8f0d-53544a5262b3 2026-02-03 07:09:55,176 - DEBUG - Requesting: https://10.0.0.129:8082/route-target/e67f72f4-6f85-4296-8878-8ee89552a1d5 2026-02-03 07:09:55,227 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-03 07:09:55,227 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/ba1cb3f9-ed92-40a9-bebf-75266e568d4d 2026-02-03 07:09:55,284 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/bfd70eac-fbf5-442f-8f0d-53544a5262b3 2026-02-03 07:09:55,346 - INFO - Verified VN network id 11 for VN ba1cb3f9-ed92-40a9-bebf-75266e568d4d 2026-02-03 07:09:55,347 - INFO - Verifications in API Server for VN ctest-vn-47862391 passed 2026-02-03 07:09:55,347 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/ba1cb3f9-ed92-40a9-bebf-75266e568d4d 2026-02-03 07:09:55,407 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/bfd70eac-fbf5-442f-8f0d-53544a5262b3 2026-02-03 07:09:55,459 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/bfd70eac-fbf5-442f-8f0d-53544a5262b3 2026-02-03 07:09:55,516 - DEBUG - Requesting: https://10.0.0.129:8082/route-target/e67f72f4-6f85-4296-8878-8ee89552a1d5 2026-02-03 07:09:55,632 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-32173678:ctest-vn-47862391', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-32173678', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13410791676416508073', 'uuid-lslong': '13744833395678416205'}, 'enable': 'true', 'created': '2026-02-03T07:09:47', 'last-modified': '2026-02-03T07:09:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:04.094066'} 2026-02-03 07:09:55,684 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-03 07:09:55,685 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-47862391 passed 2026-02-03 07:09:55,685 - DEBUG - ====Verifying policy data for ctest-vn-47862391 in API_Server ====== 2026-02-03 07:09:55,685 - DEBUG - Requesting: https://10.0.0.129:8082/domains 2026-02-03 07:09:55,749 - DEBUG - Requesting: https://10.0.0.129:8082/domain/a20a955c-6c44-478d-8a7f-02c90676183f 2026-02-03 07:09:55,816 - DEBUG - Requesting: https://10.0.0.129:8082/project/c5b01278-4ddf-4853-ac37-7f2d8dc53d59 2026-02-03 07:09:55,903 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/ba1cb3f9-ed92-40a9-bebf-75266e568d4d 2026-02-03 07:09:55,964 - DEBUG - ==>Verifying data for policy with id: ccb131a4-2850-46d0-a16f-015f50b00a40, fqn: ['admin_domain', 'ctest-TestBasicPolicy-32173678', 'ctest-policy-allow-all-01871696'] 2026-02-03 07:09:55,964 - INFO - VN ctest-vn-47862391 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-03 07:09:55,964 - DEBUG - Verifying the vn in opserver 2026-02-03 07:09:55,964 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-32173678:ctest-vn-47862391 virtual network link through opserver 10.0.0.129 2026-02-03 07:09:55,964 - DEBUG - Requesting: https://10.0.0.129:8081/analytics/uves/virtual-networks 2026-02-03 07:09:56,370 - DEBUG - Requesting: https://10.0.0.129:8081/analytics/uves/virtual-networks 2026-02-03 07:09:56,499 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-32173678:ctest-vn-47862391', 'href': 'https://10.0.0.129:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-32173678:ctest-vn-47862391?flat'} 2026-02-03 07:09:56,499 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-32173678:ctest-vn-47862391 is found in opserver 2026-02-03 07:09:56,619 - DEBUG - Do not have enough data to verify VN in agent 2026-02-03 07:09:56,673 - DEBUG - VRF ids for VN ctest-vn-47862391: {} 2026-02-03 07:09:56,673 - DEBUG - Requesting: https://10.0.0.129:8082/domains 2026-02-03 07:09:56,727 - DEBUG - Requesting: https://10.0.0.129:8082/domain/a20a955c-6c44-478d-8a7f-02c90676183f 2026-02-03 07:09:56,792 - DEBUG - Requesting: https://10.0.0.129:8082/project/c5b01278-4ddf-4853-ac37-7f2d8dc53d59 2026-02-03 07:09:56,876 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/accef337-f128-4160-8acd-c4385219eba8 2026-02-03 07:09:56,942 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/accef337-f128-4160-8acd-c4385219eba8 2026-02-03 07:09:57,010 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/528fdfbb-2c85-4b06-a847-a59baebf18c3 2026-02-03 07:09:57,070 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/528fdfbb-2c85-4b06-a847-a59baebf18c3 2026-02-03 07:09:57,133 - DEBUG - Requesting: https://10.0.0.129:8082/route-target/5243513c-e2c7-4c78-a247-cb698a5f10a7 2026-02-03 07:09:57,191 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-03 07:09:57,191 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/accef337-f128-4160-8acd-c4385219eba8 2026-02-03 07:09:57,248 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/528fdfbb-2c85-4b06-a847-a59baebf18c3 2026-02-03 07:09:57,314 - INFO - Verified VN network id 12 for VN accef337-f128-4160-8acd-c4385219eba8 2026-02-03 07:09:57,314 - INFO - Verifications in API Server for VN ctest-vn-89615660 passed 2026-02-03 07:09:57,314 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/accef337-f128-4160-8acd-c4385219eba8 2026-02-03 07:09:57,373 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/528fdfbb-2c85-4b06-a847-a59baebf18c3 2026-02-03 07:09:57,432 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/528fdfbb-2c85-4b06-a847-a59baebf18c3 2026-02-03 07:09:57,493 - DEBUG - Requesting: https://10.0.0.129:8082/route-target/5243513c-e2c7-4c78-a247-cb698a5f10a7 2026-02-03 07:09:57,607 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-32173678:ctest-vn-89615660', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-32173678', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12452157441320698208', 'uuid-lslong': '10001866093634382760'}, 'enable': 'true', 'created': '2026-02-03T07:09:49', 'last-modified': '2026-02-03T07:09:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:04.688106'} 2026-02-03 07:09:57,687 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-03 07:09:57,687 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-89615660 passed 2026-02-03 07:09:57,687 - DEBUG - ====Verifying policy data for ctest-vn-89615660 in API_Server ====== 2026-02-03 07:09:57,687 - DEBUG - Requesting: https://10.0.0.129:8082/domains 2026-02-03 07:09:57,743 - DEBUG - Requesting: https://10.0.0.129:8082/domain/a20a955c-6c44-478d-8a7f-02c90676183f 2026-02-03 07:09:57,811 - DEBUG - Requesting: https://10.0.0.129:8082/project/c5b01278-4ddf-4853-ac37-7f2d8dc53d59 2026-02-03 07:09:57,904 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/accef337-f128-4160-8acd-c4385219eba8 2026-02-03 07:09:57,962 - DEBUG - ==>Verifying data for policy with id: ccb131a4-2850-46d0-a16f-015f50b00a40, fqn: ['admin_domain', 'ctest-TestBasicPolicy-32173678', 'ctest-policy-allow-all-01871696'] 2026-02-03 07:09:57,962 - INFO - VN ctest-vn-89615660 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-03 07:09:57,962 - DEBUG - Verifying the vn in opserver 2026-02-03 07:09:57,962 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-32173678:ctest-vn-89615660 virtual network link through opserver 10.0.0.129 2026-02-03 07:09:57,962 - DEBUG - Requesting: https://10.0.0.129:8081/analytics/uves/virtual-networks 2026-02-03 07:09:58,021 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-32173678:ctest-vn-89615660', 'href': 'https://10.0.0.129:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-32173678:ctest-vn-89615660?flat'} 2026-02-03 07:09:58,021 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-32173678:ctest-vn-89615660 is found in opserver 2026-02-03 07:09:58,135 - DEBUG - Do not have enough data to verify VN in agent 2026-02-03 07:09:58,192 - DEBUG - VRF ids for VN ctest-vn-89615660: {} 2026-02-03 07:09:58,258 - DEBUG - Services list from nova: [, , ] 2026-02-03 07:09:59,468 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-668-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-668-1) 2026-02-03 07:10:01,068 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-668-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-668-1) 2026-02-03 07:10:01,068 - INFO - Waiting for VM ctest-TestBasicPolicy-32173678-53415352 to be up.. 2026-02-03 07:10:01,262 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-03 07:10:06,418 - DEBUG - VM is in ACTIVE state now 2026-02-03 07:10:06,418 - INFO - VM name : ctest-TestBasicPolicy-32173678-53415352 2026-02-03 07:10:06,579 - DEBUG - VM ctest-TestBasicPolicy-32173678-53415352 ID is 0b0c0464-198b-4dec-a051-78b9084f760d 2026-02-03 07:10:06,615 - DEBUG - VM ctest-TestBasicPolicy-32173678-53415352 launched on Node cn-jenkins-deploy-platform-juju-os-668-1 2026-02-03 07:10:06,762 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine/0b0c0464-198b-4dec-a051-78b9084f760d 2026-02-03 07:10:06,824 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine-interface/194e2a24-bc50-473c-96f5-1c05201b704f 2026-02-03 07:10:10,292 - 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 1014ms') 2026-02-03 07:10:10,293 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-32173678-53415352 failed! 2026-02-03 07:10:10,350 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicPolicy-32173678:ctest-vn-47862391 is 152.36.58.65 and allocation pool is NOT set 2026-02-03 07:10:12,437 - 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.27 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.76 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 = 3.759/4.013/4.267/0.254 ms') 2026-02-03 07:10:12,437 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-32173678-53415352 passed 2026-02-03 07:10:12,590 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 07:10:12,590 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-32173678-53415352, IP 152.36.58.67, Port 22 2026-02-03 07:10:12,809 - DEBUG - VM ctest-TestBasicPolicy-32173678-53415352 is ready for SSH connections 2026-02-03 07:10:12,809 - INFO - Waiting for VM ctest-TestBasicPolicy-32173678-51702524 to be up.. 2026-02-03 07:10:12,935 - DEBUG - VM is in ACTIVE state now 2026-02-03 07:10:12,936 - INFO - VM name : ctest-TestBasicPolicy-32173678-51702524 2026-02-03 07:10:13,073 - DEBUG - VM ctest-TestBasicPolicy-32173678-51702524 ID is 4f1b9ee7-33a4-449b-b39f-9687903c360e 2026-02-03 07:10:13,073 - DEBUG - VM ctest-TestBasicPolicy-32173678-51702524 launched on Node cn-jenkins-deploy-platform-juju-os-668-1 2026-02-03 07:10:13,203 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine/4f1b9ee7-33a4-449b-b39f-9687903c360e 2026-02-03 07:10:13,259 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine-interface/e6193fd8-c955-4225-883b-453528973925 2026-02-03 07:10:14,698 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=2.55 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.429 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.429/1.489/2.550/1.060 ms') 2026-02-03 07:10:14,698 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-32173678-51702524 passed 2026-02-03 07:10:14,846 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 07:10:14,846 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-32173678-51702524, IP 114.247.21.195, Port 22 2026-02-03 07:10:15,061 - DEBUG - VM ctest-TestBasicPolicy-32173678-51702524 is ready for SSH connections 2026-02-03 07:10:15,061 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 07:10:15,061 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 114.247.21.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2026-02-03 07:10:15,061 - DEBUG - ping -s 56 -c 3 -W 1 114.247.21.195 2026-02-03 07:10:18,783 - DEBUG - PING 114.247.21.195 (114.247.21.195): 56 data bytes 64 bytes from 114.247.21.195: seq=0 ttl=63 time=7.429 ms 64 bytes from 114.247.21.195: seq=1 ttl=63 time=0.738 ms 64 bytes from 114.247.21.195: seq=2 ttl=63 time=1.179 ms --- 114.247.21.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.738/3.115/7.429 ms 2026-02-03 07:10:18,783 - INFO - Ping to IP 114.247.21.195 from VM ctest-TestBasicPolicy-32173678-53415352 passed 2026-02-03 07:10:18,970 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ccb131a4-2850-46d0-a16f-015f50b00a40", "href": "https://10.0.0.129:8082/network-policy/ccb131a4-2850-46d0-a16f-015f50b00a40"}} 2026-02-03 07:10:18,970 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 07:10:18,970 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 114.247.21.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2026-02-03 07:10:18,970 - DEBUG - ping -s 56 -c 3 -W 1 114.247.21.195 2026-02-03 07:10:22,170 - DEBUG - PING 114.247.21.195 (114.247.21.195): 56 data bytes 64 bytes from 114.247.21.195: seq=0 ttl=63 time=1.396 ms --- 114.247.21.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.396/1.396/1.396 ms 2026-02-03 07:10:22,170 - WARNING - Ping to IP 114.247.21.195 from VM ctest-TestBasicPolicy-32173678-53415352 failed 2026-02-03 07:10:22,170 - INFO - Deleting VM ctest-TestBasicPolicy-32173678-51702524 2026-02-03 07:10:22,262 - INFO - Deleting VM ctest-TestBasicPolicy-32173678-53415352 2026-02-03 07:10:22,926 - INFO - Deleted policy ctest-policy-allow-all-01871696 2026-02-03 07:10:22,926 - INFO - Deleting VN ctest-vn-89615660 2026-02-03 07:10:23,065 - DEBUG - VN accef337-f128-4160-8acd-c4385219eba8 still in use: Unable to complete operation on network accef337-f128-4160-8acd-c4385219eba8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c6451766-fd9a-48e6-8c01-0f75430fa8d6'] 2026-02-03 07:10:23,065 - WARNING - Deleting VN ctest-vn-89615660 failed..Will retry 2026-02-03 07:10:25,217 - DEBUG - Response for deleting network () 2026-02-03 07:10:25,218 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/528fdfbb-2c85-4b06-a847-a59baebf18c3 2026-02-03 07:10:25,270 - DEBUG - Response Code: 404 2026-02-03 07:10:25,270 - DEBUG - Requesting: https://10.0.0.129:8082/domains 2026-02-03 07:10:25,323 - DEBUG - Requesting: https://10.0.0.129:8082/domain/a20a955c-6c44-478d-8a7f-02c90676183f 2026-02-03 07:10:25,383 - DEBUG - Requesting: https://10.0.0.129:8082/project/c5b01278-4ddf-4853-ac37-7f2d8dc53d59 2026-02-03 07:10:25,459 - INFO - Validated that VN ctest-vn-89615660 is not found in API Server 2026-02-03 07:10:25,555 - DEBUG - VN ctest-vn-89615660 is not present in Agent 10.0.0.129 2026-02-03 07:10:25,555 - INFO - Validated that VN ctest-vn-89615660 is not in any agent 2026-02-03 07:10:25,699 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-89615660 info 2026-02-03 07:10:25,699 - INFO - Deleting VN ctest-vn-47862391 2026-02-03 07:10:25,849 - DEBUG - Response for deleting network () 2026-02-03 07:10:25,849 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/bfd70eac-fbf5-442f-8f0d-53544a5262b3 2026-02-03 07:10:25,902 - DEBUG - Response Code: 404 2026-02-03 07:10:25,902 - DEBUG - Requesting: https://10.0.0.129:8082/domains 2026-02-03 07:10:25,955 - DEBUG - Requesting: https://10.0.0.129:8082/domain/a20a955c-6c44-478d-8a7f-02c90676183f 2026-02-03 07:10:26,011 - DEBUG - Requesting: https://10.0.0.129:8082/project/c5b01278-4ddf-4853-ac37-7f2d8dc53d59 2026-02-03 07:10:26,091 - INFO - Validated that VN ctest-vn-47862391 is not found in API Server 2026-02-03 07:10:26,187 - DEBUG - VN ctest-vn-47862391 is not present in Agent 10.0.0.129 2026-02-03 07:10:26,187 - INFO - Validated that VN ctest-vn-47862391 is not in any agent 2026-02-03 07:10:26,335 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-47862391 info 2026-02-03 07:10:26,707 - DEBUG - No XMPP flaps were noticed during the test
2026-02-03 07:10:26,707 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:40]
2026-02-03 07:10:26,707 - INFO - -------------------------------------------------------------------------------- 2026-02-03 07:10:27,405 - INFO - Deleted project: ctest-TestBasicPolicy-32173678, ID : c5b01278-4ddf-4853-ac37-7f2d8dc53d59