2025-10-28 21:34:33,316 - INFO - Domain Default found not creating 2025-10-28 21:34:33,462 - INFO - Project ctest-TestBasicPolicy-46713631 not found, creating it 2025-10-28 21:34:33,919 - INFO - Created Project:ctest-TestBasicPolicy-46713631, ID : f6b8da37-1b49-49a9-b29e-cca7250247de 2025-10-28 21:34:35,354 - INFO - ================================================================================ 2025-10-28 21:34:35,354 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-28 21:34:35,354 - 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-28 21:34:35,608 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with 2025-10-28 21:34:35,608 - INFO - Initial checks done. Running the testcase now 2025-10-28 21:34:35,609 - INFO - 2025-10-28 21:34:36,176 - DEBUG - Response for create_network : {'network': {'id': '5d4925c9-344b-48d6-b7c8-4a6a474c17fc', 'name': 'ctest-vn-75411024', 'tenant_id': 'f6b8da371b4949a9b29ecca7250247de', 'project_id': 'f6b8da371b4949a9b29ecca7250247de', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46713631', 'ctest-vn-75411024'], 'port_security_enabled': True, 'description': ''}} 2025-10-28 21:34:36,338 - DEBUG - Response for create_subnet : {'subnet': {'id': 'af0290ba-7cd5-4421-b2a6-921e35878fc2', 'name': '', 'tenant_id': 'f6b8da371b4949a9b29ecca7250247de', 'network_id': '5d4925c9-344b-48d6-b7c8-4a6a474c17fc', 'ip_version': 4, 'cidr': '221.39.54.192/26', 'allocation_pools': [{'start': '221.39.54.194', 'end': '221.39.54.254'}], 'gateway_ip': '221.39.54.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.39.54.194', 'tags': [], 'project_id': 'f6b8da371b4949a9b29ecca7250247de'}} 2025-10-28 21:34:36,354 - INFO - Created VN ctest-vn-75411024 2025-10-28 21:34:36,407 - DEBUG - VN ctest-vn-75411024 UUID is 5d4925c9-344b-48d6-b7c8-4a6a474c17fc 2025-10-28 21:34:36,733 - DEBUG - Response for create_network : {'network': {'id': '16139bf1-25cc-4110-8cd2-33ac85217086', 'name': 'ctest-vn-02104181', 'tenant_id': 'f6b8da371b4949a9b29ecca7250247de', 'project_id': 'f6b8da371b4949a9b29ecca7250247de', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46713631', 'ctest-vn-02104181'], 'port_security_enabled': True, 'description': ''}} 2025-10-28 21:34:36,921 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c96ac54d-64a0-4ee9-b465-beac23412c0a', 'name': '', 'tenant_id': 'f6b8da371b4949a9b29ecca7250247de', 'network_id': '16139bf1-25cc-4110-8cd2-33ac85217086', 'ip_version': 4, 'cidr': '125.168.231.192/26', 'allocation_pools': [{'start': '125.168.231.194', 'end': '125.168.231.254'}], 'gateway_ip': '125.168.231.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.168.231.194', 'tags': [], 'project_id': 'f6b8da371b4949a9b29ecca7250247de'}} 2025-10-28 21:34:36,938 - INFO - Created VN ctest-vn-02104181 2025-10-28 21:34:36,991 - DEBUG - VN ctest-vn-02104181 UUID is 16139bf1-25cc-4110-8cd2-33ac85217086 2025-10-28 21:34:37,143 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-46713631:ctest-vn-75411024, 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-46713631:ctest-vn-02104181, 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-28 21:34:37,430 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5d4925c9-344b-48d6-b7c8-4a6a474c17fc', 'name': 'ctest-vn-75411024', 'tenant_id': 'f6b8da371b4949a9b29ecca7250247de', 'project_id': 'f6b8da371b4949a9b29ecca7250247de', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['af0290ba-7cd5-4421-b2a6-921e35878fc2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46713631', 'ctest-vn-75411024'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-46713631', 'ctest-policy-allow-all-04780153']], 'subnet_ipam': [{'subnet_cidr': '221.39.54.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-28 21:34:37,645 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '16139bf1-25cc-4110-8cd2-33ac85217086', 'name': 'ctest-vn-02104181', 'tenant_id': 'f6b8da371b4949a9b29ecca7250247de', 'project_id': 'f6b8da371b4949a9b29ecca7250247de', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c96ac54d-64a0-4ee9-b465-beac23412c0a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46713631', 'ctest-vn-02104181'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-46713631', 'ctest-policy-allow-all-04780153']], 'subnet_ipam': [{'subnet_cidr': '125.168.231.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-28 21:34:37,795 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-28 21:34:38,093 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-28 21:34:38,122 - DEBUG - Requesting: http://10.0.0.254:8082/domain/ccecda67-a2ae-4747-a0a5-148585f6afbf 2025-10-28 21:34:38,135 - DEBUG - Requesting: http://10.0.0.254:8082/project/f6b8da37-1b49-49a9-b29e-cca7250247de 2025-10-28 21:34:38,207 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/5d4925c9-344b-48d6-b7c8-4a6a474c17fc 2025-10-28 21:34:38,217 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/5d4925c9-344b-48d6-b7c8-4a6a474c17fc 2025-10-28 21:34:38,227 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/dadaf4ac-3458-4acf-85fe-7b48230c2508 2025-10-28 21:34:38,234 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/dadaf4ac-3458-4acf-85fe-7b48230c2508 2025-10-28 21:34:38,240 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/1c4a232c-ff61-44eb-8e76-b833fed078b8 2025-10-28 21:34:38,245 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-28 21:34:38,245 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/5d4925c9-344b-48d6-b7c8-4a6a474c17fc 2025-10-28 21:34:38,253 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/dadaf4ac-3458-4acf-85fe-7b48230c2508 2025-10-28 21:34:38,279 - INFO - Verified VN network id 11 for VN 5d4925c9-344b-48d6-b7c8-4a6a474c17fc 2025-10-28 21:34:38,279 - INFO - Verifications in API Server for VN ctest-vn-75411024 passed 2025-10-28 21:34:38,279 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/5d4925c9-344b-48d6-b7c8-4a6a474c17fc 2025-10-28 21:34:38,288 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/dadaf4ac-3458-4acf-85fe-7b48230c2508 2025-10-28 21:34:38,309 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/dadaf4ac-3458-4acf-85fe-7b48230c2508 2025-10-28 21:34:38,317 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/1c4a232c-ff61-44eb-8e76-b833fed078b8 2025-10-28 21:34:38,330 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-46713631:ctest-vn-75411024', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-46713631', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6721945464923179222', 'uuid-lslong': '13242916524606101500'}, 'enable': 'true', 'created': '2025-10-28T21:34:36', 'last-modified': '2025-10-28T21:34:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.927931'} 2025-10-28 21:34:38,335 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-28 21:34:38,335 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-75411024 passed 2025-10-28 21:34:38,335 - DEBUG - ====Verifying policy data for ctest-vn-75411024 in API_Server ====== 2025-10-28 21:34:38,335 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-28 21:34:38,340 - DEBUG - Requesting: http://10.0.0.254:8082/domain/ccecda67-a2ae-4747-a0a5-148585f6afbf 2025-10-28 21:34:38,350 - DEBUG - Requesting: http://10.0.0.254:8082/project/f6b8da37-1b49-49a9-b29e-cca7250247de 2025-10-28 21:34:38,420 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/5d4925c9-344b-48d6-b7c8-4a6a474c17fc 2025-10-28 21:34:38,429 - DEBUG - ==>Verifying data for policy with id: 84601972-12f9-42e3-a7cc-5000e409cd63, fqn: ['default-domain', 'ctest-TestBasicPolicy-46713631', 'ctest-policy-allow-all-04780153'] 2025-10-28 21:34:38,429 - INFO - VN ctest-vn-75411024 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-28 21:34:38,429 - DEBUG - Verifying the vn in opserver 2025-10-28 21:34:38,429 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-46713631:ctest-vn-75411024 virtual network link through opserver 10.0.0.254 2025-10-28 21:34:38,429 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-28 21:34:38,732 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-28 21:34:38,789 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-46713631:ctest-vn-75411024', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-46713631:ctest-vn-75411024?flat'} 2025-10-28 21:34:38,789 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-46713631:ctest-vn-75411024 is found in opserver 2025-10-28 21:34:38,799 - DEBUG - Do not have enough data to verify VN in agent 2025-10-28 21:34:38,804 - DEBUG - VRF ids for VN ctest-vn-75411024: {} 2025-10-28 21:34:38,804 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-28 21:34:38,810 - DEBUG - Requesting: http://10.0.0.254:8082/domain/ccecda67-a2ae-4747-a0a5-148585f6afbf 2025-10-28 21:34:38,821 - DEBUG - Requesting: http://10.0.0.254:8082/project/f6b8da37-1b49-49a9-b29e-cca7250247de 2025-10-28 21:34:38,892 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/16139bf1-25cc-4110-8cd2-33ac85217086 2025-10-28 21:34:38,903 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/16139bf1-25cc-4110-8cd2-33ac85217086 2025-10-28 21:34:38,912 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f6d8669f-34a1-4143-b510-cccffc3c0859 2025-10-28 21:34:38,919 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f6d8669f-34a1-4143-b510-cccffc3c0859 2025-10-28 21:34:38,926 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/b6daed93-6d80-4ff7-b903-ceb9ce6eec81 2025-10-28 21:34:38,932 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-28 21:34:38,932 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/16139bf1-25cc-4110-8cd2-33ac85217086 2025-10-28 21:34:38,942 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f6d8669f-34a1-4143-b510-cccffc3c0859 2025-10-28 21:34:38,957 - INFO - Verified VN network id 12 for VN 16139bf1-25cc-4110-8cd2-33ac85217086 2025-10-28 21:34:38,957 - INFO - Verifications in API Server for VN ctest-vn-02104181 passed 2025-10-28 21:34:38,957 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/16139bf1-25cc-4110-8cd2-33ac85217086 2025-10-28 21:34:38,965 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f6d8669f-34a1-4143-b510-cccffc3c0859 2025-10-28 21:34:38,971 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f6d8669f-34a1-4143-b510-cccffc3c0859 2025-10-28 21:34:38,977 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/b6daed93-6d80-4ff7-b903-ceb9ce6eec81 2025-10-28 21:34:38,987 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-46713631:ctest-vn-02104181', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-46713631', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1590786553415483664', 'uuid-lslong': '10147229726480101510'}, 'enable': 'true', 'created': '2025-10-28T21:34:36', 'last-modified': '2025-10-28T21:34:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.363508'} 2025-10-28 21:34:38,993 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-28 21:34:38,993 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-02104181 passed 2025-10-28 21:34:38,993 - DEBUG - ====Verifying policy data for ctest-vn-02104181 in API_Server ====== 2025-10-28 21:34:38,993 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-28 21:34:38,998 - DEBUG - Requesting: http://10.0.0.254:8082/domain/ccecda67-a2ae-4747-a0a5-148585f6afbf 2025-10-28 21:34:39,008 - DEBUG - Requesting: http://10.0.0.254:8082/project/f6b8da37-1b49-49a9-b29e-cca7250247de 2025-10-28 21:34:39,074 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/16139bf1-25cc-4110-8cd2-33ac85217086 2025-10-28 21:34:39,083 - DEBUG - ==>Verifying data for policy with id: 84601972-12f9-42e3-a7cc-5000e409cd63, fqn: ['default-domain', 'ctest-TestBasicPolicy-46713631', 'ctest-policy-allow-all-04780153'] 2025-10-28 21:34:39,083 - INFO - VN ctest-vn-02104181 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-28 21:34:39,083 - DEBUG - Verifying the vn in opserver 2025-10-28 21:34:39,083 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-46713631:ctest-vn-02104181 virtual network link through opserver 10.0.0.254 2025-10-28 21:34:39,083 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-28 21:34:39,092 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-46713631:ctest-vn-02104181', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-46713631:ctest-vn-02104181?flat'} 2025-10-28 21:34:39,092 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-46713631:ctest-vn-02104181 is found in opserver 2025-10-28 21:34:39,101 - DEBUG - Do not have enough data to verify VN in agent 2025-10-28 21:34:39,105 - DEBUG - VRF ids for VN ctest-vn-02104181: {} 2025-10-28 21:34:39,164 - DEBUG - Services list from nova: [, , ] 2025-10-28 21:34:40,179 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4519-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4519-1) 2025-10-28 21:34:41,336 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4519-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4519-1) 2025-10-28 21:34:41,336 - INFO - Waiting for VM ctest-TestBasicPolicy-46713631-75632612 to be up.. 2025-10-28 21:34:41,423 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-28 21:34:46,506 - DEBUG - VM is in ACTIVE state now 2025-10-28 21:34:46,506 - INFO - VM name : ctest-TestBasicPolicy-46713631-75632612 2025-10-28 21:34:46,575 - DEBUG - VM ctest-TestBasicPolicy-46713631-75632612 ID is bc42aced-461a-4376-90c1-2d21df7fef66 2025-10-28 21:34:46,595 - DEBUG - VM ctest-TestBasicPolicy-46713631-75632612 launched on Node cn-jenkins-deploy-platform-ansible-os-4519-1 2025-10-28 21:34:46,677 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/bc42aced-461a-4376-90c1-2d21df7fef66 2025-10-28 21:34:46,686 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/262e43f9-9cd2-4a48-bb62-99ca346e7bf7 2025-10-28 21:34:49,954 - 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 1031ms') 2025-10-28 21:34:49,954 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-46713631-75632612 failed! 2025-10-28 21:34:50,011 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-46713631:ctest-vn-75411024 is 221.39.54.193 and allocation pool is NOT set 2025-10-28 21:34:52,067 - 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=8.13 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.923 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.923/4.526/8.129/3.603 ms') 2025-10-28 21:34:52,068 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-46713631-75632612 passed 2025-10-28 21:34:52,219 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 21:34:52,219 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-46713631-75632612, IP 221.39.54.195, Port 22 2025-10-28 21:34:52,375 - DEBUG - VM ctest-TestBasicPolicy-46713631-75632612 is ready for SSH connections 2025-10-28 21:34:52,375 - INFO - Waiting for VM ctest-TestBasicPolicy-46713631-33725593 to be up.. 2025-10-28 21:34:52,446 - DEBUG - VM is in ACTIVE state now 2025-10-28 21:34:52,446 - INFO - VM name : ctest-TestBasicPolicy-46713631-33725593 2025-10-28 21:34:52,513 - DEBUG - VM ctest-TestBasicPolicy-46713631-33725593 ID is 2413b1b0-abdd-4ea7-84c6-0ac93ed1603e 2025-10-28 21:34:52,513 - DEBUG - VM ctest-TestBasicPolicy-46713631-33725593 launched on Node cn-jenkins-deploy-platform-ansible-os-4519-1 2025-10-28 21:34:52,583 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/2413b1b0-abdd-4ea7-84c6-0ac93ed1603e 2025-10-28 21:34:52,593 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/aa795125-73dd-4377-83bb-6daa290228b7 2025-10-28 21:34:53,839 - 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=2.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.35 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 = 1.352/2.036/2.721/0.684 ms') 2025-10-28 21:34:53,839 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-46713631-33725593 passed 2025-10-28 21:34:53,991 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 21:34:53,991 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-46713631-33725593, IP 125.168.231.195, Port 22 2025-10-28 21:34:54,146 - DEBUG - VM ctest-TestBasicPolicy-46713631-33725593 is ready for SSH connections 2025-10-28 21:34:54,146 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 21:34:54,146 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.168.231.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-28 21:34:54,146 - DEBUG - ping -s 56 -c 3 -W 1 125.168.231.195 2025-10-28 21:34:58,188 - DEBUG - PING 125.168.231.195 (125.168.231.195): 56 data bytes 64 bytes from 125.168.231.195: seq=0 ttl=63 time=3.886 ms 64 bytes from 125.168.231.195: seq=1 ttl=63 time=0.887 ms 64 bytes from 125.168.231.195: seq=2 ttl=63 time=0.779 ms --- 125.168.231.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.779/1.850/3.886 ms 2025-10-28 21:34:58,188 - INFO - Ping to IP 125.168.231.195 from VM ctest-TestBasicPolicy-46713631-75632612 passed 2025-10-28 21:34:58,367 - DEBUG - Policy Update Response {"network-policy": {"uuid": "84601972-12f9-42e3-a7cc-5000e409cd63", "href": "http://10.0.0.254:8082/network-policy/84601972-12f9-42e3-a7cc-5000e409cd63"}} 2025-10-28 21:34:58,367 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 21:34:58,367 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.168.231.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-28 21:34:58,367 - DEBUG - ping -s 56 -c 3 -W 1 125.168.231.195 2025-10-28 21:35:01,571 - DEBUG - PING 125.168.231.195 (125.168.231.195): 56 data bytes --- 125.168.231.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-28 21:35:01,571 - WARNING - Ping to IP 125.168.231.195 from VM ctest-TestBasicPolicy-46713631-75632612 failed 2025-10-28 21:35:01,571 - INFO - Deleting VM ctest-TestBasicPolicy-46713631-33725593 2025-10-28 21:35:01,640 - INFO - Deleting VM ctest-TestBasicPolicy-46713631-75632612 2025-10-28 21:35:02,018 - INFO - Deleted policy ctest-policy-allow-all-04780153 2025-10-28 21:35:02,018 - INFO - Deleting VN ctest-vn-02104181 2025-10-28 21:35:02,062 - DEBUG - VN 16139bf1-25cc-4110-8cd2-33ac85217086 still in use: Unable to complete operation on network 16139bf1-25cc-4110-8cd2-33ac85217086. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5d67fa61-5aa4-422f-bcea-a7684bb06b1e'] 2025-10-28 21:35:02,063 - WARNING - Deleting VN ctest-vn-02104181 failed..Will retry 2025-10-28 21:35:04,162 - DEBUG - Response for deleting network () 2025-10-28 21:35:04,163 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f6d8669f-34a1-4143-b510-cccffc3c0859 2025-10-28 21:35:04,170 - DEBUG - Response Code: 404 2025-10-28 21:35:04,170 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-28 21:35:04,178 - DEBUG - Requesting: http://10.0.0.254:8082/domain/ccecda67-a2ae-4747-a0a5-148585f6afbf 2025-10-28 21:35:04,232 - DEBUG - Requesting: http://10.0.0.254:8082/project/f6b8da37-1b49-49a9-b29e-cca7250247de 2025-10-28 21:35:04,299 - INFO - Validated that VN ctest-vn-02104181 is not found in API Server 2025-10-28 21:35:04,310 - DEBUG - VN ctest-vn-02104181 is not present in Agent 10.0.0.254 2025-10-28 21:35:04,310 - INFO - Validated that VN ctest-vn-02104181 is not in any agent 2025-10-28 21:35:04,324 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-02104181 info 2025-10-28 21:35:04,324 - INFO - Deleting VN ctest-vn-75411024 2025-10-28 21:35:04,426 - DEBUG - Response for deleting network () 2025-10-28 21:35:04,426 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/dadaf4ac-3458-4acf-85fe-7b48230c2508 2025-10-28 21:35:04,434 - DEBUG - Response Code: 404 2025-10-28 21:35:04,435 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-28 21:35:04,440 - DEBUG - Requesting: http://10.0.0.254:8082/domain/ccecda67-a2ae-4747-a0a5-148585f6afbf 2025-10-28 21:35:04,496 - DEBUG - Requesting: http://10.0.0.254:8082/project/f6b8da37-1b49-49a9-b29e-cca7250247de 2025-10-28 21:35:04,566 - INFO - Validated that VN ctest-vn-75411024 is not found in API Server 2025-10-28 21:35:04,577 - DEBUG - VN ctest-vn-75411024 is not present in Agent 10.0.0.254 2025-10-28 21:35:04,577 - INFO - Validated that VN ctest-vn-75411024 is not in any agent 2025-10-28 21:35:04,591 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-75411024 info 2025-10-28 21:35:04,862 - DEBUG - No XMPP flaps were noticed during the test 2025-10-28 21:35:04,862 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-10-28 21:35:04,862 - INFO - -------------------------------------------------------------------------------- 2025-10-28 21:35:05,538 - INFO - Deleted project: ctest-TestBasicPolicy-46713631, ID : f6b8da37-1b49-49a9-b29e-cca7250247de