2025-10-21 17:50:41,899 - INFO - Domain Default found not creating 2025-10-21 17:50:42,232 - INFO - Project ctest-TestBasicPolicy-69150588 not found, creating it 2025-10-21 17:50:42,973 - INFO - Created Project:ctest-TestBasicPolicy-69150588, ID : deff038e-1102-4657-a2d3-5f48ce25bb96 2025-10-21 17:50:45,327 - INFO - ================================================================================ 2025-10-21 17:50:45,328 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-21 17:50:45,328 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-10-21 17:50:45,644 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.25': '0'}} with 2025-10-21 17:50:45,644 - INFO - Initial checks done. Running the testcase now 2025-10-21 17:50:45,645 - INFO - 2025-10-21 17:50:46,544 - DEBUG - Response for create_network : {'network': {'id': '90a0c23a-db25-40a2-bd14-1d5f38f2c236', 'name': 'ctest-vn-04858518', 'tenant_id': 'deff038e11024657a2d35f48ce25bb96', 'project_id': 'deff038e11024657a2d35f48ce25bb96', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69150588', 'ctest-vn-04858518'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 17:50:46,823 - DEBUG - Response for create_subnet : {'subnet': {'id': '1150ca75-2e21-4c07-bbff-dde750ea66c6', 'name': '', 'tenant_id': 'deff038e11024657a2d35f48ce25bb96', 'network_id': '90a0c23a-db25-40a2-bd14-1d5f38f2c236', 'ip_version': 4, 'cidr': '206.74.252.128/26', 'allocation_pools': [{'start': '206.74.252.130', 'end': '206.74.252.190'}], 'gateway_ip': '206.74.252.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.74.252.130', 'tags': [], 'project_id': 'deff038e11024657a2d35f48ce25bb96'}} 2025-10-21 17:50:46,860 - INFO - Created VN ctest-vn-04858518 2025-10-21 17:50:46,923 - DEBUG - VN ctest-vn-04858518 UUID is 90a0c23a-db25-40a2-bd14-1d5f38f2c236 2025-10-21 17:50:47,365 - DEBUG - Response for create_network : {'network': {'id': 'c9a630f5-da95-4ab2-abc6-d67108c04d70', 'name': 'ctest-vn-32509000', 'tenant_id': 'deff038e11024657a2d35f48ce25bb96', 'project_id': 'deff038e11024657a2d35f48ce25bb96', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69150588', 'ctest-vn-32509000'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 17:50:47,603 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b3707c74-9ed4-4dfa-a47b-ed57d3557df8', 'name': '', 'tenant_id': 'deff038e11024657a2d35f48ce25bb96', 'network_id': 'c9a630f5-da95-4ab2-abc6-d67108c04d70', 'ip_version': 4, 'cidr': '78.235.209.0/26', 'allocation_pools': [{'start': '78.235.209.2', 'end': '78.235.209.62'}], 'gateway_ip': '78.235.209.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '78.235.209.2', 'tags': [], 'project_id': 'deff038e11024657a2d35f48ce25bb96'}} 2025-10-21 17:50:47,629 - INFO - Created VN ctest-vn-32509000 2025-10-21 17:50:47,683 - DEBUG - VN ctest-vn-32509000 UUID is c9a630f5-da95-4ab2-abc6-d67108c04d70 2025-10-21 17:50:47,831 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-69150588:ctest-vn-04858518, 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-69150588:ctest-vn-32509000, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-10-21 17:50:48,272 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '90a0c23a-db25-40a2-bd14-1d5f38f2c236', 'name': 'ctest-vn-04858518', 'tenant_id': 'deff038e11024657a2d35f48ce25bb96', 'project_id': 'deff038e11024657a2d35f48ce25bb96', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1150ca75-2e21-4c07-bbff-dde750ea66c6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69150588', 'ctest-vn-04858518'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-69150588', 'ctest-policy-allow-all-22556237']], 'subnet_ipam': [{'subnet_cidr': '206.74.252.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-21 17:50:48,584 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c9a630f5-da95-4ab2-abc6-d67108c04d70', 'name': 'ctest-vn-32509000', 'tenant_id': 'deff038e11024657a2d35f48ce25bb96', 'project_id': 'deff038e11024657a2d35f48ce25bb96', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b3707c74-9ed4-4dfa-a47b-ed57d3557df8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69150588', 'ctest-vn-32509000'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-69150588', 'ctest-policy-allow-all-22556237']], 'subnet_ipam': [{'subnet_cidr': '78.235.209.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-21 17:50:48,751 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-10-21 17:50:49,052 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-10-21 17:50:49,091 - DEBUG - Requesting: http://10.0.0.130:8082/domain/a9b02489-17d2-4343-bae9-3201b5557307 2025-10-21 17:50:49,128 - DEBUG - Requesting: http://10.0.0.130:8082/project/deff038e-1102-4657-a2d3-5f48ce25bb96 2025-10-21 17:50:49,244 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/90a0c23a-db25-40a2-bd14-1d5f38f2c236 2025-10-21 17:50:49,276 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/90a0c23a-db25-40a2-bd14-1d5f38f2c236 2025-10-21 17:50:49,303 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/c20294f4-a3a5-494e-931c-3e1cc673c859 2025-10-21 17:50:49,324 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/c20294f4-a3a5-494e-931c-3e1cc673c859 2025-10-21 17:50:49,342 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/0573879b-b857-4dce-996a-c0b4e896083b 2025-10-21 17:50:49,359 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-21 17:50:49,360 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/90a0c23a-db25-40a2-bd14-1d5f38f2c236 2025-10-21 17:50:49,388 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/c20294f4-a3a5-494e-931c-3e1cc673c859 2025-10-21 17:50:49,427 - INFO - Verified VN network id 11 for VN 90a0c23a-db25-40a2-bd14-1d5f38f2c236 2025-10-21 17:50:49,427 - INFO - Verifications in API Server for VN ctest-vn-04858518 passed 2025-10-21 17:50:49,428 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/90a0c23a-db25-40a2-bd14-1d5f38f2c236 2025-10-21 17:50:49,473 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/c20294f4-a3a5-494e-931c-3e1cc673c859 2025-10-21 17:50:49,492 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/c20294f4-a3a5-494e-931c-3e1cc673c859 2025-10-21 17:50:49,505 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/0573879b-b857-4dce-996a-c0b4e896083b 2025-10-21 17:50:49,534 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-69150588:ctest-vn-04858518', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-69150588', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10421543095775871138', 'uuid-lslong': '13624547067517125174'}, 'enable': 'true', 'created': '2025-10-21T17:50:46', 'last-modified': '2025-10-21T17:50:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.307532'} 2025-10-21 17:50:49,550 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-21 17:50:49,550 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04858518 passed 2025-10-21 17:50:49,551 - DEBUG - ====Verifying policy data for ctest-vn-04858518 in API_Server ====== 2025-10-21 17:50:49,551 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-10-21 17:50:49,575 - DEBUG - Requesting: http://10.0.0.130:8082/domain/a9b02489-17d2-4343-bae9-3201b5557307 2025-10-21 17:50:49,641 - DEBUG - Requesting: http://10.0.0.130:8082/project/deff038e-1102-4657-a2d3-5f48ce25bb96 2025-10-21 17:50:49,739 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/90a0c23a-db25-40a2-bd14-1d5f38f2c236 2025-10-21 17:50:49,756 - DEBUG - ==>Verifying data for policy with id: bac561fb-61b1-4b8b-be30-c9da1b698f06, fqn: ['default-domain', 'ctest-TestBasicPolicy-69150588', 'ctest-policy-allow-all-22556237'] 2025-10-21 17:50:49,756 - INFO - VN ctest-vn-04858518 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-21 17:50:49,756 - DEBUG - Verifying the vn in opserver 2025-10-21 17:50:49,756 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-69150588:ctest-vn-04858518 virtual network link through opserver 10.0.0.130 2025-10-21 17:50:49,756 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-10-21 17:50:50,079 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-10-21 17:50:50,143 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-69150588:ctest-vn-04858518', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-69150588:ctest-vn-04858518?flat'} 2025-10-21 17:50:50,145 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-69150588:ctest-vn-04858518 is found in opserver 2025-10-21 17:50:50,157 - DEBUG - Do not have enough data to verify VN in agent 2025-10-21 17:50:50,168 - DEBUG - VRF ids for VN ctest-vn-04858518: {} 2025-10-21 17:50:50,168 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-10-21 17:50:50,175 - DEBUG - Requesting: http://10.0.0.130:8082/domain/a9b02489-17d2-4343-bae9-3201b5557307 2025-10-21 17:50:50,191 - DEBUG - Requesting: http://10.0.0.130:8082/project/deff038e-1102-4657-a2d3-5f48ce25bb96 2025-10-21 17:50:50,301 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/c9a630f5-da95-4ab2-abc6-d67108c04d70 2025-10-21 17:50:50,325 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/c9a630f5-da95-4ab2-abc6-d67108c04d70 2025-10-21 17:50:50,354 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/4adf14ed-8af2-47a2-a111-44812f11f404 2025-10-21 17:50:50,368 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/4adf14ed-8af2-47a2-a111-44812f11f404 2025-10-21 17:50:50,380 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/9ec7a6ef-3adc-4b9c-b478-8c22af65b725 2025-10-21 17:50:50,394 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-21 17:50:50,395 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/c9a630f5-da95-4ab2-abc6-d67108c04d70 2025-10-21 17:50:50,413 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/4adf14ed-8af2-47a2-a111-44812f11f404 2025-10-21 17:50:50,444 - INFO - Verified VN network id 12 for VN c9a630f5-da95-4ab2-abc6-d67108c04d70 2025-10-21 17:50:50,444 - INFO - Verifications in API Server for VN ctest-vn-32509000 passed 2025-10-21 17:50:50,444 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/c9a630f5-da95-4ab2-abc6-d67108c04d70 2025-10-21 17:50:50,470 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/4adf14ed-8af2-47a2-a111-44812f11f404 2025-10-21 17:50:50,487 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/4adf14ed-8af2-47a2-a111-44812f11f404 2025-10-21 17:50:50,506 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/9ec7a6ef-3adc-4b9c-b478-8c22af65b725 2025-10-21 17:50:50,535 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-69150588:ctest-vn-32509000', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-69150588', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14530355080249821874', 'uuid-lslong': '12377816406840855920'}, 'enable': 'true', 'created': '2025-10-21T17:50:47', 'last-modified': '2025-10-21T17:50:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.991323'} 2025-10-21 17:50:50,550 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-21 17:50:50,551 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-32509000 passed 2025-10-21 17:50:50,551 - DEBUG - ====Verifying policy data for ctest-vn-32509000 in API_Server ====== 2025-10-21 17:50:50,551 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-10-21 17:50:50,564 - DEBUG - Requesting: http://10.0.0.130:8082/domain/a9b02489-17d2-4343-bae9-3201b5557307 2025-10-21 17:50:50,593 - DEBUG - Requesting: http://10.0.0.130:8082/project/deff038e-1102-4657-a2d3-5f48ce25bb96 2025-10-21 17:50:50,718 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/c9a630f5-da95-4ab2-abc6-d67108c04d70 2025-10-21 17:50:50,749 - DEBUG - ==>Verifying data for policy with id: bac561fb-61b1-4b8b-be30-c9da1b698f06, fqn: ['default-domain', 'ctest-TestBasicPolicy-69150588', 'ctest-policy-allow-all-22556237'] 2025-10-21 17:50:50,749 - INFO - VN ctest-vn-32509000 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-21 17:50:50,749 - DEBUG - Verifying the vn in opserver 2025-10-21 17:50:50,749 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-69150588:ctest-vn-32509000 virtual network link through opserver 10.0.0.130 2025-10-21 17:50:50,749 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-10-21 17:50:50,772 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-69150588:ctest-vn-32509000', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-69150588:ctest-vn-32509000?flat'} 2025-10-21 17:50:50,773 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-69150588:ctest-vn-32509000 is found in opserver 2025-10-21 17:50:50,805 - DEBUG - Do not have enough data to verify VN in agent 2025-10-21 17:50:50,816 - DEBUG - VRF ids for VN ctest-vn-32509000: {} 2025-10-21 17:50:50,967 - DEBUG - Services list from nova: [, , ] 2025-10-21 17:50:52,587 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4402-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4402-1) 2025-10-21 17:50:54,038 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4402-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4402-1) 2025-10-21 17:50:54,038 - INFO - Waiting for VM ctest-TestBasicPolicy-69150588-00664911 to be up.. 2025-10-21 17:50:54,127 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-21 17:50:59,300 - DEBUG - VM is in ACTIVE state now 2025-10-21 17:50:59,301 - INFO - VM name : ctest-TestBasicPolicy-69150588-00664911 2025-10-21 17:50:59,468 - DEBUG - VM ctest-TestBasicPolicy-69150588-00664911 ID is 9909125d-61a1-4dbd-939a-cf2a696856e3 2025-10-21 17:50:59,511 - DEBUG - VM ctest-TestBasicPolicy-69150588-00664911 launched on Node cn-jenkins-deploy-platform-ansible-os-4402-1 2025-10-21 17:50:59,649 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/9909125d-61a1-4dbd-939a-cf2a696856e3 2025-10-21 17:50:59,666 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/2d466dc8-a16d-4b4c-b69a-c41e9ab84fed 2025-10-21 17:51:02,961 - 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 1001ms') 2025-10-21 17:51:02,961 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-69150588-00664911 failed! 2025-10-21 17:51:03,023 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-69150588:ctest-vn-04858518 is 206.74.252.129 and allocation pool is NOT set 2025-10-21 17:51:07,124 - 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=2 ttl=63 time=5.05 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1012ms\r\nrtt min/avg/max/mdev = 5.045/5.045/5.045/0.000 ms') 2025-10-21 17:51:07,124 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-69150588-00664911 passed 2025-10-21 17:51:07,303 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 17:51:07,303 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-69150588-00664911, IP 206.74.252.131, Port 22 2025-10-21 17:51:07,487 - DEBUG - VM ctest-TestBasicPolicy-69150588-00664911 is ready for SSH connections 2025-10-21 17:51:07,487 - INFO - Waiting for VM ctest-TestBasicPolicy-69150588-69334179 to be up.. 2025-10-21 17:51:07,609 - DEBUG - VM is in ACTIVE state now 2025-10-21 17:51:07,609 - INFO - VM name : ctest-TestBasicPolicy-69150588-69334179 2025-10-21 17:51:07,692 - DEBUG - VM ctest-TestBasicPolicy-69150588-69334179 ID is 6667c03c-22c3-4b3b-881d-bb37575a32e6 2025-10-21 17:51:07,692 - DEBUG - VM ctest-TestBasicPolicy-69150588-69334179 launched on Node cn-jenkins-deploy-platform-ansible-os-4402-1 2025-10-21 17:51:07,814 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/6667c03c-22c3-4b3b-881d-bb37575a32e6 2025-10-21 17:51:07,831 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/ef6ec589-b497-459a-b5c1-80cbc67abe48 2025-10-21 17:51:09,124 - 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=8.68 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.592 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.592/4.638/8.684/4.046 ms') 2025-10-21 17:51:09,124 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-69150588-69334179 passed 2025-10-21 17:51:09,275 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 17:51:09,275 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-69150588-69334179, IP 78.235.209.3, Port 22 2025-10-21 17:51:09,460 - DEBUG - VM ctest-TestBasicPolicy-69150588-69334179 is ready for SSH connections 2025-10-21 17:51:09,460 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 17:51:09,460 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 78.235.209.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-10-21 17:51:09,460 - DEBUG - ping -s 56 -c 3 -W 1 78.235.209.3 2025-10-21 17:51:13,908 - DEBUG - PING 78.235.209.3 (78.235.209.3): 56 data bytes 64 bytes from 78.235.209.3: seq=0 ttl=63 time=3.963 ms 64 bytes from 78.235.209.3: seq=1 ttl=63 time=1.835 ms 64 bytes from 78.235.209.3: seq=2 ttl=63 time=1.821 ms --- 78.235.209.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.821/2.539/3.963 ms 2025-10-21 17:51:13,908 - INFO - Ping to IP 78.235.209.3 from VM ctest-TestBasicPolicy-69150588-00664911 passed 2025-10-21 17:51:14,195 - DEBUG - Policy Update Response {"network-policy": {"uuid": "bac561fb-61b1-4b8b-be30-c9da1b698f06", "href": "http://10.0.0.130:8082/network-policy/bac561fb-61b1-4b8b-be30-c9da1b698f06"}} 2025-10-21 17:51:14,195 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 17:51:14,196 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 78.235.209.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-10-21 17:51:14,196 - DEBUG - ping -s 56 -c 3 -W 1 78.235.209.3 2025-10-21 17:51:17,561 - DEBUG - PING 78.235.209.3 (78.235.209.3): 56 data bytes --- 78.235.209.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-21 17:51:17,561 - WARNING - Ping to IP 78.235.209.3 from VM ctest-TestBasicPolicy-69150588-00664911 failed 2025-10-21 17:51:17,561 - INFO - Deleting VM ctest-TestBasicPolicy-69150588-69334179 2025-10-21 17:51:17,726 - INFO - Deleting VM ctest-TestBasicPolicy-69150588-00664911 2025-10-21 17:51:18,294 - INFO - Deleted policy ctest-policy-allow-all-22556237 2025-10-21 17:51:18,294 - INFO - Deleting VN ctest-vn-32509000 2025-10-21 17:51:18,330 - DEBUG - VN c9a630f5-da95-4ab2-abc6-d67108c04d70 still in use: Unable to complete operation on network c9a630f5-da95-4ab2-abc6-d67108c04d70. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e673e49d-aaa4-48fe-a7c2-e622c7532d98'] 2025-10-21 17:51:18,330 - WARNING - Deleting VN ctest-vn-32509000 failed..Will retry 2025-10-21 17:51:20,495 - DEBUG - Response for deleting network () 2025-10-21 17:51:20,495 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/4adf14ed-8af2-47a2-a111-44812f11f404 2025-10-21 17:51:20,504 - DEBUG - Response Code: 404 2025-10-21 17:51:20,504 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-10-21 17:51:20,513 - DEBUG - Requesting: http://10.0.0.130:8082/domain/a9b02489-17d2-4343-bae9-3201b5557307 2025-10-21 17:51:20,579 - DEBUG - Requesting: http://10.0.0.130:8082/project/deff038e-1102-4657-a2d3-5f48ce25bb96 2025-10-21 17:51:20,682 - INFO - Validated that VN ctest-vn-32509000 is not found in API Server 2025-10-21 17:51:20,700 - DEBUG - VN ctest-vn-32509000 is not present in Agent 10.0.0.130 2025-10-21 17:51:20,700 - INFO - Validated that VN ctest-vn-32509000 is not in any agent 2025-10-21 17:51:20,726 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-32509000 info 2025-10-21 17:51:20,726 - INFO - Deleting VN ctest-vn-04858518 2025-10-21 17:51:20,906 - DEBUG - Response for deleting network () 2025-10-21 17:51:20,906 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/c20294f4-a3a5-494e-931c-3e1cc673c859 2025-10-21 17:51:20,913 - DEBUG - Response Code: 404 2025-10-21 17:51:20,913 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-10-21 17:51:20,926 - DEBUG - Requesting: http://10.0.0.130:8082/domain/a9b02489-17d2-4343-bae9-3201b5557307 2025-10-21 17:51:20,983 - DEBUG - Requesting: http://10.0.0.130:8082/project/deff038e-1102-4657-a2d3-5f48ce25bb96 2025-10-21 17:51:21,090 - INFO - Validated that VN ctest-vn-04858518 is not found in API Server 2025-10-21 17:51:21,110 - DEBUG - VN ctest-vn-04858518 is not present in Agent 10.0.0.130 2025-10-21 17:51:21,110 - INFO - Validated that VN ctest-vn-04858518 is not in any agent 2025-10-21 17:51:21,138 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-04858518 info 2025-10-21 17:51:21,456 - DEBUG - No XMPP flaps were noticed during the test 2025-10-21 17:51:21,456 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36] 2025-10-21 17:51:21,457 - INFO - -------------------------------------------------------------------------------- 2025-10-21 17:51:22,394 - INFO - Deleted project: ctest-TestBasicPolicy-69150588, ID : deff038e-1102-4657-a2d3-5f48ce25bb96