2025-06-15 09:24:28,748 - INFO - Domain Default found not creating 2025-06-15 09:24:28,891 - INFO - Project ctest-TestBasicPolicy-38986770 not found, creating it 2025-06-15 09:24:29,338 - INFO - Created Project:ctest-TestBasicPolicy-38986770, ID : aabd72d8-8e72-4bb4-875e-3897533b054b 2025-06-15 09:24:30,947 - INFO - ================================================================================ 2025-06-15 09:24:30,947 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-15 09:24:30,947 - 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-06-15 09:24:31,206 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-06-15 09:24:31,206 - INFO - Initial checks done. Running the testcase now 2025-06-15 09:24:31,206 - INFO - 2025-06-15 09:24:31,800 - DEBUG - Response for create_network : {'network': {'id': '34054a87-0c76-494f-a44c-ababee51aa3a', 'name': 'ctest-vn-24303937', 'tenant_id': 'aabd72d88e724bb4875e3897533b054b', 'project_id': 'aabd72d88e724bb4875e3897533b054b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38986770', 'ctest-vn-24303937'], 'port_security_enabled': True, 'description': ''}} 2025-06-15 09:24:31,970 - DEBUG - Response for create_subnet : {'subnet': {'id': '9bf761c1-f4b9-48eb-8f39-b79080c74694', 'name': '', 'tenant_id': 'aabd72d88e724bb4875e3897533b054b', 'network_id': '34054a87-0c76-494f-a44c-ababee51aa3a', 'ip_version': 4, 'cidr': '7.253.236.0/26', 'allocation_pools': [{'start': '7.253.236.2', 'end': '7.253.236.62'}], 'gateway_ip': '7.253.236.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '7.253.236.2', 'tags': [], 'project_id': 'aabd72d88e724bb4875e3897533b054b'}} 2025-06-15 09:24:31,989 - INFO - Created VN ctest-vn-24303937 2025-06-15 09:24:32,044 - DEBUG - VN ctest-vn-24303937 UUID is 34054a87-0c76-494f-a44c-ababee51aa3a 2025-06-15 09:24:32,349 - DEBUG - Response for create_network : {'network': {'id': '367d6784-9750-46ec-b6ad-c342527de76b', 'name': 'ctest-vn-68232001', 'tenant_id': 'aabd72d88e724bb4875e3897533b054b', 'project_id': 'aabd72d88e724bb4875e3897533b054b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38986770', 'ctest-vn-68232001'], 'port_security_enabled': True, 'description': ''}} 2025-06-15 09:24:32,552 - DEBUG - Response for create_subnet : {'subnet': {'id': '84e57159-98b1-4d88-a1ac-ecae35cd1658', 'name': '', 'tenant_id': 'aabd72d88e724bb4875e3897533b054b', 'network_id': '367d6784-9750-46ec-b6ad-c342527de76b', 'ip_version': 4, 'cidr': '123.114.36.64/26', 'allocation_pools': [{'start': '123.114.36.66', 'end': '123.114.36.126'}], 'gateway_ip': '123.114.36.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.114.36.66', 'tags': [], 'project_id': 'aabd72d88e724bb4875e3897533b054b'}} 2025-06-15 09:24:32,571 - INFO - Created VN ctest-vn-68232001 2025-06-15 09:24:32,628 - DEBUG - VN ctest-vn-68232001 UUID is 367d6784-9750-46ec-b6ad-c342527de76b 2025-06-15 09:24:32,783 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-38986770:ctest-vn-24303937, 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-38986770:ctest-vn-68232001, 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-06-15 09:24:33,086 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '34054a87-0c76-494f-a44c-ababee51aa3a', 'name': 'ctest-vn-24303937', 'tenant_id': 'aabd72d88e724bb4875e3897533b054b', 'project_id': 'aabd72d88e724bb4875e3897533b054b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9bf761c1-f4b9-48eb-8f39-b79080c74694'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38986770', 'ctest-vn-24303937'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-38986770', 'ctest-policy-allow-all-52911198']], 'subnet_ipam': [{'subnet_cidr': '7.253.236.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-15 09:24:33,321 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '367d6784-9750-46ec-b6ad-c342527de76b', 'name': 'ctest-vn-68232001', 'tenant_id': 'aabd72d88e724bb4875e3897533b054b', 'project_id': 'aabd72d88e724bb4875e3897533b054b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['84e57159-98b1-4d88-a1ac-ecae35cd1658'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38986770', 'ctest-vn-68232001'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-38986770', 'ctest-policy-allow-all-52911198']], 'subnet_ipam': [{'subnet_cidr': '123.114.36.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-15 09:24:33,484 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-15 09:24:33,823 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-15 09:24:33,851 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1f766997-114d-407b-968d-2f81ae79b1d5 2025-06-15 09:24:33,865 - DEBUG - Requesting: http://10.0.0.38:8082/project/aabd72d8-8e72-4bb4-875e-3897533b054b 2025-06-15 09:24:33,944 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/34054a87-0c76-494f-a44c-ababee51aa3a 2025-06-15 09:24:33,956 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/34054a87-0c76-494f-a44c-ababee51aa3a 2025-06-15 09:24:33,967 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0d58420f-5299-490b-966b-82137470f1d7 2025-06-15 09:24:33,975 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0d58420f-5299-490b-966b-82137470f1d7 2025-06-15 09:24:33,982 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/1e966d9c-b6d1-4548-aff1-e32be3e76da6 2025-06-15 09:24:33,989 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-15 09:24:33,989 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/34054a87-0c76-494f-a44c-ababee51aa3a 2025-06-15 09:24:33,998 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0d58420f-5299-490b-966b-82137470f1d7 2025-06-15 09:24:34,013 - INFO - Verified VN network id 8 for VN 34054a87-0c76-494f-a44c-ababee51aa3a 2025-06-15 09:24:34,013 - INFO - Verifications in API Server for VN ctest-vn-24303937 passed 2025-06-15 09:24:34,013 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/34054a87-0c76-494f-a44c-ababee51aa3a 2025-06-15 09:24:34,023 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0d58420f-5299-490b-966b-82137470f1d7 2025-06-15 09:24:34,039 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0d58420f-5299-490b-966b-82137470f1d7 2025-06-15 09:24:34,046 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/1e966d9c-b6d1-4548-aff1-e32be3e76da6 2025-06-15 09:24:34,059 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-38986770:ctest-vn-24303937', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38986770', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3748484208745924943', 'uuid-lslong': '11839026275376278074'}, 'enable': 'true', 'created': '2025-06-15T09:24:31', 'last-modified': '2025-06-15T09:24:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.994150'} 2025-06-15 09:24:34,066 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-15 09:24:34,066 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-24303937 passed 2025-06-15 09:24:34,067 - DEBUG - ====Verifying policy data for ctest-vn-24303937 in API_Server ====== 2025-06-15 09:24:34,067 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-15 09:24:34,072 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1f766997-114d-407b-968d-2f81ae79b1d5 2025-06-15 09:24:34,085 - DEBUG - Requesting: http://10.0.0.38:8082/project/aabd72d8-8e72-4bb4-875e-3897533b054b 2025-06-15 09:24:34,158 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/34054a87-0c76-494f-a44c-ababee51aa3a 2025-06-15 09:24:34,176 - DEBUG - ==>Verifying data for policy with id: a121c375-442f-4063-aa90-ed07e4753509, fqn: ['default-domain', 'ctest-TestBasicPolicy-38986770', 'ctest-policy-allow-all-52911198'] 2025-06-15 09:24:34,176 - INFO - VN ctest-vn-24303937 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-15 09:24:34,176 - DEBUG - Verifying the vn in opserver 2025-06-15 09:24:34,176 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-38986770:ctest-vn-24303937 virtual network link through opserver 10.0.0.38 2025-06-15 09:24:34,176 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-15 09:24:34,510 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-15 09:24:34,564 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-38986770:ctest-vn-24303937', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-38986770:ctest-vn-24303937?flat'} 2025-06-15 09:24:34,564 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-38986770:ctest-vn-24303937 is found in opserver 2025-06-15 09:24:34,575 - DEBUG - Do not have enough data to verify VN in agent 2025-06-15 09:24:34,580 - DEBUG - VRF ids for VN ctest-vn-24303937: {} 2025-06-15 09:24:34,580 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-15 09:24:34,586 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1f766997-114d-407b-968d-2f81ae79b1d5 2025-06-15 09:24:34,600 - DEBUG - Requesting: http://10.0.0.38:8082/project/aabd72d8-8e72-4bb4-875e-3897533b054b 2025-06-15 09:24:34,675 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/367d6784-9750-46ec-b6ad-c342527de76b 2025-06-15 09:24:34,687 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/367d6784-9750-46ec-b6ad-c342527de76b 2025-06-15 09:24:34,697 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cda13de0-41f1-4b2b-a428-f6dd2cfc5b90 2025-06-15 09:24:34,704 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cda13de0-41f1-4b2b-a428-f6dd2cfc5b90 2025-06-15 09:24:34,711 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/5e0cc157-612c-4e0e-a96c-d38a1e329592 2025-06-15 09:24:34,718 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-15 09:24:34,718 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/367d6784-9750-46ec-b6ad-c342527de76b 2025-06-15 09:24:34,728 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cda13de0-41f1-4b2b-a428-f6dd2cfc5b90 2025-06-15 09:24:34,742 - INFO - Verified VN network id 9 for VN 367d6784-9750-46ec-b6ad-c342527de76b 2025-06-15 09:24:34,742 - INFO - Verifications in API Server for VN ctest-vn-68232001 passed 2025-06-15 09:24:34,742 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/367d6784-9750-46ec-b6ad-c342527de76b 2025-06-15 09:24:34,752 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cda13de0-41f1-4b2b-a428-f6dd2cfc5b90 2025-06-15 09:24:34,760 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cda13de0-41f1-4b2b-a428-f6dd2cfc5b90 2025-06-15 09:24:34,766 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/5e0cc157-612c-4e0e-a96c-d38a1e329592 2025-06-15 09:24:34,778 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-38986770:ctest-vn-68232001', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38986770', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3926408269308905196', 'uuid-lslong': '13163391975493068651'}, 'enable': 'true', 'created': '2025-06-15T09:24:32', 'last-modified': '2025-06-15T09:24:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.480134'} 2025-06-15 09:24:34,785 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-15 09:24:34,785 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68232001 passed 2025-06-15 09:24:34,785 - DEBUG - ====Verifying policy data for ctest-vn-68232001 in API_Server ====== 2025-06-15 09:24:34,785 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-15 09:24:34,791 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1f766997-114d-407b-968d-2f81ae79b1d5 2025-06-15 09:24:34,804 - DEBUG - Requesting: http://10.0.0.38:8082/project/aabd72d8-8e72-4bb4-875e-3897533b054b 2025-06-15 09:24:34,875 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/367d6784-9750-46ec-b6ad-c342527de76b 2025-06-15 09:24:34,886 - DEBUG - ==>Verifying data for policy with id: a121c375-442f-4063-aa90-ed07e4753509, fqn: ['default-domain', 'ctest-TestBasicPolicy-38986770', 'ctest-policy-allow-all-52911198'] 2025-06-15 09:24:34,886 - INFO - VN ctest-vn-68232001 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-15 09:24:34,886 - DEBUG - Verifying the vn in opserver 2025-06-15 09:24:34,886 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-38986770:ctest-vn-68232001 virtual network link through opserver 10.0.0.38 2025-06-15 09:24:34,886 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-15 09:24:34,897 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-38986770:ctest-vn-68232001', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-38986770:ctest-vn-68232001?flat'} 2025-06-15 09:24:34,897 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-38986770:ctest-vn-68232001 is found in opserver 2025-06-15 09:24:34,908 - DEBUG - Do not have enough data to verify VN in agent 2025-06-15 09:24:34,913 - DEBUG - VRF ids for VN ctest-vn-68232001: {} 2025-06-15 09:24:34,971 - DEBUG - Services list from nova: [, , ] 2025-06-15 09:24:36,057 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3452-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3452-1) 2025-06-15 09:24:37,357 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3452-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3452-1) 2025-06-15 09:24:37,357 - INFO - Waiting for VM ctest-TestBasicPolicy-38986770-47823190 to be up.. 2025-06-15 09:24:37,432 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-15 09:24:42,514 - DEBUG - VM is in ACTIVE state now 2025-06-15 09:24:42,514 - INFO - VM name : ctest-TestBasicPolicy-38986770-47823190 2025-06-15 09:24:42,589 - DEBUG - VM ctest-TestBasicPolicy-38986770-47823190 ID is ec1dbb50-e579-4b92-9a8f-ac457cc9d2f9 2025-06-15 09:24:42,608 - DEBUG - VM ctest-TestBasicPolicy-38986770-47823190 launched on Node cn-jenkins-deploy-platform-ansible-os-3452-1 2025-06-15 09:24:42,683 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ec1dbb50-e579-4b92-9a8f-ac457cc9d2f9 2025-06-15 09:24:42,692 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/db9ef435-6890-477c-8d7a-c6c79081b5eb 2025-06-15 09:24:45,940 - 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 1007ms') 2025-06-15 09:24:45,940 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-38986770-47823190 failed! 2025-06-15 09:24:45,998 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-38986770:ctest-vn-24303937 is 7.253.236.1 and allocation pool is NOT set 2025-06-15 09:24:48,066 - 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.35 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.66 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 = 1.655/5.501/9.348/3.846 ms') 2025-06-15 09:24:48,066 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-38986770-47823190 passed 2025-06-15 09:24:48,216 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-15 09:24:48,216 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-38986770-47823190, IP 7.253.236.3, Port 22 2025-06-15 09:24:48,271 - 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-06-15 09:24:48,347 - DEBUG - VM ctest-TestBasicPolicy-38986770-47823190 is NOT ready for SSH connections, VM status: ACTIVE 2025-06-15 09:24:53,347 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-15 09:24:53,347 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-38986770-47823190, IP 7.253.236.3, Port 22 2025-06-15 09:24:53,507 - DEBUG - VM ctest-TestBasicPolicy-38986770-47823190 is ready for SSH connections 2025-06-15 09:24:53,508 - INFO - Waiting for VM ctest-TestBasicPolicy-38986770-12500524 to be up.. 2025-06-15 09:24:53,600 - DEBUG - VM is in ACTIVE state now 2025-06-15 09:24:53,600 - INFO - VM name : ctest-TestBasicPolicy-38986770-12500524 2025-06-15 09:24:53,683 - DEBUG - VM ctest-TestBasicPolicy-38986770-12500524 ID is 351af8f9-8bfb-44ad-a0c7-6bf23e3d3a8c 2025-06-15 09:24:53,684 - DEBUG - VM ctest-TestBasicPolicy-38986770-12500524 launched on Node cn-jenkins-deploy-platform-ansible-os-3452-1 2025-06-15 09:24:53,776 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/351af8f9-8bfb-44ad-a0c7-6bf23e3d3a8c 2025-06-15 09:24:53,787 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5e756b57-51d4-4c1e-8ed2-b35ea5a83723 2025-06-15 09:24:55,049 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.03 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.386 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.386/1.709/3.032/1.323 ms') 2025-06-15 09:24:55,049 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-38986770-12500524 passed 2025-06-15 09:24:55,208 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-15 09:24:55,208 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-38986770-12500524, IP 123.114.36.67, Port 22 2025-06-15 09:24:55,363 - DEBUG - VM ctest-TestBasicPolicy-38986770-12500524 is ready for SSH connections 2025-06-15 09:24:55,363 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-15 09:24:55,363 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.114.36.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-15 09:24:55,363 - DEBUG - ping -s 56 -c 3 -W 1 123.114.36.67 2025-06-15 09:24:59,059 - DEBUG - PING 123.114.36.67 (123.114.36.67): 56 data bytes 64 bytes from 123.114.36.67: seq=0 ttl=63 time=3.715 ms 64 bytes from 123.114.36.67: seq=1 ttl=63 time=0.808 ms 64 bytes from 123.114.36.67: seq=2 ttl=63 time=0.721 ms --- 123.114.36.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.721/1.748/3.715 ms 2025-06-15 09:24:59,059 - INFO - Ping to IP 123.114.36.67 from VM ctest-TestBasicPolicy-38986770-47823190 passed 2025-06-15 09:24:59,239 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a121c375-442f-4063-aa90-ed07e4753509", "href": "http://10.0.0.38:8082/network-policy/a121c375-442f-4063-aa90-ed07e4753509"}} 2025-06-15 09:24:59,240 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-15 09:24:59,240 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.114.36.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-15 09:24:59,240 - DEBUG - ping -s 56 -c 3 -W 1 123.114.36.67 2025-06-15 09:25:02,456 - DEBUG - PING 123.114.36.67 (123.114.36.67): 56 data bytes 64 bytes from 123.114.36.67: seq=0 ttl=63 time=1.442 ms --- 123.114.36.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.442/1.442/1.442 ms 2025-06-15 09:25:02,457 - WARNING - Ping to IP 123.114.36.67 from VM ctest-TestBasicPolicy-38986770-47823190 failed 2025-06-15 09:25:02,457 - INFO - Deleting VM ctest-TestBasicPolicy-38986770-12500524 2025-06-15 09:25:02,526 - INFO - Deleting VM ctest-TestBasicPolicy-38986770-47823190 2025-06-15 09:25:02,974 - INFO - Deleted policy ctest-policy-allow-all-52911198 2025-06-15 09:25:02,974 - INFO - Deleting VN ctest-vn-68232001 2025-06-15 09:25:03,024 - DEBUG - VN 367d6784-9750-46ec-b6ad-c342527de76b still in use: Unable to complete operation on network 367d6784-9750-46ec-b6ad-c342527de76b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bfa33025-4990-4754-9c3f-572233834c22'] 2025-06-15 09:25:03,024 - WARNING - Deleting VN ctest-vn-68232001 failed..Will retry 2025-06-15 09:25:05,128 - DEBUG - Response for deleting network () 2025-06-15 09:25:05,128 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cda13de0-41f1-4b2b-a428-f6dd2cfc5b90 2025-06-15 09:25:05,135 - DEBUG - Response Code: 404 2025-06-15 09:25:05,135 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-15 09:25:05,141 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1f766997-114d-407b-968d-2f81ae79b1d5 2025-06-15 09:25:05,197 - DEBUG - Requesting: http://10.0.0.38:8082/project/aabd72d8-8e72-4bb4-875e-3897533b054b 2025-06-15 09:25:05,270 - INFO - Validated that VN ctest-vn-68232001 is not found in API Server 2025-06-15 09:25:05,282 - DEBUG - VN ctest-vn-68232001 is not present in Agent 10.0.0.38 2025-06-15 09:25:05,282 - INFO - Validated that VN ctest-vn-68232001 is not in any agent 2025-06-15 09:25:05,299 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-68232001 info 2025-06-15 09:25:05,299 - INFO - Deleting VN ctest-vn-24303937 2025-06-15 09:25:05,402 - DEBUG - Response for deleting network () 2025-06-15 09:25:05,403 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0d58420f-5299-490b-966b-82137470f1d7 2025-06-15 09:25:05,414 - DEBUG - Response Code: 404 2025-06-15 09:25:05,414 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-15 09:25:05,420 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1f766997-114d-407b-968d-2f81ae79b1d5 2025-06-15 09:25:05,473 - DEBUG - Requesting: http://10.0.0.38:8082/project/aabd72d8-8e72-4bb4-875e-3897533b054b 2025-06-15 09:25:05,549 - INFO - Validated that VN ctest-vn-24303937 is not found in API Server 2025-06-15 09:25:05,562 - DEBUG - VN ctest-vn-24303937 is not present in Agent 10.0.0.38 2025-06-15 09:25:05,562 - INFO - Validated that VN ctest-vn-24303937 is not in any agent 2025-06-15 09:25:05,578 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-24303937 info 2025-06-15 09:25:05,833 - DEBUG - No XMPP flaps were noticed during the test 2025-06-15 09:25:05,833 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2025-06-15 09:25:05,833 - INFO - -------------------------------------------------------------------------------- 2025-06-15 09:25:06,661 - INFO - Deleted project: ctest-TestBasicPolicy-38986770, ID : aabd72d8-8e72-4bb4-875e-3897533b054b