2025-10-09 20:33:37,946 - INFO - Domain Default found not creating 2025-10-09 20:33:38,098 - INFO - Project ctest-TestBasicPolicy-35089984 not found, creating it 2025-10-09 20:33:38,517 - INFO - Created Project:ctest-TestBasicPolicy-35089984, ID : 00e1d023-3e16-4b10-9524-b7e88a9359b4 2025-10-09 20:33:39,878 - INFO - ================================================================================ 2025-10-09 20:33:39,878 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-09 20:33:39,878 - 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-09 20:33:40,134 - DEBUG - Nothing to compare xmpp stats {'10.0.0.137': {'10.20.0.14': '0'}} with 2025-10-09 20:33:40,134 - INFO - Initial checks done. Running the testcase now 2025-10-09 20:33:40,134 - INFO - 2025-10-09 20:33:40,656 - DEBUG - Response for create_network : {'network': {'id': 'b89f831b-f494-4843-bac8-86609f3ec55d', 'name': 'ctest-vn-10494261', 'tenant_id': '00e1d0233e164b109524b7e88a9359b4', 'project_id': '00e1d0233e164b109524b7e88a9359b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35089984', 'ctest-vn-10494261'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 20:33:40,836 - DEBUG - Response for create_subnet : {'subnet': {'id': '9b0ec209-8327-49e2-b12a-ba9809f5e7de', 'name': '', 'tenant_id': '00e1d0233e164b109524b7e88a9359b4', 'network_id': 'b89f831b-f494-4843-bac8-86609f3ec55d', 'ip_version': 4, 'cidr': '16.64.99.64/26', 'allocation_pools': [{'start': '16.64.99.66', 'end': '16.64.99.126'}], 'gateway_ip': '16.64.99.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.64.99.66', 'tags': [], 'project_id': '00e1d0233e164b109524b7e88a9359b4'}} 2025-10-09 20:33:40,852 - INFO - Created VN ctest-vn-10494261 2025-10-09 20:33:40,905 - DEBUG - VN ctest-vn-10494261 UUID is b89f831b-f494-4843-bac8-86609f3ec55d 2025-10-09 20:33:41,474 - DEBUG - Response for create_network : {'network': {'id': '3c243ede-e05c-4195-a0d7-c94246ecb311', 'name': 'ctest-vn-56767715', 'tenant_id': '00e1d0233e164b109524b7e88a9359b4', 'project_id': '00e1d0233e164b109524b7e88a9359b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35089984', 'ctest-vn-56767715'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 20:33:41,756 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ce33059d-288a-404d-8821-c03c3f456640', 'name': '', 'tenant_id': '00e1d0233e164b109524b7e88a9359b4', 'network_id': '3c243ede-e05c-4195-a0d7-c94246ecb311', 'ip_version': 4, 'cidr': '27.117.166.64/26', 'allocation_pools': [{'start': '27.117.166.66', 'end': '27.117.166.126'}], 'gateway_ip': '27.117.166.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '27.117.166.66', 'tags': [], 'project_id': '00e1d0233e164b109524b7e88a9359b4'}} 2025-10-09 20:33:41,775 - INFO - Created VN ctest-vn-56767715 2025-10-09 20:33:41,825 - DEBUG - VN ctest-vn-56767715 UUID is 3c243ede-e05c-4195-a0d7-c94246ecb311 2025-10-09 20:33:41,973 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-35089984:ctest-vn-10494261, 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-35089984:ctest-vn-56767715, 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-09 20:33:42,254 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b89f831b-f494-4843-bac8-86609f3ec55d', 'name': 'ctest-vn-10494261', 'tenant_id': '00e1d0233e164b109524b7e88a9359b4', 'project_id': '00e1d0233e164b109524b7e88a9359b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9b0ec209-8327-49e2-b12a-ba9809f5e7de'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35089984', 'ctest-vn-10494261'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-35089984', 'ctest-policy-allow-all-52489644']], 'subnet_ipam': [{'subnet_cidr': '16.64.99.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-09 20:33:42,516 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3c243ede-e05c-4195-a0d7-c94246ecb311', 'name': 'ctest-vn-56767715', 'tenant_id': '00e1d0233e164b109524b7e88a9359b4', 'project_id': '00e1d0233e164b109524b7e88a9359b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ce33059d-288a-404d-8821-c03c3f456640'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35089984', 'ctest-vn-56767715'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-35089984', 'ctest-policy-allow-all-52489644']], 'subnet_ipam': [{'subnet_cidr': '27.117.166.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-09 20:33:42,661 - DEBUG - Requesting: http://10.0.0.137:8082/domains 2025-10-09 20:33:42,954 - DEBUG - Requesting: http://10.0.0.137:8082/domains 2025-10-09 20:33:42,982 - DEBUG - Requesting: http://10.0.0.137:8082/domain/5492f48f-1a7f-472e-bb43-29ed56f99b8b 2025-10-09 20:33:42,992 - DEBUG - Requesting: http://10.0.0.137:8082/project/00e1d023-3e16-4b10-9524-b7e88a9359b4 2025-10-09 20:33:43,062 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/b89f831b-f494-4843-bac8-86609f3ec55d 2025-10-09 20:33:43,071 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/b89f831b-f494-4843-bac8-86609f3ec55d 2025-10-09 20:33:43,079 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/f01465d4-3958-4760-a3af-e6b3e31529dc 2025-10-09 20:33:43,084 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/f01465d4-3958-4760-a3af-e6b3e31529dc 2025-10-09 20:33:43,090 - DEBUG - Requesting: http://10.0.0.137:8082/route-target/d527fbb6-96df-40d8-8702-38794fa17c7b 2025-10-09 20:33:43,095 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-09 20:33:43,096 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/b89f831b-f494-4843-bac8-86609f3ec55d 2025-10-09 20:33:43,102 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/f01465d4-3958-4760-a3af-e6b3e31529dc 2025-10-09 20:33:43,113 - INFO - Verified VN network id 10 for VN b89f831b-f494-4843-bac8-86609f3ec55d 2025-10-09 20:33:43,113 - INFO - Verifications in API Server for VN ctest-vn-10494261 passed 2025-10-09 20:33:43,113 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/b89f831b-f494-4843-bac8-86609f3ec55d 2025-10-09 20:33:43,120 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/f01465d4-3958-4760-a3af-e6b3e31529dc 2025-10-09 20:33:43,125 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/f01465d4-3958-4760-a3af-e6b3e31529dc 2025-10-09 20:33:43,130 - DEBUG - Requesting: http://10.0.0.137:8082/route-target/d527fbb6-96df-40d8-8702-38794fa17c7b 2025-10-09 20:33:43,139 - DEBUG - Control-node 10.0.0.137 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-35089984:ctest-vn-10494261', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-35089984', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13303495980366448707', 'uuid-lslong': '13459155235943400797'}, 'enable': 'true', 'created': '2025-10-09T20:33:40', 'last-modified': '2025-10-09T20:33:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.906020'} 2025-10-09 20:33:43,144 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-09 20:33:43,144 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-10494261 passed 2025-10-09 20:33:43,144 - DEBUG - ====Verifying policy data for ctest-vn-10494261 in API_Server ====== 2025-10-09 20:33:43,144 - DEBUG - Requesting: http://10.0.0.137:8082/domains 2025-10-09 20:33:43,148 - DEBUG - Requesting: http://10.0.0.137:8082/domain/5492f48f-1a7f-472e-bb43-29ed56f99b8b 2025-10-09 20:33:43,157 - DEBUG - Requesting: http://10.0.0.137:8082/project/00e1d023-3e16-4b10-9524-b7e88a9359b4 2025-10-09 20:33:43,228 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/b89f831b-f494-4843-bac8-86609f3ec55d 2025-10-09 20:33:43,236 - DEBUG - ==>Verifying data for policy with id: 7331e60b-8418-49fd-9838-fe711a6f7068, fqn: ['default-domain', 'ctest-TestBasicPolicy-35089984', 'ctest-policy-allow-all-52489644'] 2025-10-09 20:33:43,236 - INFO - VN ctest-vn-10494261 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-09 20:33:43,236 - DEBUG - Verifying the vn in opserver 2025-10-09 20:33:43,236 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-35089984:ctest-vn-10494261 virtual network link through opserver 10.0.0.137 2025-10-09 20:33:43,236 - DEBUG - Requesting: http://10.0.0.137:8081/analytics/uves/virtual-networks 2025-10-09 20:33:43,524 - DEBUG - Requesting: http://10.0.0.137:8081/analytics/uves/virtual-networks 2025-10-09 20:33:43,573 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-35089984:ctest-vn-10494261', 'href': 'http://10.0.0.137:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-35089984:ctest-vn-10494261?flat'} 2025-10-09 20:33:43,573 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-35089984:ctest-vn-10494261 is found in opserver 2025-10-09 20:33:43,581 - DEBUG - Do not have enough data to verify VN in agent 2025-10-09 20:33:43,585 - DEBUG - VRF ids for VN ctest-vn-10494261: {} 2025-10-09 20:33:43,585 - DEBUG - Requesting: http://10.0.0.137:8082/domains 2025-10-09 20:33:43,589 - DEBUG - Requesting: http://10.0.0.137:8082/domain/5492f48f-1a7f-472e-bb43-29ed56f99b8b 2025-10-09 20:33:43,600 - DEBUG - Requesting: http://10.0.0.137:8082/project/00e1d023-3e16-4b10-9524-b7e88a9359b4 2025-10-09 20:33:43,668 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/3c243ede-e05c-4195-a0d7-c94246ecb311 2025-10-09 20:33:43,677 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/3c243ede-e05c-4195-a0d7-c94246ecb311 2025-10-09 20:33:43,685 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/965d98a5-0243-419c-a083-58077b95cdcb 2025-10-09 20:33:43,690 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/965d98a5-0243-419c-a083-58077b95cdcb 2025-10-09 20:33:43,696 - DEBUG - Requesting: http://10.0.0.137:8082/route-target/4c66a789-695d-4e26-8f06-dd55e1498e07 2025-10-09 20:33:43,702 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-09 20:33:43,702 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/3c243ede-e05c-4195-a0d7-c94246ecb311 2025-10-09 20:33:43,709 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/965d98a5-0243-419c-a083-58077b95cdcb 2025-10-09 20:33:43,720 - INFO - Verified VN network id 11 for VN 3c243ede-e05c-4195-a0d7-c94246ecb311 2025-10-09 20:33:43,720 - INFO - Verifications in API Server for VN ctest-vn-56767715 passed 2025-10-09 20:33:43,720 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/3c243ede-e05c-4195-a0d7-c94246ecb311 2025-10-09 20:33:43,729 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/965d98a5-0243-419c-a083-58077b95cdcb 2025-10-09 20:33:43,734 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/965d98a5-0243-419c-a083-58077b95cdcb 2025-10-09 20:33:43,739 - DEBUG - Requesting: http://10.0.0.137:8082/route-target/4c66a789-695d-4e26-8f06-dd55e1498e07 2025-10-09 20:33:43,749 - DEBUG - Control-node 10.0.0.137 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-35089984:ctest-vn-56767715', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-35089984', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4333657868405064085', 'uuid-lslong': '11589953452556202769'}, 'enable': 'true', 'created': '2025-10-09T20:33:41', 'last-modified': '2025-10-09T20:33:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.301900'} 2025-10-09 20:33:43,754 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-09 20:33:43,754 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-56767715 passed 2025-10-09 20:33:43,755 - DEBUG - ====Verifying policy data for ctest-vn-56767715 in API_Server ====== 2025-10-09 20:33:43,755 - DEBUG - Requesting: http://10.0.0.137:8082/domains 2025-10-09 20:33:43,759 - DEBUG - Requesting: http://10.0.0.137:8082/domain/5492f48f-1a7f-472e-bb43-29ed56f99b8b 2025-10-09 20:33:43,768 - DEBUG - Requesting: http://10.0.0.137:8082/project/00e1d023-3e16-4b10-9524-b7e88a9359b4 2025-10-09 20:33:43,837 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/3c243ede-e05c-4195-a0d7-c94246ecb311 2025-10-09 20:33:43,845 - DEBUG - ==>Verifying data for policy with id: 7331e60b-8418-49fd-9838-fe711a6f7068, fqn: ['default-domain', 'ctest-TestBasicPolicy-35089984', 'ctest-policy-allow-all-52489644'] 2025-10-09 20:33:43,845 - INFO - VN ctest-vn-56767715 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-09 20:33:43,845 - DEBUG - Verifying the vn in opserver 2025-10-09 20:33:43,845 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-35089984:ctest-vn-56767715 virtual network link through opserver 10.0.0.137 2025-10-09 20:33:43,845 - DEBUG - Requesting: http://10.0.0.137:8081/analytics/uves/virtual-networks 2025-10-09 20:33:43,853 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-35089984:ctest-vn-56767715', 'href': 'http://10.0.0.137:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-35089984:ctest-vn-56767715?flat'} 2025-10-09 20:33:43,853 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-35089984:ctest-vn-56767715 is found in opserver 2025-10-09 20:33:43,862 - DEBUG - Do not have enough data to verify VN in agent 2025-10-09 20:33:43,866 - DEBUG - VRF ids for VN ctest-vn-56767715: {} 2025-10-09 20:33:43,920 - DEBUG - Services list from nova: [, , ] 2025-10-09 20:33:44,924 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4278-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4278-1) 2025-10-09 20:33:46,062 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4278-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4278-1) 2025-10-09 20:33:46,063 - INFO - Waiting for VM ctest-TestBasicPolicy-35089984-98742583 to be up.. 2025-10-09 20:33:46,129 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 20:33:51,203 - DEBUG - VM is in ACTIVE state now 2025-10-09 20:33:51,204 - INFO - VM name : ctest-TestBasicPolicy-35089984-98742583 2025-10-09 20:33:51,271 - DEBUG - VM ctest-TestBasicPolicy-35089984-98742583 ID is 68771371-4ee9-4952-9efe-dbf176398c4d 2025-10-09 20:33:51,292 - DEBUG - VM ctest-TestBasicPolicy-35089984-98742583 launched on Node cn-jenkins-deploy-platform-ansible-os-4278-1 2025-10-09 20:33:51,369 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/68771371-4ee9-4952-9efe-dbf176398c4d 2025-10-09 20:33:51,376 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/e6985d1e-eed6-471e-9d96-e9885c155b2c 2025-10-09 20:33:54,628 - 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 1011ms') 2025-10-09 20:33:54,629 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-35089984-98742583 failed! 2025-10-09 20:33:54,685 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-35089984:ctest-vn-10494261 is 16.64.99.65 and allocation pool is NOT set 2025-10-09 20:33:56,748 - 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=6.35 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.09 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 = 1.094/3.720/6.346/2.626 ms') 2025-10-09 20:33:56,748 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-35089984-98742583 passed 2025-10-09 20:33:56,897 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 20:33:56,897 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-35089984-98742583, IP 16.64.99.67, Port 22 2025-10-09 20:33:57,049 - DEBUG - VM ctest-TestBasicPolicy-35089984-98742583 is ready for SSH connections 2025-10-09 20:33:57,049 - INFO - Waiting for VM ctest-TestBasicPolicy-35089984-30850344 to be up.. 2025-10-09 20:33:57,121 - DEBUG - VM is in ACTIVE state now 2025-10-09 20:33:57,121 - INFO - VM name : ctest-TestBasicPolicy-35089984-30850344 2025-10-09 20:33:57,189 - DEBUG - VM ctest-TestBasicPolicy-35089984-30850344 ID is 400a3b32-d1cb-4a55-b814-78df9b67e722 2025-10-09 20:33:57,190 - DEBUG - VM ctest-TestBasicPolicy-35089984-30850344 launched on Node cn-jenkins-deploy-platform-ansible-os-4278-1 2025-10-09 20:33:57,269 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/400a3b32-d1cb-4a55-b814-78df9b67e722 2025-10-09 20:33:57,277 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/8424602e-52e8-4818-aef2-96d0d32dccb9 2025-10-09 20:33:58,525 - 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.60 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.549 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.549/1.572/2.595/1.023 ms') 2025-10-09 20:33:58,525 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-35089984-30850344 passed 2025-10-09 20:33:58,677 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 20:33:58,677 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-35089984-30850344, IP 27.117.166.67, Port 22 2025-10-09 20:33:58,836 - DEBUG - VM ctest-TestBasicPolicy-35089984-30850344 is ready for SSH connections 2025-10-09 20:33:58,836 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 20:33:58,836 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 27.117.166.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-10-09 20:33:58,837 - DEBUG - ping -s 56 -c 3 -W 1 27.117.166.67 2025-10-09 20:34:02,512 - DEBUG - PING 27.117.166.67 (27.117.166.67): 56 data bytes 64 bytes from 27.117.166.67: seq=0 ttl=63 time=3.242 ms 64 bytes from 27.117.166.67: seq=1 ttl=63 time=0.858 ms 64 bytes from 27.117.166.67: seq=2 ttl=63 time=0.796 ms --- 27.117.166.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.796/1.632/3.242 ms 2025-10-09 20:34:02,512 - INFO - Ping to IP 27.117.166.67 from VM ctest-TestBasicPolicy-35089984-98742583 passed 2025-10-09 20:34:02,689 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7331e60b-8418-49fd-9838-fe711a6f7068", "href": "http://10.0.0.137:8082/network-policy/7331e60b-8418-49fd-9838-fe711a6f7068"}} 2025-10-09 20:34:02,689 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 20:34:02,689 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 27.117.166.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-10-09 20:34:02,689 - DEBUG - ping -s 56 -c 3 -W 1 27.117.166.67 2025-10-09 20:34:05,895 - DEBUG - PING 27.117.166.67 (27.117.166.67): 56 data bytes --- 27.117.166.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-09 20:34:05,895 - WARNING - Ping to IP 27.117.166.67 from VM ctest-TestBasicPolicy-35089984-98742583 failed 2025-10-09 20:34:05,895 - INFO - Deleting VM ctest-TestBasicPolicy-35089984-30850344 2025-10-09 20:34:05,964 - INFO - Deleting VM ctest-TestBasicPolicy-35089984-98742583 2025-10-09 20:34:06,315 - INFO - Deleted policy ctest-policy-allow-all-52489644 2025-10-09 20:34:06,315 - INFO - Deleting VN ctest-vn-56767715 2025-10-09 20:34:06,349 - DEBUG - VN 3c243ede-e05c-4195-a0d7-c94246ecb311 still in use: Unable to complete operation on network 3c243ede-e05c-4195-a0d7-c94246ecb311. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-20f443c4-eeb8-4907-a5e8-3ef209600782'] 2025-10-09 20:34:06,349 - WARNING - Deleting VN ctest-vn-56767715 failed..Will retry 2025-10-09 20:34:08,461 - DEBUG - Response for deleting network () 2025-10-09 20:34:08,461 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/965d98a5-0243-419c-a083-58077b95cdcb 2025-10-09 20:34:08,465 - DEBUG - Response Code: 404 2025-10-09 20:34:08,466 - DEBUG - Requesting: http://10.0.0.137:8082/domains 2025-10-09 20:34:08,469 - DEBUG - Requesting: http://10.0.0.137:8082/domain/5492f48f-1a7f-472e-bb43-29ed56f99b8b 2025-10-09 20:34:08,521 - DEBUG - Requesting: http://10.0.0.137:8082/project/00e1d023-3e16-4b10-9524-b7e88a9359b4 2025-10-09 20:34:08,593 - INFO - Validated that VN ctest-vn-56767715 is not found in API Server 2025-10-09 20:34:08,602 - DEBUG - VN ctest-vn-56767715 is not present in Agent 10.0.0.137 2025-10-09 20:34:08,602 - INFO - Validated that VN ctest-vn-56767715 is not in any agent 2025-10-09 20:34:08,614 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-56767715 info 2025-10-09 20:34:08,614 - INFO - Deleting VN ctest-vn-10494261 2025-10-09 20:34:08,702 - DEBUG - Response for deleting network () 2025-10-09 20:34:08,702 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/f01465d4-3958-4760-a3af-e6b3e31529dc 2025-10-09 20:34:08,707 - DEBUG - Response Code: 404 2025-10-09 20:34:08,707 - DEBUG - Requesting: http://10.0.0.137:8082/domains 2025-10-09 20:34:08,711 - DEBUG - Requesting: http://10.0.0.137:8082/domain/5492f48f-1a7f-472e-bb43-29ed56f99b8b 2025-10-09 20:34:08,761 - DEBUG - Requesting: http://10.0.0.137:8082/project/00e1d023-3e16-4b10-9524-b7e88a9359b4 2025-10-09 20:34:08,827 - INFO - Validated that VN ctest-vn-10494261 is not found in API Server 2025-10-09 20:34:08,834 - DEBUG - VN ctest-vn-10494261 is not present in Agent 10.0.0.137 2025-10-09 20:34:08,834 - INFO - Validated that VN ctest-vn-10494261 is not in any agent 2025-10-09 20:34:08,846 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-10494261 info 2025-10-09 20:34:09,102 - DEBUG - No XMPP flaps were noticed during the test 2025-10-09 20:34:09,102 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-10-09 20:34:09,102 - INFO - -------------------------------------------------------------------------------- 2025-10-09 20:34:09,754 - INFO - Deleted project: ctest-TestBasicPolicy-35089984, ID : 00e1d023-3e16-4b10-9524-b7e88a9359b4