2025-12-10 17:12:38,811 - INFO - Domain Default found not creating 2025-12-10 17:12:39,204 - INFO - Project ctest-TestBasicPolicy-45196749 not found, creating it 2025-12-10 17:12:39,835 - INFO - Created Project:ctest-TestBasicPolicy-45196749, ID : 19fd74d1-9e13-4f3a-95ef-4239b588294d 2025-12-10 17:12:42,040 - INFO - ================================================================================ 2025-12-10 17:12:42,040 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-10 17:12:42,041 - 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-12-10 17:12:42,371 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.14': '0'}} with 2025-12-10 17:12:42,371 - INFO - Initial checks done. Running the testcase now 2025-12-10 17:12:42,371 - INFO - 2025-12-10 17:12:43,065 - DEBUG - Response for create_network : {'network': {'id': '53db5283-0a81-40d3-b5d3-89f1b40b5813', 'name': 'ctest-vn-28532498', 'tenant_id': '19fd74d19e134f3a95ef4239b588294d', 'project_id': '19fd74d19e134f3a95ef4239b588294d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45196749', 'ctest-vn-28532498'], 'port_security_enabled': True, 'description': ''}} 2025-12-10 17:12:43,299 - DEBUG - Response for create_subnet : {'subnet': {'id': '2030bc61-b076-4c52-9203-3b9721532673', 'name': '', 'tenant_id': '19fd74d19e134f3a95ef4239b588294d', 'network_id': '53db5283-0a81-40d3-b5d3-89f1b40b5813', 'ip_version': 4, 'cidr': '63.220.67.128/26', 'allocation_pools': [{'start': '63.220.67.130', 'end': '63.220.67.190'}], 'gateway_ip': '63.220.67.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.220.67.130', 'tags': [], 'project_id': '19fd74d19e134f3a95ef4239b588294d'}} 2025-12-10 17:12:43,324 - INFO - Created VN ctest-vn-28532498 2025-12-10 17:12:43,384 - DEBUG - VN ctest-vn-28532498 UUID is 53db5283-0a81-40d3-b5d3-89f1b40b5813 2025-12-10 17:12:43,810 - DEBUG - Response for create_network : {'network': {'id': '98c1b228-e0f8-4119-a746-03e27143c831', 'name': 'ctest-vn-11094779', 'tenant_id': '19fd74d19e134f3a95ef4239b588294d', 'project_id': '19fd74d19e134f3a95ef4239b588294d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45196749', 'ctest-vn-11094779'], 'port_security_enabled': True, 'description': ''}} 2025-12-10 17:12:44,049 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cb98df55-c820-481e-8fd4-5a5fd6a95dcf', 'name': '', 'tenant_id': '19fd74d19e134f3a95ef4239b588294d', 'network_id': '98c1b228-e0f8-4119-a746-03e27143c831', 'ip_version': 4, 'cidr': '221.161.67.0/26', 'allocation_pools': [{'start': '221.161.67.2', 'end': '221.161.67.62'}], 'gateway_ip': '221.161.67.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.161.67.2', 'tags': [], 'project_id': '19fd74d19e134f3a95ef4239b588294d'}} 2025-12-10 17:12:44,075 - INFO - Created VN ctest-vn-11094779 2025-12-10 17:12:44,144 - DEBUG - VN ctest-vn-11094779 UUID is 98c1b228-e0f8-4119-a746-03e27143c831 2025-12-10 17:12:44,285 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-45196749:ctest-vn-28532498, 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-45196749:ctest-vn-11094779, 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-12-10 17:12:44,712 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '53db5283-0a81-40d3-b5d3-89f1b40b5813', 'name': 'ctest-vn-28532498', 'tenant_id': '19fd74d19e134f3a95ef4239b588294d', 'project_id': '19fd74d19e134f3a95ef4239b588294d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2030bc61-b076-4c52-9203-3b9721532673'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45196749', 'ctest-vn-28532498'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45196749', 'ctest-policy-allow-all-73537240']], 'subnet_ipam': [{'subnet_cidr': '63.220.67.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-10 17:12:45,038 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '98c1b228-e0f8-4119-a746-03e27143c831', 'name': 'ctest-vn-11094779', 'tenant_id': '19fd74d19e134f3a95ef4239b588294d', 'project_id': '19fd74d19e134f3a95ef4239b588294d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cb98df55-c820-481e-8fd4-5a5fd6a95dcf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45196749', 'ctest-vn-11094779'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45196749', 'ctest-policy-allow-all-73537240']], 'subnet_ipam': [{'subnet_cidr': '221.161.67.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-10 17:12:45,216 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-12-10 17:12:45,531 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-12-10 17:12:45,576 - DEBUG - Requesting: http://10.0.0.19:8082/domain/f81f2820-5db2-47cc-829c-ed26c33c1bbd 2025-12-10 17:12:45,608 - DEBUG - Requesting: http://10.0.0.19:8082/project/19fd74d1-9e13-4f3a-95ef-4239b588294d 2025-12-10 17:12:45,720 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/53db5283-0a81-40d3-b5d3-89f1b40b5813 2025-12-10 17:12:45,741 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/53db5283-0a81-40d3-b5d3-89f1b40b5813 2025-12-10 17:12:45,761 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/3530c05c-3d35-4b2c-be2e-2607ec604f47 2025-12-10 17:12:45,777 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/3530c05c-3d35-4b2c-be2e-2607ec604f47 2025-12-10 17:12:45,792 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/9df4f4e8-ba0a-4f32-8728-7ad4eab4a2fa 2025-12-10 17:12:45,807 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-10 17:12:45,807 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/53db5283-0a81-40d3-b5d3-89f1b40b5813 2025-12-10 17:12:45,829 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/3530c05c-3d35-4b2c-be2e-2607ec604f47 2025-12-10 17:12:45,857 - INFO - Verified VN network id 11 for VN 53db5283-0a81-40d3-b5d3-89f1b40b5813 2025-12-10 17:12:45,857 - INFO - Verifications in API Server for VN ctest-vn-28532498 passed 2025-12-10 17:12:45,857 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/53db5283-0a81-40d3-b5d3-89f1b40b5813 2025-12-10 17:12:45,875 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/3530c05c-3d35-4b2c-be2e-2607ec604f47 2025-12-10 17:12:45,887 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/3530c05c-3d35-4b2c-be2e-2607ec604f47 2025-12-10 17:12:45,899 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/9df4f4e8-ba0a-4f32-8728-7ad4eab4a2fa 2025-12-10 17:12:45,916 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45196749:ctest-vn-28532498', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45196749', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6042514047818088659', 'uuid-lslong': '13101967412151670803'}, 'enable': 'true', 'created': '2025-12-10T17:12:43', 'last-modified': '2025-12-10T17:12:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.240580'} 2025-12-10 17:12:45,926 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-10 17:12:45,926 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-28532498 passed 2025-12-10 17:12:45,926 - DEBUG - ====Verifying policy data for ctest-vn-28532498 in API_Server ====== 2025-12-10 17:12:45,926 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-12-10 17:12:45,935 - DEBUG - Requesting: http://10.0.0.19:8082/domain/f81f2820-5db2-47cc-829c-ed26c33c1bbd 2025-12-10 17:12:45,957 - DEBUG - Requesting: http://10.0.0.19:8082/project/19fd74d1-9e13-4f3a-95ef-4239b588294d 2025-12-10 17:12:46,064 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/53db5283-0a81-40d3-b5d3-89f1b40b5813 2025-12-10 17:12:46,087 - DEBUG - ==>Verifying data for policy with id: 7a5a0e6c-c4bc-49db-851f-3f0fc84244f9, fqn: ['default-domain', 'ctest-TestBasicPolicy-45196749', 'ctest-policy-allow-all-73537240'] 2025-12-10 17:12:46,087 - INFO - VN ctest-vn-28532498 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-10 17:12:46,087 - DEBUG - Verifying the vn in opserver 2025-12-10 17:12:46,087 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45196749:ctest-vn-28532498 virtual network link through opserver 10.0.0.19 2025-12-10 17:12:46,088 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-12-10 17:12:46,418 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-12-10 17:12:46,512 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45196749:ctest-vn-28532498', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45196749:ctest-vn-28532498?flat'} 2025-12-10 17:12:46,512 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45196749:ctest-vn-28532498 is found in opserver 2025-12-10 17:12:46,534 - DEBUG - Do not have enough data to verify VN in agent 2025-12-10 17:12:46,545 - DEBUG - VRF ids for VN ctest-vn-28532498: {} 2025-12-10 17:12:46,545 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-12-10 17:12:46,551 - DEBUG - Requesting: http://10.0.0.19:8082/domain/f81f2820-5db2-47cc-829c-ed26c33c1bbd 2025-12-10 17:12:46,563 - DEBUG - Requesting: http://10.0.0.19:8082/project/19fd74d1-9e13-4f3a-95ef-4239b588294d 2025-12-10 17:12:46,651 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/98c1b228-e0f8-4119-a746-03e27143c831 2025-12-10 17:12:46,664 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/98c1b228-e0f8-4119-a746-03e27143c831 2025-12-10 17:12:46,673 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/c74dbc54-33df-4371-abe8-eb1c1ce52bf2 2025-12-10 17:12:46,683 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/c74dbc54-33df-4371-abe8-eb1c1ce52bf2 2025-12-10 17:12:46,693 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/f3f0d78d-0660-40ac-8df7-7ef3cc185f02 2025-12-10 17:12:46,702 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-10 17:12:46,702 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/98c1b228-e0f8-4119-a746-03e27143c831 2025-12-10 17:12:46,712 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/c74dbc54-33df-4371-abe8-eb1c1ce52bf2 2025-12-10 17:12:46,731 - INFO - Verified VN network id 12 for VN 98c1b228-e0f8-4119-a746-03e27143c831 2025-12-10 17:12:46,731 - INFO - Verifications in API Server for VN ctest-vn-11094779 passed 2025-12-10 17:12:46,732 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/98c1b228-e0f8-4119-a746-03e27143c831 2025-12-10 17:12:46,743 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/c74dbc54-33df-4371-abe8-eb1c1ce52bf2 2025-12-10 17:12:46,750 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/c74dbc54-33df-4371-abe8-eb1c1ce52bf2 2025-12-10 17:12:46,758 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/f3f0d78d-0660-40ac-8df7-7ef3cc185f02 2025-12-10 17:12:46,771 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45196749:ctest-vn-11094779', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45196749', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11007274852913004825', 'uuid-lslong': '12053325723801471025'}, 'enable': 'true', 'created': '2025-12-10T17:12:43', 'last-modified': '2025-12-10T17:12:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.773653'} 2025-12-10 17:12:46,779 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-10 17:12:46,779 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-11094779 passed 2025-12-10 17:12:46,780 - DEBUG - ====Verifying policy data for ctest-vn-11094779 in API_Server ====== 2025-12-10 17:12:46,780 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-12-10 17:12:46,787 - DEBUG - Requesting: http://10.0.0.19:8082/domain/f81f2820-5db2-47cc-829c-ed26c33c1bbd 2025-12-10 17:12:46,799 - DEBUG - Requesting: http://10.0.0.19:8082/project/19fd74d1-9e13-4f3a-95ef-4239b588294d 2025-12-10 17:12:46,892 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/98c1b228-e0f8-4119-a746-03e27143c831 2025-12-10 17:12:46,912 - DEBUG - ==>Verifying data for policy with id: 7a5a0e6c-c4bc-49db-851f-3f0fc84244f9, fqn: ['default-domain', 'ctest-TestBasicPolicy-45196749', 'ctest-policy-allow-all-73537240'] 2025-12-10 17:12:46,912 - INFO - VN ctest-vn-11094779 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-10 17:12:46,913 - DEBUG - Verifying the vn in opserver 2025-12-10 17:12:46,913 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45196749:ctest-vn-11094779 virtual network link through opserver 10.0.0.19 2025-12-10 17:12:46,913 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-12-10 17:12:46,927 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45196749:ctest-vn-11094779', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45196749:ctest-vn-11094779?flat'} 2025-12-10 17:12:46,927 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45196749:ctest-vn-11094779 is found in opserver 2025-12-10 17:12:46,943 - DEBUG - Do not have enough data to verify VN in agent 2025-12-10 17:12:46,951 - DEBUG - VRF ids for VN ctest-vn-11094779: {} 2025-12-10 17:12:47,079 - DEBUG - Services list from nova: [, , ] 2025-12-10 17:12:48,647 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4876-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4876-1) 2025-12-10 17:12:50,069 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4876-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4876-1) 2025-12-10 17:12:50,070 - INFO - Waiting for VM ctest-TestBasicPolicy-45196749-18051783 to be up.. 2025-12-10 17:12:50,170 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-10 17:12:55,307 - DEBUG - VM is in ACTIVE state now 2025-12-10 17:12:55,307 - INFO - VM name : ctest-TestBasicPolicy-45196749-18051783 2025-12-10 17:12:55,422 - DEBUG - VM ctest-TestBasicPolicy-45196749-18051783 ID is f1d7400b-c3e8-48ab-a276-373a025d59ef 2025-12-10 17:12:55,443 - DEBUG - VM ctest-TestBasicPolicy-45196749-18051783 launched on Node cn-jenkins-deploy-platform-ansible-os-4876-1 2025-12-10 17:12:55,536 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/f1d7400b-c3e8-48ab-a276-373a025d59ef 2025-12-10 17:12:55,547 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/50312b68-20b0-4c08-9c6e-3fb1737f6200 2025-12-10 17:12:58,836 - 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 1003ms') 2025-12-10 17:12:58,837 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-45196749-18051783 failed! 2025-12-10 17:12:58,916 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-45196749:ctest-vn-28532498 is 63.220.67.129 and allocation pool is NOT set 2025-12-10 17:13:00,993 - 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=15.0 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.64 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 2.639/8.802/14.965/6.163 ms') 2025-12-10 17:13:00,994 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-45196749-18051783 passed 2025-12-10 17:13:01,155 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-10 17:13:01,156 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45196749-18051783, IP 63.220.67.131, Port 22 2025-12-10 17:13:01,221 - 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-12-10 17:13:01,328 - DEBUG - VM ctest-TestBasicPolicy-45196749-18051783 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-10 17:13:06,329 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-10 17:13:06,329 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45196749-18051783, IP 63.220.67.131, Port 22 2025-12-10 17:13:06,512 - DEBUG - VM ctest-TestBasicPolicy-45196749-18051783 is ready for SSH connections 2025-12-10 17:13:06,512 - INFO - Waiting for VM ctest-TestBasicPolicy-45196749-73880862 to be up.. 2025-12-10 17:13:06,696 - DEBUG - VM is in ACTIVE state now 2025-12-10 17:13:06,696 - INFO - VM name : ctest-TestBasicPolicy-45196749-73880862 2025-12-10 17:13:06,861 - DEBUG - VM ctest-TestBasicPolicy-45196749-73880862 ID is b5d84cf6-0dd2-424a-a58c-176787d1ebac 2025-12-10 17:13:06,861 - DEBUG - VM ctest-TestBasicPolicy-45196749-73880862 launched on Node cn-jenkins-deploy-platform-ansible-os-4876-1 2025-12-10 17:13:07,011 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/b5d84cf6-0dd2-424a-a58c-176787d1ebac 2025-12-10 17:13:07,025 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/1ae7f1b3-5654-477a-ac1a-93561b559d7d 2025-12-10 17:13:08,339 - 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=11.8 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.763 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.763/6.283/11.803/5.520 ms') 2025-12-10 17:13:08,340 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-45196749-73880862 passed 2025-12-10 17:13:08,520 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-10 17:13:08,520 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45196749-73880862, IP 221.161.67.3, Port 22 2025-12-10 17:13:08,707 - DEBUG - VM ctest-TestBasicPolicy-45196749-73880862 is ready for SSH connections 2025-12-10 17:13:08,707 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-10 17:13:08,708 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 221.161.67.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-12-10 17:13:08,708 - DEBUG - ping -s 56 -c 3 -W 1 221.161.67.3 2025-12-10 17:13:13,210 - DEBUG - PING 221.161.67.3 (221.161.67.3): 56 data bytes 64 bytes from 221.161.67.3: seq=0 ttl=63 time=4.468 ms 64 bytes from 221.161.67.3: seq=1 ttl=63 time=1.550 ms 64 bytes from 221.161.67.3: seq=2 ttl=63 time=2.217 ms --- 221.161.67.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.550/2.745/4.468 ms 2025-12-10 17:13:13,210 - INFO - Ping to IP 221.161.67.3 from VM ctest-TestBasicPolicy-45196749-18051783 passed 2025-12-10 17:13:13,435 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7a5a0e6c-c4bc-49db-851f-3f0fc84244f9", "href": "http://10.0.0.19:8082/network-policy/7a5a0e6c-c4bc-49db-851f-3f0fc84244f9"}} 2025-12-10 17:13:13,436 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-10 17:13:13,436 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 221.161.67.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-12-10 17:13:13,436 - DEBUG - ping -s 56 -c 3 -W 1 221.161.67.3 2025-12-10 17:13:16,723 - DEBUG - PING 221.161.67.3 (221.161.67.3): 56 data bytes --- 221.161.67.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-10 17:13:16,723 - WARNING - Ping to IP 221.161.67.3 from VM ctest-TestBasicPolicy-45196749-18051783 failed 2025-12-10 17:13:16,724 - INFO - Deleting VM ctest-TestBasicPolicy-45196749-73880862 2025-12-10 17:13:16,899 - INFO - Deleting VM ctest-TestBasicPolicy-45196749-18051783 2025-12-10 17:13:17,377 - INFO - Deleted policy ctest-policy-allow-all-73537240 2025-12-10 17:13:17,378 - INFO - Deleting VN ctest-vn-11094779 2025-12-10 17:13:17,425 - DEBUG - VN 98c1b228-e0f8-4119-a746-03e27143c831 still in use: Unable to complete operation on network 98c1b228-e0f8-4119-a746-03e27143c831. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2c3ad7ae-b17f-4314-b5e0-0f186a3d71a8'] 2025-12-10 17:13:17,425 - WARNING - Deleting VN ctest-vn-11094779 failed..Will retry 2025-12-10 17:13:19,584 - DEBUG - Response for deleting network () 2025-12-10 17:13:19,584 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/c74dbc54-33df-4371-abe8-eb1c1ce52bf2 2025-12-10 17:13:19,591 - DEBUG - Response Code: 404 2025-12-10 17:13:19,591 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-12-10 17:13:19,596 - DEBUG - Requesting: http://10.0.0.19:8082/domain/f81f2820-5db2-47cc-829c-ed26c33c1bbd 2025-12-10 17:13:19,654 - DEBUG - Requesting: http://10.0.0.19:8082/project/19fd74d1-9e13-4f3a-95ef-4239b588294d 2025-12-10 17:13:19,744 - INFO - Validated that VN ctest-vn-11094779 is not found in API Server 2025-12-10 17:13:19,758 - DEBUG - VN ctest-vn-11094779 is not present in Agent 10.0.0.19 2025-12-10 17:13:19,758 - INFO - Validated that VN ctest-vn-11094779 is not in any agent 2025-12-10 17:13:19,782 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-11094779 info 2025-12-10 17:13:19,782 - INFO - Deleting VN ctest-vn-28532498 2025-12-10 17:13:19,937 - DEBUG - Response for deleting network () 2025-12-10 17:13:19,937 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/3530c05c-3d35-4b2c-be2e-2607ec604f47 2025-12-10 17:13:19,942 - DEBUG - Response Code: 404 2025-12-10 17:13:19,943 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-12-10 17:13:19,950 - DEBUG - Requesting: http://10.0.0.19:8082/domain/f81f2820-5db2-47cc-829c-ed26c33c1bbd 2025-12-10 17:13:20,007 - DEBUG - Requesting: http://10.0.0.19:8082/project/19fd74d1-9e13-4f3a-95ef-4239b588294d 2025-12-10 17:13:20,105 - INFO - Validated that VN ctest-vn-28532498 is not found in API Server 2025-12-10 17:13:20,127 - DEBUG - VN ctest-vn-28532498 is not present in Agent 10.0.0.19 2025-12-10 17:13:20,127 - INFO - Validated that VN ctest-vn-28532498 is not in any agent 2025-12-10 17:13:20,148 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-28532498 info 2025-12-10 17:13:20,446 - DEBUG - No XMPP flaps were noticed during the test 2025-12-10 17:13:20,446 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:38] 2025-12-10 17:13:20,446 - INFO - -------------------------------------------------------------------------------- 2025-12-10 17:13:21,379 - INFO - Deleted project: ctest-TestBasicPolicy-45196749, ID : 19fd74d1-9e13-4f3a-95ef-4239b588294d