2025-10-23 02:06:14,603 - INFO - Domain Default found not creating 2025-10-23 02:06:14,751 - INFO - Project ctest-TestBasicPolicy-40524547 not found, creating it 2025-10-23 02:06:15,190 - INFO - Created Project:ctest-TestBasicPolicy-40524547, ID : 55efefd4-6119-44ac-9085-c86fd2514f61 2025-10-23 02:06:16,719 - INFO - ================================================================================ 2025-10-23 02:06:16,719 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-23 02:06:16,719 - 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-23 02:06:16,975 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.249': '0'}} with 2025-10-23 02:06:16,976 - INFO - Initial checks done. Running the testcase now 2025-10-23 02:06:16,976 - INFO - 2025-10-23 02:06:17,566 - DEBUG - Response for create_network : {'network': {'id': 'e51ac25a-6052-4788-9365-01e0be395d9d', 'name': 'ctest-vn-54667240', 'tenant_id': '55efefd4611944ac9085c86fd2514f61', 'project_id': '55efefd4611944ac9085c86fd2514f61', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40524547', 'ctest-vn-54667240'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 02:06:17,718 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aae8f2e1-3961-47c5-ba62-8e80e014b0be', 'name': '', 'tenant_id': '55efefd4611944ac9085c86fd2514f61', 'network_id': 'e51ac25a-6052-4788-9365-01e0be395d9d', 'ip_version': 4, 'cidr': '192.207.72.0/26', 'allocation_pools': [{'start': '192.207.72.2', 'end': '192.207.72.62'}], 'gateway_ip': '192.207.72.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.207.72.2', 'tags': [], 'project_id': '55efefd4611944ac9085c86fd2514f61'}} 2025-10-23 02:06:17,738 - INFO - Created VN ctest-vn-54667240 2025-10-23 02:06:17,790 - DEBUG - VN ctest-vn-54667240 UUID is e51ac25a-6052-4788-9365-01e0be395d9d 2025-10-23 02:06:18,081 - DEBUG - Response for create_network : {'network': {'id': 'e917d949-ae17-4019-9bbb-853733918e74', 'name': 'ctest-vn-09641525', 'tenant_id': '55efefd4611944ac9085c86fd2514f61', 'project_id': '55efefd4611944ac9085c86fd2514f61', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40524547', 'ctest-vn-09641525'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 02:06:18,311 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c84fb400-9c39-49eb-82f6-b4231352628e', 'name': '', 'tenant_id': '55efefd4611944ac9085c86fd2514f61', 'network_id': 'e917d949-ae17-4019-9bbb-853733918e74', 'ip_version': 4, 'cidr': '65.44.152.0/26', 'allocation_pools': [{'start': '65.44.152.2', 'end': '65.44.152.62'}], 'gateway_ip': '65.44.152.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '65.44.152.2', 'tags': [], 'project_id': '55efefd4611944ac9085c86fd2514f61'}} 2025-10-23 02:06:18,331 - INFO - Created VN ctest-vn-09641525 2025-10-23 02:06:18,382 - DEBUG - VN ctest-vn-09641525 UUID is e917d949-ae17-4019-9bbb-853733918e74 2025-10-23 02:06:18,502 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-40524547:ctest-vn-54667240, 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-40524547:ctest-vn-09641525, 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-23 02:06:18,794 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e51ac25a-6052-4788-9365-01e0be395d9d', 'name': 'ctest-vn-54667240', 'tenant_id': '55efefd4611944ac9085c86fd2514f61', 'project_id': '55efefd4611944ac9085c86fd2514f61', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['aae8f2e1-3961-47c5-ba62-8e80e014b0be'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40524547', 'ctest-vn-54667240'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40524547', 'ctest-policy-allow-all-83241230']], 'subnet_ipam': [{'subnet_cidr': '192.207.72.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-23 02:06:19,028 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e917d949-ae17-4019-9bbb-853733918e74', 'name': 'ctest-vn-09641525', 'tenant_id': '55efefd4611944ac9085c86fd2514f61', 'project_id': '55efefd4611944ac9085c86fd2514f61', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c84fb400-9c39-49eb-82f6-b4231352628e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40524547', 'ctest-vn-09641525'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40524547', 'ctest-policy-allow-all-83241230']], 'subnet_ipam': [{'subnet_cidr': '65.44.152.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-23 02:06:19,202 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-10-23 02:06:19,534 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-10-23 02:06:19,561 - DEBUG - Requesting: http://10.0.0.65:8082/domain/2e283574-867c-482d-913f-5e0415a1ddc2 2025-10-23 02:06:19,574 - DEBUG - Requesting: http://10.0.0.65:8082/project/55efefd4-6119-44ac-9085-c86fd2514f61 2025-10-23 02:06:19,649 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/e51ac25a-6052-4788-9365-01e0be395d9d 2025-10-23 02:06:19,659 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/e51ac25a-6052-4788-9365-01e0be395d9d 2025-10-23 02:06:19,669 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/1b232514-8f68-45be-8f5e-b63a2d460011 2025-10-23 02:06:19,676 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/1b232514-8f68-45be-8f5e-b63a2d460011 2025-10-23 02:06:19,682 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/34c930e8-b8db-44ad-8c28-3a7a7797956c 2025-10-23 02:06:19,688 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-23 02:06:19,688 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/e51ac25a-6052-4788-9365-01e0be395d9d 2025-10-23 02:06:19,697 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/1b232514-8f68-45be-8f5e-b63a2d460011 2025-10-23 02:06:19,710 - INFO - Verified VN network id 11 for VN e51ac25a-6052-4788-9365-01e0be395d9d 2025-10-23 02:06:19,710 - INFO - Verifications in API Server for VN ctest-vn-54667240 passed 2025-10-23 02:06:19,711 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/e51ac25a-6052-4788-9365-01e0be395d9d 2025-10-23 02:06:19,721 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/1b232514-8f68-45be-8f5e-b63a2d460011 2025-10-23 02:06:19,729 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/1b232514-8f68-45be-8f5e-b63a2d460011 2025-10-23 02:06:19,736 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/34c930e8-b8db-44ad-8c28-3a7a7797956c 2025-10-23 02:06:19,749 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40524547:ctest-vn-54667240', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40524547', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16508721077498824584', 'uuid-lslong': '10620897360998915485'}, 'enable': 'true', 'created': '2025-10-23T02:06:17', 'last-modified': '2025-10-23T02:06:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.975344'} 2025-10-23 02:06:19,756 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-23 02:06:19,756 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-54667240 passed 2025-10-23 02:06:19,756 - DEBUG - ====Verifying policy data for ctest-vn-54667240 in API_Server ====== 2025-10-23 02:06:19,756 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-10-23 02:06:19,762 - DEBUG - Requesting: http://10.0.0.65:8082/domain/2e283574-867c-482d-913f-5e0415a1ddc2 2025-10-23 02:06:19,772 - DEBUG - Requesting: http://10.0.0.65:8082/project/55efefd4-6119-44ac-9085-c86fd2514f61 2025-10-23 02:06:19,846 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/e51ac25a-6052-4788-9365-01e0be395d9d 2025-10-23 02:06:19,855 - DEBUG - ==>Verifying data for policy with id: 0f2332b3-59c7-4c8e-9fea-124043294f3b, fqn: ['default-domain', 'ctest-TestBasicPolicy-40524547', 'ctest-policy-allow-all-83241230'] 2025-10-23 02:06:19,855 - INFO - VN ctest-vn-54667240 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-23 02:06:19,855 - DEBUG - Verifying the vn in opserver 2025-10-23 02:06:19,855 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40524547:ctest-vn-54667240 virtual network link through opserver 10.0.0.65 2025-10-23 02:06:19,855 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-10-23 02:06:20,190 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-10-23 02:06:20,246 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40524547:ctest-vn-54667240', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40524547:ctest-vn-54667240?flat'} 2025-10-23 02:06:20,246 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40524547:ctest-vn-54667240 is found in opserver 2025-10-23 02:06:20,256 - DEBUG - Do not have enough data to verify VN in agent 2025-10-23 02:06:20,260 - DEBUG - VRF ids for VN ctest-vn-54667240: {} 2025-10-23 02:06:20,260 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-10-23 02:06:20,265 - DEBUG - Requesting: http://10.0.0.65:8082/domain/2e283574-867c-482d-913f-5e0415a1ddc2 2025-10-23 02:06:20,276 - DEBUG - Requesting: http://10.0.0.65:8082/project/55efefd4-6119-44ac-9085-c86fd2514f61 2025-10-23 02:06:20,347 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/e917d949-ae17-4019-9bbb-853733918e74 2025-10-23 02:06:20,358 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/e917d949-ae17-4019-9bbb-853733918e74 2025-10-23 02:06:20,367 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/1c2a2ea6-3819-4305-aac2-944068c09af6 2025-10-23 02:06:20,373 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/1c2a2ea6-3819-4305-aac2-944068c09af6 2025-10-23 02:06:20,379 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/314411b6-95fe-4585-9f4f-41a262537539 2025-10-23 02:06:20,385 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-23 02:06:20,385 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/e917d949-ae17-4019-9bbb-853733918e74 2025-10-23 02:06:20,394 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/1c2a2ea6-3819-4305-aac2-944068c09af6 2025-10-23 02:06:20,407 - INFO - Verified VN network id 12 for VN e917d949-ae17-4019-9bbb-853733918e74 2025-10-23 02:06:20,407 - INFO - Verifications in API Server for VN ctest-vn-09641525 passed 2025-10-23 02:06:20,407 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/e917d949-ae17-4019-9bbb-853733918e74 2025-10-23 02:06:20,416 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/1c2a2ea6-3819-4305-aac2-944068c09af6 2025-10-23 02:06:20,423 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/1c2a2ea6-3819-4305-aac2-944068c09af6 2025-10-23 02:06:20,429 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/314411b6-95fe-4585-9f4f-41a262537539 2025-10-23 02:06:20,441 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40524547:ctest-vn-09641525', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40524547', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16796132245778153497', 'uuid-lslong': '11221709368658595444'}, 'enable': 'true', 'created': '2025-10-23T02:06:18', 'last-modified': '2025-10-23T02:06:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.436536'} 2025-10-23 02:06:20,447 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-23 02:06:20,448 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09641525 passed 2025-10-23 02:06:20,448 - DEBUG - ====Verifying policy data for ctest-vn-09641525 in API_Server ====== 2025-10-23 02:06:20,448 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-10-23 02:06:20,454 - DEBUG - Requesting: http://10.0.0.65:8082/domain/2e283574-867c-482d-913f-5e0415a1ddc2 2025-10-23 02:06:20,465 - DEBUG - Requesting: http://10.0.0.65:8082/project/55efefd4-6119-44ac-9085-c86fd2514f61 2025-10-23 02:06:20,536 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/e917d949-ae17-4019-9bbb-853733918e74 2025-10-23 02:06:20,546 - DEBUG - ==>Verifying data for policy with id: 0f2332b3-59c7-4c8e-9fea-124043294f3b, fqn: ['default-domain', 'ctest-TestBasicPolicy-40524547', 'ctest-policy-allow-all-83241230'] 2025-10-23 02:06:20,546 - INFO - VN ctest-vn-09641525 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-23 02:06:20,546 - DEBUG - Verifying the vn in opserver 2025-10-23 02:06:20,546 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40524547:ctest-vn-09641525 virtual network link through opserver 10.0.0.65 2025-10-23 02:06:20,546 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-10-23 02:06:20,555 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40524547:ctest-vn-09641525', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40524547:ctest-vn-09641525?flat'} 2025-10-23 02:06:20,555 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40524547:ctest-vn-09641525 is found in opserver 2025-10-23 02:06:20,565 - DEBUG - Do not have enough data to verify VN in agent 2025-10-23 02:06:20,569 - DEBUG - VRF ids for VN ctest-vn-09641525: {} 2025-10-23 02:06:20,624 - DEBUG - Services list from nova: [, , ] 2025-10-23 02:06:21,733 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4449-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4449-1) 2025-10-23 02:06:22,941 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4449-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4449-1) 2025-10-23 02:06:22,941 - INFO - Waiting for VM ctest-TestBasicPolicy-40524547-08632156 to be up.. 2025-10-23 02:06:23,024 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-23 02:06:28,100 - DEBUG - VM is in ACTIVE state now 2025-10-23 02:06:28,100 - INFO - VM name : ctest-TestBasicPolicy-40524547-08632156 2025-10-23 02:06:28,176 - DEBUG - VM ctest-TestBasicPolicy-40524547-08632156 ID is 9f49454c-0c37-4ae9-8a26-7d4338d887d5 2025-10-23 02:06:28,197 - DEBUG - VM ctest-TestBasicPolicy-40524547-08632156 launched on Node cn-jenkins-deploy-platform-ansible-os-4449-1 2025-10-23 02:06:28,268 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/9f49454c-0c37-4ae9-8a26-7d4338d887d5 2025-10-23 02:06:28,276 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/17eb1afc-3fb8-470a-b9de-d9d1d229d51b 2025-10-23 02:06:31,527 - 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 1022ms') 2025-10-23 02:06:31,527 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-40524547-08632156 failed! 2025-10-23 02:06:31,582 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-40524547:ctest-vn-54667240 is 192.207.72.1 and allocation pool is NOT set 2025-10-23 02:06:33,651 - 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.72 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.95 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.954/5.337/7.721/2.383 ms') 2025-10-23 02:06:33,651 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-40524547-08632156 passed 2025-10-23 02:06:33,798 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 02:06:33,798 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40524547-08632156, IP 192.207.72.3, Port 22 2025-10-23 02:06:33,863 - 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-23 02:06:33,932 - DEBUG - VM ctest-TestBasicPolicy-40524547-08632156 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-23 02:06:38,933 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 02:06:38,933 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40524547-08632156, IP 192.207.72.3, Port 22 2025-10-23 02:06:39,089 - DEBUG - VM ctest-TestBasicPolicy-40524547-08632156 is ready for SSH connections 2025-10-23 02:06:39,089 - INFO - Waiting for VM ctest-TestBasicPolicy-40524547-59278426 to be up.. 2025-10-23 02:06:39,164 - DEBUG - VM is in ACTIVE state now 2025-10-23 02:06:39,164 - INFO - VM name : ctest-TestBasicPolicy-40524547-59278426 2025-10-23 02:06:39,235 - DEBUG - VM ctest-TestBasicPolicy-40524547-59278426 ID is 7cfb3306-6e71-456e-a2e1-ca7fb2b29ea0 2025-10-23 02:06:39,235 - DEBUG - VM ctest-TestBasicPolicy-40524547-59278426 launched on Node cn-jenkins-deploy-platform-ansible-os-4449-1 2025-10-23 02:06:39,302 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/7cfb3306-6e71-456e-a2e1-ca7fb2b29ea0 2025-10-23 02:06:39,310 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/3a8cc5e1-bcee-4327-b99a-4dd249f5774c 2025-10-23 02:06:40,539 - 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.15 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.444 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.444/1.795/3.146/1.351 ms') 2025-10-23 02:06:40,539 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-40524547-59278426 passed 2025-10-23 02:06:40,686 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 02:06:40,686 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40524547-59278426, IP 65.44.152.3, Port 22 2025-10-23 02:06:40,842 - DEBUG - VM ctest-TestBasicPolicy-40524547-59278426 is ready for SSH connections 2025-10-23 02:06:40,842 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 02:06:40,842 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 65.44.152.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-10-23 02:06:40,843 - DEBUG - ping -s 56 -c 3 -W 1 65.44.152.3 2025-10-23 02:06:44,920 - DEBUG - PING 65.44.152.3 (65.44.152.3): 56 data bytes 64 bytes from 65.44.152.3: seq=0 ttl=63 time=3.561 ms 64 bytes from 65.44.152.3: seq=1 ttl=63 time=0.902 ms 64 bytes from 65.44.152.3: seq=2 ttl=63 time=0.778 ms --- 65.44.152.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.778/1.747/3.561 ms 2025-10-23 02:06:44,920 - INFO - Ping to IP 65.44.152.3 from VM ctest-TestBasicPolicy-40524547-08632156 passed 2025-10-23 02:06:45,098 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0f2332b3-59c7-4c8e-9fea-124043294f3b", "href": "http://10.0.0.65:8082/network-policy/0f2332b3-59c7-4c8e-9fea-124043294f3b"}} 2025-10-23 02:06:45,098 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 02:06:45,098 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 65.44.152.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-10-23 02:06:45,098 - DEBUG - ping -s 56 -c 3 -W 1 65.44.152.3 2025-10-23 02:06:48,309 - DEBUG - PING 65.44.152.3 (65.44.152.3): 56 data bytes --- 65.44.152.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-23 02:06:48,309 - WARNING - Ping to IP 65.44.152.3 from VM ctest-TestBasicPolicy-40524547-08632156 failed 2025-10-23 02:06:48,310 - INFO - Deleting VM ctest-TestBasicPolicy-40524547-59278426 2025-10-23 02:06:48,380 - INFO - Deleting VM ctest-TestBasicPolicy-40524547-08632156 2025-10-23 02:06:48,771 - INFO - Deleted policy ctest-policy-allow-all-83241230 2025-10-23 02:06:48,771 - INFO - Deleting VN ctest-vn-09641525 2025-10-23 02:06:48,808 - DEBUG - VN e917d949-ae17-4019-9bbb-853733918e74 still in use: Unable to complete operation on network e917d949-ae17-4019-9bbb-853733918e74. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3efa7606-b7ca-4929-af64-564c69da2eb6'] 2025-10-23 02:06:48,808 - WARNING - Deleting VN ctest-vn-09641525 failed..Will retry 2025-10-23 02:06:50,902 - DEBUG - Response for deleting network () 2025-10-23 02:06:50,902 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/1c2a2ea6-3819-4305-aac2-944068c09af6 2025-10-23 02:06:50,908 - DEBUG - Response Code: 404 2025-10-23 02:06:50,908 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-10-23 02:06:50,914 - DEBUG - Requesting: http://10.0.0.65:8082/domain/2e283574-867c-482d-913f-5e0415a1ddc2 2025-10-23 02:06:50,969 - DEBUG - Requesting: http://10.0.0.65:8082/project/55efefd4-6119-44ac-9085-c86fd2514f61 2025-10-23 02:06:51,044 - INFO - Validated that VN ctest-vn-09641525 is not found in API Server 2025-10-23 02:06:51,054 - DEBUG - VN ctest-vn-09641525 is not present in Agent 10.0.0.65 2025-10-23 02:06:51,054 - INFO - Validated that VN ctest-vn-09641525 is not in any agent 2025-10-23 02:06:51,071 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-09641525 info 2025-10-23 02:06:51,071 - INFO - Deleting VN ctest-vn-54667240 2025-10-23 02:06:51,177 - DEBUG - Response for deleting network () 2025-10-23 02:06:51,177 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/1b232514-8f68-45be-8f5e-b63a2d460011 2025-10-23 02:06:51,183 - DEBUG - Response Code: 404 2025-10-23 02:06:51,183 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-10-23 02:06:51,188 - DEBUG - Requesting: http://10.0.0.65:8082/domain/2e283574-867c-482d-913f-5e0415a1ddc2 2025-10-23 02:06:51,243 - DEBUG - Requesting: http://10.0.0.65:8082/project/55efefd4-6119-44ac-9085-c86fd2514f61 2025-10-23 02:06:51,313 - INFO - Validated that VN ctest-vn-54667240 is not found in API Server 2025-10-23 02:06:51,322 - DEBUG - VN ctest-vn-54667240 is not present in Agent 10.0.0.65 2025-10-23 02:06:51,322 - INFO - Validated that VN ctest-vn-54667240 is not in any agent 2025-10-23 02:06:51,336 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-54667240 info 2025-10-23 02:06:51,592 - DEBUG - No XMPP flaps were noticed during the test 2025-10-23 02:06:51,592 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2025-10-23 02:06:51,592 - INFO - -------------------------------------------------------------------------------- 2025-10-23 02:06:52,351 - INFO - Deleted project: ctest-TestBasicPolicy-40524547, ID : 55efefd4-6119-44ac-9085-c86fd2514f61