2025-07-10 15:50:32,988 - INFO - Domain Default found not creating 2025-07-10 15:50:33,140 - INFO - Project ctest-TestBasicPolicy-43392105 not found, creating it 2025-07-10 15:50:33,610 - INFO - Created Project:ctest-TestBasicPolicy-43392105, ID : 88eb83fa-3b38-4f0e-9980-46e986f41804 2025-07-10 15:50:35,189 - INFO - ================================================================================ 2025-07-10 15:50:35,189 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-10 15:50:35,189 - 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-07-10 15:50:35,443 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.14': '0'}} with 2025-07-10 15:50:35,443 - INFO - Initial checks done. Running the testcase now 2025-07-10 15:50:35,444 - INFO - 2025-07-10 15:50:36,039 - DEBUG - Response for create_network : {'network': {'id': '944ce7e5-38c9-4ba3-a267-4aae0beb1ea1', 'name': 'ctest-vn-94077356', 'tenant_id': '88eb83fa3b384f0e998046e986f41804', 'project_id': '88eb83fa3b384f0e998046e986f41804', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43392105', 'ctest-vn-94077356'], 'port_security_enabled': True, 'description': ''}} 2025-07-10 15:50:36,286 - DEBUG - Response for create_subnet : {'subnet': {'id': '62f68361-02b7-40ae-b32f-0d58ae60c55b', 'name': '', 'tenant_id': '88eb83fa3b384f0e998046e986f41804', 'network_id': '944ce7e5-38c9-4ba3-a267-4aae0beb1ea1', 'ip_version': 4, 'cidr': '57.225.148.128/26', 'allocation_pools': [{'start': '57.225.148.130', 'end': '57.225.148.190'}], 'gateway_ip': '57.225.148.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.225.148.130', 'tags': [], 'project_id': '88eb83fa3b384f0e998046e986f41804'}} 2025-07-10 15:50:36,307 - INFO - Created VN ctest-vn-94077356 2025-07-10 15:50:36,365 - DEBUG - VN ctest-vn-94077356 UUID is 944ce7e5-38c9-4ba3-a267-4aae0beb1ea1 2025-07-10 15:50:36,681 - DEBUG - Response for create_network : {'network': {'id': 'af1e49f8-2a27-4efa-aaa6-19b765d25f64', 'name': 'ctest-vn-27180508', 'tenant_id': '88eb83fa3b384f0e998046e986f41804', 'project_id': '88eb83fa3b384f0e998046e986f41804', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43392105', 'ctest-vn-27180508'], 'port_security_enabled': True, 'description': ''}} 2025-07-10 15:50:36,917 - DEBUG - Response for create_subnet : {'subnet': {'id': '69fca406-4425-4bd5-81e8-5dfb6ec21f52', 'name': '', 'tenant_id': '88eb83fa3b384f0e998046e986f41804', 'network_id': 'af1e49f8-2a27-4efa-aaa6-19b765d25f64', 'ip_version': 4, 'cidr': '25.141.94.128/26', 'allocation_pools': [{'start': '25.141.94.130', 'end': '25.141.94.190'}], 'gateway_ip': '25.141.94.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.141.94.130', 'tags': [], 'project_id': '88eb83fa3b384f0e998046e986f41804'}} 2025-07-10 15:50:36,939 - INFO - Created VN ctest-vn-27180508 2025-07-10 15:50:36,997 - DEBUG - VN ctest-vn-27180508 UUID is af1e49f8-2a27-4efa-aaa6-19b765d25f64 2025-07-10 15:50:37,119 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-43392105:ctest-vn-94077356, 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-43392105:ctest-vn-27180508, 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-07-10 15:50:37,418 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '944ce7e5-38c9-4ba3-a267-4aae0beb1ea1', 'name': 'ctest-vn-94077356', 'tenant_id': '88eb83fa3b384f0e998046e986f41804', 'project_id': '88eb83fa3b384f0e998046e986f41804', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['62f68361-02b7-40ae-b32f-0d58ae60c55b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43392105', 'ctest-vn-94077356'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43392105', 'ctest-policy-allow-all-15825012']], 'subnet_ipam': [{'subnet_cidr': '57.225.148.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-10 15:50:37,709 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'af1e49f8-2a27-4efa-aaa6-19b765d25f64', 'name': 'ctest-vn-27180508', 'tenant_id': '88eb83fa3b384f0e998046e986f41804', 'project_id': '88eb83fa3b384f0e998046e986f41804', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['69fca406-4425-4bd5-81e8-5dfb6ec21f52'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43392105', 'ctest-vn-27180508'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43392105', 'ctest-policy-allow-all-15825012']], 'subnet_ipam': [{'subnet_cidr': '25.141.94.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-10 15:50:37,857 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-07-10 15:50:38,195 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-07-10 15:50:38,228 - DEBUG - Requesting: http://10.0.0.49:8082/domain/9ce0a72c-3f43-4bbc-ac7b-05275da85d30 2025-07-10 15:50:38,245 - DEBUG - Requesting: http://10.0.0.49:8082/project/88eb83fa-3b38-4f0e-9980-46e986f41804 2025-07-10 15:50:38,330 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/944ce7e5-38c9-4ba3-a267-4aae0beb1ea1 2025-07-10 15:50:38,346 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/944ce7e5-38c9-4ba3-a267-4aae0beb1ea1 2025-07-10 15:50:38,361 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/b86d224c-9291-4e4b-b200-9ce2301c63f9 2025-07-10 15:50:38,373 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/b86d224c-9291-4e4b-b200-9ce2301c63f9 2025-07-10 15:50:38,383 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/2a5b3b42-c668-4fb5-8caa-9552711f98c6 2025-07-10 15:50:38,392 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-10 15:50:38,392 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/944ce7e5-38c9-4ba3-a267-4aae0beb1ea1 2025-07-10 15:50:38,403 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/b86d224c-9291-4e4b-b200-9ce2301c63f9 2025-07-10 15:50:38,424 - INFO - Verified VN network id 8 for VN 944ce7e5-38c9-4ba3-a267-4aae0beb1ea1 2025-07-10 15:50:38,424 - INFO - Verifications in API Server for VN ctest-vn-94077356 passed 2025-07-10 15:50:38,424 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/944ce7e5-38c9-4ba3-a267-4aae0beb1ea1 2025-07-10 15:50:38,438 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/b86d224c-9291-4e4b-b200-9ce2301c63f9 2025-07-10 15:50:38,448 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/b86d224c-9291-4e4b-b200-9ce2301c63f9 2025-07-10 15:50:38,458 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/2a5b3b42-c668-4fb5-8caa-9552711f98c6 2025-07-10 15:50:38,474 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43392105:ctest-vn-94077356', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43392105', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10686170987529587619', 'uuid-lslong': '11702404268130246305'}, 'enable': 'true', 'created': '2025-07-10T15:50:36', 'last-modified': '2025-07-10T15:50:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.076854'} 2025-07-10 15:50:38,481 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-10 15:50:38,481 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-94077356 passed 2025-07-10 15:50:38,481 - DEBUG - ====Verifying policy data for ctest-vn-94077356 in API_Server ====== 2025-07-10 15:50:38,481 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-07-10 15:50:38,490 - DEBUG - Requesting: http://10.0.0.49:8082/domain/9ce0a72c-3f43-4bbc-ac7b-05275da85d30 2025-07-10 15:50:38,506 - DEBUG - Requesting: http://10.0.0.49:8082/project/88eb83fa-3b38-4f0e-9980-46e986f41804 2025-07-10 15:50:38,590 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/944ce7e5-38c9-4ba3-a267-4aae0beb1ea1 2025-07-10 15:50:38,603 - DEBUG - ==>Verifying data for policy with id: 7052d2b6-5ffd-4695-8593-30b01447911a, fqn: ['default-domain', 'ctest-TestBasicPolicy-43392105', 'ctest-policy-allow-all-15825012'] 2025-07-10 15:50:38,603 - INFO - VN ctest-vn-94077356 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-10 15:50:38,603 - DEBUG - Verifying the vn in opserver 2025-07-10 15:50:38,603 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43392105:ctest-vn-94077356 virtual network link through opserver 10.0.0.49 2025-07-10 15:50:38,604 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-07-10 15:50:38,940 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-07-10 15:50:39,006 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43392105:ctest-vn-94077356', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43392105:ctest-vn-94077356?flat'} 2025-07-10 15:50:39,006 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43392105:ctest-vn-94077356 is found in opserver 2025-07-10 15:50:39,021 - DEBUG - Do not have enough data to verify VN in agent 2025-07-10 15:50:39,028 - DEBUG - VRF ids for VN ctest-vn-94077356: {} 2025-07-10 15:50:39,028 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-07-10 15:50:39,036 - DEBUG - Requesting: http://10.0.0.49:8082/domain/9ce0a72c-3f43-4bbc-ac7b-05275da85d30 2025-07-10 15:50:39,051 - DEBUG - Requesting: http://10.0.0.49:8082/project/88eb83fa-3b38-4f0e-9980-46e986f41804 2025-07-10 15:50:39,131 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/af1e49f8-2a27-4efa-aaa6-19b765d25f64 2025-07-10 15:50:39,147 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/af1e49f8-2a27-4efa-aaa6-19b765d25f64 2025-07-10 15:50:39,161 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/cc15383a-2437-409d-a1d1-bb13a94ee1db 2025-07-10 15:50:39,171 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/cc15383a-2437-409d-a1d1-bb13a94ee1db 2025-07-10 15:50:39,180 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/6a5012a3-5449-4b45-be68-d109cf4c6c77 2025-07-10 15:50:39,189 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-10 15:50:39,189 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/af1e49f8-2a27-4efa-aaa6-19b765d25f64 2025-07-10 15:50:39,202 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/cc15383a-2437-409d-a1d1-bb13a94ee1db 2025-07-10 15:50:39,219 - INFO - Verified VN network id 9 for VN af1e49f8-2a27-4efa-aaa6-19b765d25f64 2025-07-10 15:50:39,220 - INFO - Verifications in API Server for VN ctest-vn-27180508 passed 2025-07-10 15:50:39,220 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/af1e49f8-2a27-4efa-aaa6-19b765d25f64 2025-07-10 15:50:39,231 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/cc15383a-2437-409d-a1d1-bb13a94ee1db 2025-07-10 15:50:39,240 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/cc15383a-2437-409d-a1d1-bb13a94ee1db 2025-07-10 15:50:39,251 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/6a5012a3-5449-4b45-be68-d109cf4c6c77 2025-07-10 15:50:39,265 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43392105:ctest-vn-27180508', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43392105', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12618604536146644730', 'uuid-lslong': '12296544108059713380'}, 'enable': 'true', 'created': '2025-07-10T15:50:36', 'last-modified': '2025-07-10T15:50:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.626822'} 2025-07-10 15:50:39,272 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-10 15:50:39,272 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-27180508 passed 2025-07-10 15:50:39,272 - DEBUG - ====Verifying policy data for ctest-vn-27180508 in API_Server ====== 2025-07-10 15:50:39,272 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-07-10 15:50:39,279 - DEBUG - Requesting: http://10.0.0.49:8082/domain/9ce0a72c-3f43-4bbc-ac7b-05275da85d30 2025-07-10 15:50:39,292 - DEBUG - Requesting: http://10.0.0.49:8082/project/88eb83fa-3b38-4f0e-9980-46e986f41804 2025-07-10 15:50:39,374 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/af1e49f8-2a27-4efa-aaa6-19b765d25f64 2025-07-10 15:50:39,388 - DEBUG - ==>Verifying data for policy with id: 7052d2b6-5ffd-4695-8593-30b01447911a, fqn: ['default-domain', 'ctest-TestBasicPolicy-43392105', 'ctest-policy-allow-all-15825012'] 2025-07-10 15:50:39,388 - INFO - VN ctest-vn-27180508 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-10 15:50:39,389 - DEBUG - Verifying the vn in opserver 2025-07-10 15:50:39,389 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43392105:ctest-vn-27180508 virtual network link through opserver 10.0.0.49 2025-07-10 15:50:39,389 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-07-10 15:50:39,405 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43392105:ctest-vn-27180508', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43392105:ctest-vn-27180508?flat'} 2025-07-10 15:50:39,405 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43392105:ctest-vn-27180508 is found in opserver 2025-07-10 15:50:39,419 - DEBUG - Do not have enough data to verify VN in agent 2025-07-10 15:50:39,427 - DEBUG - VRF ids for VN ctest-vn-27180508: {} 2025-07-10 15:50:39,488 - DEBUG - Services list from nova: [, , ] 2025-07-10 15:50:40,691 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3627-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3627-1) 2025-07-10 15:50:42,142 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3627-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3627-1) 2025-07-10 15:50:42,142 - INFO - Waiting for VM ctest-TestBasicPolicy-43392105-97717895 to be up.. 2025-07-10 15:50:42,221 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-10 15:50:47,341 - DEBUG - VM is in ACTIVE state now 2025-07-10 15:50:47,341 - INFO - VM name : ctest-TestBasicPolicy-43392105-97717895 2025-07-10 15:50:47,438 - DEBUG - VM ctest-TestBasicPolicy-43392105-97717895 ID is 7c04d514-68ec-4168-afb4-0f64ea909403 2025-07-10 15:50:47,460 - DEBUG - VM ctest-TestBasicPolicy-43392105-97717895 launched on Node cn-jenkins-deploy-platform-ansible-os-3627-1 2025-07-10 15:50:47,549 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/7c04d514-68ec-4168-afb4-0f64ea909403 2025-07-10 15:50:47,560 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/0aaba79e-4b86-4bde-a866-81cf470c2b99 2025-07-10 15:50:50,831 - 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 1024ms') 2025-07-10 15:50:50,831 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-43392105-97717895 failed! 2025-07-10 15:50:50,889 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-43392105:ctest-vn-94077356 is 57.225.148.129 and allocation pool is NOT set 2025-07-10 15:50:52,953 - 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=10.4 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.25 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.246/6.326/10.407/4.080 ms') 2025-07-10 15:50:52,953 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-43392105-97717895 passed 2025-07-10 15:50:53,113 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-10 15:50:53,113 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43392105-97717895, IP 57.225.148.131, Port 22 2025-07-10 15:50:53,178 - 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-07-10 15:50:53,258 - DEBUG - VM ctest-TestBasicPolicy-43392105-97717895 is NOT ready for SSH connections, VM status: ACTIVE 2025-07-10 15:50:58,259 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-10 15:50:58,259 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43392105-97717895, IP 57.225.148.131, Port 22 2025-07-10 15:50:58,417 - DEBUG - VM ctest-TestBasicPolicy-43392105-97717895 is ready for SSH connections 2025-07-10 15:50:58,417 - INFO - Waiting for VM ctest-TestBasicPolicy-43392105-17046674 to be up.. 2025-07-10 15:50:58,500 - DEBUG - VM is in ACTIVE state now 2025-07-10 15:50:58,500 - INFO - VM name : ctest-TestBasicPolicy-43392105-17046674 2025-07-10 15:50:58,573 - DEBUG - VM ctest-TestBasicPolicy-43392105-17046674 ID is 9cfa8e16-0db9-48a0-90de-b1105a25ba34 2025-07-10 15:50:58,573 - DEBUG - VM ctest-TestBasicPolicy-43392105-17046674 launched on Node cn-jenkins-deploy-platform-ansible-os-3627-1 2025-07-10 15:50:58,647 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/9cfa8e16-0db9-48a0-90de-b1105a25ba34 2025-07-10 15:50:58,656 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/3554b9a5-1f63-464f-b57c-52cd7e2fd0c1 2025-07-10 15:50:59,902 - 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.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.368 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.368/1.739/3.110/1.371 ms') 2025-07-10 15:50:59,902 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-43392105-17046674 passed 2025-07-10 15:51:00,061 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-10 15:51:00,061 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43392105-17046674, IP 25.141.94.131, Port 22 2025-07-10 15:51:00,221 - DEBUG - VM ctest-TestBasicPolicy-43392105-17046674 is ready for SSH connections 2025-07-10 15:51:00,221 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-10 15:51:00,221 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 25.141.94.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-07-10 15:51:00,221 - DEBUG - ping -s 56 -c 3 -W 1 25.141.94.131 2025-07-10 15:51:03,959 - DEBUG - PING 25.141.94.131 (25.141.94.131): 56 data bytes 64 bytes from 25.141.94.131: seq=0 ttl=63 time=3.877 ms 64 bytes from 25.141.94.131: seq=1 ttl=63 time=0.892 ms 64 bytes from 25.141.94.131: seq=2 ttl=63 time=0.842 ms --- 25.141.94.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.842/1.870/3.877 ms 2025-07-10 15:51:03,959 - INFO - Ping to IP 25.141.94.131 from VM ctest-TestBasicPolicy-43392105-97717895 passed 2025-07-10 15:51:04,145 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7052d2b6-5ffd-4695-8593-30b01447911a", "href": "http://10.0.0.49:8082/network-policy/7052d2b6-5ffd-4695-8593-30b01447911a"}} 2025-07-10 15:51:04,145 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-10 15:51:04,145 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 25.141.94.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-07-10 15:51:04,145 - DEBUG - ping -s 56 -c 3 -W 1 25.141.94.131 2025-07-10 15:51:07,365 - DEBUG - PING 25.141.94.131 (25.141.94.131): 56 data bytes 64 bytes from 25.141.94.131: seq=0 ttl=63 time=1.284 ms --- 25.141.94.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.284/1.284/1.284 ms 2025-07-10 15:51:07,365 - WARNING - Ping to IP 25.141.94.131 from VM ctest-TestBasicPolicy-43392105-97717895 failed 2025-07-10 15:51:07,366 - INFO - Deleting VM ctest-TestBasicPolicy-43392105-17046674 2025-07-10 15:51:07,437 - INFO - Deleting VM ctest-TestBasicPolicy-43392105-97717895 2025-07-10 15:51:07,842 - INFO - Deleted policy ctest-policy-allow-all-15825012 2025-07-10 15:51:07,843 - INFO - Deleting VN ctest-vn-27180508 2025-07-10 15:51:07,881 - DEBUG - VN af1e49f8-2a27-4efa-aaa6-19b765d25f64 still in use: Unable to complete operation on network af1e49f8-2a27-4efa-aaa6-19b765d25f64. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ee5c4234-d0f1-4909-be43-a3ff16c5ed31'] 2025-07-10 15:51:07,881 - WARNING - Deleting VN ctest-vn-27180508 failed..Will retry 2025-07-10 15:51:09,995 - DEBUG - Response for deleting network () 2025-07-10 15:51:09,995 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/cc15383a-2437-409d-a1d1-bb13a94ee1db 2025-07-10 15:51:10,004 - DEBUG - Response Code: 404 2025-07-10 15:51:10,004 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-07-10 15:51:10,010 - DEBUG - Requesting: http://10.0.0.49:8082/domain/9ce0a72c-3f43-4bbc-ac7b-05275da85d30 2025-07-10 15:51:10,068 - DEBUG - Requesting: http://10.0.0.49:8082/project/88eb83fa-3b38-4f0e-9980-46e986f41804 2025-07-10 15:51:10,142 - INFO - Validated that VN ctest-vn-27180508 is not found in API Server 2025-07-10 15:51:10,155 - DEBUG - VN ctest-vn-27180508 is not present in Agent 10.0.0.49 2025-07-10 15:51:10,156 - INFO - Validated that VN ctest-vn-27180508 is not in any agent 2025-07-10 15:51:10,173 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-27180508 info 2025-07-10 15:51:10,173 - INFO - Deleting VN ctest-vn-94077356 2025-07-10 15:51:10,302 - DEBUG - Response for deleting network () 2025-07-10 15:51:10,302 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/b86d224c-9291-4e4b-b200-9ce2301c63f9 2025-07-10 15:51:10,308 - DEBUG - Response Code: 404 2025-07-10 15:51:10,308 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-07-10 15:51:10,315 - DEBUG - Requesting: http://10.0.0.49:8082/domain/9ce0a72c-3f43-4bbc-ac7b-05275da85d30 2025-07-10 15:51:10,371 - DEBUG - Requesting: http://10.0.0.49:8082/project/88eb83fa-3b38-4f0e-9980-46e986f41804 2025-07-10 15:51:10,456 - INFO - Validated that VN ctest-vn-94077356 is not found in API Server 2025-07-10 15:51:10,469 - DEBUG - VN ctest-vn-94077356 is not present in Agent 10.0.0.49 2025-07-10 15:51:10,469 - INFO - Validated that VN ctest-vn-94077356 is not in any agent 2025-07-10 15:51:10,487 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-94077356 info 2025-07-10 15:51:10,752 - DEBUG - No XMPP flaps were noticed during the test
2025-07-10 15:51:10,752 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2025-07-10 15:51:10,752 - INFO - -------------------------------------------------------------------------------- 2025-07-10 15:51:11,507 - INFO - Deleted project: ctest-TestBasicPolicy-43392105, ID : 88eb83fa-3b38-4f0e-9980-46e986f41804