2025-11-17 20:38:20,242 - INFO - Domain Default found not creating 2025-11-17 20:38:20,410 - INFO - Project ctest-TestBasicPolicy-79083002 not found, creating it 2025-11-17 20:38:20,869 - INFO - Created Project:ctest-TestBasicPolicy-79083002, ID : 96fd3cd0-49ad-47b9-9ddd-6ce54ff9ad31 2025-11-17 20:38:22,466 - INFO - ================================================================================ 2025-11-17 20:38:22,466 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-17 20:38:22,466 - 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-11-17 20:38:22,725 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-11-17 20:38:22,725 - INFO - Initial checks done. Running the testcase now 2025-11-17 20:38:22,725 - INFO - 2025-11-17 20:38:23,317 - DEBUG - Response for create_network : {'network': {'id': 'e017f1fa-5cc9-4b58-9261-03932fe26835', 'name': 'ctest-vn-88393723', 'tenant_id': '96fd3cd049ad47b99ddd6ce54ff9ad31', 'project_id': '96fd3cd049ad47b99ddd6ce54ff9ad31', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79083002', 'ctest-vn-88393723'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 20:38:23,513 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f793fcf8-5aa1-470f-ab33-5249ebc46ef2', 'name': '', 'tenant_id': '96fd3cd049ad47b99ddd6ce54ff9ad31', 'network_id': 'e017f1fa-5cc9-4b58-9261-03932fe26835', 'ip_version': 4, 'cidr': '156.29.178.64/26', 'allocation_pools': [{'start': '156.29.178.66', 'end': '156.29.178.126'}], 'gateway_ip': '156.29.178.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.29.178.66', 'tags': [], 'project_id': '96fd3cd049ad47b99ddd6ce54ff9ad31'}} 2025-11-17 20:38:23,531 - INFO - Created VN ctest-vn-88393723 2025-11-17 20:38:23,584 - DEBUG - VN ctest-vn-88393723 UUID is e017f1fa-5cc9-4b58-9261-03932fe26835 2025-11-17 20:38:23,908 - DEBUG - Response for create_network : {'network': {'id': 'b84b5620-4ac3-43f9-9289-1b99951d0a8e', 'name': 'ctest-vn-69399318', 'tenant_id': '96fd3cd049ad47b99ddd6ce54ff9ad31', 'project_id': '96fd3cd049ad47b99ddd6ce54ff9ad31', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79083002', 'ctest-vn-69399318'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 20:38:24,075 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cc08275d-8625-4679-8b1d-34259a798341', 'name': '', 'tenant_id': '96fd3cd049ad47b99ddd6ce54ff9ad31', 'network_id': 'b84b5620-4ac3-43f9-9289-1b99951d0a8e', 'ip_version': 4, 'cidr': '199.253.202.0/26', 'allocation_pools': [{'start': '199.253.202.2', 'end': '199.253.202.62'}], 'gateway_ip': '199.253.202.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.253.202.2', 'tags': [], 'project_id': '96fd3cd049ad47b99ddd6ce54ff9ad31'}} 2025-11-17 20:38:24,094 - INFO - Created VN ctest-vn-69399318 2025-11-17 20:38:24,148 - DEBUG - VN ctest-vn-69399318 UUID is b84b5620-4ac3-43f9-9289-1b99951d0a8e 2025-11-17 20:38:24,303 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-79083002:ctest-vn-88393723, security_group = None, network_policy = None, subnet_list = []], src_ports = [start_port = -1, end_port = -1], application = [], dst_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-79083002:ctest-vn-69399318, 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-11-17 20:38:24,597 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e017f1fa-5cc9-4b58-9261-03932fe26835', 'name': 'ctest-vn-88393723', 'tenant_id': '96fd3cd049ad47b99ddd6ce54ff9ad31', 'project_id': '96fd3cd049ad47b99ddd6ce54ff9ad31', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f793fcf8-5aa1-470f-ab33-5249ebc46ef2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79083002', 'ctest-vn-88393723'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-79083002', 'ctest-policy-allow-all-03686477']], 'subnet_ipam': [{'subnet_cidr': '156.29.178.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-17 20:38:24,828 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b84b5620-4ac3-43f9-9289-1b99951d0a8e', 'name': 'ctest-vn-69399318', 'tenant_id': '96fd3cd049ad47b99ddd6ce54ff9ad31', 'project_id': '96fd3cd049ad47b99ddd6ce54ff9ad31', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cc08275d-8625-4679-8b1d-34259a798341'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79083002', 'ctest-vn-69399318'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-79083002', 'ctest-policy-allow-all-03686477']], 'subnet_ipam': [{'subnet_cidr': '199.253.202.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-17 20:38:24,995 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-17 20:38:25,337 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-17 20:38:25,392 - DEBUG - Requesting: http://10.0.0.50:8082/domain/7df7e7c0-d394-4684-84be-be8cfbd1e283 2025-11-17 20:38:25,406 - DEBUG - Requesting: http://10.0.0.50:8082/project/96fd3cd0-49ad-47b9-9ddd-6ce54ff9ad31 2025-11-17 20:38:25,486 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e017f1fa-5cc9-4b58-9261-03932fe26835 2025-11-17 20:38:25,499 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e017f1fa-5cc9-4b58-9261-03932fe26835 2025-11-17 20:38:25,509 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/090fbfde-152c-4eda-b8d0-befce5d4924e 2025-11-17 20:38:25,515 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/090fbfde-152c-4eda-b8d0-befce5d4924e 2025-11-17 20:38:25,521 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/b87e73f1-75a7-45d8-b4de-fc204f05ca48 2025-11-17 20:38:25,527 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-17 20:38:25,527 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e017f1fa-5cc9-4b58-9261-03932fe26835 2025-11-17 20:38:25,534 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/090fbfde-152c-4eda-b8d0-befce5d4924e 2025-11-17 20:38:25,548 - INFO - Verified VN network id 11 for VN e017f1fa-5cc9-4b58-9261-03932fe26835 2025-11-17 20:38:25,548 - INFO - Verifications in API Server for VN ctest-vn-88393723 passed 2025-11-17 20:38:25,548 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e017f1fa-5cc9-4b58-9261-03932fe26835 2025-11-17 20:38:25,556 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/090fbfde-152c-4eda-b8d0-befce5d4924e 2025-11-17 20:38:25,562 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/090fbfde-152c-4eda-b8d0-befce5d4924e 2025-11-17 20:38:25,569 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/b87e73f1-75a7-45d8-b4de-fc204f05ca48 2025-11-17 20:38:25,580 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-79083002:ctest-vn-88393723', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-79083002', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16147641046561016664', 'uuid-lslong': '10547715732976855093'}, 'enable': 'true', 'created': '2025-11-17T20:38:23', 'last-modified': '2025-11-17T20:38:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.001682'} 2025-11-17 20:38:25,585 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-17 20:38:25,585 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-88393723 passed 2025-11-17 20:38:25,585 - DEBUG - ====Verifying policy data for ctest-vn-88393723 in API_Server ====== 2025-11-17 20:38:25,586 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-17 20:38:25,590 - DEBUG - Requesting: http://10.0.0.50:8082/domain/7df7e7c0-d394-4684-84be-be8cfbd1e283 2025-11-17 20:38:25,601 - DEBUG - Requesting: http://10.0.0.50:8082/project/96fd3cd0-49ad-47b9-9ddd-6ce54ff9ad31 2025-11-17 20:38:25,671 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e017f1fa-5cc9-4b58-9261-03932fe26835 2025-11-17 20:38:25,681 - DEBUG - ==>Verifying data for policy with id: 1f61ba77-1b2e-4cf8-a7c4-9291237b33f7, fqn: ['default-domain', 'ctest-TestBasicPolicy-79083002', 'ctest-policy-allow-all-03686477'] 2025-11-17 20:38:25,681 - INFO - VN ctest-vn-88393723 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-17 20:38:25,681 - DEBUG - Verifying the vn in opserver 2025-11-17 20:38:25,681 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-79083002:ctest-vn-88393723 virtual network link through opserver 10.0.0.50 2025-11-17 20:38:25,681 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-17 20:38:26,017 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-17 20:38:26,081 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-79083002:ctest-vn-88393723', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-79083002:ctest-vn-88393723?flat'} 2025-11-17 20:38:26,081 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-79083002:ctest-vn-88393723 is found in opserver 2025-11-17 20:38:26,092 - DEBUG - Do not have enough data to verify VN in agent 2025-11-17 20:38:26,098 - DEBUG - VRF ids for VN ctest-vn-88393723: {} 2025-11-17 20:38:26,098 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-17 20:38:26,103 - DEBUG - Requesting: http://10.0.0.50:8082/domain/7df7e7c0-d394-4684-84be-be8cfbd1e283 2025-11-17 20:38:26,114 - DEBUG - Requesting: http://10.0.0.50:8082/project/96fd3cd0-49ad-47b9-9ddd-6ce54ff9ad31 2025-11-17 20:38:26,188 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b84b5620-4ac3-43f9-9289-1b99951d0a8e 2025-11-17 20:38:26,201 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b84b5620-4ac3-43f9-9289-1b99951d0a8e 2025-11-17 20:38:26,210 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e855c99b-308f-4487-8f1b-124667095a2e 2025-11-17 20:38:26,216 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e855c99b-308f-4487-8f1b-124667095a2e 2025-11-17 20:38:26,222 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/1a3f38cf-84fa-48b0-8308-801a25113246 2025-11-17 20:38:26,228 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-17 20:38:26,228 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b84b5620-4ac3-43f9-9289-1b99951d0a8e 2025-11-17 20:38:26,237 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e855c99b-308f-4487-8f1b-124667095a2e 2025-11-17 20:38:26,250 - INFO - Verified VN network id 12 for VN b84b5620-4ac3-43f9-9289-1b99951d0a8e 2025-11-17 20:38:26,250 - INFO - Verifications in API Server for VN ctest-vn-69399318 passed 2025-11-17 20:38:26,250 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b84b5620-4ac3-43f9-9289-1b99951d0a8e 2025-11-17 20:38:26,258 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e855c99b-308f-4487-8f1b-124667095a2e 2025-11-17 20:38:26,264 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e855c99b-308f-4487-8f1b-124667095a2e 2025-11-17 20:38:26,270 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/1a3f38cf-84fa-48b0-8308-801a25113246 2025-11-17 20:38:26,282 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-79083002:ctest-vn-69399318', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-79083002', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13279802622925292537', 'uuid-lslong': '10559001147792493198'}, 'enable': 'true', 'created': '2025-11-17T20:38:23', 'last-modified': '2025-11-17T20:38:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.472580'} 2025-11-17 20:38:26,288 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-17 20:38:26,288 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-69399318 passed 2025-11-17 20:38:26,289 - DEBUG - ====Verifying policy data for ctest-vn-69399318 in API_Server ====== 2025-11-17 20:38:26,289 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-17 20:38:26,295 - DEBUG - Requesting: http://10.0.0.50:8082/domain/7df7e7c0-d394-4684-84be-be8cfbd1e283 2025-11-17 20:38:26,307 - DEBUG - Requesting: http://10.0.0.50:8082/project/96fd3cd0-49ad-47b9-9ddd-6ce54ff9ad31 2025-11-17 20:38:26,375 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b84b5620-4ac3-43f9-9289-1b99951d0a8e 2025-11-17 20:38:26,384 - DEBUG - ==>Verifying data for policy with id: 1f61ba77-1b2e-4cf8-a7c4-9291237b33f7, fqn: ['default-domain', 'ctest-TestBasicPolicy-79083002', 'ctest-policy-allow-all-03686477'] 2025-11-17 20:38:26,384 - INFO - VN ctest-vn-69399318 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-17 20:38:26,384 - DEBUG - Verifying the vn in opserver 2025-11-17 20:38:26,384 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-79083002:ctest-vn-69399318 virtual network link through opserver 10.0.0.50 2025-11-17 20:38:26,384 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-17 20:38:26,393 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-79083002:ctest-vn-69399318', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-79083002:ctest-vn-69399318?flat'} 2025-11-17 20:38:26,393 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-79083002:ctest-vn-69399318 is found in opserver 2025-11-17 20:38:26,402 - DEBUG - Do not have enough data to verify VN in agent 2025-11-17 20:38:26,406 - DEBUG - VRF ids for VN ctest-vn-69399318: {} 2025-11-17 20:38:26,465 - DEBUG - Services list from nova: [, , ] 2025-11-17 20:38:27,579 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4746-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4746-1) 2025-11-17 20:38:28,804 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4746-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4746-1) 2025-11-17 20:38:28,804 - INFO - Waiting for VM ctest-TestBasicPolicy-79083002-00649351 to be up.. 2025-11-17 20:38:28,880 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-17 20:38:33,957 - DEBUG - VM is in ACTIVE state now 2025-11-17 20:38:33,957 - INFO - VM name : ctest-TestBasicPolicy-79083002-00649351 2025-11-17 20:38:34,030 - DEBUG - VM ctest-TestBasicPolicy-79083002-00649351 ID is 2180dbcf-889c-4c29-bda6-6c09ffa3f066 2025-11-17 20:38:34,050 - DEBUG - VM ctest-TestBasicPolicy-79083002-00649351 launched on Node cn-jenkins-deploy-platform-ansible-os-4746-1 2025-11-17 20:38:34,126 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/2180dbcf-889c-4c29-bda6-6c09ffa3f066 2025-11-17 20:38:34,135 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/205286ee-ad3c-4433-8152-691dda0bf59f 2025-11-17 20:38:37,398 - 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') 2025-11-17 20:38:37,398 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-79083002-00649351 failed! 2025-11-17 20:38:37,451 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-79083002:ctest-vn-88393723 is 156.29.178.65 and allocation pool is NOT set 2025-11-17 20:38:39,515 - 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=9.25 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.43 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.429/5.838/9.248/3.409 ms') 2025-11-17 20:38:39,515 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-79083002-00649351 passed 2025-11-17 20:38:39,663 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 20:38:39,664 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-79083002-00649351, IP 156.29.178.67, Port 22 2025-11-17 20:38:39,819 - DEBUG - VM ctest-TestBasicPolicy-79083002-00649351 is ready for SSH connections 2025-11-17 20:38:39,819 - INFO - Waiting for VM ctest-TestBasicPolicy-79083002-11227367 to be up.. 2025-11-17 20:38:39,900 - DEBUG - VM is in ACTIVE state now 2025-11-17 20:38:39,900 - INFO - VM name : ctest-TestBasicPolicy-79083002-11227367 2025-11-17 20:38:39,976 - DEBUG - VM ctest-TestBasicPolicy-79083002-11227367 ID is f6282342-d7b4-4679-8523-58c951108d6e 2025-11-17 20:38:39,976 - DEBUG - VM ctest-TestBasicPolicy-79083002-11227367 launched on Node cn-jenkins-deploy-platform-ansible-os-4746-1 2025-11-17 20:38:40,054 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f6282342-d7b4-4679-8523-58c951108d6e 2025-11-17 20:38:40,062 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d76e82c9-d5f8-42eb-b901-645ef5092867 2025-11-17 20:38:41,293 - 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=4.05 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.21 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.208/2.628/4.049/1.420 ms') 2025-11-17 20:38:41,293 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-79083002-11227367 passed 2025-11-17 20:38:41,447 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 20:38:41,448 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-79083002-11227367, IP 199.253.202.3, Port 22 2025-11-17 20:38:41,607 - DEBUG - VM ctest-TestBasicPolicy-79083002-11227367 is ready for SSH connections 2025-11-17 20:38:41,607 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 20:38:41,607 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 199.253.202.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-17 20:38:41,608 - DEBUG - ping -s 56 -c 3 -W 1 199.253.202.3 2025-11-17 20:38:45,683 - DEBUG - PING 199.253.202.3 (199.253.202.3): 56 data bytes 64 bytes from 199.253.202.3: seq=0 ttl=63 time=3.788 ms 64 bytes from 199.253.202.3: seq=1 ttl=63 time=0.898 ms 64 bytes from 199.253.202.3: seq=2 ttl=63 time=0.986 ms --- 199.253.202.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.898/1.890/3.788 ms 2025-11-17 20:38:45,683 - INFO - Ping to IP 199.253.202.3 from VM ctest-TestBasicPolicy-79083002-00649351 passed 2025-11-17 20:38:45,863 - DEBUG - Policy Update Response {"network-policy": {"uuid": "1f61ba77-1b2e-4cf8-a7c4-9291237b33f7", "href": "http://10.0.0.50:8082/network-policy/1f61ba77-1b2e-4cf8-a7c4-9291237b33f7"}} 2025-11-17 20:38:45,863 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 20:38:45,863 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 199.253.202.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-17 20:38:45,864 - DEBUG - ping -s 56 -c 3 -W 1 199.253.202.3 2025-11-17 20:38:49,089 - DEBUG - PING 199.253.202.3 (199.253.202.3): 56 data bytes --- 199.253.202.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-17 20:38:49,089 - WARNING - Ping to IP 199.253.202.3 from VM ctest-TestBasicPolicy-79083002-00649351 failed 2025-11-17 20:38:49,089 - INFO - Deleting VM ctest-TestBasicPolicy-79083002-11227367 2025-11-17 20:38:49,159 - INFO - Deleting VM ctest-TestBasicPolicy-79083002-00649351 2025-11-17 20:38:49,552 - INFO - Deleted policy ctest-policy-allow-all-03686477 2025-11-17 20:38:49,552 - INFO - Deleting VN ctest-vn-69399318 2025-11-17 20:38:49,590 - DEBUG - VN b84b5620-4ac3-43f9-9289-1b99951d0a8e still in use: Unable to complete operation on network b84b5620-4ac3-43f9-9289-1b99951d0a8e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-891969b0-0fc3-448c-ab4f-1af09acfb6c1'] 2025-11-17 20:38:49,590 - WARNING - Deleting VN ctest-vn-69399318 failed..Will retry 2025-11-17 20:38:51,700 - DEBUG - Response for deleting network () 2025-11-17 20:38:51,701 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e855c99b-308f-4487-8f1b-124667095a2e 2025-11-17 20:38:51,708 - DEBUG - Response Code: 404 2025-11-17 20:38:51,708 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-17 20:38:51,713 - DEBUG - Requesting: http://10.0.0.50:8082/domain/7df7e7c0-d394-4684-84be-be8cfbd1e283 2025-11-17 20:38:51,766 - DEBUG - Requesting: http://10.0.0.50:8082/project/96fd3cd0-49ad-47b9-9ddd-6ce54ff9ad31 2025-11-17 20:38:51,841 - INFO - Validated that VN ctest-vn-69399318 is not found in API Server 2025-11-17 20:38:51,853 - DEBUG - VN ctest-vn-69399318 is not present in Agent 10.0.0.50 2025-11-17 20:38:51,853 - INFO - Validated that VN ctest-vn-69399318 is not in any agent 2025-11-17 20:38:51,868 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-69399318 info 2025-11-17 20:38:51,868 - INFO - Deleting VN ctest-vn-88393723 2025-11-17 20:38:51,978 - DEBUG - Response for deleting network () 2025-11-17 20:38:51,979 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/090fbfde-152c-4eda-b8d0-befce5d4924e 2025-11-17 20:38:51,987 - DEBUG - Response Code: 404 2025-11-17 20:38:51,987 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-17 20:38:51,993 - DEBUG - Requesting: http://10.0.0.50:8082/domain/7df7e7c0-d394-4684-84be-be8cfbd1e283 2025-11-17 20:38:52,044 - DEBUG - Requesting: http://10.0.0.50:8082/project/96fd3cd0-49ad-47b9-9ddd-6ce54ff9ad31 2025-11-17 20:38:52,116 - INFO - Validated that VN ctest-vn-88393723 is not found in API Server 2025-11-17 20:38:52,126 - DEBUG - VN ctest-vn-88393723 is not present in Agent 10.0.0.50 2025-11-17 20:38:52,126 - INFO - Validated that VN ctest-vn-88393723 is not in any agent 2025-11-17 20:38:52,141 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-88393723 info 2025-11-17 20:38:52,397 - DEBUG - No XMPP flaps were noticed during the test
2025-11-17 20:38:52,397 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-11-17 20:38:52,397 - INFO - -------------------------------------------------------------------------------- 2025-11-17 20:38:53,222 - INFO - Deleted project: ctest-TestBasicPolicy-79083002, ID : 96fd3cd0-49ad-47b9-9ddd-6ce54ff9ad31