2025-08-27 07:07:04,940 - INFO - Domain Default found not creating 2025-08-27 07:07:05,453 - INFO - Project ctest-TestBasicPolicy-43119199 not found, creating it 2025-08-27 07:07:05,903 - INFO - Created Project:ctest-TestBasicPolicy-43119199, ID : 14a1930d-dccf-49ed-87e9-ddaff0932b85 2025-08-27 07:07:07,410 - INFO - ================================================================================ 2025-08-27 07:07:07,410 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-27 07:07:07,410 - 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-08-27 07:07:07,677 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-08-27 07:07:07,677 - INFO - Initial checks done. Running the testcase now 2025-08-27 07:07:07,677 - INFO - 2025-08-27 07:07:08,234 - DEBUG - Response for create_network : {'network': {'id': 'c1373320-9bf9-4e0e-9a4c-08854c9c726a', 'name': 'ctest-vn-65340864', 'tenant_id': '14a1930ddccf49ed87e9ddaff0932b85', 'project_id': '14a1930ddccf49ed87e9ddaff0932b85', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43119199', 'ctest-vn-65340864'], 'port_security_enabled': True, 'description': ''}} 2025-08-27 07:07:08,404 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c8796f93-6c21-4626-b8a6-f533f89fb18c', 'name': '', 'tenant_id': '14a1930ddccf49ed87e9ddaff0932b85', 'network_id': 'c1373320-9bf9-4e0e-9a4c-08854c9c726a', 'ip_version': 4, 'cidr': '152.86.53.192/26', 'allocation_pools': [{'start': '152.86.53.194', 'end': '152.86.53.254'}], 'gateway_ip': '152.86.53.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '152.86.53.194', 'tags': [], 'project_id': '14a1930ddccf49ed87e9ddaff0932b85'}} 2025-08-27 07:07:08,421 - INFO - Created VN ctest-vn-65340864 2025-08-27 07:07:08,474 - DEBUG - VN ctest-vn-65340864 UUID is c1373320-9bf9-4e0e-9a4c-08854c9c726a 2025-08-27 07:07:08,769 - DEBUG - Response for create_network : {'network': {'id': '070c6b3c-d0d0-4b90-91ce-650c0f1b0477', 'name': 'ctest-vn-27604472', 'tenant_id': '14a1930ddccf49ed87e9ddaff0932b85', 'project_id': '14a1930ddccf49ed87e9ddaff0932b85', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43119199', 'ctest-vn-27604472'], 'port_security_enabled': True, 'description': ''}} 2025-08-27 07:07:08,914 - DEBUG - Response for create_subnet : {'subnet': {'id': '18c2db60-6232-4d62-b121-8340f397fd4a', 'name': '', 'tenant_id': '14a1930ddccf49ed87e9ddaff0932b85', 'network_id': '070c6b3c-d0d0-4b90-91ce-650c0f1b0477', 'ip_version': 4, 'cidr': '211.41.67.128/26', 'allocation_pools': [{'start': '211.41.67.130', 'end': '211.41.67.190'}], 'gateway_ip': '211.41.67.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.41.67.130', 'tags': [], 'project_id': '14a1930ddccf49ed87e9ddaff0932b85'}} 2025-08-27 07:07:08,931 - INFO - Created VN ctest-vn-27604472 2025-08-27 07:07:08,982 - DEBUG - VN ctest-vn-27604472 UUID is 070c6b3c-d0d0-4b90-91ce-650c0f1b0477 2025-08-27 07:07:09,130 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-43119199:ctest-vn-65340864, 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-43119199:ctest-vn-27604472, 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-08-27 07:07:09,420 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c1373320-9bf9-4e0e-9a4c-08854c9c726a', 'name': 'ctest-vn-65340864', 'tenant_id': '14a1930ddccf49ed87e9ddaff0932b85', 'project_id': '14a1930ddccf49ed87e9ddaff0932b85', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c8796f93-6c21-4626-b8a6-f533f89fb18c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43119199', 'ctest-vn-65340864'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43119199', 'ctest-policy-allow-all-29972830']], 'subnet_ipam': [{'subnet_cidr': '152.86.53.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-27 07:07:09,660 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '070c6b3c-d0d0-4b90-91ce-650c0f1b0477', 'name': 'ctest-vn-27604472', 'tenant_id': '14a1930ddccf49ed87e9ddaff0932b85', 'project_id': '14a1930ddccf49ed87e9ddaff0932b85', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['18c2db60-6232-4d62-b121-8340f397fd4a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43119199', 'ctest-vn-27604472'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43119199', 'ctest-policy-allow-all-29972830']], 'subnet_ipam': [{'subnet_cidr': '211.41.67.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-27 07:07:09,830 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-27 07:07:10,162 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-27 07:07:10,187 - DEBUG - Requesting: http://10.0.0.254:8082/domain/09fc2920-6fbd-4ef2-be34-5fb3f532294c 2025-08-27 07:07:10,198 - DEBUG - Requesting: http://10.0.0.254:8082/project/14a1930d-dccf-49ed-87e9-ddaff0932b85 2025-08-27 07:07:10,268 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/c1373320-9bf9-4e0e-9a4c-08854c9c726a 2025-08-27 07:07:10,278 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/c1373320-9bf9-4e0e-9a4c-08854c9c726a 2025-08-27 07:07:10,286 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/47add71e-77f9-423b-b118-e71a3694f289 2025-08-27 07:07:10,292 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/47add71e-77f9-423b-b118-e71a3694f289 2025-08-27 07:07:10,298 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/d64ce955-05ae-4ccc-9586-80b27750333c 2025-08-27 07:07:10,303 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-27 07:07:10,303 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/c1373320-9bf9-4e0e-9a4c-08854c9c726a 2025-08-27 07:07:10,311 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/47add71e-77f9-423b-b118-e71a3694f289 2025-08-27 07:07:10,323 - INFO - Verified VN network id 11 for VN c1373320-9bf9-4e0e-9a4c-08854c9c726a 2025-08-27 07:07:10,323 - INFO - Verifications in API Server for VN ctest-vn-65340864 passed 2025-08-27 07:07:10,323 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/c1373320-9bf9-4e0e-9a4c-08854c9c726a 2025-08-27 07:07:10,330 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/47add71e-77f9-423b-b118-e71a3694f289 2025-08-27 07:07:10,337 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/47add71e-77f9-423b-b118-e71a3694f289 2025-08-27 07:07:10,342 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/d64ce955-05ae-4ccc-9586-80b27750333c 2025-08-27 07:07:10,352 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43119199:ctest-vn-65340864', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43119199', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13922652988187954702', 'uuid-lslong': '11118270948679905898'}, 'enable': 'true', 'created': '2025-08-27T07:07:08', 'last-modified': '2025-08-27T07:07:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.952589'} 2025-08-27 07:07:10,358 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-27 07:07:10,358 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-65340864 passed 2025-08-27 07:07:10,358 - DEBUG - ====Verifying policy data for ctest-vn-65340864 in API_Server ====== 2025-08-27 07:07:10,358 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-27 07:07:10,364 - DEBUG - Requesting: http://10.0.0.254:8082/domain/09fc2920-6fbd-4ef2-be34-5fb3f532294c 2025-08-27 07:07:10,373 - DEBUG - Requesting: http://10.0.0.254:8082/project/14a1930d-dccf-49ed-87e9-ddaff0932b85 2025-08-27 07:07:10,441 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/c1373320-9bf9-4e0e-9a4c-08854c9c726a 2025-08-27 07:07:10,451 - DEBUG - ==>Verifying data for policy with id: 89275758-6c20-42ff-8c1e-57c150d4ebb8, fqn: ['default-domain', 'ctest-TestBasicPolicy-43119199', 'ctest-policy-allow-all-29972830'] 2025-08-27 07:07:10,451 - INFO - VN ctest-vn-65340864 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-27 07:07:10,452 - DEBUG - Verifying the vn in opserver 2025-08-27 07:07:10,452 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43119199:ctest-vn-65340864 virtual network link through opserver 10.0.0.254 2025-08-27 07:07:10,452 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-27 07:07:10,782 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-27 07:07:10,833 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43119199:ctest-vn-65340864', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43119199:ctest-vn-65340864?flat'} 2025-08-27 07:07:10,833 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43119199:ctest-vn-65340864 is found in opserver 2025-08-27 07:07:10,842 - DEBUG - Do not have enough data to verify VN in agent 2025-08-27 07:07:10,846 - DEBUG - VRF ids for VN ctest-vn-65340864: {} 2025-08-27 07:07:10,847 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-27 07:07:10,851 - DEBUG - Requesting: http://10.0.0.254:8082/domain/09fc2920-6fbd-4ef2-be34-5fb3f532294c 2025-08-27 07:07:10,860 - DEBUG - Requesting: http://10.0.0.254:8082/project/14a1930d-dccf-49ed-87e9-ddaff0932b85 2025-08-27 07:07:10,930 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/070c6b3c-d0d0-4b90-91ce-650c0f1b0477 2025-08-27 07:07:10,940 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/070c6b3c-d0d0-4b90-91ce-650c0f1b0477 2025-08-27 07:07:10,948 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3436dd7d-c573-4681-9792-2789ca748d6d 2025-08-27 07:07:10,954 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3436dd7d-c573-4681-9792-2789ca748d6d 2025-08-27 07:07:10,960 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/5c672524-ca19-4267-baaf-f99ee6dd3df4 2025-08-27 07:07:10,965 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-27 07:07:10,965 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/070c6b3c-d0d0-4b90-91ce-650c0f1b0477 2025-08-27 07:07:10,972 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3436dd7d-c573-4681-9792-2789ca748d6d 2025-08-27 07:07:10,984 - INFO - Verified VN network id 12 for VN 070c6b3c-d0d0-4b90-91ce-650c0f1b0477 2025-08-27 07:07:10,984 - INFO - Verifications in API Server for VN ctest-vn-27604472 passed 2025-08-27 07:07:10,984 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/070c6b3c-d0d0-4b90-91ce-650c0f1b0477 2025-08-27 07:07:10,992 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3436dd7d-c573-4681-9792-2789ca748d6d 2025-08-27 07:07:10,997 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3436dd7d-c573-4681-9792-2789ca748d6d 2025-08-27 07:07:11,003 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/5c672524-ca19-4267-baaf-f99ee6dd3df4 2025-08-27 07:07:11,012 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43119199:ctest-vn-27604472', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43119199', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '507898766931544976', 'uuid-lslong': '10506446083169387639'}, 'enable': 'true', 'created': '2025-08-27T07:07:08', 'last-modified': '2025-08-27T07:07:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.388324'} 2025-08-27 07:07:11,017 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-27 07:07:11,017 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-27604472 passed 2025-08-27 07:07:11,017 - DEBUG - ====Verifying policy data for ctest-vn-27604472 in API_Server ====== 2025-08-27 07:07:11,017 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-27 07:07:11,021 - DEBUG - Requesting: http://10.0.0.254:8082/domain/09fc2920-6fbd-4ef2-be34-5fb3f532294c 2025-08-27 07:07:11,032 - DEBUG - Requesting: http://10.0.0.254:8082/project/14a1930d-dccf-49ed-87e9-ddaff0932b85 2025-08-27 07:07:11,097 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/070c6b3c-d0d0-4b90-91ce-650c0f1b0477 2025-08-27 07:07:11,106 - DEBUG - ==>Verifying data for policy with id: 89275758-6c20-42ff-8c1e-57c150d4ebb8, fqn: ['default-domain', 'ctest-TestBasicPolicy-43119199', 'ctest-policy-allow-all-29972830'] 2025-08-27 07:07:11,106 - INFO - VN ctest-vn-27604472 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-27 07:07:11,106 - DEBUG - Verifying the vn in opserver 2025-08-27 07:07:11,106 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43119199:ctest-vn-27604472 virtual network link through opserver 10.0.0.254 2025-08-27 07:07:11,106 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-27 07:07:11,115 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43119199:ctest-vn-27604472', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43119199:ctest-vn-27604472?flat'} 2025-08-27 07:07:11,115 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43119199:ctest-vn-27604472 is found in opserver 2025-08-27 07:07:11,124 - DEBUG - Do not have enough data to verify VN in agent 2025-08-27 07:07:11,128 - DEBUG - VRF ids for VN ctest-vn-27604472: {} 2025-08-27 07:07:11,181 - DEBUG - Services list from nova: [, , ] 2025-08-27 07:07:12,263 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3946-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3946-1) 2025-08-27 07:07:13,432 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3946-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3946-1) 2025-08-27 07:07:13,433 - INFO - Waiting for VM ctest-TestBasicPolicy-43119199-27280715 to be up.. 2025-08-27 07:07:13,505 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-27 07:07:18,582 - DEBUG - VM is in ACTIVE state now 2025-08-27 07:07:18,582 - INFO - VM name : ctest-TestBasicPolicy-43119199-27280715 2025-08-27 07:07:18,661 - DEBUG - VM ctest-TestBasicPolicy-43119199-27280715 ID is 75059d8a-6aaf-4ee8-8273-655445220c77 2025-08-27 07:07:18,679 - DEBUG - VM ctest-TestBasicPolicy-43119199-27280715 launched on Node cn-jenkins-deploy-platform-ansible-os-3946-1 2025-08-27 07:07:18,764 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/75059d8a-6aaf-4ee8-8273-655445220c77 2025-08-27 07:07:18,771 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/44a4d430-5a6e-4df3-b055-9f48084773fa 2025-08-27 07:07:22,041 - 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 1027ms') 2025-08-27 07:07:22,041 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-43119199-27280715 failed! 2025-08-27 07:07:22,098 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-43119199:ctest-vn-65340864 is 152.86.53.193 and allocation pool is NOT set 2025-08-27 07:07:24,157 - 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=10.7 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.45 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.447/6.563/10.680/4.116 ms') 2025-08-27 07:07:24,157 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-43119199-27280715 passed 2025-08-27 07:07:24,318 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-27 07:07:24,318 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43119199-27280715, IP 152.86.53.195, Port 22 2025-08-27 07:07:24,477 - DEBUG - VM ctest-TestBasicPolicy-43119199-27280715 is ready for SSH connections 2025-08-27 07:07:24,477 - INFO - Waiting for VM ctest-TestBasicPolicy-43119199-47785163 to be up.. 2025-08-27 07:07:24,545 - DEBUG - VM is in ACTIVE state now 2025-08-27 07:07:24,546 - INFO - VM name : ctest-TestBasicPolicy-43119199-47785163 2025-08-27 07:07:24,614 - DEBUG - VM ctest-TestBasicPolicy-43119199-47785163 ID is 70397a00-4887-4214-a160-4cd921442c24 2025-08-27 07:07:24,614 - DEBUG - VM ctest-TestBasicPolicy-43119199-47785163 launched on Node cn-jenkins-deploy-platform-ansible-os-3946-1 2025-08-27 07:07:24,779 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/70397a00-4887-4214-a160-4cd921442c24 2025-08-27 07:07:24,787 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c6973189-9375-44a8-b43c-f8cda4be312f 2025-08-27 07:07:26,029 - 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.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.973 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.973/2.842/4.712/1.869 ms') 2025-08-27 07:07:26,029 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-43119199-47785163 passed 2025-08-27 07:07:26,194 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-27 07:07:26,194 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43119199-47785163, IP 211.41.67.131, Port 22 2025-08-27 07:07:26,349 - DEBUG - VM ctest-TestBasicPolicy-43119199-47785163 is ready for SSH connections 2025-08-27 07:07:26,349 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-27 07:07:26,349 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 211.41.67.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-27 07:07:26,350 - DEBUG - ping -s 56 -c 3 -W 1 211.41.67.131 2025-08-27 07:07:30,438 - DEBUG - PING 211.41.67.131 (211.41.67.131): 56 data bytes 64 bytes from 211.41.67.131: seq=0 ttl=63 time=3.622 ms 64 bytes from 211.41.67.131: seq=1 ttl=63 time=0.768 ms 64 bytes from 211.41.67.131: seq=2 ttl=63 time=0.849 ms --- 211.41.67.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.768/1.746/3.622 ms 2025-08-27 07:07:30,438 - INFO - Ping to IP 211.41.67.131 from VM ctest-TestBasicPolicy-43119199-27280715 passed 2025-08-27 07:07:30,625 - DEBUG - Policy Update Response {"network-policy": {"uuid": "89275758-6c20-42ff-8c1e-57c150d4ebb8", "href": "http://10.0.0.254:8082/network-policy/89275758-6c20-42ff-8c1e-57c150d4ebb8"}} 2025-08-27 07:07:30,626 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-27 07:07:30,626 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 211.41.67.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-27 07:07:30,626 - DEBUG - ping -s 56 -c 3 -W 1 211.41.67.131 2025-08-27 07:07:33,852 - DEBUG - PING 211.41.67.131 (211.41.67.131): 56 data bytes --- 211.41.67.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-27 07:07:33,852 - WARNING - Ping to IP 211.41.67.131 from VM ctest-TestBasicPolicy-43119199-27280715 failed 2025-08-27 07:07:33,852 - INFO - Deleting VM ctest-TestBasicPolicy-43119199-47785163 2025-08-27 07:07:33,917 - INFO - Deleting VM ctest-TestBasicPolicy-43119199-27280715 2025-08-27 07:07:34,251 - INFO - Deleted policy ctest-policy-allow-all-29972830 2025-08-27 07:07:34,251 - INFO - Deleting VN ctest-vn-27604472 2025-08-27 07:07:34,285 - DEBUG - VN 070c6b3c-d0d0-4b90-91ce-650c0f1b0477 still in use: Unable to complete operation on network 070c6b3c-d0d0-4b90-91ce-650c0f1b0477. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-89dc3da3-329c-4399-9809-a742a3efbe01'] 2025-08-27 07:07:34,285 - WARNING - Deleting VN ctest-vn-27604472 failed..Will retry 2025-08-27 07:07:36,376 - DEBUG - Response for deleting network () 2025-08-27 07:07:36,376 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3436dd7d-c573-4681-9792-2789ca748d6d 2025-08-27 07:07:36,381 - DEBUG - Response Code: 404 2025-08-27 07:07:36,381 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-27 07:07:36,386 - DEBUG - Requesting: http://10.0.0.254:8082/domain/09fc2920-6fbd-4ef2-be34-5fb3f532294c 2025-08-27 07:07:36,438 - DEBUG - Requesting: http://10.0.0.254:8082/project/14a1930d-dccf-49ed-87e9-ddaff0932b85 2025-08-27 07:07:36,507 - INFO - Validated that VN ctest-vn-27604472 is not found in API Server 2025-08-27 07:07:36,516 - DEBUG - VN ctest-vn-27604472 is not present in Agent 10.0.0.254 2025-08-27 07:07:36,516 - INFO - Validated that VN ctest-vn-27604472 is not in any agent 2025-08-27 07:07:36,529 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-27604472 info 2025-08-27 07:07:36,529 - INFO - Deleting VN ctest-vn-65340864 2025-08-27 07:07:36,623 - DEBUG - Response for deleting network () 2025-08-27 07:07:36,623 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/47add71e-77f9-423b-b118-e71a3694f289 2025-08-27 07:07:36,628 - DEBUG - Response Code: 404 2025-08-27 07:07:36,629 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-27 07:07:36,634 - DEBUG - Requesting: http://10.0.0.254:8082/domain/09fc2920-6fbd-4ef2-be34-5fb3f532294c 2025-08-27 07:07:36,686 - DEBUG - Requesting: http://10.0.0.254:8082/project/14a1930d-dccf-49ed-87e9-ddaff0932b85 2025-08-27 07:07:36,755 - INFO - Validated that VN ctest-vn-65340864 is not found in API Server 2025-08-27 07:07:36,764 - DEBUG - VN ctest-vn-65340864 is not present in Agent 10.0.0.254 2025-08-27 07:07:36,764 - INFO - Validated that VN ctest-vn-65340864 is not in any agent 2025-08-27 07:07:36,777 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-65340864 info 2025-08-27 07:07:37,035 - DEBUG - No XMPP flaps were noticed during the test
2025-08-27 07:07:37,035 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-08-27 07:07:37,035 - INFO - -------------------------------------------------------------------------------- 2025-08-27 07:07:37,739 - INFO - Deleted project: ctest-TestBasicPolicy-43119199, ID : 14a1930d-dccf-49ed-87e9-ddaff0932b85