2025-11-01 19:24:14,063 - INFO - Domain Default found not creating 2025-11-01 19:24:14,224 - INFO - Project ctest-TestBasicPolicy-62573562 not found, creating it 2025-11-01 19:24:14,720 - INFO - Created Project:ctest-TestBasicPolicy-62573562, ID : 93a7ba13-3a87-4691-be0a-09b32b9ed70f 2025-11-01 19:24:16,203 - INFO - ================================================================================ 2025-11-01 19:24:16,203 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-01 19:24:16,203 - 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-11-01 19:24:16,460 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-11-01 19:24:16,460 - INFO - Initial checks done. Running the testcase now 2025-11-01 19:24:16,460 - INFO - 2025-11-01 19:24:17,006 - DEBUG - Response for create_network : {'network': {'id': 'e3999d15-5aa0-4400-8e8a-70ae2851770b', 'name': 'ctest-vn-09836176', 'tenant_id': '93a7ba133a874691be0a09b32b9ed70f', 'project_id': '93a7ba133a874691be0a09b32b9ed70f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62573562', 'ctest-vn-09836176'], 'port_security_enabled': True, 'description': ''}} 2025-11-01 19:24:17,163 - DEBUG - Response for create_subnet : {'subnet': {'id': '23ee7518-3f61-4a5e-8619-17ac059b0a1c', 'name': '', 'tenant_id': '93a7ba133a874691be0a09b32b9ed70f', 'network_id': 'e3999d15-5aa0-4400-8e8a-70ae2851770b', 'ip_version': 4, 'cidr': '188.145.4.64/26', 'allocation_pools': [{'start': '188.145.4.66', 'end': '188.145.4.126'}], 'gateway_ip': '188.145.4.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '188.145.4.66', 'tags': [], 'project_id': '93a7ba133a874691be0a09b32b9ed70f'}} 2025-11-01 19:24:17,184 - INFO - Created VN ctest-vn-09836176 2025-11-01 19:24:17,238 - DEBUG - VN ctest-vn-09836176 UUID is e3999d15-5aa0-4400-8e8a-70ae2851770b 2025-11-01 19:24:17,548 - DEBUG - Response for create_network : {'network': {'id': 'dfbf26d6-d905-41bb-9b54-59e1e3cf8b38', 'name': 'ctest-vn-95567111', 'tenant_id': '93a7ba133a874691be0a09b32b9ed70f', 'project_id': '93a7ba133a874691be0a09b32b9ed70f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62573562', 'ctest-vn-95567111'], 'port_security_enabled': True, 'description': ''}} 2025-11-01 19:24:17,709 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c9ce0665-ecd8-4fff-855a-067353271d11', 'name': '', 'tenant_id': '93a7ba133a874691be0a09b32b9ed70f', 'network_id': 'dfbf26d6-d905-41bb-9b54-59e1e3cf8b38', 'ip_version': 4, 'cidr': '78.113.55.64/26', 'allocation_pools': [{'start': '78.113.55.66', 'end': '78.113.55.126'}], 'gateway_ip': '78.113.55.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '78.113.55.66', 'tags': [], 'project_id': '93a7ba133a874691be0a09b32b9ed70f'}} 2025-11-01 19:24:17,729 - INFO - Created VN ctest-vn-95567111 2025-11-01 19:24:17,782 - DEBUG - VN ctest-vn-95567111 UUID is dfbf26d6-d905-41bb-9b54-59e1e3cf8b38 2025-11-01 19:24:17,900 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-62573562:ctest-vn-09836176, 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-62573562:ctest-vn-95567111, 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-11-01 19:24:18,202 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e3999d15-5aa0-4400-8e8a-70ae2851770b', 'name': 'ctest-vn-09836176', 'tenant_id': '93a7ba133a874691be0a09b32b9ed70f', 'project_id': '93a7ba133a874691be0a09b32b9ed70f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['23ee7518-3f61-4a5e-8619-17ac059b0a1c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62573562', 'ctest-vn-09836176'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-62573562', 'ctest-policy-allow-all-32242988']], 'subnet_ipam': [{'subnet_cidr': '188.145.4.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-01 19:24:18,434 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'dfbf26d6-d905-41bb-9b54-59e1e3cf8b38', 'name': 'ctest-vn-95567111', 'tenant_id': '93a7ba133a874691be0a09b32b9ed70f', 'project_id': '93a7ba133a874691be0a09b32b9ed70f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c9ce0665-ecd8-4fff-855a-067353271d11'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62573562', 'ctest-vn-95567111'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-62573562', 'ctest-policy-allow-all-32242988']], 'subnet_ipam': [{'subnet_cidr': '78.113.55.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-01 19:24:18,574 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-11-01 19:24:18,868 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-11-01 19:24:18,897 - DEBUG - Requesting: http://10.0.0.48:8082/domain/242bec7a-e5d7-414a-8a1e-318ce10ff8cf 2025-11-01 19:24:18,911 - DEBUG - Requesting: http://10.0.0.48:8082/project/93a7ba13-3a87-4691-be0a-09b32b9ed70f 2025-11-01 19:24:18,983 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/e3999d15-5aa0-4400-8e8a-70ae2851770b 2025-11-01 19:24:18,993 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/e3999d15-5aa0-4400-8e8a-70ae2851770b 2025-11-01 19:24:19,003 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/0c05daaf-fb0f-4078-ac6d-6c27b1a5e935 2025-11-01 19:24:19,011 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/0c05daaf-fb0f-4078-ac6d-6c27b1a5e935 2025-11-01 19:24:19,020 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/39d1e272-ec44-43c1-90c1-20349b7d4d2a 2025-11-01 19:24:19,028 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-01 19:24:19,028 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/e3999d15-5aa0-4400-8e8a-70ae2851770b 2025-11-01 19:24:19,038 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/0c05daaf-fb0f-4078-ac6d-6c27b1a5e935 2025-11-01 19:24:19,053 - INFO - Verified VN network id 11 for VN e3999d15-5aa0-4400-8e8a-70ae2851770b 2025-11-01 19:24:19,053 - INFO - Verifications in API Server for VN ctest-vn-09836176 passed 2025-11-01 19:24:19,053 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/e3999d15-5aa0-4400-8e8a-70ae2851770b 2025-11-01 19:24:19,062 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/0c05daaf-fb0f-4078-ac6d-6c27b1a5e935 2025-11-01 19:24:19,069 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/0c05daaf-fb0f-4078-ac6d-6c27b1a5e935 2025-11-01 19:24:19,076 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/39d1e272-ec44-43c1-90c1-20349b7d4d2a 2025-11-01 19:24:19,089 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-62573562:ctest-vn-09836176', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-62573562', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16400312233086698496', 'uuid-lslong': '10271145793474885387'}, 'enable': 'true', 'created': '2025-11-01T19:24:16', 'last-modified': '2025-11-01T19:24:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.910676'} 2025-11-01 19:24:19,096 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-01 19:24:19,096 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09836176 passed 2025-11-01 19:24:19,096 - DEBUG - ====Verifying policy data for ctest-vn-09836176 in API_Server ====== 2025-11-01 19:24:19,096 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-11-01 19:24:19,102 - DEBUG - Requesting: http://10.0.0.48:8082/domain/242bec7a-e5d7-414a-8a1e-318ce10ff8cf 2025-11-01 19:24:19,115 - DEBUG - Requesting: http://10.0.0.48:8082/project/93a7ba13-3a87-4691-be0a-09b32b9ed70f 2025-11-01 19:24:19,184 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/e3999d15-5aa0-4400-8e8a-70ae2851770b 2025-11-01 19:24:19,194 - DEBUG - ==>Verifying data for policy with id: cb955ab9-1355-4523-b5a9-5b5f4d8c05fe, fqn: ['default-domain', 'ctest-TestBasicPolicy-62573562', 'ctest-policy-allow-all-32242988'] 2025-11-01 19:24:19,194 - INFO - VN ctest-vn-09836176 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-01 19:24:19,194 - DEBUG - Verifying the vn in opserver 2025-11-01 19:24:19,195 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-62573562:ctest-vn-09836176 virtual network link through opserver 10.0.0.48 2025-11-01 19:24:19,195 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-11-01 19:24:19,504 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-11-01 19:24:19,565 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-62573562:ctest-vn-09836176', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-62573562:ctest-vn-09836176?flat'} 2025-11-01 19:24:19,565 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-62573562:ctest-vn-09836176 is found in opserver 2025-11-01 19:24:19,577 - DEBUG - Do not have enough data to verify VN in agent 2025-11-01 19:24:19,582 - DEBUG - VRF ids for VN ctest-vn-09836176: {} 2025-11-01 19:24:19,582 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-11-01 19:24:19,589 - DEBUG - Requesting: http://10.0.0.48:8082/domain/242bec7a-e5d7-414a-8a1e-318ce10ff8cf 2025-11-01 19:24:19,601 - DEBUG - Requesting: http://10.0.0.48:8082/project/93a7ba13-3a87-4691-be0a-09b32b9ed70f 2025-11-01 19:24:19,674 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/dfbf26d6-d905-41bb-9b54-59e1e3cf8b38 2025-11-01 19:24:19,686 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/dfbf26d6-d905-41bb-9b54-59e1e3cf8b38 2025-11-01 19:24:19,697 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/7327fb9a-b5d8-4882-9ef7-89170a4e274d 2025-11-01 19:24:19,704 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/7327fb9a-b5d8-4882-9ef7-89170a4e274d 2025-11-01 19:24:19,714 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/56527804-e50c-4725-bdf6-4dcd0a444aba 2025-11-01 19:24:19,722 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-01 19:24:19,722 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/dfbf26d6-d905-41bb-9b54-59e1e3cf8b38 2025-11-01 19:24:19,732 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/7327fb9a-b5d8-4882-9ef7-89170a4e274d 2025-11-01 19:24:19,746 - INFO - Verified VN network id 12 for VN dfbf26d6-d905-41bb-9b54-59e1e3cf8b38 2025-11-01 19:24:19,746 - INFO - Verifications in API Server for VN ctest-vn-95567111 passed 2025-11-01 19:24:19,746 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/dfbf26d6-d905-41bb-9b54-59e1e3cf8b38 2025-11-01 19:24:19,756 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/7327fb9a-b5d8-4882-9ef7-89170a4e274d 2025-11-01 19:24:19,762 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/7327fb9a-b5d8-4882-9ef7-89170a4e274d 2025-11-01 19:24:19,771 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/56527804-e50c-4725-bdf6-4dcd0a444aba 2025-11-01 19:24:19,784 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-62573562:ctest-vn-95567111', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-62573562', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16122647895215522235', 'uuid-lslong': '11192669800647068472'}, 'enable': 'true', 'created': '2025-11-01T19:24:17', 'last-modified': '2025-11-01T19:24:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.376382'} 2025-11-01 19:24:19,790 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-01 19:24:19,790 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-95567111 passed 2025-11-01 19:24:19,790 - DEBUG - ====Verifying policy data for ctest-vn-95567111 in API_Server ====== 2025-11-01 19:24:19,790 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-11-01 19:24:19,796 - DEBUG - Requesting: http://10.0.0.48:8082/domain/242bec7a-e5d7-414a-8a1e-318ce10ff8cf 2025-11-01 19:24:19,807 - DEBUG - Requesting: http://10.0.0.48:8082/project/93a7ba13-3a87-4691-be0a-09b32b9ed70f 2025-11-01 19:24:19,874 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/dfbf26d6-d905-41bb-9b54-59e1e3cf8b38 2025-11-01 19:24:19,882 - DEBUG - ==>Verifying data for policy with id: cb955ab9-1355-4523-b5a9-5b5f4d8c05fe, fqn: ['default-domain', 'ctest-TestBasicPolicy-62573562', 'ctest-policy-allow-all-32242988'] 2025-11-01 19:24:19,882 - INFO - VN ctest-vn-95567111 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-01 19:24:19,882 - DEBUG - Verifying the vn in opserver 2025-11-01 19:24:19,882 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-62573562:ctest-vn-95567111 virtual network link through opserver 10.0.0.48 2025-11-01 19:24:19,882 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-11-01 19:24:19,893 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-62573562:ctest-vn-95567111', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-62573562:ctest-vn-95567111?flat'} 2025-11-01 19:24:19,893 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-62573562:ctest-vn-95567111 is found in opserver 2025-11-01 19:24:19,902 - DEBUG - Do not have enough data to verify VN in agent 2025-11-01 19:24:19,907 - DEBUG - VRF ids for VN ctest-vn-95567111: {} 2025-11-01 19:24:19,971 - DEBUG - Services list from nova: [, , ] 2025-11-01 19:24:21,032 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4591-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4591-1) 2025-11-01 19:24:22,284 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4591-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4591-1) 2025-11-01 19:24:22,287 - INFO - Waiting for VM ctest-TestBasicPolicy-62573562-47476530 to be up.. 2025-11-01 19:24:22,369 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-01 19:24:27,448 - DEBUG - VM is in ACTIVE state now 2025-11-01 19:24:27,448 - INFO - VM name : ctest-TestBasicPolicy-62573562-47476530 2025-11-01 19:24:27,519 - DEBUG - VM ctest-TestBasicPolicy-62573562-47476530 ID is a47684dc-8861-4b41-b032-434799805e51 2025-11-01 19:24:27,539 - DEBUG - VM ctest-TestBasicPolicy-62573562-47476530 launched on Node cn-jenkins-deploy-platform-ansible-os-4591-1 2025-11-01 19:24:27,616 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/a47684dc-8861-4b41-b032-434799805e51 2025-11-01 19:24:27,633 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/a0063880-4bac-4523-b36a-b333c941b1cd 2025-11-01 19:24:30,902 - 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 1021ms') 2025-11-01 19:24:30,902 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-62573562-47476530 failed! 2025-11-01 19:24:30,958 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-62573562:ctest-vn-09836176 is 188.145.4.65 and allocation pool is NOT set 2025-11-01 19:24:33,030 - 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.36 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.918 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.918/5.139/9.360/4.221 ms') 2025-11-01 19:24:33,030 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-62573562-47476530 passed 2025-11-01 19:24:33,186 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 19:24:33,186 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-62573562-47476530, IP 188.145.4.67, Port 22 2025-11-01 19:24:33,252 - 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-11-01 19:24:33,332 - DEBUG - VM ctest-TestBasicPolicy-62573562-47476530 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-01 19:24:38,332 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 19:24:38,333 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-62573562-47476530, IP 188.145.4.67, Port 22 2025-11-01 19:24:38,491 - DEBUG - VM ctest-TestBasicPolicy-62573562-47476530 is ready for SSH connections 2025-11-01 19:24:38,491 - INFO - Waiting for VM ctest-TestBasicPolicy-62573562-70913887 to be up.. 2025-11-01 19:24:38,578 - DEBUG - VM is in ACTIVE state now 2025-11-01 19:24:38,578 - INFO - VM name : ctest-TestBasicPolicy-62573562-70913887 2025-11-01 19:24:38,653 - DEBUG - VM ctest-TestBasicPolicy-62573562-70913887 ID is 133aec65-617c-4641-ae9b-9084bbe78a74 2025-11-01 19:24:38,653 - DEBUG - VM ctest-TestBasicPolicy-62573562-70913887 launched on Node cn-jenkins-deploy-platform-ansible-os-4591-1 2025-11-01 19:24:38,734 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/133aec65-617c-4641-ae9b-9084bbe78a74 2025-11-01 19:24:38,742 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/52cf9ac1-a981-46f3-bc29-5b1663dfd3d4 2025-11-01 19:24:39,988 - 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.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.503 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.503/1.740/2.978/1.237 ms') 2025-11-01 19:24:39,989 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-62573562-70913887 passed 2025-11-01 19:24:40,142 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 19:24:40,142 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-62573562-70913887, IP 78.113.55.67, Port 22 2025-11-01 19:24:40,298 - DEBUG - VM ctest-TestBasicPolicy-62573562-70913887 is ready for SSH connections 2025-11-01 19:24:40,298 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 19:24:40,298 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 78.113.55.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-11-01 19:24:40,298 - DEBUG - ping -s 56 -c 3 -W 1 78.113.55.67 2025-11-01 19:24:44,357 - DEBUG - PING 78.113.55.67 (78.113.55.67): 56 data bytes 64 bytes from 78.113.55.67: seq=0 ttl=63 time=3.363 ms 64 bytes from 78.113.55.67: seq=1 ttl=63 time=1.163 ms 64 bytes from 78.113.55.67: seq=2 ttl=63 time=1.202 ms --- 78.113.55.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.163/1.909/3.363 ms 2025-11-01 19:24:44,357 - INFO - Ping to IP 78.113.55.67 from VM ctest-TestBasicPolicy-62573562-47476530 passed 2025-11-01 19:24:44,529 - DEBUG - Policy Update Response {"network-policy": {"uuid": "cb955ab9-1355-4523-b5a9-5b5f4d8c05fe", "href": "http://10.0.0.48:8082/network-policy/cb955ab9-1355-4523-b5a9-5b5f4d8c05fe"}} 2025-11-01 19:24:44,530 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 19:24:44,530 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 78.113.55.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-11-01 19:24:44,530 - DEBUG - ping -s 56 -c 3 -W 1 78.113.55.67 2025-11-01 19:24:47,748 - DEBUG - PING 78.113.55.67 (78.113.55.67): 56 data bytes --- 78.113.55.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-01 19:24:47,748 - WARNING - Ping to IP 78.113.55.67 from VM ctest-TestBasicPolicy-62573562-47476530 failed 2025-11-01 19:24:47,749 - INFO - Deleting VM ctest-TestBasicPolicy-62573562-70913887 2025-11-01 19:24:47,817 - INFO - Deleting VM ctest-TestBasicPolicy-62573562-47476530 2025-11-01 19:24:48,188 - INFO - Deleted policy ctest-policy-allow-all-32242988 2025-11-01 19:24:48,188 - INFO - Deleting VN ctest-vn-95567111 2025-11-01 19:24:48,229 - DEBUG - VN dfbf26d6-d905-41bb-9b54-59e1e3cf8b38 still in use: Unable to complete operation on network dfbf26d6-d905-41bb-9b54-59e1e3cf8b38. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-002cce1d-ff1f-4198-9b15-c6789b2f63a4'] 2025-11-01 19:24:48,230 - WARNING - Deleting VN ctest-vn-95567111 failed..Will retry 2025-11-01 19:24:50,330 - DEBUG - Response for deleting network () 2025-11-01 19:24:50,330 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/7327fb9a-b5d8-4882-9ef7-89170a4e274d 2025-11-01 19:24:50,336 - DEBUG - Response Code: 404 2025-11-01 19:24:50,337 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-11-01 19:24:50,342 - DEBUG - Requesting: http://10.0.0.48:8082/domain/242bec7a-e5d7-414a-8a1e-318ce10ff8cf 2025-11-01 19:24:50,395 - DEBUG - Requesting: http://10.0.0.48:8082/project/93a7ba13-3a87-4691-be0a-09b32b9ed70f 2025-11-01 19:24:50,462 - INFO - Validated that VN ctest-vn-95567111 is not found in API Server 2025-11-01 19:24:50,472 - DEBUG - VN ctest-vn-95567111 is not present in Agent 10.0.0.48 2025-11-01 19:24:50,472 - INFO - Validated that VN ctest-vn-95567111 is not in any agent 2025-11-01 19:24:50,484 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-95567111 info 2025-11-01 19:24:50,484 - INFO - Deleting VN ctest-vn-09836176 2025-11-01 19:24:50,584 - DEBUG - Response for deleting network () 2025-11-01 19:24:50,584 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/0c05daaf-fb0f-4078-ac6d-6c27b1a5e935 2025-11-01 19:24:50,592 - DEBUG - Response Code: 404 2025-11-01 19:24:50,592 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-11-01 19:24:50,598 - DEBUG - Requesting: http://10.0.0.48:8082/domain/242bec7a-e5d7-414a-8a1e-318ce10ff8cf 2025-11-01 19:24:50,656 - DEBUG - Requesting: http://10.0.0.48:8082/project/93a7ba13-3a87-4691-be0a-09b32b9ed70f 2025-11-01 19:24:50,730 - INFO - Validated that VN ctest-vn-09836176 is not found in API Server 2025-11-01 19:24:50,739 - DEBUG - VN ctest-vn-09836176 is not present in Agent 10.0.0.48 2025-11-01 19:24:50,739 - INFO - Validated that VN ctest-vn-09836176 is not in any agent 2025-11-01 19:24:50,754 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-09836176 info 2025-11-01 19:24:51,007 - DEBUG - No XMPP flaps were noticed during the test
2025-11-01 19:24:51,007 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2025-11-01 19:24:51,007 - INFO - -------------------------------------------------------------------------------- 2025-11-01 19:24:51,735 - INFO - Deleted project: ctest-TestBasicPolicy-62573562, ID : 93a7ba13-3a87-4691-be0a-09b32b9ed70f