2025-10-20 16:37:30,995 - INFO - Reading existing Domain with UUID d63b8345-8de7-4e97-94d5-a56d8ff33dd0 2025-10-20 16:37:31,006 - INFO - Using existing domain ['admin_domain'](d63b8345-8de7-4e97-94d5-a56d8ff33dd0) 2025-10-20 16:37:31,199 - INFO - Project ctest-TestBasicPolicy-86523354 not found, creating it 2025-10-20 16:37:31,722 - INFO - Created Project:ctest-TestBasicPolicy-86523354, ID : 8a1cfe2c-7032-4de8-9efe-a64c4d621c7c 2025-10-20 16:37:33,428 - INFO - ================================================================================ 2025-10-20 16:37:33,428 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-20 16:37:33,428 - 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 2025-10-20 16:37:33,819 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.0.0.22': '0'}} with 2025-10-20 16:37:33,820 - INFO - Initial checks done. Running the testcase now 2025-10-20 16:37:33,820 - INFO - 2025-10-20 16:37:34,536 - DEBUG - Response for create_network : {'network': {'id': '60a34a3b-b658-4dcf-b643-68d28ee0caa7', 'name': 'ctest-vn-86027194', 'tenant_id': '8a1cfe2c70324de89efea64c4d621c7c', 'project_id': '8a1cfe2c70324de89efea64c4d621c7c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-86523354', 'ctest-vn-86027194'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-20 16:37:34,743 - DEBUG - Response for create_subnet : {'subnet': {'id': '72a45355-3821-458e-9077-622460ab9097', 'name': '', 'tenant_id': '8a1cfe2c70324de89efea64c4d621c7c', 'network_id': '60a34a3b-b658-4dcf-b643-68d28ee0caa7', 'ip_version': 4, 'cidr': '117.88.32.192/26', 'allocation_pools': [{'start': '117.88.32.194', 'end': '117.88.32.254'}], 'gateway_ip': '117.88.32.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-20T16:37:34.631142', 'updated_at': '2025-10-20T16:37:34.631142', 'dns_server_address': '117.88.32.194', 'tags': [], 'project_id': '8a1cfe2c70324de89efea64c4d621c7c'}} 2025-10-20 16:37:34,808 - INFO - Created VN ctest-vn-86027194 2025-10-20 16:37:34,867 - DEBUG - VN ctest-vn-86027194 UUID is 60a34a3b-b658-4dcf-b643-68d28ee0caa7 2025-10-20 16:37:35,365 - DEBUG - Response for create_network : {'network': {'id': '01936bbe-3234-4468-b88c-5144d09764ee', 'name': 'ctest-vn-54047102', 'tenant_id': '8a1cfe2c70324de89efea64c4d621c7c', 'project_id': '8a1cfe2c70324de89efea64c4d621c7c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-86523354', 'ctest-vn-54047102'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-20 16:37:35,619 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ee85a79b-80ea-4e0d-a587-200e61e1da1c', 'name': '', 'tenant_id': '8a1cfe2c70324de89efea64c4d621c7c', 'network_id': '01936bbe-3234-4468-b88c-5144d09764ee', 'ip_version': 4, 'cidr': '96.220.68.0/26', 'allocation_pools': [{'start': '96.220.68.2', 'end': '96.220.68.62'}], 'gateway_ip': '96.220.68.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-20T16:37:35.518516', 'updated_at': '2025-10-20T16:37:35.518516', 'dns_server_address': '96.220.68.2', 'tags': [], 'project_id': '8a1cfe2c70324de89efea64c4d621c7c'}} 2025-10-20 16:37:35,684 - INFO - Created VN ctest-vn-54047102 2025-10-20 16:37:35,746 - DEBUG - VN ctest-vn-54047102 UUID is 01936bbe-3234-4468-b88c-5144d09764ee 2025-10-20 16:37:35,958 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-86523354:ctest-vn-86027194, 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-86523354:ctest-vn-54047102, 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] 2025-10-20 16:37:36,362 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '60a34a3b-b658-4dcf-b643-68d28ee0caa7', 'name': 'ctest-vn-86027194', 'tenant_id': '8a1cfe2c70324de89efea64c4d621c7c', 'project_id': '8a1cfe2c70324de89efea64c4d621c7c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['72a45355-3821-458e-9077-622460ab9097'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-86523354', 'ctest-vn-86027194'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-86523354', 'ctest-policy-allow-all-07451488']], 'subnet_ipam': [{'subnet_cidr': '117.88.32.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2025-10-20T16:37:34.455217', 'updated_at': '2025-10-20T16:37:34.647107'}} 2025-10-20 16:37:36,698 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '01936bbe-3234-4468-b88c-5144d09764ee', 'name': 'ctest-vn-54047102', 'tenant_id': '8a1cfe2c70324de89efea64c4d621c7c', 'project_id': '8a1cfe2c70324de89efea64c4d621c7c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ee85a79b-80ea-4e0d-a587-200e61e1da1c'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-86523354', 'ctest-vn-54047102'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-86523354', 'ctest-policy-allow-all-07451488']], 'subnet_ipam': [{'subnet_cidr': '96.220.68.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2025-10-20T16:37:35.289242', 'updated_at': '2025-10-20T16:37:35.531926'}} 2025-10-20 16:37:36,874 - DEBUG - Requesting: https://10.0.0.22:8082/domains 2025-10-20 16:37:37,217 - DEBUG - Requesting: https://10.0.0.22:8082/domains 2025-10-20 16:37:37,295 - DEBUG - Requesting: https://10.0.0.22:8082/domain/d63b8345-8de7-4e97-94d5-a56d8ff33dd0 2025-10-20 16:37:37,355 - DEBUG - Requesting: https://10.0.0.22:8082/project/8a1cfe2c-7032-4de8-9efe-a64c4d621c7c 2025-10-20 16:37:37,435 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-network/60a34a3b-b658-4dcf-b643-68d28ee0caa7 2025-10-20 16:37:37,492 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-network/60a34a3b-b658-4dcf-b643-68d28ee0caa7 2025-10-20 16:37:37,548 - DEBUG - Requesting: https://10.0.0.22:8082/routing-instance/8f785882-f149-4573-a646-d6998b358a30 2025-10-20 16:37:37,599 - DEBUG - Requesting: https://10.0.0.22:8082/routing-instance/8f785882-f149-4573-a646-d6998b358a30 2025-10-20 16:37:37,655 - DEBUG - Requesting: https://10.0.0.22:8082/route-target/470d3477-5d7f-4e07-9be4-1df08ac74c42 2025-10-20 16:37:37,707 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-20 16:37:37,707 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-network/60a34a3b-b658-4dcf-b643-68d28ee0caa7 2025-10-20 16:37:37,764 - DEBUG - Requesting: https://10.0.0.22:8082/routing-instance/8f785882-f149-4573-a646-d6998b358a30 2025-10-20 16:37:37,829 - INFO - Verified VN network id 11 for VN 60a34a3b-b658-4dcf-b643-68d28ee0caa7 2025-10-20 16:37:37,829 - INFO - Verifications in API Server for VN ctest-vn-86027194 passed 2025-10-20 16:37:37,829 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-network/60a34a3b-b658-4dcf-b643-68d28ee0caa7 2025-10-20 16:37:37,884 - DEBUG - Requesting: https://10.0.0.22:8082/routing-instance/8f785882-f149-4573-a646-d6998b358a30 2025-10-20 16:37:37,935 - DEBUG - Requesting: https://10.0.0.22:8082/routing-instance/8f785882-f149-4573-a646-d6998b358a30 2025-10-20 16:37:37,987 - DEBUG - Requesting: https://10.0.0.22:8082/route-target/470d3477-5d7f-4e07-9be4-1df08ac74c42 2025-10-20 16:37:38,091 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-86523354:ctest-vn-86027194', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86523354', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6963491069167685071', 'uuid-lslong': '13133456191892015783'}, 'enable': 'true', 'created': '2025-10-20T16:37:34', 'last-modified': '2025-10-20T16:37:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.750371'} 2025-10-20 16:37:38,144 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-20 16:37:38,145 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-86027194 passed 2025-10-20 16:37:38,145 - DEBUG - ====Verifying policy data for ctest-vn-86027194 in API_Server ====== 2025-10-20 16:37:38,145 - DEBUG - Requesting: https://10.0.0.22:8082/domains 2025-10-20 16:37:38,195 - DEBUG - Requesting: https://10.0.0.22:8082/domain/d63b8345-8de7-4e97-94d5-a56d8ff33dd0 2025-10-20 16:37:38,251 - DEBUG - Requesting: https://10.0.0.22:8082/project/8a1cfe2c-7032-4de8-9efe-a64c4d621c7c 2025-10-20 16:37:38,331 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-network/60a34a3b-b658-4dcf-b643-68d28ee0caa7 2025-10-20 16:37:38,388 - DEBUG - ==>Verifying data for policy with id: 4248ef90-36f3-42ea-b648-cd51c464ca62, fqn: ['admin_domain', 'ctest-TestBasicPolicy-86523354', 'ctest-policy-allow-all-07451488'] 2025-10-20 16:37:38,388 - INFO - VN ctest-vn-86027194 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-20 16:37:38,388 - DEBUG - Verifying the vn in opserver 2025-10-20 16:37:38,388 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-86523354:ctest-vn-86027194 virtual network link through opserver 10.0.0.22 2025-10-20 16:37:38,388 - DEBUG - Requesting: https://10.0.0.22:8081/analytics/uves/virtual-networks 2025-10-20 16:37:38,729 - DEBUG - Requesting: https://10.0.0.22:8081/analytics/uves/virtual-networks 2025-10-20 16:37:38,843 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-86523354:ctest-vn-86027194', 'href': 'https://10.0.0.22:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-86523354:ctest-vn-86027194?flat'} 2025-10-20 16:37:38,843 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-86523354:ctest-vn-86027194 is found in opserver 2025-10-20 16:37:38,939 - DEBUG - Do not have enough data to verify VN in agent 2025-10-20 16:37:38,995 - DEBUG - VRF ids for VN ctest-vn-86027194: {} 2025-10-20 16:37:38,995 - DEBUG - Requesting: https://10.0.0.22:8082/domains 2025-10-20 16:37:39,047 - DEBUG - Requesting: https://10.0.0.22:8082/domain/d63b8345-8de7-4e97-94d5-a56d8ff33dd0 2025-10-20 16:37:39,107 - DEBUG - Requesting: https://10.0.0.22:8082/project/8a1cfe2c-7032-4de8-9efe-a64c4d621c7c 2025-10-20 16:37:39,187 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-network/01936bbe-3234-4468-b88c-5144d09764ee 2025-10-20 16:37:39,244 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-network/01936bbe-3234-4468-b88c-5144d09764ee 2025-10-20 16:37:39,304 - DEBUG - Requesting: https://10.0.0.22:8082/routing-instance/de1c6ff7-da76-4304-a896-d9113a0b59d4 2025-10-20 16:37:39,359 - DEBUG - Requesting: https://10.0.0.22:8082/routing-instance/de1c6ff7-da76-4304-a896-d9113a0b59d4 2025-10-20 16:37:39,415 - DEBUG - Requesting: https://10.0.0.22:8082/route-target/e319d8f3-2192-4230-a21e-060ef16c914d 2025-10-20 16:37:39,467 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-20 16:37:39,467 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-network/01936bbe-3234-4468-b88c-5144d09764ee 2025-10-20 16:37:39,524 - DEBUG - Requesting: https://10.0.0.22:8082/routing-instance/de1c6ff7-da76-4304-a896-d9113a0b59d4 2025-10-20 16:37:39,590 - INFO - Verified VN network id 12 for VN 01936bbe-3234-4468-b88c-5144d09764ee 2025-10-20 16:37:39,590 - INFO - Verifications in API Server for VN ctest-vn-54047102 passed 2025-10-20 16:37:39,590 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-network/01936bbe-3234-4468-b88c-5144d09764ee 2025-10-20 16:37:39,649 - DEBUG - Requesting: https://10.0.0.22:8082/routing-instance/de1c6ff7-da76-4304-a896-d9113a0b59d4 2025-10-20 16:37:39,703 - DEBUG - Requesting: https://10.0.0.22:8082/routing-instance/de1c6ff7-da76-4304-a896-d9113a0b59d4 2025-10-20 16:37:39,763 - DEBUG - Requesting: https://10.0.0.22:8082/route-target/e319d8f3-2192-4230-a21e-060ef16c914d 2025-10-20 16:37:39,867 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-86523354:ctest-vn-54047102', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86523354', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '113552880244638824', 'uuid-lslong': '13298093155717440750'}, 'enable': 'true', 'created': '2025-10-20T16:37:35', 'last-modified': '2025-10-20T16:37:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.192236'} 2025-10-20 16:37:39,920 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-20 16:37:39,920 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-54047102 passed 2025-10-20 16:37:39,920 - DEBUG - ====Verifying policy data for ctest-vn-54047102 in API_Server ====== 2025-10-20 16:37:39,920 - DEBUG - Requesting: https://10.0.0.22:8082/domains 2025-10-20 16:37:39,971 - DEBUG - Requesting: https://10.0.0.22:8082/domain/d63b8345-8de7-4e97-94d5-a56d8ff33dd0 2025-10-20 16:37:40,027 - DEBUG - Requesting: https://10.0.0.22:8082/project/8a1cfe2c-7032-4de8-9efe-a64c4d621c7c 2025-10-20 16:37:40,107 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-network/01936bbe-3234-4468-b88c-5144d09764ee 2025-10-20 16:37:40,164 - DEBUG - ==>Verifying data for policy with id: 4248ef90-36f3-42ea-b648-cd51c464ca62, fqn: ['admin_domain', 'ctest-TestBasicPolicy-86523354', 'ctest-policy-allow-all-07451488'] 2025-10-20 16:37:40,164 - INFO - VN ctest-vn-54047102 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-20 16:37:40,164 - DEBUG - Verifying the vn in opserver 2025-10-20 16:37:40,164 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-86523354:ctest-vn-54047102 virtual network link through opserver 10.0.0.22 2025-10-20 16:37:40,164 - DEBUG - Requesting: https://10.0.0.22:8081/analytics/uves/virtual-networks 2025-10-20 16:37:40,223 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-86523354:ctest-vn-54047102', 'href': 'https://10.0.0.22:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-86523354:ctest-vn-54047102?flat'} 2025-10-20 16:37:40,223 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-86523354:ctest-vn-54047102 is found in opserver 2025-10-20 16:37:40,323 - DEBUG - Do not have enough data to verify VN in agent 2025-10-20 16:37:40,371 - DEBUG - VRF ids for VN ctest-vn-54047102: {} 2025-10-20 16:37:40,456 - DEBUG - Services list from nova: [, , ] 2025-10-20 16:37:41,581 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-600-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-600-1) 2025-10-20 16:37:42,847 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-600-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-600-1) 2025-10-20 16:37:42,847 - INFO - Waiting for VM ctest-TestBasicPolicy-86523354-08959435 to be up.. 2025-10-20 16:37:42,995 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-20 16:37:48,132 - DEBUG - VM is in ACTIVE state now 2025-10-20 16:37:48,132 - INFO - VM name : ctest-TestBasicPolicy-86523354-08959435 2025-10-20 16:37:48,272 - DEBUG - VM ctest-TestBasicPolicy-86523354-08959435 ID is 390fe177-94e9-4e69-bd0a-9cee6ec4e66a 2025-10-20 16:37:48,297 - DEBUG - VM ctest-TestBasicPolicy-86523354-08959435 launched on Node cn-jenkins-deploy-platform-juju-os-600-1 2025-10-20 16:37:48,517 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-machine/390fe177-94e9-4e69-bd0a-9cee6ec4e66a 2025-10-20 16:37:48,580 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-machine-interface/040e289f-8422-4850-8c6b-2c97e32f0568 2025-10-20 16:37:52,051 - 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 1013ms') 2025-10-20 16:37:52,051 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-86523354-08959435 failed! 2025-10-20 16:37:52,106 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicPolicy-86523354:ctest-vn-86027194 is 117.88.32.193 and allocation pool is NOT set 2025-10-20 16:37:54,199 - 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.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.953 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.953/2.944/4.936/1.991 ms') 2025-10-20 16:37:54,199 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-86523354-08959435 passed 2025-10-20 16:37:54,358 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 16:37:54,358 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-86523354-08959435, IP 117.88.32.195, Port 22 2025-10-20 16:37:54,569 - DEBUG - VM ctest-TestBasicPolicy-86523354-08959435 is ready for SSH connections 2025-10-20 16:37:54,569 - INFO - Waiting for VM ctest-TestBasicPolicy-86523354-58037255 to be up.. 2025-10-20 16:37:54,707 - DEBUG - VM is in ACTIVE state now 2025-10-20 16:37:54,707 - INFO - VM name : ctest-TestBasicPolicy-86523354-58037255 2025-10-20 16:37:54,840 - DEBUG - VM ctest-TestBasicPolicy-86523354-58037255 ID is cd3d69e4-2b70-45d2-a751-50d710c72a3e 2025-10-20 16:37:54,840 - DEBUG - VM ctest-TestBasicPolicy-86523354-58037255 launched on Node cn-jenkins-deploy-platform-juju-os-600-1 2025-10-20 16:37:54,975 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-machine/cd3d69e4-2b70-45d2-a751-50d710c72a3e 2025-10-20 16:37:55,035 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-machine-interface/36f189ce-1b5d-43e2-b8b9-452159397cd1 2025-10-20 16:37:56,487 - 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.37 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.457 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.457/1.911/3.365/1.454 ms') 2025-10-20 16:37:56,487 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-86523354-58037255 passed 2025-10-20 16:37:56,642 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 16:37:56,642 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-86523354-58037255, IP 96.220.68.3, Port 22 2025-10-20 16:37:56,875 - DEBUG - VM ctest-TestBasicPolicy-86523354-58037255 is ready for SSH connections 2025-10-20 16:37:56,876 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 16:37:56,876 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 96.220.68.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-10-20 16:37:56,876 - DEBUG - ping -s 56 -c 3 -W 1 96.220.68.3 2025-10-20 16:38:00,590 - DEBUG - PING 96.220.68.3 (96.220.68.3): 56 data bytes 64 bytes from 96.220.68.3: seq=0 ttl=63 time=3.452 ms 64 bytes from 96.220.68.3: seq=1 ttl=63 time=1.074 ms 64 bytes from 96.220.68.3: seq=2 ttl=63 time=0.865 ms --- 96.220.68.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.865/1.797/3.452 ms 2025-10-20 16:38:00,590 - INFO - Ping to IP 96.220.68.3 from VM ctest-TestBasicPolicy-86523354-08959435 passed 2025-10-20 16:38:00,778 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4248ef90-36f3-42ea-b648-cd51c464ca62", "href": "https://10.0.0.22:8082/network-policy/4248ef90-36f3-42ea-b648-cd51c464ca62"}} 2025-10-20 16:38:00,778 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 16:38:00,778 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 96.220.68.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-10-20 16:38:00,778 - DEBUG - ping -s 56 -c 3 -W 1 96.220.68.3 2025-10-20 16:38:04,028 - DEBUG - PING 96.220.68.3 (96.220.68.3): 56 data bytes --- 96.220.68.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-20 16:38:04,028 - WARNING - Ping to IP 96.220.68.3 from VM ctest-TestBasicPolicy-86523354-08959435 failed 2025-10-20 16:38:04,029 - INFO - Deleting VM ctest-TestBasicPolicy-86523354-58037255 2025-10-20 16:38:04,137 - INFO - Deleting VM ctest-TestBasicPolicy-86523354-08959435 2025-10-20 16:38:04,877 - INFO - Deleted policy ctest-policy-allow-all-07451488 2025-10-20 16:38:04,878 - INFO - Deleting VN ctest-vn-54047102 2025-10-20 16:38:05,014 - DEBUG - VN 01936bbe-3234-4468-b88c-5144d09764ee still in use: Unable to complete operation on network 01936bbe-3234-4468-b88c-5144d09764ee. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8cf5e0ea-ba98-4116-9d2f-f2bf90aeb4ec'] 2025-10-20 16:38:05,014 - WARNING - Deleting VN ctest-vn-54047102 failed..Will retry 2025-10-20 16:38:07,175 - DEBUG - Response for deleting network () 2025-10-20 16:38:07,175 - DEBUG - Requesting: https://10.0.0.22:8082/routing-instance/de1c6ff7-da76-4304-a896-d9113a0b59d4 2025-10-20 16:38:07,226 - DEBUG - Response Code: 404 2025-10-20 16:38:07,226 - DEBUG - Requesting: https://10.0.0.22:8082/domains 2025-10-20 16:38:07,279 - DEBUG - Requesting: https://10.0.0.22:8082/domain/d63b8345-8de7-4e97-94d5-a56d8ff33dd0 2025-10-20 16:38:07,339 - DEBUG - Requesting: https://10.0.0.22:8082/project/8a1cfe2c-7032-4de8-9efe-a64c4d621c7c 2025-10-20 16:38:07,411 - INFO - Validated that VN ctest-vn-54047102 is not found in API Server 2025-10-20 16:38:07,511 - DEBUG - VN ctest-vn-54047102 is not present in Agent 10.0.0.22 2025-10-20 16:38:07,511 - INFO - Validated that VN ctest-vn-54047102 is not in any agent 2025-10-20 16:38:07,667 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-54047102 info 2025-10-20 16:38:07,667 - INFO - Deleting VN ctest-vn-86027194 2025-10-20 16:38:07,828 - DEBUG - Response for deleting network () 2025-10-20 16:38:07,828 - DEBUG - Requesting: https://10.0.0.22:8082/routing-instance/8f785882-f149-4573-a646-d6998b358a30 2025-10-20 16:38:07,882 - DEBUG - Response Code: 404 2025-10-20 16:38:07,882 - DEBUG - Requesting: https://10.0.0.22:8082/domains 2025-10-20 16:38:07,935 - DEBUG - Requesting: https://10.0.0.22:8082/domain/d63b8345-8de7-4e97-94d5-a56d8ff33dd0 2025-10-20 16:38:07,991 - DEBUG - Requesting: https://10.0.0.22:8082/project/8a1cfe2c-7032-4de8-9efe-a64c4d621c7c 2025-10-20 16:38:08,064 - INFO - Validated that VN ctest-vn-86027194 is not found in API Server 2025-10-20 16:38:08,163 - DEBUG - VN ctest-vn-86027194 is not present in Agent 10.0.0.22 2025-10-20 16:38:08,163 - INFO - Validated that VN ctest-vn-86027194 is not in any agent 2025-10-20 16:38:08,311 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-86027194 info 2025-10-20 16:38:08,699 - DEBUG - No XMPP flaps were noticed during the test 2025-10-20 16:38:08,699 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2025-10-20 16:38:08,699 - INFO - -------------------------------------------------------------------------------- 2025-10-20 16:38:09,436 - INFO - Deleted project: ctest-TestBasicPolicy-86523354, ID : 8a1cfe2c-7032-4de8-9efe-a64c4d621c7c