2025-07-03 16:51:35,777 - INFO - Domain Default found not creating 2025-07-03 16:51:36,193 - INFO - Project ctest-TestBasicPolicy-95443741 not found, creating it 2025-07-03 16:51:36,865 - INFO - Created Project:ctest-TestBasicPolicy-95443741, ID : 39391c34-639b-4a32-9eda-7dc326a4cfe8 2025-07-03 16:51:39,199 - INFO - ================================================================================ 2025-07-03 16:51:39,200 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-03 16:51:39,200 - 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-03 16:51:39,544 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.254': '0'}} with 2025-07-03 16:51:39,544 - INFO - Initial checks done. Running the testcase now 2025-07-03 16:51:39,544 - INFO - 2025-07-03 16:51:40,503 - DEBUG - Response for create_network : {'network': {'id': '76f63327-b646-475c-8571-18bf19908f6f', 'name': 'ctest-vn-86098509', 'tenant_id': '39391c34639b4a329eda7dc326a4cfe8', 'project_id': '39391c34639b4a329eda7dc326a4cfe8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95443741', 'ctest-vn-86098509'], 'port_security_enabled': True, 'description': ''}} 2025-07-03 16:51:40,816 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd1e86005-88c3-410f-8240-1ad0c840303a', 'name': '', 'tenant_id': '39391c34639b4a329eda7dc326a4cfe8', 'network_id': '76f63327-b646-475c-8571-18bf19908f6f', 'ip_version': 4, 'cidr': '46.245.221.128/26', 'allocation_pools': [{'start': '46.245.221.130', 'end': '46.245.221.190'}], 'gateway_ip': '46.245.221.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.245.221.130', 'tags': [], 'project_id': '39391c34639b4a329eda7dc326a4cfe8'}} 2025-07-03 16:51:40,867 - INFO - Created VN ctest-vn-86098509 2025-07-03 16:51:40,942 - DEBUG - VN ctest-vn-86098509 UUID is 76f63327-b646-475c-8571-18bf19908f6f 2025-07-03 16:51:41,424 - DEBUG - Response for create_network : {'network': {'id': '4e4cc06d-21da-41e5-9b7d-9e51bf1577e5', 'name': 'ctest-vn-81139737', 'tenant_id': '39391c34639b4a329eda7dc326a4cfe8', 'project_id': '39391c34639b4a329eda7dc326a4cfe8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95443741', 'ctest-vn-81139737'], 'port_security_enabled': True, 'description': ''}} 2025-07-03 16:51:41,617 - DEBUG - Response for create_subnet : {'subnet': {'id': '6c6a45ec-4d73-482e-8d34-d004dfd17858', 'name': '', 'tenant_id': '39391c34639b4a329eda7dc326a4cfe8', 'network_id': '4e4cc06d-21da-41e5-9b7d-9e51bf1577e5', 'ip_version': 4, 'cidr': '138.214.89.128/26', 'allocation_pools': [{'start': '138.214.89.130', 'end': '138.214.89.190'}], 'gateway_ip': '138.214.89.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '138.214.89.130', 'tags': [], 'project_id': '39391c34639b4a329eda7dc326a4cfe8'}} 2025-07-03 16:51:41,646 - INFO - Created VN ctest-vn-81139737 2025-07-03 16:51:41,706 - DEBUG - VN ctest-vn-81139737 UUID is 4e4cc06d-21da-41e5-9b7d-9e51bf1577e5 2025-07-03 16:51:41,904 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-95443741:ctest-vn-86098509, 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-95443741:ctest-vn-81139737, 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-03 16:51:42,487 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '76f63327-b646-475c-8571-18bf19908f6f', 'name': 'ctest-vn-86098509', 'tenant_id': '39391c34639b4a329eda7dc326a4cfe8', 'project_id': '39391c34639b4a329eda7dc326a4cfe8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d1e86005-88c3-410f-8240-1ad0c840303a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95443741', 'ctest-vn-86098509'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-95443741', 'ctest-policy-allow-all-82598805']], 'subnet_ipam': [{'subnet_cidr': '46.245.221.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-03 16:51:42,744 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4e4cc06d-21da-41e5-9b7d-9e51bf1577e5', 'name': 'ctest-vn-81139737', 'tenant_id': '39391c34639b4a329eda7dc326a4cfe8', 'project_id': '39391c34639b4a329eda7dc326a4cfe8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6c6a45ec-4d73-482e-8d34-d004dfd17858'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95443741', 'ctest-vn-81139737'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-95443741', 'ctest-policy-allow-all-82598805']], 'subnet_ipam': [{'subnet_cidr': '138.214.89.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-03 16:51:42,885 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-07-03 16:51:43,188 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-07-03 16:51:43,225 - DEBUG - Requesting: http://10.0.0.57:8082/domain/e634928c-73dc-4c6c-b2a6-83351791fec6 2025-07-03 16:51:43,239 - DEBUG - Requesting: http://10.0.0.57:8082/project/39391c34-639b-4a32-9eda-7dc326a4cfe8 2025-07-03 16:51:43,323 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/76f63327-b646-475c-8571-18bf19908f6f 2025-07-03 16:51:43,342 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/76f63327-b646-475c-8571-18bf19908f6f 2025-07-03 16:51:43,354 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/ea25b80e-d001-4fe6-821f-237425ed4a57 2025-07-03 16:51:43,364 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/ea25b80e-d001-4fe6-821f-237425ed4a57 2025-07-03 16:51:43,375 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/717c3336-c861-4deb-82e9-a83715cb1b48 2025-07-03 16:51:43,385 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-03 16:51:43,385 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/76f63327-b646-475c-8571-18bf19908f6f 2025-07-03 16:51:43,403 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/ea25b80e-d001-4fe6-821f-237425ed4a57 2025-07-03 16:51:43,428 - INFO - Verified VN network id 9 for VN 76f63327-b646-475c-8571-18bf19908f6f 2025-07-03 16:51:43,428 - INFO - Verifications in API Server for VN ctest-vn-86098509 passed 2025-07-03 16:51:43,429 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/76f63327-b646-475c-8571-18bf19908f6f 2025-07-03 16:51:43,443 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/ea25b80e-d001-4fe6-821f-237425ed4a57 2025-07-03 16:51:43,453 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/ea25b80e-d001-4fe6-821f-237425ed4a57 2025-07-03 16:51:43,469 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/717c3336-c861-4deb-82e9-a83715cb1b48 2025-07-03 16:51:43,494 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-95443741:ctest-vn-86098509', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-95443741', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8572095186401118044', 'uuid-lslong': '9615493888459444079'}, 'enable': 'true', 'created': '2025-07-03T16:51:40', 'last-modified': '2025-07-03T16:51:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.053696'} 2025-07-03 16:51:43,509 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-03 16:51:43,509 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-86098509 passed 2025-07-03 16:51:43,509 - DEBUG - ====Verifying policy data for ctest-vn-86098509 in API_Server ====== 2025-07-03 16:51:43,510 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-07-03 16:51:43,520 - DEBUG - Requesting: http://10.0.0.57:8082/domain/e634928c-73dc-4c6c-b2a6-83351791fec6 2025-07-03 16:51:43,542 - DEBUG - Requesting: http://10.0.0.57:8082/project/39391c34-639b-4a32-9eda-7dc326a4cfe8 2025-07-03 16:51:43,657 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/76f63327-b646-475c-8571-18bf19908f6f 2025-07-03 16:51:43,673 - DEBUG - ==>Verifying data for policy with id: 70950ad4-0b63-44c7-ab41-dd3c5d86dbf1, fqn: ['default-domain', 'ctest-TestBasicPolicy-95443741', 'ctest-policy-allow-all-82598805'] 2025-07-03 16:51:43,673 - INFO - VN ctest-vn-86098509 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-03 16:51:43,673 - DEBUG - Verifying the vn in opserver 2025-07-03 16:51:43,673 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-95443741:ctest-vn-86098509 virtual network link through opserver 10.0.0.57 2025-07-03 16:51:43,673 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-07-03 16:51:43,998 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-07-03 16:51:44,064 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-95443741:ctest-vn-86098509', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-95443741:ctest-vn-86098509?flat'} 2025-07-03 16:51:44,064 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-95443741:ctest-vn-86098509 is found in opserver 2025-07-03 16:51:44,083 - DEBUG - Do not have enough data to verify VN in agent 2025-07-03 16:51:44,095 - DEBUG - VRF ids for VN ctest-vn-86098509: {} 2025-07-03 16:51:44,095 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-07-03 16:51:44,108 - DEBUG - Requesting: http://10.0.0.57:8082/domain/e634928c-73dc-4c6c-b2a6-83351791fec6 2025-07-03 16:51:44,135 - DEBUG - Requesting: http://10.0.0.57:8082/project/39391c34-639b-4a32-9eda-7dc326a4cfe8 2025-07-03 16:51:44,243 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/4e4cc06d-21da-41e5-9b7d-9e51bf1577e5 2025-07-03 16:51:44,268 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/4e4cc06d-21da-41e5-9b7d-9e51bf1577e5 2025-07-03 16:51:44,293 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/846ec604-685d-4851-a9fd-da650f7f6b27 2025-07-03 16:51:44,307 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/846ec604-685d-4851-a9fd-da650f7f6b27 2025-07-03 16:51:44,321 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/59cc3bab-d4e9-442c-9775-ed288455b009 2025-07-03 16:51:44,336 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-03 16:51:44,336 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/4e4cc06d-21da-41e5-9b7d-9e51bf1577e5 2025-07-03 16:51:44,354 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/846ec604-685d-4851-a9fd-da650f7f6b27 2025-07-03 16:51:44,383 - INFO - Verified VN network id 10 for VN 4e4cc06d-21da-41e5-9b7d-9e51bf1577e5 2025-07-03 16:51:44,383 - INFO - Verifications in API Server for VN ctest-vn-81139737 passed 2025-07-03 16:51:44,384 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/4e4cc06d-21da-41e5-9b7d-9e51bf1577e5 2025-07-03 16:51:44,405 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/846ec604-685d-4851-a9fd-da650f7f6b27 2025-07-03 16:51:44,422 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/846ec604-685d-4851-a9fd-da650f7f6b27 2025-07-03 16:51:44,442 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/59cc3bab-d4e9-442c-9775-ed288455b009 2025-07-03 16:51:44,481 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-95443741:ctest-vn-81139737', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-95443741', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5642096008140308965', 'uuid-lslong': '11204285521903056869'}, 'enable': 'true', 'created': '2025-07-03T16:51:41', 'last-modified': '2025-07-03T16:51:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.758752'} 2025-07-03 16:51:44,504 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-03 16:51:44,505 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81139737 passed 2025-07-03 16:51:44,506 - DEBUG - ====Verifying policy data for ctest-vn-81139737 in API_Server ====== 2025-07-03 16:51:44,506 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-07-03 16:51:44,523 - DEBUG - Requesting: http://10.0.0.57:8082/domain/e634928c-73dc-4c6c-b2a6-83351791fec6 2025-07-03 16:51:44,554 - DEBUG - Requesting: http://10.0.0.57:8082/project/39391c34-639b-4a32-9eda-7dc326a4cfe8 2025-07-03 16:51:44,672 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/4e4cc06d-21da-41e5-9b7d-9e51bf1577e5 2025-07-03 16:51:44,699 - DEBUG - ==>Verifying data for policy with id: 70950ad4-0b63-44c7-ab41-dd3c5d86dbf1, fqn: ['default-domain', 'ctest-TestBasicPolicy-95443741', 'ctest-policy-allow-all-82598805'] 2025-07-03 16:51:44,699 - INFO - VN ctest-vn-81139737 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-03 16:51:44,699 - DEBUG - Verifying the vn in opserver 2025-07-03 16:51:44,699 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-95443741:ctest-vn-81139737 virtual network link through opserver 10.0.0.57 2025-07-03 16:51:44,699 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-07-03 16:51:44,720 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-95443741:ctest-vn-81139737', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-95443741:ctest-vn-81139737?flat'} 2025-07-03 16:51:44,720 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-95443741:ctest-vn-81139737 is found in opserver 2025-07-03 16:51:44,742 - DEBUG - Do not have enough data to verify VN in agent 2025-07-03 16:51:44,753 - DEBUG - VRF ids for VN ctest-vn-81139737: {} 2025-07-03 16:51:44,884 - DEBUG - Services list from nova: [, , ] 2025-07-03 16:51:46,408 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3596-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3596-1) 2025-07-03 16:51:47,941 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3596-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3596-1) 2025-07-03 16:51:47,942 - INFO - Waiting for VM ctest-TestBasicPolicy-95443741-55274509 to be up.. 2025-07-03 16:51:48,048 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-03 16:51:53,188 - DEBUG - VM is in ACTIVE state now 2025-07-03 16:51:53,188 - INFO - VM name : ctest-TestBasicPolicy-95443741-55274509 2025-07-03 16:51:53,297 - DEBUG - VM ctest-TestBasicPolicy-95443741-55274509 ID is 646ebf29-9210-4c60-a6a6-92c61533957f 2025-07-03 16:51:53,327 - DEBUG - VM ctest-TestBasicPolicy-95443741-55274509 launched on Node cn-jenkins-deploy-platform-ansible-os-3596-1 2025-07-03 16:51:53,455 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/646ebf29-9210-4c60-a6a6-92c61533957f 2025-07-03 16:51:53,471 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/e30550e3-42f7-48c5-b955-aaba4e4d4cf7 2025-07-03 16:51:56,788 - 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-07-03 16:51:56,789 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95443741-55274509 failed! 2025-07-03 16:51:56,870 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95443741:ctest-vn-86098509 is 46.245.221.129 and allocation pool is NOT set 2025-07-03 16:51:58,951 - 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=5.71 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.962 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.962/3.336/5.710/2.374 ms') 2025-07-03 16:51:58,952 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95443741-55274509 passed 2025-07-03 16:51:59,117 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-03 16:51:59,118 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-95443741-55274509, IP 46.245.221.131, Port 22 2025-07-03 16:51:59,200 - 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-03 16:51:59,360 - DEBUG - VM ctest-TestBasicPolicy-95443741-55274509 is NOT ready for SSH connections, VM status: ACTIVE 2025-07-03 16:52:04,361 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-03 16:52:04,361 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-95443741-55274509, IP 46.245.221.131, Port 22 2025-07-03 16:52:04,557 - DEBUG - VM ctest-TestBasicPolicy-95443741-55274509 is ready for SSH connections 2025-07-03 16:52:04,558 - INFO - Waiting for VM ctest-TestBasicPolicy-95443741-05660268 to be up.. 2025-07-03 16:52:04,784 - DEBUG - VM is in ACTIVE state now 2025-07-03 16:52:04,784 - INFO - VM name : ctest-TestBasicPolicy-95443741-05660268 2025-07-03 16:52:04,954 - DEBUG - VM ctest-TestBasicPolicy-95443741-05660268 ID is 79d7a701-549c-400e-813f-02b9ddf39ea8 2025-07-03 16:52:04,954 - DEBUG - VM ctest-TestBasicPolicy-95443741-05660268 launched on Node cn-jenkins-deploy-platform-ansible-os-3596-1 2025-07-03 16:52:05,136 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/79d7a701-549c-400e-813f-02b9ddf39ea8 2025-07-03 16:52:05,159 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/166f3743-0331-479e-9fc6-31f35f2d46f9 2025-07-03 16:52:06,514 - 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.44 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.794 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.794/5.118/9.442/4.324 ms') 2025-07-03 16:52:06,514 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-95443741-05660268 passed 2025-07-03 16:52:06,686 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-03 16:52:06,687 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-95443741-05660268, IP 138.214.89.131, Port 22 2025-07-03 16:52:06,887 - DEBUG - VM ctest-TestBasicPolicy-95443741-05660268 is ready for SSH connections 2025-07-03 16:52:06,888 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-03 16:52:06,888 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 138.214.89.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-07-03 16:52:06,889 - DEBUG - ping -s 56 -c 3 -W 1 138.214.89.131 2025-07-03 16:52:11,444 - DEBUG - PING 138.214.89.131 (138.214.89.131): 56 data bytes 64 bytes from 138.214.89.131: seq=0 ttl=63 time=4.433 ms 64 bytes from 138.214.89.131: seq=1 ttl=63 time=2.283 ms 64 bytes from 138.214.89.131: seq=2 ttl=63 time=1.687 ms --- 138.214.89.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.687/2.801/4.433 ms 2025-07-03 16:52:11,444 - INFO - Ping to IP 138.214.89.131 from VM ctest-TestBasicPolicy-95443741-55274509 passed 2025-07-03 16:52:11,717 - DEBUG - Policy Update Response {"network-policy": {"uuid": "70950ad4-0b63-44c7-ab41-dd3c5d86dbf1", "href": "http://10.0.0.57:8082/network-policy/70950ad4-0b63-44c7-ab41-dd3c5d86dbf1"}} 2025-07-03 16:52:11,717 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-03 16:52:11,717 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 138.214.89.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-07-03 16:52:11,718 - DEBUG - ping -s 56 -c 3 -W 1 138.214.89.131 2025-07-03 16:52:15,051 - DEBUG - PING 138.214.89.131 (138.214.89.131): 56 data bytes --- 138.214.89.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-03 16:52:15,051 - WARNING - Ping to IP 138.214.89.131 from VM ctest-TestBasicPolicy-95443741-55274509 failed 2025-07-03 16:52:15,051 - INFO - Deleting VM ctest-TestBasicPolicy-95443741-05660268 2025-07-03 16:52:15,207 - INFO - Deleting VM ctest-TestBasicPolicy-95443741-55274509 2025-07-03 16:52:15,654 - INFO - Deleted policy ctest-policy-allow-all-82598805 2025-07-03 16:52:15,654 - INFO - Deleting VN ctest-vn-81139737 2025-07-03 16:52:15,699 - DEBUG - VN 4e4cc06d-21da-41e5-9b7d-9e51bf1577e5 still in use: Unable to complete operation on network 4e4cc06d-21da-41e5-9b7d-9e51bf1577e5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3934d80e-6033-4105-8966-eaa20924d3fb'] 2025-07-03 16:52:15,699 - WARNING - Deleting VN ctest-vn-81139737 failed..Will retry 2025-07-03 16:52:17,927 - DEBUG - Response for deleting network () 2025-07-03 16:52:17,927 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/846ec604-685d-4851-a9fd-da650f7f6b27 2025-07-03 16:52:17,937 - DEBUG - Response Code: 404 2025-07-03 16:52:17,937 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-07-03 16:52:17,943 - DEBUG - Requesting: http://10.0.0.57:8082/domain/e634928c-73dc-4c6c-b2a6-83351791fec6 2025-07-03 16:52:18,003 - DEBUG - Requesting: http://10.0.0.57:8082/project/39391c34-639b-4a32-9eda-7dc326a4cfe8 2025-07-03 16:52:18,126 - INFO - Validated that VN ctest-vn-81139737 is not found in API Server 2025-07-03 16:52:18,161 - DEBUG - VN ctest-vn-81139737 is not present in Agent 10.0.0.57 2025-07-03 16:52:18,161 - INFO - Validated that VN ctest-vn-81139737 is not in any agent 2025-07-03 16:52:18,216 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-81139737 info 2025-07-03 16:52:18,217 - INFO - Deleting VN ctest-vn-86098509 2025-07-03 16:52:18,473 - DEBUG - Response for deleting network () 2025-07-03 16:52:18,473 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/ea25b80e-d001-4fe6-821f-237425ed4a57 2025-07-03 16:52:18,491 - DEBUG - Response Code: 404 2025-07-03 16:52:18,491 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-07-03 16:52:18,500 - DEBUG - Requesting: http://10.0.0.57:8082/domain/e634928c-73dc-4c6c-b2a6-83351791fec6 2025-07-03 16:52:18,526 - DEBUG - Requesting: http://10.0.0.57:8082/project/39391c34-639b-4a32-9eda-7dc326a4cfe8 2025-07-03 16:52:18,648 - INFO - Validated that VN ctest-vn-86098509 is not found in API Server 2025-07-03 16:52:18,674 - DEBUG - VN ctest-vn-86098509 is not present in Agent 10.0.0.57 2025-07-03 16:52:18,674 - INFO - Validated that VN ctest-vn-86098509 is not in any agent 2025-07-03 16:52:18,724 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-86098509 info 2025-07-03 16:52:19,032 - DEBUG - No XMPP flaps were noticed during the test 2025-07-03 16:52:19,032 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:40] 2025-07-03 16:52:19,032 - INFO - -------------------------------------------------------------------------------- 2025-07-03 16:52:19,854 - INFO - Deleted project: ctest-TestBasicPolicy-95443741, ID : 39391c34-639b-4a32-9eda-7dc326a4cfe8