2025-09-29 01:50:48,824 - INFO - Domain Default found not creating 2025-09-29 01:50:48,959 - INFO - Project ctest-TestBasicPolicy-52691299 not found, creating it 2025-09-29 01:50:49,408 - INFO - Created Project:ctest-TestBasicPolicy-52691299, ID : 4f2ca41a-e07f-4b34-acc9-c6cfd7268032 2025-09-29 01:50:50,803 - INFO - ================================================================================ 2025-09-29 01:50:50,804 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-29 01:50:50,804 - 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-09-29 01:50:51,059 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.14': '0'}} with 2025-09-29 01:50:51,059 - INFO - Initial checks done. Running the testcase now 2025-09-29 01:50:51,059 - INFO - 2025-09-29 01:50:51,615 - DEBUG - Response for create_network : {'network': {'id': '62fa53d5-d22c-4054-99f1-0762122fb946', 'name': 'ctest-vn-94953015', 'tenant_id': '4f2ca41ae07f4b34acc9c6cfd7268032', 'project_id': '4f2ca41ae07f4b34acc9c6cfd7268032', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52691299', 'ctest-vn-94953015'], 'port_security_enabled': True, 'description': ''}} 2025-09-29 01:50:51,765 - DEBUG - Response for create_subnet : {'subnet': {'id': '86249155-cb7e-40aa-9542-3c57365c8ba7', 'name': '', 'tenant_id': '4f2ca41ae07f4b34acc9c6cfd7268032', 'network_id': '62fa53d5-d22c-4054-99f1-0762122fb946', 'ip_version': 4, 'cidr': '78.192.246.192/26', 'allocation_pools': [{'start': '78.192.246.194', 'end': '78.192.246.254'}], 'gateway_ip': '78.192.246.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '78.192.246.194', 'tags': [], 'project_id': '4f2ca41ae07f4b34acc9c6cfd7268032'}} 2025-09-29 01:50:51,784 - INFO - Created VN ctest-vn-94953015 2025-09-29 01:50:51,834 - DEBUG - VN ctest-vn-94953015 UUID is 62fa53d5-d22c-4054-99f1-0762122fb946 2025-09-29 01:50:52,170 - DEBUG - Response for create_network : {'network': {'id': 'fd4151cb-ab41-4ef9-abab-bf425f4ee392', 'name': 'ctest-vn-96115027', 'tenant_id': '4f2ca41ae07f4b34acc9c6cfd7268032', 'project_id': '4f2ca41ae07f4b34acc9c6cfd7268032', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52691299', 'ctest-vn-96115027'], 'port_security_enabled': True, 'description': ''}} 2025-09-29 01:50:52,357 - DEBUG - Response for create_subnet : {'subnet': {'id': '0d46dc87-3e87-494a-8b17-9d50f5d71d72', 'name': '', 'tenant_id': '4f2ca41ae07f4b34acc9c6cfd7268032', 'network_id': 'fd4151cb-ab41-4ef9-abab-bf425f4ee392', 'ip_version': 4, 'cidr': '74.21.106.64/26', 'allocation_pools': [{'start': '74.21.106.66', 'end': '74.21.106.126'}], 'gateway_ip': '74.21.106.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '74.21.106.66', 'tags': [], 'project_id': '4f2ca41ae07f4b34acc9c6cfd7268032'}} 2025-09-29 01:50:52,374 - INFO - Created VN ctest-vn-96115027 2025-09-29 01:50:52,426 - DEBUG - VN ctest-vn-96115027 UUID is fd4151cb-ab41-4ef9-abab-bf425f4ee392 2025-09-29 01:50:52,574 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-52691299:ctest-vn-94953015, 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-52691299:ctest-vn-96115027, 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-09-29 01:50:52,867 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '62fa53d5-d22c-4054-99f1-0762122fb946', 'name': 'ctest-vn-94953015', 'tenant_id': '4f2ca41ae07f4b34acc9c6cfd7268032', 'project_id': '4f2ca41ae07f4b34acc9c6cfd7268032', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['86249155-cb7e-40aa-9542-3c57365c8ba7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52691299', 'ctest-vn-94953015'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-52691299', 'ctest-policy-allow-all-36159962']], 'subnet_ipam': [{'subnet_cidr': '78.192.246.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-29 01:50:53,094 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fd4151cb-ab41-4ef9-abab-bf425f4ee392', 'name': 'ctest-vn-96115027', 'tenant_id': '4f2ca41ae07f4b34acc9c6cfd7268032', 'project_id': '4f2ca41ae07f4b34acc9c6cfd7268032', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0d46dc87-3e87-494a-8b17-9d50f5d71d72'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52691299', 'ctest-vn-96115027'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-52691299', 'ctest-policy-allow-all-36159962']], 'subnet_ipam': [{'subnet_cidr': '74.21.106.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-29 01:50:53,258 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-09-29 01:50:53,551 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-09-29 01:50:53,577 - DEBUG - Requesting: http://10.0.0.130:8082/domain/137491c9-af0d-4881-aa86-970d73b1f58a 2025-09-29 01:50:53,592 - DEBUG - Requesting: http://10.0.0.130:8082/project/4f2ca41a-e07f-4b34-acc9-c6cfd7268032 2025-09-29 01:50:53,663 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/62fa53d5-d22c-4054-99f1-0762122fb946 2025-09-29 01:50:53,673 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/62fa53d5-d22c-4054-99f1-0762122fb946 2025-09-29 01:50:53,684 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/61fcbbfc-0a3f-44e5-ad5b-7a195048bae9 2025-09-29 01:50:53,692 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/61fcbbfc-0a3f-44e5-ad5b-7a195048bae9 2025-09-29 01:50:53,698 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/5c7dcca0-e052-4812-b439-dd9ba09010e0 2025-09-29 01:50:53,705 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-29 01:50:53,705 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/62fa53d5-d22c-4054-99f1-0762122fb946 2025-09-29 01:50:53,713 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/61fcbbfc-0a3f-44e5-ad5b-7a195048bae9 2025-09-29 01:50:53,725 - INFO - Verified VN network id 11 for VN 62fa53d5-d22c-4054-99f1-0762122fb946 2025-09-29 01:50:53,725 - INFO - Verifications in API Server for VN ctest-vn-94953015 passed 2025-09-29 01:50:53,726 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/62fa53d5-d22c-4054-99f1-0762122fb946 2025-09-29 01:50:53,734 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/61fcbbfc-0a3f-44e5-ad5b-7a195048bae9 2025-09-29 01:50:53,740 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/61fcbbfc-0a3f-44e5-ad5b-7a195048bae9 2025-09-29 01:50:53,746 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/5c7dcca0-e052-4812-b439-dd9ba09010e0 2025-09-29 01:50:53,758 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-52691299:ctest-vn-94953015', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-52691299', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7132105137713856596', 'uuid-lslong': '11092655474983549254'}, 'enable': 'true', 'created': '2025-09-29T01:50:51', 'last-modified': '2025-09-29T01:50:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.919994'} 2025-09-29 01:50:53,765 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-29 01:50:53,765 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-94953015 passed 2025-09-29 01:50:53,765 - DEBUG - ====Verifying policy data for ctest-vn-94953015 in API_Server ====== 2025-09-29 01:50:53,765 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-09-29 01:50:53,771 - DEBUG - Requesting: http://10.0.0.130:8082/domain/137491c9-af0d-4881-aa86-970d73b1f58a 2025-09-29 01:50:53,781 - DEBUG - Requesting: http://10.0.0.130:8082/project/4f2ca41a-e07f-4b34-acc9-c6cfd7268032 2025-09-29 01:50:53,851 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/62fa53d5-d22c-4054-99f1-0762122fb946 2025-09-29 01:50:53,859 - DEBUG - ==>Verifying data for policy with id: 36aa5011-8895-4d09-9a04-5365f371f731, fqn: ['default-domain', 'ctest-TestBasicPolicy-52691299', 'ctest-policy-allow-all-36159962'] 2025-09-29 01:50:53,859 - INFO - VN ctest-vn-94953015 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-29 01:50:53,859 - DEBUG - Verifying the vn in opserver 2025-09-29 01:50:53,859 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-52691299:ctest-vn-94953015 virtual network link through opserver 10.0.0.130 2025-09-29 01:50:53,859 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-09-29 01:50:54,154 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-09-29 01:50:54,208 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-52691299:ctest-vn-94953015', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-52691299:ctest-vn-94953015?flat'} 2025-09-29 01:50:54,208 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-52691299:ctest-vn-94953015 is found in opserver 2025-09-29 01:50:54,217 - DEBUG - Do not have enough data to verify VN in agent 2025-09-29 01:50:54,222 - DEBUG - VRF ids for VN ctest-vn-94953015: {} 2025-09-29 01:50:54,222 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-09-29 01:50:54,227 - DEBUG - Requesting: http://10.0.0.130:8082/domain/137491c9-af0d-4881-aa86-970d73b1f58a 2025-09-29 01:50:54,237 - DEBUG - Requesting: http://10.0.0.130:8082/project/4f2ca41a-e07f-4b34-acc9-c6cfd7268032 2025-09-29 01:50:54,304 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/fd4151cb-ab41-4ef9-abab-bf425f4ee392 2025-09-29 01:50:54,320 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/fd4151cb-ab41-4ef9-abab-bf425f4ee392 2025-09-29 01:50:54,331 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/b6213455-7994-496f-b263-d783dbf47223 2025-09-29 01:50:54,342 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/b6213455-7994-496f-b263-d783dbf47223 2025-09-29 01:50:54,351 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/d29cb509-5b01-495d-bfb6-50ac2337bd24 2025-09-29 01:50:54,358 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-29 01:50:54,358 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/fd4151cb-ab41-4ef9-abab-bf425f4ee392 2025-09-29 01:50:54,367 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/b6213455-7994-496f-b263-d783dbf47223 2025-09-29 01:50:54,380 - INFO - Verified VN network id 12 for VN fd4151cb-ab41-4ef9-abab-bf425f4ee392 2025-09-29 01:50:54,380 - INFO - Verifications in API Server for VN ctest-vn-96115027 passed 2025-09-29 01:50:54,380 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/fd4151cb-ab41-4ef9-abab-bf425f4ee392 2025-09-29 01:50:54,389 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/b6213455-7994-496f-b263-d783dbf47223 2025-09-29 01:50:54,416 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/b6213455-7994-496f-b263-d783dbf47223 2025-09-29 01:50:54,422 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/d29cb509-5b01-495d-bfb6-50ac2337bd24 2025-09-29 01:50:54,433 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-52691299:ctest-vn-96115027', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-52691299', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18248957100275355385', 'uuid-lslong': '12370191093290951570'}, 'enable': 'true', 'created': '2025-09-29T01:50:52', 'last-modified': '2025-09-29T01:50:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.359247'} 2025-09-29 01:50:54,439 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-29 01:50:54,439 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96115027 passed 2025-09-29 01:50:54,439 - DEBUG - ====Verifying policy data for ctest-vn-96115027 in API_Server ====== 2025-09-29 01:50:54,439 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-09-29 01:50:54,445 - DEBUG - Requesting: http://10.0.0.130:8082/domain/137491c9-af0d-4881-aa86-970d73b1f58a 2025-09-29 01:50:54,455 - DEBUG - Requesting: http://10.0.0.130:8082/project/4f2ca41a-e07f-4b34-acc9-c6cfd7268032 2025-09-29 01:50:54,522 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/fd4151cb-ab41-4ef9-abab-bf425f4ee392 2025-09-29 01:50:54,531 - DEBUG - ==>Verifying data for policy with id: 36aa5011-8895-4d09-9a04-5365f371f731, fqn: ['default-domain', 'ctest-TestBasicPolicy-52691299', 'ctest-policy-allow-all-36159962'] 2025-09-29 01:50:54,531 - INFO - VN ctest-vn-96115027 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-29 01:50:54,531 - DEBUG - Verifying the vn in opserver 2025-09-29 01:50:54,531 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-52691299:ctest-vn-96115027 virtual network link through opserver 10.0.0.130 2025-09-29 01:50:54,531 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-09-29 01:50:54,540 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-52691299:ctest-vn-96115027', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-52691299:ctest-vn-96115027?flat'} 2025-09-29 01:50:54,540 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-52691299:ctest-vn-96115027 is found in opserver 2025-09-29 01:50:54,550 - DEBUG - Do not have enough data to verify VN in agent 2025-09-29 01:50:54,554 - DEBUG - VRF ids for VN ctest-vn-96115027: {} 2025-09-29 01:50:54,609 - DEBUG - Services list from nova: [, , ] 2025-09-29 01:50:55,598 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4202-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4202-1) 2025-09-29 01:50:56,727 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4202-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4202-1) 2025-09-29 01:50:56,728 - INFO - Waiting for VM ctest-TestBasicPolicy-52691299-01906337 to be up.. 2025-09-29 01:50:56,802 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-29 01:51:01,878 - DEBUG - VM is in ACTIVE state now 2025-09-29 01:51:01,879 - INFO - VM name : ctest-TestBasicPolicy-52691299-01906337 2025-09-29 01:51:01,949 - DEBUG - VM ctest-TestBasicPolicy-52691299-01906337 ID is 855ff554-23d3-4380-8acd-7a449c900660 2025-09-29 01:51:01,968 - DEBUG - VM ctest-TestBasicPolicy-52691299-01906337 launched on Node cn-jenkins-deploy-platform-ansible-os-4202-1 2025-09-29 01:51:02,042 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/855ff554-23d3-4380-8acd-7a449c900660 2025-09-29 01:51:02,052 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/5b7ad0ba-79ea-44a5-9c18-d4fc9de2ef27 2025-09-29 01:51:05,320 - 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 1031ms') 2025-09-29 01:51:05,320 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-52691299-01906337 failed! 2025-09-29 01:51:05,374 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-52691299:ctest-vn-94953015 is 78.192.246.193 and allocation pool is NOT set 2025-09-29 01:51:07,439 - 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.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.894 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.894/4.323/7.752/3.429 ms') 2025-09-29 01:51:07,439 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-52691299-01906337 passed 2025-09-29 01:51:07,590 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 01:51:07,590 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-52691299-01906337, IP 78.192.246.195, Port 22 2025-09-29 01:51:07,656 - 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-09-29 01:51:07,731 - DEBUG - VM ctest-TestBasicPolicy-52691299-01906337 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-29 01:51:12,731 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 01:51:12,732 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-52691299-01906337, IP 78.192.246.195, Port 22 2025-09-29 01:51:12,889 - DEBUG - VM ctest-TestBasicPolicy-52691299-01906337 is ready for SSH connections 2025-09-29 01:51:12,890 - INFO - Waiting for VM ctest-TestBasicPolicy-52691299-28674905 to be up.. 2025-09-29 01:51:12,959 - DEBUG - VM is in ACTIVE state now 2025-09-29 01:51:12,959 - INFO - VM name : ctest-TestBasicPolicy-52691299-28674905 2025-09-29 01:51:13,026 - DEBUG - VM ctest-TestBasicPolicy-52691299-28674905 ID is 1f418388-3b3e-4d8e-adb5-27cc07ef781b 2025-09-29 01:51:13,026 - DEBUG - VM ctest-TestBasicPolicy-52691299-28674905 launched on Node cn-jenkins-deploy-platform-ansible-os-4202-1 2025-09-29 01:51:13,092 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/1f418388-3b3e-4d8e-adb5-27cc07ef781b 2025-09-29 01:51:13,101 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/2e89ecad-94f4-4c80-82a3-d1bcae931c65 2025-09-29 01:51:14,326 - 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.407 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.407/1.720/3.033/1.313 ms') 2025-09-29 01:51:14,327 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-52691299-28674905 passed 2025-09-29 01:51:14,474 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 01:51:14,474 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-52691299-28674905, IP 74.21.106.67, Port 22 2025-09-29 01:51:14,629 - DEBUG - VM ctest-TestBasicPolicy-52691299-28674905 is ready for SSH connections 2025-09-29 01:51:14,629 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 01:51:14,629 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 74.21.106.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-09-29 01:51:14,629 - DEBUG - ping -s 56 -c 3 -W 1 74.21.106.67 2025-09-29 01:51:18,699 - DEBUG - PING 74.21.106.67 (74.21.106.67): 56 data bytes 64 bytes from 74.21.106.67: seq=0 ttl=63 time=3.899 ms 64 bytes from 74.21.106.67: seq=1 ttl=63 time=0.773 ms 64 bytes from 74.21.106.67: seq=2 ttl=63 time=1.393 ms --- 74.21.106.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.773/2.021/3.899 ms 2025-09-29 01:51:18,699 - INFO - Ping to IP 74.21.106.67 from VM ctest-TestBasicPolicy-52691299-01906337 passed 2025-09-29 01:51:18,881 - DEBUG - Policy Update Response {"network-policy": {"uuid": "36aa5011-8895-4d09-9a04-5365f371f731", "href": "http://10.0.0.130:8082/network-policy/36aa5011-8895-4d09-9a04-5365f371f731"}} 2025-09-29 01:51:18,882 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 01:51:18,882 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 74.21.106.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-09-29 01:51:18,882 - DEBUG - ping -s 56 -c 3 -W 1 74.21.106.67 2025-09-29 01:51:22,088 - DEBUG - PING 74.21.106.67 (74.21.106.67): 56 data bytes --- 74.21.106.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-29 01:51:22,088 - WARNING - Ping to IP 74.21.106.67 from VM ctest-TestBasicPolicy-52691299-01906337 failed 2025-09-29 01:51:22,088 - INFO - Deleting VM ctest-TestBasicPolicy-52691299-28674905 2025-09-29 01:51:22,170 - INFO - Deleting VM ctest-TestBasicPolicy-52691299-01906337 2025-09-29 01:51:22,542 - INFO - Deleted policy ctest-policy-allow-all-36159962 2025-09-29 01:51:22,543 - INFO - Deleting VN ctest-vn-96115027 2025-09-29 01:51:22,582 - DEBUG - VN fd4151cb-ab41-4ef9-abab-bf425f4ee392 still in use: Unable to complete operation on network fd4151cb-ab41-4ef9-abab-bf425f4ee392. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-530c0ee4-2c46-40e2-8fd4-47aeacd7662e'] 2025-09-29 01:51:22,582 - WARNING - Deleting VN ctest-vn-96115027 failed..Will retry 2025-09-29 01:51:24,701 - DEBUG - Response for deleting network () 2025-09-29 01:51:24,701 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/b6213455-7994-496f-b263-d783dbf47223 2025-09-29 01:51:24,706 - DEBUG - Response Code: 404 2025-09-29 01:51:24,706 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-09-29 01:51:24,714 - DEBUG - Requesting: http://10.0.0.130:8082/domain/137491c9-af0d-4881-aa86-970d73b1f58a 2025-09-29 01:51:24,771 - DEBUG - Requesting: http://10.0.0.130:8082/project/4f2ca41a-e07f-4b34-acc9-c6cfd7268032 2025-09-29 01:51:24,845 - INFO - Validated that VN ctest-vn-96115027 is not found in API Server 2025-09-29 01:51:24,854 - DEBUG - VN ctest-vn-96115027 is not present in Agent 10.0.0.130 2025-09-29 01:51:24,854 - INFO - Validated that VN ctest-vn-96115027 is not in any agent 2025-09-29 01:51:24,870 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-96115027 info 2025-09-29 01:51:24,870 - INFO - Deleting VN ctest-vn-94953015 2025-09-29 01:51:24,973 - DEBUG - Response for deleting network () 2025-09-29 01:51:24,973 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/61fcbbfc-0a3f-44e5-ad5b-7a195048bae9 2025-09-29 01:51:24,981 - DEBUG - Response Code: 404 2025-09-29 01:51:24,981 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-09-29 01:51:24,988 - DEBUG - Requesting: http://10.0.0.130:8082/domain/137491c9-af0d-4881-aa86-970d73b1f58a 2025-09-29 01:51:25,042 - DEBUG - Requesting: http://10.0.0.130:8082/project/4f2ca41a-e07f-4b34-acc9-c6cfd7268032 2025-09-29 01:51:25,108 - INFO - Validated that VN ctest-vn-94953015 is not found in API Server 2025-09-29 01:51:25,116 - DEBUG - VN ctest-vn-94953015 is not present in Agent 10.0.0.130 2025-09-29 01:51:25,116 - INFO - Validated that VN ctest-vn-94953015 is not in any agent 2025-09-29 01:51:25,129 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-94953015 info 2025-09-29 01:51:25,383 - DEBUG - No XMPP flaps were noticed during the test
2025-09-29 01:51:25,383 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2025-09-29 01:51:25,383 - INFO - -------------------------------------------------------------------------------- 2025-09-29 01:51:26,069 - INFO - Deleted project: ctest-TestBasicPolicy-52691299, ID : 4f2ca41a-e07f-4b34-acc9-c6cfd7268032