2026-04-06 03:01:08,451 - INFO - Domain Default found not creating 2026-04-06 03:01:08,633 - INFO - Project ctest-TestBasicPolicy-74132937 not found, creating it 2026-04-06 03:01:09,285 - INFO - Created Project:ctest-TestBasicPolicy-74132937, ID : e7bc7d62-cdf0-4f61-ba65-cc5aaba72b87 2026-04-06 03:01:10,741 - INFO - ================================================================================ 2026-04-06 03:01:10,741 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-06 03:01:10,741 - 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-04-06 03:01:12,019 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.193': '0', '10.20.0.129': '0'}, '10.0.0.241': {'10.20.0.18': '0', '10.20.0.129': '0'}} with 2026-04-06 03:01:12,019 - INFO - Initial checks done. Running the testcase now 2026-04-06 03:01:12,019 - INFO - 2026-04-06 03:01:12,745 - DEBUG - Response for create_network : {'network': {'id': '43520293-f19d-4963-99f1-6e25ef5b9fdc', 'name': 'ctest-vn-71306082', 'tenant_id': 'e7bc7d62cdf04f61ba65cc5aaba72b87', 'project_id': 'e7bc7d62cdf04f61ba65cc5aaba72b87', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74132937', 'ctest-vn-71306082'], 'port_security_enabled': True, 'description': ''}} 2026-04-06 03:01:13,045 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f04ae08c-0a13-4b73-8318-830b1e83376b', 'name': '', 'tenant_id': 'e7bc7d62cdf04f61ba65cc5aaba72b87', 'network_id': '43520293-f19d-4963-99f1-6e25ef5b9fdc', 'ip_version': 4, 'cidr': '60.40.110.128/26', 'allocation_pools': [{'start': '60.40.110.130', 'end': '60.40.110.190'}], 'gateway_ip': '60.40.110.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '60.40.110.130', 'tags': [], 'project_id': 'e7bc7d62cdf04f61ba65cc5aaba72b87'}} 2026-04-06 03:01:13,069 - INFO - Created VN ctest-vn-71306082 2026-04-06 03:01:13,085 - DEBUG - VN ctest-vn-71306082 UUID is 43520293-f19d-4963-99f1-6e25ef5b9fdc 2026-04-06 03:01:13,467 - DEBUG - Response for create_network : {'network': {'id': '01cb77f7-493b-4f05-b8fd-802f3fde567c', 'name': 'ctest-vn-71206929', 'tenant_id': 'e7bc7d62cdf04f61ba65cc5aaba72b87', 'project_id': 'e7bc7d62cdf04f61ba65cc5aaba72b87', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74132937', 'ctest-vn-71206929'], 'port_security_enabled': True, 'description': ''}} 2026-04-06 03:01:13,738 - DEBUG - Response for create_subnet : {'subnet': {'id': '2e1b7ad6-7f37-4e51-89f5-fb6dd163d57a', 'name': '', 'tenant_id': 'e7bc7d62cdf04f61ba65cc5aaba72b87', 'network_id': '01cb77f7-493b-4f05-b8fd-802f3fde567c', 'ip_version': 4, 'cidr': '156.24.149.0/26', 'allocation_pools': [{'start': '156.24.149.2', 'end': '156.24.149.62'}], 'gateway_ip': '156.24.149.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.24.149.2', 'tags': [], 'project_id': 'e7bc7d62cdf04f61ba65cc5aaba72b87'}} 2026-04-06 03:01:13,758 - INFO - Created VN ctest-vn-71206929 2026-04-06 03:01:13,769 - DEBUG - VN ctest-vn-71206929 UUID is 01cb77f7-493b-4f05-b8fd-802f3fde567c 2026-04-06 03:01:13,883 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-74132937:ctest-vn-71306082, 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-74132937:ctest-vn-71206929, 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-04-06 03:01:14,283 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '43520293-f19d-4963-99f1-6e25ef5b9fdc', 'name': 'ctest-vn-71306082', 'tenant_id': 'e7bc7d62cdf04f61ba65cc5aaba72b87', 'project_id': 'e7bc7d62cdf04f61ba65cc5aaba72b87', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f04ae08c-0a13-4b73-8318-830b1e83376b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74132937', 'ctest-vn-71306082'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74132937', 'ctest-policy-allow-all-66161128']], 'subnet_ipam': [{'subnet_cidr': '60.40.110.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-06 03:01:14,524 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '01cb77f7-493b-4f05-b8fd-802f3fde567c', 'name': 'ctest-vn-71206929', 'tenant_id': 'e7bc7d62cdf04f61ba65cc5aaba72b87', 'project_id': 'e7bc7d62cdf04f61ba65cc5aaba72b87', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2e1b7ad6-7f37-4e51-89f5-fb6dd163d57a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74132937', 'ctest-vn-71206929'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74132937', 'ctest-policy-allow-all-66161128']], 'subnet_ipam': [{'subnet_cidr': '156.24.149.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-06 03:01:14,630 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-04-06 03:01:14,940 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-04-06 03:01:14,975 - DEBUG - Requesting: http://10.0.0.249:8082/domain/500738d8-636d-4330-98c4-d5dafb5cbb39 2026-04-06 03:01:14,988 - DEBUG - Requesting: http://10.0.0.249:8082/project/e7bc7d62-cdf0-4f61-ba65-cc5aaba72b87 2026-04-06 03:01:15,083 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/43520293-f19d-4963-99f1-6e25ef5b9fdc 2026-04-06 03:01:15,097 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/43520293-f19d-4963-99f1-6e25ef5b9fdc 2026-04-06 03:01:15,106 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/96f345fa-a2dd-4f7e-99d9-40322a742321 2026-04-06 03:01:15,115 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/96f345fa-a2dd-4f7e-99d9-40322a742321 2026-04-06 03:01:15,124 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/3ae4ed26-a3da-4802-9003-bd93083b11c3 2026-04-06 03:01:15,139 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-06 03:01:15,139 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/43520293-f19d-4963-99f1-6e25ef5b9fdc 2026-04-06 03:01:15,147 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/96f345fa-a2dd-4f7e-99d9-40322a742321 2026-04-06 03:01:15,165 - INFO - Verified VN network id 12 for VN 43520293-f19d-4963-99f1-6e25ef5b9fdc 2026-04-06 03:01:15,165 - INFO - Verifications in API Server for VN ctest-vn-71306082 passed 2026-04-06 03:01:15,165 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/43520293-f19d-4963-99f1-6e25ef5b9fdc 2026-04-06 03:01:15,177 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/96f345fa-a2dd-4f7e-99d9-40322a742321 2026-04-06 03:01:15,187 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/96f345fa-a2dd-4f7e-99d9-40322a742321 2026-04-06 03:01:15,196 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/3ae4ed26-a3da-4802-9003-bd93083b11c3 2026-04-06 03:01:15,209 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74132937:ctest-vn-71306082', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74132937', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4850942583068510563', 'uuid-lslong': '11092768466398846940'}, 'enable': 'true', 'created': '2026-04-06T03:01:12', 'last-modified': '2026-04-06T03:01:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.020354'} 2026-04-06 03:01:15,216 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-06 03:01:15,222 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74132937:ctest-vn-71306082', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74132937', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4850942583068510563', 'uuid-lslong': '11092768466398846940'}, 'enable': 'true', 'created': '2026-04-06T03:01:12', 'last-modified': '2026-04-06T03:01:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.033457'} 2026-04-06 03:01:15,230 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-06 03:01:15,236 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74132937:ctest-vn-71306082', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74132937', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4850942583068510563', 'uuid-lslong': '11092768466398846940'}, 'enable': 'true', 'created': '2026-04-06T03:01:12', 'last-modified': '2026-04-06T03:01:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.035776'} 2026-04-06 03:01:15,243 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-06 03:01:15,243 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-71306082 passed 2026-04-06 03:01:15,243 - DEBUG - ====Verifying policy data for ctest-vn-71306082 in API_Server ====== 2026-04-06 03:01:15,243 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-04-06 03:01:15,251 - DEBUG - Requesting: http://10.0.0.249:8082/domain/500738d8-636d-4330-98c4-d5dafb5cbb39 2026-04-06 03:01:15,263 - DEBUG - Requesting: http://10.0.0.249:8082/project/e7bc7d62-cdf0-4f61-ba65-cc5aaba72b87 2026-04-06 03:01:15,370 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/43520293-f19d-4963-99f1-6e25ef5b9fdc 2026-04-06 03:01:15,381 - DEBUG - ==>Verifying data for policy with id: 008be36c-e5a9-4ae5-a146-8fa4c3f926d9, fqn: ['default-domain', 'ctest-TestBasicPolicy-74132937', 'ctest-policy-allow-all-66161128'] 2026-04-06 03:01:15,381 - INFO - VN ctest-vn-71306082 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-06 03:01:15,381 - DEBUG - Verifying the vn in opserver 2026-04-06 03:01:15,381 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74132937:ctest-vn-71306082 virtual network link through opserver 10.0.0.249 2026-04-06 03:01:15,381 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-04-06 03:01:15,700 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-04-06 03:01:15,771 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74132937:ctest-vn-71306082', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74132937:ctest-vn-71306082?flat'} 2026-04-06 03:01:15,771 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74132937:ctest-vn-71306082 virtual network link through opserver 10.0.0.27 2026-04-06 03:01:15,772 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2026-04-06 03:01:16,073 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2026-04-06 03:01:16,161 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74132937:ctest-vn-71306082', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74132937:ctest-vn-71306082?flat'} 2026-04-06 03:01:16,161 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74132937:ctest-vn-71306082 virtual network link through opserver 10.0.0.33 2026-04-06 03:01:16,161 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-04-06 03:01:16,466 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-04-06 03:01:16,531 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74132937:ctest-vn-71306082', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74132937:ctest-vn-71306082?flat'} 2026-04-06 03:01:16,531 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74132937:ctest-vn-71306082 is found in opserver 2026-04-06 03:01:16,554 - DEBUG - Do not have enough data to verify VN in agent 2026-04-06 03:01:16,565 - DEBUG - VRF ids for VN ctest-vn-71306082: {} 2026-04-06 03:01:16,565 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-04-06 03:01:16,573 - DEBUG - Requesting: http://10.0.0.249:8082/domain/500738d8-636d-4330-98c4-d5dafb5cbb39 2026-04-06 03:01:16,586 - DEBUG - Requesting: http://10.0.0.249:8082/project/e7bc7d62-cdf0-4f61-ba65-cc5aaba72b87 2026-04-06 03:01:16,692 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/01cb77f7-493b-4f05-b8fd-802f3fde567c 2026-04-06 03:01:16,711 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/01cb77f7-493b-4f05-b8fd-802f3fde567c 2026-04-06 03:01:16,724 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/551d7993-fb25-4b77-b15d-e6666d94f17c 2026-04-06 03:01:16,735 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/551d7993-fb25-4b77-b15d-e6666d94f17c 2026-04-06 03:01:16,743 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/75024104-0362-4f37-94c8-4a0c1f1f3e55 2026-04-06 03:01:16,752 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-04-06 03:01:16,752 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/01cb77f7-493b-4f05-b8fd-802f3fde567c 2026-04-06 03:01:16,773 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/551d7993-fb25-4b77-b15d-e6666d94f17c 2026-04-06 03:01:16,792 - INFO - Verified VN network id 13 for VN 01cb77f7-493b-4f05-b8fd-802f3fde567c 2026-04-06 03:01:16,792 - INFO - Verifications in API Server for VN ctest-vn-71206929 passed 2026-04-06 03:01:16,792 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/01cb77f7-493b-4f05-b8fd-802f3fde567c 2026-04-06 03:01:16,803 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/551d7993-fb25-4b77-b15d-e6666d94f17c 2026-04-06 03:01:16,811 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/551d7993-fb25-4b77-b15d-e6666d94f17c 2026-04-06 03:01:16,819 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/75024104-0362-4f37-94c8-4a0c1f1f3e55 2026-04-06 03:01:16,836 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74132937:ctest-vn-71206929', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74132937', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '129328918279442181', 'uuid-lslong': '13329951412509890172'}, 'enable': 'true', 'created': '2026-04-06T03:01:13', 'last-modified': '2026-04-06T03:01:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.364379'} 2026-04-06 03:01:16,843 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-04-06 03:01:16,851 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74132937:ctest-vn-71206929', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74132937', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '129328918279442181', 'uuid-lslong': '13329951412509890172'}, 'enable': 'true', 'created': '2026-04-06T03:01:13', 'last-modified': '2026-04-06T03:01:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.373724'} 2026-04-06 03:01:16,859 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-04-06 03:01:16,865 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74132937:ctest-vn-71206929', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74132937', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '129328918279442181', 'uuid-lslong': '13329951412509890172'}, 'enable': 'true', 'created': '2026-04-06T03:01:13', 'last-modified': '2026-04-06T03:01:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.394339'} 2026-04-06 03:01:16,873 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-04-06 03:01:16,873 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-71206929 passed 2026-04-06 03:01:16,874 - DEBUG - ====Verifying policy data for ctest-vn-71206929 in API_Server ====== 2026-04-06 03:01:16,874 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-04-06 03:01:16,881 - DEBUG - Requesting: http://10.0.0.249:8082/domain/500738d8-636d-4330-98c4-d5dafb5cbb39 2026-04-06 03:01:16,894 - DEBUG - Requesting: http://10.0.0.249:8082/project/e7bc7d62-cdf0-4f61-ba65-cc5aaba72b87 2026-04-06 03:01:16,993 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/01cb77f7-493b-4f05-b8fd-802f3fde567c 2026-04-06 03:01:17,004 - DEBUG - ==>Verifying data for policy with id: 008be36c-e5a9-4ae5-a146-8fa4c3f926d9, fqn: ['default-domain', 'ctest-TestBasicPolicy-74132937', 'ctest-policy-allow-all-66161128'] 2026-04-06 03:01:17,005 - INFO - VN ctest-vn-71206929 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-06 03:01:17,005 - DEBUG - Verifying the vn in opserver 2026-04-06 03:01:17,005 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74132937:ctest-vn-71206929 virtual network link through opserver 10.0.0.249 2026-04-06 03:01:17,005 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-04-06 03:01:17,089 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74132937:ctest-vn-71206929', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74132937:ctest-vn-71206929?flat'} 2026-04-06 03:01:17,089 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74132937:ctest-vn-71206929 virtual network link through opserver 10.0.0.27 2026-04-06 03:01:17,089 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2026-04-06 03:01:17,170 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74132937:ctest-vn-71206929', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74132937:ctest-vn-71206929?flat'} 2026-04-06 03:01:17,171 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74132937:ctest-vn-71206929 virtual network link through opserver 10.0.0.33 2026-04-06 03:01:17,171 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-04-06 03:01:17,246 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74132937:ctest-vn-71206929', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74132937:ctest-vn-71206929?flat'} 2026-04-06 03:01:17,247 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74132937:ctest-vn-71206929 is found in opserver 2026-04-06 03:01:17,273 - DEBUG - Do not have enough data to verify VN in agent 2026-04-06 03:01:17,285 - DEBUG - VRF ids for VN ctest-vn-71206929: {} 2026-04-06 03:01:17,342 - DEBUG - Services list from nova: [, , , ] 2026-04-06 03:01:18,534 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5596-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5596-2) 2026-04-06 03:01:19,766 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5596-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5596-1) 2026-04-06 03:01:19,766 - INFO - Waiting for VM ctest-TestBasicPolicy-74132937-47268234 to be up.. 2026-04-06 03:01:19,862 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-06 03:01:24,957 - DEBUG - VM is in ACTIVE state now 2026-04-06 03:01:24,957 - INFO - VM name : ctest-TestBasicPolicy-74132937-47268234 2026-04-06 03:01:25,047 - DEBUG - VM ctest-TestBasicPolicy-74132937-47268234 ID is 6bdd9c85-99ec-49fe-94fb-268858254135 2026-04-06 03:01:25,069 - DEBUG - VM ctest-TestBasicPolicy-74132937-47268234 launched on Node an-jenkins-deploy-platform-ansible-os-5596-2 2026-04-06 03:01:25,153 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/6bdd9c85-99ec-49fe-94fb-268858254135 2026-04-06 03:01:25,460 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/6bdd9c85-99ec-49fe-94fb-268858254135 2026-04-06 03:01:25,493 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/329286d4-e792-4fa0-b63c-5f124eba71eb 2026-04-06 03:01:28,670 - 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 1024ms') 2026-04-06 03:01:28,671 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-74132937-47268234 failed! 2026-04-06 03:01:28,687 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-74132937:ctest-vn-71306082 is 60.40.110.129 and allocation pool is NOT set 2026-04-06 03:01:32,768 - 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 1018ms') 2026-04-06 03:01:32,768 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-74132937-47268234 failed! 2026-04-06 03:01:32,784 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-74132937:ctest-vn-71306082 is 60.40.110.129 and allocation pool is NOT set 2026-04-06 03:01:36,864 - 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 1015ms') 2026-04-06 03:01:36,864 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-74132937-47268234 failed! 2026-04-06 03:01:36,881 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-74132937:ctest-vn-71306082 is 60.40.110.129 and allocation pool is NOT set 2026-04-06 03:01:40,954 - 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 1015ms') 2026-04-06 03:01:40,954 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-74132937-47268234 failed! 2026-04-06 03:01:40,971 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-74132937:ctest-vn-71306082 is 60.40.110.129 and allocation pool is NOT set 2026-04-06 03:01:45,058 - 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 1027ms') 2026-04-06 03:01:45,058 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-74132937-47268234 failed! 2026-04-06 03:01:45,073 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-74132937:ctest-vn-71306082 is 60.40.110.129 and allocation pool is NOT set 2026-04-06 03:01:49,148 - 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 1015ms') 2026-04-06 03:01:49,148 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-74132937-47268234 failed! 2026-04-06 03:01:49,163 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-74132937:ctest-vn-71306082 is 60.40.110.129 and allocation pool is NOT set 2026-04-06 03:01:53,248 - 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-04-06 03:01:53,249 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-74132937-47268234 failed! 2026-04-06 03:01:53,264 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-74132937:ctest-vn-71306082 is 60.40.110.129 and allocation pool is NOT set 2026-04-06 03:01:57,337 - 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 1015ms') 2026-04-06 03:01:57,337 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-74132937-47268234 failed! 2026-04-06 03:01:57,356 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-74132937:ctest-vn-71306082 is 60.40.110.129 and allocation pool is NOT set 2026-04-06 03:01:59,422 - 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=5.64 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.585 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 = 0.585/3.110/5.635/2.525 ms') 2026-04-06 03:01:59,422 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-74132937-47268234 passed 2026-04-06 03:01:59,496 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-06 03:01:59,496 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74132937-47268234, IP 60.40.110.131, Port 22 2026-04-06 03:01:59,555 - DEBUG - Error on ssh to ubuntu@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-04-06 03:01:59,680 - DEBUG - VM ctest-TestBasicPolicy-74132937-47268234 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-06 03:02:04,681 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-06 03:02:04,681 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74132937-47268234, IP 60.40.110.131, Port 22 2026-04-06 03:02:04,738 - DEBUG - Error on ssh to ubuntu@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-04-06 03:02:04,825 - DEBUG - VM ctest-TestBasicPolicy-74132937-47268234 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-06 03:02:09,826 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-06 03:02:09,826 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74132937-47268234, IP 60.40.110.131, Port 22 2026-04-06 03:02:09,892 - DEBUG - Error on ssh to ubuntu@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-04-06 03:02:09,988 - DEBUG - VM ctest-TestBasicPolicy-74132937-47268234 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-06 03:02:14,989 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-06 03:02:14,989 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74132937-47268234, IP 60.40.110.131, Port 22 2026-04-06 03:02:15,166 - DEBUG - VM ctest-TestBasicPolicy-74132937-47268234 is ready for SSH connections 2026-04-06 03:02:15,166 - INFO - Waiting for VM ctest-TestBasicPolicy-74132937-29399035 to be up.. 2026-04-06 03:02:15,272 - DEBUG - VM is in ACTIVE state now 2026-04-06 03:02:15,272 - INFO - VM name : ctest-TestBasicPolicy-74132937-29399035 2026-04-06 03:02:15,367 - DEBUG - VM ctest-TestBasicPolicy-74132937-29399035 ID is d9951317-49a3-4064-8018-4c8dee50ea41 2026-04-06 03:02:15,367 - DEBUG - VM ctest-TestBasicPolicy-74132937-29399035 launched on Node an-jenkins-deploy-platform-ansible-os-5596-1 2026-04-06 03:02:15,450 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/d9951317-49a3-4064-8018-4c8dee50ea41 2026-04-06 03:02:15,462 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/de5da8df-b9ae-49b1-a9f0-a136a17f0430 2026-04-06 03:02:16,641 - 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=5.96 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.495 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 = 0.495/3.225/5.955/2.730 ms') 2026-04-06 03:02:16,641 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-74132937-29399035 passed 2026-04-06 03:02:16,714 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-06 03:02:16,714 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74132937-29399035, IP 156.24.149.3, Port 22 2026-04-06 03:02:16,780 - DEBUG - Error on ssh to ubuntu@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-04-06 03:02:16,886 - DEBUG - VM ctest-TestBasicPolicy-74132937-29399035 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-06 03:02:21,887 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-06 03:02:21,887 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74132937-29399035, IP 156.24.149.3, Port 22 2026-04-06 03:02:21,953 - DEBUG - Error on ssh to ubuntu@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-04-06 03:02:22,033 - DEBUG - VM ctest-TestBasicPolicy-74132937-29399035 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-06 03:02:27,033 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-06 03:02:27,033 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74132937-29399035, IP 156.24.149.3, Port 22 2026-04-06 03:02:27,200 - DEBUG - VM ctest-TestBasicPolicy-74132937-29399035 is ready for SSH connections 2026-04-06 03:02:27,200 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-06 03:02:27,200 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 156.24.149.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2026-04-06 03:02:27,200 - DEBUG - ping -s 56 -c 3 -W 1 156.24.149.3 2026-04-06 03:03:11,427 - DEBUG - PING 156.24.149.3 (156.24.149.3) 56(84) bytes of data. 64 bytes from 156.24.149.3: icmp_req=1 ttl=63 time=8.05 ms 64 bytes from 156.24.149.3: icmp_req=2 ttl=63 time=1.35 ms 64 bytes from 156.24.149.3: icmp_req=3 ttl=63 time=1.37 ms --- 156.24.149.3 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2005ms rtt min/avg/max/mdev = 1.358/3.595/8.053/3.152 ms 2026-04-06 03:03:11,427 - INFO - Ping to IP 156.24.149.3 from VM ctest-TestBasicPolicy-74132937-47268234 passed 2026-04-06 03:03:11,643 - DEBUG - Policy Update Response {"network-policy": {"uuid": "008be36c-e5a9-4ae5-a146-8fa4c3f926d9", "href": "http://10.0.0.33:8082/network-policy/008be36c-e5a9-4ae5-a146-8fa4c3f926d9"}} 2026-04-06 03:03:11,643 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-06 03:03:11,643 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 156.24.149.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2026-04-06 03:03:11,644 - DEBUG - ping -s 56 -c 3 -W 1 156.24.149.3 2026-04-06 03:03:15,143 - DEBUG - PING 156.24.149.3 (156.24.149.3) 56(84) bytes of data. 64 bytes from 156.24.149.3: icmp_req=1 ttl=63 time=3.14 ms --- 156.24.149.3 ping statistics --- 3 packets transmitted, 1 received, 66% packet loss, time 2011ms rtt min/avg/max/mdev = 3.147/3.147/3.147/0.000 ms 2026-04-06 03:03:15,144 - WARNING - Ping to IP 156.24.149.3 from VM ctest-TestBasicPolicy-74132937-47268234 failed 2026-04-06 03:03:15,144 - INFO - Deleting VM ctest-TestBasicPolicy-74132937-29399035 2026-04-06 03:03:15,211 - INFO - Deleting VM ctest-TestBasicPolicy-74132937-47268234 2026-04-06 03:03:15,681 - INFO - Deleted policy ctest-policy-allow-all-66161128 2026-04-06 03:03:15,681 - INFO - Deleting VN ctest-vn-71206929 2026-04-06 03:03:15,728 - DEBUG - VN 01cb77f7-493b-4f05-b8fd-802f3fde567c still in use: Unable to complete operation on network 01cb77f7-493b-4f05-b8fd-802f3fde567c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-16978403-f848-47c9-89c2-387e4adf176f'] 2026-04-06 03:03:15,729 - WARNING - Deleting VN ctest-vn-71206929 failed..Will retry 2026-04-06 03:03:17,908 - DEBUG - Response for deleting network () 2026-04-06 03:03:17,909 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/551d7993-fb25-4b77-b15d-e6666d94f17c 2026-04-06 03:03:17,917 - DEBUG - Response Code: 404 2026-04-06 03:03:17,917 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-04-06 03:03:17,928 - DEBUG - Requesting: http://10.0.0.249:8082/domain/500738d8-636d-4330-98c4-d5dafb5cbb39 2026-04-06 03:03:17,942 - DEBUG - Requesting: http://10.0.0.249:8082/project/e7bc7d62-cdf0-4f61-ba65-cc5aaba72b87 2026-04-06 03:03:18,036 - INFO - Validated that VN ctest-vn-71206929 is not found in API Server 2026-04-06 03:03:18,051 - DEBUG - VN ctest-vn-71206929 is not present in Agent 10.0.0.19 2026-04-06 03:03:18,064 - DEBUG - VN ctest-vn-71206929 is not present in Agent 10.0.0.241 2026-04-06 03:03:18,064 - INFO - Validated that VN ctest-vn-71206929 is not in any agent 2026-04-06 03:03:18,094 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-71206929 info 2026-04-06 03:03:18,094 - INFO - Deleting VN ctest-vn-71306082 2026-04-06 03:03:18,232 - DEBUG - Response for deleting network () 2026-04-06 03:03:18,232 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/96f345fa-a2dd-4f7e-99d9-40322a742321 2026-04-06 03:03:18,238 - DEBUG - Response Code: 404 2026-04-06 03:03:18,238 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-04-06 03:03:18,243 - DEBUG - Requesting: http://10.0.0.249:8082/domain/500738d8-636d-4330-98c4-d5dafb5cbb39 2026-04-06 03:03:18,300 - DEBUG - Requesting: http://10.0.0.249:8082/project/e7bc7d62-cdf0-4f61-ba65-cc5aaba72b87 2026-04-06 03:03:18,416 - INFO - Validated that VN ctest-vn-71306082 is not found in API Server 2026-04-06 03:03:18,427 - DEBUG - VN ctest-vn-71306082 is not present in Agent 10.0.0.19 2026-04-06 03:03:18,440 - DEBUG - VN ctest-vn-71306082 is not present in Agent 10.0.0.241 2026-04-06 03:03:18,440 - INFO - Validated that VN ctest-vn-71306082 is not in any agent 2026-04-06 03:03:18,472 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-71306082 info 2026-04-06 03:03:19,747 - DEBUG - No XMPP flaps were noticed during the test
2026-04-06 03:03:19,747 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:02:09]
2026-04-06 03:03:19,747 - INFO - -------------------------------------------------------------------------------- 2026-04-06 03:03:20,513 - INFO - Deleted project: ctest-TestBasicPolicy-74132937, ID : e7bc7d62-cdf0-4f61-ba65-cc5aaba72b87