2026-02-12 12:24:40,622 - INFO - Domain Default found not creating 2026-02-12 12:24:40,862 - INFO - Project ctest-TestBasicPolicy-15136990 not found, creating it 2026-02-12 12:24:41,413 - INFO - Created Project:ctest-TestBasicPolicy-15136990, ID : 1376343b-3fce-452d-814d-758dd54a8b7f 2026-02-12 12:24:43,209 - INFO - ================================================================================ 2026-02-12 12:24:43,209 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-12 12:24:43,209 - 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-12 12:24:43,494 - DEBUG - Nothing to compare xmpp stats {'10.0.0.73': {'10.20.0.17': '0'}} with 2026-02-12 12:24:43,494 - INFO - Initial checks done. Running the testcase now 2026-02-12 12:24:43,494 - INFO - 2026-02-12 12:24:44,305 - DEBUG - Response for create_network : {'network': {'id': '93e21847-053e-47f9-a993-d0de880d86ad', 'name': 'ctest-vn-79177059', 'tenant_id': '1376343b3fce452d814d758dd54a8b7f', 'project_id': '1376343b3fce452d814d758dd54a8b7f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15136990', 'ctest-vn-79177059'], 'port_security_enabled': True, 'description': ''}} 2026-02-12 12:24:44,542 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c1708258-e386-40be-8c41-ab122c6681f1', 'name': '', 'tenant_id': '1376343b3fce452d814d758dd54a8b7f', 'network_id': '93e21847-053e-47f9-a993-d0de880d86ad', 'ip_version': 4, 'cidr': '36.102.159.0/26', 'allocation_pools': [{'start': '36.102.159.2', 'end': '36.102.159.62'}], 'gateway_ip': '36.102.159.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.102.159.2', 'tags': [], 'project_id': '1376343b3fce452d814d758dd54a8b7f'}} 2026-02-12 12:24:44,570 - INFO - Created VN ctest-vn-79177059 2026-02-12 12:24:44,625 - DEBUG - VN ctest-vn-79177059 UUID is 93e21847-053e-47f9-a993-d0de880d86ad 2026-02-12 12:24:44,994 - DEBUG - Response for create_network : {'network': {'id': '3d4f1b7e-c26b-4f40-b68a-fcaf9696551a', 'name': 'ctest-vn-96747026', 'tenant_id': '1376343b3fce452d814d758dd54a8b7f', 'project_id': '1376343b3fce452d814d758dd54a8b7f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15136990', 'ctest-vn-96747026'], 'port_security_enabled': True, 'description': ''}} 2026-02-12 12:24:45,187 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd6fa0b7b-5aac-4451-b3b5-f9bed98df76c', 'name': '', 'tenant_id': '1376343b3fce452d814d758dd54a8b7f', 'network_id': '3d4f1b7e-c26b-4f40-b68a-fcaf9696551a', 'ip_version': 4, 'cidr': '17.218.158.128/26', 'allocation_pools': [{'start': '17.218.158.130', 'end': '17.218.158.190'}], 'gateway_ip': '17.218.158.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '17.218.158.130', 'tags': [], 'project_id': '1376343b3fce452d814d758dd54a8b7f'}} 2026-02-12 12:24:45,212 - INFO - Created VN ctest-vn-96747026 2026-02-12 12:24:45,269 - DEBUG - VN ctest-vn-96747026 UUID is 3d4f1b7e-c26b-4f40-b68a-fcaf9696551a 2026-02-12 12:24:45,426 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-15136990:ctest-vn-79177059, 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-15136990:ctest-vn-96747026, 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-12 12:24:45,774 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '93e21847-053e-47f9-a993-d0de880d86ad', 'name': 'ctest-vn-79177059', 'tenant_id': '1376343b3fce452d814d758dd54a8b7f', 'project_id': '1376343b3fce452d814d758dd54a8b7f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c1708258-e386-40be-8c41-ab122c6681f1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15136990', 'ctest-vn-79177059'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-15136990', 'ctest-policy-allow-all-44424362']], 'subnet_ipam': [{'subnet_cidr': '36.102.159.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-12 12:24:46,043 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3d4f1b7e-c26b-4f40-b68a-fcaf9696551a', 'name': 'ctest-vn-96747026', 'tenant_id': '1376343b3fce452d814d758dd54a8b7f', 'project_id': '1376343b3fce452d814d758dd54a8b7f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d6fa0b7b-5aac-4451-b3b5-f9bed98df76c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15136990', 'ctest-vn-96747026'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-15136990', 'ctest-policy-allow-all-44424362']], 'subnet_ipam': [{'subnet_cidr': '17.218.158.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-12 12:24:46,201 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2026-02-12 12:24:46,517 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2026-02-12 12:24:46,562 - DEBUG - Requesting: http://10.0.0.73:8082/domain/e154da90-033d-463e-adeb-1c933a0ec6d0 2026-02-12 12:24:46,581 - DEBUG - Requesting: http://10.0.0.73:8082/project/1376343b-3fce-452d-814d-758dd54a8b7f 2026-02-12 12:24:46,665 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/93e21847-053e-47f9-a993-d0de880d86ad 2026-02-12 12:24:46,678 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/93e21847-053e-47f9-a993-d0de880d86ad 2026-02-12 12:24:46,690 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/dacb6412-0e7b-45fe-885f-1e2d705963b5 2026-02-12 12:24:46,699 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/dacb6412-0e7b-45fe-885f-1e2d705963b5 2026-02-12 12:24:46,710 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/5bad7375-8ad3-4ba7-9bca-16891e8b4783 2026-02-12 12:24:46,719 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-12 12:24:46,719 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/93e21847-053e-47f9-a993-d0de880d86ad 2026-02-12 12:24:46,733 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/dacb6412-0e7b-45fe-885f-1e2d705963b5 2026-02-12 12:24:46,756 - INFO - Verified VN network id 11 for VN 93e21847-053e-47f9-a993-d0de880d86ad 2026-02-12 12:24:46,756 - INFO - Verifications in API Server for VN ctest-vn-79177059 passed 2026-02-12 12:24:46,756 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/93e21847-053e-47f9-a993-d0de880d86ad 2026-02-12 12:24:46,771 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/dacb6412-0e7b-45fe-885f-1e2d705963b5 2026-02-12 12:24:46,782 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/dacb6412-0e7b-45fe-885f-1e2d705963b5 2026-02-12 12:24:46,792 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/5bad7375-8ad3-4ba7-9bca-16891e8b4783 2026-02-12 12:24:46,808 - DEBUG - Control-node 10.0.0.73 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-15136990:ctest-vn-79177059', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-15136990', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10656106361621727225', 'uuid-lslong': '12219339868170192557'}, 'enable': 'true', 'created': '2026-02-12T12:24:44', 'last-modified': '2026-02-12T12:24:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.060986'} 2026-02-12 12:24:46,815 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-12 12:24:46,815 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-79177059 passed 2026-02-12 12:24:46,816 - DEBUG - ====Verifying policy data for ctest-vn-79177059 in API_Server ====== 2026-02-12 12:24:46,816 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2026-02-12 12:24:46,823 - DEBUG - Requesting: http://10.0.0.73:8082/domain/e154da90-033d-463e-adeb-1c933a0ec6d0 2026-02-12 12:24:46,838 - DEBUG - Requesting: http://10.0.0.73:8082/project/1376343b-3fce-452d-814d-758dd54a8b7f 2026-02-12 12:24:46,919 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/93e21847-053e-47f9-a993-d0de880d86ad 2026-02-12 12:24:46,932 - DEBUG - ==>Verifying data for policy with id: 2cc74e40-5e97-4e69-849d-cf548b0408ca, fqn: ['default-domain', 'ctest-TestBasicPolicy-15136990', 'ctest-policy-allow-all-44424362'] 2026-02-12 12:24:46,932 - INFO - VN ctest-vn-79177059 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-12 12:24:46,932 - DEBUG - Verifying the vn in opserver 2026-02-12 12:24:46,932 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-15136990:ctest-vn-79177059 virtual network link through opserver 10.0.0.73 2026-02-12 12:24:46,932 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks 2026-02-12 12:24:47,246 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks 2026-02-12 12:24:47,353 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-15136990:ctest-vn-79177059', 'href': 'http://10.0.0.73:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-15136990:ctest-vn-79177059?flat'} 2026-02-12 12:24:47,353 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-15136990:ctest-vn-79177059 is found in opserver 2026-02-12 12:24:47,367 - DEBUG - Do not have enough data to verify VN in agent 2026-02-12 12:24:47,374 - DEBUG - VRF ids for VN ctest-vn-79177059: {} 2026-02-12 12:24:47,374 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2026-02-12 12:24:47,382 - DEBUG - Requesting: http://10.0.0.73:8082/domain/e154da90-033d-463e-adeb-1c933a0ec6d0 2026-02-12 12:24:47,403 - DEBUG - Requesting: http://10.0.0.73:8082/project/1376343b-3fce-452d-814d-758dd54a8b7f 2026-02-12 12:24:47,482 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/3d4f1b7e-c26b-4f40-b68a-fcaf9696551a 2026-02-12 12:24:47,499 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/3d4f1b7e-c26b-4f40-b68a-fcaf9696551a 2026-02-12 12:24:47,513 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/a003226e-4e86-46ed-8c12-3694bd3816bd 2026-02-12 12:24:47,522 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/a003226e-4e86-46ed-8c12-3694bd3816bd 2026-02-12 12:24:47,531 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/12fbf7a9-8724-4003-8e49-3daf7990ce70 2026-02-12 12:24:47,541 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-12 12:24:47,541 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/3d4f1b7e-c26b-4f40-b68a-fcaf9696551a 2026-02-12 12:24:47,553 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/a003226e-4e86-46ed-8c12-3694bd3816bd 2026-02-12 12:24:47,572 - INFO - Verified VN network id 12 for VN 3d4f1b7e-c26b-4f40-b68a-fcaf9696551a 2026-02-12 12:24:47,573 - INFO - Verifications in API Server for VN ctest-vn-96747026 passed 2026-02-12 12:24:47,573 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/3d4f1b7e-c26b-4f40-b68a-fcaf9696551a 2026-02-12 12:24:47,584 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/a003226e-4e86-46ed-8c12-3694bd3816bd 2026-02-12 12:24:47,593 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/a003226e-4e86-46ed-8c12-3694bd3816bd 2026-02-12 12:24:47,604 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/12fbf7a9-8724-4003-8e49-3daf7990ce70 2026-02-12 12:24:47,619 - DEBUG - Control-node 10.0.0.73 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-15136990:ctest-vn-96747026', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-15136990', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4417779990715387712', 'uuid-lslong': '13153603492764865818'}, 'enable': 'true', 'created': '2026-02-12T12:24:44', 'last-modified': '2026-02-12T12:24:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.601785'} 2026-02-12 12:24:47,626 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-12 12:24:47,626 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96747026 passed 2026-02-12 12:24:47,626 - DEBUG - ====Verifying policy data for ctest-vn-96747026 in API_Server ====== 2026-02-12 12:24:47,626 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2026-02-12 12:24:47,635 - DEBUG - Requesting: http://10.0.0.73:8082/domain/e154da90-033d-463e-adeb-1c933a0ec6d0 2026-02-12 12:24:47,651 - DEBUG - Requesting: http://10.0.0.73:8082/project/1376343b-3fce-452d-814d-758dd54a8b7f 2026-02-12 12:24:47,728 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/3d4f1b7e-c26b-4f40-b68a-fcaf9696551a 2026-02-12 12:24:47,740 - DEBUG - ==>Verifying data for policy with id: 2cc74e40-5e97-4e69-849d-cf548b0408ca, fqn: ['default-domain', 'ctest-TestBasicPolicy-15136990', 'ctest-policy-allow-all-44424362'] 2026-02-12 12:24:47,740 - INFO - VN ctest-vn-96747026 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-12 12:24:47,740 - DEBUG - Verifying the vn in opserver 2026-02-12 12:24:47,740 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-15136990:ctest-vn-96747026 virtual network link through opserver 10.0.0.73 2026-02-12 12:24:47,740 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks 2026-02-12 12:24:47,753 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-15136990:ctest-vn-96747026', 'href': 'http://10.0.0.73:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-15136990:ctest-vn-96747026?flat'} 2026-02-12 12:24:47,753 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-15136990:ctest-vn-96747026 is found in opserver 2026-02-12 12:24:47,765 - DEBUG - Do not have enough data to verify VN in agent 2026-02-12 12:24:47,771 - DEBUG - VRF ids for VN ctest-vn-96747026: {} 2026-02-12 12:24:47,852 - DEBUG - Services list from nova: [, , ] 2026-02-12 12:24:49,074 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5315-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5315-1) 2026-02-12 12:24:50,643 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5315-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5315-1) 2026-02-12 12:24:50,644 - INFO - Waiting for VM ctest-TestBasicPolicy-15136990-95479286 to be up.. 2026-02-12 12:24:50,781 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-12 12:24:55,890 - DEBUG - VM is in ACTIVE state now 2026-02-12 12:24:55,890 - INFO - VM name : ctest-TestBasicPolicy-15136990-95479286 2026-02-12 12:24:55,996 - DEBUG - VM ctest-TestBasicPolicy-15136990-95479286 ID is 816601e8-c3b5-4595-8bbe-4c4fe91779e3 2026-02-12 12:24:56,021 - DEBUG - VM ctest-TestBasicPolicy-15136990-95479286 launched on Node cn-jenkins-deploy-platform-ansible-os-5315-1 2026-02-12 12:24:56,140 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/816601e8-c3b5-4595-8bbe-4c4fe91779e3 2026-02-12 12:24:56,151 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/d59ddc1f-3af9-4815-bad6-f144448fcfab 2026-02-12 12:24:59,408 - 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 1005ms') 2026-02-12 12:24:59,408 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-15136990-95479286 failed! 2026-02-12 12:24:59,465 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-15136990:ctest-vn-79177059 is 36.102.159.1 and allocation pool is NOT set 2026-02-12 12:25:01,532 - 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=10.6 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.74 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 = 1.741/6.171/10.601/4.430 ms') 2026-02-12 12:25:01,533 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-15136990-95479286 passed 2026-02-12 12:25:01,693 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 12:25:01,694 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-15136990-95479286, IP 36.102.159.3, Port 22 2026-02-12 12:25:01,764 - 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-12 12:25:01,880 - DEBUG - VM ctest-TestBasicPolicy-15136990-95479286 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-12 12:25:06,881 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 12:25:06,882 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-15136990-95479286, IP 36.102.159.3, Port 22 2026-02-12 12:25:07,056 - DEBUG - VM ctest-TestBasicPolicy-15136990-95479286 is ready for SSH connections 2026-02-12 12:25:07,057 - INFO - Waiting for VM ctest-TestBasicPolicy-15136990-47700643 to be up.. 2026-02-12 12:25:07,179 - DEBUG - VM is in ACTIVE state now 2026-02-12 12:25:07,179 - INFO - VM name : ctest-TestBasicPolicy-15136990-47700643 2026-02-12 12:25:07,291 - DEBUG - VM ctest-TestBasicPolicy-15136990-47700643 ID is ca98cf48-30cb-45df-99d2-a9a29fbe1e14 2026-02-12 12:25:07,291 - DEBUG - VM ctest-TestBasicPolicy-15136990-47700643 launched on Node cn-jenkins-deploy-platform-ansible-os-5315-1 2026-02-12 12:25:07,397 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/ca98cf48-30cb-45df-99d2-a9a29fbe1e14 2026-02-12 12:25:07,410 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/ff1b3acf-c3c6-49d2-a8cd-9168a5e2b4a3 2026-02-12 12:25:08,662 - 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.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.532 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.532/2.220/3.908/1.688 ms') 2026-02-12 12:25:08,663 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-15136990-47700643 passed 2026-02-12 12:25:08,821 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 12:25:08,822 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-15136990-47700643, IP 17.218.158.131, Port 22 2026-02-12 12:25:08,998 - DEBUG - VM ctest-TestBasicPolicy-15136990-47700643 is ready for SSH connections 2026-02-12 12:25:08,998 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 12:25:08,999 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 17.218.158.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2026-02-12 12:25:08,999 - DEBUG - ping -s 56 -c 3 -W 1 17.218.158.131 2026-02-12 12:25:13,353 - DEBUG - PING 17.218.158.131 (17.218.158.131): 56 data bytes 64 bytes from 17.218.158.131: seq=0 ttl=63 time=3.927 ms 64 bytes from 17.218.158.131: seq=1 ttl=63 time=1.545 ms 64 bytes from 17.218.158.131: seq=2 ttl=63 time=1.272 ms --- 17.218.158.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.272/2.248/3.927 ms 2026-02-12 12:25:13,353 - INFO - Ping to IP 17.218.158.131 from VM ctest-TestBasicPolicy-15136990-95479286 passed 2026-02-12 12:25:13,549 - DEBUG - Policy Update Response {"network-policy": {"uuid": "2cc74e40-5e97-4e69-849d-cf548b0408ca", "href": "http://10.0.0.73:8082/network-policy/2cc74e40-5e97-4e69-849d-cf548b0408ca"}} 2026-02-12 12:25:13,549 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 12:25:13,550 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 17.218.158.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2026-02-12 12:25:13,550 - DEBUG - ping -s 56 -c 3 -W 1 17.218.158.131 2026-02-12 12:25:16,874 - DEBUG - PING 17.218.158.131 (17.218.158.131): 56 data bytes --- 17.218.158.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-12 12:25:16,875 - WARNING - Ping to IP 17.218.158.131 from VM ctest-TestBasicPolicy-15136990-95479286 failed 2026-02-12 12:25:16,875 - INFO - Deleting VM ctest-TestBasicPolicy-15136990-47700643 2026-02-12 12:25:17,004 - INFO - Deleting VM ctest-TestBasicPolicy-15136990-95479286 2026-02-12 12:25:17,609 - INFO - Deleted policy ctest-policy-allow-all-44424362 2026-02-12 12:25:17,609 - INFO - Deleting VN ctest-vn-96747026 2026-02-12 12:25:17,668 - DEBUG - VN 3d4f1b7e-c26b-4f40-b68a-fcaf9696551a still in use: Unable to complete operation on network 3d4f1b7e-c26b-4f40-b68a-fcaf9696551a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b5567a45-aaaa-4c9e-b53c-2261f6a01730'] 2026-02-12 12:25:17,669 - WARNING - Deleting VN ctest-vn-96747026 failed..Will retry 2026-02-12 12:25:19,854 - DEBUG - Response for deleting network () 2026-02-12 12:25:19,854 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/a003226e-4e86-46ed-8c12-3694bd3816bd 2026-02-12 12:25:19,867 - DEBUG - Response Code: 404 2026-02-12 12:25:19,867 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2026-02-12 12:25:19,879 - DEBUG - Requesting: http://10.0.0.73:8082/domain/e154da90-033d-463e-adeb-1c933a0ec6d0 2026-02-12 12:25:19,896 - DEBUG - Requesting: http://10.0.0.73:8082/project/1376343b-3fce-452d-814d-758dd54a8b7f 2026-02-12 12:25:19,998 - INFO - Validated that VN ctest-vn-96747026 is not found in API Server 2026-02-12 12:25:20,011 - DEBUG - VN ctest-vn-96747026 is not present in Agent 10.0.0.73 2026-02-12 12:25:20,011 - INFO - Validated that VN ctest-vn-96747026 is not in any agent 2026-02-12 12:25:20,034 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-96747026 info 2026-02-12 12:25:20,035 - INFO - Deleting VN ctest-vn-79177059 2026-02-12 12:25:20,221 - DEBUG - Response for deleting network () 2026-02-12 12:25:20,221 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/dacb6412-0e7b-45fe-885f-1e2d705963b5 2026-02-12 12:25:20,234 - DEBUG - Response Code: 404 2026-02-12 12:25:20,235 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2026-02-12 12:25:20,243 - DEBUG - Requesting: http://10.0.0.73:8082/domain/e154da90-033d-463e-adeb-1c933a0ec6d0 2026-02-12 12:25:20,260 - DEBUG - Requesting: http://10.0.0.73:8082/project/1376343b-3fce-452d-814d-758dd54a8b7f 2026-02-12 12:25:20,354 - INFO - Validated that VN ctest-vn-79177059 is not found in API Server 2026-02-12 12:25:20,371 - DEBUG - VN ctest-vn-79177059 is not present in Agent 10.0.0.73 2026-02-12 12:25:20,371 - INFO - Validated that VN ctest-vn-79177059 is not in any agent 2026-02-12 12:25:20,394 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-79177059 info 2026-02-12 12:25:20,671 - DEBUG - No XMPP flaps were noticed during the test
2026-02-12 12:25:20,671 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:37]
2026-02-12 12:25:20,671 - INFO - -------------------------------------------------------------------------------- 2026-02-12 12:25:21,523 - INFO - Deleted project: ctest-TestBasicPolicy-15136990, ID : 1376343b-3fce-452d-814d-758dd54a8b7f