2025-11-27 02:08:40,893 - INFO - Domain Default found not creating 2025-11-27 02:08:41,069 - INFO - Project ctest-TestBasicPolicy-39171493 not found, creating it 2025-11-27 02:08:41,570 - INFO - Created Project:ctest-TestBasicPolicy-39171493, ID : 27c66615-8f21-40c0-9c62-d25b0dffa439 2025-11-27 02:08:43,159 - INFO - ================================================================================ 2025-11-27 02:08:43,159 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-27 02:08:43,159 - 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-27 02:08:43,419 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.14': '0'}} with 2025-11-27 02:08:43,419 - INFO - Initial checks done. Running the testcase now 2025-11-27 02:08:43,419 - INFO - 2025-11-27 02:08:44,005 - DEBUG - Response for create_network : {'network': {'id': '68e1473e-463f-4b16-9a3f-8c12fbbf8d5d', 'name': 'ctest-vn-09052599', 'tenant_id': '27c666158f2140c09c62d25b0dffa439', 'project_id': '27c666158f2140c09c62d25b0dffa439', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39171493', 'ctest-vn-09052599'], 'port_security_enabled': True, 'description': ''}} 2025-11-27 02:08:44,177 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ebd201bd-e628-4f82-adec-d73cbc58b945', 'name': '', 'tenant_id': '27c666158f2140c09c62d25b0dffa439', 'network_id': '68e1473e-463f-4b16-9a3f-8c12fbbf8d5d', 'ip_version': 4, 'cidr': '144.20.62.192/26', 'allocation_pools': [{'start': '144.20.62.194', 'end': '144.20.62.254'}], 'gateway_ip': '144.20.62.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.20.62.194', 'tags': [], 'project_id': '27c666158f2140c09c62d25b0dffa439'}} 2025-11-27 02:08:44,198 - INFO - Created VN ctest-vn-09052599 2025-11-27 02:08:44,252 - DEBUG - VN ctest-vn-09052599 UUID is 68e1473e-463f-4b16-9a3f-8c12fbbf8d5d 2025-11-27 02:08:44,544 - DEBUG - Response for create_network : {'network': {'id': '1498686d-c574-4536-bcf0-73fbad5f1b4e', 'name': 'ctest-vn-19286328', 'tenant_id': '27c666158f2140c09c62d25b0dffa439', 'project_id': '27c666158f2140c09c62d25b0dffa439', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39171493', 'ctest-vn-19286328'], 'port_security_enabled': True, 'description': ''}} 2025-11-27 02:08:44,706 - DEBUG - Response for create_subnet : {'subnet': {'id': '3b5fba60-69d9-4213-ba78-de6153218128', 'name': '', 'tenant_id': '27c666158f2140c09c62d25b0dffa439', 'network_id': '1498686d-c574-4536-bcf0-73fbad5f1b4e', 'ip_version': 4, 'cidr': '81.121.190.128/26', 'allocation_pools': [{'start': '81.121.190.130', 'end': '81.121.190.190'}], 'gateway_ip': '81.121.190.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '81.121.190.130', 'tags': [], 'project_id': '27c666158f2140c09c62d25b0dffa439'}} 2025-11-27 02:08:44,725 - INFO - Created VN ctest-vn-19286328 2025-11-27 02:08:44,779 - DEBUG - VN ctest-vn-19286328 UUID is 1498686d-c574-4536-bcf0-73fbad5f1b4e 2025-11-27 02:08:44,897 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-39171493:ctest-vn-09052599, 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-39171493:ctest-vn-19286328, 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-27 02:08:45,208 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '68e1473e-463f-4b16-9a3f-8c12fbbf8d5d', 'name': 'ctest-vn-09052599', 'tenant_id': '27c666158f2140c09c62d25b0dffa439', 'project_id': '27c666158f2140c09c62d25b0dffa439', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ebd201bd-e628-4f82-adec-d73cbc58b945'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39171493', 'ctest-vn-09052599'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-39171493', 'ctest-policy-allow-all-31188173']], 'subnet_ipam': [{'subnet_cidr': '144.20.62.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-27 02:08:45,460 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1498686d-c574-4536-bcf0-73fbad5f1b4e', 'name': 'ctest-vn-19286328', 'tenant_id': '27c666158f2140c09c62d25b0dffa439', 'project_id': '27c666158f2140c09c62d25b0dffa439', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3b5fba60-69d9-4213-ba78-de6153218128'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39171493', 'ctest-vn-19286328'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-39171493', 'ctest-policy-allow-all-31188173']], 'subnet_ipam': [{'subnet_cidr': '81.121.190.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-27 02:08:45,624 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-11-27 02:08:45,940 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-11-27 02:08:45,980 - DEBUG - Requesting: http://10.0.0.41:8082/domain/3e5c660b-c92e-40fc-9148-fe1c208e85cb 2025-11-27 02:08:45,997 - DEBUG - Requesting: http://10.0.0.41:8082/project/27c66615-8f21-40c0-9c62-d25b0dffa439 2025-11-27 02:08:46,079 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/68e1473e-463f-4b16-9a3f-8c12fbbf8d5d 2025-11-27 02:08:46,093 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/68e1473e-463f-4b16-9a3f-8c12fbbf8d5d 2025-11-27 02:08:46,103 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/785a6ae3-f968-4649-8030-ca48b9739dec 2025-11-27 02:08:46,110 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/785a6ae3-f968-4649-8030-ca48b9739dec 2025-11-27 02:08:46,117 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/f6bb865b-cbd8-4b7b-966a-b6dbc42c48d1 2025-11-27 02:08:46,123 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-27 02:08:46,123 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/68e1473e-463f-4b16-9a3f-8c12fbbf8d5d 2025-11-27 02:08:46,133 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/785a6ae3-f968-4649-8030-ca48b9739dec 2025-11-27 02:08:46,147 - INFO - Verified VN network id 11 for VN 68e1473e-463f-4b16-9a3f-8c12fbbf8d5d 2025-11-27 02:08:46,147 - INFO - Verifications in API Server for VN ctest-vn-09052599 passed 2025-11-27 02:08:46,147 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/68e1473e-463f-4b16-9a3f-8c12fbbf8d5d 2025-11-27 02:08:46,157 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/785a6ae3-f968-4649-8030-ca48b9739dec 2025-11-27 02:08:46,164 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/785a6ae3-f968-4649-8030-ca48b9739dec 2025-11-27 02:08:46,171 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/f6bb865b-cbd8-4b7b-966a-b6dbc42c48d1 2025-11-27 02:08:46,183 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-39171493:ctest-vn-09052599', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-39171493', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7557399982496500502', 'uuid-lslong': '11114756418534608221'}, 'enable': 'true', 'created': '2025-11-27T02:08:43', 'last-modified': '2025-11-27T02:08:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.003777'} 2025-11-27 02:08:46,189 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-27 02:08:46,189 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09052599 passed 2025-11-27 02:08:46,189 - DEBUG - ====Verifying policy data for ctest-vn-09052599 in API_Server ====== 2025-11-27 02:08:46,189 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-11-27 02:08:46,195 - DEBUG - Requesting: http://10.0.0.41:8082/domain/3e5c660b-c92e-40fc-9148-fe1c208e85cb 2025-11-27 02:08:46,206 - DEBUG - Requesting: http://10.0.0.41:8082/project/27c66615-8f21-40c0-9c62-d25b0dffa439 2025-11-27 02:08:46,283 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/68e1473e-463f-4b16-9a3f-8c12fbbf8d5d 2025-11-27 02:08:46,293 - DEBUG - ==>Verifying data for policy with id: f94fb264-b7d0-4c45-9bcc-8cd0e10105b0, fqn: ['default-domain', 'ctest-TestBasicPolicy-39171493', 'ctest-policy-allow-all-31188173'] 2025-11-27 02:08:46,293 - INFO - VN ctest-vn-09052599 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-27 02:08:46,294 - DEBUG - Verifying the vn in opserver 2025-11-27 02:08:46,294 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-39171493:ctest-vn-09052599 virtual network link through opserver 10.0.0.41 2025-11-27 02:08:46,294 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-11-27 02:08:46,601 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-11-27 02:08:46,680 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-39171493:ctest-vn-09052599', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-39171493:ctest-vn-09052599?flat'} 2025-11-27 02:08:46,680 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-39171493:ctest-vn-09052599 is found in opserver 2025-11-27 02:08:46,693 - DEBUG - Do not have enough data to verify VN in agent 2025-11-27 02:08:46,697 - DEBUG - VRF ids for VN ctest-vn-09052599: {} 2025-11-27 02:08:46,698 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-11-27 02:08:46,703 - DEBUG - Requesting: http://10.0.0.41:8082/domain/3e5c660b-c92e-40fc-9148-fe1c208e85cb 2025-11-27 02:08:46,717 - DEBUG - Requesting: http://10.0.0.41:8082/project/27c66615-8f21-40c0-9c62-d25b0dffa439 2025-11-27 02:08:46,792 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/1498686d-c574-4536-bcf0-73fbad5f1b4e 2025-11-27 02:08:46,804 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/1498686d-c574-4536-bcf0-73fbad5f1b4e 2025-11-27 02:08:46,814 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/79f00b67-48b0-4539-86e4-c723bc39d4f0 2025-11-27 02:08:46,822 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/79f00b67-48b0-4539-86e4-c723bc39d4f0 2025-11-27 02:08:46,829 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/5eda83db-e62d-43b6-b85f-f8fe3a2cd26b 2025-11-27 02:08:46,837 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-27 02:08:46,837 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/1498686d-c574-4536-bcf0-73fbad5f1b4e 2025-11-27 02:08:46,847 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/79f00b67-48b0-4539-86e4-c723bc39d4f0 2025-11-27 02:08:46,865 - INFO - Verified VN network id 12 for VN 1498686d-c574-4536-bcf0-73fbad5f1b4e 2025-11-27 02:08:46,865 - INFO - Verifications in API Server for VN ctest-vn-19286328 passed 2025-11-27 02:08:46,865 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/1498686d-c574-4536-bcf0-73fbad5f1b4e 2025-11-27 02:08:46,876 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/79f00b67-48b0-4539-86e4-c723bc39d4f0 2025-11-27 02:08:46,883 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/79f00b67-48b0-4539-86e4-c723bc39d4f0 2025-11-27 02:08:46,890 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/5eda83db-e62d-43b6-b85f-f8fe3a2cd26b 2025-11-27 02:08:46,902 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-39171493:ctest-vn-19286328', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-39171493', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1484050897892033846', 'uuid-lslong': '13614509198323686222'}, 'enable': 'true', 'created': '2025-11-27T02:08:44', 'last-modified': '2025-11-27T02:08:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.473345'} 2025-11-27 02:08:46,909 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-27 02:08:46,909 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-19286328 passed 2025-11-27 02:08:46,909 - DEBUG - ====Verifying policy data for ctest-vn-19286328 in API_Server ====== 2025-11-27 02:08:46,909 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-11-27 02:08:46,916 - DEBUG - Requesting: http://10.0.0.41:8082/domain/3e5c660b-c92e-40fc-9148-fe1c208e85cb 2025-11-27 02:08:46,926 - DEBUG - Requesting: http://10.0.0.41:8082/project/27c66615-8f21-40c0-9c62-d25b0dffa439 2025-11-27 02:08:47,001 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/1498686d-c574-4536-bcf0-73fbad5f1b4e 2025-11-27 02:08:47,011 - DEBUG - ==>Verifying data for policy with id: f94fb264-b7d0-4c45-9bcc-8cd0e10105b0, fqn: ['default-domain', 'ctest-TestBasicPolicy-39171493', 'ctest-policy-allow-all-31188173'] 2025-11-27 02:08:47,011 - INFO - VN ctest-vn-19286328 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-27 02:08:47,011 - DEBUG - Verifying the vn in opserver 2025-11-27 02:08:47,011 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-39171493:ctest-vn-19286328 virtual network link through opserver 10.0.0.41 2025-11-27 02:08:47,011 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-11-27 02:08:47,022 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-39171493:ctest-vn-19286328', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-39171493:ctest-vn-19286328?flat'} 2025-11-27 02:08:47,023 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-39171493:ctest-vn-19286328 is found in opserver 2025-11-27 02:08:47,035 - DEBUG - Do not have enough data to verify VN in agent 2025-11-27 02:08:47,041 - DEBUG - VRF ids for VN ctest-vn-19286328: {} 2025-11-27 02:08:47,110 - DEBUG - Services list from nova: [, , ] 2025-11-27 02:08:48,189 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4819-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4819-1) 2025-11-27 02:08:49,412 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4819-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4819-1) 2025-11-27 02:08:49,413 - INFO - Waiting for VM ctest-TestBasicPolicy-39171493-90973323 to be up.. 2025-11-27 02:08:49,501 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-27 02:08:54,582 - DEBUG - VM is in ACTIVE state now 2025-11-27 02:08:54,583 - INFO - VM name : ctest-TestBasicPolicy-39171493-90973323 2025-11-27 02:08:54,659 - DEBUG - VM ctest-TestBasicPolicy-39171493-90973323 ID is 573d41f3-7098-41ba-b3c4-3ca919e6d3ff 2025-11-27 02:08:54,680 - DEBUG - VM ctest-TestBasicPolicy-39171493-90973323 launched on Node cn-jenkins-deploy-platform-ansible-os-4819-1 2025-11-27 02:08:54,770 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/573d41f3-7098-41ba-b3c4-3ca919e6d3ff 2025-11-27 02:08:54,781 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/8d83cdc7-cbd6-49a5-804b-e92728e8495d 2025-11-27 02:08:57,998 - 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 1019ms') 2025-11-27 02:08:57,998 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-39171493-90973323 failed! 2025-11-27 02:08:58,056 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-39171493:ctest-vn-09052599 is 144.20.62.193 and allocation pool is NOT set 2025-11-27 02:09:00,118 - 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.90 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.46 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 = 2.461/6.182/9.903/3.721 ms') 2025-11-27 02:09:00,118 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-39171493-90973323 passed 2025-11-27 02:09:00,267 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 02:09:00,268 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-39171493-90973323, IP 144.20.62.195, Port 22 2025-11-27 02:09:00,324 - 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-27 02:09:00,405 - DEBUG - VM ctest-TestBasicPolicy-39171493-90973323 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-27 02:09:05,405 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 02:09:05,405 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-39171493-90973323, IP 144.20.62.195, Port 22 2025-11-27 02:09:05,564 - DEBUG - VM ctest-TestBasicPolicy-39171493-90973323 is ready for SSH connections 2025-11-27 02:09:05,564 - INFO - Waiting for VM ctest-TestBasicPolicy-39171493-18147043 to be up.. 2025-11-27 02:09:05,642 - DEBUG - VM is in ACTIVE state now 2025-11-27 02:09:05,642 - INFO - VM name : ctest-TestBasicPolicy-39171493-18147043 2025-11-27 02:09:05,718 - DEBUG - VM ctest-TestBasicPolicy-39171493-18147043 ID is 86f33d5b-0901-4123-b671-331f51c11a80 2025-11-27 02:09:05,718 - DEBUG - VM ctest-TestBasicPolicy-39171493-18147043 launched on Node cn-jenkins-deploy-platform-ansible-os-4819-1 2025-11-27 02:09:05,808 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/86f33d5b-0901-4123-b671-331f51c11a80 2025-11-27 02:09:05,816 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/ead752a9-97ed-4a99-ad26-b48d20f2f334 2025-11-27 02:09:07,062 - 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.31 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.432 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.432/1.871/3.310/1.439 ms') 2025-11-27 02:09:07,062 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-39171493-18147043 passed 2025-11-27 02:09:07,216 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 02:09:07,216 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-39171493-18147043, IP 81.121.190.131, Port 22 2025-11-27 02:09:07,382 - DEBUG - VM ctest-TestBasicPolicy-39171493-18147043 is ready for SSH connections 2025-11-27 02:09:07,383 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 02:09:07,383 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 81.121.190.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-11-27 02:09:07,383 - DEBUG - ping -s 56 -c 3 -W 1 81.121.190.131 2025-11-27 02:09:11,486 - DEBUG - PING 81.121.190.131 (81.121.190.131): 56 data bytes 64 bytes from 81.121.190.131: seq=0 ttl=63 time=3.981 ms 64 bytes from 81.121.190.131: seq=1 ttl=63 time=1.190 ms 64 bytes from 81.121.190.131: seq=2 ttl=63 time=1.058 ms --- 81.121.190.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.058/2.076/3.981 ms 2025-11-27 02:09:11,486 - INFO - Ping to IP 81.121.190.131 from VM ctest-TestBasicPolicy-39171493-90973323 passed 2025-11-27 02:09:11,703 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f94fb264-b7d0-4c45-9bcc-8cd0e10105b0", "href": "http://10.0.0.41:8082/network-policy/f94fb264-b7d0-4c45-9bcc-8cd0e10105b0"}} 2025-11-27 02:09:11,703 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 02:09:11,704 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 81.121.190.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-11-27 02:09:11,704 - DEBUG - ping -s 56 -c 3 -W 1 81.121.190.131 2025-11-27 02:09:14,931 - DEBUG - PING 81.121.190.131 (81.121.190.131): 56 data bytes --- 81.121.190.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-27 02:09:14,931 - WARNING - Ping to IP 81.121.190.131 from VM ctest-TestBasicPolicy-39171493-90973323 failed 2025-11-27 02:09:14,931 - INFO - Deleting VM ctest-TestBasicPolicy-39171493-18147043 2025-11-27 02:09:15,011 - INFO - Deleting VM ctest-TestBasicPolicy-39171493-90973323 2025-11-27 02:09:15,469 - INFO - Deleted policy ctest-policy-allow-all-31188173 2025-11-27 02:09:15,469 - INFO - Deleting VN ctest-vn-19286328 2025-11-27 02:09:15,516 - DEBUG - VN 1498686d-c574-4536-bcf0-73fbad5f1b4e still in use: Unable to complete operation on network 1498686d-c574-4536-bcf0-73fbad5f1b4e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-785366de-be90-420e-83d0-95d04a5e572b'] 2025-11-27 02:09:15,516 - WARNING - Deleting VN ctest-vn-19286328 failed..Will retry 2025-11-27 02:09:17,635 - DEBUG - Response for deleting network () 2025-11-27 02:09:17,635 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/79f00b67-48b0-4539-86e4-c723bc39d4f0 2025-11-27 02:09:17,641 - DEBUG - Response Code: 404 2025-11-27 02:09:17,642 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-11-27 02:09:17,654 - DEBUG - Requesting: http://10.0.0.41:8082/domain/3e5c660b-c92e-40fc-9148-fe1c208e85cb 2025-11-27 02:09:17,709 - DEBUG - Requesting: http://10.0.0.41:8082/project/27c66615-8f21-40c0-9c62-d25b0dffa439 2025-11-27 02:09:17,788 - INFO - Validated that VN ctest-vn-19286328 is not found in API Server 2025-11-27 02:09:17,799 - DEBUG - VN ctest-vn-19286328 is not present in Agent 10.0.0.41 2025-11-27 02:09:17,800 - INFO - Validated that VN ctest-vn-19286328 is not in any agent 2025-11-27 02:09:17,815 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-19286328 info 2025-11-27 02:09:17,816 - INFO - Deleting VN ctest-vn-09052599 2025-11-27 02:09:17,936 - DEBUG - Response for deleting network () 2025-11-27 02:09:17,936 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/785a6ae3-f968-4649-8030-ca48b9739dec 2025-11-27 02:09:17,942 - DEBUG - Response Code: 404 2025-11-27 02:09:17,942 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-11-27 02:09:17,947 - DEBUG - Requesting: http://10.0.0.41:8082/domain/3e5c660b-c92e-40fc-9148-fe1c208e85cb 2025-11-27 02:09:18,005 - DEBUG - Requesting: http://10.0.0.41:8082/project/27c66615-8f21-40c0-9c62-d25b0dffa439 2025-11-27 02:09:18,083 - INFO - Validated that VN ctest-vn-09052599 is not found in API Server 2025-11-27 02:09:18,093 - DEBUG - VN ctest-vn-09052599 is not present in Agent 10.0.0.41 2025-11-27 02:09:18,093 - INFO - Validated that VN ctest-vn-09052599 is not in any agent 2025-11-27 02:09:18,108 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-09052599 info 2025-11-27 02:09:18,375 - DEBUG - No XMPP flaps were noticed during the test 2025-11-27 02:09:18,375 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2025-11-27 02:09:18,376 - INFO - -------------------------------------------------------------------------------- 2025-11-27 02:09:19,119 - INFO - Deleted project: ctest-TestBasicPolicy-39171493, ID : 27c66615-8f21-40c0-9c62-d25b0dffa439