2025-04-14 14:01:40,668 - INFO - Domain Default found not creating 2025-04-14 14:01:40,815 - INFO - Project ctest-TestBasicPolicy-03304031 not found, creating it 2025-04-14 14:01:41,295 - INFO - Created Project:ctest-TestBasicPolicy-03304031, ID : aa8a5ce9-cac3-4859-8258-190776c3909d 2025-04-14 14:01:42,932 - INFO - ================================================================================ 2025-04-14 14:01:42,932 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-14 14:01:42,932 - 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-04-14 14:01:43,191 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.254': '0'}} with 2025-04-14 14:01:43,191 - INFO - Initial checks done. Running the testcase now 2025-04-14 14:01:43,191 - INFO - 2025-04-14 14:01:44,220 - DEBUG - Response for create_network : {'network': {'id': '328ced9a-9adb-46e2-add9-b493286a57a1', 'name': 'ctest-vn-40491523', 'tenant_id': 'aa8a5ce9cac348598258190776c3909d', 'project_id': 'aa8a5ce9cac348598258190776c3909d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03304031', 'ctest-vn-40491523'], 'port_security_enabled': True, 'description': ''}} 2025-04-14 14:01:44,639 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ddaaa26a-53ea-4761-8fd7-c4293a0a3532', 'name': '', 'tenant_id': 'aa8a5ce9cac348598258190776c3909d', 'network_id': '328ced9a-9adb-46e2-add9-b493286a57a1', 'ip_version': 4, 'cidr': '121.62.249.64/26', 'allocation_pools': [{'start': '121.62.249.66', 'end': '121.62.249.126'}], 'gateway_ip': '121.62.249.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '121.62.249.66', 'tags': [], 'project_id': 'aa8a5ce9cac348598258190776c3909d'}} 2025-04-14 14:01:44,672 - INFO - Created VN ctest-vn-40491523 2025-04-14 14:01:44,733 - DEBUG - VN ctest-vn-40491523 UUID is 328ced9a-9adb-46e2-add9-b493286a57a1 2025-04-14 14:01:45,069 - DEBUG - Response for create_network : {'network': {'id': '0284c231-0472-4879-8432-a0a40a939159', 'name': 'ctest-vn-77336467', 'tenant_id': 'aa8a5ce9cac348598258190776c3909d', 'project_id': 'aa8a5ce9cac348598258190776c3909d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03304031', 'ctest-vn-77336467'], 'port_security_enabled': True, 'description': ''}} 2025-04-14 14:01:45,268 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a84dd4d9-047c-452f-84c6-f75511014690', 'name': '', 'tenant_id': 'aa8a5ce9cac348598258190776c3909d', 'network_id': '0284c231-0472-4879-8432-a0a40a939159', 'ip_version': 4, 'cidr': '201.146.87.128/26', 'allocation_pools': [{'start': '201.146.87.130', 'end': '201.146.87.190'}], 'gateway_ip': '201.146.87.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.146.87.130', 'tags': [], 'project_id': 'aa8a5ce9cac348598258190776c3909d'}} 2025-04-14 14:01:45,288 - INFO - Created VN ctest-vn-77336467 2025-04-14 14:01:45,345 - DEBUG - VN ctest-vn-77336467 UUID is 0284c231-0472-4879-8432-a0a40a939159 2025-04-14 14:01:45,465 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-03304031:ctest-vn-40491523, 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-03304031:ctest-vn-77336467, 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-04-14 14:01:45,772 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '328ced9a-9adb-46e2-add9-b493286a57a1', 'name': 'ctest-vn-40491523', 'tenant_id': 'aa8a5ce9cac348598258190776c3909d', 'project_id': 'aa8a5ce9cac348598258190776c3909d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ddaaa26a-53ea-4761-8fd7-c4293a0a3532'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03304031', 'ctest-vn-40491523'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-03304031', 'ctest-policy-allow-all-41701065']], 'subnet_ipam': [{'subnet_cidr': '121.62.249.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-14 14:01:46,027 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0284c231-0472-4879-8432-a0a40a939159', 'name': 'ctest-vn-77336467', 'tenant_id': 'aa8a5ce9cac348598258190776c3909d', 'project_id': 'aa8a5ce9cac348598258190776c3909d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a84dd4d9-047c-452f-84c6-f75511014690'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03304031', 'ctest-vn-77336467'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-03304031', 'ctest-policy-allow-all-41701065']], 'subnet_ipam': [{'subnet_cidr': '201.146.87.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-14 14:01:46,181 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-04-14 14:01:46,520 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-04-14 14:01:46,551 - DEBUG - Requesting: http://10.0.0.249:8082/domain/613b1dd0-fa69-47af-aeff-ffdb1e2be2af 2025-04-14 14:01:46,566 - DEBUG - Requesting: http://10.0.0.249:8082/project/aa8a5ce9-cac3-4859-8258-190776c3909d 2025-04-14 14:01:46,646 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/328ced9a-9adb-46e2-add9-b493286a57a1 2025-04-14 14:01:46,659 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/328ced9a-9adb-46e2-add9-b493286a57a1 2025-04-14 14:01:46,671 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/5b19b0d7-c827-42d1-919f-4f728d753fc8 2025-04-14 14:01:46,680 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/5b19b0d7-c827-42d1-919f-4f728d753fc8 2025-04-14 14:01:46,689 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/7e14f5f4-4465-46da-969f-48fd2db68b67 2025-04-14 14:01:46,696 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-14 14:01:46,697 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/328ced9a-9adb-46e2-add9-b493286a57a1 2025-04-14 14:01:46,708 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/5b19b0d7-c827-42d1-919f-4f728d753fc8 2025-04-14 14:01:46,725 - INFO - Verified VN network id 9 for VN 328ced9a-9adb-46e2-add9-b493286a57a1 2025-04-14 14:01:46,726 - INFO - Verifications in API Server for VN ctest-vn-40491523 passed 2025-04-14 14:01:46,726 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/328ced9a-9adb-46e2-add9-b493286a57a1 2025-04-14 14:01:46,737 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/5b19b0d7-c827-42d1-919f-4f728d753fc8 2025-04-14 14:01:46,748 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/5b19b0d7-c827-42d1-919f-4f728d753fc8 2025-04-14 14:01:46,756 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/7e14f5f4-4465-46da-969f-48fd2db68b67 2025-04-14 14:01:46,770 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-03304031:ctest-vn-40491523', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-03304031', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3642547446914696930', 'uuid-lslong': '12527242382638995361'}, 'enable': 'true', 'created': '2025-04-14T14:01:44', 'last-modified': '2025-04-14T14:01:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.018975'} 2025-04-14 14:01:46,777 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-14 14:01:46,777 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-40491523 passed 2025-04-14 14:01:46,778 - DEBUG - ====Verifying policy data for ctest-vn-40491523 in API_Server ====== 2025-04-14 14:01:46,778 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-04-14 14:01:46,784 - DEBUG - Requesting: http://10.0.0.249:8082/domain/613b1dd0-fa69-47af-aeff-ffdb1e2be2af 2025-04-14 14:01:46,797 - DEBUG - Requesting: http://10.0.0.249:8082/project/aa8a5ce9-cac3-4859-8258-190776c3909d 2025-04-14 14:01:46,871 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/328ced9a-9adb-46e2-add9-b493286a57a1 2025-04-14 14:01:46,883 - DEBUG - ==>Verifying data for policy with id: e42d6359-cbfb-44c9-9a09-d62d3c02afad, fqn: ['default-domain', 'ctest-TestBasicPolicy-03304031', 'ctest-policy-allow-all-41701065'] 2025-04-14 14:01:46,883 - INFO - VN ctest-vn-40491523 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-14 14:01:46,883 - DEBUG - Verifying the vn in opserver 2025-04-14 14:01:46,883 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-03304031:ctest-vn-40491523 virtual network link through opserver 10.0.0.249 2025-04-14 14:01:46,883 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-04-14 14:01:47,215 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-04-14 14:01:47,276 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-03304031:ctest-vn-40491523', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-03304031:ctest-vn-40491523?flat'} 2025-04-14 14:01:47,276 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-03304031:ctest-vn-40491523 is found in opserver 2025-04-14 14:01:47,289 - DEBUG - Do not have enough data to verify VN in agent 2025-04-14 14:01:47,295 - DEBUG - VRF ids for VN ctest-vn-40491523: {} 2025-04-14 14:01:47,295 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-04-14 14:01:47,302 - DEBUG - Requesting: http://10.0.0.249:8082/domain/613b1dd0-fa69-47af-aeff-ffdb1e2be2af 2025-04-14 14:01:47,315 - DEBUG - Requesting: http://10.0.0.249:8082/project/aa8a5ce9-cac3-4859-8258-190776c3909d 2025-04-14 14:01:47,398 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/0284c231-0472-4879-8432-a0a40a939159 2025-04-14 14:01:47,413 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/0284c231-0472-4879-8432-a0a40a939159 2025-04-14 14:01:47,425 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/a613cd9d-400e-4d65-b999-146c8b6ac5fc 2025-04-14 14:01:47,436 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/a613cd9d-400e-4d65-b999-146c8b6ac5fc 2025-04-14 14:01:47,447 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/95093a8b-2d05-4888-b66d-b9a077e13c6d 2025-04-14 14:01:47,457 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-14 14:01:47,457 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/0284c231-0472-4879-8432-a0a40a939159 2025-04-14 14:01:47,469 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/a613cd9d-400e-4d65-b999-146c8b6ac5fc 2025-04-14 14:01:47,485 - INFO - Verified VN network id 10 for VN 0284c231-0472-4879-8432-a0a40a939159 2025-04-14 14:01:47,485 - INFO - Verifications in API Server for VN ctest-vn-77336467 passed 2025-04-14 14:01:47,485 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/0284c231-0472-4879-8432-a0a40a939159 2025-04-14 14:01:47,498 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/a613cd9d-400e-4d65-b999-146c8b6ac5fc 2025-04-14 14:01:47,508 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/a613cd9d-400e-4d65-b999-146c8b6ac5fc 2025-04-14 14:01:47,519 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/95093a8b-2d05-4888-b66d-b9a077e13c6d 2025-04-14 14:01:47,536 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-03304031:ctest-vn-77336467', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-03304031', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '181483400785447033', 'uuid-lslong': '9525852788254544217'}, 'enable': 'true', 'created': '2025-04-14T14:01:45', 'last-modified': '2025-04-14T14:01:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.538971'} 2025-04-14 14:01:47,545 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-14 14:01:47,545 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-77336467 passed 2025-04-14 14:01:47,545 - DEBUG - ====Verifying policy data for ctest-vn-77336467 in API_Server ====== 2025-04-14 14:01:47,545 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-04-14 14:01:47,553 - DEBUG - Requesting: http://10.0.0.249:8082/domain/613b1dd0-fa69-47af-aeff-ffdb1e2be2af 2025-04-14 14:01:47,566 - DEBUG - Requesting: http://10.0.0.249:8082/project/aa8a5ce9-cac3-4859-8258-190776c3909d 2025-04-14 14:01:47,644 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/0284c231-0472-4879-8432-a0a40a939159 2025-04-14 14:01:47,657 - DEBUG - ==>Verifying data for policy with id: e42d6359-cbfb-44c9-9a09-d62d3c02afad, fqn: ['default-domain', 'ctest-TestBasicPolicy-03304031', 'ctest-policy-allow-all-41701065'] 2025-04-14 14:01:47,657 - INFO - VN ctest-vn-77336467 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-14 14:01:47,657 - DEBUG - Verifying the vn in opserver 2025-04-14 14:01:47,657 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-03304031:ctest-vn-77336467 virtual network link through opserver 10.0.0.249 2025-04-14 14:01:47,657 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-04-14 14:01:47,670 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-03304031:ctest-vn-77336467', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-03304031:ctest-vn-77336467?flat'} 2025-04-14 14:01:47,670 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-03304031:ctest-vn-77336467 is found in opserver 2025-04-14 14:01:47,683 - DEBUG - Do not have enough data to verify VN in agent 2025-04-14 14:01:47,688 - DEBUG - VRF ids for VN ctest-vn-77336467: {} 2025-04-14 14:01:47,754 - DEBUG - Services list from nova: [, , ] 2025-04-14 14:01:48,913 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3100-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3100-1) 2025-04-14 14:01:50,404 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3100-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3100-1) 2025-04-14 14:01:50,404 - INFO - Waiting for VM ctest-TestBasicPolicy-03304031-90813797 to be up.. 2025-04-14 14:01:50,510 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-14 14:01:55,614 - DEBUG - VM is in ACTIVE state now 2025-04-14 14:01:55,614 - INFO - VM name : ctest-TestBasicPolicy-03304031-90813797 2025-04-14 14:01:55,736 - DEBUG - VM ctest-TestBasicPolicy-03304031-90813797 ID is e8bbdc57-3828-4ca3-8dd3-f6420644c50b 2025-04-14 14:01:55,765 - DEBUG - VM ctest-TestBasicPolicy-03304031-90813797 launched on Node cn-jenkins-deploy-platform-ansible-os-3100-1 2025-04-14 14:01:55,875 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/e8bbdc57-3828-4ca3-8dd3-f6420644c50b 2025-04-14 14:01:55,895 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/673e11ef-56db-44f2-b163-41299b0db727 2025-04-14 14:01:59,176 - 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 1026ms') 2025-04-14 14:01:59,176 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-03304031-90813797 failed! 2025-04-14 14:01:59,233 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-03304031:ctest-vn-40491523 is 121.62.249.65 and allocation pool is NOT set 2025-04-14 14:02:01,302 - 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=3.50 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.11 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 = 3.105/3.302/3.499/0.197 ms') 2025-04-14 14:02:01,302 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-03304031-90813797 passed 2025-04-14 14:02:01,457 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-14 14:02:01,457 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-03304031-90813797, IP 121.62.249.67, Port 22 2025-04-14 14:02:01,524 - 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-04-14 14:02:01,619 - DEBUG - VM ctest-TestBasicPolicy-03304031-90813797 is NOT ready for SSH connections, VM status: ACTIVE 2025-04-14 14:02:06,620 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-14 14:02:06,620 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-03304031-90813797, IP 121.62.249.67, Port 22 2025-04-14 14:02:06,781 - DEBUG - VM ctest-TestBasicPolicy-03304031-90813797 is ready for SSH connections 2025-04-14 14:02:06,781 - INFO - Waiting for VM ctest-TestBasicPolicy-03304031-12817771 to be up.. 2025-04-14 14:02:06,882 - DEBUG - VM is in ACTIVE state now 2025-04-14 14:02:06,882 - INFO - VM name : ctest-TestBasicPolicy-03304031-12817771 2025-04-14 14:02:06,979 - DEBUG - VM ctest-TestBasicPolicy-03304031-12817771 ID is a5c0cede-f27b-4d7d-b670-310f573e30da 2025-04-14 14:02:06,979 - DEBUG - VM ctest-TestBasicPolicy-03304031-12817771 launched on Node cn-jenkins-deploy-platform-ansible-os-3100-1 2025-04-14 14:02:07,066 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/a5c0cede-f27b-4d7d-b670-310f573e30da 2025-04-14 14:02:07,076 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/9ee341d2-6f72-42c5-8096-3d4ddb10a731 2025-04-14 14:02:08,331 - 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.30 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.501 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.501/1.898/3.296/1.397 ms') 2025-04-14 14:02:08,331 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-03304031-12817771 passed 2025-04-14 14:02:08,485 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-14 14:02:08,485 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-03304031-12817771, IP 201.146.87.131, Port 22 2025-04-14 14:02:08,645 - DEBUG - VM ctest-TestBasicPolicy-03304031-12817771 is ready for SSH connections 2025-04-14 14:02:08,645 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-14 14:02:08,645 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 201.146.87.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-04-14 14:02:08,645 - DEBUG - ping -s 56 -c 3 -W 1 201.146.87.131 2025-04-14 14:02:12,778 - DEBUG - PING 201.146.87.131 (201.146.87.131): 56 data bytes 64 bytes from 201.146.87.131: seq=0 ttl=63 time=4.244 ms 64 bytes from 201.146.87.131: seq=1 ttl=63 time=0.989 ms 64 bytes from 201.146.87.131: seq=2 ttl=63 time=0.912 ms --- 201.146.87.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.912/2.048/4.244 ms 2025-04-14 14:02:12,778 - INFO - Ping to IP 201.146.87.131 from VM ctest-TestBasicPolicy-03304031-90813797 passed 2025-04-14 14:02:12,957 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e42d6359-cbfb-44c9-9a09-d62d3c02afad", "href": "http://10.0.0.249:8082/network-policy/e42d6359-cbfb-44c9-9a09-d62d3c02afad"}} 2025-04-14 14:02:12,957 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-14 14:02:12,957 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 201.146.87.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-04-14 14:02:12,957 - DEBUG - ping -s 56 -c 3 -W 1 201.146.87.131 2025-04-14 14:02:16,197 - DEBUG - PING 201.146.87.131 (201.146.87.131): 56 data bytes --- 201.146.87.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-04-14 14:02:16,197 - WARNING - Ping to IP 201.146.87.131 from VM ctest-TestBasicPolicy-03304031-90813797 failed 2025-04-14 14:02:16,197 - INFO - Deleting VM ctest-TestBasicPolicy-03304031-12817771 2025-04-14 14:02:16,285 - INFO - Deleting VM ctest-TestBasicPolicy-03304031-90813797 2025-04-14 14:02:16,705 - INFO - Deleted policy ctest-policy-allow-all-41701065 2025-04-14 14:02:16,705 - INFO - Deleting VN ctest-vn-77336467 2025-04-14 14:02:16,749 - DEBUG - VN 0284c231-0472-4879-8432-a0a40a939159 still in use: Unable to complete operation on network 0284c231-0472-4879-8432-a0a40a939159. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-edceacc2-292d-4b1b-9364-1718514a79f4'] 2025-04-14 14:02:16,749 - WARNING - Deleting VN ctest-vn-77336467 failed..Will retry 2025-04-14 14:02:18,881 - DEBUG - Response for deleting network () 2025-04-14 14:02:18,882 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/a613cd9d-400e-4d65-b999-146c8b6ac5fc 2025-04-14 14:02:18,893 - DEBUG - Response Code: 404 2025-04-14 14:02:18,893 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-04-14 14:02:18,903 - DEBUG - Requesting: http://10.0.0.249:8082/domain/613b1dd0-fa69-47af-aeff-ffdb1e2be2af 2025-04-14 14:02:18,959 - DEBUG - Requesting: http://10.0.0.249:8082/project/aa8a5ce9-cac3-4859-8258-190776c3909d 2025-04-14 14:02:19,036 - INFO - Validated that VN ctest-vn-77336467 is not found in API Server 2025-04-14 14:02:19,051 - DEBUG - VN ctest-vn-77336467 is not present in Agent 10.0.0.249 2025-04-14 14:02:19,051 - INFO - Validated that VN ctest-vn-77336467 is not in any agent 2025-04-14 14:02:19,073 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-77336467 info 2025-04-14 14:02:19,074 - INFO - Deleting VN ctest-vn-40491523 2025-04-14 14:02:19,201 - DEBUG - Response for deleting network () 2025-04-14 14:02:19,201 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/5b19b0d7-c827-42d1-919f-4f728d753fc8 2025-04-14 14:02:19,212 - DEBUG - Response Code: 404 2025-04-14 14:02:19,212 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-04-14 14:02:19,219 - DEBUG - Requesting: http://10.0.0.249:8082/domain/613b1dd0-fa69-47af-aeff-ffdb1e2be2af 2025-04-14 14:02:19,275 - DEBUG - Requesting: http://10.0.0.249:8082/project/aa8a5ce9-cac3-4859-8258-190776c3909d 2025-04-14 14:02:19,356 - INFO - Validated that VN ctest-vn-40491523 is not found in API Server 2025-04-14 14:02:19,369 - DEBUG - VN ctest-vn-40491523 is not present in Agent 10.0.0.249 2025-04-14 14:02:19,369 - INFO - Validated that VN ctest-vn-40491523 is not in any agent 2025-04-14 14:02:19,388 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-40491523 info 2025-04-14 14:02:19,653 - DEBUG - No XMPP flaps were noticed during the test 2025-04-14 14:02:19,653 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:37] 2025-04-14 14:02:19,653 - INFO - -------------------------------------------------------------------------------- 2025-04-14 14:02:20,455 - INFO - Deleted project: ctest-TestBasicPolicy-03304031, ID : aa8a5ce9-cac3-4859-8258-190776c3909d