2025-09-25 06:52:07,940 - INFO - Domain Default found not creating 2025-09-25 06:52:08,096 - INFO - Project ctest-TestBasicPolicy-60739841 not found, creating it 2025-09-25 06:52:08,563 - INFO - Created Project:ctest-TestBasicPolicy-60739841, ID : 94104d58-8442-49f8-a443-111936c1134d 2025-09-25 06:52:09,982 - INFO - ================================================================================ 2025-09-25 06:52:09,983 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-25 06:52:09,983 - 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-25 06:52:10,235 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-09-25 06:52:10,236 - INFO - Initial checks done. Running the testcase now 2025-09-25 06:52:10,236 - INFO - 2025-09-25 06:52:10,829 - DEBUG - Response for create_network : {'network': {'id': 'a73881c3-e7d3-44e6-8aad-dd40e6c708b1', 'name': 'ctest-vn-89937109', 'tenant_id': '94104d58844249f8a443111936c1134d', 'project_id': '94104d58844249f8a443111936c1134d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60739841', 'ctest-vn-89937109'], 'port_security_enabled': True, 'description': ''}} 2025-09-25 06:52:11,043 - DEBUG - Response for create_subnet : {'subnet': {'id': '57360d75-6cf4-43be-b791-510fa6926a78', 'name': '', 'tenant_id': '94104d58844249f8a443111936c1134d', 'network_id': 'a73881c3-e7d3-44e6-8aad-dd40e6c708b1', 'ip_version': 4, 'cidr': '99.16.34.192/26', 'allocation_pools': [{'start': '99.16.34.194', 'end': '99.16.34.254'}], 'gateway_ip': '99.16.34.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.16.34.194', 'tags': [], 'project_id': '94104d58844249f8a443111936c1134d'}} 2025-09-25 06:52:11,062 - INFO - Created VN ctest-vn-89937109 2025-09-25 06:52:11,113 - DEBUG - VN ctest-vn-89937109 UUID is a73881c3-e7d3-44e6-8aad-dd40e6c708b1 2025-09-25 06:52:11,419 - DEBUG - Response for create_network : {'network': {'id': '93476dc9-0748-480a-98f7-85c05316af8a', 'name': 'ctest-vn-73412914', 'tenant_id': '94104d58844249f8a443111936c1134d', 'project_id': '94104d58844249f8a443111936c1134d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60739841', 'ctest-vn-73412914'], 'port_security_enabled': True, 'description': ''}} 2025-09-25 06:52:11,595 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dbc62e45-a394-4176-96d7-ebfd956c46fa', 'name': '', 'tenant_id': '94104d58844249f8a443111936c1134d', 'network_id': '93476dc9-0748-480a-98f7-85c05316af8a', 'ip_version': 4, 'cidr': '110.39.170.64/26', 'allocation_pools': [{'start': '110.39.170.66', 'end': '110.39.170.126'}], 'gateway_ip': '110.39.170.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '110.39.170.66', 'tags': [], 'project_id': '94104d58844249f8a443111936c1134d'}} 2025-09-25 06:52:11,612 - INFO - Created VN ctest-vn-73412914 2025-09-25 06:52:11,665 - DEBUG - VN ctest-vn-73412914 UUID is 93476dc9-0748-480a-98f7-85c05316af8a 2025-09-25 06:52:11,817 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-60739841:ctest-vn-89937109, 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-60739841:ctest-vn-73412914, 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-25 06:52:12,119 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a73881c3-e7d3-44e6-8aad-dd40e6c708b1', 'name': 'ctest-vn-89937109', 'tenant_id': '94104d58844249f8a443111936c1134d', 'project_id': '94104d58844249f8a443111936c1134d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['57360d75-6cf4-43be-b791-510fa6926a78'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60739841', 'ctest-vn-89937109'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-60739841', 'ctest-policy-allow-all-24262654']], 'subnet_ipam': [{'subnet_cidr': '99.16.34.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-25 06:52:12,387 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '93476dc9-0748-480a-98f7-85c05316af8a', 'name': 'ctest-vn-73412914', 'tenant_id': '94104d58844249f8a443111936c1134d', 'project_id': '94104d58844249f8a443111936c1134d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['dbc62e45-a394-4176-96d7-ebfd956c46fa'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60739841', 'ctest-vn-73412914'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-60739841', 'ctest-policy-allow-all-24262654']], 'subnet_ipam': [{'subnet_cidr': '110.39.170.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-25 06:52:12,537 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-09-25 06:52:12,839 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-09-25 06:52:12,870 - DEBUG - Requesting: http://10.0.0.50:8082/domain/32632b1e-4a5a-440a-b1f6-e3b7a8adae45 2025-09-25 06:52:12,887 - DEBUG - Requesting: http://10.0.0.50:8082/project/94104d58-8442-49f8-a443-111936c1134d 2025-09-25 06:52:12,960 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a73881c3-e7d3-44e6-8aad-dd40e6c708b1 2025-09-25 06:52:12,971 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a73881c3-e7d3-44e6-8aad-dd40e6c708b1 2025-09-25 06:52:12,983 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fe449ca7-efbb-4aa2-90c5-ef78ae1d9b14 2025-09-25 06:52:12,992 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fe449ca7-efbb-4aa2-90c5-ef78ae1d9b14 2025-09-25 06:52:13,000 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ee3a2188-9733-40d8-8a34-37da8086be0a 2025-09-25 06:52:13,008 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-25 06:52:13,008 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a73881c3-e7d3-44e6-8aad-dd40e6c708b1 2025-09-25 06:52:13,017 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fe449ca7-efbb-4aa2-90c5-ef78ae1d9b14 2025-09-25 06:52:13,032 - INFO - Verified VN network id 11 for VN a73881c3-e7d3-44e6-8aad-dd40e6c708b1 2025-09-25 06:52:13,032 - INFO - Verifications in API Server for VN ctest-vn-89937109 passed 2025-09-25 06:52:13,032 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a73881c3-e7d3-44e6-8aad-dd40e6c708b1 2025-09-25 06:52:13,042 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fe449ca7-efbb-4aa2-90c5-ef78ae1d9b14 2025-09-25 06:52:13,052 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fe449ca7-efbb-4aa2-90c5-ef78ae1d9b14 2025-09-25 06:52:13,062 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ee3a2188-9733-40d8-8a34-37da8086be0a 2025-09-25 06:52:13,075 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-60739841:ctest-vn-89937109', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-60739841', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12049523481437750502', 'uuid-lslong': '9992886419024447665'}, 'enable': 'true', 'created': '2025-09-25T06:52:10', 'last-modified': '2025-09-25T06:52:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.985102'} 2025-09-25 06:52:13,083 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-25 06:52:13,083 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-89937109 passed 2025-09-25 06:52:13,083 - DEBUG - ====Verifying policy data for ctest-vn-89937109 in API_Server ====== 2025-09-25 06:52:13,083 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-09-25 06:52:13,089 - DEBUG - Requesting: http://10.0.0.50:8082/domain/32632b1e-4a5a-440a-b1f6-e3b7a8adae45 2025-09-25 06:52:13,101 - DEBUG - Requesting: http://10.0.0.50:8082/project/94104d58-8442-49f8-a443-111936c1134d 2025-09-25 06:52:13,171 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a73881c3-e7d3-44e6-8aad-dd40e6c708b1 2025-09-25 06:52:13,182 - DEBUG - ==>Verifying data for policy with id: be7747d4-8526-4fa7-a810-4fed0c7a322a, fqn: ['default-domain', 'ctest-TestBasicPolicy-60739841', 'ctest-policy-allow-all-24262654'] 2025-09-25 06:52:13,182 - INFO - VN ctest-vn-89937109 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-25 06:52:13,182 - DEBUG - Verifying the vn in opserver 2025-09-25 06:52:13,182 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-60739841:ctest-vn-89937109 virtual network link through opserver 10.0.0.50 2025-09-25 06:52:13,183 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-09-25 06:52:13,477 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-09-25 06:52:13,586 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-60739841:ctest-vn-89937109', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-60739841:ctest-vn-89937109?flat'} 2025-09-25 06:52:13,586 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-60739841:ctest-vn-89937109 is found in opserver 2025-09-25 06:52:13,595 - DEBUG - Do not have enough data to verify VN in agent 2025-09-25 06:52:13,600 - DEBUG - VRF ids for VN ctest-vn-89937109: {} 2025-09-25 06:52:13,600 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-09-25 06:52:13,606 - DEBUG - Requesting: http://10.0.0.50:8082/domain/32632b1e-4a5a-440a-b1f6-e3b7a8adae45 2025-09-25 06:52:13,618 - DEBUG - Requesting: http://10.0.0.50:8082/project/94104d58-8442-49f8-a443-111936c1134d 2025-09-25 06:52:13,690 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/93476dc9-0748-480a-98f7-85c05316af8a 2025-09-25 06:52:13,701 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/93476dc9-0748-480a-98f7-85c05316af8a 2025-09-25 06:52:13,710 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/925863d6-f47e-48f5-b79a-8b8e27952013 2025-09-25 06:52:13,718 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/925863d6-f47e-48f5-b79a-8b8e27952013 2025-09-25 06:52:13,725 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/029d18e6-ce30-45eb-aa63-583f0627b12c 2025-09-25 06:52:13,734 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-25 06:52:13,734 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/93476dc9-0748-480a-98f7-85c05316af8a 2025-09-25 06:52:13,743 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/925863d6-f47e-48f5-b79a-8b8e27952013 2025-09-25 06:52:13,757 - INFO - Verified VN network id 12 for VN 93476dc9-0748-480a-98f7-85c05316af8a 2025-09-25 06:52:13,757 - INFO - Verifications in API Server for VN ctest-vn-73412914 passed 2025-09-25 06:52:13,757 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/93476dc9-0748-480a-98f7-85c05316af8a 2025-09-25 06:52:13,766 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/925863d6-f47e-48f5-b79a-8b8e27952013 2025-09-25 06:52:13,772 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/925863d6-f47e-48f5-b79a-8b8e27952013 2025-09-25 06:52:13,777 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/029d18e6-ce30-45eb-aa63-583f0627b12c 2025-09-25 06:52:13,787 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-60739841:ctest-vn-73412914', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-60739841', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10612571757099894794', 'uuid-lslong': '11022425674086789002'}, 'enable': 'true', 'created': '2025-09-25T06:52:11', 'last-modified': '2025-09-25T06:52:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.471947'} 2025-09-25 06:52:13,792 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-25 06:52:13,792 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-73412914 passed 2025-09-25 06:52:13,792 - DEBUG - ====Verifying policy data for ctest-vn-73412914 in API_Server ====== 2025-09-25 06:52:13,792 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-09-25 06:52:13,798 - DEBUG - Requesting: http://10.0.0.50:8082/domain/32632b1e-4a5a-440a-b1f6-e3b7a8adae45 2025-09-25 06:52:13,808 - DEBUG - Requesting: http://10.0.0.50:8082/project/94104d58-8442-49f8-a443-111936c1134d 2025-09-25 06:52:13,876 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/93476dc9-0748-480a-98f7-85c05316af8a 2025-09-25 06:52:13,886 - DEBUG - ==>Verifying data for policy with id: be7747d4-8526-4fa7-a810-4fed0c7a322a, fqn: ['default-domain', 'ctest-TestBasicPolicy-60739841', 'ctest-policy-allow-all-24262654'] 2025-09-25 06:52:13,886 - INFO - VN ctest-vn-73412914 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-25 06:52:13,886 - DEBUG - Verifying the vn in opserver 2025-09-25 06:52:13,886 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-60739841:ctest-vn-73412914 virtual network link through opserver 10.0.0.50 2025-09-25 06:52:13,886 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-09-25 06:52:13,895 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-60739841:ctest-vn-73412914', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-60739841:ctest-vn-73412914?flat'} 2025-09-25 06:52:13,895 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-60739841:ctest-vn-73412914 is found in opserver 2025-09-25 06:52:13,906 - DEBUG - Do not have enough data to verify VN in agent 2025-09-25 06:52:13,911 - DEBUG - VRF ids for VN ctest-vn-73412914: {} 2025-09-25 06:52:13,975 - DEBUG - Services list from nova: [, , ] 2025-09-25 06:52:14,997 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4190-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4190-1) 2025-09-25 06:52:16,167 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4190-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4190-1) 2025-09-25 06:52:16,168 - INFO - Waiting for VM ctest-TestBasicPolicy-60739841-84853990 to be up.. 2025-09-25 06:52:16,260 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-25 06:52:21,337 - DEBUG - VM is in ACTIVE state now 2025-09-25 06:52:21,337 - INFO - VM name : ctest-TestBasicPolicy-60739841-84853990 2025-09-25 06:52:21,415 - DEBUG - VM ctest-TestBasicPolicy-60739841-84853990 ID is 1d832ca9-fa8d-4831-b6be-a8339f5b93ea 2025-09-25 06:52:21,434 - DEBUG - VM ctest-TestBasicPolicy-60739841-84853990 launched on Node cn-jenkins-deploy-platform-ansible-os-4190-1 2025-09-25 06:52:21,515 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/1d832ca9-fa8d-4831-b6be-a8339f5b93ea 2025-09-25 06:52:21,524 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/c163761f-5c63-4d91-8f5f-905bd408014a 2025-09-25 06:52:24,786 - 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 1027ms') 2025-09-25 06:52:24,787 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-60739841-84853990 failed! 2025-09-25 06:52:24,841 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-60739841:ctest-vn-89937109 is 99.16.34.193 and allocation pool is NOT set 2025-09-25 06:52:26,905 - 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=8.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.52 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 = 1.520/5.066/8.613/3.546 ms') 2025-09-25 06:52:26,905 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-60739841-84853990 passed 2025-09-25 06:52:27,061 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 06:52:27,062 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-60739841-84853990, IP 99.16.34.195, Port 22 2025-09-25 06:52:27,117 - 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-25 06:52:27,195 - DEBUG - VM ctest-TestBasicPolicy-60739841-84853990 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-25 06:52:32,196 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 06:52:32,197 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-60739841-84853990, IP 99.16.34.195, Port 22 2025-09-25 06:52:32,357 - DEBUG - VM ctest-TestBasicPolicy-60739841-84853990 is ready for SSH connections 2025-09-25 06:52:32,357 - INFO - Waiting for VM ctest-TestBasicPolicy-60739841-60210109 to be up.. 2025-09-25 06:52:32,447 - DEBUG - VM is in ACTIVE state now 2025-09-25 06:52:32,447 - INFO - VM name : ctest-TestBasicPolicy-60739841-60210109 2025-09-25 06:52:32,533 - DEBUG - VM ctest-TestBasicPolicy-60739841-60210109 ID is 8273c9e3-8ecc-4c2a-a360-2affc5dd6f9e 2025-09-25 06:52:32,533 - DEBUG - VM ctest-TestBasicPolicy-60739841-60210109 launched on Node cn-jenkins-deploy-platform-ansible-os-4190-1 2025-09-25 06:52:32,607 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/8273c9e3-8ecc-4c2a-a360-2affc5dd6f9e 2025-09-25 06:52:32,617 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/ca61b578-c30a-4e50-bb77-62a84bdde5ea 2025-09-25 06:52:33,854 - 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.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.529 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.529/1.697/2.865/1.168 ms') 2025-09-25 06:52:33,855 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-60739841-60210109 passed 2025-09-25 06:52:34,005 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 06:52:34,006 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-60739841-60210109, IP 110.39.170.67, Port 22 2025-09-25 06:52:34,161 - DEBUG - VM ctest-TestBasicPolicy-60739841-60210109 is ready for SSH connections 2025-09-25 06:52:34,161 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 06:52:34,162 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 110.39.170.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-25 06:52:34,162 - DEBUG - ping -s 56 -c 3 -W 1 110.39.170.67 2025-09-25 06:52:38,175 - DEBUG - PING 110.39.170.67 (110.39.170.67): 56 data bytes 64 bytes from 110.39.170.67: seq=0 ttl=63 time=3.913 ms 64 bytes from 110.39.170.67: seq=1 ttl=63 time=1.145 ms 64 bytes from 110.39.170.67: seq=2 ttl=63 time=0.917 ms --- 110.39.170.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.917/1.991/3.913 ms 2025-09-25 06:52:38,175 - INFO - Ping to IP 110.39.170.67 from VM ctest-TestBasicPolicy-60739841-84853990 passed 2025-09-25 06:52:38,349 - DEBUG - Policy Update Response {"network-policy": {"uuid": "be7747d4-8526-4fa7-a810-4fed0c7a322a", "href": "http://10.0.0.50:8082/network-policy/be7747d4-8526-4fa7-a810-4fed0c7a322a"}} 2025-09-25 06:52:38,349 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 06:52:38,349 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 110.39.170.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-25 06:52:38,350 - DEBUG - ping -s 56 -c 3 -W 1 110.39.170.67 2025-09-25 06:52:41,586 - DEBUG - PING 110.39.170.67 (110.39.170.67): 56 data bytes --- 110.39.170.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-25 06:52:41,586 - WARNING - Ping to IP 110.39.170.67 from VM ctest-TestBasicPolicy-60739841-84853990 failed 2025-09-25 06:52:41,586 - INFO - Deleting VM ctest-TestBasicPolicy-60739841-60210109 2025-09-25 06:52:41,662 - INFO - Deleting VM ctest-TestBasicPolicy-60739841-84853990 2025-09-25 06:52:42,043 - INFO - Deleted policy ctest-policy-allow-all-24262654 2025-09-25 06:52:42,043 - INFO - Deleting VN ctest-vn-73412914 2025-09-25 06:52:42,079 - DEBUG - VN 93476dc9-0748-480a-98f7-85c05316af8a still in use: Unable to complete operation on network 93476dc9-0748-480a-98f7-85c05316af8a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-eee18f2a-7aec-474e-b1db-80472eea2268'] 2025-09-25 06:52:42,079 - WARNING - Deleting VN ctest-vn-73412914 failed..Will retry 2025-09-25 06:52:44,197 - DEBUG - Response for deleting network () 2025-09-25 06:52:44,198 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/925863d6-f47e-48f5-b79a-8b8e27952013 2025-09-25 06:52:44,203 - DEBUG - Response Code: 404 2025-09-25 06:52:44,204 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-09-25 06:52:44,210 - DEBUG - Requesting: http://10.0.0.50:8082/domain/32632b1e-4a5a-440a-b1f6-e3b7a8adae45 2025-09-25 06:52:44,262 - DEBUG - Requesting: http://10.0.0.50:8082/project/94104d58-8442-49f8-a443-111936c1134d 2025-09-25 06:52:44,331 - INFO - Validated that VN ctest-vn-73412914 is not found in API Server 2025-09-25 06:52:44,342 - DEBUG - VN ctest-vn-73412914 is not present in Agent 10.0.0.50 2025-09-25 06:52:44,342 - INFO - Validated that VN ctest-vn-73412914 is not in any agent 2025-09-25 06:52:44,356 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-73412914 info 2025-09-25 06:52:44,356 - INFO - Deleting VN ctest-vn-89937109 2025-09-25 06:52:44,465 - DEBUG - Response for deleting network () 2025-09-25 06:52:44,465 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fe449ca7-efbb-4aa2-90c5-ef78ae1d9b14 2025-09-25 06:52:44,471 - DEBUG - Response Code: 404 2025-09-25 06:52:44,471 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-09-25 06:52:44,477 - DEBUG - Requesting: http://10.0.0.50:8082/domain/32632b1e-4a5a-440a-b1f6-e3b7a8adae45 2025-09-25 06:52:44,530 - DEBUG - Requesting: http://10.0.0.50:8082/project/94104d58-8442-49f8-a443-111936c1134d 2025-09-25 06:52:44,602 - INFO - Validated that VN ctest-vn-89937109 is not found in API Server 2025-09-25 06:52:44,613 - DEBUG - VN ctest-vn-89937109 is not present in Agent 10.0.0.50 2025-09-25 06:52:44,613 - INFO - Validated that VN ctest-vn-89937109 is not in any agent 2025-09-25 06:52:44,627 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-89937109 info 2025-09-25 06:52:44,883 - DEBUG - No XMPP flaps were noticed during the test 2025-09-25 06:52:44,883 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2025-09-25 06:52:44,883 - INFO - -------------------------------------------------------------------------------- 2025-09-25 06:52:45,543 - INFO - Deleted project: ctest-TestBasicPolicy-60739841, ID : 94104d58-8442-49f8-a443-111936c1134d