2025-10-24 07:10:34,988 - INFO - Domain Default found not creating 2025-10-24 07:10:35,167 - INFO - Project ctest-TestBasicPolicy-63402920 not found, creating it 2025-10-24 07:10:35,618 - INFO - Created Project:ctest-TestBasicPolicy-63402920, ID : 4dbadf57-d592-49a0-89f7-4549410b78bd 2025-10-24 07:10:37,022 - INFO - ================================================================================ 2025-10-24 07:10:37,022 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-24 07:10:37,022 - 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-24 07:10:37,279 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-24 07:10:37,279 - INFO - Initial checks done. Running the testcase now 2025-10-24 07:10:37,279 - INFO - 2025-10-24 07:10:37,817 - DEBUG - Response for create_network : {'network': {'id': 'cb60256d-7c4f-493a-8b10-898cde871eb0', 'name': 'ctest-vn-19144941', 'tenant_id': '4dbadf57d59249a089f74549410b78bd', 'project_id': '4dbadf57d59249a089f74549410b78bd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63402920', 'ctest-vn-19144941'], 'port_security_enabled': True, 'description': ''}} 2025-10-24 07:10:37,994 - DEBUG - Response for create_subnet : {'subnet': {'id': '5e7d9856-2a78-447b-a3c1-7fbb545cea7d', 'name': '', 'tenant_id': '4dbadf57d59249a089f74549410b78bd', 'network_id': 'cb60256d-7c4f-493a-8b10-898cde871eb0', 'ip_version': 4, 'cidr': '207.102.189.192/26', 'allocation_pools': [{'start': '207.102.189.194', 'end': '207.102.189.254'}], 'gateway_ip': '207.102.189.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '207.102.189.194', 'tags': [], 'project_id': '4dbadf57d59249a089f74549410b78bd'}} 2025-10-24 07:10:38,013 - INFO - Created VN ctest-vn-19144941 2025-10-24 07:10:38,069 - DEBUG - VN ctest-vn-19144941 UUID is cb60256d-7c4f-493a-8b10-898cde871eb0 2025-10-24 07:10:38,356 - DEBUG - Response for create_network : {'network': {'id': '4c8fcacb-9ee6-4281-bf32-f750dafbd7e5', 'name': 'ctest-vn-65638795', 'tenant_id': '4dbadf57d59249a089f74549410b78bd', 'project_id': '4dbadf57d59249a089f74549410b78bd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63402920', 'ctest-vn-65638795'], 'port_security_enabled': True, 'description': ''}} 2025-10-24 07:10:38,545 - DEBUG - Response for create_subnet : {'subnet': {'id': '24c03ac9-f5a5-4cde-ad76-a2648218d9fa', 'name': '', 'tenant_id': '4dbadf57d59249a089f74549410b78bd', 'network_id': '4c8fcacb-9ee6-4281-bf32-f750dafbd7e5', 'ip_version': 4, 'cidr': '119.104.90.128/26', 'allocation_pools': [{'start': '119.104.90.130', 'end': '119.104.90.190'}], 'gateway_ip': '119.104.90.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '119.104.90.130', 'tags': [], 'project_id': '4dbadf57d59249a089f74549410b78bd'}} 2025-10-24 07:10:38,563 - INFO - Created VN ctest-vn-65638795 2025-10-24 07:10:38,613 - DEBUG - VN ctest-vn-65638795 UUID is 4c8fcacb-9ee6-4281-bf32-f750dafbd7e5 2025-10-24 07:10:38,729 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-63402920:ctest-vn-19144941, 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-63402920:ctest-vn-65638795, 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-24 07:10:39,021 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cb60256d-7c4f-493a-8b10-898cde871eb0', 'name': 'ctest-vn-19144941', 'tenant_id': '4dbadf57d59249a089f74549410b78bd', 'project_id': '4dbadf57d59249a089f74549410b78bd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5e7d9856-2a78-447b-a3c1-7fbb545cea7d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63402920', 'ctest-vn-19144941'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-63402920', 'ctest-policy-allow-all-69130630']], 'subnet_ipam': [{'subnet_cidr': '207.102.189.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-24 07:10:39,281 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4c8fcacb-9ee6-4281-bf32-f750dafbd7e5', 'name': 'ctest-vn-65638795', 'tenant_id': '4dbadf57d59249a089f74549410b78bd', 'project_id': '4dbadf57d59249a089f74549410b78bd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['24c03ac9-f5a5-4cde-ad76-a2648218d9fa'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63402920', 'ctest-vn-65638795'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-63402920', 'ctest-policy-allow-all-69130630']], 'subnet_ipam': [{'subnet_cidr': '119.104.90.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-24 07:10:39,421 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-24 07:10:39,713 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-24 07:10:39,739 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b14f5014-812f-48b7-97b0-60be1c99177c 2025-10-24 07:10:39,750 - DEBUG - Requesting: http://10.0.0.254:8082/project/4dbadf57-d592-49a0-89f7-4549410b78bd 2025-10-24 07:10:39,819 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/cb60256d-7c4f-493a-8b10-898cde871eb0 2025-10-24 07:10:39,829 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/cb60256d-7c4f-493a-8b10-898cde871eb0 2025-10-24 07:10:39,837 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/21d24421-3af7-4cab-bb2d-5e3aeea47606 2025-10-24 07:10:39,843 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/21d24421-3af7-4cab-bb2d-5e3aeea47606 2025-10-24 07:10:39,849 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/c0df0e94-a788-4439-b571-114a818cdae9 2025-10-24 07:10:39,854 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-24 07:10:39,854 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/cb60256d-7c4f-493a-8b10-898cde871eb0 2025-10-24 07:10:39,861 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/21d24421-3af7-4cab-bb2d-5e3aeea47606 2025-10-24 07:10:39,872 - INFO - Verified VN network id 11 for VN cb60256d-7c4f-493a-8b10-898cde871eb0 2025-10-24 07:10:39,872 - INFO - Verifications in API Server for VN ctest-vn-19144941 passed 2025-10-24 07:10:39,872 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/cb60256d-7c4f-493a-8b10-898cde871eb0 2025-10-24 07:10:39,880 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/21d24421-3af7-4cab-bb2d-5e3aeea47606 2025-10-24 07:10:39,886 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/21d24421-3af7-4cab-bb2d-5e3aeea47606 2025-10-24 07:10:39,891 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/c0df0e94-a788-4439-b571-114a818cdae9 2025-10-24 07:10:39,902 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-63402920:ctest-vn-19144941', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-63402920', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14654754339630827834', 'uuid-lslong': '10020660409021177520'}, 'enable': 'true', 'created': '2025-10-24T07:10:37', 'last-modified': '2025-10-24T07:10:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.903440'} 2025-10-24 07:10:39,907 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-24 07:10:39,907 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-19144941 passed 2025-10-24 07:10:39,907 - DEBUG - ====Verifying policy data for ctest-vn-19144941 in API_Server ====== 2025-10-24 07:10:39,907 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-24 07:10:39,912 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b14f5014-812f-48b7-97b0-60be1c99177c 2025-10-24 07:10:39,922 - DEBUG - Requesting: http://10.0.0.254:8082/project/4dbadf57-d592-49a0-89f7-4549410b78bd 2025-10-24 07:10:39,993 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/cb60256d-7c4f-493a-8b10-898cde871eb0 2025-10-24 07:10:40,001 - DEBUG - ==>Verifying data for policy with id: b6fdde80-fe8a-4fcf-9c06-019505473be7, fqn: ['default-domain', 'ctest-TestBasicPolicy-63402920', 'ctest-policy-allow-all-69130630'] 2025-10-24 07:10:40,001 - INFO - VN ctest-vn-19144941 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-24 07:10:40,002 - DEBUG - Verifying the vn in opserver 2025-10-24 07:10:40,002 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-63402920:ctest-vn-19144941 virtual network link through opserver 10.0.0.254 2025-10-24 07:10:40,002 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-24 07:10:40,292 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-24 07:10:40,390 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-63402920:ctest-vn-19144941', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-63402920:ctest-vn-19144941?flat'} 2025-10-24 07:10:40,390 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-63402920:ctest-vn-19144941 is found in opserver 2025-10-24 07:10:40,399 - DEBUG - Do not have enough data to verify VN in agent 2025-10-24 07:10:40,403 - DEBUG - VRF ids for VN ctest-vn-19144941: {} 2025-10-24 07:10:40,403 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-24 07:10:40,408 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b14f5014-812f-48b7-97b0-60be1c99177c 2025-10-24 07:10:40,420 - DEBUG - Requesting: http://10.0.0.254:8082/project/4dbadf57-d592-49a0-89f7-4549410b78bd 2025-10-24 07:10:40,496 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/4c8fcacb-9ee6-4281-bf32-f750dafbd7e5 2025-10-24 07:10:40,507 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/4c8fcacb-9ee6-4281-bf32-f750dafbd7e5 2025-10-24 07:10:40,517 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/b6f7ef33-3cac-49cc-9187-30ecc2ee0bde 2025-10-24 07:10:40,525 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/b6f7ef33-3cac-49cc-9187-30ecc2ee0bde 2025-10-24 07:10:40,531 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/734ba782-6d99-49d3-aa4f-6d2766886f5a 2025-10-24 07:10:40,537 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-24 07:10:40,538 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/4c8fcacb-9ee6-4281-bf32-f750dafbd7e5 2025-10-24 07:10:40,546 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/b6f7ef33-3cac-49cc-9187-30ecc2ee0bde 2025-10-24 07:10:40,558 - INFO - Verified VN network id 12 for VN 4c8fcacb-9ee6-4281-bf32-f750dafbd7e5 2025-10-24 07:10:40,558 - INFO - Verifications in API Server for VN ctest-vn-65638795 passed 2025-10-24 07:10:40,558 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/4c8fcacb-9ee6-4281-bf32-f750dafbd7e5 2025-10-24 07:10:40,567 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/b6f7ef33-3cac-49cc-9187-30ecc2ee0bde 2025-10-24 07:10:40,573 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/b6f7ef33-3cac-49cc-9187-30ecc2ee0bde 2025-10-24 07:10:40,579 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/734ba782-6d99-49d3-aa4f-6d2766886f5a 2025-10-24 07:10:40,589 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-63402920:ctest-vn-65638795', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-63402920', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5516851044445209217', 'uuid-lslong': '13777346136723150821'}, 'enable': 'true', 'created': '2025-10-24T07:10:38', 'last-modified': '2025-10-24T07:10:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.373388'} 2025-10-24 07:10:40,594 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-24 07:10:40,594 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-65638795 passed 2025-10-24 07:10:40,594 - DEBUG - ====Verifying policy data for ctest-vn-65638795 in API_Server ====== 2025-10-24 07:10:40,594 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-24 07:10:40,600 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b14f5014-812f-48b7-97b0-60be1c99177c 2025-10-24 07:10:40,611 - DEBUG - Requesting: http://10.0.0.254:8082/project/4dbadf57-d592-49a0-89f7-4549410b78bd 2025-10-24 07:10:40,684 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/4c8fcacb-9ee6-4281-bf32-f750dafbd7e5 2025-10-24 07:10:40,692 - DEBUG - ==>Verifying data for policy with id: b6fdde80-fe8a-4fcf-9c06-019505473be7, fqn: ['default-domain', 'ctest-TestBasicPolicy-63402920', 'ctest-policy-allow-all-69130630'] 2025-10-24 07:10:40,692 - INFO - VN ctest-vn-65638795 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-24 07:10:40,692 - DEBUG - Verifying the vn in opserver 2025-10-24 07:10:40,692 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-63402920:ctest-vn-65638795 virtual network link through opserver 10.0.0.254 2025-10-24 07:10:40,693 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-24 07:10:40,702 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-63402920:ctest-vn-65638795', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-63402920:ctest-vn-65638795?flat'} 2025-10-24 07:10:40,702 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-63402920:ctest-vn-65638795 is found in opserver 2025-10-24 07:10:40,713 - DEBUG - Do not have enough data to verify VN in agent 2025-10-24 07:10:40,717 - DEBUG - VRF ids for VN ctest-vn-65638795: {} 2025-10-24 07:10:40,772 - DEBUG - Services list from nova: [, , ] 2025-10-24 07:10:41,764 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4473-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4473-1) 2025-10-24 07:10:42,915 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4473-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4473-1) 2025-10-24 07:10:42,915 - INFO - Waiting for VM ctest-TestBasicPolicy-63402920-42764081 to be up.. 2025-10-24 07:10:42,999 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-24 07:10:48,087 - DEBUG - VM is in ACTIVE state now 2025-10-24 07:10:48,087 - INFO - VM name : ctest-TestBasicPolicy-63402920-42764081 2025-10-24 07:10:48,167 - DEBUG - VM ctest-TestBasicPolicy-63402920-42764081 ID is a46ea4e7-1539-43ef-bfca-334b8fd50c94 2025-10-24 07:10:48,187 - DEBUG - VM ctest-TestBasicPolicy-63402920-42764081 launched on Node cn-jenkins-deploy-platform-ansible-os-4473-1 2025-10-24 07:10:48,281 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a46ea4e7-1539-43ef-bfca-334b8fd50c94 2025-10-24 07:10:48,289 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/6167b65a-c71e-4a6f-8e39-2dd559cb567f 2025-10-24 07:10:51,592 - 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 1030ms') 2025-10-24 07:10:51,593 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-63402920-42764081 failed! 2025-10-24 07:10:51,649 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-63402920:ctest-vn-19144941 is 207.102.189.193 and allocation pool is NOT set 2025-10-24 07:10:53,706 - 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.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.34 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 = 1.344/4.642/7.941/3.298 ms') 2025-10-24 07:10:53,706 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-63402920-42764081 passed 2025-10-24 07:10:53,861 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 07:10:53,861 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-63402920-42764081, IP 207.102.189.195, Port 22 2025-10-24 07:10:53,927 - 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-24 07:10:53,996 - DEBUG - VM ctest-TestBasicPolicy-63402920-42764081 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-24 07:10:58,997 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 07:10:58,997 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-63402920-42764081, IP 207.102.189.195, Port 22 2025-10-24 07:10:59,149 - DEBUG - VM ctest-TestBasicPolicy-63402920-42764081 is ready for SSH connections 2025-10-24 07:10:59,149 - INFO - Waiting for VM ctest-TestBasicPolicy-63402920-52275652 to be up.. 2025-10-24 07:10:59,221 - DEBUG - VM is in ACTIVE state now 2025-10-24 07:10:59,221 - INFO - VM name : ctest-TestBasicPolicy-63402920-52275652 2025-10-24 07:10:59,290 - DEBUG - VM ctest-TestBasicPolicy-63402920-52275652 ID is 45357e6d-c6fa-467e-bd0b-df957e26ef64 2025-10-24 07:10:59,290 - DEBUG - VM ctest-TestBasicPolicy-63402920-52275652 launched on Node cn-jenkins-deploy-platform-ansible-os-4473-1 2025-10-24 07:10:59,356 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/45357e6d-c6fa-467e-bd0b-df957e26ef64 2025-10-24 07:10:59,365 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/837d877f-94e0-426c-a853-c1ce98b22f0e 2025-10-24 07:11:00,613 - 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=2.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.352 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.352/1.585/2.818/1.233 ms') 2025-10-24 07:11:00,613 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-63402920-52275652 passed 2025-10-24 07:11:00,761 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 07:11:00,762 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-63402920-52275652, IP 119.104.90.131, Port 22 2025-10-24 07:11:00,928 - DEBUG - VM ctest-TestBasicPolicy-63402920-52275652 is ready for SSH connections 2025-10-24 07:11:00,928 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 07:11:00,928 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 119.104.90.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-24 07:11:00,928 - DEBUG - ping -s 56 -c 3 -W 1 119.104.90.131 2025-10-24 07:11:04,958 - DEBUG - PING 119.104.90.131 (119.104.90.131): 56 data bytes 64 bytes from 119.104.90.131: seq=0 ttl=63 time=3.381 ms 64 bytes from 119.104.90.131: seq=1 ttl=63 time=0.900 ms 64 bytes from 119.104.90.131: seq=2 ttl=63 time=0.849 ms --- 119.104.90.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.849/1.710/3.381 ms 2025-10-24 07:11:04,958 - INFO - Ping to IP 119.104.90.131 from VM ctest-TestBasicPolicy-63402920-42764081 passed 2025-10-24 07:11:05,133 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b6fdde80-fe8a-4fcf-9c06-019505473be7", "href": "http://10.0.0.254:8082/network-policy/b6fdde80-fe8a-4fcf-9c06-019505473be7"}} 2025-10-24 07:11:05,133 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 07:11:05,133 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 119.104.90.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-24 07:11:05,134 - DEBUG - ping -s 56 -c 3 -W 1 119.104.90.131 2025-10-24 07:11:08,340 - DEBUG - PING 119.104.90.131 (119.104.90.131): 56 data bytes --- 119.104.90.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-24 07:11:08,341 - WARNING - Ping to IP 119.104.90.131 from VM ctest-TestBasicPolicy-63402920-42764081 failed 2025-10-24 07:11:08,341 - INFO - Deleting VM ctest-TestBasicPolicy-63402920-52275652 2025-10-24 07:11:08,406 - INFO - Deleting VM ctest-TestBasicPolicy-63402920-42764081 2025-10-24 07:11:08,799 - INFO - Deleted policy ctest-policy-allow-all-69130630 2025-10-24 07:11:08,799 - INFO - Deleting VN ctest-vn-65638795 2025-10-24 07:11:08,844 - DEBUG - VN 4c8fcacb-9ee6-4281-bf32-f750dafbd7e5 still in use: Unable to complete operation on network 4c8fcacb-9ee6-4281-bf32-f750dafbd7e5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-15686db8-5125-46ee-93fe-ce75797dbc54'] 2025-10-24 07:11:08,844 - WARNING - Deleting VN ctest-vn-65638795 failed..Will retry 2025-10-24 07:11:10,937 - DEBUG - Response for deleting network () 2025-10-24 07:11:10,937 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/b6f7ef33-3cac-49cc-9187-30ecc2ee0bde 2025-10-24 07:11:10,942 - DEBUG - Response Code: 404 2025-10-24 07:11:10,942 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-24 07:11:10,947 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b14f5014-812f-48b7-97b0-60be1c99177c 2025-10-24 07:11:10,998 - DEBUG - Requesting: http://10.0.0.254:8082/project/4dbadf57-d592-49a0-89f7-4549410b78bd 2025-10-24 07:11:11,064 - INFO - Validated that VN ctest-vn-65638795 is not found in API Server 2025-10-24 07:11:11,074 - DEBUG - VN ctest-vn-65638795 is not present in Agent 10.0.0.254 2025-10-24 07:11:11,074 - INFO - Validated that VN ctest-vn-65638795 is not in any agent 2025-10-24 07:11:11,086 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-65638795 info 2025-10-24 07:11:11,086 - INFO - Deleting VN ctest-vn-19144941 2025-10-24 07:11:11,207 - DEBUG - Response for deleting network () 2025-10-24 07:11:11,207 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/21d24421-3af7-4cab-bb2d-5e3aeea47606 2025-10-24 07:11:11,215 - DEBUG - Response Code: 404 2025-10-24 07:11:11,216 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-24 07:11:11,220 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b14f5014-812f-48b7-97b0-60be1c99177c 2025-10-24 07:11:11,274 - DEBUG - Requesting: http://10.0.0.254:8082/project/4dbadf57-d592-49a0-89f7-4549410b78bd 2025-10-24 07:11:11,342 - INFO - Validated that VN ctest-vn-19144941 is not found in API Server 2025-10-24 07:11:11,351 - DEBUG - VN ctest-vn-19144941 is not present in Agent 10.0.0.254 2025-10-24 07:11:11,351 - INFO - Validated that VN ctest-vn-19144941 is not in any agent 2025-10-24 07:11:11,362 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-19144941 info 2025-10-24 07:11:11,613 - DEBUG - No XMPP flaps were noticed during the test
2025-10-24 07:11:11,613 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34]
2025-10-24 07:11:11,613 - INFO - -------------------------------------------------------------------------------- 2025-10-24 07:11:12,278 - INFO - Deleted project: ctest-TestBasicPolicy-63402920, ID : 4dbadf57-d592-49a0-89f7-4549410b78bd