2026-02-10 15:13:11,756 - INFO - Domain Default found not creating 2026-02-10 15:13:12,111 - INFO - Project ctest-TestBasicPolicy-00823261 not found, creating it 2026-02-10 15:13:12,748 - INFO - Created Project:ctest-TestBasicPolicy-00823261, ID : 17ab0e5b-166a-43a5-bdff-18dd6c563dc3 2026-02-10 15:13:15,034 - INFO - ================================================================================ 2026-02-10 15:13:15,034 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-10 15:13:15,034 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2026-02-10 15:13:15,379 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.193': '0'}} with 2026-02-10 15:13:15,379 - INFO - Initial checks done. Running the testcase now 2026-02-10 15:13:15,380 - INFO - 2026-02-10 15:13:16,053 - DEBUG - Response for create_network : {'network': {'id': 'ce972251-d687-4fc0-a2a1-bdd3335eed68', 'name': 'ctest-vn-96979023', 'tenant_id': '17ab0e5b166a43a5bdff18dd6c563dc3', 'project_id': '17ab0e5b166a43a5bdff18dd6c563dc3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00823261', 'ctest-vn-96979023'], 'port_security_enabled': True, 'description': ''}} 2026-02-10 15:13:16,276 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd6789c6d-ccbb-4cb2-995a-666ed2393a6f', 'name': '', 'tenant_id': '17ab0e5b166a43a5bdff18dd6c563dc3', 'network_id': 'ce972251-d687-4fc0-a2a1-bdd3335eed68', 'ip_version': 4, 'cidr': '197.250.241.64/26', 'allocation_pools': [{'start': '197.250.241.66', 'end': '197.250.241.126'}], 'gateway_ip': '197.250.241.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.250.241.66', 'tags': [], 'project_id': '17ab0e5b166a43a5bdff18dd6c563dc3'}} 2026-02-10 15:13:16,301 - INFO - Created VN ctest-vn-96979023 2026-02-10 15:13:16,363 - DEBUG - VN ctest-vn-96979023 UUID is ce972251-d687-4fc0-a2a1-bdd3335eed68 2026-02-10 15:13:16,781 - DEBUG - Response for create_network : {'network': {'id': '74872e08-6d92-4667-99ca-44f3e950de09', 'name': 'ctest-vn-91849757', 'tenant_id': '17ab0e5b166a43a5bdff18dd6c563dc3', 'project_id': '17ab0e5b166a43a5bdff18dd6c563dc3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00823261', 'ctest-vn-91849757'], 'port_security_enabled': True, 'description': ''}} 2026-02-10 15:13:16,987 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b0bbef33-4f60-4332-848a-685f9d7100d3', 'name': '', 'tenant_id': '17ab0e5b166a43a5bdff18dd6c563dc3', 'network_id': '74872e08-6d92-4667-99ca-44f3e950de09', 'ip_version': 4, 'cidr': '101.107.121.128/26', 'allocation_pools': [{'start': '101.107.121.130', 'end': '101.107.121.190'}], 'gateway_ip': '101.107.121.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '101.107.121.130', 'tags': [], 'project_id': '17ab0e5b166a43a5bdff18dd6c563dc3'}} 2026-02-10 15:13:17,011 - INFO - Created VN ctest-vn-91849757 2026-02-10 15:13:17,066 - DEBUG - VN ctest-vn-91849757 UUID is 74872e08-6d92-4667-99ca-44f3e950de09 2026-02-10 15:13:17,267 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-00823261:ctest-vn-96979023, 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-00823261:ctest-vn-91849757, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2026-02-10 15:13:17,744 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ce972251-d687-4fc0-a2a1-bdd3335eed68', 'name': 'ctest-vn-96979023', 'tenant_id': '17ab0e5b166a43a5bdff18dd6c563dc3', 'project_id': '17ab0e5b166a43a5bdff18dd6c563dc3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d6789c6d-ccbb-4cb2-995a-666ed2393a6f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00823261', 'ctest-vn-96979023'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00823261', 'ctest-policy-allow-all-61559305']], 'subnet_ipam': [{'subnet_cidr': '197.250.241.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-10 15:13:18,151 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '74872e08-6d92-4667-99ca-44f3e950de09', 'name': 'ctest-vn-91849757', 'tenant_id': '17ab0e5b166a43a5bdff18dd6c563dc3', 'project_id': '17ab0e5b166a43a5bdff18dd6c563dc3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b0bbef33-4f60-4332-848a-685f9d7100d3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00823261', 'ctest-vn-91849757'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00823261', 'ctest-policy-allow-all-61559305']], 'subnet_ipam': [{'subnet_cidr': '101.107.121.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-10 15:13:18,314 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-02-10 15:13:18,624 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-02-10 15:13:18,665 - DEBUG - Requesting: http://10.0.0.33:8082/domain/1cedc77e-92f8-4759-9059-9ef38beabb66 2026-02-10 15:13:18,692 - DEBUG - Requesting: http://10.0.0.33:8082/project/17ab0e5b-166a-43a5-bdff-18dd6c563dc3 2026-02-10 15:13:18,784 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ce972251-d687-4fc0-a2a1-bdd3335eed68 2026-02-10 15:13:18,799 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ce972251-d687-4fc0-a2a1-bdd3335eed68 2026-02-10 15:13:18,820 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/6c6eea18-1488-4cb7-9e52-33546cff55d9 2026-02-10 15:13:18,837 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/6c6eea18-1488-4cb7-9e52-33546cff55d9 2026-02-10 15:13:18,850 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/cb815f67-f5a4-4dad-b9ce-f8397f4c6d9d 2026-02-10 15:13:18,861 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-10 15:13:18,861 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ce972251-d687-4fc0-a2a1-bdd3335eed68 2026-02-10 15:13:18,878 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/6c6eea18-1488-4cb7-9e52-33546cff55d9 2026-02-10 15:13:18,899 - INFO - Verified VN network id 11 for VN ce972251-d687-4fc0-a2a1-bdd3335eed68 2026-02-10 15:13:18,899 - INFO - Verifications in API Server for VN ctest-vn-96979023 passed 2026-02-10 15:13:18,899 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ce972251-d687-4fc0-a2a1-bdd3335eed68 2026-02-10 15:13:18,915 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/6c6eea18-1488-4cb7-9e52-33546cff55d9 2026-02-10 15:13:18,925 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/6c6eea18-1488-4cb7-9e52-33546cff55d9 2026-02-10 15:13:18,939 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/cb815f67-f5a4-4dad-b9ce-f8397f4c6d9d 2026-02-10 15:13:18,953 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00823261:ctest-vn-96979023', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00823261', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14886404828183351232', 'uuid-lslong': '11718856420192349544'}, 'enable': 'true', 'created': '2026-02-10T15:13:16', 'last-modified': '2026-02-10T15:13:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.267844'} 2026-02-10 15:13:18,961 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-10 15:13:18,961 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96979023 passed 2026-02-10 15:13:18,962 - DEBUG - ====Verifying policy data for ctest-vn-96979023 in API_Server ====== 2026-02-10 15:13:18,962 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-02-10 15:13:18,970 - DEBUG - Requesting: http://10.0.0.33:8082/domain/1cedc77e-92f8-4759-9059-9ef38beabb66 2026-02-10 15:13:18,983 - DEBUG - Requesting: http://10.0.0.33:8082/project/17ab0e5b-166a-43a5-bdff-18dd6c563dc3 2026-02-10 15:13:19,060 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ce972251-d687-4fc0-a2a1-bdd3335eed68 2026-02-10 15:13:19,073 - DEBUG - ==>Verifying data for policy with id: 0a2d4256-f921-48aa-bcf2-34d1f4e4795f, fqn: ['default-domain', 'ctest-TestBasicPolicy-00823261', 'ctest-policy-allow-all-61559305'] 2026-02-10 15:13:19,073 - INFO - VN ctest-vn-96979023 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-10 15:13:19,073 - DEBUG - Verifying the vn in opserver 2026-02-10 15:13:19,074 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00823261:ctest-vn-96979023 virtual network link through opserver 10.0.0.33 2026-02-10 15:13:19,074 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-02-10 15:13:19,376 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-02-10 15:13:19,457 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00823261:ctest-vn-96979023', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00823261:ctest-vn-96979023?flat'} 2026-02-10 15:13:19,457 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00823261:ctest-vn-96979023 is found in opserver 2026-02-10 15:13:19,468 - DEBUG - Do not have enough data to verify VN in agent 2026-02-10 15:13:19,475 - DEBUG - VRF ids for VN ctest-vn-96979023: {} 2026-02-10 15:13:19,475 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-02-10 15:13:19,483 - DEBUG - Requesting: http://10.0.0.33:8082/domain/1cedc77e-92f8-4759-9059-9ef38beabb66 2026-02-10 15:13:19,497 - DEBUG - Requesting: http://10.0.0.33:8082/project/17ab0e5b-166a-43a5-bdff-18dd6c563dc3 2026-02-10 15:13:19,581 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/74872e08-6d92-4667-99ca-44f3e950de09 2026-02-10 15:13:19,597 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/74872e08-6d92-4667-99ca-44f3e950de09 2026-02-10 15:13:19,610 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/96f5e348-abb7-43dd-8459-57008c23d10c 2026-02-10 15:13:19,619 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/96f5e348-abb7-43dd-8459-57008c23d10c 2026-02-10 15:13:19,629 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/95fca97c-df4c-420e-af7e-488fc4ea6d62 2026-02-10 15:13:19,636 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-10 15:13:19,636 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/74872e08-6d92-4667-99ca-44f3e950de09 2026-02-10 15:13:19,647 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/96f5e348-abb7-43dd-8459-57008c23d10c 2026-02-10 15:13:19,663 - INFO - Verified VN network id 12 for VN 74872e08-6d92-4667-99ca-44f3e950de09 2026-02-10 15:13:19,663 - INFO - Verifications in API Server for VN ctest-vn-91849757 passed 2026-02-10 15:13:19,663 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/74872e08-6d92-4667-99ca-44f3e950de09 2026-02-10 15:13:19,674 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/96f5e348-abb7-43dd-8459-57008c23d10c 2026-02-10 15:13:19,685 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/96f5e348-abb7-43dd-8459-57008c23d10c 2026-02-10 15:13:19,693 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/95fca97c-df4c-420e-af7e-488fc4ea6d62 2026-02-10 15:13:19,706 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00823261:ctest-vn-91849757', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00823261', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8396730643988498023', 'uuid-lslong': '11081745647480659465'}, 'enable': 'true', 'created': '2026-02-10T15:13:16', 'last-modified': '2026-02-10T15:13:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.652279'} 2026-02-10 15:13:19,714 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-10 15:13:19,714 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-91849757 passed 2026-02-10 15:13:19,714 - DEBUG - ====Verifying policy data for ctest-vn-91849757 in API_Server ====== 2026-02-10 15:13:19,714 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-02-10 15:13:19,720 - DEBUG - Requesting: http://10.0.0.33:8082/domain/1cedc77e-92f8-4759-9059-9ef38beabb66 2026-02-10 15:13:19,733 - DEBUG - Requesting: http://10.0.0.33:8082/project/17ab0e5b-166a-43a5-bdff-18dd6c563dc3 2026-02-10 15:13:19,817 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/74872e08-6d92-4667-99ca-44f3e950de09 2026-02-10 15:13:19,839 - DEBUG - ==>Verifying data for policy with id: 0a2d4256-f921-48aa-bcf2-34d1f4e4795f, fqn: ['default-domain', 'ctest-TestBasicPolicy-00823261', 'ctest-policy-allow-all-61559305'] 2026-02-10 15:13:19,839 - INFO - VN ctest-vn-91849757 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-10 15:13:19,839 - DEBUG - Verifying the vn in opserver 2026-02-10 15:13:19,839 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00823261:ctest-vn-91849757 virtual network link through opserver 10.0.0.33 2026-02-10 15:13:19,839 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-02-10 15:13:19,851 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00823261:ctest-vn-91849757', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00823261:ctest-vn-91849757?flat'} 2026-02-10 15:13:19,851 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00823261:ctest-vn-91849757 is found in opserver 2026-02-10 15:13:19,864 - DEBUG - Do not have enough data to verify VN in agent 2026-02-10 15:13:19,871 - DEBUG - VRF ids for VN ctest-vn-91849757: {} 2026-02-10 15:13:19,944 - DEBUG - Services list from nova: [, , ] 2026-02-10 15:13:21,079 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5272-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5272-1) 2026-02-10 15:13:22,446 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5272-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5272-1) 2026-02-10 15:13:22,446 - INFO - Waiting for VM ctest-TestBasicPolicy-00823261-78089070 to be up.. 2026-02-10 15:13:22,529 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-10 15:13:27,719 - DEBUG - VM is in ACTIVE state now 2026-02-10 15:13:27,719 - INFO - VM name : ctest-TestBasicPolicy-00823261-78089070 2026-02-10 15:13:27,845 - DEBUG - VM ctest-TestBasicPolicy-00823261-78089070 ID is fc44671d-2f8f-4663-8eab-c502958961c4 2026-02-10 15:13:27,879 - DEBUG - VM ctest-TestBasicPolicy-00823261-78089070 launched on Node cn-jenkins-deploy-platform-ansible-os-5272-1 2026-02-10 15:13:27,997 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/fc44671d-2f8f-4663-8eab-c502958961c4 2026-02-10 15:13:28,013 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/173c536e-74c7-4dfe-90d4-4d3c8d9f8ba6 2026-02-10 15:13:31,328 - 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 1012ms') 2026-02-10 15:13:31,328 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-00823261-78089070 failed! 2026-02-10 15:13:31,386 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-00823261:ctest-vn-96979023 is 197.250.241.65 and allocation pool is NOT set 2026-02-10 15:13:33,466 - 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=9.32 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.62 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.619/5.967/9.315/3.348 ms') 2026-02-10 15:13:33,466 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-00823261-78089070 passed 2026-02-10 15:13:33,647 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-10 15:13:33,647 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00823261-78089070, IP 197.250.241.67, Port 22 2026-02-10 15:13:33,729 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-02-10 15:13:33,859 - DEBUG - VM ctest-TestBasicPolicy-00823261-78089070 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-10 15:13:38,860 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-10 15:13:38,860 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00823261-78089070, IP 197.250.241.67, Port 22 2026-02-10 15:13:39,055 - DEBUG - VM ctest-TestBasicPolicy-00823261-78089070 is ready for SSH connections 2026-02-10 15:13:39,056 - INFO - Waiting for VM ctest-TestBasicPolicy-00823261-20732498 to be up.. 2026-02-10 15:13:39,229 - DEBUG - VM is in ACTIVE state now 2026-02-10 15:13:39,229 - INFO - VM name : ctest-TestBasicPolicy-00823261-20732498 2026-02-10 15:13:39,355 - DEBUG - VM ctest-TestBasicPolicy-00823261-20732498 ID is 5c93babd-6989-402b-a2a9-cf61f0820def 2026-02-10 15:13:39,355 - DEBUG - VM ctest-TestBasicPolicy-00823261-20732498 launched on Node cn-jenkins-deploy-platform-ansible-os-5272-1 2026-02-10 15:13:39,512 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/5c93babd-6989-402b-a2a9-cf61f0820def 2026-02-10 15:13:39,529 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/ff10c085-49d4-4e25-85ac-4944147d877c 2026-02-10 15:13:40,837 - 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=9.56 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.781 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.781/5.172/9.564/4.391 ms') 2026-02-10 15:13:40,837 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-00823261-20732498 passed 2026-02-10 15:13:41,023 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-10 15:13:41,023 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00823261-20732498, IP 101.107.121.131, Port 22 2026-02-10 15:13:41,227 - DEBUG - VM ctest-TestBasicPolicy-00823261-20732498 is ready for SSH connections 2026-02-10 15:13:41,228 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-10 15:13:41,228 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 101.107.121.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-02-10 15:13:41,228 - DEBUG - ping -s 56 -c 3 -W 1 101.107.121.131 2026-02-10 15:13:45,743 - DEBUG - PING 101.107.121.131 (101.107.121.131): 56 data bytes 64 bytes from 101.107.121.131: seq=0 ttl=63 time=8.546 ms 64 bytes from 101.107.121.131: seq=1 ttl=63 time=1.972 ms 64 bytes from 101.107.121.131: seq=2 ttl=63 time=1.791 ms --- 101.107.121.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.791/4.103/8.546 ms 2026-02-10 15:13:45,743 - INFO - Ping to IP 101.107.121.131 from VM ctest-TestBasicPolicy-00823261-78089070 passed 2026-02-10 15:13:45,934 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0a2d4256-f921-48aa-bcf2-34d1f4e4795f", "href": "http://10.0.0.33:8082/network-policy/0a2d4256-f921-48aa-bcf2-34d1f4e4795f"}} 2026-02-10 15:13:45,934 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-10 15:13:45,934 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 101.107.121.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-02-10 15:13:45,934 - DEBUG - ping -s 56 -c 3 -W 1 101.107.121.131 2026-02-10 15:13:49,216 - DEBUG - PING 101.107.121.131 (101.107.121.131): 56 data bytes --- 101.107.121.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-10 15:13:49,216 - WARNING - Ping to IP 101.107.121.131 from VM ctest-TestBasicPolicy-00823261-78089070 failed 2026-02-10 15:13:49,216 - INFO - Deleting VM ctest-TestBasicPolicy-00823261-20732498 2026-02-10 15:13:49,469 - INFO - Deleting VM ctest-TestBasicPolicy-00823261-78089070 2026-02-10 15:13:49,999 - INFO - Deleted policy ctest-policy-allow-all-61559305 2026-02-10 15:13:49,999 - INFO - Deleting VN ctest-vn-91849757 2026-02-10 15:13:50,038 - DEBUG - VN 74872e08-6d92-4667-99ca-44f3e950de09 still in use: Unable to complete operation on network 74872e08-6d92-4667-99ca-44f3e950de09. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d34d21d0-d335-41ab-9c3a-67fd73df982a'] 2026-02-10 15:13:50,038 - WARNING - Deleting VN ctest-vn-91849757 failed..Will retry 2026-02-10 15:13:52,188 - DEBUG - Response for deleting network () 2026-02-10 15:13:52,188 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/96f5e348-abb7-43dd-8459-57008c23d10c 2026-02-10 15:13:52,193 - DEBUG - Response Code: 404 2026-02-10 15:13:52,194 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-02-10 15:13:52,205 - DEBUG - Requesting: http://10.0.0.33:8082/domain/1cedc77e-92f8-4759-9059-9ef38beabb66 2026-02-10 15:13:52,262 - DEBUG - Requesting: http://10.0.0.33:8082/project/17ab0e5b-166a-43a5-bdff-18dd6c563dc3 2026-02-10 15:13:52,342 - INFO - Validated that VN ctest-vn-91849757 is not found in API Server 2026-02-10 15:13:52,354 - DEBUG - VN ctest-vn-91849757 is not present in Agent 10.0.0.33 2026-02-10 15:13:52,354 - INFO - Validated that VN ctest-vn-91849757 is not in any agent 2026-02-10 15:13:52,372 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-91849757 info 2026-02-10 15:13:52,372 - INFO - Deleting VN ctest-vn-96979023 2026-02-10 15:13:52,505 - DEBUG - Response for deleting network () 2026-02-10 15:13:52,505 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/6c6eea18-1488-4cb7-9e52-33546cff55d9 2026-02-10 15:13:52,514 - DEBUG - Response Code: 404 2026-02-10 15:13:52,514 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-02-10 15:13:52,520 - DEBUG - Requesting: http://10.0.0.33:8082/domain/1cedc77e-92f8-4759-9059-9ef38beabb66 2026-02-10 15:13:52,574 - DEBUG - Requesting: http://10.0.0.33:8082/project/17ab0e5b-166a-43a5-bdff-18dd6c563dc3 2026-02-10 15:13:52,656 - INFO - Validated that VN ctest-vn-96979023 is not found in API Server 2026-02-10 15:13:52,671 - DEBUG - VN ctest-vn-96979023 is not present in Agent 10.0.0.33 2026-02-10 15:13:52,671 - INFO - Validated that VN ctest-vn-96979023 is not in any agent 2026-02-10 15:13:52,694 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-96979023 info 2026-02-10 15:13:52,989 - DEBUG - No XMPP flaps were noticed during the test
2026-02-10 15:13:52,989 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:37]
2026-02-10 15:13:52,989 - INFO - -------------------------------------------------------------------------------- 2026-02-10 15:13:53,855 - INFO - Deleted project: ctest-TestBasicPolicy-00823261, ID : 17ab0e5b-166a-43a5-bdff-18dd6c563dc3