2025-10-27 09:18:12,593 - INFO - Domain Default found not creating 2025-10-27 09:18:12,731 - INFO - Project ctest-TestBasicPolicy-27439668 not found, creating it 2025-10-27 09:18:13,257 - INFO - Created Project:ctest-TestBasicPolicy-27439668, ID : d0dd686e-e608-4fcc-bf95-a0f0516ffbd7 2025-10-27 09:18:14,652 - INFO - ================================================================================ 2025-10-27 09:18:14,652 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-27 09:18:14,652 - 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-27 09:18:14,910 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.254': '0'}} with 2025-10-27 09:18:14,910 - INFO - Initial checks done. Running the testcase now 2025-10-27 09:18:14,910 - INFO - 2025-10-27 09:18:15,461 - DEBUG - Response for create_network : {'network': {'id': 'd087aeea-9b0d-464f-a6ec-f8495c31108f', 'name': 'ctest-vn-94060992', 'tenant_id': 'd0dd686ee6084fccbf95a0f0516ffbd7', 'project_id': 'd0dd686ee6084fccbf95a0f0516ffbd7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27439668', 'ctest-vn-94060992'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 09:18:15,632 - DEBUG - Response for create_subnet : {'subnet': {'id': '22e78664-0c10-4067-a60c-124f01c1df6b', 'name': '', 'tenant_id': 'd0dd686ee6084fccbf95a0f0516ffbd7', 'network_id': 'd087aeea-9b0d-464f-a6ec-f8495c31108f', 'ip_version': 4, 'cidr': '159.211.48.128/26', 'allocation_pools': [{'start': '159.211.48.130', 'end': '159.211.48.190'}], 'gateway_ip': '159.211.48.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '159.211.48.130', 'tags': [], 'project_id': 'd0dd686ee6084fccbf95a0f0516ffbd7'}} 2025-10-27 09:18:15,648 - INFO - Created VN ctest-vn-94060992 2025-10-27 09:18:15,701 - DEBUG - VN ctest-vn-94060992 UUID is d087aeea-9b0d-464f-a6ec-f8495c31108f 2025-10-27 09:18:16,050 - DEBUG - Response for create_network : {'network': {'id': '22d8762a-9d05-4f01-99e8-ccb5f137d2d6', 'name': 'ctest-vn-40235604', 'tenant_id': 'd0dd686ee6084fccbf95a0f0516ffbd7', 'project_id': 'd0dd686ee6084fccbf95a0f0516ffbd7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27439668', 'ctest-vn-40235604'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 09:18:16,195 - DEBUG - Response for create_subnet : {'subnet': {'id': '974961f2-6a56-41be-9148-45018f5ed154', 'name': '', 'tenant_id': 'd0dd686ee6084fccbf95a0f0516ffbd7', 'network_id': '22d8762a-9d05-4f01-99e8-ccb5f137d2d6', 'ip_version': 4, 'cidr': '92.101.207.64/26', 'allocation_pools': [{'start': '92.101.207.66', 'end': '92.101.207.126'}], 'gateway_ip': '92.101.207.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.101.207.66', 'tags': [], 'project_id': 'd0dd686ee6084fccbf95a0f0516ffbd7'}} 2025-10-27 09:18:16,214 - INFO - Created VN ctest-vn-40235604 2025-10-27 09:18:16,265 - DEBUG - VN ctest-vn-40235604 UUID is 22d8762a-9d05-4f01-99e8-ccb5f137d2d6 2025-10-27 09:18:16,417 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-27439668:ctest-vn-94060992, 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-27439668:ctest-vn-40235604, 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-27 09:18:16,706 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd087aeea-9b0d-464f-a6ec-f8495c31108f', 'name': 'ctest-vn-94060992', 'tenant_id': 'd0dd686ee6084fccbf95a0f0516ffbd7', 'project_id': 'd0dd686ee6084fccbf95a0f0516ffbd7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['22e78664-0c10-4067-a60c-124f01c1df6b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27439668', 'ctest-vn-94060992'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-27439668', 'ctest-policy-allow-all-23795627']], 'subnet_ipam': [{'subnet_cidr': '159.211.48.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-27 09:18:16,933 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '22d8762a-9d05-4f01-99e8-ccb5f137d2d6', 'name': 'ctest-vn-40235604', 'tenant_id': 'd0dd686ee6084fccbf95a0f0516ffbd7', 'project_id': 'd0dd686ee6084fccbf95a0f0516ffbd7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['974961f2-6a56-41be-9148-45018f5ed154'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27439668', 'ctest-vn-40235604'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-27439668', 'ctest-policy-allow-all-23795627']], 'subnet_ipam': [{'subnet_cidr': '92.101.207.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-27 09:18:17,093 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-10-27 09:18:17,389 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-10-27 09:18:17,416 - DEBUG - Requesting: http://10.0.0.41:8082/domain/a5826939-a129-4733-bb35-85feff10c909 2025-10-27 09:18:17,427 - DEBUG - Requesting: http://10.0.0.41:8082/project/d0dd686e-e608-4fcc-bf95-a0f0516ffbd7 2025-10-27 09:18:17,494 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/d087aeea-9b0d-464f-a6ec-f8495c31108f 2025-10-27 09:18:17,503 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/d087aeea-9b0d-464f-a6ec-f8495c31108f 2025-10-27 09:18:17,511 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/c5ecfce3-165d-4682-9697-f8c5a3a0995c 2025-10-27 09:18:17,517 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/c5ecfce3-165d-4682-9697-f8c5a3a0995c 2025-10-27 09:18:17,523 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/3e407c27-42e6-4bb0-81d4-e3599a4fdd18 2025-10-27 09:18:17,529 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-27 09:18:17,529 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/d087aeea-9b0d-464f-a6ec-f8495c31108f 2025-10-27 09:18:17,537 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/c5ecfce3-165d-4682-9697-f8c5a3a0995c 2025-10-27 09:18:17,549 - INFO - Verified VN network id 10 for VN d087aeea-9b0d-464f-a6ec-f8495c31108f 2025-10-27 09:18:17,549 - INFO - Verifications in API Server for VN ctest-vn-94060992 passed 2025-10-27 09:18:17,550 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/d087aeea-9b0d-464f-a6ec-f8495c31108f 2025-10-27 09:18:17,557 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/c5ecfce3-165d-4682-9697-f8c5a3a0995c 2025-10-27 09:18:17,563 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/c5ecfce3-165d-4682-9697-f8c5a3a0995c 2025-10-27 09:18:17,569 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/3e407c27-42e6-4bb0-81d4-e3599a4fdd18 2025-10-27 09:18:17,580 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-27439668:ctest-vn-94060992', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-27439668', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15026171004391867983', 'uuid-lslong': '12028261698762772623'}, 'enable': 'true', 'created': '2025-10-27T09:18:15', 'last-modified': '2025-10-27T09:18:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.893729'} 2025-10-27 09:18:17,585 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-27 09:18:17,586 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-94060992 passed 2025-10-27 09:18:17,586 - DEBUG - ====Verifying policy data for ctest-vn-94060992 in API_Server ====== 2025-10-27 09:18:17,586 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-10-27 09:18:17,592 - DEBUG - Requesting: http://10.0.0.41:8082/domain/a5826939-a129-4733-bb35-85feff10c909 2025-10-27 09:18:17,602 - DEBUG - Requesting: http://10.0.0.41:8082/project/d0dd686e-e608-4fcc-bf95-a0f0516ffbd7 2025-10-27 09:18:17,671 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/d087aeea-9b0d-464f-a6ec-f8495c31108f 2025-10-27 09:18:17,680 - DEBUG - ==>Verifying data for policy with id: ab76e8db-ce83-4842-852d-a5610b7a1e9a, fqn: ['default-domain', 'ctest-TestBasicPolicy-27439668', 'ctest-policy-allow-all-23795627'] 2025-10-27 09:18:17,680 - INFO - VN ctest-vn-94060992 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-27 09:18:17,680 - DEBUG - Verifying the vn in opserver 2025-10-27 09:18:17,680 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-27439668:ctest-vn-94060992 virtual network link through opserver 10.0.0.41 2025-10-27 09:18:17,680 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-10-27 09:18:17,972 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-10-27 09:18:18,032 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-27439668:ctest-vn-94060992', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-27439668:ctest-vn-94060992?flat'} 2025-10-27 09:18:18,032 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-27439668:ctest-vn-94060992 is found in opserver 2025-10-27 09:18:18,043 - DEBUG - Do not have enough data to verify VN in agent 2025-10-27 09:18:18,047 - DEBUG - VRF ids for VN ctest-vn-94060992: {} 2025-10-27 09:18:18,047 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-10-27 09:18:18,052 - DEBUG - Requesting: http://10.0.0.41:8082/domain/a5826939-a129-4733-bb35-85feff10c909 2025-10-27 09:18:18,061 - DEBUG - Requesting: http://10.0.0.41:8082/project/d0dd686e-e608-4fcc-bf95-a0f0516ffbd7 2025-10-27 09:18:18,133 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/22d8762a-9d05-4f01-99e8-ccb5f137d2d6 2025-10-27 09:18:18,143 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/22d8762a-9d05-4f01-99e8-ccb5f137d2d6 2025-10-27 09:18:18,151 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/c0e51f31-3c68-48fc-8398-35f17e8e45a4 2025-10-27 09:18:18,157 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/c0e51f31-3c68-48fc-8398-35f17e8e45a4 2025-10-27 09:18:18,163 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/8639d89b-8842-4c40-b639-f1bc553ecd20 2025-10-27 09:18:18,169 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-27 09:18:18,169 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/22d8762a-9d05-4f01-99e8-ccb5f137d2d6 2025-10-27 09:18:18,177 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/c0e51f31-3c68-48fc-8398-35f17e8e45a4 2025-10-27 09:18:18,191 - INFO - Verified VN network id 11 for VN 22d8762a-9d05-4f01-99e8-ccb5f137d2d6 2025-10-27 09:18:18,191 - INFO - Verifications in API Server for VN ctest-vn-40235604 passed 2025-10-27 09:18:18,191 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/22d8762a-9d05-4f01-99e8-ccb5f137d2d6 2025-10-27 09:18:18,200 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/c0e51f31-3c68-48fc-8398-35f17e8e45a4 2025-10-27 09:18:18,207 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/c0e51f31-3c68-48fc-8398-35f17e8e45a4 2025-10-27 09:18:18,214 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/8639d89b-8842-4c40-b639-f1bc553ecd20 2025-10-27 09:18:18,225 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-27439668:ctest-vn-40235604', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-27439668', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2510886717654126337', 'uuid-lslong': '11090339164207960790'}, 'enable': 'true', 'created': '2025-10-27T09:18:16', 'last-modified': '2025-10-27T09:18:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.315300'} 2025-10-27 09:18:18,230 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-27 09:18:18,231 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-40235604 passed 2025-10-27 09:18:18,231 - DEBUG - ====Verifying policy data for ctest-vn-40235604 in API_Server ====== 2025-10-27 09:18:18,231 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-10-27 09:18:18,236 - DEBUG - Requesting: http://10.0.0.41:8082/domain/a5826939-a129-4733-bb35-85feff10c909 2025-10-27 09:18:18,246 - DEBUG - Requesting: http://10.0.0.41:8082/project/d0dd686e-e608-4fcc-bf95-a0f0516ffbd7 2025-10-27 09:18:18,321 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/22d8762a-9d05-4f01-99e8-ccb5f137d2d6 2025-10-27 09:18:18,330 - DEBUG - ==>Verifying data for policy with id: ab76e8db-ce83-4842-852d-a5610b7a1e9a, fqn: ['default-domain', 'ctest-TestBasicPolicy-27439668', 'ctest-policy-allow-all-23795627'] 2025-10-27 09:18:18,330 - INFO - VN ctest-vn-40235604 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-27 09:18:18,331 - DEBUG - Verifying the vn in opserver 2025-10-27 09:18:18,331 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-27439668:ctest-vn-40235604 virtual network link through opserver 10.0.0.41 2025-10-27 09:18:18,331 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-10-27 09:18:18,340 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-27439668:ctest-vn-40235604', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-27439668:ctest-vn-40235604?flat'} 2025-10-27 09:18:18,340 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-27439668:ctest-vn-40235604 is found in opserver 2025-10-27 09:18:18,350 - DEBUG - Do not have enough data to verify VN in agent 2025-10-27 09:18:18,354 - DEBUG - VRF ids for VN ctest-vn-40235604: {} 2025-10-27 09:18:18,413 - DEBUG - Services list from nova: [, , ] 2025-10-27 09:18:19,409 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4497-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4497-1) 2025-10-27 09:18:20,497 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4497-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4497-1) 2025-10-27 09:18:20,497 - INFO - Waiting for VM ctest-TestBasicPolicy-27439668-35468178 to be up.. 2025-10-27 09:18:20,577 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 09:18:25,667 - DEBUG - VM is in ACTIVE state now 2025-10-27 09:18:25,667 - INFO - VM name : ctest-TestBasicPolicy-27439668-35468178 2025-10-27 09:18:25,760 - DEBUG - VM ctest-TestBasicPolicy-27439668-35468178 ID is ea3992c9-6c31-4247-bcfd-152964f89498 2025-10-27 09:18:25,784 - DEBUG - VM ctest-TestBasicPolicy-27439668-35468178 launched on Node cn-jenkins-deploy-platform-ansible-os-4497-1 2025-10-27 09:18:25,856 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/ea3992c9-6c31-4247-bcfd-152964f89498 2025-10-27 09:18:25,864 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/62a4c60d-f550-4bc6-b846-b0d0f8da6ed4 2025-10-27 09:18:29,124 - 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-10-27 09:18:29,124 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-27439668-35468178 failed! 2025-10-27 09:18:29,177 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-27439668:ctest-vn-94060992 is 159.211.48.129 and allocation pool is NOT set 2025-10-27 09:18:31,243 - 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=4.43 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.85 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.853/3.142/4.432/1.289 ms') 2025-10-27 09:18:31,244 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-27439668-35468178 passed 2025-10-27 09:18:31,393 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 09:18:31,393 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-27439668-35468178, IP 159.211.48.131, Port 22 2025-10-27 09:18:31,459 - 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-10-27 09:18:31,526 - DEBUG - VM ctest-TestBasicPolicy-27439668-35468178 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-27 09:18:36,526 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 09:18:36,527 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-27439668-35468178, IP 159.211.48.131, Port 22 2025-10-27 09:18:36,685 - DEBUG - VM ctest-TestBasicPolicy-27439668-35468178 is ready for SSH connections 2025-10-27 09:18:36,685 - INFO - Waiting for VM ctest-TestBasicPolicy-27439668-91935067 to be up.. 2025-10-27 09:18:36,757 - DEBUG - VM is in ACTIVE state now 2025-10-27 09:18:36,757 - INFO - VM name : ctest-TestBasicPolicy-27439668-91935067 2025-10-27 09:18:36,827 - DEBUG - VM ctest-TestBasicPolicy-27439668-91935067 ID is 0f9cf9b7-3ca5-44f2-a548-7b3473d2b58d 2025-10-27 09:18:36,827 - DEBUG - VM ctest-TestBasicPolicy-27439668-91935067 launched on Node cn-jenkins-deploy-platform-ansible-os-4497-1 2025-10-27 09:18:36,904 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/0f9cf9b7-3ca5-44f2-a548-7b3473d2b58d 2025-10-27 09:18:36,914 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/abd2f75b-a8f1-42f9-86c2-7bb3210beca6 2025-10-27 09:18:38,150 - 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.03 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.398 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.398/1.716/3.034/1.318 ms') 2025-10-27 09:18:38,150 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-27439668-91935067 passed 2025-10-27 09:18:38,301 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 09:18:38,302 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-27439668-91935067, IP 92.101.207.67, Port 22 2025-10-27 09:18:38,457 - DEBUG - VM ctest-TestBasicPolicy-27439668-91935067 is ready for SSH connections 2025-10-27 09:18:38,457 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 09:18:38,457 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 92.101.207.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-10-27 09:18:38,457 - DEBUG - ping -s 56 -c 3 -W 1 92.101.207.67 2025-10-27 09:18:42,164 - DEBUG - PING 92.101.207.67 (92.101.207.67): 56 data bytes 64 bytes from 92.101.207.67: seq=0 ttl=63 time=3.433 ms 64 bytes from 92.101.207.67: seq=1 ttl=63 time=0.918 ms 64 bytes from 92.101.207.67: seq=2 ttl=63 time=0.770 ms --- 92.101.207.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.770/1.707/3.433 ms 2025-10-27 09:18:42,164 - INFO - Ping to IP 92.101.207.67 from VM ctest-TestBasicPolicy-27439668-35468178 passed 2025-10-27 09:18:42,337 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ab76e8db-ce83-4842-852d-a5610b7a1e9a", "href": "http://10.0.0.41:8082/network-policy/ab76e8db-ce83-4842-852d-a5610b7a1e9a"}} 2025-10-27 09:18:42,337 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 09:18:42,337 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 92.101.207.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-10-27 09:18:42,337 - DEBUG - ping -s 56 -c 3 -W 1 92.101.207.67 2025-10-27 09:18:45,532 - DEBUG - PING 92.101.207.67 (92.101.207.67): 56 data bytes --- 92.101.207.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-27 09:18:45,532 - WARNING - Ping to IP 92.101.207.67 from VM ctest-TestBasicPolicy-27439668-35468178 failed 2025-10-27 09:18:45,533 - INFO - Deleting VM ctest-TestBasicPolicy-27439668-91935067 2025-10-27 09:18:45,598 - INFO - Deleting VM ctest-TestBasicPolicy-27439668-35468178 2025-10-27 09:18:45,946 - INFO - Deleted policy ctest-policy-allow-all-23795627 2025-10-27 09:18:45,946 - INFO - Deleting VN ctest-vn-40235604 2025-10-27 09:18:45,979 - DEBUG - VN 22d8762a-9d05-4f01-99e8-ccb5f137d2d6 still in use: Unable to complete operation on network 22d8762a-9d05-4f01-99e8-ccb5f137d2d6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-55c366fd-fb70-4627-9008-3ea1511936b0'] 2025-10-27 09:18:45,979 - WARNING - Deleting VN ctest-vn-40235604 failed..Will retry 2025-10-27 09:18:48,073 - DEBUG - Response for deleting network () 2025-10-27 09:18:48,073 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/c0e51f31-3c68-48fc-8398-35f17e8e45a4 2025-10-27 09:18:48,083 - DEBUG - Response Code: 404 2025-10-27 09:18:48,083 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-10-27 09:18:48,087 - DEBUG - Requesting: http://10.0.0.41:8082/domain/a5826939-a129-4733-bb35-85feff10c909 2025-10-27 09:18:48,138 - DEBUG - Requesting: http://10.0.0.41:8082/project/d0dd686e-e608-4fcc-bf95-a0f0516ffbd7 2025-10-27 09:18:48,204 - INFO - Validated that VN ctest-vn-40235604 is not found in API Server 2025-10-27 09:18:48,213 - DEBUG - VN ctest-vn-40235604 is not present in Agent 10.0.0.41 2025-10-27 09:18:48,213 - INFO - Validated that VN ctest-vn-40235604 is not in any agent 2025-10-27 09:18:48,225 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-40235604 info 2025-10-27 09:18:48,225 - INFO - Deleting VN ctest-vn-94060992 2025-10-27 09:18:48,327 - DEBUG - Response for deleting network () 2025-10-27 09:18:48,327 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/c5ecfce3-165d-4682-9697-f8c5a3a0995c 2025-10-27 09:18:48,331 - DEBUG - Response Code: 404 2025-10-27 09:18:48,331 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-10-27 09:18:48,340 - DEBUG - Requesting: http://10.0.0.41:8082/domain/a5826939-a129-4733-bb35-85feff10c909 2025-10-27 09:18:48,389 - DEBUG - Requesting: http://10.0.0.41:8082/project/d0dd686e-e608-4fcc-bf95-a0f0516ffbd7 2025-10-27 09:18:48,459 - INFO - Validated that VN ctest-vn-94060992 is not found in API Server 2025-10-27 09:18:48,468 - DEBUG - VN ctest-vn-94060992 is not present in Agent 10.0.0.41 2025-10-27 09:18:48,468 - INFO - Validated that VN ctest-vn-94060992 is not in any agent 2025-10-27 09:18:48,480 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-94060992 info 2025-10-27 09:18:48,734 - DEBUG - No XMPP flaps were noticed during the test 2025-10-27 09:18:48,734 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34] 2025-10-27 09:18:48,734 - INFO - -------------------------------------------------------------------------------- 2025-10-27 09:18:49,410 - INFO - Deleted project: ctest-TestBasicPolicy-27439668, ID : d0dd686e-e608-4fcc-bf95-a0f0516ffbd7