2026-02-11 17:39:40,024 - INFO - Domain Default found not creating 2026-02-11 17:39:40,210 - INFO - Project ctest-TestBasicPolicy-19237105 not found, creating it 2026-02-11 17:39:40,893 - INFO - Created Project:ctest-TestBasicPolicy-19237105, ID : a94d187d-52f1-40c7-a5ed-fe42db15759a 2026-02-11 17:39:42,569 - INFO - ================================================================================ 2026-02-11 17:39:42,569 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-11 17:39:42,569 - 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 2026-02-11 17:39:42,826 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-02-11 17:39:42,826 - INFO - Initial checks done. Running the testcase now 2026-02-11 17:39:42,826 - INFO - 2026-02-11 17:39:43,419 - DEBUG - Response for create_network : {'network': {'id': 'b2b1568e-7f8b-4609-8fdb-d4efebf55500', 'name': 'ctest-vn-45637272', 'tenant_id': 'a94d187d52f140c7a5edfe42db15759a', 'project_id': 'a94d187d52f140c7a5edfe42db15759a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19237105', 'ctest-vn-45637272'], 'port_security_enabled': True, 'description': ''}} 2026-02-11 17:39:43,658 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bcdf59c0-3c12-4605-8bfb-00ccf3fba055', 'name': '', 'tenant_id': 'a94d187d52f140c7a5edfe42db15759a', 'network_id': 'b2b1568e-7f8b-4609-8fdb-d4efebf55500', 'ip_version': 4, 'cidr': '111.167.124.64/26', 'allocation_pools': [{'start': '111.167.124.66', 'end': '111.167.124.126'}], 'gateway_ip': '111.167.124.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.167.124.66', 'tags': [], 'project_id': 'a94d187d52f140c7a5edfe42db15759a'}} 2026-02-11 17:39:43,677 - INFO - Created VN ctest-vn-45637272 2026-02-11 17:39:43,731 - DEBUG - VN ctest-vn-45637272 UUID is b2b1568e-7f8b-4609-8fdb-d4efebf55500 2026-02-11 17:39:44,023 - DEBUG - Response for create_network : {'network': {'id': '503173c2-468f-4cb5-8d1d-2230556450f8', 'name': 'ctest-vn-22922073', 'tenant_id': 'a94d187d52f140c7a5edfe42db15759a', 'project_id': 'a94d187d52f140c7a5edfe42db15759a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19237105', 'ctest-vn-22922073'], 'port_security_enabled': True, 'description': ''}} 2026-02-11 17:39:44,207 - DEBUG - Response for create_subnet : {'subnet': {'id': '2b94b2be-d163-4376-86ae-42ff797c9331', 'name': '', 'tenant_id': 'a94d187d52f140c7a5edfe42db15759a', 'network_id': '503173c2-468f-4cb5-8d1d-2230556450f8', 'ip_version': 4, 'cidr': '21.60.53.0/26', 'allocation_pools': [{'start': '21.60.53.2', 'end': '21.60.53.62'}], 'gateway_ip': '21.60.53.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.60.53.2', 'tags': [], 'project_id': 'a94d187d52f140c7a5edfe42db15759a'}} 2026-02-11 17:39:44,231 - INFO - Created VN ctest-vn-22922073 2026-02-11 17:39:44,287 - DEBUG - VN ctest-vn-22922073 UUID is 503173c2-468f-4cb5-8d1d-2230556450f8 2026-02-11 17:39:44,401 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-19237105:ctest-vn-45637272, 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-19237105:ctest-vn-22922073, 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] 2026-02-11 17:39:44,698 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b2b1568e-7f8b-4609-8fdb-d4efebf55500', 'name': 'ctest-vn-45637272', 'tenant_id': 'a94d187d52f140c7a5edfe42db15759a', 'project_id': 'a94d187d52f140c7a5edfe42db15759a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bcdf59c0-3c12-4605-8bfb-00ccf3fba055'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19237105', 'ctest-vn-45637272'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-19237105', 'ctest-policy-allow-all-48232738']], 'subnet_ipam': [{'subnet_cidr': '111.167.124.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-11 17:39:44,984 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '503173c2-468f-4cb5-8d1d-2230556450f8', 'name': 'ctest-vn-22922073', 'tenant_id': 'a94d187d52f140c7a5edfe42db15759a', 'project_id': 'a94d187d52f140c7a5edfe42db15759a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2b94b2be-d163-4376-86ae-42ff797c9331'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19237105', 'ctest-vn-22922073'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-19237105', 'ctest-policy-allow-all-48232738']], 'subnet_ipam': [{'subnet_cidr': '21.60.53.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-11 17:39:45,136 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-11 17:39:45,454 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-11 17:39:45,490 - DEBUG - Requesting: http://10.0.0.50:8082/domain/555009cd-daff-485d-aa32-2035c124d5c9 2026-02-11 17:39:45,503 - DEBUG - Requesting: http://10.0.0.50:8082/project/a94d187d-52f1-40c7-a5ed-fe42db15759a 2026-02-11 17:39:45,575 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b2b1568e-7f8b-4609-8fdb-d4efebf55500 2026-02-11 17:39:45,585 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b2b1568e-7f8b-4609-8fdb-d4efebf55500 2026-02-11 17:39:45,595 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3a4d849f-f421-464b-a760-870c2d56ddc8 2026-02-11 17:39:45,603 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3a4d849f-f421-464b-a760-870c2d56ddc8 2026-02-11 17:39:45,610 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/9e2ae63e-1ee3-4bcd-a010-0760c9e00d7c 2026-02-11 17:39:45,617 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-11 17:39:45,617 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b2b1568e-7f8b-4609-8fdb-d4efebf55500 2026-02-11 17:39:45,627 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3a4d849f-f421-464b-a760-870c2d56ddc8 2026-02-11 17:39:45,642 - INFO - Verified VN network id 9 for VN b2b1568e-7f8b-4609-8fdb-d4efebf55500 2026-02-11 17:39:45,642 - INFO - Verifications in API Server for VN ctest-vn-45637272 passed 2026-02-11 17:39:45,643 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b2b1568e-7f8b-4609-8fdb-d4efebf55500 2026-02-11 17:39:45,659 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3a4d849f-f421-464b-a760-870c2d56ddc8 2026-02-11 17:39:45,667 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3a4d849f-f421-464b-a760-870c2d56ddc8 2026-02-11 17:39:45,675 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/9e2ae63e-1ee3-4bcd-a010-0760c9e00d7c 2026-02-11 17:39:45,689 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-19237105:ctest-vn-45637272', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-19237105', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12876167979654137353', 'uuid-lslong': '10366113094244324608'}, 'enable': 'true', 'created': '2026-02-11T17:39:43', 'last-modified': '2026-02-11T17:39:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.011788'} 2026-02-11 17:39:45,696 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-11 17:39:45,696 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-45637272 passed 2026-02-11 17:39:45,696 - DEBUG - ====Verifying policy data for ctest-vn-45637272 in API_Server ====== 2026-02-11 17:39:45,697 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-11 17:39:45,702 - DEBUG - Requesting: http://10.0.0.50:8082/domain/555009cd-daff-485d-aa32-2035c124d5c9 2026-02-11 17:39:45,713 - DEBUG - Requesting: http://10.0.0.50:8082/project/a94d187d-52f1-40c7-a5ed-fe42db15759a 2026-02-11 17:39:45,791 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b2b1568e-7f8b-4609-8fdb-d4efebf55500 2026-02-11 17:39:45,800 - DEBUG - ==>Verifying data for policy with id: 7a7823f3-28bb-44c5-9b5e-2ead6b0189a6, fqn: ['default-domain', 'ctest-TestBasicPolicy-19237105', 'ctest-policy-allow-all-48232738'] 2026-02-11 17:39:45,800 - INFO - VN ctest-vn-45637272 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-11 17:39:45,800 - DEBUG - Verifying the vn in opserver 2026-02-11 17:39:45,800 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-19237105:ctest-vn-45637272 virtual network link through opserver 10.0.0.50 2026-02-11 17:39:45,800 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-11 17:39:46,100 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-11 17:39:46,481 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-19237105:ctest-vn-45637272', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-19237105:ctest-vn-45637272?flat'} 2026-02-11 17:39:46,481 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-19237105:ctest-vn-45637272 is found in opserver 2026-02-11 17:39:46,494 - DEBUG - Do not have enough data to verify VN in agent 2026-02-11 17:39:46,499 - DEBUG - VRF ids for VN ctest-vn-45637272: {} 2026-02-11 17:39:46,499 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-11 17:39:46,506 - DEBUG - Requesting: http://10.0.0.50:8082/domain/555009cd-daff-485d-aa32-2035c124d5c9 2026-02-11 17:39:46,516 - DEBUG - Requesting: http://10.0.0.50:8082/project/a94d187d-52f1-40c7-a5ed-fe42db15759a 2026-02-11 17:39:46,591 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/503173c2-468f-4cb5-8d1d-2230556450f8 2026-02-11 17:39:46,605 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/503173c2-468f-4cb5-8d1d-2230556450f8 2026-02-11 17:39:46,616 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4b5e3c15-3be0-41ad-94cf-795e5714db1b 2026-02-11 17:39:46,623 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4b5e3c15-3be0-41ad-94cf-795e5714db1b 2026-02-11 17:39:46,631 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/f6d1641c-fe45-472d-908d-163f2461bffb 2026-02-11 17:39:46,638 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-11 17:39:46,638 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/503173c2-468f-4cb5-8d1d-2230556450f8 2026-02-11 17:39:46,647 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4b5e3c15-3be0-41ad-94cf-795e5714db1b 2026-02-11 17:39:46,665 - INFO - Verified VN network id 10 for VN 503173c2-468f-4cb5-8d1d-2230556450f8 2026-02-11 17:39:46,665 - INFO - Verifications in API Server for VN ctest-vn-22922073 passed 2026-02-11 17:39:46,665 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/503173c2-468f-4cb5-8d1d-2230556450f8 2026-02-11 17:39:46,674 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4b5e3c15-3be0-41ad-94cf-795e5714db1b 2026-02-11 17:39:46,682 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4b5e3c15-3be0-41ad-94cf-795e5714db1b 2026-02-11 17:39:46,696 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/f6d1641c-fe45-472d-908d-163f2461bffb 2026-02-11 17:39:46,717 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-19237105:ctest-vn-22922073', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-19237105', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5778527075137703093', 'uuid-lslong': '10168321124658860280'}, 'enable': 'true', 'created': '2026-02-11T17:39:43', 'last-modified': '2026-02-11T17:39:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.800903'} 2026-02-11 17:39:46,731 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-11 17:39:46,731 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-22922073 passed 2026-02-11 17:39:46,732 - DEBUG - ====Verifying policy data for ctest-vn-22922073 in API_Server ====== 2026-02-11 17:39:46,732 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-11 17:39:46,737 - DEBUG - Requesting: http://10.0.0.50:8082/domain/555009cd-daff-485d-aa32-2035c124d5c9 2026-02-11 17:39:46,749 - DEBUG - Requesting: http://10.0.0.50:8082/project/a94d187d-52f1-40c7-a5ed-fe42db15759a 2026-02-11 17:39:46,824 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/503173c2-468f-4cb5-8d1d-2230556450f8 2026-02-11 17:39:46,835 - DEBUG - ==>Verifying data for policy with id: 7a7823f3-28bb-44c5-9b5e-2ead6b0189a6, fqn: ['default-domain', 'ctest-TestBasicPolicy-19237105', 'ctest-policy-allow-all-48232738'] 2026-02-11 17:39:46,835 - INFO - VN ctest-vn-22922073 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-11 17:39:46,836 - DEBUG - Verifying the vn in opserver 2026-02-11 17:39:46,836 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-19237105:ctest-vn-22922073 virtual network link through opserver 10.0.0.50 2026-02-11 17:39:46,836 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-11 17:39:46,845 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-19237105:ctest-vn-22922073', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-19237105:ctest-vn-22922073?flat'} 2026-02-11 17:39:46,846 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-19237105:ctest-vn-22922073 is found in opserver 2026-02-11 17:39:46,856 - DEBUG - Do not have enough data to verify VN in agent 2026-02-11 17:39:46,862 - DEBUG - VRF ids for VN ctest-vn-22922073: {} 2026-02-11 17:39:46,928 - DEBUG - Services list from nova: [, , ] 2026-02-11 17:39:48,043 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5298-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5298-1) 2026-02-11 17:39:49,250 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5298-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5298-1) 2026-02-11 17:39:49,251 - INFO - Waiting for VM ctest-TestBasicPolicy-19237105-79100403 to be up.. 2026-02-11 17:39:49,342 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-11 17:39:54,428 - DEBUG - VM is in ACTIVE state now 2026-02-11 17:39:54,428 - INFO - VM name : ctest-TestBasicPolicy-19237105-79100403 2026-02-11 17:39:54,507 - DEBUG - VM ctest-TestBasicPolicy-19237105-79100403 ID is 02ac4619-e80a-4ea2-94cd-0d070687411c 2026-02-11 17:39:54,531 - DEBUG - VM ctest-TestBasicPolicy-19237105-79100403 launched on Node cn-jenkins-deploy-platform-ansible-os-5298-1 2026-02-11 17:39:54,609 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/02ac4619-e80a-4ea2-94cd-0d070687411c 2026-02-11 17:39:54,617 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/4ca7870d-f268-4aac-b939-39c348a0e266 2026-02-11 17:39:57,874 - 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 1016ms') 2026-02-11 17:39:57,874 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-19237105-79100403 failed! 2026-02-11 17:39:57,931 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-19237105:ctest-vn-45637272 is 111.167.124.65 and allocation pool is NOT set 2026-02-11 17:39:59,996 - 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=8.55 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.51 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 = 1.509/5.029/8.549/3.520 ms') 2026-02-11 17:39:59,996 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-19237105-79100403 passed 2026-02-11 17:40:00,147 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-11 17:40:00,147 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-19237105-79100403, IP 111.167.124.67, Port 22 2026-02-11 17:40:00,213 - 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': ''} 2026-02-11 17:40:00,310 - DEBUG - VM ctest-TestBasicPolicy-19237105-79100403 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-11 17:40:05,311 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-11 17:40:05,311 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-19237105-79100403, IP 111.167.124.67, Port 22 2026-02-11 17:40:05,467 - DEBUG - VM ctest-TestBasicPolicy-19237105-79100403 is ready for SSH connections 2026-02-11 17:40:05,467 - INFO - Waiting for VM ctest-TestBasicPolicy-19237105-10086011 to be up.. 2026-02-11 17:40:05,544 - DEBUG - VM is in ACTIVE state now 2026-02-11 17:40:05,544 - INFO - VM name : ctest-TestBasicPolicy-19237105-10086011 2026-02-11 17:40:05,617 - DEBUG - VM ctest-TestBasicPolicy-19237105-10086011 ID is a5b2a284-299b-4471-8255-6bb5edfa487c 2026-02-11 17:40:05,617 - DEBUG - VM ctest-TestBasicPolicy-19237105-10086011 launched on Node cn-jenkins-deploy-platform-ansible-os-5298-1 2026-02-11 17:40:05,697 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a5b2a284-299b-4471-8255-6bb5edfa487c 2026-02-11 17:40:05,709 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e2968e57-8069-4110-8272-5eb817419fb2 2026-02-11 17:40:06,949 - 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.97 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.478 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.478/1.721/2.965/1.243 ms') 2026-02-11 17:40:06,949 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-19237105-10086011 passed 2026-02-11 17:40:07,099 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-11 17:40:07,099 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-19237105-10086011, IP 21.60.53.3, Port 22 2026-02-11 17:40:07,255 - DEBUG - VM ctest-TestBasicPolicy-19237105-10086011 is ready for SSH connections 2026-02-11 17:40:07,255 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-11 17:40:07,255 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 21.60.53.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-11 17:40:07,256 - DEBUG - ping -s 56 -c 3 -W 1 21.60.53.3 2026-02-11 17:40:11,366 - DEBUG - PING 21.60.53.3 (21.60.53.3): 56 data bytes 64 bytes from 21.60.53.3: seq=0 ttl=63 time=4.867 ms 64 bytes from 21.60.53.3: seq=1 ttl=63 time=1.302 ms 64 bytes from 21.60.53.3: seq=2 ttl=63 time=1.201 ms --- 21.60.53.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.201/2.456/4.867 ms 2026-02-11 17:40:11,366 - INFO - Ping to IP 21.60.53.3 from VM ctest-TestBasicPolicy-19237105-79100403 passed 2026-02-11 17:40:11,551 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7a7823f3-28bb-44c5-9b5e-2ead6b0189a6", "href": "http://10.0.0.50:8082/network-policy/7a7823f3-28bb-44c5-9b5e-2ead6b0189a6"}} 2026-02-11 17:40:11,551 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-11 17:40:11,552 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 21.60.53.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-11 17:40:11,552 - DEBUG - ping -s 56 -c 3 -W 1 21.60.53.3 2026-02-11 17:40:14,780 - DEBUG - PING 21.60.53.3 (21.60.53.3): 56 data bytes --- 21.60.53.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-11 17:40:14,781 - WARNING - Ping to IP 21.60.53.3 from VM ctest-TestBasicPolicy-19237105-79100403 failed 2026-02-11 17:40:14,781 - INFO - Deleting VM ctest-TestBasicPolicy-19237105-10086011 2026-02-11 17:40:14,865 - INFO - Deleting VM ctest-TestBasicPolicy-19237105-79100403 2026-02-11 17:40:15,255 - INFO - Deleted policy ctest-policy-allow-all-48232738 2026-02-11 17:40:15,256 - INFO - Deleting VN ctest-vn-22922073 2026-02-11 17:40:15,293 - DEBUG - VN 503173c2-468f-4cb5-8d1d-2230556450f8 still in use: Unable to complete operation on network 503173c2-468f-4cb5-8d1d-2230556450f8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2c404bb7-37b6-41cb-b9fc-af4754e7e5d5'] 2026-02-11 17:40:15,294 - WARNING - Deleting VN ctest-vn-22922073 failed..Will retry 2026-02-11 17:40:17,398 - DEBUG - Response for deleting network () 2026-02-11 17:40:17,398 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4b5e3c15-3be0-41ad-94cf-795e5714db1b 2026-02-11 17:40:17,404 - DEBUG - Response Code: 404 2026-02-11 17:40:17,404 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-11 17:40:17,409 - DEBUG - Requesting: http://10.0.0.50:8082/domain/555009cd-daff-485d-aa32-2035c124d5c9 2026-02-11 17:40:17,465 - DEBUG - Requesting: http://10.0.0.50:8082/project/a94d187d-52f1-40c7-a5ed-fe42db15759a 2026-02-11 17:40:17,541 - INFO - Validated that VN ctest-vn-22922073 is not found in API Server 2026-02-11 17:40:17,552 - DEBUG - VN ctest-vn-22922073 is not present in Agent 10.0.0.50 2026-02-11 17:40:17,552 - INFO - Validated that VN ctest-vn-22922073 is not in any agent 2026-02-11 17:40:17,570 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-22922073 info 2026-02-11 17:40:17,570 - INFO - Deleting VN ctest-vn-45637272 2026-02-11 17:40:17,672 - DEBUG - Response for deleting network () 2026-02-11 17:40:17,673 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3a4d849f-f421-464b-a760-870c2d56ddc8 2026-02-11 17:40:17,677 - DEBUG - Response Code: 404 2026-02-11 17:40:17,678 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-11 17:40:17,684 - DEBUG - Requesting: http://10.0.0.50:8082/domain/555009cd-daff-485d-aa32-2035c124d5c9 2026-02-11 17:40:17,736 - DEBUG - Requesting: http://10.0.0.50:8082/project/a94d187d-52f1-40c7-a5ed-fe42db15759a 2026-02-11 17:40:17,808 - INFO - Validated that VN ctest-vn-45637272 is not found in API Server 2026-02-11 17:40:17,820 - DEBUG - VN ctest-vn-45637272 is not present in Agent 10.0.0.50 2026-02-11 17:40:17,820 - INFO - Validated that VN ctest-vn-45637272 is not in any agent 2026-02-11 17:40:17,835 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-45637272 info 2026-02-11 17:40:18,094 - DEBUG - No XMPP flaps were noticed during the test 2026-02-11 17:40:18,094 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36] 2026-02-11 17:40:18,094 - INFO - -------------------------------------------------------------------------------- 2026-02-11 17:40:18,832 - INFO - Deleted project: ctest-TestBasicPolicy-19237105, ID : a94d187d-52f1-40c7-a5ed-fe42db15759a