2026-11-09 15:56:36,704 - INFO - Domain Default found not creating 2026-11-09 15:56:36,873 - INFO - Project ctest-TestBasicPolicy-66399369 not found, creating it 2026-11-09 15:56:37,325 - INFO - Created Project:ctest-TestBasicPolicy-66399369, ID : 670bdaee-f3c5-4d80-a116-e5790d073cc4 2026-11-09 15:56:38,979 - INFO - ================================================================================ 2026-11-09 15:56:38,979 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-11-09 15:56:38,979 - 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-11-09 15:56:39,237 - DEBUG - Nothing to compare xmpp stats {'10.0.0.163': {'10.20.0.17': '0'}} with 2026-11-09 15:56:39,237 - INFO - Initial checks done. Running the testcase now 2026-11-09 15:56:39,237 - INFO - 2026-11-09 15:56:39,827 - DEBUG - Response for create_network : {'network': {'id': 'e30675a2-a745-4200-9dd6-82ffbfa3549d', 'name': 'ctest-vn-68146603', 'tenant_id': '670bdaeef3c54d80a116e5790d073cc4', 'project_id': '670bdaeef3c54d80a116e5790d073cc4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66399369', 'ctest-vn-68146603'], 'port_security_enabled': True, 'description': ''}} 2026-11-09 15:56:40,000 - DEBUG - Response for create_subnet : {'subnet': {'id': '450d98a1-a2c2-4180-863b-4f3b1d1e3690', 'name': '', 'tenant_id': '670bdaeef3c54d80a116e5790d073cc4', 'network_id': 'e30675a2-a745-4200-9dd6-82ffbfa3549d', 'ip_version': 4, 'cidr': '133.174.251.64/26', 'allocation_pools': [{'start': '133.174.251.66', 'end': '133.174.251.126'}], 'gateway_ip': '133.174.251.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.174.251.66', 'tags': [], 'project_id': '670bdaeef3c54d80a116e5790d073cc4'}} 2026-11-09 15:56:40,017 - INFO - Created VN ctest-vn-68146603 2026-11-09 15:56:40,070 - DEBUG - VN ctest-vn-68146603 UUID is e30675a2-a745-4200-9dd6-82ffbfa3549d 2026-11-09 15:56:40,404 - DEBUG - Response for create_network : {'network': {'id': '37125446-6c6d-47a8-816e-b3deda27f1d0', 'name': 'ctest-vn-32613793', 'tenant_id': '670bdaeef3c54d80a116e5790d073cc4', 'project_id': '670bdaeef3c54d80a116e5790d073cc4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66399369', 'ctest-vn-32613793'], 'port_security_enabled': True, 'description': ''}} 2026-11-09 15:56:40,593 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ca2e6b8a-4950-405b-bd42-4567ffb2e018', 'name': '', 'tenant_id': '670bdaeef3c54d80a116e5790d073cc4', 'network_id': '37125446-6c6d-47a8-816e-b3deda27f1d0', 'ip_version': 4, 'cidr': '201.78.25.0/26', 'allocation_pools': [{'start': '201.78.25.2', 'end': '201.78.25.62'}], 'gateway_ip': '201.78.25.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.78.25.2', 'tags': [], 'project_id': '670bdaeef3c54d80a116e5790d073cc4'}} 2026-11-09 15:56:40,610 - INFO - Created VN ctest-vn-32613793 2026-11-09 15:56:40,663 - DEBUG - VN ctest-vn-32613793 UUID is 37125446-6c6d-47a8-816e-b3deda27f1d0 2026-11-09 15:56:40,802 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-66399369:ctest-vn-68146603, 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-66399369:ctest-vn-32613793, 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-11-09 15:56:41,108 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e30675a2-a745-4200-9dd6-82ffbfa3549d', 'name': 'ctest-vn-68146603', 'tenant_id': '670bdaeef3c54d80a116e5790d073cc4', 'project_id': '670bdaeef3c54d80a116e5790d073cc4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['450d98a1-a2c2-4180-863b-4f3b1d1e3690'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66399369', 'ctest-vn-68146603'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66399369', 'ctest-policy-allow-all-58166545']], 'subnet_ipam': [{'subnet_cidr': '133.174.251.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-09 15:56:41,290 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '37125446-6c6d-47a8-816e-b3deda27f1d0', 'name': 'ctest-vn-32613793', 'tenant_id': '670bdaeef3c54d80a116e5790d073cc4', 'project_id': '670bdaeef3c54d80a116e5790d073cc4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['ca2e6b8a-4950-405b-bd42-4567ffb2e018'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66399369', 'ctest-vn-32613793'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66399369', 'ctest-policy-allow-all-58166545']], 'subnet_ipam': [{'subnet_cidr': '201.78.25.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-09 15:56:41,478 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-11-09 15:56:41,843 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-11-09 15:56:41,872 - DEBUG - Requesting: http://10.0.0.163:8082/domain/004d1e4e-d25c-4f1d-b649-20b0db97c4c1 2026-11-09 15:56:41,884 - DEBUG - Requesting: http://10.0.0.163:8082/project/670bdaee-f3c5-4d80-a116-e5790d073cc4 2026-11-09 15:56:41,954 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/e30675a2-a745-4200-9dd6-82ffbfa3549d 2026-11-09 15:56:41,964 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/e30675a2-a745-4200-9dd6-82ffbfa3549d 2026-11-09 15:56:41,975 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/e4da35ac-5461-4f50-b0bf-0ac4796eb457 2026-11-09 15:56:41,984 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/e4da35ac-5461-4f50-b0bf-0ac4796eb457 2026-11-09 15:56:41,993 - DEBUG - Requesting: http://10.0.0.163:8082/route-target/e3e2b8f2-9e5e-4294-a1bd-199b640dfe4f 2026-11-09 15:56:42,000 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-09 15:56:42,000 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/e30675a2-a745-4200-9dd6-82ffbfa3549d 2026-11-09 15:56:42,010 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/e4da35ac-5461-4f50-b0bf-0ac4796eb457 2026-11-09 15:56:42,023 - INFO - Verified VN network id 12 for VN e30675a2-a745-4200-9dd6-82ffbfa3549d 2026-11-09 15:56:42,024 - INFO - Verifications in API Server for VN ctest-vn-68146603 passed 2026-11-09 15:56:42,024 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/e30675a2-a745-4200-9dd6-82ffbfa3549d 2026-11-09 15:56:42,033 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/e4da35ac-5461-4f50-b0bf-0ac4796eb457 2026-11-09 15:56:42,040 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/e4da35ac-5461-4f50-b0bf-0ac4796eb457 2026-11-09 15:56:42,046 - DEBUG - Requesting: http://10.0.0.163:8082/route-target/e3e2b8f2-9e5e-4294-a1bd-199b640dfe4f 2026-11-09 15:56:42,058 - DEBUG - Control-node 10.0.0.163 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66399369:ctest-vn-68146603', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66399369', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16358892037921391104', 'uuid-lslong': '11373421943914189981'}, 'enable': 'true', 'created': '2026-11-09T15:56:39', 'last-modified': '2026-11-09T15:56:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.978106'} 2026-11-09 15:56:42,065 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-09 15:56:42,065 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68146603 passed 2026-11-09 15:56:42,065 - DEBUG - ====Verifying policy data for ctest-vn-68146603 in API_Server ====== 2026-11-09 15:56:42,065 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-11-09 15:56:42,071 - DEBUG - Requesting: http://10.0.0.163:8082/domain/004d1e4e-d25c-4f1d-b649-20b0db97c4c1 2026-11-09 15:56:42,081 - DEBUG - Requesting: http://10.0.0.163:8082/project/670bdaee-f3c5-4d80-a116-e5790d073cc4 2026-11-09 15:56:42,160 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/e30675a2-a745-4200-9dd6-82ffbfa3549d 2026-11-09 15:56:42,171 - DEBUG - ==>Verifying data for policy with id: 576318d1-2475-44be-89a1-c75ae0e1044d, fqn: ['default-domain', 'ctest-TestBasicPolicy-66399369', 'ctest-policy-allow-all-58166545'] 2026-11-09 15:56:42,171 - INFO - VN ctest-vn-68146603 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-09 15:56:42,171 - DEBUG - Verifying the vn in opserver 2026-11-09 15:56:42,171 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66399369:ctest-vn-68146603 virtual network link through opserver 10.0.0.163 2026-11-09 15:56:42,171 - DEBUG - Requesting: http://10.0.0.163:8081/analytics/uves/virtual-networks 2026-11-09 15:56:42,554 - DEBUG - Requesting: http://10.0.0.163:8081/analytics/uves/virtual-networks 2026-11-09 15:56:42,608 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66399369:ctest-vn-68146603', 'href': 'http://10.0.0.163:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66399369:ctest-vn-68146603?flat'} 2026-11-09 15:56:42,608 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66399369:ctest-vn-68146603 is found in opserver 2026-11-09 15:56:42,620 - DEBUG - Do not have enough data to verify VN in agent 2026-11-09 15:56:42,624 - DEBUG - VRF ids for VN ctest-vn-68146603: {} 2026-11-09 15:56:42,624 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-11-09 15:56:42,630 - DEBUG - Requesting: http://10.0.0.163:8082/domain/004d1e4e-d25c-4f1d-b649-20b0db97c4c1 2026-11-09 15:56:42,642 - DEBUG - Requesting: http://10.0.0.163:8082/project/670bdaee-f3c5-4d80-a116-e5790d073cc4 2026-11-09 15:56:42,708 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/37125446-6c6d-47a8-816e-b3deda27f1d0 2026-11-09 15:56:42,719 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/37125446-6c6d-47a8-816e-b3deda27f1d0 2026-11-09 15:56:42,727 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/2307a35d-cfc8-4a02-93fa-0a94e76bc904 2026-11-09 15:56:42,733 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/2307a35d-cfc8-4a02-93fa-0a94e76bc904 2026-11-09 15:56:42,739 - DEBUG - Requesting: http://10.0.0.163:8082/route-target/d62920a1-8fbb-4c17-8615-838d92033b87 2026-11-09 15:56:42,744 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-09 15:56:42,744 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/37125446-6c6d-47a8-816e-b3deda27f1d0 2026-11-09 15:56:42,753 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/2307a35d-cfc8-4a02-93fa-0a94e76bc904 2026-11-09 15:56:42,767 - INFO - Verified VN network id 13 for VN 37125446-6c6d-47a8-816e-b3deda27f1d0 2026-11-09 15:56:42,767 - INFO - Verifications in API Server for VN ctest-vn-32613793 passed 2026-11-09 15:56:42,768 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/37125446-6c6d-47a8-816e-b3deda27f1d0 2026-11-09 15:56:42,778 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/2307a35d-cfc8-4a02-93fa-0a94e76bc904 2026-11-09 15:56:42,786 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/2307a35d-cfc8-4a02-93fa-0a94e76bc904 2026-11-09 15:56:42,793 - DEBUG - Requesting: http://10.0.0.163:8082/route-target/d62920a1-8fbb-4c17-8615-838d92033b87 2026-11-09 15:56:42,806 - DEBUG - Control-node 10.0.0.163 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66399369:ctest-vn-32613793', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66399369', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3968326883110373288', 'uuid-lslong': '9326589648055038416'}, 'enable': 'true', 'created': '2026-11-09T15:56:40', 'last-modified': '2026-11-09T15:56:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.535981'} 2026-11-09 15:56:42,813 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-09 15:56:42,813 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-32613793 passed 2026-11-09 15:56:42,813 - DEBUG - ====Verifying policy data for ctest-vn-32613793 in API_Server ====== 2026-11-09 15:56:42,813 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-11-09 15:56:42,818 - DEBUG - Requesting: http://10.0.0.163:8082/domain/004d1e4e-d25c-4f1d-b649-20b0db97c4c1 2026-11-09 15:56:42,828 - DEBUG - Requesting: http://10.0.0.163:8082/project/670bdaee-f3c5-4d80-a116-e5790d073cc4 2026-11-09 15:56:42,897 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/37125446-6c6d-47a8-816e-b3deda27f1d0 2026-11-09 15:56:42,906 - DEBUG - ==>Verifying data for policy with id: 576318d1-2475-44be-89a1-c75ae0e1044d, fqn: ['default-domain', 'ctest-TestBasicPolicy-66399369', 'ctest-policy-allow-all-58166545'] 2026-11-09 15:56:42,906 - INFO - VN ctest-vn-32613793 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-09 15:56:42,906 - DEBUG - Verifying the vn in opserver 2026-11-09 15:56:42,906 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66399369:ctest-vn-32613793 virtual network link through opserver 10.0.0.163 2026-11-09 15:56:42,906 - DEBUG - Requesting: http://10.0.0.163:8081/analytics/uves/virtual-networks 2026-11-09 15:56:42,915 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66399369:ctest-vn-32613793', 'href': 'http://10.0.0.163:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66399369:ctest-vn-32613793?flat'} 2026-11-09 15:56:42,915 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66399369:ctest-vn-32613793 is found in opserver 2026-11-09 15:56:42,925 - DEBUG - Do not have enough data to verify VN in agent 2026-11-09 15:56:42,929 - DEBUG - VRF ids for VN ctest-vn-32613793: {} 2026-11-09 15:56:42,986 - DEBUG - Services list from nova: [, , ] 2026-11-09 15:56:43,421 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6501-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6501-1) 2026-11-09 15:56:43,829 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6501-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6501-1) 2026-11-09 15:56:43,830 - INFO - Waiting for VM ctest-TestBasicPolicy-66399369-57523728 to be up.. 2026-11-09 15:56:43,870 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-09 15:56:48,940 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-09 15:56:54,024 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-09 15:56:59,095 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-09 15:57:04,179 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-09 15:57:09,263 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-09 15:57:14,357 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-09 15:57:19,442 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-09 15:57:24,555 - DEBUG - VM is in ACTIVE state now 2026-11-09 15:57:24,556 - INFO - VM name : ctest-TestBasicPolicy-66399369-57523728 2026-11-09 15:57:24,636 - DEBUG - VM ctest-TestBasicPolicy-66399369-57523728 ID is 4902ff13-51ae-4774-a0ea-761366f39d68 2026-11-09 15:57:24,662 - DEBUG - VM ctest-TestBasicPolicy-66399369-57523728 launched on Node cn-jenkins-deploy-platform-ansible-os-6501-1 2026-11-09 15:57:24,757 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine/4902ff13-51ae-4774-a0ea-761366f39d68 2026-11-09 15:57:24,767 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine-interface/22053653-5d01-4702-8464-fbc0c6043498 2026-11-09 15:57:28,041 - 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 1007ms') 2026-11-09 15:57:28,042 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66399369-57523728 failed! 2026-11-09 15:57:28,103 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-66399369:ctest-vn-68146603 is 133.174.251.65 and allocation pool is NOT set 2026-11-09 15:57:32,161 - 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 1001ms') 2026-11-09 15:57:32,161 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66399369-57523728 failed! 2026-11-09 15:57:32,214 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-66399369:ctest-vn-68146603 is 133.174.251.65 and allocation pool is NOT set 2026-11-09 15:57:34,284 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=8.45 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.692 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.692/4.569/8.446/3.877 ms') 2026-11-09 15:57:34,284 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66399369-57523728 passed 2026-11-09 15:57:34,435 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-09 15:57:34,435 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-66399369-57523728, IP 133.174.251.67, Port 22 2026-11-09 15:57:34,595 - DEBUG - VM ctest-TestBasicPolicy-66399369-57523728 is ready for SSH connections 2026-11-09 15:57:34,595 - INFO - Waiting for VM ctest-TestBasicPolicy-66399369-62128580 to be up.. 2026-11-09 15:57:34,691 - DEBUG - VM is in ACTIVE state now 2026-11-09 15:57:34,691 - INFO - VM name : ctest-TestBasicPolicy-66399369-62128580 2026-11-09 15:57:34,765 - DEBUG - VM ctest-TestBasicPolicy-66399369-62128580 ID is b6a8b4b8-7f9c-40d1-97c9-ca0aa6a44983 2026-11-09 15:57:34,765 - DEBUG - VM ctest-TestBasicPolicy-66399369-62128580 launched on Node cn-jenkins-deploy-platform-ansible-os-6501-1 2026-11-09 15:57:34,836 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine/b6a8b4b8-7f9c-40d1-97c9-ca0aa6a44983 2026-11-09 15:57:34,844 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine-interface/cb85fde8-e7a9-4628-b7b1-bc45010c701a 2026-11-09 15:57:36,075 - 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.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.486 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.486/2.158/3.831/1.672 ms') 2026-11-09 15:57:36,076 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-66399369-62128580 passed 2026-11-09 15:57:36,222 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-09 15:57:36,223 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-66399369-62128580, IP 201.78.25.3, Port 22 2026-11-09 15:57:36,396 - DEBUG - VM ctest-TestBasicPolicy-66399369-62128580 is ready for SSH connections 2026-11-09 15:57:36,396 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-09 15:57:36,396 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 201.78.25.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.163, gateway password: c0ntrail123 2026-11-09 15:57:36,396 - DEBUG - ping -s 56 -c 3 -W 1 201.78.25.3 2026-11-09 15:57:40,550 - DEBUG - PING 201.78.25.3 (201.78.25.3): 56 data bytes 64 bytes from 201.78.25.3: seq=0 ttl=63 time=5.292 ms 64 bytes from 201.78.25.3: seq=1 ttl=63 time=1.211 ms 64 bytes from 201.78.25.3: seq=2 ttl=63 time=3.982 ms --- 201.78.25.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.211/3.495/5.292 ms 2026-11-09 15:57:40,550 - INFO - Ping to IP 201.78.25.3 from VM ctest-TestBasicPolicy-66399369-57523728 passed 2026-11-09 15:57:40,730 - DEBUG - Policy Update Response {"network-policy": {"uuid": "576318d1-2475-44be-89a1-c75ae0e1044d", "href": "http://10.0.0.163:8082/network-policy/576318d1-2475-44be-89a1-c75ae0e1044d"}} 2026-11-09 15:57:40,730 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-09 15:57:40,731 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 201.78.25.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.163, gateway password: c0ntrail123 2026-11-09 15:57:40,731 - DEBUG - ping -s 56 -c 3 -W 1 201.78.25.3 2026-11-09 15:57:43,880 - DEBUG - PING 201.78.25.3 (201.78.25.3): 56 data bytes 64 bytes from 201.78.25.3: seq=0 ttl=63 time=1.466 ms --- 201.78.25.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.466/1.466/1.466 ms 2026-11-09 15:57:43,881 - WARNING - Ping to IP 201.78.25.3 from VM ctest-TestBasicPolicy-66399369-57523728 failed 2026-11-09 15:57:43,881 - INFO - Deleting VM ctest-TestBasicPolicy-66399369-62128580 2026-11-09 15:57:43,980 - INFO - Deleting VM ctest-TestBasicPolicy-66399369-57523728 2026-11-09 15:57:44,423 - INFO - Deleted policy ctest-policy-allow-all-58166545 2026-11-09 15:57:44,424 - INFO - Deleting VN ctest-vn-32613793 2026-11-09 15:57:44,456 - DEBUG - VN 37125446-6c6d-47a8-816e-b3deda27f1d0 still in use: Unable to complete operation on network 37125446-6c6d-47a8-816e-b3deda27f1d0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-20362eef-3995-42ce-9093-c5de08433b73'] 2026-11-09 15:57:44,456 - WARNING - Deleting VN ctest-vn-32613793 failed..Will retry 2026-11-09 15:57:46,501 - DEBUG - VN 37125446-6c6d-47a8-816e-b3deda27f1d0 still in use: Unable to complete operation on network 37125446-6c6d-47a8-816e-b3deda27f1d0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6e504ba3-cc54-45a8-9777-99b73817caa7'] 2026-11-09 15:57:46,501 - WARNING - Deleting VN ctest-vn-32613793 failed..Will retry 2026-11-09 15:57:48,612 - DEBUG - Response for deleting network () 2026-11-09 15:57:48,613 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/2307a35d-cfc8-4a02-93fa-0a94e76bc904 2026-11-09 15:57:48,619 - DEBUG - Response Code: 404 2026-11-09 15:57:48,620 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-11-09 15:57:48,626 - DEBUG - Requesting: http://10.0.0.163:8082/domain/004d1e4e-d25c-4f1d-b649-20b0db97c4c1 2026-11-09 15:57:48,683 - DEBUG - Requesting: http://10.0.0.163:8082/project/670bdaee-f3c5-4d80-a116-e5790d073cc4 2026-11-09 15:57:48,759 - INFO - Validated that VN ctest-vn-32613793 is not found in API Server 2026-11-09 15:57:48,778 - DEBUG - VN ctest-vn-32613793 is not present in Agent 10.0.0.163 2026-11-09 15:57:48,779 - INFO - Validated that VN ctest-vn-32613793 is not in any agent 2026-11-09 15:57:48,800 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-32613793 info 2026-11-09 15:57:48,800 - INFO - Deleting VN ctest-vn-68146603 2026-11-09 15:57:48,898 - DEBUG - Response for deleting network () 2026-11-09 15:57:48,898 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/e4da35ac-5461-4f50-b0bf-0ac4796eb457 2026-11-09 15:57:48,906 - DEBUG - Response Code: 404 2026-11-09 15:57:48,906 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-11-09 15:57:48,911 - DEBUG - Requesting: http://10.0.0.163:8082/domain/004d1e4e-d25c-4f1d-b649-20b0db97c4c1 2026-11-09 15:57:48,963 - DEBUG - Requesting: http://10.0.0.163:8082/project/670bdaee-f3c5-4d80-a116-e5790d073cc4 2026-11-09 15:57:49,031 - INFO - Validated that VN ctest-vn-68146603 is not found in API Server 2026-11-09 15:57:49,046 - DEBUG - VN ctest-vn-68146603 is not present in Agent 10.0.0.163 2026-11-09 15:57:49,046 - INFO - Validated that VN ctest-vn-68146603 is not in any agent 2026-11-09 15:57:49,063 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-68146603 info 2026-11-09 15:57:49,327 - DEBUG - No XMPP flaps were noticed during the test
2026-11-09 15:57:49,327 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:11]
2026-11-09 15:57:49,327 - INFO - -------------------------------------------------------------------------------- 2026-11-09 15:57:50,173 - INFO - Deleted project: ctest-TestBasicPolicy-66399369, ID : 670bdaee-f3c5-4d80-a116-e5790d073cc4