2025-11-12 03:14:23,267 - INFO - Domain Default found not creating 2025-11-12 03:14:23,426 - INFO - Project ctest-TestBasicPolicy-97804517 not found, creating it 2025-11-12 03:14:23,894 - INFO - Created Project:ctest-TestBasicPolicy-97804517, ID : 8666b986-ce55-468a-bef0-5c43480e220b 2025-11-12 03:14:25,459 - INFO - ================================================================================ 2025-11-12 03:14:25,459 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-12 03:14:25,459 - 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-12 03:14:25,720 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with 2025-11-12 03:14:25,720 - INFO - Initial checks done. Running the testcase now 2025-11-12 03:14:25,720 - INFO - 2025-11-12 03:14:26,338 - DEBUG - Response for create_network : {'network': {'id': '0a36683d-2e5f-4173-8900-7226be52e538', 'name': 'ctest-vn-76192077', 'tenant_id': '8666b986ce55468abef05c43480e220b', 'project_id': '8666b986ce55468abef05c43480e220b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97804517', 'ctest-vn-76192077'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 03:14:26,555 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd9d87013-d5b4-44d3-b980-e53a8994add0', 'name': '', 'tenant_id': '8666b986ce55468abef05c43480e220b', 'network_id': '0a36683d-2e5f-4173-8900-7226be52e538', 'ip_version': 4, 'cidr': '150.245.166.192/26', 'allocation_pools': [{'start': '150.245.166.194', 'end': '150.245.166.254'}], 'gateway_ip': '150.245.166.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '150.245.166.194', 'tags': [], 'project_id': '8666b986ce55468abef05c43480e220b'}} 2025-11-12 03:14:26,578 - INFO - Created VN ctest-vn-76192077 2025-11-12 03:14:26,634 - DEBUG - VN ctest-vn-76192077 UUID is 0a36683d-2e5f-4173-8900-7226be52e538 2025-11-12 03:14:26,948 - DEBUG - Response for create_network : {'network': {'id': '6b3089be-3889-428b-a28b-92c54e45a66e', 'name': 'ctest-vn-30615241', 'tenant_id': '8666b986ce55468abef05c43480e220b', 'project_id': '8666b986ce55468abef05c43480e220b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97804517', 'ctest-vn-30615241'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 03:14:27,139 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b2e0d4ae-0fe3-4b3d-ad77-dedc30b6c389', 'name': '', 'tenant_id': '8666b986ce55468abef05c43480e220b', 'network_id': '6b3089be-3889-428b-a28b-92c54e45a66e', 'ip_version': 4, 'cidr': '132.124.23.192/26', 'allocation_pools': [{'start': '132.124.23.194', 'end': '132.124.23.254'}], 'gateway_ip': '132.124.23.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.124.23.194', 'tags': [], 'project_id': '8666b986ce55468abef05c43480e220b'}} 2025-11-12 03:14:27,162 - INFO - Created VN ctest-vn-30615241 2025-11-12 03:14:27,218 - DEBUG - VN ctest-vn-30615241 UUID is 6b3089be-3889-428b-a28b-92c54e45a66e 2025-11-12 03:14:27,333 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-97804517:ctest-vn-76192077, 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-97804517:ctest-vn-30615241, 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-12 03:14:27,617 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0a36683d-2e5f-4173-8900-7226be52e538', 'name': 'ctest-vn-76192077', 'tenant_id': '8666b986ce55468abef05c43480e220b', 'project_id': '8666b986ce55468abef05c43480e220b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d9d87013-d5b4-44d3-b980-e53a8994add0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97804517', 'ctest-vn-76192077'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-97804517', 'ctest-policy-allow-all-77540696']], 'subnet_ipam': [{'subnet_cidr': '150.245.166.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-12 03:14:27,840 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6b3089be-3889-428b-a28b-92c54e45a66e', 'name': 'ctest-vn-30615241', 'tenant_id': '8666b986ce55468abef05c43480e220b', 'project_id': '8666b986ce55468abef05c43480e220b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b2e0d4ae-0fe3-4b3d-ad77-dedc30b6c389'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97804517', 'ctest-vn-30615241'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-97804517', 'ctest-policy-allow-all-77540696']], 'subnet_ipam': [{'subnet_cidr': '132.124.23.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-12 03:14:28,006 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-11-12 03:14:28,348 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-11-12 03:14:28,381 - DEBUG - Requesting: http://10.0.0.249:8082/domain/a8c13a3b-df6c-4946-80ad-716b1ed7a5a1 2025-11-12 03:14:28,394 - DEBUG - Requesting: http://10.0.0.249:8082/project/8666b986-ce55-468a-bef0-5c43480e220b 2025-11-12 03:14:28,469 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/0a36683d-2e5f-4173-8900-7226be52e538 2025-11-12 03:14:28,481 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/0a36683d-2e5f-4173-8900-7226be52e538 2025-11-12 03:14:28,492 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/d5d8055a-1388-432d-95f5-b8fcd3836b85 2025-11-12 03:14:28,499 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/d5d8055a-1388-432d-95f5-b8fcd3836b85 2025-11-12 03:14:28,507 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/50b43fdf-498a-4a9f-b1a0-e84aad4b0139 2025-11-12 03:14:28,513 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-12 03:14:28,513 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/0a36683d-2e5f-4173-8900-7226be52e538 2025-11-12 03:14:28,522 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/d5d8055a-1388-432d-95f5-b8fcd3836b85 2025-11-12 03:14:28,539 - INFO - Verified VN network id 11 for VN 0a36683d-2e5f-4173-8900-7226be52e538 2025-11-12 03:14:28,539 - INFO - Verifications in API Server for VN ctest-vn-76192077 passed 2025-11-12 03:14:28,539 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/0a36683d-2e5f-4173-8900-7226be52e538 2025-11-12 03:14:28,548 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/d5d8055a-1388-432d-95f5-b8fcd3836b85 2025-11-12 03:14:28,556 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/d5d8055a-1388-432d-95f5-b8fcd3836b85 2025-11-12 03:14:28,563 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/50b43fdf-498a-4a9f-b1a0-e84aad4b0139 2025-11-12 03:14:28,575 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-97804517:ctest-vn-76192077', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-97804517', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '735890201101943155', 'uuid-lslong': '9872015893923554616'}, 'enable': 'true', 'created': '2025-11-12T03:14:26', 'last-modified': '2025-11-12T03:14:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.977174'} 2025-11-12 03:14:28,581 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-12 03:14:28,582 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76192077 passed 2025-11-12 03:14:28,582 - DEBUG - ====Verifying policy data for ctest-vn-76192077 in API_Server ====== 2025-11-12 03:14:28,582 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-11-12 03:14:28,588 - DEBUG - Requesting: http://10.0.0.249:8082/domain/a8c13a3b-df6c-4946-80ad-716b1ed7a5a1 2025-11-12 03:14:28,600 - DEBUG - Requesting: http://10.0.0.249:8082/project/8666b986-ce55-468a-bef0-5c43480e220b 2025-11-12 03:14:28,674 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/0a36683d-2e5f-4173-8900-7226be52e538 2025-11-12 03:14:28,683 - DEBUG - ==>Verifying data for policy with id: 6396647e-6d1f-4b2d-969e-9c52b29c340b, fqn: ['default-domain', 'ctest-TestBasicPolicy-97804517', 'ctest-policy-allow-all-77540696'] 2025-11-12 03:14:28,684 - INFO - VN ctest-vn-76192077 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-12 03:14:28,684 - DEBUG - Verifying the vn in opserver 2025-11-12 03:14:28,684 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-97804517:ctest-vn-76192077 virtual network link through opserver 10.0.0.249 2025-11-12 03:14:28,684 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-11-12 03:14:29,017 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-11-12 03:14:29,074 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-97804517:ctest-vn-76192077', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-97804517:ctest-vn-76192077?flat'} 2025-11-12 03:14:29,075 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-97804517:ctest-vn-76192077 is found in opserver 2025-11-12 03:14:29,086 - DEBUG - Do not have enough data to verify VN in agent 2025-11-12 03:14:29,090 - DEBUG - VRF ids for VN ctest-vn-76192077: {} 2025-11-12 03:14:29,091 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-11-12 03:14:29,096 - DEBUG - Requesting: http://10.0.0.249:8082/domain/a8c13a3b-df6c-4946-80ad-716b1ed7a5a1 2025-11-12 03:14:29,111 - DEBUG - Requesting: http://10.0.0.249:8082/project/8666b986-ce55-468a-bef0-5c43480e220b 2025-11-12 03:14:29,184 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/6b3089be-3889-428b-a28b-92c54e45a66e 2025-11-12 03:14:29,198 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/6b3089be-3889-428b-a28b-92c54e45a66e 2025-11-12 03:14:29,209 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/80f8e677-b060-488a-9131-cfcc3bac154c 2025-11-12 03:14:29,219 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/80f8e677-b060-488a-9131-cfcc3bac154c 2025-11-12 03:14:29,227 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/96e178db-60cc-4a73-95cf-8603ff23dd52 2025-11-12 03:14:29,236 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-12 03:14:29,236 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/6b3089be-3889-428b-a28b-92c54e45a66e 2025-11-12 03:14:29,247 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/80f8e677-b060-488a-9131-cfcc3bac154c 2025-11-12 03:14:29,262 - INFO - Verified VN network id 12 for VN 6b3089be-3889-428b-a28b-92c54e45a66e 2025-11-12 03:14:29,262 - INFO - Verifications in API Server for VN ctest-vn-30615241 passed 2025-11-12 03:14:29,262 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/6b3089be-3889-428b-a28b-92c54e45a66e 2025-11-12 03:14:29,272 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/80f8e677-b060-488a-9131-cfcc3bac154c 2025-11-12 03:14:29,279 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/80f8e677-b060-488a-9131-cfcc3bac154c 2025-11-12 03:14:29,287 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/96e178db-60cc-4a73-95cf-8603ff23dd52 2025-11-12 03:14:29,300 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-97804517:ctest-vn-30615241', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-97804517', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7723824811025711755', 'uuid-lslong': '11712616632026506862'}, 'enable': 'true', 'created': '2025-11-12T03:14:26', 'last-modified': '2025-11-12T03:14:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.476658'} 2025-11-12 03:14:29,306 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-12 03:14:29,306 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-30615241 passed 2025-11-12 03:14:29,307 - DEBUG - ====Verifying policy data for ctest-vn-30615241 in API_Server ====== 2025-11-12 03:14:29,307 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-11-12 03:14:29,320 - DEBUG - Requesting: http://10.0.0.249:8082/domain/a8c13a3b-df6c-4946-80ad-716b1ed7a5a1 2025-11-12 03:14:29,331 - DEBUG - Requesting: http://10.0.0.249:8082/project/8666b986-ce55-468a-bef0-5c43480e220b 2025-11-12 03:14:29,400 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/6b3089be-3889-428b-a28b-92c54e45a66e 2025-11-12 03:14:29,410 - DEBUG - ==>Verifying data for policy with id: 6396647e-6d1f-4b2d-969e-9c52b29c340b, fqn: ['default-domain', 'ctest-TestBasicPolicy-97804517', 'ctest-policy-allow-all-77540696'] 2025-11-12 03:14:29,410 - INFO - VN ctest-vn-30615241 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-12 03:14:29,410 - DEBUG - Verifying the vn in opserver 2025-11-12 03:14:29,410 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-97804517:ctest-vn-30615241 virtual network link through opserver 10.0.0.249 2025-11-12 03:14:29,410 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-11-12 03:14:29,420 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-97804517:ctest-vn-30615241', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-97804517:ctest-vn-30615241?flat'} 2025-11-12 03:14:29,420 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-97804517:ctest-vn-30615241 is found in opserver 2025-11-12 03:14:29,430 - DEBUG - Do not have enough data to verify VN in agent 2025-11-12 03:14:29,435 - DEBUG - VRF ids for VN ctest-vn-30615241: {} 2025-11-12 03:14:29,502 - DEBUG - Services list from nova: [, , ] 2025-11-12 03:14:30,615 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4697-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4697-1) 2025-11-12 03:14:31,841 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4697-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4697-1) 2025-11-12 03:14:31,841 - INFO - Waiting for VM ctest-TestBasicPolicy-97804517-09537007 to be up.. 2025-11-12 03:14:31,924 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-12 03:14:37,005 - DEBUG - VM is in ACTIVE state now 2025-11-12 03:14:37,005 - INFO - VM name : ctest-TestBasicPolicy-97804517-09537007 2025-11-12 03:14:37,082 - DEBUG - VM ctest-TestBasicPolicy-97804517-09537007 ID is 67e0cf06-fbeb-440f-be4b-1c31468f8b3d 2025-11-12 03:14:37,103 - DEBUG - VM ctest-TestBasicPolicy-97804517-09537007 launched on Node cn-jenkins-deploy-platform-ansible-os-4697-1 2025-11-12 03:14:37,178 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/67e0cf06-fbeb-440f-be4b-1c31468f8b3d 2025-11-12 03:14:37,187 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/d511ce54-ed60-4905-a4ac-a6731f182325 2025-11-12 03:14:40,435 - 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 1014ms') 2025-11-12 03:14:40,435 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-97804517-09537007 failed! 2025-11-12 03:14:40,490 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-97804517:ctest-vn-76192077 is 150.245.166.193 and allocation pool is NOT set 2025-11-12 03:14:42,556 - 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=6.40 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.27 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.265/4.332/6.400/2.067 ms') 2025-11-12 03:14:42,556 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-97804517-09537007 passed 2025-11-12 03:14:42,710 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 03:14:42,710 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-97804517-09537007, IP 150.245.166.195, Port 22 2025-11-12 03:14:42,776 - 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-12 03:14:42,860 - DEBUG - VM ctest-TestBasicPolicy-97804517-09537007 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-12 03:14:47,861 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 03:14:47,861 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-97804517-09537007, IP 150.245.166.195, Port 22 2025-11-12 03:14:48,018 - DEBUG - VM ctest-TestBasicPolicy-97804517-09537007 is ready for SSH connections 2025-11-12 03:14:48,018 - INFO - Waiting for VM ctest-TestBasicPolicy-97804517-20844888 to be up.. 2025-11-12 03:14:48,092 - DEBUG - VM is in ACTIVE state now 2025-11-12 03:14:48,092 - INFO - VM name : ctest-TestBasicPolicy-97804517-20844888 2025-11-12 03:14:48,166 - DEBUG - VM ctest-TestBasicPolicy-97804517-20844888 ID is a427b2bf-a6d8-4c6a-8a2c-bc4b55ea41d2 2025-11-12 03:14:48,166 - DEBUG - VM ctest-TestBasicPolicy-97804517-20844888 launched on Node cn-jenkins-deploy-platform-ansible-os-4697-1 2025-11-12 03:14:48,244 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/a427b2bf-a6d8-4c6a-8a2c-bc4b55ea41d2 2025-11-12 03:14:48,253 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/2916752a-d5c6-4b09-be01-2b1cc45e1185 2025-11-12 03:14:49,490 - 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.545 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.545/1.788/3.032/1.243 ms') 2025-11-12 03:14:49,491 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-97804517-20844888 passed 2025-11-12 03:14:49,642 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 03:14:49,642 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-97804517-20844888, IP 132.124.23.195, Port 22 2025-11-12 03:14:49,798 - DEBUG - VM ctest-TestBasicPolicy-97804517-20844888 is ready for SSH connections 2025-11-12 03:14:49,798 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 03:14:49,798 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 132.124.23.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-11-12 03:14:49,798 - DEBUG - ping -s 56 -c 3 -W 1 132.124.23.195 2025-11-12 03:14:53,899 - DEBUG - PING 132.124.23.195 (132.124.23.195): 56 data bytes 64 bytes from 132.124.23.195: seq=0 ttl=63 time=3.951 ms 64 bytes from 132.124.23.195: seq=1 ttl=63 time=0.990 ms 64 bytes from 132.124.23.195: seq=2 ttl=63 time=0.852 ms --- 132.124.23.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.852/1.931/3.951 ms 2025-11-12 03:14:53,899 - INFO - Ping to IP 132.124.23.195 from VM ctest-TestBasicPolicy-97804517-09537007 passed 2025-11-12 03:14:54,074 - DEBUG - Policy Update Response {"network-policy": {"uuid": "6396647e-6d1f-4b2d-969e-9c52b29c340b", "href": "http://10.0.0.249:8082/network-policy/6396647e-6d1f-4b2d-969e-9c52b29c340b"}} 2025-11-12 03:14:54,074 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 03:14:54,074 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 132.124.23.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-11-12 03:14:54,074 - DEBUG - ping -s 56 -c 3 -W 1 132.124.23.195 2025-11-12 03:14:57,302 - DEBUG - PING 132.124.23.195 (132.124.23.195): 56 data bytes --- 132.124.23.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-12 03:14:57,302 - WARNING - Ping to IP 132.124.23.195 from VM ctest-TestBasicPolicy-97804517-09537007 failed 2025-11-12 03:14:57,303 - INFO - Deleting VM ctest-TestBasicPolicy-97804517-20844888 2025-11-12 03:14:57,384 - INFO - Deleting VM ctest-TestBasicPolicy-97804517-09537007 2025-11-12 03:14:57,749 - INFO - Deleted policy ctest-policy-allow-all-77540696 2025-11-12 03:14:57,749 - INFO - Deleting VN ctest-vn-30615241 2025-11-12 03:14:57,785 - DEBUG - VN 6b3089be-3889-428b-a28b-92c54e45a66e still in use: Unable to complete operation on network 6b3089be-3889-428b-a28b-92c54e45a66e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a9fc970d-36b9-4d31-830f-b7906710a22b'] 2025-11-12 03:14:57,785 - WARNING - Deleting VN ctest-vn-30615241 failed..Will retry 2025-11-12 03:14:59,904 - DEBUG - Response for deleting network () 2025-11-12 03:14:59,904 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/80f8e677-b060-488a-9131-cfcc3bac154c 2025-11-12 03:14:59,913 - DEBUG - Response Code: 404 2025-11-12 03:14:59,913 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-11-12 03:14:59,918 - DEBUG - Requesting: http://10.0.0.249:8082/domain/a8c13a3b-df6c-4946-80ad-716b1ed7a5a1 2025-11-12 03:14:59,973 - DEBUG - Requesting: http://10.0.0.249:8082/project/8666b986-ce55-468a-bef0-5c43480e220b 2025-11-12 03:15:00,052 - INFO - Validated that VN ctest-vn-30615241 is not found in API Server 2025-11-12 03:15:00,062 - DEBUG - VN ctest-vn-30615241 is not present in Agent 10.0.0.249 2025-11-12 03:15:00,062 - INFO - Validated that VN ctest-vn-30615241 is not in any agent 2025-11-12 03:15:00,077 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-30615241 info 2025-11-12 03:15:00,077 - INFO - Deleting VN ctest-vn-76192077 2025-11-12 03:15:00,206 - DEBUG - Response for deleting network () 2025-11-12 03:15:00,207 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/d5d8055a-1388-432d-95f5-b8fcd3836b85 2025-11-12 03:15:00,216 - DEBUG - Response Code: 404 2025-11-12 03:15:00,216 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-11-12 03:15:00,224 - DEBUG - Requesting: http://10.0.0.249:8082/domain/a8c13a3b-df6c-4946-80ad-716b1ed7a5a1 2025-11-12 03:15:00,283 - DEBUG - Requesting: http://10.0.0.249:8082/project/8666b986-ce55-468a-bef0-5c43480e220b 2025-11-12 03:15:00,361 - INFO - Validated that VN ctest-vn-76192077 is not found in API Server 2025-11-12 03:15:00,372 - DEBUG - VN ctest-vn-76192077 is not present in Agent 10.0.0.249 2025-11-12 03:15:00,372 - INFO - Validated that VN ctest-vn-76192077 is not in any agent 2025-11-12 03:15:00,390 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-76192077 info 2025-11-12 03:15:00,649 - DEBUG - No XMPP flaps were noticed during the test
2025-11-12 03:15:00,650 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2025-11-12 03:15:00,650 - INFO - -------------------------------------------------------------------------------- 2025-11-12 03:15:01,428 - INFO - Deleted project: ctest-TestBasicPolicy-97804517, ID : 8666b986-ce55-468a-bef0-5c43480e220b