2025-11-04 22:49:27,744 - INFO - Domain Default found not creating 2025-11-04 22:49:27,906 - INFO - Project ctest-TestBasicPolicy-62332095 not found, creating it 2025-11-04 22:49:28,345 - INFO - Created Project:ctest-TestBasicPolicy-62332095, ID : a97d8164-d3b2-4414-b430-89a5b4965f2e 2025-11-04 22:49:29,723 - INFO - ================================================================================ 2025-11-04 22:49:29,724 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-04 22:49:29,724 - 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-04 22:49:29,979 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0'}} with 2025-11-04 22:49:29,979 - INFO - Initial checks done. Running the testcase now 2025-11-04 22:49:29,979 - INFO - 2025-11-04 22:49:30,499 - DEBUG - Response for create_network : {'network': {'id': '26999ced-2eae-4761-95f0-a50f80ba4b6e', 'name': 'ctest-vn-09099334', 'tenant_id': 'a97d8164d3b24414b43089a5b4965f2e', 'project_id': 'a97d8164d3b24414b43089a5b4965f2e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62332095', 'ctest-vn-09099334'], 'port_security_enabled': True, 'description': ''}} 2025-11-04 22:49:30,711 - DEBUG - Response for create_subnet : {'subnet': {'id': '4fb03567-d447-48b8-b215-da21330205ea', 'name': '', 'tenant_id': 'a97d8164d3b24414b43089a5b4965f2e', 'network_id': '26999ced-2eae-4761-95f0-a50f80ba4b6e', 'ip_version': 4, 'cidr': '30.104.162.0/26', 'allocation_pools': [{'start': '30.104.162.2', 'end': '30.104.162.62'}], 'gateway_ip': '30.104.162.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.104.162.2', 'tags': [], 'project_id': 'a97d8164d3b24414b43089a5b4965f2e'}} 2025-11-04 22:49:30,726 - INFO - Created VN ctest-vn-09099334 2025-11-04 22:49:30,774 - DEBUG - VN ctest-vn-09099334 UUID is 26999ced-2eae-4761-95f0-a50f80ba4b6e 2025-11-04 22:49:31,091 - DEBUG - Response for create_network : {'network': {'id': 'baee07d7-926a-4c20-964e-4b3080bf52bd', 'name': 'ctest-vn-65069372', 'tenant_id': 'a97d8164d3b24414b43089a5b4965f2e', 'project_id': 'a97d8164d3b24414b43089a5b4965f2e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62332095', 'ctest-vn-65069372'], 'port_security_enabled': True, 'description': ''}} 2025-11-04 22:49:31,298 - DEBUG - Response for create_subnet : {'subnet': {'id': '5639d834-4437-4696-9227-c1fc4b45b645', 'name': '', 'tenant_id': 'a97d8164d3b24414b43089a5b4965f2e', 'network_id': 'baee07d7-926a-4c20-964e-4b3080bf52bd', 'ip_version': 4, 'cidr': '136.132.54.64/26', 'allocation_pools': [{'start': '136.132.54.66', 'end': '136.132.54.126'}], 'gateway_ip': '136.132.54.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '136.132.54.66', 'tags': [], 'project_id': 'a97d8164d3b24414b43089a5b4965f2e'}} 2025-11-04 22:49:31,316 - INFO - Created VN ctest-vn-65069372 2025-11-04 22:49:31,370 - DEBUG - VN ctest-vn-65069372 UUID is baee07d7-926a-4c20-964e-4b3080bf52bd 2025-11-04 22:49:31,514 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-62332095:ctest-vn-09099334, 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-62332095:ctest-vn-65069372, 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-04 22:49:31,797 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '26999ced-2eae-4761-95f0-a50f80ba4b6e', 'name': 'ctest-vn-09099334', 'tenant_id': 'a97d8164d3b24414b43089a5b4965f2e', 'project_id': 'a97d8164d3b24414b43089a5b4965f2e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4fb03567-d447-48b8-b215-da21330205ea'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62332095', 'ctest-vn-09099334'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-62332095', 'ctest-policy-allow-all-96476953']], 'subnet_ipam': [{'subnet_cidr': '30.104.162.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-04 22:49:32,016 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'baee07d7-926a-4c20-964e-4b3080bf52bd', 'name': 'ctest-vn-65069372', 'tenant_id': 'a97d8164d3b24414b43089a5b4965f2e', 'project_id': 'a97d8164d3b24414b43089a5b4965f2e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5639d834-4437-4696-9227-c1fc4b45b645'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62332095', 'ctest-vn-65069372'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-62332095', 'ctest-policy-allow-all-96476953']], 'subnet_ipam': [{'subnet_cidr': '136.132.54.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-04 22:49:32,174 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-11-04 22:49:32,471 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-11-04 22:49:32,496 - DEBUG - Requesting: http://10.0.0.57:8082/domain/59cea508-1c1a-44bd-9672-612d3322e55a 2025-11-04 22:49:32,508 - DEBUG - Requesting: http://10.0.0.57:8082/project/a97d8164-d3b2-4414-b430-89a5b4965f2e 2025-11-04 22:49:32,575 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/26999ced-2eae-4761-95f0-a50f80ba4b6e 2025-11-04 22:49:32,584 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/26999ced-2eae-4761-95f0-a50f80ba4b6e 2025-11-04 22:49:32,593 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/a0981957-18fd-4f73-a2dd-9088d2f29504 2025-11-04 22:49:32,598 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/a0981957-18fd-4f73-a2dd-9088d2f29504 2025-11-04 22:49:32,603 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/a2ae627a-27fc-4c98-bc89-b1caed26523f 2025-11-04 22:49:32,608 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-04 22:49:32,608 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/26999ced-2eae-4761-95f0-a50f80ba4b6e 2025-11-04 22:49:32,615 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/a0981957-18fd-4f73-a2dd-9088d2f29504 2025-11-04 22:49:32,626 - INFO - Verified VN network id 12 for VN 26999ced-2eae-4761-95f0-a50f80ba4b6e 2025-11-04 22:49:32,626 - INFO - Verifications in API Server for VN ctest-vn-09099334 passed 2025-11-04 22:49:32,626 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/26999ced-2eae-4761-95f0-a50f80ba4b6e 2025-11-04 22:49:32,633 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/a0981957-18fd-4f73-a2dd-9088d2f29504 2025-11-04 22:49:32,638 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/a0981957-18fd-4f73-a2dd-9088d2f29504 2025-11-04 22:49:32,644 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/a2ae627a-27fc-4c98-bc89-b1caed26523f 2025-11-04 22:49:32,653 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-62332095:ctest-vn-09099334', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-62332095', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2781426787382347617', 'uuid-lslong': '10804316992064605038'}, 'enable': 'true', 'created': '2025-11-04T22:49:30', 'last-modified': '2025-11-04T22:49:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.877062'} 2025-11-04 22:49:32,659 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-04 22:49:32,659 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09099334 passed 2025-11-04 22:49:32,659 - DEBUG - ====Verifying policy data for ctest-vn-09099334 in API_Server ====== 2025-11-04 22:49:32,659 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-11-04 22:49:32,664 - DEBUG - Requesting: http://10.0.0.57:8082/domain/59cea508-1c1a-44bd-9672-612d3322e55a 2025-11-04 22:49:32,672 - DEBUG - Requesting: http://10.0.0.57:8082/project/a97d8164-d3b2-4414-b430-89a5b4965f2e 2025-11-04 22:49:32,738 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/26999ced-2eae-4761-95f0-a50f80ba4b6e 2025-11-04 22:49:32,746 - DEBUG - ==>Verifying data for policy with id: 5a0ac471-b1d0-4c29-9396-6e1bcb2b2324, fqn: ['default-domain', 'ctest-TestBasicPolicy-62332095', 'ctest-policy-allow-all-96476953'] 2025-11-04 22:49:32,746 - INFO - VN ctest-vn-09099334 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-04 22:49:32,746 - DEBUG - Verifying the vn in opserver 2025-11-04 22:49:32,746 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-62332095:ctest-vn-09099334 virtual network link through opserver 10.0.0.57 2025-11-04 22:49:32,747 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-11-04 22:49:33,036 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-11-04 22:49:33,087 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-62332095:ctest-vn-09099334', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-62332095:ctest-vn-09099334?flat'} 2025-11-04 22:49:33,087 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-62332095:ctest-vn-09099334 is found in opserver 2025-11-04 22:49:33,096 - DEBUG - Do not have enough data to verify VN in agent 2025-11-04 22:49:33,100 - DEBUG - VRF ids for VN ctest-vn-09099334: {} 2025-11-04 22:49:33,100 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-11-04 22:49:33,104 - DEBUG - Requesting: http://10.0.0.57:8082/domain/59cea508-1c1a-44bd-9672-612d3322e55a 2025-11-04 22:49:33,114 - DEBUG - Requesting: http://10.0.0.57:8082/project/a97d8164-d3b2-4414-b430-89a5b4965f2e 2025-11-04 22:49:33,187 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/baee07d7-926a-4c20-964e-4b3080bf52bd 2025-11-04 22:49:33,197 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/baee07d7-926a-4c20-964e-4b3080bf52bd 2025-11-04 22:49:33,204 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/cbba6b07-07a0-4022-8d4d-50bba69ed377 2025-11-04 22:49:33,211 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/cbba6b07-07a0-4022-8d4d-50bba69ed377 2025-11-04 22:49:33,216 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/9ffa434f-3c31-4dee-8863-ba238f6ce948 2025-11-04 22:49:33,221 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-04 22:49:33,221 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/baee07d7-926a-4c20-964e-4b3080bf52bd 2025-11-04 22:49:33,227 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/cbba6b07-07a0-4022-8d4d-50bba69ed377 2025-11-04 22:49:33,238 - INFO - Verified VN network id 13 for VN baee07d7-926a-4c20-964e-4b3080bf52bd 2025-11-04 22:49:33,238 - INFO - Verifications in API Server for VN ctest-vn-65069372 passed 2025-11-04 22:49:33,238 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/baee07d7-926a-4c20-964e-4b3080bf52bd 2025-11-04 22:49:33,245 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/cbba6b07-07a0-4022-8d4d-50bba69ed377 2025-11-04 22:49:33,250 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/cbba6b07-07a0-4022-8d4d-50bba69ed377 2025-11-04 22:49:33,255 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/9ffa434f-3c31-4dee-8863-ba238f6ce948 2025-11-04 22:49:33,263 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-62332095:ctest-vn-65069372', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-62332095', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13469712157967535136', 'uuid-lslong': '10830676825563157181'}, 'enable': 'true', 'created': '2025-11-04T22:49:31', 'last-modified': '2025-11-04T22:49:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.267544'} 2025-11-04 22:49:33,268 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-04 22:49:33,268 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-65069372 passed 2025-11-04 22:49:33,268 - DEBUG - ====Verifying policy data for ctest-vn-65069372 in API_Server ====== 2025-11-04 22:49:33,268 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-11-04 22:49:33,272 - DEBUG - Requesting: http://10.0.0.57:8082/domain/59cea508-1c1a-44bd-9672-612d3322e55a 2025-11-04 22:49:33,281 - DEBUG - Requesting: http://10.0.0.57:8082/project/a97d8164-d3b2-4414-b430-89a5b4965f2e 2025-11-04 22:49:33,348 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/baee07d7-926a-4c20-964e-4b3080bf52bd 2025-11-04 22:49:33,356 - DEBUG - ==>Verifying data for policy with id: 5a0ac471-b1d0-4c29-9396-6e1bcb2b2324, fqn: ['default-domain', 'ctest-TestBasicPolicy-62332095', 'ctest-policy-allow-all-96476953'] 2025-11-04 22:49:33,356 - INFO - VN ctest-vn-65069372 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-04 22:49:33,356 - DEBUG - Verifying the vn in opserver 2025-11-04 22:49:33,356 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-62332095:ctest-vn-65069372 virtual network link through opserver 10.0.0.57 2025-11-04 22:49:33,356 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-11-04 22:49:33,364 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-62332095:ctest-vn-65069372', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-62332095:ctest-vn-65069372?flat'} 2025-11-04 22:49:33,364 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-62332095:ctest-vn-65069372 is found in opserver 2025-11-04 22:49:33,373 - DEBUG - Do not have enough data to verify VN in agent 2025-11-04 22:49:33,377 - DEBUG - VRF ids for VN ctest-vn-65069372: {} 2025-11-04 22:49:33,429 - DEBUG - Services list from nova: [, , ] 2025-11-04 22:49:34,412 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4625-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4625-1) 2025-11-04 22:49:35,516 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4625-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4625-1) 2025-11-04 22:49:35,516 - INFO - Waiting for VM ctest-TestBasicPolicy-62332095-40335835 to be up.. 2025-11-04 22:49:35,597 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-04 22:49:40,678 - DEBUG - VM is in ACTIVE state now 2025-11-04 22:49:40,678 - INFO - VM name : ctest-TestBasicPolicy-62332095-40335835 2025-11-04 22:49:40,746 - DEBUG - VM ctest-TestBasicPolicy-62332095-40335835 ID is 852af3de-653a-4671-9e5b-09f039af5136 2025-11-04 22:49:40,762 - DEBUG - VM ctest-TestBasicPolicy-62332095-40335835 launched on Node cn-jenkins-deploy-platform-ansible-os-4625-1 2025-11-04 22:49:40,829 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/852af3de-653a-4671-9e5b-09f039af5136 2025-11-04 22:49:40,837 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/29135d20-8472-4a0b-9b71-2d7dbf14aab7 2025-11-04 22:49:44,073 - 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 1007ms') 2025-11-04 22:49:44,073 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-62332095-40335835 failed! 2025-11-04 22:49:44,130 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-62332095:ctest-vn-09099334 is 30.104.162.1 and allocation pool is NOT set 2025-11-04 22:49:46,190 - 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=3.03 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.419 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.419/1.722/3.025/1.303 ms') 2025-11-04 22:49:46,190 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-62332095-40335835 passed 2025-11-04 22:49:46,342 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 22:49:46,343 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-62332095-40335835, IP 30.104.162.3, Port 22 2025-11-04 22:49:46,512 - DEBUG - VM ctest-TestBasicPolicy-62332095-40335835 is ready for SSH connections 2025-11-04 22:49:46,512 - INFO - Waiting for VM ctest-TestBasicPolicy-62332095-38475713 to be up.. 2025-11-04 22:49:46,589 - DEBUG - VM is in ACTIVE state now 2025-11-04 22:49:46,589 - INFO - VM name : ctest-TestBasicPolicy-62332095-38475713 2025-11-04 22:49:46,676 - DEBUG - VM ctest-TestBasicPolicy-62332095-38475713 ID is cccec397-e083-48e9-b74e-79cdbc88e198 2025-11-04 22:49:46,676 - DEBUG - VM ctest-TestBasicPolicy-62332095-38475713 launched on Node cn-jenkins-deploy-platform-ansible-os-4625-1 2025-11-04 22:49:46,742 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/cccec397-e083-48e9-b74e-79cdbc88e198 2025-11-04 22:49:46,750 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/aab4e8ee-e5c9-4939-8677-acb6d4f37785 2025-11-04 22:49:47,985 - 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.34 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.456 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.456/2.399/4.343/1.943 ms') 2025-11-04 22:49:47,985 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-62332095-38475713 passed 2025-11-04 22:49:48,134 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 22:49:48,135 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-62332095-38475713, IP 136.132.54.67, Port 22 2025-11-04 22:49:48,298 - DEBUG - VM ctest-TestBasicPolicy-62332095-38475713 is ready for SSH connections 2025-11-04 22:49:48,298 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 22:49:48,298 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 136.132.54.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-11-04 22:49:48,298 - DEBUG - ping -s 56 -c 3 -W 1 136.132.54.67 2025-11-04 22:49:52,006 - DEBUG - PING 136.132.54.67 (136.132.54.67): 56 data bytes 64 bytes from 136.132.54.67: seq=0 ttl=63 time=4.485 ms 64 bytes from 136.132.54.67: seq=1 ttl=63 time=0.860 ms 64 bytes from 136.132.54.67: seq=2 ttl=63 time=0.911 ms --- 136.132.54.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.860/2.085/4.485 ms 2025-11-04 22:49:52,006 - INFO - Ping to IP 136.132.54.67 from VM ctest-TestBasicPolicy-62332095-40335835 passed 2025-11-04 22:49:52,178 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5a0ac471-b1d0-4c29-9396-6e1bcb2b2324", "href": "http://10.0.0.57:8082/network-policy/5a0ac471-b1d0-4c29-9396-6e1bcb2b2324"}} 2025-11-04 22:49:52,178 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 22:49:52,178 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 136.132.54.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-11-04 22:49:52,178 - DEBUG - ping -s 56 -c 3 -W 1 136.132.54.67 2025-11-04 22:49:55,380 - DEBUG - PING 136.132.54.67 (136.132.54.67): 56 data bytes --- 136.132.54.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-04 22:49:55,380 - WARNING - Ping to IP 136.132.54.67 from VM ctest-TestBasicPolicy-62332095-40335835 failed 2025-11-04 22:49:55,381 - INFO - Deleting VM ctest-TestBasicPolicy-62332095-38475713 2025-11-04 22:49:55,444 - INFO - Deleting VM ctest-TestBasicPolicy-62332095-40335835 2025-11-04 22:49:55,798 - INFO - Deleted policy ctest-policy-allow-all-96476953 2025-11-04 22:49:55,798 - INFO - Deleting VN ctest-vn-65069372 2025-11-04 22:49:55,837 - DEBUG - VN baee07d7-926a-4c20-964e-4b3080bf52bd still in use: Unable to complete operation on network baee07d7-926a-4c20-964e-4b3080bf52bd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f751a462-d3c7-41b2-8d05-7044e0ed8d2f'] 2025-11-04 22:49:55,837 - WARNING - Deleting VN ctest-vn-65069372 failed..Will retry 2025-11-04 22:49:57,959 - DEBUG - Response for deleting network () 2025-11-04 22:49:57,960 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/cbba6b07-07a0-4022-8d4d-50bba69ed377 2025-11-04 22:49:57,967 - DEBUG - Response Code: 404 2025-11-04 22:49:57,967 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-11-04 22:49:57,975 - DEBUG - Requesting: http://10.0.0.57:8082/domain/59cea508-1c1a-44bd-9672-612d3322e55a 2025-11-04 22:49:58,028 - DEBUG - Requesting: http://10.0.0.57:8082/project/a97d8164-d3b2-4414-b430-89a5b4965f2e 2025-11-04 22:49:58,105 - INFO - Validated that VN ctest-vn-65069372 is not found in API Server 2025-11-04 22:49:58,117 - DEBUG - VN ctest-vn-65069372 is not present in Agent 10.0.0.57 2025-11-04 22:49:58,117 - INFO - Validated that VN ctest-vn-65069372 is not in any agent 2025-11-04 22:49:58,131 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-65069372 info 2025-11-04 22:49:58,131 - INFO - Deleting VN ctest-vn-09099334 2025-11-04 22:49:58,246 - DEBUG - Response for deleting network () 2025-11-04 22:49:58,246 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/a0981957-18fd-4f73-a2dd-9088d2f29504 2025-11-04 22:49:58,250 - DEBUG - Response Code: 404 2025-11-04 22:49:58,251 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-11-04 22:49:58,255 - DEBUG - Requesting: http://10.0.0.57:8082/domain/59cea508-1c1a-44bd-9672-612d3322e55a 2025-11-04 22:49:58,306 - DEBUG - Requesting: http://10.0.0.57:8082/project/a97d8164-d3b2-4414-b430-89a5b4965f2e 2025-11-04 22:49:58,375 - INFO - Validated that VN ctest-vn-09099334 is not found in API Server 2025-11-04 22:49:58,384 - DEBUG - VN ctest-vn-09099334 is not present in Agent 10.0.0.57 2025-11-04 22:49:58,385 - INFO - Validated that VN ctest-vn-09099334 is not in any agent 2025-11-04 22:49:58,397 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-09099334 info 2025-11-04 22:49:58,651 - DEBUG - No XMPP flaps were noticed during the test
2025-11-04 22:49:58,652 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-11-04 22:49:58,652 - INFO - -------------------------------------------------------------------------------- 2025-11-04 22:49:59,313 - INFO - Deleted project: ctest-TestBasicPolicy-62332095, ID : a97d8164-d3b2-4414-b430-89a5b4965f2e