2025-10-27 11:52:18,736 - INFO - Domain Default found not creating 2025-10-27 11:52:18,913 - INFO - Project ctest-TestBasicPolicy-98534566 not found, creating it 2025-10-27 11:52:19,419 - INFO - Created Project:ctest-TestBasicPolicy-98534566, ID : 2e89e047-ed6f-4608-8335-d54d959575bf 2025-10-27 11:52:21,037 - INFO - ================================================================================ 2025-10-27 11:52:21,037 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-27 11:52:21,037 - 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 11:52:21,297 - DEBUG - Nothing to compare xmpp stats {'10.0.0.137': {'10.20.0.25': '0'}} with 2025-10-27 11:52:21,297 - INFO - Initial checks done. Running the testcase now 2025-10-27 11:52:21,297 - INFO - 2025-10-27 11:52:21,908 - DEBUG - Response for create_network : {'network': {'id': 'c4dcfd81-b342-49dd-9a5d-f04336862be3', 'name': 'ctest-vn-84913228', 'tenant_id': '2e89e047ed6f46088335d54d959575bf', 'project_id': '2e89e047ed6f46088335d54d959575bf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98534566', 'ctest-vn-84913228'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 11:52:22,076 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b443b179-92f1-4ddf-841b-d65fe5d9eba8', 'name': '', 'tenant_id': '2e89e047ed6f46088335d54d959575bf', 'network_id': 'c4dcfd81-b342-49dd-9a5d-f04336862be3', 'ip_version': 4, 'cidr': '94.250.91.128/26', 'allocation_pools': [{'start': '94.250.91.130', 'end': '94.250.91.190'}], 'gateway_ip': '94.250.91.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.250.91.130', 'tags': [], 'project_id': '2e89e047ed6f46088335d54d959575bf'}} 2025-10-27 11:52:22,096 - INFO - Created VN ctest-vn-84913228 2025-10-27 11:52:22,150 - DEBUG - VN ctest-vn-84913228 UUID is c4dcfd81-b342-49dd-9a5d-f04336862be3 2025-10-27 11:52:22,443 - DEBUG - Response for create_network : {'network': {'id': '8576a770-76e8-40f3-95b1-7ae4e3b86222', 'name': 'ctest-vn-13115045', 'tenant_id': '2e89e047ed6f46088335d54d959575bf', 'project_id': '2e89e047ed6f46088335d54d959575bf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98534566', 'ctest-vn-13115045'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 11:52:22,605 - DEBUG - Response for create_subnet : {'subnet': {'id': '6f29c7d8-1ffa-4e18-8bd8-54169341cf2d', 'name': '', 'tenant_id': '2e89e047ed6f46088335d54d959575bf', 'network_id': '8576a770-76e8-40f3-95b1-7ae4e3b86222', 'ip_version': 4, 'cidr': '68.185.4.128/26', 'allocation_pools': [{'start': '68.185.4.130', 'end': '68.185.4.190'}], 'gateway_ip': '68.185.4.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.185.4.130', 'tags': [], 'project_id': '2e89e047ed6f46088335d54d959575bf'}} 2025-10-27 11:52:22,625 - INFO - Created VN ctest-vn-13115045 2025-10-27 11:52:22,678 - DEBUG - VN ctest-vn-13115045 UUID is 8576a770-76e8-40f3-95b1-7ae4e3b86222 2025-10-27 11:52:22,791 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-98534566:ctest-vn-84913228, 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-98534566:ctest-vn-13115045, 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 11:52:23,139 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c4dcfd81-b342-49dd-9a5d-f04336862be3', 'name': 'ctest-vn-84913228', 'tenant_id': '2e89e047ed6f46088335d54d959575bf', 'project_id': '2e89e047ed6f46088335d54d959575bf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b443b179-92f1-4ddf-841b-d65fe5d9eba8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98534566', 'ctest-vn-84913228'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-98534566', 'ctest-policy-allow-all-83292291']], 'subnet_ipam': [{'subnet_cidr': '94.250.91.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-27 11:52:23,439 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8576a770-76e8-40f3-95b1-7ae4e3b86222', 'name': 'ctest-vn-13115045', 'tenant_id': '2e89e047ed6f46088335d54d959575bf', 'project_id': '2e89e047ed6f46088335d54d959575bf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6f29c7d8-1ffa-4e18-8bd8-54169341cf2d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98534566', 'ctest-vn-13115045'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-98534566', 'ctest-policy-allow-all-83292291']], 'subnet_ipam': [{'subnet_cidr': '68.185.4.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-27 11:52:23,598 - DEBUG - Requesting: http://10.0.0.137:8082/domains 2025-10-27 11:52:23,933 - DEBUG - Requesting: http://10.0.0.137:8082/domains 2025-10-27 11:52:23,965 - DEBUG - Requesting: http://10.0.0.137:8082/domain/1ea78248-9bd3-42b0-af0d-f53f0f89b3b6 2025-10-27 11:52:23,978 - DEBUG - Requesting: http://10.0.0.137:8082/project/2e89e047-ed6f-4608-8335-d54d959575bf 2025-10-27 11:52:24,051 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/c4dcfd81-b342-49dd-9a5d-f04336862be3 2025-10-27 11:52:24,062 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/c4dcfd81-b342-49dd-9a5d-f04336862be3 2025-10-27 11:52:24,071 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/3a0ad62a-0a3a-4cc7-a7a0-cce24ebc5b37 2025-10-27 11:52:24,078 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/3a0ad62a-0a3a-4cc7-a7a0-cce24ebc5b37 2025-10-27 11:52:24,085 - DEBUG - Requesting: http://10.0.0.137:8082/route-target/3de02dd4-0b02-43dd-a0fe-2806f13ead6d 2025-10-27 11:52:24,091 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-27 11:52:24,091 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/c4dcfd81-b342-49dd-9a5d-f04336862be3 2025-10-27 11:52:24,100 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/3a0ad62a-0a3a-4cc7-a7a0-cce24ebc5b37 2025-10-27 11:52:24,114 - INFO - Verified VN network id 11 for VN c4dcfd81-b342-49dd-9a5d-f04336862be3 2025-10-27 11:52:24,114 - INFO - Verifications in API Server for VN ctest-vn-84913228 passed 2025-10-27 11:52:24,114 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/c4dcfd81-b342-49dd-9a5d-f04336862be3 2025-10-27 11:52:24,123 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/3a0ad62a-0a3a-4cc7-a7a0-cce24ebc5b37 2025-10-27 11:52:24,130 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/3a0ad62a-0a3a-4cc7-a7a0-cce24ebc5b37 2025-10-27 11:52:24,138 - DEBUG - Requesting: http://10.0.0.137:8082/route-target/3de02dd4-0b02-43dd-a0fe-2806f13ead6d 2025-10-27 11:52:24,152 - DEBUG - Control-node 10.0.0.137 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-98534566:ctest-vn-84913228', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-98534566', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14185491659810294237', 'uuid-lslong': '11123310826143230947'}, 'enable': 'true', 'created': '2025-10-27T11:52:21', 'last-modified': '2025-10-27T11:52:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.066012'} 2025-10-27 11:52:24,159 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-27 11:52:24,159 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-84913228 passed 2025-10-27 11:52:24,159 - DEBUG - ====Verifying policy data for ctest-vn-84913228 in API_Server ====== 2025-10-27 11:52:24,159 - DEBUG - Requesting: http://10.0.0.137:8082/domains 2025-10-27 11:52:24,166 - DEBUG - Requesting: http://10.0.0.137:8082/domain/1ea78248-9bd3-42b0-af0d-f53f0f89b3b6 2025-10-27 11:52:24,181 - DEBUG - Requesting: http://10.0.0.137:8082/project/2e89e047-ed6f-4608-8335-d54d959575bf 2025-10-27 11:52:24,256 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/c4dcfd81-b342-49dd-9a5d-f04336862be3 2025-10-27 11:52:24,265 - DEBUG - ==>Verifying data for policy with id: 46368eef-d602-415f-a7b0-aabf0cbc8eb6, fqn: ['default-domain', 'ctest-TestBasicPolicy-98534566', 'ctest-policy-allow-all-83292291'] 2025-10-27 11:52:24,265 - INFO - VN ctest-vn-84913228 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-27 11:52:24,265 - DEBUG - Verifying the vn in opserver 2025-10-27 11:52:24,265 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-98534566:ctest-vn-84913228 virtual network link through opserver 10.0.0.137 2025-10-27 11:52:24,265 - DEBUG - Requesting: http://10.0.0.137:8081/analytics/uves/virtual-networks 2025-10-27 11:52:24,605 - DEBUG - Requesting: http://10.0.0.137:8081/analytics/uves/virtual-networks 2025-10-27 11:52:24,671 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-98534566:ctest-vn-84913228', 'href': 'http://10.0.0.137:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-98534566:ctest-vn-84913228?flat'} 2025-10-27 11:52:24,671 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-98534566:ctest-vn-84913228 is found in opserver 2025-10-27 11:52:24,683 - DEBUG - Do not have enough data to verify VN in agent 2025-10-27 11:52:24,688 - DEBUG - VRF ids for VN ctest-vn-84913228: {} 2025-10-27 11:52:24,688 - DEBUG - Requesting: http://10.0.0.137:8082/domains 2025-10-27 11:52:24,693 - DEBUG - Requesting: http://10.0.0.137:8082/domain/1ea78248-9bd3-42b0-af0d-f53f0f89b3b6 2025-10-27 11:52:24,704 - DEBUG - Requesting: http://10.0.0.137:8082/project/2e89e047-ed6f-4608-8335-d54d959575bf 2025-10-27 11:52:24,776 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/8576a770-76e8-40f3-95b1-7ae4e3b86222 2025-10-27 11:52:24,788 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/8576a770-76e8-40f3-95b1-7ae4e3b86222 2025-10-27 11:52:24,798 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/a8fe12f1-682c-4ee8-914d-331107b38469 2025-10-27 11:52:24,806 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/a8fe12f1-682c-4ee8-914d-331107b38469 2025-10-27 11:52:24,812 - DEBUG - Requesting: http://10.0.0.137:8082/route-target/c4977454-572c-4e17-87bd-8082bbcda478 2025-10-27 11:52:24,821 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-27 11:52:24,821 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/8576a770-76e8-40f3-95b1-7ae4e3b86222 2025-10-27 11:52:24,830 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/a8fe12f1-682c-4ee8-914d-331107b38469 2025-10-27 11:52:24,845 - INFO - Verified VN network id 12 for VN 8576a770-76e8-40f3-95b1-7ae4e3b86222 2025-10-27 11:52:24,845 - INFO - Verifications in API Server for VN ctest-vn-13115045 passed 2025-10-27 11:52:24,845 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/8576a770-76e8-40f3-95b1-7ae4e3b86222 2025-10-27 11:52:24,854 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/a8fe12f1-682c-4ee8-914d-331107b38469 2025-10-27 11:52:24,861 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/a8fe12f1-682c-4ee8-914d-331107b38469 2025-10-27 11:52:24,868 - DEBUG - Requesting: http://10.0.0.137:8082/route-target/c4977454-572c-4e17-87bd-8082bbcda478 2025-10-27 11:52:24,883 - DEBUG - Control-node 10.0.0.137 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-98534566:ctest-vn-13115045', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-98534566', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9617058155769381107', 'uuid-lslong': '10786537706020692514'}, 'enable': 'true', 'created': '2025-10-27T11:52:22', 'last-modified': '2025-10-27T11:52:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.513861'} 2025-10-27 11:52:24,889 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-27 11:52:24,889 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-13115045 passed 2025-10-27 11:52:24,890 - DEBUG - ====Verifying policy data for ctest-vn-13115045 in API_Server ====== 2025-10-27 11:52:24,890 - DEBUG - Requesting: http://10.0.0.137:8082/domains 2025-10-27 11:52:24,896 - DEBUG - Requesting: http://10.0.0.137:8082/domain/1ea78248-9bd3-42b0-af0d-f53f0f89b3b6 2025-10-27 11:52:24,907 - DEBUG - Requesting: http://10.0.0.137:8082/project/2e89e047-ed6f-4608-8335-d54d959575bf 2025-10-27 11:52:24,979 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/8576a770-76e8-40f3-95b1-7ae4e3b86222 2025-10-27 11:52:24,991 - DEBUG - ==>Verifying data for policy with id: 46368eef-d602-415f-a7b0-aabf0cbc8eb6, fqn: ['default-domain', 'ctest-TestBasicPolicy-98534566', 'ctest-policy-allow-all-83292291'] 2025-10-27 11:52:24,991 - INFO - VN ctest-vn-13115045 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-27 11:52:24,991 - DEBUG - Verifying the vn in opserver 2025-10-27 11:52:24,991 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-98534566:ctest-vn-13115045 virtual network link through opserver 10.0.0.137 2025-10-27 11:52:24,991 - DEBUG - Requesting: http://10.0.0.137:8081/analytics/uves/virtual-networks 2025-10-27 11:52:25,002 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-98534566:ctest-vn-13115045', 'href': 'http://10.0.0.137:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-98534566:ctest-vn-13115045?flat'} 2025-10-27 11:52:25,002 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-98534566:ctest-vn-13115045 is found in opserver 2025-10-27 11:52:25,013 - DEBUG - Do not have enough data to verify VN in agent 2025-10-27 11:52:25,019 - DEBUG - VRF ids for VN ctest-vn-13115045: {} 2025-10-27 11:52:25,080 - DEBUG - Services list from nova: [, , ] 2025-10-27 11:52:26,258 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4502-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4502-1) 2025-10-27 11:52:27,540 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4502-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4502-1) 2025-10-27 11:52:27,540 - INFO - Waiting for VM ctest-TestBasicPolicy-98534566-99501199 to be up.. 2025-10-27 11:52:27,638 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 11:52:32,729 - DEBUG - VM is in ACTIVE state now 2025-10-27 11:52:32,729 - INFO - VM name : ctest-TestBasicPolicy-98534566-99501199 2025-10-27 11:52:32,806 - DEBUG - VM ctest-TestBasicPolicy-98534566-99501199 ID is f9a2017c-30d6-4f86-84b5-47143104979b 2025-10-27 11:52:32,826 - DEBUG - VM ctest-TestBasicPolicy-98534566-99501199 launched on Node cn-jenkins-deploy-platform-ansible-os-4502-1 2025-10-27 11:52:32,909 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/f9a2017c-30d6-4f86-84b5-47143104979b 2025-10-27 11:52:32,919 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/61dc6b1c-7c79-48fb-b77b-8c78cc37eaa9 2025-10-27 11:52:36,168 - 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 1013ms') 2025-10-27 11:52:36,168 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-98534566-99501199 failed! 2025-10-27 11:52:36,222 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-98534566:ctest-vn-84913228 is 94.250.91.129 and allocation pool is NOT set 2025-10-27 11:52:38,292 - 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.31 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.18 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.183/4.744/7.305/2.561 ms') 2025-10-27 11:52:38,292 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-98534566-99501199 passed 2025-10-27 11:52:38,450 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:52:38,450 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-98534566-99501199, IP 94.250.91.131, Port 22 2025-10-27 11:52:38,517 - 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 11:52:38,608 - DEBUG - VM ctest-TestBasicPolicy-98534566-99501199 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-27 11:52:43,608 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:52:43,608 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-98534566-99501199, IP 94.250.91.131, Port 22 2025-10-27 11:52:43,776 - DEBUG - VM ctest-TestBasicPolicy-98534566-99501199 is ready for SSH connections 2025-10-27 11:52:43,776 - INFO - Waiting for VM ctest-TestBasicPolicy-98534566-75494830 to be up.. 2025-10-27 11:52:43,875 - DEBUG - VM is in ACTIVE state now 2025-10-27 11:52:43,875 - INFO - VM name : ctest-TestBasicPolicy-98534566-75494830 2025-10-27 11:52:43,958 - DEBUG - VM ctest-TestBasicPolicy-98534566-75494830 ID is 3f35506b-220c-457f-b60c-d34a77da666b 2025-10-27 11:52:43,958 - DEBUG - VM ctest-TestBasicPolicy-98534566-75494830 launched on Node cn-jenkins-deploy-platform-ansible-os-4502-1 2025-10-27 11:52:44,050 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/3f35506b-220c-457f-b60c-d34a77da666b 2025-10-27 11:52:44,060 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/254c3d04-7c68-47e5-8404-a1460f148f55 2025-10-27 11:52:45,314 - 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.35 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.540 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.540/1.942/3.345/1.402 ms') 2025-10-27 11:52:45,314 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-98534566-75494830 passed 2025-10-27 11:52:45,462 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:52:45,462 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-98534566-75494830, IP 68.185.4.131, Port 22 2025-10-27 11:52:45,622 - DEBUG - VM ctest-TestBasicPolicy-98534566-75494830 is ready for SSH connections 2025-10-27 11:52:45,622 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:52:45,622 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 68.185.4.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-10-27 11:52:45,622 - DEBUG - ping -s 56 -c 3 -W 1 68.185.4.131 2025-10-27 11:52:49,770 - DEBUG - PING 68.185.4.131 (68.185.4.131): 56 data bytes 64 bytes from 68.185.4.131: seq=0 ttl=63 time=4.166 ms 64 bytes from 68.185.4.131: seq=1 ttl=63 time=1.103 ms 64 bytes from 68.185.4.131: seq=2 ttl=63 time=0.992 ms --- 68.185.4.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.992/2.087/4.166 ms 2025-10-27 11:52:49,770 - INFO - Ping to IP 68.185.4.131 from VM ctest-TestBasicPolicy-98534566-99501199 passed 2025-10-27 11:52:49,950 - DEBUG - Policy Update Response {"network-policy": {"uuid": "46368eef-d602-415f-a7b0-aabf0cbc8eb6", "href": "http://10.0.0.137:8082/network-policy/46368eef-d602-415f-a7b0-aabf0cbc8eb6"}} 2025-10-27 11:52:49,950 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 11:52:49,950 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 68.185.4.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-10-27 11:52:49,950 - DEBUG - ping -s 56 -c 3 -W 1 68.185.4.131 2025-10-27 11:52:53,177 - DEBUG - PING 68.185.4.131 (68.185.4.131): 56 data bytes --- 68.185.4.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-27 11:52:53,177 - WARNING - Ping to IP 68.185.4.131 from VM ctest-TestBasicPolicy-98534566-99501199 failed 2025-10-27 11:52:53,178 - INFO - Deleting VM ctest-TestBasicPolicy-98534566-75494830 2025-10-27 11:52:53,269 - INFO - Deleting VM ctest-TestBasicPolicy-98534566-99501199 2025-10-27 11:52:53,681 - INFO - Deleted policy ctest-policy-allow-all-83292291 2025-10-27 11:52:53,681 - INFO - Deleting VN ctest-vn-13115045 2025-10-27 11:52:53,719 - DEBUG - VN 8576a770-76e8-40f3-95b1-7ae4e3b86222 still in use: Unable to complete operation on network 8576a770-76e8-40f3-95b1-7ae4e3b86222. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f08d2c67-20ea-4768-8474-c90874c9133c'] 2025-10-27 11:52:53,720 - WARNING - Deleting VN ctest-vn-13115045 failed..Will retry 2025-10-27 11:52:55,826 - DEBUG - Response for deleting network () 2025-10-27 11:52:55,826 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/a8fe12f1-682c-4ee8-914d-331107b38469 2025-10-27 11:52:55,837 - DEBUG - Response Code: 404 2025-10-27 11:52:55,837 - DEBUG - Requesting: http://10.0.0.137:8082/domains 2025-10-27 11:52:55,842 - DEBUG - Requesting: http://10.0.0.137:8082/domain/1ea78248-9bd3-42b0-af0d-f53f0f89b3b6 2025-10-27 11:52:55,896 - DEBUG - Requesting: http://10.0.0.137:8082/project/2e89e047-ed6f-4608-8335-d54d959575bf 2025-10-27 11:52:55,971 - INFO - Validated that VN ctest-vn-13115045 is not found in API Server 2025-10-27 11:52:55,982 - DEBUG - VN ctest-vn-13115045 is not present in Agent 10.0.0.137 2025-10-27 11:52:55,982 - INFO - Validated that VN ctest-vn-13115045 is not in any agent 2025-10-27 11:52:55,996 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-13115045 info 2025-10-27 11:52:55,996 - INFO - Deleting VN ctest-vn-84913228 2025-10-27 11:52:56,113 - DEBUG - Response for deleting network () 2025-10-27 11:52:56,113 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/3a0ad62a-0a3a-4cc7-a7a0-cce24ebc5b37 2025-10-27 11:52:56,121 - DEBUG - Response Code: 404 2025-10-27 11:52:56,121 - DEBUG - Requesting: http://10.0.0.137:8082/domains 2025-10-27 11:52:56,126 - DEBUG - Requesting: http://10.0.0.137:8082/domain/1ea78248-9bd3-42b0-af0d-f53f0f89b3b6 2025-10-27 11:52:56,179 - DEBUG - Requesting: http://10.0.0.137:8082/project/2e89e047-ed6f-4608-8335-d54d959575bf 2025-10-27 11:52:56,248 - INFO - Validated that VN ctest-vn-84913228 is not found in API Server 2025-10-27 11:52:56,258 - DEBUG - VN ctest-vn-84913228 is not present in Agent 10.0.0.137 2025-10-27 11:52:56,258 - INFO - Validated that VN ctest-vn-84913228 is not in any agent 2025-10-27 11:52:56,272 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-84913228 info 2025-10-27 11:52:56,532 - DEBUG - No XMPP flaps were noticed during the test 2025-10-27 11:52:56,532 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2025-10-27 11:52:56,532 - INFO - -------------------------------------------------------------------------------- 2025-10-27 11:52:57,261 - INFO - Deleted project: ctest-TestBasicPolicy-98534566, ID : 2e89e047-ed6f-4608-8335-d54d959575bf