2026-03-16 16:33:09,892 - INFO - Domain Default found not creating 2026-03-16 16:33:10,172 - INFO - Project ctest-TestBasicPolicy-13240611 not found, creating it 2026-03-16 16:33:10,867 - INFO - Created Project:ctest-TestBasicPolicy-13240611, ID : b57187f2-dba5-446f-bb32-0255b00cc03a 2026-03-16 16:33:12,797 - INFO - ================================================================================ 2026-03-16 16:33:12,797 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-16 16:33:12,797 - 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-03-16 16:33:13,114 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-03-16 16:33:13,114 - INFO - Initial checks done. Running the testcase now 2026-03-16 16:33:13,115 - INFO - 2026-03-16 16:33:13,899 - DEBUG - Response for create_network : {'network': {'id': 'dc4b1880-bb1d-4bb1-a81b-ad22816d8823', 'name': 'ctest-vn-35462419', 'tenant_id': 'b57187f2dba5446fbb320255b00cc03a', 'project_id': 'b57187f2dba5446fbb320255b00cc03a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13240611', 'ctest-vn-35462419'], 'port_security_enabled': True, 'description': ''}} 2026-03-16 16:33:14,183 - DEBUG - Response for create_subnet : {'subnet': {'id': '0cab547c-4aaa-45e2-a931-0722bf06ee87', 'name': '', 'tenant_id': 'b57187f2dba5446fbb320255b00cc03a', 'network_id': 'dc4b1880-bb1d-4bb1-a81b-ad22816d8823', 'ip_version': 4, 'cidr': '71.154.59.128/26', 'allocation_pools': [{'start': '71.154.59.130', 'end': '71.154.59.190'}], 'gateway_ip': '71.154.59.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.154.59.130', 'tags': [], 'project_id': 'b57187f2dba5446fbb320255b00cc03a'}} 2026-03-16 16:33:14,211 - INFO - Created VN ctest-vn-35462419 2026-03-16 16:33:14,273 - DEBUG - VN ctest-vn-35462419 UUID is dc4b1880-bb1d-4bb1-a81b-ad22816d8823 2026-03-16 16:33:14,664 - DEBUG - Response for create_network : {'network': {'id': 'a491c51e-a260-434b-9f63-937e86bc4a2e', 'name': 'ctest-vn-84682802', 'tenant_id': 'b57187f2dba5446fbb320255b00cc03a', 'project_id': 'b57187f2dba5446fbb320255b00cc03a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13240611', 'ctest-vn-84682802'], 'port_security_enabled': True, 'description': ''}} 2026-03-16 16:33:14,831 - DEBUG - Response for create_subnet : {'subnet': {'id': '84bad297-e690-43be-8653-8663f4db341c', 'name': '', 'tenant_id': 'b57187f2dba5446fbb320255b00cc03a', 'network_id': 'a491c51e-a260-434b-9f63-937e86bc4a2e', 'ip_version': 4, 'cidr': '63.180.145.128/26', 'allocation_pools': [{'start': '63.180.145.130', 'end': '63.180.145.190'}], 'gateway_ip': '63.180.145.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.180.145.130', 'tags': [], 'project_id': 'b57187f2dba5446fbb320255b00cc03a'}} 2026-03-16 16:33:14,848 - INFO - Created VN ctest-vn-84682802 2026-03-16 16:33:14,901 - DEBUG - VN ctest-vn-84682802 UUID is a491c51e-a260-434b-9f63-937e86bc4a2e 2026-03-16 16:33:15,037 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-13240611:ctest-vn-35462419, 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-13240611:ctest-vn-84682802, 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-03-16 16:33:15,448 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'dc4b1880-bb1d-4bb1-a81b-ad22816d8823', 'name': 'ctest-vn-35462419', 'tenant_id': 'b57187f2dba5446fbb320255b00cc03a', 'project_id': 'b57187f2dba5446fbb320255b00cc03a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0cab547c-4aaa-45e2-a931-0722bf06ee87'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13240611', 'ctest-vn-35462419'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-13240611', 'ctest-policy-allow-all-30828889']], 'subnet_ipam': [{'subnet_cidr': '71.154.59.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-16 16:33:15,722 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a491c51e-a260-434b-9f63-937e86bc4a2e', 'name': 'ctest-vn-84682802', 'tenant_id': 'b57187f2dba5446fbb320255b00cc03a', 'project_id': 'b57187f2dba5446fbb320255b00cc03a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['84bad297-e690-43be-8653-8663f4db341c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13240611', 'ctest-vn-84682802'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-13240611', 'ctest-policy-allow-all-30828889']], 'subnet_ipam': [{'subnet_cidr': '63.180.145.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-16 16:33:15,892 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-16 16:33:16,190 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-16 16:33:16,237 - DEBUG - Requesting: http://10.0.0.50:8082/domain/01357fc8-9dcf-491a-9f75-366df8e84a77 2026-03-16 16:33:16,260 - DEBUG - Requesting: http://10.0.0.50:8082/project/b57187f2-dba5-446f-bb32-0255b00cc03a 2026-03-16 16:33:16,345 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/dc4b1880-bb1d-4bb1-a81b-ad22816d8823 2026-03-16 16:33:16,366 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/dc4b1880-bb1d-4bb1-a81b-ad22816d8823 2026-03-16 16:33:16,381 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/de363ea9-dedf-417a-9364-d0bce8619b08 2026-03-16 16:33:16,395 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/de363ea9-dedf-417a-9364-d0bce8619b08 2026-03-16 16:33:16,407 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/a209d784-c9ae-46b4-9bd2-ee0322515365 2026-03-16 16:33:16,418 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-16 16:33:16,418 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/dc4b1880-bb1d-4bb1-a81b-ad22816d8823 2026-03-16 16:33:16,434 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/de363ea9-dedf-417a-9364-d0bce8619b08 2026-03-16 16:33:16,458 - INFO - Verified VN network id 10 for VN dc4b1880-bb1d-4bb1-a81b-ad22816d8823 2026-03-16 16:33:16,458 - INFO - Verifications in API Server for VN ctest-vn-35462419 passed 2026-03-16 16:33:16,458 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/dc4b1880-bb1d-4bb1-a81b-ad22816d8823 2026-03-16 16:33:16,475 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/de363ea9-dedf-417a-9364-d0bce8619b08 2026-03-16 16:33:16,490 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/de363ea9-dedf-417a-9364-d0bce8619b08 2026-03-16 16:33:16,504 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/a209d784-c9ae-46b4-9bd2-ee0322515365 2026-03-16 16:33:16,528 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-13240611:ctest-vn-35462419', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-13240611', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15873808252771584945', 'uuid-lslong': '12113465986455013411'}, 'enable': 'true', 'created': '2026-03-16T16:33:13', 'last-modified': '2026-03-16T16:33:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.122298'} 2026-03-16 16:33:16,537 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-16 16:33:16,537 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-35462419 passed 2026-03-16 16:33:16,537 - DEBUG - ====Verifying policy data for ctest-vn-35462419 in API_Server ====== 2026-03-16 16:33:16,537 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-16 16:33:16,549 - DEBUG - Requesting: http://10.0.0.50:8082/domain/01357fc8-9dcf-491a-9f75-366df8e84a77 2026-03-16 16:33:16,581 - DEBUG - Requesting: http://10.0.0.50:8082/project/b57187f2-dba5-446f-bb32-0255b00cc03a 2026-03-16 16:33:16,674 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/dc4b1880-bb1d-4bb1-a81b-ad22816d8823 2026-03-16 16:33:16,685 - DEBUG - ==>Verifying data for policy with id: ee26da68-51c2-4bc0-9109-68a385fc0525, fqn: ['default-domain', 'ctest-TestBasicPolicy-13240611', 'ctest-policy-allow-all-30828889'] 2026-03-16 16:33:16,685 - INFO - VN ctest-vn-35462419 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-16 16:33:16,685 - DEBUG - Verifying the vn in opserver 2026-03-16 16:33:16,685 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-13240611:ctest-vn-35462419 virtual network link through opserver 10.0.0.50 2026-03-16 16:33:16,686 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-03-16 16:33:17,001 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-03-16 16:33:17,073 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-13240611:ctest-vn-35462419', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-13240611:ctest-vn-35462419?flat'} 2026-03-16 16:33:17,074 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-13240611:ctest-vn-35462419 is found in opserver 2026-03-16 16:33:17,091 - DEBUG - Do not have enough data to verify VN in agent 2026-03-16 16:33:17,098 - DEBUG - VRF ids for VN ctest-vn-35462419: {} 2026-03-16 16:33:17,098 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-16 16:33:17,107 - DEBUG - Requesting: http://10.0.0.50:8082/domain/01357fc8-9dcf-491a-9f75-366df8e84a77 2026-03-16 16:33:17,128 - DEBUG - Requesting: http://10.0.0.50:8082/project/b57187f2-dba5-446f-bb32-0255b00cc03a 2026-03-16 16:33:17,218 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a491c51e-a260-434b-9f63-937e86bc4a2e 2026-03-16 16:33:17,241 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a491c51e-a260-434b-9f63-937e86bc4a2e 2026-03-16 16:33:17,257 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fc7ba7d0-d92b-4f99-8f0e-943a216e3184 2026-03-16 16:33:17,266 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fc7ba7d0-d92b-4f99-8f0e-943a216e3184 2026-03-16 16:33:17,274 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/3bf94f68-4609-4521-8c64-7f4fcfd6cd8c 2026-03-16 16:33:17,282 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-16 16:33:17,282 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a491c51e-a260-434b-9f63-937e86bc4a2e 2026-03-16 16:33:17,296 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fc7ba7d0-d92b-4f99-8f0e-943a216e3184 2026-03-16 16:33:17,315 - INFO - Verified VN network id 11 for VN a491c51e-a260-434b-9f63-937e86bc4a2e 2026-03-16 16:33:17,316 - INFO - Verifications in API Server for VN ctest-vn-84682802 passed 2026-03-16 16:33:17,316 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a491c51e-a260-434b-9f63-937e86bc4a2e 2026-03-16 16:33:17,328 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fc7ba7d0-d92b-4f99-8f0e-943a216e3184 2026-03-16 16:33:17,342 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fc7ba7d0-d92b-4f99-8f0e-943a216e3184 2026-03-16 16:33:17,358 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/3bf94f68-4609-4521-8c64-7f4fcfd6cd8c 2026-03-16 16:33:17,379 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-13240611:ctest-vn-84682802', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-13240611', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11858476029207135051', 'uuid-lslong': '11485185646360545838'}, 'enable': 'true', 'created': '2026-03-16T16:33:14', 'last-modified': '2026-03-16T16:33:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.684878'} 2026-03-16 16:33:17,389 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-16 16:33:17,390 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-84682802 passed 2026-03-16 16:33:17,390 - DEBUG - ====Verifying policy data for ctest-vn-84682802 in API_Server ====== 2026-03-16 16:33:17,390 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-16 16:33:17,399 - DEBUG - Requesting: http://10.0.0.50:8082/domain/01357fc8-9dcf-491a-9f75-366df8e84a77 2026-03-16 16:33:17,413 - DEBUG - Requesting: http://10.0.0.50:8082/project/b57187f2-dba5-446f-bb32-0255b00cc03a 2026-03-16 16:33:17,506 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a491c51e-a260-434b-9f63-937e86bc4a2e 2026-03-16 16:33:17,524 - DEBUG - ==>Verifying data for policy with id: ee26da68-51c2-4bc0-9109-68a385fc0525, fqn: ['default-domain', 'ctest-TestBasicPolicy-13240611', 'ctest-policy-allow-all-30828889'] 2026-03-16 16:33:17,524 - INFO - VN ctest-vn-84682802 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-16 16:33:17,525 - DEBUG - Verifying the vn in opserver 2026-03-16 16:33:17,525 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-13240611:ctest-vn-84682802 virtual network link through opserver 10.0.0.50 2026-03-16 16:33:17,525 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-03-16 16:33:17,538 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-13240611:ctest-vn-84682802', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-13240611:ctest-vn-84682802?flat'} 2026-03-16 16:33:17,538 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-13240611:ctest-vn-84682802 is found in opserver 2026-03-16 16:33:17,552 - DEBUG - Do not have enough data to verify VN in agent 2026-03-16 16:33:17,560 - DEBUG - VRF ids for VN ctest-vn-84682802: {} 2026-03-16 16:33:17,649 - DEBUG - Services list from nova: [, , ] 2026-03-16 16:33:19,007 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5477-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5477-1) 2026-03-16 16:33:20,471 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5477-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5477-1) 2026-03-16 16:33:20,471 - INFO - Waiting for VM ctest-TestBasicPolicy-13240611-03742843 to be up.. 2026-03-16 16:33:20,574 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-16 16:33:25,704 - DEBUG - VM is in ACTIVE state now 2026-03-16 16:33:25,704 - INFO - VM name : ctest-TestBasicPolicy-13240611-03742843 2026-03-16 16:33:25,820 - DEBUG - VM ctest-TestBasicPolicy-13240611-03742843 ID is 1ef12bc6-6385-46c0-91c0-c2f4a4d07964 2026-03-16 16:33:25,860 - DEBUG - VM ctest-TestBasicPolicy-13240611-03742843 launched on Node cn-jenkins-deploy-platform-ansible-os-5477-1 2026-03-16 16:33:25,986 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/1ef12bc6-6385-46c0-91c0-c2f4a4d07964 2026-03-16 16:33:25,997 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/16f747b0-869e-4b58-aa7e-b295a723ef79 2026-03-16 16:33:29,283 - 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 1011ms') 2026-03-16 16:33:29,283 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-13240611-03742843 failed! 2026-03-16 16:33:29,345 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-13240611:ctest-vn-35462419 is 71.154.59.129 and allocation pool is NOT set 2026-03-16 16:33:31,413 - 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.63 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.628/8.062/13.496/5.434 ms') 2026-03-16 16:33:31,413 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-13240611-03742843 passed 2026-03-16 16:33:31,601 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-16 16:33:31,601 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-13240611-03742843, IP 71.154.59.131, Port 22 2026-03-16 16:33:31,670 - 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-03-16 16:33:31,777 - DEBUG - VM ctest-TestBasicPolicy-13240611-03742843 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-16 16:33:36,778 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-16 16:33:36,778 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-13240611-03742843, IP 71.154.59.131, Port 22 2026-03-16 16:33:36,951 - DEBUG - VM ctest-TestBasicPolicy-13240611-03742843 is ready for SSH connections 2026-03-16 16:33:36,951 - INFO - Waiting for VM ctest-TestBasicPolicy-13240611-77566210 to be up.. 2026-03-16 16:33:37,081 - DEBUG - VM is in ACTIVE state now 2026-03-16 16:33:37,081 - INFO - VM name : ctest-TestBasicPolicy-13240611-77566210 2026-03-16 16:33:37,229 - DEBUG - VM ctest-TestBasicPolicy-13240611-77566210 ID is c80ebaf4-1335-47f6-a648-50ccd6eb3686 2026-03-16 16:33:37,229 - DEBUG - VM ctest-TestBasicPolicy-13240611-77566210 launched on Node cn-jenkins-deploy-platform-ansible-os-5477-1 2026-03-16 16:33:37,328 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c80ebaf4-1335-47f6-a648-50ccd6eb3686 2026-03-16 16:33:37,339 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/2331c3f4-0fe1-4073-97aa-cce9c1fae484 2026-03-16 16:33:38,602 - 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=4.51 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.522 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.522/2.516/4.510/1.994 ms') 2026-03-16 16:33:38,603 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-13240611-77566210 passed 2026-03-16 16:33:38,765 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-16 16:33:38,765 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-13240611-77566210, IP 63.180.145.131, Port 22 2026-03-16 16:33:38,954 - DEBUG - VM ctest-TestBasicPolicy-13240611-77566210 is ready for SSH connections 2026-03-16 16:33:38,954 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-16 16:33:38,955 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.180.145.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-03-16 16:33:38,955 - DEBUG - ping -s 56 -c 3 -W 1 63.180.145.131 2026-03-16 16:33:43,451 - DEBUG - PING 63.180.145.131 (63.180.145.131): 56 data bytes 64 bytes from 63.180.145.131: seq=0 ttl=63 time=11.064 ms 64 bytes from 63.180.145.131: seq=1 ttl=63 time=1.871 ms 64 bytes from 63.180.145.131: seq=2 ttl=63 time=2.133 ms --- 63.180.145.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.871/5.022/11.064 ms 2026-03-16 16:33:43,451 - INFO - Ping to IP 63.180.145.131 from VM ctest-TestBasicPolicy-13240611-03742843 passed 2026-03-16 16:33:43,716 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ee26da68-51c2-4bc0-9109-68a385fc0525", "href": "http://10.0.0.50:8082/network-policy/ee26da68-51c2-4bc0-9109-68a385fc0525"}} 2026-03-16 16:33:43,716 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-16 16:33:43,716 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.180.145.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-03-16 16:33:43,716 - DEBUG - ping -s 56 -c 3 -W 1 63.180.145.131 2026-03-16 16:33:46,937 - DEBUG - PING 63.180.145.131 (63.180.145.131): 56 data bytes 64 bytes from 63.180.145.131: seq=0 ttl=63 time=1.875 ms --- 63.180.145.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.875/1.875/1.875 ms 2026-03-16 16:33:46,937 - WARNING - Ping to IP 63.180.145.131 from VM ctest-TestBasicPolicy-13240611-03742843 failed 2026-03-16 16:33:46,937 - INFO - Deleting VM ctest-TestBasicPolicy-13240611-77566210 2026-03-16 16:33:47,060 - INFO - Deleting VM ctest-TestBasicPolicy-13240611-03742843 2026-03-16 16:33:47,554 - INFO - Deleted policy ctest-policy-allow-all-30828889 2026-03-16 16:33:47,554 - INFO - Deleting VN ctest-vn-84682802 2026-03-16 16:33:47,601 - DEBUG - VN a491c51e-a260-434b-9f63-937e86bc4a2e still in use: Unable to complete operation on network a491c51e-a260-434b-9f63-937e86bc4a2e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-87d6e338-47cc-4cbd-84cd-054886205255'] 2026-03-16 16:33:47,601 - WARNING - Deleting VN ctest-vn-84682802 failed..Will retry 2026-03-16 16:33:49,772 - DEBUG - Response for deleting network () 2026-03-16 16:33:49,772 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fc7ba7d0-d92b-4f99-8f0e-943a216e3184 2026-03-16 16:33:49,778 - DEBUG - Response Code: 404 2026-03-16 16:33:49,778 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-16 16:33:49,787 - DEBUG - Requesting: http://10.0.0.50:8082/domain/01357fc8-9dcf-491a-9f75-366df8e84a77 2026-03-16 16:33:49,846 - DEBUG - Requesting: http://10.0.0.50:8082/project/b57187f2-dba5-446f-bb32-0255b00cc03a 2026-03-16 16:33:49,954 - INFO - Validated that VN ctest-vn-84682802 is not found in API Server 2026-03-16 16:33:49,980 - DEBUG - VN ctest-vn-84682802 is not present in Agent 10.0.0.50 2026-03-16 16:33:49,980 - INFO - Validated that VN ctest-vn-84682802 is not in any agent 2026-03-16 16:33:50,004 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-84682802 info 2026-03-16 16:33:50,004 - INFO - Deleting VN ctest-vn-35462419 2026-03-16 16:33:50,152 - DEBUG - Response for deleting network () 2026-03-16 16:33:50,152 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/de363ea9-dedf-417a-9364-d0bce8619b08 2026-03-16 16:33:50,165 - DEBUG - Response Code: 404 2026-03-16 16:33:50,165 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-16 16:33:50,173 - DEBUG - Requesting: http://10.0.0.50:8082/domain/01357fc8-9dcf-491a-9f75-366df8e84a77 2026-03-16 16:33:50,234 - DEBUG - Requesting: http://10.0.0.50:8082/project/b57187f2-dba5-446f-bb32-0255b00cc03a 2026-03-16 16:33:50,333 - INFO - Validated that VN ctest-vn-35462419 is not found in API Server 2026-03-16 16:33:50,360 - DEBUG - VN ctest-vn-35462419 is not present in Agent 10.0.0.50 2026-03-16 16:33:50,360 - INFO - Validated that VN ctest-vn-35462419 is not in any agent 2026-03-16 16:33:50,390 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-35462419 info 2026-03-16 16:33:50,707 - DEBUG - No XMPP flaps were noticed during the test
2026-03-16 16:33:50,708 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:38]
2026-03-16 16:33:50,708 - INFO - -------------------------------------------------------------------------------- 2026-03-16 16:33:52,330 - INFO - Deleted project: ctest-TestBasicPolicy-13240611, ID : b57187f2-dba5-446f-bb32-0255b00cc03a