2025-09-04 16:24:28,616 - INFO - Domain Default found not creating 2025-09-04 16:24:28,781 - INFO - Project ctest-TestBasicPolicy-54427929 not found, creating it 2025-09-04 16:24:29,233 - INFO - Created Project:ctest-TestBasicPolicy-54427929, ID : aa9766ad-90c7-465a-b1df-26bffc132183 2025-09-04 16:24:30,753 - INFO - ================================================================================ 2025-09-04 16:24:30,753 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-04 16:24:30,753 - 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-09-04 16:24:31,017 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-09-04 16:24:31,017 - INFO - Initial checks done. Running the testcase now 2025-09-04 16:24:31,017 - INFO - 2025-09-04 16:24:31,592 - DEBUG - Response for create_network : {'network': {'id': 'c5d665d8-5186-4518-9740-b9042edcbf22', 'name': 'ctest-vn-06409783', 'tenant_id': 'aa9766ad90c7465ab1df26bffc132183', 'project_id': 'aa9766ad90c7465ab1df26bffc132183', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54427929', 'ctest-vn-06409783'], 'port_security_enabled': True, 'description': ''}} 2025-09-04 16:24:31,793 - DEBUG - Response for create_subnet : {'subnet': {'id': '72a75c01-a694-4eff-81e0-9374fb8f97b6', 'name': '', 'tenant_id': 'aa9766ad90c7465ab1df26bffc132183', 'network_id': 'c5d665d8-5186-4518-9740-b9042edcbf22', 'ip_version': 4, 'cidr': '58.206.195.64/26', 'allocation_pools': [{'start': '58.206.195.66', 'end': '58.206.195.126'}], 'gateway_ip': '58.206.195.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.206.195.66', 'tags': [], 'project_id': 'aa9766ad90c7465ab1df26bffc132183'}} 2025-09-04 16:24:31,813 - INFO - Created VN ctest-vn-06409783 2025-09-04 16:24:31,863 - DEBUG - VN ctest-vn-06409783 UUID is c5d665d8-5186-4518-9740-b9042edcbf22 2025-09-04 16:24:32,221 - DEBUG - Response for create_network : {'network': {'id': 'fa1a527f-df57-4a5f-bf52-a1aee6202a25', 'name': 'ctest-vn-09808430', 'tenant_id': 'aa9766ad90c7465ab1df26bffc132183', 'project_id': 'aa9766ad90c7465ab1df26bffc132183', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54427929', 'ctest-vn-09808430'], 'port_security_enabled': True, 'description': ''}} 2025-09-04 16:24:32,382 - DEBUG - Response for create_subnet : {'subnet': {'id': '4e5ec32b-9187-4a75-a94d-1098b16249c7', 'name': '', 'tenant_id': 'aa9766ad90c7465ab1df26bffc132183', 'network_id': 'fa1a527f-df57-4a5f-bf52-a1aee6202a25', 'ip_version': 4, 'cidr': '164.50.162.192/26', 'allocation_pools': [{'start': '164.50.162.194', 'end': '164.50.162.254'}], 'gateway_ip': '164.50.162.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.50.162.194', 'tags': [], 'project_id': 'aa9766ad90c7465ab1df26bffc132183'}} 2025-09-04 16:24:32,401 - INFO - Created VN ctest-vn-09808430 2025-09-04 16:24:32,451 - DEBUG - VN ctest-vn-09808430 UUID is fa1a527f-df57-4a5f-bf52-a1aee6202a25 2025-09-04 16:24:32,603 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-54427929:ctest-vn-06409783, 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-54427929:ctest-vn-09808430, 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-09-04 16:24:32,893 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c5d665d8-5186-4518-9740-b9042edcbf22', 'name': 'ctest-vn-06409783', 'tenant_id': 'aa9766ad90c7465ab1df26bffc132183', 'project_id': 'aa9766ad90c7465ab1df26bffc132183', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['72a75c01-a694-4eff-81e0-9374fb8f97b6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54427929', 'ctest-vn-06409783'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54427929', 'ctest-policy-allow-all-06898506']], 'subnet_ipam': [{'subnet_cidr': '58.206.195.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-04 16:24:33,128 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fa1a527f-df57-4a5f-bf52-a1aee6202a25', 'name': 'ctest-vn-09808430', 'tenant_id': 'aa9766ad90c7465ab1df26bffc132183', 'project_id': 'aa9766ad90c7465ab1df26bffc132183', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4e5ec32b-9187-4a75-a94d-1098b16249c7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54427929', 'ctest-vn-09808430'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54427929', 'ctest-policy-allow-all-06898506']], 'subnet_ipam': [{'subnet_cidr': '164.50.162.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-04 16:24:33,291 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-09-04 16:24:33,626 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-09-04 16:24:33,655 - DEBUG - Requesting: http://10.0.0.33:8082/domain/f175ec21-e8ca-45bc-b5a3-0fc6800d490a 2025-09-04 16:24:33,668 - DEBUG - Requesting: http://10.0.0.33:8082/project/aa9766ad-90c7-465a-b1df-26bffc132183 2025-09-04 16:24:33,739 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/c5d665d8-5186-4518-9740-b9042edcbf22 2025-09-04 16:24:33,752 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/c5d665d8-5186-4518-9740-b9042edcbf22 2025-09-04 16:24:33,761 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e394e9b9-60c3-4c90-9916-5eff7e92c7f2 2025-09-04 16:24:33,768 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e394e9b9-60c3-4c90-9916-5eff7e92c7f2 2025-09-04 16:24:33,774 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/39290efb-35dc-48a0-a27a-4681c0bd39f5 2025-09-04 16:24:33,780 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-04 16:24:33,780 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/c5d665d8-5186-4518-9740-b9042edcbf22 2025-09-04 16:24:33,788 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e394e9b9-60c3-4c90-9916-5eff7e92c7f2 2025-09-04 16:24:33,800 - INFO - Verified VN network id 11 for VN c5d665d8-5186-4518-9740-b9042edcbf22 2025-09-04 16:24:33,800 - INFO - Verifications in API Server for VN ctest-vn-06409783 passed 2025-09-04 16:24:33,800 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/c5d665d8-5186-4518-9740-b9042edcbf22 2025-09-04 16:24:33,809 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e394e9b9-60c3-4c90-9916-5eff7e92c7f2 2025-09-04 16:24:33,815 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e394e9b9-60c3-4c90-9916-5eff7e92c7f2 2025-09-04 16:24:33,820 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/39290efb-35dc-48a0-a27a-4681c0bd39f5 2025-09-04 16:24:33,831 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54427929:ctest-vn-06409783', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54427929', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14255693650242979096', 'uuid-lslong': '10898914525853826850'}, 'enable': 'true', 'created': '2025-09-04T16:24:31', 'last-modified': '2025-09-04T16:24:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.957274'} 2025-09-04 16:24:33,838 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-04 16:24:33,838 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-06409783 passed 2025-09-04 16:24:33,838 - DEBUG - ====Verifying policy data for ctest-vn-06409783 in API_Server ====== 2025-09-04 16:24:33,838 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-09-04 16:24:33,844 - DEBUG - Requesting: http://10.0.0.33:8082/domain/f175ec21-e8ca-45bc-b5a3-0fc6800d490a 2025-09-04 16:24:33,854 - DEBUG - Requesting: http://10.0.0.33:8082/project/aa9766ad-90c7-465a-b1df-26bffc132183 2025-09-04 16:24:33,927 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/c5d665d8-5186-4518-9740-b9042edcbf22 2025-09-04 16:24:33,937 - DEBUG - ==>Verifying data for policy with id: 72de82b1-e5d2-4dda-9936-4fbe3f8d3a6f, fqn: ['default-domain', 'ctest-TestBasicPolicy-54427929', 'ctest-policy-allow-all-06898506'] 2025-09-04 16:24:33,937 - INFO - VN ctest-vn-06409783 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-04 16:24:33,938 - DEBUG - Verifying the vn in opserver 2025-09-04 16:24:33,938 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54427929:ctest-vn-06409783 virtual network link through opserver 10.0.0.33 2025-09-04 16:24:33,938 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-09-04 16:24:34,275 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-09-04 16:24:34,341 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54427929:ctest-vn-06409783', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54427929:ctest-vn-06409783?flat'} 2025-09-04 16:24:34,341 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54427929:ctest-vn-06409783 is found in opserver 2025-09-04 16:24:34,351 - DEBUG - Do not have enough data to verify VN in agent 2025-09-04 16:24:34,356 - DEBUG - VRF ids for VN ctest-vn-06409783: {} 2025-09-04 16:24:34,356 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-09-04 16:24:34,362 - DEBUG - Requesting: http://10.0.0.33:8082/domain/f175ec21-e8ca-45bc-b5a3-0fc6800d490a 2025-09-04 16:24:34,373 - DEBUG - Requesting: http://10.0.0.33:8082/project/aa9766ad-90c7-465a-b1df-26bffc132183 2025-09-04 16:24:34,445 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/fa1a527f-df57-4a5f-bf52-a1aee6202a25 2025-09-04 16:24:34,458 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/fa1a527f-df57-4a5f-bf52-a1aee6202a25 2025-09-04 16:24:34,468 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/91820fb0-9c5c-44ab-9bda-2721d69a5aa4 2025-09-04 16:24:34,474 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/91820fb0-9c5c-44ab-9bda-2721d69a5aa4 2025-09-04 16:24:34,481 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/8e3c0815-c349-4376-a5e7-e0c8910d0b02 2025-09-04 16:24:34,486 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-04 16:24:34,486 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/fa1a527f-df57-4a5f-bf52-a1aee6202a25 2025-09-04 16:24:34,495 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/91820fb0-9c5c-44ab-9bda-2721d69a5aa4 2025-09-04 16:24:34,508 - INFO - Verified VN network id 12 for VN fa1a527f-df57-4a5f-bf52-a1aee6202a25 2025-09-04 16:24:34,508 - INFO - Verifications in API Server for VN ctest-vn-09808430 passed 2025-09-04 16:24:34,508 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/fa1a527f-df57-4a5f-bf52-a1aee6202a25 2025-09-04 16:24:34,516 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/91820fb0-9c5c-44ab-9bda-2721d69a5aa4 2025-09-04 16:24:34,522 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/91820fb0-9c5c-44ab-9bda-2721d69a5aa4 2025-09-04 16:24:34,528 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/8e3c0815-c349-4376-a5e7-e0c8910d0b02 2025-09-04 16:24:34,538 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54427929:ctest-vn-09808430', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54427929', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18021807568037825119', 'uuid-lslong': '13786259181891758629'}, 'enable': 'true', 'created': '2025-09-04T16:24:32', 'last-modified': '2025-09-04T16:24:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.433992'} 2025-09-04 16:24:34,544 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-04 16:24:34,544 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09808430 passed 2025-09-04 16:24:34,544 - DEBUG - ====Verifying policy data for ctest-vn-09808430 in API_Server ====== 2025-09-04 16:24:34,544 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-09-04 16:24:34,549 - DEBUG - Requesting: http://10.0.0.33:8082/domain/f175ec21-e8ca-45bc-b5a3-0fc6800d490a 2025-09-04 16:24:34,560 - DEBUG - Requesting: http://10.0.0.33:8082/project/aa9766ad-90c7-465a-b1df-26bffc132183 2025-09-04 16:24:34,629 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/fa1a527f-df57-4a5f-bf52-a1aee6202a25 2025-09-04 16:24:34,638 - DEBUG - ==>Verifying data for policy with id: 72de82b1-e5d2-4dda-9936-4fbe3f8d3a6f, fqn: ['default-domain', 'ctest-TestBasicPolicy-54427929', 'ctest-policy-allow-all-06898506'] 2025-09-04 16:24:34,638 - INFO - VN ctest-vn-09808430 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-04 16:24:34,638 - DEBUG - Verifying the vn in opserver 2025-09-04 16:24:34,638 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54427929:ctest-vn-09808430 virtual network link through opserver 10.0.0.33 2025-09-04 16:24:34,638 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-09-04 16:24:34,648 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54427929:ctest-vn-09808430', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54427929:ctest-vn-09808430?flat'} 2025-09-04 16:24:34,648 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54427929:ctest-vn-09808430 is found in opserver 2025-09-04 16:24:34,658 - DEBUG - Do not have enough data to verify VN in agent 2025-09-04 16:24:34,663 - DEBUG - VRF ids for VN ctest-vn-09808430: {} 2025-09-04 16:24:34,723 - DEBUG - Services list from nova: [, , ] 2025-09-04 16:24:35,824 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4017-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4017-1) 2025-09-04 16:24:37,026 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4017-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4017-1) 2025-09-04 16:24:37,026 - INFO - Waiting for VM ctest-TestBasicPolicy-54427929-18481676 to be up.. 2025-09-04 16:24:37,102 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-04 16:24:42,187 - DEBUG - VM is in ACTIVE state now 2025-09-04 16:24:42,187 - INFO - VM name : ctest-TestBasicPolicy-54427929-18481676 2025-09-04 16:24:42,269 - DEBUG - VM ctest-TestBasicPolicy-54427929-18481676 ID is 2e32a051-b966-4c88-9586-d5a90bdf33d1 2025-09-04 16:24:42,290 - DEBUG - VM ctest-TestBasicPolicy-54427929-18481676 launched on Node cn-jenkins-deploy-platform-ansible-os-4017-1 2025-09-04 16:24:42,367 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/2e32a051-b966-4c88-9586-d5a90bdf33d1 2025-09-04 16:24:42,375 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/be1b6b7c-fea3-480d-bfe3-cedefbcb3689 2025-09-04 16:24:45,630 - 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 1023ms') 2025-09-04 16:24:45,630 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-54427929-18481676 failed! 2025-09-04 16:24:45,687 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-54427929:ctest-vn-06409783 is 58.206.195.65 and allocation pool is NOT set 2025-09-04 16:24:47,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=7.92 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.62 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.621/4.769/7.917/3.148 ms') 2025-09-04 16:24:47,749 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-54427929-18481676 passed 2025-09-04 16:24:47,899 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 16:24:47,899 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54427929-18481676, IP 58.206.195.67, Port 22 2025-09-04 16:24:47,969 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-09-04 16:24:48,046 - DEBUG - VM ctest-TestBasicPolicy-54427929-18481676 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-04 16:24:53,047 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 16:24:53,047 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54427929-18481676, IP 58.206.195.67, Port 22 2025-09-04 16:24:53,203 - DEBUG - VM ctest-TestBasicPolicy-54427929-18481676 is ready for SSH connections 2025-09-04 16:24:53,203 - INFO - Waiting for VM ctest-TestBasicPolicy-54427929-30214406 to be up.. 2025-09-04 16:24:53,278 - DEBUG - VM is in ACTIVE state now 2025-09-04 16:24:53,279 - INFO - VM name : ctest-TestBasicPolicy-54427929-30214406 2025-09-04 16:24:53,349 - DEBUG - VM ctest-TestBasicPolicy-54427929-30214406 ID is 1985c600-a933-467a-8937-9ea003885dbc 2025-09-04 16:24:53,349 - DEBUG - VM ctest-TestBasicPolicy-54427929-30214406 launched on Node cn-jenkins-deploy-platform-ansible-os-4017-1 2025-09-04 16:24:53,427 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/1985c600-a933-467a-8937-9ea003885dbc 2025-09-04 16:24:53,436 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/1ea11be1-b5f7-407f-8a41-6f7206241c20 2025-09-04 16:24:54,678 - 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=6.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.437 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.437/3.537/6.638/3.100 ms') 2025-09-04 16:24:54,678 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-54427929-30214406 passed 2025-09-04 16:24:54,827 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 16:24:54,827 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54427929-30214406, IP 164.50.162.195, Port 22 2025-09-04 16:24:54,987 - DEBUG - VM ctest-TestBasicPolicy-54427929-30214406 is ready for SSH connections 2025-09-04 16:24:54,987 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 16:24:54,987 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 164.50.162.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-09-04 16:24:54,988 - DEBUG - ping -s 56 -c 3 -W 1 164.50.162.195 2025-09-04 16:24:59,077 - DEBUG - PING 164.50.162.195 (164.50.162.195): 56 data bytes 64 bytes from 164.50.162.195: seq=0 ttl=63 time=3.741 ms 64 bytes from 164.50.162.195: seq=1 ttl=63 time=1.092 ms 64 bytes from 164.50.162.195: seq=2 ttl=63 time=0.795 ms --- 164.50.162.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.795/1.876/3.741 ms 2025-09-04 16:24:59,077 - INFO - Ping to IP 164.50.162.195 from VM ctest-TestBasicPolicy-54427929-18481676 passed 2025-09-04 16:24:59,255 - DEBUG - Policy Update Response {"network-policy": {"uuid": "72de82b1-e5d2-4dda-9936-4fbe3f8d3a6f", "href": "http://10.0.0.33:8082/network-policy/72de82b1-e5d2-4dda-9936-4fbe3f8d3a6f"}} 2025-09-04 16:24:59,255 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 16:24:59,255 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 164.50.162.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-09-04 16:24:59,255 - DEBUG - ping -s 56 -c 3 -W 1 164.50.162.195 2025-09-04 16:25:02,478 - DEBUG - PING 164.50.162.195 (164.50.162.195): 56 data bytes --- 164.50.162.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-04 16:25:02,479 - WARNING - Ping to IP 164.50.162.195 from VM ctest-TestBasicPolicy-54427929-18481676 failed 2025-09-04 16:25:02,479 - INFO - Deleting VM ctest-TestBasicPolicy-54427929-30214406 2025-09-04 16:25:02,549 - INFO - Deleting VM ctest-TestBasicPolicy-54427929-18481676 2025-09-04 16:25:02,958 - INFO - Deleted policy ctest-policy-allow-all-06898506 2025-09-04 16:25:02,958 - INFO - Deleting VN ctest-vn-09808430 2025-09-04 16:25:02,999 - DEBUG - VN fa1a527f-df57-4a5f-bf52-a1aee6202a25 still in use: Unable to complete operation on network fa1a527f-df57-4a5f-bf52-a1aee6202a25. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5eb88c85-7431-4b8c-b091-390a445888fa'] 2025-09-04 16:25:02,999 - WARNING - Deleting VN ctest-vn-09808430 failed..Will retry 2025-09-04 16:25:05,100 - DEBUG - Response for deleting network () 2025-09-04 16:25:05,100 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/91820fb0-9c5c-44ab-9bda-2721d69a5aa4 2025-09-04 16:25:05,105 - DEBUG - Response Code: 404 2025-09-04 16:25:05,105 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-09-04 16:25:05,111 - DEBUG - Requesting: http://10.0.0.33:8082/domain/f175ec21-e8ca-45bc-b5a3-0fc6800d490a 2025-09-04 16:25:05,166 - DEBUG - Requesting: http://10.0.0.33:8082/project/aa9766ad-90c7-465a-b1df-26bffc132183 2025-09-04 16:25:05,237 - INFO - Validated that VN ctest-vn-09808430 is not found in API Server 2025-09-04 16:25:05,246 - DEBUG - VN ctest-vn-09808430 is not present in Agent 10.0.0.33 2025-09-04 16:25:05,246 - INFO - Validated that VN ctest-vn-09808430 is not in any agent 2025-09-04 16:25:05,260 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-09808430 info 2025-09-04 16:25:05,261 - INFO - Deleting VN ctest-vn-06409783 2025-09-04 16:25:05,370 - DEBUG - Response for deleting network () 2025-09-04 16:25:05,370 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e394e9b9-60c3-4c90-9916-5eff7e92c7f2 2025-09-04 16:25:05,376 - DEBUG - Response Code: 404 2025-09-04 16:25:05,376 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-09-04 16:25:05,381 - DEBUG - Requesting: http://10.0.0.33:8082/domain/f175ec21-e8ca-45bc-b5a3-0fc6800d490a 2025-09-04 16:25:05,436 - DEBUG - Requesting: http://10.0.0.33:8082/project/aa9766ad-90c7-465a-b1df-26bffc132183 2025-09-04 16:25:05,507 - INFO - Validated that VN ctest-vn-06409783 is not found in API Server 2025-09-04 16:25:05,517 - DEBUG - VN ctest-vn-06409783 is not present in Agent 10.0.0.33 2025-09-04 16:25:05,517 - INFO - Validated that VN ctest-vn-06409783 is not in any agent 2025-09-04 16:25:05,533 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-06409783 info 2025-09-04 16:25:05,789 - DEBUG - No XMPP flaps were noticed during the test
2025-09-04 16:25:05,789 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2025-09-04 16:25:05,789 - INFO - -------------------------------------------------------------------------------- 2025-09-04 16:25:06,528 - INFO - Deleted project: ctest-TestBasicPolicy-54427929, ID : aa9766ad-90c7-465a-b1df-26bffc132183