2025-10-21 17:50:48,697 - INFO - Domain Default found not creating 2025-10-21 17:50:49,036 - INFO - Project ctest-TestBasicPolicy-31848794 not found, creating it 2025-10-21 17:50:49,663 - INFO - Created Project:ctest-TestBasicPolicy-31848794, ID : 9b3e97ed-1826-4c96-bff1-38c24f892fc2 2025-10-21 17:50:51,594 - INFO - ================================================================================ 2025-10-21 17:50:51,594 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-21 17:50:51,594 - 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-21 17:50:51,901 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-10-21 17:50:51,901 - INFO - Initial checks done. Running the testcase now 2025-10-21 17:50:51,901 - INFO - 2025-10-21 17:50:52,579 - DEBUG - Response for create_network : {'network': {'id': 'bb17f332-958f-416c-b110-6a84808596f5', 'name': 'ctest-vn-13081996', 'tenant_id': '9b3e97ed18264c96bff138c24f892fc2', 'project_id': '9b3e97ed18264c96bff138c24f892fc2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31848794', 'ctest-vn-13081996'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 17:50:52,876 - DEBUG - Response for create_subnet : {'subnet': {'id': '80c37a9f-00af-494c-8745-1456b05013ac', 'name': '', 'tenant_id': '9b3e97ed18264c96bff138c24f892fc2', 'network_id': 'bb17f332-958f-416c-b110-6a84808596f5', 'ip_version': 4, 'cidr': '194.209.110.0/26', 'allocation_pools': [{'start': '194.209.110.2', 'end': '194.209.110.62'}], 'gateway_ip': '194.209.110.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '194.209.110.2', 'tags': [], 'project_id': '9b3e97ed18264c96bff138c24f892fc2'}} 2025-10-21 17:50:52,898 - INFO - Created VN ctest-vn-13081996 2025-10-21 17:50:52,953 - DEBUG - VN ctest-vn-13081996 UUID is bb17f332-958f-416c-b110-6a84808596f5 2025-10-21 17:50:53,414 - DEBUG - Response for create_network : {'network': {'id': '95655a9b-5be9-4698-8ac6-0a834ab66254', 'name': 'ctest-vn-41834465', 'tenant_id': '9b3e97ed18264c96bff138c24f892fc2', 'project_id': '9b3e97ed18264c96bff138c24f892fc2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31848794', 'ctest-vn-41834465'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 17:50:53,625 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ceb6f31d-5190-4d2f-afa0-7c02e0c19099', 'name': '', 'tenant_id': '9b3e97ed18264c96bff138c24f892fc2', 'network_id': '95655a9b-5be9-4698-8ac6-0a834ab66254', 'ip_version': 4, 'cidr': '191.223.104.128/26', 'allocation_pools': [{'start': '191.223.104.130', 'end': '191.223.104.190'}], 'gateway_ip': '191.223.104.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '191.223.104.130', 'tags': [], 'project_id': '9b3e97ed18264c96bff138c24f892fc2'}} 2025-10-21 17:50:53,648 - INFO - Created VN ctest-vn-41834465 2025-10-21 17:50:53,705 - DEBUG - VN ctest-vn-41834465 UUID is 95655a9b-5be9-4698-8ac6-0a834ab66254 2025-10-21 17:50:53,883 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-31848794:ctest-vn-13081996, 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-31848794:ctest-vn-41834465, 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-21 17:50:54,253 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bb17f332-958f-416c-b110-6a84808596f5', 'name': 'ctest-vn-13081996', 'tenant_id': '9b3e97ed18264c96bff138c24f892fc2', 'project_id': '9b3e97ed18264c96bff138c24f892fc2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['80c37a9f-00af-494c-8745-1456b05013ac'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31848794', 'ctest-vn-13081996'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-31848794', 'ctest-policy-allow-all-13193684']], 'subnet_ipam': [{'subnet_cidr': '194.209.110.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-21 17:50:54,586 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '95655a9b-5be9-4698-8ac6-0a834ab66254', 'name': 'ctest-vn-41834465', 'tenant_id': '9b3e97ed18264c96bff138c24f892fc2', 'project_id': '9b3e97ed18264c96bff138c24f892fc2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ceb6f31d-5190-4d2f-afa0-7c02e0c19099'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31848794', 'ctest-vn-41834465'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-31848794', 'ctest-policy-allow-all-13193684']], 'subnet_ipam': [{'subnet_cidr': '191.223.104.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-21 17:50:54,737 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-21 17:50:55,049 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-21 17:50:55,112 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0432b868-be5a-4114-878d-f0d030d6816b 2025-10-21 17:50:55,135 - DEBUG - Requesting: http://10.0.0.38:8082/project/9b3e97ed-1826-4c96-bff1-38c24f892fc2 2025-10-21 17:50:55,261 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bb17f332-958f-416c-b110-6a84808596f5 2025-10-21 17:50:55,282 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bb17f332-958f-416c-b110-6a84808596f5 2025-10-21 17:50:55,298 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/65d8e545-e368-4cc0-9109-a1af5e79c7e3 2025-10-21 17:50:55,315 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/65d8e545-e368-4cc0-9109-a1af5e79c7e3 2025-10-21 17:50:55,332 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c909688b-ee59-4895-bfcc-356a4a57e9dc 2025-10-21 17:50:55,348 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-21 17:50:55,349 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bb17f332-958f-416c-b110-6a84808596f5 2025-10-21 17:50:55,366 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/65d8e545-e368-4cc0-9109-a1af5e79c7e3 2025-10-21 17:50:55,389 - INFO - Verified VN network id 11 for VN bb17f332-958f-416c-b110-6a84808596f5 2025-10-21 17:50:55,389 - INFO - Verifications in API Server for VN ctest-vn-13081996 passed 2025-10-21 17:50:55,389 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bb17f332-958f-416c-b110-6a84808596f5 2025-10-21 17:50:55,413 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/65d8e545-e368-4cc0-9109-a1af5e79c7e3 2025-10-21 17:50:55,430 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/65d8e545-e368-4cc0-9109-a1af5e79c7e3 2025-10-21 17:50:55,452 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c909688b-ee59-4895-bfcc-356a4a57e9dc 2025-10-21 17:50:55,486 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31848794:ctest-vn-13081996', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31848794', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13481511408139977068', 'uuid-lslong': '12758814861665081077'}, 'enable': 'true', 'created': '2025-10-21T17:50:52', 'last-modified': '2025-10-21T17:50:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.263029'} 2025-10-21 17:50:55,496 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-21 17:50:55,496 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-13081996 passed 2025-10-21 17:50:55,496 - DEBUG - ====Verifying policy data for ctest-vn-13081996 in API_Server ====== 2025-10-21 17:50:55,496 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-21 17:50:55,507 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0432b868-be5a-4114-878d-f0d030d6816b 2025-10-21 17:50:55,534 - DEBUG - Requesting: http://10.0.0.38:8082/project/9b3e97ed-1826-4c96-bff1-38c24f892fc2 2025-10-21 17:50:55,621 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bb17f332-958f-416c-b110-6a84808596f5 2025-10-21 17:50:55,648 - DEBUG - ==>Verifying data for policy with id: ac6a28bf-1e0d-4acc-8e6f-bb7547d1d844, fqn: ['default-domain', 'ctest-TestBasicPolicy-31848794', 'ctest-policy-allow-all-13193684'] 2025-10-21 17:50:55,648 - INFO - VN ctest-vn-13081996 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-21 17:50:55,648 - DEBUG - Verifying the vn in opserver 2025-10-21 17:50:55,648 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31848794:ctest-vn-13081996 virtual network link through opserver 10.0.0.38 2025-10-21 17:50:55,649 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-21 17:50:55,954 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-21 17:50:56,044 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31848794:ctest-vn-13081996', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31848794:ctest-vn-13081996?flat'} 2025-10-21 17:50:56,044 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-31848794:ctest-vn-13081996 is found in opserver 2025-10-21 17:50:56,070 - DEBUG - Do not have enough data to verify VN in agent 2025-10-21 17:50:56,086 - DEBUG - VRF ids for VN ctest-vn-13081996: {} 2025-10-21 17:50:56,086 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-21 17:50:56,098 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0432b868-be5a-4114-878d-f0d030d6816b 2025-10-21 17:50:56,131 - DEBUG - Requesting: http://10.0.0.38:8082/project/9b3e97ed-1826-4c96-bff1-38c24f892fc2 2025-10-21 17:50:56,260 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/95655a9b-5be9-4698-8ac6-0a834ab66254 2025-10-21 17:50:56,296 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/95655a9b-5be9-4698-8ac6-0a834ab66254 2025-10-21 17:50:56,323 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e63ed814-a5a2-4673-8b78-aade3d9aa099 2025-10-21 17:50:56,346 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e63ed814-a5a2-4673-8b78-aade3d9aa099 2025-10-21 17:50:56,363 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f817e9d7-93d6-4fd0-ad8a-108f3927c383 2025-10-21 17:50:56,378 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-21 17:50:56,379 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/95655a9b-5be9-4698-8ac6-0a834ab66254 2025-10-21 17:50:56,406 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e63ed814-a5a2-4673-8b78-aade3d9aa099 2025-10-21 17:50:56,446 - INFO - Verified VN network id 12 for VN 95655a9b-5be9-4698-8ac6-0a834ab66254 2025-10-21 17:50:56,446 - INFO - Verifications in API Server for VN ctest-vn-41834465 passed 2025-10-21 17:50:56,446 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/95655a9b-5be9-4698-8ac6-0a834ab66254 2025-10-21 17:50:56,471 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e63ed814-a5a2-4673-8b78-aade3d9aa099 2025-10-21 17:50:56,491 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e63ed814-a5a2-4673-8b78-aade3d9aa099 2025-10-21 17:50:56,508 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f817e9d7-93d6-4fd0-ad8a-108f3927c383 2025-10-21 17:50:56,541 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31848794:ctest-vn-41834465', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31848794', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10765110107607484056', 'uuid-lslong': '9999691581633225300'}, 'enable': 'true', 'created': '2025-10-21T17:50:53', 'last-modified': '2025-10-21T17:50:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.024193'} 2025-10-21 17:50:56,559 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-21 17:50:56,559 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-41834465 passed 2025-10-21 17:50:56,560 - DEBUG - ====Verifying policy data for ctest-vn-41834465 in API_Server ====== 2025-10-21 17:50:56,560 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-21 17:50:56,576 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0432b868-be5a-4114-878d-f0d030d6816b 2025-10-21 17:50:56,610 - DEBUG - Requesting: http://10.0.0.38:8082/project/9b3e97ed-1826-4c96-bff1-38c24f892fc2 2025-10-21 17:50:56,730 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/95655a9b-5be9-4698-8ac6-0a834ab66254 2025-10-21 17:50:56,751 - DEBUG - ==>Verifying data for policy with id: ac6a28bf-1e0d-4acc-8e6f-bb7547d1d844, fqn: ['default-domain', 'ctest-TestBasicPolicy-31848794', 'ctest-policy-allow-all-13193684'] 2025-10-21 17:50:56,751 - INFO - VN ctest-vn-41834465 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-21 17:50:56,751 - DEBUG - Verifying the vn in opserver 2025-10-21 17:50:56,752 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31848794:ctest-vn-41834465 virtual network link through opserver 10.0.0.38 2025-10-21 17:50:56,752 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-21 17:50:56,775 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31848794:ctest-vn-41834465', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31848794:ctest-vn-41834465?flat'} 2025-10-21 17:50:56,775 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-31848794:ctest-vn-41834465 is found in opserver 2025-10-21 17:50:56,795 - DEBUG - Do not have enough data to verify VN in agent 2025-10-21 17:50:56,806 - DEBUG - VRF ids for VN ctest-vn-41834465: {} 2025-10-21 17:50:56,944 - DEBUG - Services list from nova: [, , ] 2025-10-21 17:50:58,502 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4401-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4401-1) 2025-10-21 17:51:00,029 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4401-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4401-1) 2025-10-21 17:51:00,029 - INFO - Waiting for VM ctest-TestBasicPolicy-31848794-16131430 to be up.. 2025-10-21 17:51:00,140 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-21 17:51:05,244 - DEBUG - VM is in ACTIVE state now 2025-10-21 17:51:05,244 - INFO - VM name : ctest-TestBasicPolicy-31848794-16131430 2025-10-21 17:51:05,322 - DEBUG - VM ctest-TestBasicPolicy-31848794-16131430 ID is 4e3eb4dd-d3d5-44bf-bf66-08c21b27ff41 2025-10-21 17:51:05,347 - DEBUG - VM ctest-TestBasicPolicy-31848794-16131430 launched on Node cn-jenkins-deploy-platform-ansible-os-4401-1 2025-10-21 17:51:05,458 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4e3eb4dd-d3d5-44bf-bf66-08c21b27ff41 2025-10-21 17:51:05,470 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3c2a2ac0-2f88-41ee-ae9c-19c0bdde63cc 2025-10-21 17:51:08,768 - 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 1003ms') 2025-10-21 17:51:08,768 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31848794-16131430 failed! 2025-10-21 17:51:08,841 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-31848794:ctest-vn-13081996 is 194.209.110.1 and allocation pool is NOT set 2025-10-21 17:51:10,925 - 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=8.18 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.628 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 = 0.628/4.402/8.177/3.774 ms') 2025-10-21 17:51:10,925 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31848794-16131430 passed 2025-10-21 17:51:11,110 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 17:51:11,110 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-31848794-16131430, IP 194.209.110.3, Port 22 2025-10-21 17:51:11,192 - 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-21 17:51:11,372 - DEBUG - VM ctest-TestBasicPolicy-31848794-16131430 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-21 17:51:16,373 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 17:51:16,373 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-31848794-16131430, IP 194.209.110.3, Port 22 2025-10-21 17:51:16,580 - DEBUG - VM ctest-TestBasicPolicy-31848794-16131430 is ready for SSH connections 2025-10-21 17:51:16,580 - INFO - Waiting for VM ctest-TestBasicPolicy-31848794-05314525 to be up.. 2025-10-21 17:51:16,765 - DEBUG - VM is in ACTIVE state now 2025-10-21 17:51:16,766 - INFO - VM name : ctest-TestBasicPolicy-31848794-05314525 2025-10-21 17:51:16,909 - DEBUG - VM ctest-TestBasicPolicy-31848794-05314525 ID is 0a2dce87-38c0-4eb0-a308-6217e121006d 2025-10-21 17:51:16,910 - DEBUG - VM ctest-TestBasicPolicy-31848794-05314525 launched on Node cn-jenkins-deploy-platform-ansible-os-4401-1 2025-10-21 17:51:17,101 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/0a2dce87-38c0-4eb0-a308-6217e121006d 2025-10-21 17:51:17,118 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c1c30aed-aa73-403e-885e-3669c17265e1 2025-10-21 17:51:18,462 - 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=7.58 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.704 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.704/4.139/7.575/3.435 ms') 2025-10-21 17:51:18,463 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-31848794-05314525 passed 2025-10-21 17:51:18,630 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 17:51:18,631 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-31848794-05314525, IP 191.223.104.131, Port 22 2025-10-21 17:51:18,844 - DEBUG - VM ctest-TestBasicPolicy-31848794-05314525 is ready for SSH connections 2025-10-21 17:51:18,844 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 17:51:18,845 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 191.223.104.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-21 17:51:18,845 - DEBUG - ping -s 56 -c 3 -W 1 191.223.104.131 2025-10-21 17:51:23,397 - DEBUG - PING 191.223.104.131 (191.223.104.131): 56 data bytes 64 bytes from 191.223.104.131: seq=0 ttl=63 time=4.185 ms 64 bytes from 191.223.104.131: seq=1 ttl=63 time=1.804 ms 64 bytes from 191.223.104.131: seq=2 ttl=63 time=1.296 ms --- 191.223.104.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.296/2.428/4.185 ms 2025-10-21 17:51:23,398 - INFO - Ping to IP 191.223.104.131 from VM ctest-TestBasicPolicy-31848794-16131430 passed 2025-10-21 17:51:23,626 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ac6a28bf-1e0d-4acc-8e6f-bb7547d1d844", "href": "http://10.0.0.38:8082/network-policy/ac6a28bf-1e0d-4acc-8e6f-bb7547d1d844"}} 2025-10-21 17:51:23,626 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 17:51:23,626 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 191.223.104.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-21 17:51:23,626 - DEBUG - ping -s 56 -c 3 -W 1 191.223.104.131 2025-10-21 17:51:26,883 - DEBUG - PING 191.223.104.131 (191.223.104.131): 56 data bytes 64 bytes from 191.223.104.131: seq=0 ttl=63 time=1.686 ms --- 191.223.104.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.686/1.686/1.686 ms 2025-10-21 17:51:26,883 - WARNING - Ping to IP 191.223.104.131 from VM ctest-TestBasicPolicy-31848794-16131430 failed 2025-10-21 17:51:26,884 - INFO - Deleting VM ctest-TestBasicPolicy-31848794-05314525 2025-10-21 17:51:27,061 - INFO - Deleting VM ctest-TestBasicPolicy-31848794-16131430 2025-10-21 17:51:27,719 - INFO - Deleted policy ctest-policy-allow-all-13193684 2025-10-21 17:51:27,720 - INFO - Deleting VN ctest-vn-41834465 2025-10-21 17:51:27,760 - DEBUG - VN 95655a9b-5be9-4698-8ac6-0a834ab66254 still in use: Unable to complete operation on network 95655a9b-5be9-4698-8ac6-0a834ab66254. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-596466ca-a064-4ea0-b5ed-626f51815279'] 2025-10-21 17:51:27,760 - WARNING - Deleting VN ctest-vn-41834465 failed..Will retry 2025-10-21 17:51:29,989 - DEBUG - Response for deleting network () 2025-10-21 17:51:29,989 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e63ed814-a5a2-4673-8b78-aade3d9aa099 2025-10-21 17:51:30,002 - DEBUG - Response Code: 404 2025-10-21 17:51:30,002 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-21 17:51:30,011 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0432b868-be5a-4114-878d-f0d030d6816b 2025-10-21 17:51:30,073 - DEBUG - Requesting: http://10.0.0.38:8082/project/9b3e97ed-1826-4c96-bff1-38c24f892fc2 2025-10-21 17:51:30,198 - INFO - Validated that VN ctest-vn-41834465 is not found in API Server 2025-10-21 17:51:30,216 - DEBUG - VN ctest-vn-41834465 is not present in Agent 10.0.0.38 2025-10-21 17:51:30,216 - INFO - Validated that VN ctest-vn-41834465 is not in any agent 2025-10-21 17:51:30,238 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-41834465 info 2025-10-21 17:51:30,238 - INFO - Deleting VN ctest-vn-13081996 2025-10-21 17:51:30,365 - DEBUG - Response for deleting network () 2025-10-21 17:51:30,365 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/65d8e545-e368-4cc0-9109-a1af5e79c7e3 2025-10-21 17:51:30,373 - DEBUG - Response Code: 404 2025-10-21 17:51:30,373 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-21 17:51:30,378 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0432b868-be5a-4114-878d-f0d030d6816b 2025-10-21 17:51:30,433 - DEBUG - Requesting: http://10.0.0.38:8082/project/9b3e97ed-1826-4c96-bff1-38c24f892fc2 2025-10-21 17:51:30,531 - INFO - Validated that VN ctest-vn-13081996 is not found in API Server 2025-10-21 17:51:30,543 - DEBUG - VN ctest-vn-13081996 is not present in Agent 10.0.0.38 2025-10-21 17:51:30,543 - INFO - Validated that VN ctest-vn-13081996 is not in any agent 2025-10-21 17:51:30,560 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-13081996 info 2025-10-21 17:51:30,864 - DEBUG - No XMPP flaps were noticed during the test 2025-10-21 17:51:30,865 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:39] 2025-10-21 17:51:30,865 - INFO - -------------------------------------------------------------------------------- 2025-10-21 17:51:31,628 - INFO - Deleted project: ctest-TestBasicPolicy-31848794, ID : 9b3e97ed-1826-4c96-bff1-38c24f892fc2