2025-11-24 18:35:08,097 - INFO - Domain Default found not creating 2025-11-24 18:35:08,394 - INFO - Project ctest-TestBasicPolicy-28094514 not found, creating it 2025-11-24 18:35:09,029 - INFO - Created Project:ctest-TestBasicPolicy-28094514, ID : f33b807e-2cb6-40bd-8321-81cb754fc34b 2025-11-24 18:35:10,790 - INFO - ================================================================================ 2025-11-24 18:35:10,791 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-24 18:35:10,791 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-11-24 18:35:11,120 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.252': '0'}} with 2025-11-24 18:35:11,121 - INFO - Initial checks done. Running the testcase now 2025-11-24 18:35:11,121 - INFO - 2025-11-24 18:35:11,937 - DEBUG - Response for create_network : {'network': {'id': '5f806a3d-1e3e-42c8-a512-688264cc39f0', 'name': 'ctest-vn-04634291', 'tenant_id': 'f33b807e2cb640bd832181cb754fc34b', 'project_id': 'f33b807e2cb640bd832181cb754fc34b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28094514', 'ctest-vn-04634291'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 18:35:12,123 - DEBUG - Response for create_subnet : {'subnet': {'id': '0ec3603b-95f0-4f14-a413-c147cc6fbff4', 'name': '', 'tenant_id': 'f33b807e2cb640bd832181cb754fc34b', 'network_id': '5f806a3d-1e3e-42c8-a512-688264cc39f0', 'ip_version': 4, 'cidr': '140.250.57.192/26', 'allocation_pools': [{'start': '140.250.57.194', 'end': '140.250.57.254'}], 'gateway_ip': '140.250.57.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '140.250.57.194', 'tags': [], 'project_id': 'f33b807e2cb640bd832181cb754fc34b'}} 2025-11-24 18:35:12,144 - INFO - Created VN ctest-vn-04634291 2025-11-24 18:35:12,198 - DEBUG - VN ctest-vn-04634291 UUID is 5f806a3d-1e3e-42c8-a512-688264cc39f0 2025-11-24 18:35:12,603 - DEBUG - Response for create_network : {'network': {'id': 'ab2fdbdd-7f30-494a-b361-00c1de2b8d5f', 'name': 'ctest-vn-59297781', 'tenant_id': 'f33b807e2cb640bd832181cb754fc34b', 'project_id': 'f33b807e2cb640bd832181cb754fc34b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28094514', 'ctest-vn-59297781'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 18:35:12,884 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f522dbaf-1548-433e-b5b6-444e8d4ca166', 'name': '', 'tenant_id': 'f33b807e2cb640bd832181cb754fc34b', 'network_id': 'ab2fdbdd-7f30-494a-b361-00c1de2b8d5f', 'ip_version': 4, 'cidr': '23.145.44.0/26', 'allocation_pools': [{'start': '23.145.44.2', 'end': '23.145.44.62'}], 'gateway_ip': '23.145.44.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '23.145.44.2', 'tags': [], 'project_id': 'f33b807e2cb640bd832181cb754fc34b'}} 2025-11-24 18:35:12,913 - INFO - Created VN ctest-vn-59297781 2025-11-24 18:35:12,982 - DEBUG - VN ctest-vn-59297781 UUID is ab2fdbdd-7f30-494a-b361-00c1de2b8d5f 2025-11-24 18:35:13,130 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-28094514:ctest-vn-04634291, 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-28094514:ctest-vn-59297781, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-11-24 18:35:13,604 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5f806a3d-1e3e-42c8-a512-688264cc39f0', 'name': 'ctest-vn-04634291', 'tenant_id': 'f33b807e2cb640bd832181cb754fc34b', 'project_id': 'f33b807e2cb640bd832181cb754fc34b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0ec3603b-95f0-4f14-a413-c147cc6fbff4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28094514', 'ctest-vn-04634291'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28094514', 'ctest-policy-allow-all-75802474']], 'subnet_ipam': [{'subnet_cidr': '140.250.57.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-24 18:35:13,876 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ab2fdbdd-7f30-494a-b361-00c1de2b8d5f', 'name': 'ctest-vn-59297781', 'tenant_id': 'f33b807e2cb640bd832181cb754fc34b', 'project_id': 'f33b807e2cb640bd832181cb754fc34b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f522dbaf-1548-433e-b5b6-444e8d4ca166'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28094514', 'ctest-vn-59297781'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28094514', 'ctest-policy-allow-all-75802474']], 'subnet_ipam': [{'subnet_cidr': '23.145.44.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-24 18:35:14,038 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-24 18:35:14,390 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-24 18:35:14,479 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1ceb41c8-154b-44e5-ac11-f7c3b29646c1 2025-11-24 18:35:14,500 - DEBUG - Requesting: http://10.0.0.38:8082/project/f33b807e-2cb6-40bd-8321-81cb754fc34b 2025-11-24 18:35:14,598 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5f806a3d-1e3e-42c8-a512-688264cc39f0 2025-11-24 18:35:14,620 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5f806a3d-1e3e-42c8-a512-688264cc39f0 2025-11-24 18:35:14,639 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a97c0e83-0b45-4508-a4f9-d248f5014430 2025-11-24 18:35:14,654 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a97c0e83-0b45-4508-a4f9-d248f5014430 2025-11-24 18:35:14,669 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/1ae3fade-1397-4271-9c47-a3aa3f06979b 2025-11-24 18:35:14,681 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-24 18:35:14,682 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5f806a3d-1e3e-42c8-a512-688264cc39f0 2025-11-24 18:35:14,698 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a97c0e83-0b45-4508-a4f9-d248f5014430 2025-11-24 18:35:14,726 - INFO - Verified VN network id 11 for VN 5f806a3d-1e3e-42c8-a512-688264cc39f0 2025-11-24 18:35:14,726 - INFO - Verifications in API Server for VN ctest-vn-04634291 passed 2025-11-24 18:35:14,726 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5f806a3d-1e3e-42c8-a512-688264cc39f0 2025-11-24 18:35:14,748 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a97c0e83-0b45-4508-a4f9-d248f5014430 2025-11-24 18:35:14,763 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a97c0e83-0b45-4508-a4f9-d248f5014430 2025-11-24 18:35:14,772 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/1ae3fade-1397-4271-9c47-a3aa3f06979b 2025-11-24 18:35:14,793 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28094514:ctest-vn-04634291', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28094514', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6881617041355064008', 'uuid-lslong': '11894684475085044208'}, 'enable': 'true', 'created': '2025-11-24T18:35:11', 'last-modified': '2025-11-24T18:35:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.247417'} 2025-11-24 18:35:14,805 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-24 18:35:14,805 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04634291 passed 2025-11-24 18:35:14,805 - DEBUG - ====Verifying policy data for ctest-vn-04634291 in API_Server ====== 2025-11-24 18:35:14,806 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-24 18:35:14,816 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1ceb41c8-154b-44e5-ac11-f7c3b29646c1 2025-11-24 18:35:14,835 - DEBUG - Requesting: http://10.0.0.38:8082/project/f33b807e-2cb6-40bd-8321-81cb754fc34b 2025-11-24 18:35:14,948 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5f806a3d-1e3e-42c8-a512-688264cc39f0 2025-11-24 18:35:14,965 - DEBUG - ==>Verifying data for policy with id: ea3d254e-9fcb-4f0f-acdc-dd6156a516b9, fqn: ['default-domain', 'ctest-TestBasicPolicy-28094514', 'ctest-policy-allow-all-75802474'] 2025-11-24 18:35:14,965 - INFO - VN ctest-vn-04634291 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-24 18:35:14,966 - DEBUG - Verifying the vn in opserver 2025-11-24 18:35:14,966 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28094514:ctest-vn-04634291 virtual network link through opserver 10.0.0.38 2025-11-24 18:35:14,966 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-11-24 18:35:15,318 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-11-24 18:35:15,421 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28094514:ctest-vn-04634291', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28094514:ctest-vn-04634291?flat'} 2025-11-24 18:35:15,422 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28094514:ctest-vn-04634291 is found in opserver 2025-11-24 18:35:15,436 - DEBUG - Do not have enough data to verify VN in agent 2025-11-24 18:35:15,444 - DEBUG - VRF ids for VN ctest-vn-04634291: {} 2025-11-24 18:35:15,444 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-24 18:35:15,452 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1ceb41c8-154b-44e5-ac11-f7c3b29646c1 2025-11-24 18:35:15,474 - DEBUG - Requesting: http://10.0.0.38:8082/project/f33b807e-2cb6-40bd-8321-81cb754fc34b 2025-11-24 18:35:15,594 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ab2fdbdd-7f30-494a-b361-00c1de2b8d5f 2025-11-24 18:35:15,617 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ab2fdbdd-7f30-494a-b361-00c1de2b8d5f 2025-11-24 18:35:15,636 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a0ed8f56-a165-4ef7-9ed7-bcbbbba00519 2025-11-24 18:35:15,649 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a0ed8f56-a165-4ef7-9ed7-bcbbbba00519 2025-11-24 18:35:15,662 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b264b762-bc0a-4433-988a-28f068536e88 2025-11-24 18:35:15,673 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-24 18:35:15,673 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ab2fdbdd-7f30-494a-b361-00c1de2b8d5f 2025-11-24 18:35:15,690 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a0ed8f56-a165-4ef7-9ed7-bcbbbba00519 2025-11-24 18:35:15,718 - INFO - Verified VN network id 12 for VN ab2fdbdd-7f30-494a-b361-00c1de2b8d5f 2025-11-24 18:35:15,718 - INFO - Verifications in API Server for VN ctest-vn-59297781 passed 2025-11-24 18:35:15,718 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ab2fdbdd-7f30-494a-b361-00c1de2b8d5f 2025-11-24 18:35:15,738 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a0ed8f56-a165-4ef7-9ed7-bcbbbba00519 2025-11-24 18:35:15,752 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a0ed8f56-a165-4ef7-9ed7-bcbbbba00519 2025-11-24 18:35:15,768 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b264b762-bc0a-4433-988a-28f068536e88 2025-11-24 18:35:15,794 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28094514:ctest-vn-59297781', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28094514', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12335319648759204170', 'uuid-lslong': '12925613238186118495'}, 'enable': 'true', 'created': '2025-11-24T18:35:12', 'last-modified': '2025-11-24T18:35:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.946046'} 2025-11-24 18:35:15,805 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-24 18:35:15,805 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-59297781 passed 2025-11-24 18:35:15,806 - DEBUG - ====Verifying policy data for ctest-vn-59297781 in API_Server ====== 2025-11-24 18:35:15,806 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-24 18:35:15,820 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1ceb41c8-154b-44e5-ac11-f7c3b29646c1 2025-11-24 18:35:15,849 - DEBUG - Requesting: http://10.0.0.38:8082/project/f33b807e-2cb6-40bd-8321-81cb754fc34b 2025-11-24 18:35:15,976 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ab2fdbdd-7f30-494a-b361-00c1de2b8d5f 2025-11-24 18:35:15,997 - DEBUG - ==>Verifying data for policy with id: ea3d254e-9fcb-4f0f-acdc-dd6156a516b9, fqn: ['default-domain', 'ctest-TestBasicPolicy-28094514', 'ctest-policy-allow-all-75802474'] 2025-11-24 18:35:15,997 - INFO - VN ctest-vn-59297781 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-24 18:35:15,997 - DEBUG - Verifying the vn in opserver 2025-11-24 18:35:15,997 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28094514:ctest-vn-59297781 virtual network link through opserver 10.0.0.38 2025-11-24 18:35:15,997 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-11-24 18:35:16,019 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28094514:ctest-vn-59297781', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28094514:ctest-vn-59297781?flat'} 2025-11-24 18:35:16,019 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28094514:ctest-vn-59297781 is found in opserver 2025-11-24 18:35:16,037 - DEBUG - Do not have enough data to verify VN in agent 2025-11-24 18:35:16,046 - DEBUG - VRF ids for VN ctest-vn-59297781: {} 2025-11-24 18:35:16,148 - DEBUG - Services list from nova: [, , ] 2025-11-24 18:35:17,779 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4813-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4813-1) 2025-11-24 18:35:19,114 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4813-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4813-1) 2025-11-24 18:35:19,114 - INFO - Waiting for VM ctest-TestBasicPolicy-28094514-83493957 to be up.. 2025-11-24 18:35:19,205 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-24 18:35:24,382 - DEBUG - VM is in ACTIVE state now 2025-11-24 18:35:24,382 - INFO - VM name : ctest-TestBasicPolicy-28094514-83493957 2025-11-24 18:35:24,470 - DEBUG - VM ctest-TestBasicPolicy-28094514-83493957 ID is 25867b59-8f7c-4573-b30b-8d9c240b73dd 2025-11-24 18:35:24,492 - DEBUG - VM ctest-TestBasicPolicy-28094514-83493957 launched on Node cn-jenkins-deploy-platform-ansible-os-4813-1 2025-11-24 18:35:24,626 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/25867b59-8f7c-4573-b30b-8d9c240b73dd 2025-11-24 18:35:24,637 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a5937e0a-35a5-46ac-a98a-166b7902658a 2025-11-24 18:35:27,920 - 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 1019ms') 2025-11-24 18:35:27,920 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-28094514-83493957 failed! 2025-11-24 18:35:27,994 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-28094514:ctest-vn-04634291 is 140.250.57.193 and allocation pool is NOT set 2025-11-24 18:35:30,073 - 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=11.4 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.75 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 = 2.752/7.089/11.427/4.337 ms') 2025-11-24 18:35:30,073 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-28094514-83493957 passed 2025-11-24 18:35:30,241 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 18:35:30,242 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-28094514-83493957, IP 140.250.57.195, Port 22 2025-11-24 18:35:30,308 - 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-11-24 18:35:30,416 - DEBUG - VM ctest-TestBasicPolicy-28094514-83493957 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-24 18:35:35,416 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 18:35:35,417 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-28094514-83493957, IP 140.250.57.195, Port 22 2025-11-24 18:35:35,624 - DEBUG - VM ctest-TestBasicPolicy-28094514-83493957 is ready for SSH connections 2025-11-24 18:35:35,625 - INFO - Waiting for VM ctest-TestBasicPolicy-28094514-83944431 to be up.. 2025-11-24 18:35:35,812 - DEBUG - VM is in ACTIVE state now 2025-11-24 18:35:35,812 - INFO - VM name : ctest-TestBasicPolicy-28094514-83944431 2025-11-24 18:35:36,024 - DEBUG - VM ctest-TestBasicPolicy-28094514-83944431 ID is a01ca385-9af1-4c1e-b661-fc9c13b883ce 2025-11-24 18:35:36,024 - DEBUG - VM ctest-TestBasicPolicy-28094514-83944431 launched on Node cn-jenkins-deploy-platform-ansible-os-4813-1 2025-11-24 18:35:36,191 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a01ca385-9af1-4c1e-b661-fc9c13b883ce 2025-11-24 18:35:36,209 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/62dd3475-0982-4912-aed9-ab781a9367a3 2025-11-24 18:35:37,518 - 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=3.97 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.717 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.717/2.342/3.967/1.625 ms') 2025-11-24 18:35:37,519 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-28094514-83944431 passed 2025-11-24 18:35:37,694 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 18:35:37,695 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-28094514-83944431, IP 23.145.44.3, Port 22 2025-11-24 18:35:37,898 - DEBUG - VM ctest-TestBasicPolicy-28094514-83944431 is ready for SSH connections 2025-11-24 18:35:37,899 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 18:35:37,899 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 23.145.44.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-24 18:35:37,899 - DEBUG - ping -s 56 -c 3 -W 1 23.145.44.3 2025-11-24 18:35:42,401 - DEBUG - PING 23.145.44.3 (23.145.44.3): 56 data bytes 64 bytes from 23.145.44.3: seq=0 ttl=63 time=5.987 ms 64 bytes from 23.145.44.3: seq=1 ttl=63 time=1.385 ms 64 bytes from 23.145.44.3: seq=2 ttl=63 time=1.688 ms --- 23.145.44.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.385/3.020/5.987 ms 2025-11-24 18:35:42,401 - INFO - Ping to IP 23.145.44.3 from VM ctest-TestBasicPolicy-28094514-83493957 passed 2025-11-24 18:35:42,649 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ea3d254e-9fcb-4f0f-acdc-dd6156a516b9", "href": "http://10.0.0.38:8082/network-policy/ea3d254e-9fcb-4f0f-acdc-dd6156a516b9"}} 2025-11-24 18:35:42,650 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 18:35:42,650 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 23.145.44.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-24 18:35:42,650 - DEBUG - ping -s 56 -c 3 -W 1 23.145.44.3 2025-11-24 18:35:45,932 - DEBUG - PING 23.145.44.3 (23.145.44.3): 56 data bytes --- 23.145.44.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-24 18:35:45,932 - WARNING - Ping to IP 23.145.44.3 from VM ctest-TestBasicPolicy-28094514-83493957 failed 2025-11-24 18:35:45,933 - INFO - Deleting VM ctest-TestBasicPolicy-28094514-83944431 2025-11-24 18:35:46,132 - INFO - Deleting VM ctest-TestBasicPolicy-28094514-83493957 2025-11-24 18:35:46,603 - INFO - Deleted policy ctest-policy-allow-all-75802474 2025-11-24 18:35:46,603 - INFO - Deleting VN ctest-vn-59297781 2025-11-24 18:35:46,643 - DEBUG - VN ab2fdbdd-7f30-494a-b361-00c1de2b8d5f still in use: Unable to complete operation on network ab2fdbdd-7f30-494a-b361-00c1de2b8d5f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9917f0b7-1fc8-423a-a546-494e988621d0'] 2025-11-24 18:35:46,643 - WARNING - Deleting VN ctest-vn-59297781 failed..Will retry 2025-11-24 18:35:48,873 - DEBUG - Response for deleting network () 2025-11-24 18:35:48,873 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a0ed8f56-a165-4ef7-9ed7-bcbbbba00519 2025-11-24 18:35:48,887 - DEBUG - Response Code: 404 2025-11-24 18:35:48,887 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-24 18:35:48,899 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1ceb41c8-154b-44e5-ac11-f7c3b29646c1 2025-11-24 18:35:48,917 - DEBUG - Requesting: http://10.0.0.38:8082/project/f33b807e-2cb6-40bd-8321-81cb754fc34b 2025-11-24 18:35:49,035 - INFO - Validated that VN ctest-vn-59297781 is not found in API Server 2025-11-24 18:35:49,058 - DEBUG - VN ctest-vn-59297781 is not present in Agent 10.0.0.38 2025-11-24 18:35:49,058 - INFO - Validated that VN ctest-vn-59297781 is not in any agent 2025-11-24 18:35:49,089 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-59297781 info 2025-11-24 18:35:49,090 - INFO - Deleting VN ctest-vn-04634291 2025-11-24 18:35:49,280 - DEBUG - Response for deleting network () 2025-11-24 18:35:49,280 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a97c0e83-0b45-4508-a4f9-d248f5014430 2025-11-24 18:35:49,287 - DEBUG - Response Code: 404 2025-11-24 18:35:49,287 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-24 18:35:49,292 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1ceb41c8-154b-44e5-ac11-f7c3b29646c1 2025-11-24 18:35:49,347 - DEBUG - Requesting: http://10.0.0.38:8082/project/f33b807e-2cb6-40bd-8321-81cb754fc34b 2025-11-24 18:35:49,437 - INFO - Validated that VN ctest-vn-04634291 is not found in API Server 2025-11-24 18:35:49,465 - DEBUG - VN ctest-vn-04634291 is not present in Agent 10.0.0.38 2025-11-24 18:35:49,465 - INFO - Validated that VN ctest-vn-04634291 is not in any agent 2025-11-24 18:35:49,506 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-04634291 info 2025-11-24 18:35:49,807 - DEBUG - No XMPP flaps were noticed during the test
2025-11-24 18:35:49,807 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:39]
2025-11-24 18:35:49,807 - INFO - -------------------------------------------------------------------------------- 2025-11-24 18:35:50,755 - INFO - Deleted project: ctest-TestBasicPolicy-28094514, ID : f33b807e-2cb6-40bd-8321-81cb754fc34b