2025-09-23 20:36:07,717 - INFO - Domain Default found not creating 2025-09-23 20:36:08,088 - INFO - Project ctest-TestBasicPolicy-12957395 not found, creating it 2025-09-23 20:36:08,854 - INFO - Created Project:ctest-TestBasicPolicy-12957395, ID : beb9da85-a6e7-43df-8a4f-eb15772e9b8c 2025-09-23 20:36:10,782 - INFO - ================================================================================ 2025-09-23 20:36:10,782 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-23 20:36:10,782 - 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-23 20:36:11,111 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-09-23 20:36:11,112 - INFO - Initial checks done. Running the testcase now 2025-09-23 20:36:11,112 - INFO - 2025-09-23 20:36:11,943 - DEBUG - Response for create_network : {'network': {'id': '0f762b2e-24ee-4148-8722-26006cae1733', 'name': 'ctest-vn-66815813', 'tenant_id': 'beb9da85a6e743df8a4feb15772e9b8c', 'project_id': 'beb9da85a6e743df8a4feb15772e9b8c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12957395', 'ctest-vn-66815813'], 'port_security_enabled': True, 'description': ''}} 2025-09-23 20:36:12,199 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c83f61c8-6c6e-4aa1-9784-09b8c9ffc4b4', 'name': '', 'tenant_id': 'beb9da85a6e743df8a4feb15772e9b8c', 'network_id': '0f762b2e-24ee-4148-8722-26006cae1733', 'ip_version': 4, 'cidr': '177.166.199.128/26', 'allocation_pools': [{'start': '177.166.199.130', 'end': '177.166.199.190'}], 'gateway_ip': '177.166.199.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.166.199.130', 'tags': [], 'project_id': 'beb9da85a6e743df8a4feb15772e9b8c'}} 2025-09-23 20:36:12,223 - INFO - Created VN ctest-vn-66815813 2025-09-23 20:36:12,287 - DEBUG - VN ctest-vn-66815813 UUID is 0f762b2e-24ee-4148-8722-26006cae1733 2025-09-23 20:36:12,750 - DEBUG - Response for create_network : {'network': {'id': 'a25aa06a-1ff9-4843-8940-f0a81f0505e5', 'name': 'ctest-vn-49608092', 'tenant_id': 'beb9da85a6e743df8a4feb15772e9b8c', 'project_id': 'beb9da85a6e743df8a4feb15772e9b8c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12957395', 'ctest-vn-49608092'], 'port_security_enabled': True, 'description': ''}} 2025-09-23 20:36:12,983 - DEBUG - Response for create_subnet : {'subnet': {'id': '40939289-84ca-48eb-8d0d-25508fd4ec69', 'name': '', 'tenant_id': 'beb9da85a6e743df8a4feb15772e9b8c', 'network_id': 'a25aa06a-1ff9-4843-8940-f0a81f0505e5', 'ip_version': 4, 'cidr': '104.213.167.64/26', 'allocation_pools': [{'start': '104.213.167.66', 'end': '104.213.167.126'}], 'gateway_ip': '104.213.167.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.213.167.66', 'tags': [], 'project_id': 'beb9da85a6e743df8a4feb15772e9b8c'}} 2025-09-23 20:36:13,007 - INFO - Created VN ctest-vn-49608092 2025-09-23 20:36:13,067 - DEBUG - VN ctest-vn-49608092 UUID is a25aa06a-1ff9-4843-8940-f0a81f0505e5 2025-09-23 20:36:13,238 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-12957395:ctest-vn-66815813, 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-12957395:ctest-vn-49608092, 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-23 20:36:13,723 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0f762b2e-24ee-4148-8722-26006cae1733', 'name': 'ctest-vn-66815813', 'tenant_id': 'beb9da85a6e743df8a4feb15772e9b8c', 'project_id': 'beb9da85a6e743df8a4feb15772e9b8c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c83f61c8-6c6e-4aa1-9784-09b8c9ffc4b4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12957395', 'ctest-vn-66815813'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-12957395', 'ctest-policy-allow-all-79681203']], 'subnet_ipam': [{'subnet_cidr': '177.166.199.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-23 20:36:14,076 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a25aa06a-1ff9-4843-8940-f0a81f0505e5', 'name': 'ctest-vn-49608092', 'tenant_id': 'beb9da85a6e743df8a4feb15772e9b8c', 'project_id': 'beb9da85a6e743df8a4feb15772e9b8c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['40939289-84ca-48eb-8d0d-25508fd4ec69'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12957395', 'ctest-vn-49608092'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-12957395', 'ctest-policy-allow-all-79681203']], 'subnet_ipam': [{'subnet_cidr': '104.213.167.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-23 20:36:14,275 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-09-23 20:36:14,618 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-09-23 20:36:14,658 - DEBUG - Requesting: http://10.0.0.48:8082/domain/0e306419-b187-46e7-a5cc-c5c009990e70 2025-09-23 20:36:14,683 - DEBUG - Requesting: http://10.0.0.48:8082/project/beb9da85-a6e7-43df-8a4f-eb15772e9b8c 2025-09-23 20:36:14,800 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/0f762b2e-24ee-4148-8722-26006cae1733 2025-09-23 20:36:14,823 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/0f762b2e-24ee-4148-8722-26006cae1733 2025-09-23 20:36:14,841 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/0c1bc608-783b-4a85-8007-ca680e470d5d 2025-09-23 20:36:14,861 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/0c1bc608-783b-4a85-8007-ca680e470d5d 2025-09-23 20:36:14,881 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/f58e3e97-5d17-41b1-8a8f-477382ca26f0 2025-09-23 20:36:14,899 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-23 20:36:14,900 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/0f762b2e-24ee-4148-8722-26006cae1733 2025-09-23 20:36:14,915 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/0c1bc608-783b-4a85-8007-ca680e470d5d 2025-09-23 20:36:14,945 - INFO - Verified VN network id 11 for VN 0f762b2e-24ee-4148-8722-26006cae1733 2025-09-23 20:36:14,945 - INFO - Verifications in API Server for VN ctest-vn-66815813 passed 2025-09-23 20:36:14,946 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/0f762b2e-24ee-4148-8722-26006cae1733 2025-09-23 20:36:14,973 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/0c1bc608-783b-4a85-8007-ca680e470d5d 2025-09-23 20:36:14,990 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/0c1bc608-783b-4a85-8007-ca680e470d5d 2025-09-23 20:36:15,009 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/f58e3e97-5d17-41b1-8a8f-477382ca26f0 2025-09-23 20:36:15,040 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-12957395:ctest-vn-66815813', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-12957395', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1114125435008860488', 'uuid-lslong': '9737387127593637683'}, 'enable': 'true', 'created': '2025-09-23T20:36:11', 'last-modified': '2025-09-23T20:36:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.377096'} 2025-09-23 20:36:15,058 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-23 20:36:15,059 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66815813 passed 2025-09-23 20:36:15,059 - DEBUG - ====Verifying policy data for ctest-vn-66815813 in API_Server ====== 2025-09-23 20:36:15,060 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-09-23 20:36:15,072 - DEBUG - Requesting: http://10.0.0.48:8082/domain/0e306419-b187-46e7-a5cc-c5c009990e70 2025-09-23 20:36:15,101 - DEBUG - Requesting: http://10.0.0.48:8082/project/beb9da85-a6e7-43df-8a4f-eb15772e9b8c 2025-09-23 20:36:15,217 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/0f762b2e-24ee-4148-8722-26006cae1733 2025-09-23 20:36:15,244 - DEBUG - ==>Verifying data for policy with id: eaa65369-3af0-4715-82e7-997f6e2ded36, fqn: ['default-domain', 'ctest-TestBasicPolicy-12957395', 'ctest-policy-allow-all-79681203'] 2025-09-23 20:36:15,244 - INFO - VN ctest-vn-66815813 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-23 20:36:15,244 - DEBUG - Verifying the vn in opserver 2025-09-23 20:36:15,244 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-12957395:ctest-vn-66815813 virtual network link through opserver 10.0.0.48 2025-09-23 20:36:15,245 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-09-23 20:36:15,609 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-09-23 20:36:15,677 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-12957395:ctest-vn-66815813', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-12957395:ctest-vn-66815813?flat'} 2025-09-23 20:36:15,677 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-12957395:ctest-vn-66815813 is found in opserver 2025-09-23 20:36:15,698 - DEBUG - Do not have enough data to verify VN in agent 2025-09-23 20:36:15,707 - DEBUG - VRF ids for VN ctest-vn-66815813: {} 2025-09-23 20:36:15,707 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-09-23 20:36:15,717 - DEBUG - Requesting: http://10.0.0.48:8082/domain/0e306419-b187-46e7-a5cc-c5c009990e70 2025-09-23 20:36:15,743 - DEBUG - Requesting: http://10.0.0.48:8082/project/beb9da85-a6e7-43df-8a4f-eb15772e9b8c 2025-09-23 20:36:15,848 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/a25aa06a-1ff9-4843-8940-f0a81f0505e5 2025-09-23 20:36:15,866 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/a25aa06a-1ff9-4843-8940-f0a81f0505e5 2025-09-23 20:36:15,881 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/2c31c364-9cc1-4052-ac93-8d6353edfd5d 2025-09-23 20:36:15,892 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/2c31c364-9cc1-4052-ac93-8d6353edfd5d 2025-09-23 20:36:15,902 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/3c56de6e-1187-4f03-b4c7-1a76c617d322 2025-09-23 20:36:15,912 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-23 20:36:15,912 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/a25aa06a-1ff9-4843-8940-f0a81f0505e5 2025-09-23 20:36:15,924 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/2c31c364-9cc1-4052-ac93-8d6353edfd5d 2025-09-23 20:36:15,945 - INFO - Verified VN network id 12 for VN a25aa06a-1ff9-4843-8940-f0a81f0505e5 2025-09-23 20:36:15,946 - INFO - Verifications in API Server for VN ctest-vn-49608092 passed 2025-09-23 20:36:15,946 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/a25aa06a-1ff9-4843-8940-f0a81f0505e5 2025-09-23 20:36:15,964 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/2c31c364-9cc1-4052-ac93-8d6353edfd5d 2025-09-23 20:36:15,977 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/2c31c364-9cc1-4052-ac93-8d6353edfd5d 2025-09-23 20:36:15,992 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/3c56de6e-1187-4f03-b4c7-1a76c617d322 2025-09-23 20:36:16,016 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-12957395:ctest-vn-49608092', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-12957395', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11698839359711692867', 'uuid-lslong': '9890169386571204069'}, 'enable': 'true', 'created': '2025-09-23T20:36:12', 'last-modified': '2025-09-23T20:36:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.999181'} 2025-09-23 20:36:16,029 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-23 20:36:16,030 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-49608092 passed 2025-09-23 20:36:16,031 - DEBUG - ====Verifying policy data for ctest-vn-49608092 in API_Server ====== 2025-09-23 20:36:16,031 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-09-23 20:36:16,040 - DEBUG - Requesting: http://10.0.0.48:8082/domain/0e306419-b187-46e7-a5cc-c5c009990e70 2025-09-23 20:36:16,065 - DEBUG - Requesting: http://10.0.0.48:8082/project/beb9da85-a6e7-43df-8a4f-eb15772e9b8c 2025-09-23 20:36:16,158 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/a25aa06a-1ff9-4843-8940-f0a81f0505e5 2025-09-23 20:36:16,178 - DEBUG - ==>Verifying data for policy with id: eaa65369-3af0-4715-82e7-997f6e2ded36, fqn: ['default-domain', 'ctest-TestBasicPolicy-12957395', 'ctest-policy-allow-all-79681203'] 2025-09-23 20:36:16,178 - INFO - VN ctest-vn-49608092 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-23 20:36:16,178 - DEBUG - Verifying the vn in opserver 2025-09-23 20:36:16,179 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-12957395:ctest-vn-49608092 virtual network link through opserver 10.0.0.48 2025-09-23 20:36:16,179 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-09-23 20:36:16,199 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-12957395:ctest-vn-49608092', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-12957395:ctest-vn-49608092?flat'} 2025-09-23 20:36:16,199 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-12957395:ctest-vn-49608092 is found in opserver 2025-09-23 20:36:16,227 - DEBUG - Do not have enough data to verify VN in agent 2025-09-23 20:36:16,236 - DEBUG - VRF ids for VN ctest-vn-49608092: {} 2025-09-23 20:36:16,374 - DEBUG - Services list from nova: [, , ] 2025-09-23 20:36:18,015 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4178-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4178-1) 2025-09-23 20:36:19,646 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4178-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4178-1) 2025-09-23 20:36:19,647 - INFO - Waiting for VM ctest-TestBasicPolicy-12957395-50319235 to be up.. 2025-09-23 20:36:19,742 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-23 20:36:24,858 - DEBUG - VM is in ACTIVE state now 2025-09-23 20:36:24,858 - INFO - VM name : ctest-TestBasicPolicy-12957395-50319235 2025-09-23 20:36:24,953 - DEBUG - VM ctest-TestBasicPolicy-12957395-50319235 ID is 2b016849-f44e-4b57-b2ac-b241c6db0c25 2025-09-23 20:36:24,972 - DEBUG - VM ctest-TestBasicPolicy-12957395-50319235 launched on Node cn-jenkins-deploy-platform-ansible-os-4178-1 2025-09-23 20:36:25,068 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/2b016849-f44e-4b57-b2ac-b241c6db0c25 2025-09-23 20:36:25,078 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/48020106-99fa-4b5a-9d53-20653162e828 2025-09-23 20:36:28,332 - 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 1005ms') 2025-09-23 20:36:28,333 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-12957395-50319235 failed! 2025-09-23 20:36:28,407 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-12957395:ctest-vn-66815813 is 177.166.199.129 and allocation pool is NOT set 2025-09-23 20:36:30,494 - 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=9.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.853 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.853/5.346/9.839/4.493 ms') 2025-09-23 20:36:30,494 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-12957395-50319235 passed 2025-09-23 20:36:30,675 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 20:36:30,676 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-12957395-50319235, IP 177.166.199.131, Port 22 2025-09-23 20:36:30,759 - 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-23 20:36:30,950 - DEBUG - VM ctest-TestBasicPolicy-12957395-50319235 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-23 20:36:35,951 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 20:36:35,952 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-12957395-50319235, IP 177.166.199.131, Port 22 2025-09-23 20:36:36,158 - DEBUG - VM ctest-TestBasicPolicy-12957395-50319235 is ready for SSH connections 2025-09-23 20:36:36,158 - INFO - Waiting for VM ctest-TestBasicPolicy-12957395-67292761 to be up.. 2025-09-23 20:36:36,321 - DEBUG - VM is in ACTIVE state now 2025-09-23 20:36:36,321 - INFO - VM name : ctest-TestBasicPolicy-12957395-67292761 2025-09-23 20:36:36,491 - DEBUG - VM ctest-TestBasicPolicy-12957395-67292761 ID is 7d53d48b-2e9e-472d-8e07-6bc8c4750d60 2025-09-23 20:36:36,491 - DEBUG - VM ctest-TestBasicPolicy-12957395-67292761 launched on Node cn-jenkins-deploy-platform-ansible-os-4178-1 2025-09-23 20:36:36,690 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/7d53d48b-2e9e-472d-8e07-6bc8c4750d60 2025-09-23 20:36:36,712 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/280ab891-0528-447b-887e-6cc824e1c43e 2025-09-23 20:36:38,064 - 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=9.06 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.888 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.888/4.973/9.059/4.085 ms') 2025-09-23 20:36:38,065 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-12957395-67292761 passed 2025-09-23 20:36:38,247 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 20:36:38,247 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-12957395-67292761, IP 104.213.167.67, Port 22 2025-09-23 20:36:38,449 - DEBUG - VM ctest-TestBasicPolicy-12957395-67292761 is ready for SSH connections 2025-09-23 20:36:38,449 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 20:36:38,449 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 104.213.167.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-09-23 20:36:38,449 - DEBUG - ping -s 56 -c 3 -W 1 104.213.167.67 2025-09-23 20:36:42,871 - DEBUG - PING 104.213.167.67 (104.213.167.67): 56 data bytes 64 bytes from 104.213.167.67: seq=0 ttl=63 time=4.000 ms 64 bytes from 104.213.167.67: seq=1 ttl=63 time=1.897 ms 64 bytes from 104.213.167.67: seq=2 ttl=63 time=1.814 ms --- 104.213.167.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.814/2.570/4.000 ms 2025-09-23 20:36:42,871 - INFO - Ping to IP 104.213.167.67 from VM ctest-TestBasicPolicy-12957395-50319235 passed 2025-09-23 20:36:43,114 - DEBUG - Policy Update Response {"network-policy": {"uuid": "eaa65369-3af0-4715-82e7-997f6e2ded36", "href": "http://10.0.0.48:8082/network-policy/eaa65369-3af0-4715-82e7-997f6e2ded36"}} 2025-09-23 20:36:43,114 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 20:36:43,115 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 104.213.167.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-09-23 20:36:43,115 - DEBUG - ping -s 56 -c 3 -W 1 104.213.167.67 2025-09-23 20:36:46,409 - DEBUG - PING 104.213.167.67 (104.213.167.67): 56 data bytes 64 bytes from 104.213.167.67: seq=0 ttl=63 time=2.712 ms --- 104.213.167.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.712/2.712/2.712 ms 2025-09-23 20:36:46,410 - WARNING - Ping to IP 104.213.167.67 from VM ctest-TestBasicPolicy-12957395-50319235 failed 2025-09-23 20:36:46,410 - INFO - Deleting VM ctest-TestBasicPolicy-12957395-67292761 2025-09-23 20:36:46,573 - INFO - Deleting VM ctest-TestBasicPolicy-12957395-50319235 2025-09-23 20:36:47,256 - INFO - Deleted policy ctest-policy-allow-all-79681203 2025-09-23 20:36:47,256 - INFO - Deleting VN ctest-vn-49608092 2025-09-23 20:36:47,311 - DEBUG - VN a25aa06a-1ff9-4843-8940-f0a81f0505e5 still in use: Unable to complete operation on network a25aa06a-1ff9-4843-8940-f0a81f0505e5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5c1dbc3e-5504-4c18-82b1-fb013ec395ee'] 2025-09-23 20:36:47,312 - WARNING - Deleting VN ctest-vn-49608092 failed..Will retry 2025-09-23 20:36:49,545 - DEBUG - Response for deleting network () 2025-09-23 20:36:49,545 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/2c31c364-9cc1-4052-ac93-8d6353edfd5d 2025-09-23 20:36:49,556 - DEBUG - Response Code: 404 2025-09-23 20:36:49,556 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-09-23 20:36:49,572 - DEBUG - Requesting: http://10.0.0.48:8082/domain/0e306419-b187-46e7-a5cc-c5c009990e70 2025-09-23 20:36:49,593 - DEBUG - Requesting: http://10.0.0.48:8082/project/beb9da85-a6e7-43df-8a4f-eb15772e9b8c 2025-09-23 20:36:49,699 - INFO - Validated that VN ctest-vn-49608092 is not found in API Server 2025-09-23 20:36:49,721 - DEBUG - VN ctest-vn-49608092 is not present in Agent 10.0.0.48 2025-09-23 20:36:49,721 - INFO - Validated that VN ctest-vn-49608092 is not in any agent 2025-09-23 20:36:49,741 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-49608092 info 2025-09-23 20:36:49,741 - INFO - Deleting VN ctest-vn-66815813 2025-09-23 20:36:49,930 - DEBUG - Response for deleting network () 2025-09-23 20:36:49,930 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/0c1bc608-783b-4a85-8007-ca680e470d5d 2025-09-23 20:36:49,942 - DEBUG - Response Code: 404 2025-09-23 20:36:49,942 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-09-23 20:36:49,951 - DEBUG - Requesting: http://10.0.0.48:8082/domain/0e306419-b187-46e7-a5cc-c5c009990e70 2025-09-23 20:36:49,976 - DEBUG - Requesting: http://10.0.0.48:8082/project/beb9da85-a6e7-43df-8a4f-eb15772e9b8c 2025-09-23 20:36:50,049 - INFO - Validated that VN ctest-vn-66815813 is not found in API Server 2025-09-23 20:36:50,058 - DEBUG - VN ctest-vn-66815813 is not present in Agent 10.0.0.48 2025-09-23 20:36:50,058 - INFO - Validated that VN ctest-vn-66815813 is not in any agent 2025-09-23 20:36:50,072 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-66815813 info 2025-09-23 20:36:50,366 - DEBUG - No XMPP flaps were noticed during the test
2025-09-23 20:36:50,366 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:40]
2025-09-23 20:36:50,367 - INFO - -------------------------------------------------------------------------------- 2025-09-23 20:36:51,240 - INFO - Deleted project: ctest-TestBasicPolicy-12957395, ID : beb9da85-a6e7-43df-8a4f-eb15772e9b8c