2025-04-30 11:57:03,225 - INFO - Domain Default found not creating 2025-04-30 11:57:03,364 - INFO - Project ctest-TestBasicPolicy-95895791 not found, creating it 2025-04-30 11:57:03,801 - INFO - Created Project:ctest-TestBasicPolicy-95895791, ID : 9d335118-c92c-4bfd-b87d-636afae29486 2025-04-30 11:57:05,340 - INFO - ================================================================================ 2025-04-30 11:57:05,340 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-30 11:57:05,340 - 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-04-30 11:57:05,597 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.0.0.254': '0'}} with 2025-04-30 11:57:05,597 - INFO - Initial checks done. Running the testcase now 2025-04-30 11:57:05,597 - INFO - 2025-04-30 11:57:06,164 - DEBUG - Response for create_network : {'network': {'id': '0724a42a-9803-419c-8ff4-a5082311d41a', 'name': 'ctest-vn-16222853', 'tenant_id': '9d335118c92c4bfdb87d636afae29486', 'project_id': '9d335118c92c4bfdb87d636afae29486', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95895791', 'ctest-vn-16222853'], 'port_security_enabled': True, 'description': ''}} 2025-04-30 11:57:06,370 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c25361c5-64c3-4297-943b-ab8192383b27', 'name': '', 'tenant_id': '9d335118c92c4bfdb87d636afae29486', 'network_id': '0724a42a-9803-419c-8ff4-a5082311d41a', 'ip_version': 4, 'cidr': '197.210.39.128/26', 'allocation_pools': [{'start': '197.210.39.130', 'end': '197.210.39.190'}], 'gateway_ip': '197.210.39.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.210.39.130', 'tags': [], 'project_id': '9d335118c92c4bfdb87d636afae29486'}} 2025-04-30 11:57:06,390 - INFO - Created VN ctest-vn-16222853 2025-04-30 11:57:06,444 - DEBUG - VN ctest-vn-16222853 UUID is 0724a42a-9803-419c-8ff4-a5082311d41a 2025-04-30 11:57:06,775 - DEBUG - Response for create_network : {'network': {'id': '24a5bf3c-d198-49d1-8b92-1ae6159c9db0', 'name': 'ctest-vn-13889767', 'tenant_id': '9d335118c92c4bfdb87d636afae29486', 'project_id': '9d335118c92c4bfdb87d636afae29486', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95895791', 'ctest-vn-13889767'], 'port_security_enabled': True, 'description': ''}} 2025-04-30 11:57:06,967 - DEBUG - Response for create_subnet : {'subnet': {'id': '8b04f4b7-7d58-4599-bb88-2d06a02e5ce0', 'name': '', 'tenant_id': '9d335118c92c4bfdb87d636afae29486', 'network_id': '24a5bf3c-d198-49d1-8b92-1ae6159c9db0', 'ip_version': 4, 'cidr': '128.104.16.128/26', 'allocation_pools': [{'start': '128.104.16.130', 'end': '128.104.16.190'}], 'gateway_ip': '128.104.16.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '128.104.16.130', 'tags': [], 'project_id': '9d335118c92c4bfdb87d636afae29486'}} 2025-04-30 11:57:06,987 - INFO - Created VN ctest-vn-13889767 2025-04-30 11:57:07,044 - DEBUG - VN ctest-vn-13889767 UUID is 24a5bf3c-d198-49d1-8b92-1ae6159c9db0 2025-04-30 11:57:07,196 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-95895791:ctest-vn-16222853, 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-95895791:ctest-vn-13889767, 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-04-30 11:57:07,525 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0724a42a-9803-419c-8ff4-a5082311d41a', 'name': 'ctest-vn-16222853', 'tenant_id': '9d335118c92c4bfdb87d636afae29486', 'project_id': '9d335118c92c4bfdb87d636afae29486', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c25361c5-64c3-4297-943b-ab8192383b27'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95895791', 'ctest-vn-16222853'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-95895791', 'ctest-policy-allow-all-19036290']], 'subnet_ipam': [{'subnet_cidr': '197.210.39.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-30 11:57:07,802 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '24a5bf3c-d198-49d1-8b92-1ae6159c9db0', 'name': 'ctest-vn-13889767', 'tenant_id': '9d335118c92c4bfdb87d636afae29486', 'project_id': '9d335118c92c4bfdb87d636afae29486', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8b04f4b7-7d58-4599-bb88-2d06a02e5ce0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95895791', 'ctest-vn-13889767'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-95895791', 'ctest-policy-allow-all-19036290']], 'subnet_ipam': [{'subnet_cidr': '128.104.16.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-30 11:57:07,960 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-30 11:57:08,295 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-30 11:57:08,325 - DEBUG - Requesting: http://10.0.0.254:8082/domain/419796e4-0dd9-41e4-84c0-d1767779147a 2025-04-30 11:57:08,343 - DEBUG - Requesting: http://10.0.0.254:8082/project/9d335118-c92c-4bfd-b87d-636afae29486 2025-04-30 11:57:08,421 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0724a42a-9803-419c-8ff4-a5082311d41a 2025-04-30 11:57:08,432 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0724a42a-9803-419c-8ff4-a5082311d41a 2025-04-30 11:57:08,441 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/d2b7a270-cc0a-4a29-b387-c92980157c00 2025-04-30 11:57:08,447 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/d2b7a270-cc0a-4a29-b387-c92980157c00 2025-04-30 11:57:08,454 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/5092b2b5-a712-4246-bf2e-5565fea1544b 2025-04-30 11:57:08,459 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-30 11:57:08,459 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0724a42a-9803-419c-8ff4-a5082311d41a 2025-04-30 11:57:08,467 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/d2b7a270-cc0a-4a29-b387-c92980157c00 2025-04-30 11:57:08,480 - INFO - Verified VN network id 7 for VN 0724a42a-9803-419c-8ff4-a5082311d41a 2025-04-30 11:57:08,480 - INFO - Verifications in API Server for VN ctest-vn-16222853 passed 2025-04-30 11:57:08,480 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0724a42a-9803-419c-8ff4-a5082311d41a 2025-04-30 11:57:08,489 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/d2b7a270-cc0a-4a29-b387-c92980157c00 2025-04-30 11:57:08,497 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/d2b7a270-cc0a-4a29-b387-c92980157c00 2025-04-30 11:57:08,504 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/5092b2b5-a712-4246-bf2e-5565fea1544b 2025-04-30 11:57:08,517 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-95895791:ctest-vn-16222853', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-95895791', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '514716760273011100', 'uuid-lslong': '10373097296107787290'}, 'enable': 'true', 'created': '2025-04-30T11:57:06', 'last-modified': '2025-04-30T11:57:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.013953'} 2025-04-30 11:57:08,524 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-30 11:57:08,524 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-16222853 passed 2025-04-30 11:57:08,524 - DEBUG - ====Verifying policy data for ctest-vn-16222853 in API_Server ====== 2025-04-30 11:57:08,524 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-30 11:57:08,529 - DEBUG - Requesting: http://10.0.0.254:8082/domain/419796e4-0dd9-41e4-84c0-d1767779147a 2025-04-30 11:57:08,540 - DEBUG - Requesting: http://10.0.0.254:8082/project/9d335118-c92c-4bfd-b87d-636afae29486 2025-04-30 11:57:08,617 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0724a42a-9803-419c-8ff4-a5082311d41a 2025-04-30 11:57:08,626 - DEBUG - ==>Verifying data for policy with id: ac117996-6309-4b3a-be90-e4fcc3f81b75, fqn: ['default-domain', 'ctest-TestBasicPolicy-95895791', 'ctest-policy-allow-all-19036290'] 2025-04-30 11:57:08,626 - INFO - VN ctest-vn-16222853 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-30 11:57:08,626 - DEBUG - Verifying the vn in opserver 2025-04-30 11:57:08,626 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-95895791:ctest-vn-16222853 virtual network link through opserver 10.0.0.254 2025-04-30 11:57:08,626 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-04-30 11:57:08,957 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-04-30 11:57:09,016 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-95895791:ctest-vn-16222853', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-95895791:ctest-vn-16222853?flat'} 2025-04-30 11:57:09,016 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-95895791:ctest-vn-16222853 is found in opserver 2025-04-30 11:57:09,025 - DEBUG - Do not have enough data to verify VN in agent 2025-04-30 11:57:09,030 - DEBUG - VRF ids for VN ctest-vn-16222853: {} 2025-04-30 11:57:09,030 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-30 11:57:09,035 - DEBUG - Requesting: http://10.0.0.254:8082/domain/419796e4-0dd9-41e4-84c0-d1767779147a 2025-04-30 11:57:09,045 - DEBUG - Requesting: http://10.0.0.254:8082/project/9d335118-c92c-4bfd-b87d-636afae29486 2025-04-30 11:57:09,113 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/24a5bf3c-d198-49d1-8b92-1ae6159c9db0 2025-04-30 11:57:09,124 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/24a5bf3c-d198-49d1-8b92-1ae6159c9db0 2025-04-30 11:57:09,134 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/7b856afa-4379-4d8d-844c-5d2527142837 2025-04-30 11:57:09,140 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/7b856afa-4379-4d8d-844c-5d2527142837 2025-04-30 11:57:09,147 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/c9235734-05d7-4098-a6ca-d0006fc58262 2025-04-30 11:57:09,154 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-30 11:57:09,154 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/24a5bf3c-d198-49d1-8b92-1ae6159c9db0 2025-04-30 11:57:09,163 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/7b856afa-4379-4d8d-844c-5d2527142837 2025-04-30 11:57:09,180 - INFO - Verified VN network id 8 for VN 24a5bf3c-d198-49d1-8b92-1ae6159c9db0 2025-04-30 11:57:09,180 - INFO - Verifications in API Server for VN ctest-vn-13889767 passed 2025-04-30 11:57:09,180 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/24a5bf3c-d198-49d1-8b92-1ae6159c9db0 2025-04-30 11:57:09,190 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/7b856afa-4379-4d8d-844c-5d2527142837 2025-04-30 11:57:09,197 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/7b856afa-4379-4d8d-844c-5d2527142837 2025-04-30 11:57:09,203 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/c9235734-05d7-4098-a6ca-d0006fc58262 2025-04-30 11:57:09,214 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-95895791:ctest-vn-13889767', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-95895791', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2640727024458025425', 'uuid-lslong': '10057130493379124656'}, 'enable': 'true', 'created': '2025-04-30T11:57:06', 'last-modified': '2025-04-30T11:57:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.470625'} 2025-04-30 11:57:09,220 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-30 11:57:09,220 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-13889767 passed 2025-04-30 11:57:09,220 - DEBUG - ====Verifying policy data for ctest-vn-13889767 in API_Server ====== 2025-04-30 11:57:09,221 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-30 11:57:09,227 - DEBUG - Requesting: http://10.0.0.254:8082/domain/419796e4-0dd9-41e4-84c0-d1767779147a 2025-04-30 11:57:09,237 - DEBUG - Requesting: http://10.0.0.254:8082/project/9d335118-c92c-4bfd-b87d-636afae29486 2025-04-30 11:57:09,312 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/24a5bf3c-d198-49d1-8b92-1ae6159c9db0 2025-04-30 11:57:09,322 - DEBUG - ==>Verifying data for policy with id: ac117996-6309-4b3a-be90-e4fcc3f81b75, fqn: ['default-domain', 'ctest-TestBasicPolicy-95895791', 'ctest-policy-allow-all-19036290'] 2025-04-30 11:57:09,322 - INFO - VN ctest-vn-13889767 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-30 11:57:09,322 - DEBUG - Verifying the vn in opserver 2025-04-30 11:57:09,322 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-95895791:ctest-vn-13889767 virtual network link through opserver 10.0.0.254 2025-04-30 11:57:09,322 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-04-30 11:57:09,332 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-95895791:ctest-vn-13889767', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-95895791:ctest-vn-13889767?flat'} 2025-04-30 11:57:09,332 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-95895791:ctest-vn-13889767 is found in opserver 2025-04-30 11:57:09,342 - DEBUG - Do not have enough data to verify VN in agent 2025-04-30 11:57:09,346 - DEBUG - VRF ids for VN ctest-vn-13889767: {} 2025-04-30 11:57:09,401 - DEBUG - Services list from nova: [, , ] 2025-04-30 11:57:10,564 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3248-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3248-1) 2025-04-30 11:57:11,934 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3248-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3248-1) 2025-04-30 11:57:11,935 - INFO - Waiting for VM ctest-TestBasicPolicy-95895791-07223293 to be up.. 2025-04-30 11:57:12,030 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-30 11:57:17,116 - DEBUG - VM is in ACTIVE state now 2025-04-30 11:57:17,116 - INFO - VM name : ctest-TestBasicPolicy-95895791-07223293 2025-04-30 11:57:17,200 - DEBUG - VM ctest-TestBasicPolicy-95895791-07223293 ID is 50eb709d-bc79-4a5a-b727-9511f38ee103 2025-04-30 11:57:17,221 - DEBUG - VM ctest-TestBasicPolicy-95895791-07223293 launched on Node cn-jenkins-deploy-platform-ansible-os-3248-1. 2025-04-30 11:57:17,305 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/50eb709d-bc79-4a5a-b727-9511f38ee103 2025-04-30 11:57:17,312 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/2073e0c4-7a05-417b-a8e8-00915ba5e87a 2025-04-30 11:57:20,564 - 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-04-30 11:57:20,565 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95895791-07223293 failed! 2025-04-30 11:57:20,620 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95895791:ctest-vn-16222853 is 197.210.39.129 and allocation pool is NOT set 2025-04-30 11:57:22,685 - 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.4 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.330 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.330/5.344/10.358/5.014 ms') 2025-04-30 11:57:22,685 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95895791-07223293 passed 2025-04-30 11:57:22,836 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-30 11:57:22,836 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-95895791-07223293, IP 197.210.39.131, Port 22 2025-04-30 11:57:23,010 - DEBUG - VM ctest-TestBasicPolicy-95895791-07223293 is ready for SSH connections 2025-04-30 11:57:23,011 - INFO - Waiting for VM ctest-TestBasicPolicy-95895791-37811853 to be up.. 2025-04-30 11:57:23,107 - DEBUG - VM is in ACTIVE state now 2025-04-30 11:57:23,107 - INFO - VM name : ctest-TestBasicPolicy-95895791-37811853 2025-04-30 11:57:23,185 - DEBUG - VM ctest-TestBasicPolicy-95895791-37811853 ID is 8a854a9d-a1da-4367-befc-61818a0a3f0b 2025-04-30 11:57:23,185 - DEBUG - VM ctest-TestBasicPolicy-95895791-37811853 launched on Node cn-jenkins-deploy-platform-ansible-os-3248-1. 2025-04-30 11:57:23,265 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/8a854a9d-a1da-4367-befc-61818a0a3f0b 2025-04-30 11:57:23,274 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/f3a1664c-7a87-4169-8beb-895e82d54646 2025-04-30 11:57:24,515 - 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.35 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.413 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.413/1.879/3.346/1.466 ms') 2025-04-30 11:57:24,515 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-95895791-37811853 passed 2025-04-30 11:57:24,668 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-30 11:57:24,668 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-95895791-37811853, IP 128.104.16.131, Port 22 2025-04-30 11:57:24,827 - DEBUG - VM ctest-TestBasicPolicy-95895791-37811853 is ready for SSH connections 2025-04-30 11:57:24,827 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-30 11:57:24,827 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 128.104.16.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-04-30 11:57:24,827 - DEBUG - ping -s 56 -c 3 -W 1 128.104.16.131 2025-04-30 11:57:28,899 - DEBUG - PING 128.104.16.131 (128.104.16.131): 56 data bytes 64 bytes from 128.104.16.131: seq=0 ttl=63 time=3.994 ms 64 bytes from 128.104.16.131: seq=1 ttl=63 time=0.774 ms 64 bytes from 128.104.16.131: seq=2 ttl=63 time=0.962 ms --- 128.104.16.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.774/1.910/3.994 ms 2025-04-30 11:57:28,899 - INFO - Ping to IP 128.104.16.131 from VM ctest-TestBasicPolicy-95895791-07223293 passed 2025-04-30 11:57:29,076 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ac117996-6309-4b3a-be90-e4fcc3f81b75", "href": "http://10.0.0.254:8082/network-policy/ac117996-6309-4b3a-be90-e4fcc3f81b75"}} 2025-04-30 11:57:29,076 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-30 11:57:29,076 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 128.104.16.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-04-30 11:57:29,076 - DEBUG - ping -s 56 -c 3 -W 1 128.104.16.131 2025-04-30 11:57:32,300 - DEBUG - PING 128.104.16.131 (128.104.16.131): 56 data bytes --- 128.104.16.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-04-30 11:57:32,300 - WARNING - Ping to IP 128.104.16.131 from VM ctest-TestBasicPolicy-95895791-07223293 failed 2025-04-30 11:57:32,300 - INFO - Deleting VM ctest-TestBasicPolicy-95895791-37811853 2025-04-30 11:57:32,370 - INFO - Deleting VM ctest-TestBasicPolicy-95895791-07223293 2025-04-30 11:57:33,066 - INFO - Deleted policy ctest-policy-allow-all-19036290 2025-04-30 11:57:33,067 - INFO - Deleting VN ctest-vn-13889767 2025-04-30 11:57:33,106 - DEBUG - VN 24a5bf3c-d198-49d1-8b92-1ae6159c9db0 still in use: Unable to complete operation on network 24a5bf3c-d198-49d1-8b92-1ae6159c9db0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0fc2ce18-41c3-44e7-a72c-0233e56dbc8c'] 2025-04-30 11:57:33,106 - WARNING - Deleting VN ctest-vn-13889767 failed..Will retry 2025-04-30 11:57:35,200 - DEBUG - Response for deleting network () 2025-04-30 11:57:35,200 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/7b856afa-4379-4d8d-844c-5d2527142837 2025-04-30 11:57:35,205 - DEBUG - Response Code: 404 2025-04-30 11:57:35,205 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-30 11:57:35,212 - DEBUG - Requesting: http://10.0.0.254:8082/domain/419796e4-0dd9-41e4-84c0-d1767779147a 2025-04-30 11:57:35,270 - DEBUG - Requesting: http://10.0.0.254:8082/project/9d335118-c92c-4bfd-b87d-636afae29486 2025-04-30 11:57:35,339 - INFO - Validated that VN ctest-vn-13889767 is not found in API Server 2025-04-30 11:57:35,348 - DEBUG - VN ctest-vn-13889767 is not present in Agent 10.0.0.254 2025-04-30 11:57:35,348 - INFO - Validated that VN ctest-vn-13889767 is not in any agent 2025-04-30 11:57:35,361 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-13889767 info 2025-04-30 11:57:35,361 - INFO - Deleting VN ctest-vn-16222853 2025-04-30 11:57:35,461 - DEBUG - Response for deleting network () 2025-04-30 11:57:35,461 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/d2b7a270-cc0a-4a29-b387-c92980157c00 2025-04-30 11:57:35,466 - DEBUG - Response Code: 404 2025-04-30 11:57:35,466 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-30 11:57:35,471 - DEBUG - Requesting: http://10.0.0.254:8082/domain/419796e4-0dd9-41e4-84c0-d1767779147a 2025-04-30 11:57:35,525 - DEBUG - Requesting: http://10.0.0.254:8082/project/9d335118-c92c-4bfd-b87d-636afae29486 2025-04-30 11:57:35,600 - INFO - Validated that VN ctest-vn-16222853 is not found in API Server 2025-04-30 11:57:35,612 - DEBUG - VN ctest-vn-16222853 is not present in Agent 10.0.0.254 2025-04-30 11:57:35,612 - INFO - Validated that VN ctest-vn-16222853 is not in any agent 2025-04-30 11:57:35,629 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-16222853 info 2025-04-30 11:57:35,888 - DEBUG - No XMPP flaps were noticed during the test 2025-04-30 11:57:35,888 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-04-30 11:57:35,888 - INFO - -------------------------------------------------------------------------------- 2025-04-30 11:57:36,604 - INFO - Deleted project: ctest-TestBasicPolicy-95895791, ID : 9d335118-c92c-4bfd-b87d-636afae29486