2026-02-10 11:33:07,903 - INFO - Domain Default found not creating 2026-02-10 11:33:08,231 - INFO - Project ctest-TestBasicPolicy-38186738 not found, creating it 2026-02-10 11:33:08,887 - INFO - Created Project:ctest-TestBasicPolicy-38186738, ID : 7b8aa896-79ee-4add-841c-6d80d68a965b 2026-02-10 11:33:11,074 - INFO - ================================================================================ 2026-02-10 11:33:11,074 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-10 11:33:11,074 - 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-10 11:33:11,361 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-02-10 11:33:11,361 - INFO - Initial checks done. Running the testcase now 2026-02-10 11:33:11,361 - INFO - 2026-02-10 11:33:12,114 - DEBUG - Response for create_network : {'network': {'id': 'f9f623b9-f4a4-4f17-9622-54ded61c7747', 'name': 'ctest-vn-87449284', 'tenant_id': '7b8aa89679ee4add841c6d80d68a965b', 'project_id': '7b8aa89679ee4add841c6d80d68a965b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38186738', 'ctest-vn-87449284'], 'port_security_enabled': True, 'description': ''}} 2026-02-10 11:33:12,399 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd04dea5e-cac7-477a-b9da-09b1228c6d9d', 'name': '', 'tenant_id': '7b8aa89679ee4add841c6d80d68a965b', 'network_id': 'f9f623b9-f4a4-4f17-9622-54ded61c7747', 'ip_version': 4, 'cidr': '194.166.95.192/26', 'allocation_pools': [{'start': '194.166.95.194', 'end': '194.166.95.254'}], 'gateway_ip': '194.166.95.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '194.166.95.194', 'tags': [], 'project_id': '7b8aa89679ee4add841c6d80d68a965b'}} 2026-02-10 11:33:12,418 - INFO - Created VN ctest-vn-87449284 2026-02-10 11:33:12,475 - DEBUG - VN ctest-vn-87449284 UUID is f9f623b9-f4a4-4f17-9622-54ded61c7747 2026-02-10 11:33:12,829 - DEBUG - Response for create_network : {'network': {'id': '1bfba1f8-9105-4cca-bb86-055922491c49', 'name': 'ctest-vn-47701181', 'tenant_id': '7b8aa89679ee4add841c6d80d68a965b', 'project_id': '7b8aa89679ee4add841c6d80d68a965b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38186738', 'ctest-vn-47701181'], 'port_security_enabled': True, 'description': ''}} 2026-02-10 11:33:12,990 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cd0796fa-62ce-4f02-9a6d-78b7f7cae835', 'name': '', 'tenant_id': '7b8aa89679ee4add841c6d80d68a965b', 'network_id': '1bfba1f8-9105-4cca-bb86-055922491c49', 'ip_version': 4, 'cidr': '137.160.107.64/26', 'allocation_pools': [{'start': '137.160.107.66', 'end': '137.160.107.126'}], 'gateway_ip': '137.160.107.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '137.160.107.66', 'tags': [], 'project_id': '7b8aa89679ee4add841c6d80d68a965b'}} 2026-02-10 11:33:13,011 - INFO - Created VN ctest-vn-47701181 2026-02-10 11:33:13,063 - DEBUG - VN ctest-vn-47701181 UUID is 1bfba1f8-9105-4cca-bb86-055922491c49 2026-02-10 11:33:13,211 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-38186738:ctest-vn-87449284, 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-38186738:ctest-vn-47701181, 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-10 11:33:13,567 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f9f623b9-f4a4-4f17-9622-54ded61c7747', 'name': 'ctest-vn-87449284', 'tenant_id': '7b8aa89679ee4add841c6d80d68a965b', 'project_id': '7b8aa89679ee4add841c6d80d68a965b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d04dea5e-cac7-477a-b9da-09b1228c6d9d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38186738', 'ctest-vn-87449284'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-38186738', 'ctest-policy-allow-all-87923206']], 'subnet_ipam': [{'subnet_cidr': '194.166.95.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-10 11:33:13,911 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1bfba1f8-9105-4cca-bb86-055922491c49', 'name': 'ctest-vn-47701181', 'tenant_id': '7b8aa89679ee4add841c6d80d68a965b', 'project_id': '7b8aa89679ee4add841c6d80d68a965b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cd0796fa-62ce-4f02-9a6d-78b7f7cae835'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38186738', 'ctest-vn-47701181'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-38186738', 'ctest-policy-allow-all-87923206']], 'subnet_ipam': [{'subnet_cidr': '137.160.107.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-10 11:33:14,067 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-10 11:33:14,375 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-10 11:33:14,431 - DEBUG - Requesting: http://10.0.0.50:8082/domain/7492b9ef-d4fe-4fce-a4a2-a8bbe9c3adac 2026-02-10 11:33:14,456 - DEBUG - Requesting: http://10.0.0.50:8082/project/7b8aa896-79ee-4add-841c-6d80d68a965b 2026-02-10 11:33:14,551 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f9f623b9-f4a4-4f17-9622-54ded61c7747 2026-02-10 11:33:14,569 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f9f623b9-f4a4-4f17-9622-54ded61c7747 2026-02-10 11:33:14,581 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e826911e-87ed-489e-94fe-7fb53425618b 2026-02-10 11:33:14,590 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e826911e-87ed-489e-94fe-7fb53425618b 2026-02-10 11:33:14,600 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/45ab5d16-417d-4263-95be-0b5686e19402 2026-02-10 11:33:14,608 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-10 11:33:14,608 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f9f623b9-f4a4-4f17-9622-54ded61c7747 2026-02-10 11:33:14,621 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e826911e-87ed-489e-94fe-7fb53425618b 2026-02-10 11:33:14,646 - INFO - Verified VN network id 10 for VN f9f623b9-f4a4-4f17-9622-54ded61c7747 2026-02-10 11:33:14,646 - INFO - Verifications in API Server for VN ctest-vn-87449284 passed 2026-02-10 11:33:14,646 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f9f623b9-f4a4-4f17-9622-54ded61c7747 2026-02-10 11:33:14,659 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e826911e-87ed-489e-94fe-7fb53425618b 2026-02-10 11:33:14,669 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e826911e-87ed-489e-94fe-7fb53425618b 2026-02-10 11:33:14,679 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/45ab5d16-417d-4263-95be-0b5686e19402 2026-02-10 11:33:14,693 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-38186738:ctest-vn-87449284', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38186738', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18011623041295208215', 'uuid-lslong': '10818302570949015367'}, 'enable': 'true', 'created': '2026-02-10T11:33:12', 'last-modified': '2026-02-10T11:33:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.163072'} 2026-02-10 11:33:14,700 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-10 11:33:14,700 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-87449284 passed 2026-02-10 11:33:14,700 - DEBUG - ====Verifying policy data for ctest-vn-87449284 in API_Server ====== 2026-02-10 11:33:14,700 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-10 11:33:14,705 - DEBUG - Requesting: http://10.0.0.50:8082/domain/7492b9ef-d4fe-4fce-a4a2-a8bbe9c3adac 2026-02-10 11:33:14,720 - DEBUG - Requesting: http://10.0.0.50:8082/project/7b8aa896-79ee-4add-841c-6d80d68a965b 2026-02-10 11:33:14,800 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f9f623b9-f4a4-4f17-9622-54ded61c7747 2026-02-10 11:33:14,815 - DEBUG - ==>Verifying data for policy with id: 573ccd05-7397-443a-b886-5c48673f30d9, fqn: ['default-domain', 'ctest-TestBasicPolicy-38186738', 'ctest-policy-allow-all-87923206'] 2026-02-10 11:33:14,815 - INFO - VN ctest-vn-87449284 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-10 11:33:14,815 - DEBUG - Verifying the vn in opserver 2026-02-10 11:33:14,815 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-38186738:ctest-vn-87449284 virtual network link through opserver 10.0.0.50 2026-02-10 11:33:14,816 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-10 11:33:15,129 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-10 11:33:15,206 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-38186738:ctest-vn-87449284', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-38186738:ctest-vn-87449284?flat'} 2026-02-10 11:33:15,206 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-38186738:ctest-vn-87449284 is found in opserver 2026-02-10 11:33:15,218 - DEBUG - Do not have enough data to verify VN in agent 2026-02-10 11:33:15,224 - DEBUG - VRF ids for VN ctest-vn-87449284: {} 2026-02-10 11:33:15,225 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-10 11:33:15,232 - DEBUG - Requesting: http://10.0.0.50:8082/domain/7492b9ef-d4fe-4fce-a4a2-a8bbe9c3adac 2026-02-10 11:33:15,250 - DEBUG - Requesting: http://10.0.0.50:8082/project/7b8aa896-79ee-4add-841c-6d80d68a965b 2026-02-10 11:33:15,328 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/1bfba1f8-9105-4cca-bb86-055922491c49 2026-02-10 11:33:15,346 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/1bfba1f8-9105-4cca-bb86-055922491c49 2026-02-10 11:33:15,357 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/021a2392-170d-41fb-8f02-715bdb4cdce1 2026-02-10 11:33:15,367 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/021a2392-170d-41fb-8f02-715bdb4cdce1 2026-02-10 11:33:15,375 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/49d565e9-30b0-4553-931d-e8775e9498dd 2026-02-10 11:33:15,384 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-10 11:33:15,384 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/1bfba1f8-9105-4cca-bb86-055922491c49 2026-02-10 11:33:15,397 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/021a2392-170d-41fb-8f02-715bdb4cdce1 2026-02-10 11:33:15,416 - INFO - Verified VN network id 11 for VN 1bfba1f8-9105-4cca-bb86-055922491c49 2026-02-10 11:33:15,416 - INFO - Verifications in API Server for VN ctest-vn-47701181 passed 2026-02-10 11:33:15,416 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/1bfba1f8-9105-4cca-bb86-055922491c49 2026-02-10 11:33:15,429 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/021a2392-170d-41fb-8f02-715bdb4cdce1 2026-02-10 11:33:15,440 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/021a2392-170d-41fb-8f02-715bdb4cdce1 2026-02-10 11:33:15,449 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/49d565e9-30b0-4553-931d-e8775e9498dd 2026-02-10 11:33:15,465 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-38186738:ctest-vn-47701181', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38186738', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2016383347135433930', 'uuid-lslong': '13512493612357196873'}, 'enable': 'true', 'created': '2026-02-10T11:33:12', 'last-modified': '2026-02-10T11:33:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.642883'} 2026-02-10 11:33:15,474 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-10 11:33:15,474 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-47701181 passed 2026-02-10 11:33:15,474 - DEBUG - ====Verifying policy data for ctest-vn-47701181 in API_Server ====== 2026-02-10 11:33:15,474 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-10 11:33:15,481 - DEBUG - Requesting: http://10.0.0.50:8082/domain/7492b9ef-d4fe-4fce-a4a2-a8bbe9c3adac 2026-02-10 11:33:15,494 - DEBUG - Requesting: http://10.0.0.50:8082/project/7b8aa896-79ee-4add-841c-6d80d68a965b 2026-02-10 11:33:15,581 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/1bfba1f8-9105-4cca-bb86-055922491c49 2026-02-10 11:33:15,596 - DEBUG - ==>Verifying data for policy with id: 573ccd05-7397-443a-b886-5c48673f30d9, fqn: ['default-domain', 'ctest-TestBasicPolicy-38186738', 'ctest-policy-allow-all-87923206'] 2026-02-10 11:33:15,596 - INFO - VN ctest-vn-47701181 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-10 11:33:15,596 - DEBUG - Verifying the vn in opserver 2026-02-10 11:33:15,596 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-38186738:ctest-vn-47701181 virtual network link through opserver 10.0.0.50 2026-02-10 11:33:15,596 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-10 11:33:15,610 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-38186738:ctest-vn-47701181', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-38186738:ctest-vn-47701181?flat'} 2026-02-10 11:33:15,610 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-38186738:ctest-vn-47701181 is found in opserver 2026-02-10 11:33:15,621 - DEBUG - Do not have enough data to verify VN in agent 2026-02-10 11:33:15,627 - DEBUG - VRF ids for VN ctest-vn-47701181: {} 2026-02-10 11:33:15,692 - DEBUG - Services list from nova: [, , ] 2026-02-10 11:33:16,915 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5265-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5265-1) 2026-02-10 11:33:18,270 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5265-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5265-1) 2026-02-10 11:33:18,270 - INFO - Waiting for VM ctest-TestBasicPolicy-38186738-38540263 to be up.. 2026-02-10 11:33:18,371 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-10 11:33:23,569 - DEBUG - VM is in ACTIVE state now 2026-02-10 11:33:23,569 - INFO - VM name : ctest-TestBasicPolicy-38186738-38540263 2026-02-10 11:33:23,686 - DEBUG - VM ctest-TestBasicPolicy-38186738-38540263 ID is 10d223f4-bb11-4ecf-bfb1-58e0e4f5b5f6 2026-02-10 11:33:23,708 - DEBUG - VM ctest-TestBasicPolicy-38186738-38540263 launched on Node cn-jenkins-deploy-platform-ansible-os-5265-1 2026-02-10 11:33:23,830 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/10d223f4-bb11-4ecf-bfb1-58e0e4f5b5f6 2026-02-10 11:33:23,845 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/76bceee5-3628-4fea-8dfd-4927e58457f0 2026-02-10 11:33:27,138 - 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') 2026-02-10 11:33:27,138 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-38186738-38540263 failed! 2026-02-10 11:33:27,207 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-38186738:ctest-vn-87449284 is 194.166.95.193 and allocation pool is NOT set 2026-02-10 11:33:29,286 - 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=13.5 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.33 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 = 2.327/7.926/13.525/5.599 ms') 2026-02-10 11:33:29,286 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-38186738-38540263 passed 2026-02-10 11:33:29,455 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-10 11:33:29,455 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-38186738-38540263, IP 194.166.95.195, Port 22 2026-02-10 11:33:29,522 - 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-10 11:33:29,637 - DEBUG - VM ctest-TestBasicPolicy-38186738-38540263 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-10 11:33:34,638 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-10 11:33:34,638 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-38186738-38540263, IP 194.166.95.195, Port 22 2026-02-10 11:33:34,818 - DEBUG - VM ctest-TestBasicPolicy-38186738-38540263 is ready for SSH connections 2026-02-10 11:33:34,819 - INFO - Waiting for VM ctest-TestBasicPolicy-38186738-44295917 to be up.. 2026-02-10 11:33:34,935 - DEBUG - VM is in ACTIVE state now 2026-02-10 11:33:34,935 - INFO - VM name : ctest-TestBasicPolicy-38186738-44295917 2026-02-10 11:33:35,037 - DEBUG - VM ctest-TestBasicPolicy-38186738-44295917 ID is f98a403d-8069-4a12-83b1-30eb4c6202bc 2026-02-10 11:33:35,037 - DEBUG - VM ctest-TestBasicPolicy-38186738-44295917 launched on Node cn-jenkins-deploy-platform-ansible-os-5265-1 2026-02-10 11:33:35,125 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f98a403d-8069-4a12-83b1-30eb4c6202bc 2026-02-10 11:33:35,135 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/3095c798-2b92-439c-a6f8-bdb0c806ebd2 2026-02-10 11:33:36,401 - 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=8.88 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.864 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.864/4.870/8.876/4.006 ms') 2026-02-10 11:33:36,401 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-38186738-44295917 passed 2026-02-10 11:33:36,576 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-10 11:33:36,576 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-38186738-44295917, IP 137.160.107.67, Port 22 2026-02-10 11:33:36,762 - DEBUG - VM ctest-TestBasicPolicy-38186738-44295917 is ready for SSH connections 2026-02-10 11:33:36,762 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-10 11:33:36,763 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 137.160.107.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-10 11:33:36,763 - DEBUG - ping -s 56 -c 3 -W 1 137.160.107.67 2026-02-10 11:33:41,164 - DEBUG - PING 137.160.107.67 (137.160.107.67): 56 data bytes 64 bytes from 137.160.107.67: seq=0 ttl=63 time=4.528 ms 64 bytes from 137.160.107.67: seq=1 ttl=63 time=0.932 ms 64 bytes from 137.160.107.67: seq=2 ttl=63 time=1.720 ms --- 137.160.107.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.932/2.393/4.528 ms 2026-02-10 11:33:41,164 - INFO - Ping to IP 137.160.107.67 from VM ctest-TestBasicPolicy-38186738-38540263 passed 2026-02-10 11:33:41,419 - DEBUG - Policy Update Response {"network-policy": {"uuid": "573ccd05-7397-443a-b886-5c48673f30d9", "href": "http://10.0.0.50:8082/network-policy/573ccd05-7397-443a-b886-5c48673f30d9"}} 2026-02-10 11:33:41,419 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-10 11:33:41,419 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 137.160.107.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-10 11:33:41,419 - DEBUG - ping -s 56 -c 3 -W 1 137.160.107.67 2026-02-10 11:33:44,695 - DEBUG - PING 137.160.107.67 (137.160.107.67): 56 data bytes --- 137.160.107.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-10 11:33:44,695 - WARNING - Ping to IP 137.160.107.67 from VM ctest-TestBasicPolicy-38186738-38540263 failed 2026-02-10 11:33:44,696 - INFO - Deleting VM ctest-TestBasicPolicy-38186738-44295917 2026-02-10 11:33:44,862 - INFO - Deleting VM ctest-TestBasicPolicy-38186738-38540263 2026-02-10 11:33:45,384 - INFO - Deleted policy ctest-policy-allow-all-87923206 2026-02-10 11:33:45,384 - INFO - Deleting VN ctest-vn-47701181 2026-02-10 11:33:45,424 - DEBUG - VN 1bfba1f8-9105-4cca-bb86-055922491c49 still in use: Unable to complete operation on network 1bfba1f8-9105-4cca-bb86-055922491c49. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9187f7c6-0e61-4093-84c3-5121d6b0622d'] 2026-02-10 11:33:45,424 - WARNING - Deleting VN ctest-vn-47701181 failed..Will retry 2026-02-10 11:33:47,595 - DEBUG - Response for deleting network () 2026-02-10 11:33:47,595 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/021a2392-170d-41fb-8f02-715bdb4cdce1 2026-02-10 11:33:47,603 - DEBUG - Response Code: 404 2026-02-10 11:33:47,603 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-10 11:33:47,609 - DEBUG - Requesting: http://10.0.0.50:8082/domain/7492b9ef-d4fe-4fce-a4a2-a8bbe9c3adac 2026-02-10 11:33:47,671 - DEBUG - Requesting: http://10.0.0.50:8082/project/7b8aa896-79ee-4add-841c-6d80d68a965b 2026-02-10 11:33:47,764 - INFO - Validated that VN ctest-vn-47701181 is not found in API Server 2026-02-10 11:33:47,778 - DEBUG - VN ctest-vn-47701181 is not present in Agent 10.0.0.50 2026-02-10 11:33:47,778 - INFO - Validated that VN ctest-vn-47701181 is not in any agent 2026-02-10 11:33:47,794 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-47701181 info 2026-02-10 11:33:47,794 - INFO - Deleting VN ctest-vn-87449284 2026-02-10 11:33:47,928 - DEBUG - Response for deleting network () 2026-02-10 11:33:47,929 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e826911e-87ed-489e-94fe-7fb53425618b 2026-02-10 11:33:47,935 - DEBUG - Response Code: 404 2026-02-10 11:33:47,935 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-10 11:33:47,941 - DEBUG - Requesting: http://10.0.0.50:8082/domain/7492b9ef-d4fe-4fce-a4a2-a8bbe9c3adac 2026-02-10 11:33:47,998 - DEBUG - Requesting: http://10.0.0.50:8082/project/7b8aa896-79ee-4add-841c-6d80d68a965b 2026-02-10 11:33:48,075 - INFO - Validated that VN ctest-vn-87449284 is not found in API Server 2026-02-10 11:33:48,090 - DEBUG - VN ctest-vn-87449284 is not present in Agent 10.0.0.50 2026-02-10 11:33:48,090 - INFO - Validated that VN ctest-vn-87449284 is not in any agent 2026-02-10 11:33:48,107 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-87449284 info 2026-02-10 11:33:48,386 - DEBUG - No XMPP flaps were noticed during the test 2026-02-10 11:33:48,386 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:37] 2026-02-10 11:33:48,386 - INFO - -------------------------------------------------------------------------------- 2026-02-10 11:33:49,199 - INFO - Deleted project: ctest-TestBasicPolicy-38186738, ID : 7b8aa896-79ee-4add-841c-6d80d68a965b