2025-12-01 02:06:22,584 - INFO - Domain Default found not creating 2025-12-01 02:06:22,752 - INFO - Project ctest-TestBasicPolicy-08415725 not found, creating it 2025-12-01 02:06:23,203 - INFO - Created Project:ctest-TestBasicPolicy-08415725, ID : c34cb80b-e85a-491d-9e9a-6f7fc2889ebf 2025-12-01 02:06:24,736 - INFO - ================================================================================ 2025-12-01 02:06:24,736 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-01 02:06:24,736 - 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 2025-12-01 02:06:25,001 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with 2025-12-01 02:06:25,001 - INFO - Initial checks done. Running the testcase now 2025-12-01 02:06:25,001 - INFO - 2025-12-01 02:06:25,563 - DEBUG - Response for create_network : {'network': {'id': '7a8f98c4-426d-4843-ac17-d3a342463020', 'name': 'ctest-vn-24473139', 'tenant_id': 'c34cb80be85a491d9e9a6f7fc2889ebf', 'project_id': 'c34cb80be85a491d9e9a6f7fc2889ebf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08415725', 'ctest-vn-24473139'], 'port_security_enabled': True, 'description': ''}} 2025-12-01 02:06:25,771 - DEBUG - Response for create_subnet : {'subnet': {'id': '71becb5a-e925-446a-8412-f3862db19ea6', 'name': '', 'tenant_id': 'c34cb80be85a491d9e9a6f7fc2889ebf', 'network_id': '7a8f98c4-426d-4843-ac17-d3a342463020', 'ip_version': 4, 'cidr': '66.69.163.64/26', 'allocation_pools': [{'start': '66.69.163.66', 'end': '66.69.163.126'}], 'gateway_ip': '66.69.163.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.69.163.66', 'tags': [], 'project_id': 'c34cb80be85a491d9e9a6f7fc2889ebf'}} 2025-12-01 02:06:25,787 - INFO - Created VN ctest-vn-24473139 2025-12-01 02:06:25,837 - DEBUG - VN ctest-vn-24473139 UUID is 7a8f98c4-426d-4843-ac17-d3a342463020 2025-12-01 02:06:26,163 - DEBUG - Response for create_network : {'network': {'id': '65022923-7f98-4cde-beb3-8e1d905cb307', 'name': 'ctest-vn-62186392', 'tenant_id': 'c34cb80be85a491d9e9a6f7fc2889ebf', 'project_id': 'c34cb80be85a491d9e9a6f7fc2889ebf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08415725', 'ctest-vn-62186392'], 'port_security_enabled': True, 'description': ''}} 2025-12-01 02:06:26,353 - DEBUG - Response for create_subnet : {'subnet': {'id': '481f0bc3-c9d1-4a65-a52d-f46832139487', 'name': '', 'tenant_id': 'c34cb80be85a491d9e9a6f7fc2889ebf', 'network_id': '65022923-7f98-4cde-beb3-8e1d905cb307', 'ip_version': 4, 'cidr': '30.175.207.128/26', 'allocation_pools': [{'start': '30.175.207.130', 'end': '30.175.207.190'}], 'gateway_ip': '30.175.207.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.175.207.130', 'tags': [], 'project_id': 'c34cb80be85a491d9e9a6f7fc2889ebf'}} 2025-12-01 02:06:26,370 - INFO - Created VN ctest-vn-62186392 2025-12-01 02:06:26,429 - DEBUG - VN ctest-vn-62186392 UUID is 65022923-7f98-4cde-beb3-8e1d905cb307 2025-12-01 02:06:26,577 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-08415725:ctest-vn-24473139, 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-08415725:ctest-vn-62186392, 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] 2025-12-01 02:06:26,862 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7a8f98c4-426d-4843-ac17-d3a342463020', 'name': 'ctest-vn-24473139', 'tenant_id': 'c34cb80be85a491d9e9a6f7fc2889ebf', 'project_id': 'c34cb80be85a491d9e9a6f7fc2889ebf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['71becb5a-e925-446a-8412-f3862db19ea6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08415725', 'ctest-vn-24473139'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-08415725', 'ctest-policy-allow-all-03468514']], 'subnet_ipam': [{'subnet_cidr': '66.69.163.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-01 02:06:27,127 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '65022923-7f98-4cde-beb3-8e1d905cb307', 'name': 'ctest-vn-62186392', 'tenant_id': 'c34cb80be85a491d9e9a6f7fc2889ebf', 'project_id': 'c34cb80be85a491d9e9a6f7fc2889ebf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['481f0bc3-c9d1-4a65-a52d-f46832139487'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08415725', 'ctest-vn-62186392'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-08415725', 'ctest-policy-allow-all-03468514']], 'subnet_ipam': [{'subnet_cidr': '30.175.207.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-01 02:06:27,273 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-12-01 02:06:27,567 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-12-01 02:06:27,596 - DEBUG - Requesting: http://10.0.0.19:8082/domain/cb29309f-860f-49bf-a2e1-481fa9c348c7 2025-12-01 02:06:27,607 - DEBUG - Requesting: http://10.0.0.19:8082/project/c34cb80b-e85a-491d-9e9a-6f7fc2889ebf 2025-12-01 02:06:27,681 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/7a8f98c4-426d-4843-ac17-d3a342463020 2025-12-01 02:06:27,691 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/7a8f98c4-426d-4843-ac17-d3a342463020 2025-12-01 02:06:27,699 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/f15db313-a010-4d1e-b122-6f8b5fb0818b 2025-12-01 02:06:27,706 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/f15db313-a010-4d1e-b122-6f8b5fb0818b 2025-12-01 02:06:27,712 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/ba03a577-3380-4252-81ef-1ec4fcbb2a49 2025-12-01 02:06:27,719 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-01 02:06:27,719 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/7a8f98c4-426d-4843-ac17-d3a342463020 2025-12-01 02:06:27,727 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/f15db313-a010-4d1e-b122-6f8b5fb0818b 2025-12-01 02:06:27,741 - INFO - Verified VN network id 11 for VN 7a8f98c4-426d-4843-ac17-d3a342463020 2025-12-01 02:06:27,741 - INFO - Verifications in API Server for VN ctest-vn-24473139 passed 2025-12-01 02:06:27,741 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/7a8f98c4-426d-4843-ac17-d3a342463020 2025-12-01 02:06:27,749 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/f15db313-a010-4d1e-b122-6f8b5fb0818b 2025-12-01 02:06:27,756 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/f15db313-a010-4d1e-b122-6f8b5fb0818b 2025-12-01 02:06:27,762 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/ba03a577-3380-4252-81ef-1ec4fcbb2a49 2025-12-01 02:06:27,772 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-08415725:ctest-vn-24473139', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-08415725', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8831445362992302147', 'uuid-lslong': '12400612797132976160'}, 'enable': 'true', 'created': '2025-12-01T02:06:25', 'last-modified': '2025-12-01T02:06:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.932097'} 2025-12-01 02:06:27,778 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-01 02:06:27,778 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-24473139 passed 2025-12-01 02:06:27,778 - DEBUG - ====Verifying policy data for ctest-vn-24473139 in API_Server ====== 2025-12-01 02:06:27,779 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-12-01 02:06:27,784 - DEBUG - Requesting: http://10.0.0.19:8082/domain/cb29309f-860f-49bf-a2e1-481fa9c348c7 2025-12-01 02:06:27,794 - DEBUG - Requesting: http://10.0.0.19:8082/project/c34cb80b-e85a-491d-9e9a-6f7fc2889ebf 2025-12-01 02:06:27,858 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/7a8f98c4-426d-4843-ac17-d3a342463020 2025-12-01 02:06:27,867 - DEBUG - ==>Verifying data for policy with id: ebfba797-e4a1-4688-9e82-c8546a98c30e, fqn: ['default-domain', 'ctest-TestBasicPolicy-08415725', 'ctest-policy-allow-all-03468514'] 2025-12-01 02:06:27,867 - INFO - VN ctest-vn-24473139 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-01 02:06:27,867 - DEBUG - Verifying the vn in opserver 2025-12-01 02:06:27,867 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-08415725:ctest-vn-24473139 virtual network link through opserver 10.0.0.19 2025-12-01 02:06:27,867 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-12-01 02:06:28,157 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-12-01 02:06:28,216 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-08415725:ctest-vn-24473139', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-08415725:ctest-vn-24473139?flat'} 2025-12-01 02:06:28,216 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-08415725:ctest-vn-24473139 is found in opserver 2025-12-01 02:06:28,226 - DEBUG - Do not have enough data to verify VN in agent 2025-12-01 02:06:28,231 - DEBUG - VRF ids for VN ctest-vn-24473139: {} 2025-12-01 02:06:28,231 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-12-01 02:06:28,236 - DEBUG - Requesting: http://10.0.0.19:8082/domain/cb29309f-860f-49bf-a2e1-481fa9c348c7 2025-12-01 02:06:28,245 - DEBUG - Requesting: http://10.0.0.19:8082/project/c34cb80b-e85a-491d-9e9a-6f7fc2889ebf 2025-12-01 02:06:28,314 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/65022923-7f98-4cde-beb3-8e1d905cb307 2025-12-01 02:06:28,324 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/65022923-7f98-4cde-beb3-8e1d905cb307 2025-12-01 02:06:28,332 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/29c6f476-5b92-460b-8988-1da5807b1486 2025-12-01 02:06:28,339 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/29c6f476-5b92-460b-8988-1da5807b1486 2025-12-01 02:06:28,345 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/7ef93b5a-892f-4967-bbc6-0fd186ffe953 2025-12-01 02:06:28,351 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-01 02:06:28,351 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/65022923-7f98-4cde-beb3-8e1d905cb307 2025-12-01 02:06:28,359 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/29c6f476-5b92-460b-8988-1da5807b1486 2025-12-01 02:06:28,373 - INFO - Verified VN network id 12 for VN 65022923-7f98-4cde-beb3-8e1d905cb307 2025-12-01 02:06:28,373 - INFO - Verifications in API Server for VN ctest-vn-62186392 passed 2025-12-01 02:06:28,373 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/65022923-7f98-4cde-beb3-8e1d905cb307 2025-12-01 02:06:28,381 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/29c6f476-5b92-460b-8988-1da5807b1486 2025-12-01 02:06:28,388 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/29c6f476-5b92-460b-8988-1da5807b1486 2025-12-01 02:06:28,393 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/7ef93b5a-892f-4967-bbc6-0fd186ffe953 2025-12-01 02:06:28,404 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-08415725:ctest-vn-62186392', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-08415725', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7278425180225424606', 'uuid-lslong': '13741483145664705287'}, 'enable': 'true', 'created': '2025-12-01T02:06:26', 'last-modified': '2025-12-01T02:06:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.344645'} 2025-12-01 02:06:28,409 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-01 02:06:28,409 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-62186392 passed 2025-12-01 02:06:28,409 - DEBUG - ====Verifying policy data for ctest-vn-62186392 in API_Server ====== 2025-12-01 02:06:28,409 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-12-01 02:06:28,414 - DEBUG - Requesting: http://10.0.0.19:8082/domain/cb29309f-860f-49bf-a2e1-481fa9c348c7 2025-12-01 02:06:28,423 - DEBUG - Requesting: http://10.0.0.19:8082/project/c34cb80b-e85a-491d-9e9a-6f7fc2889ebf 2025-12-01 02:06:28,491 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/65022923-7f98-4cde-beb3-8e1d905cb307 2025-12-01 02:06:28,499 - DEBUG - ==>Verifying data for policy with id: ebfba797-e4a1-4688-9e82-c8546a98c30e, fqn: ['default-domain', 'ctest-TestBasicPolicy-08415725', 'ctest-policy-allow-all-03468514'] 2025-12-01 02:06:28,499 - INFO - VN ctest-vn-62186392 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-01 02:06:28,499 - DEBUG - Verifying the vn in opserver 2025-12-01 02:06:28,499 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-08415725:ctest-vn-62186392 virtual network link through opserver 10.0.0.19 2025-12-01 02:06:28,499 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-12-01 02:06:28,508 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-08415725:ctest-vn-62186392', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-08415725:ctest-vn-62186392?flat'} 2025-12-01 02:06:28,508 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-08415725:ctest-vn-62186392 is found in opserver 2025-12-01 02:06:28,516 - DEBUG - Do not have enough data to verify VN in agent 2025-12-01 02:06:28,519 - DEBUG - VRF ids for VN ctest-vn-62186392: {} 2025-12-01 02:06:28,571 - DEBUG - Services list from nova: [, , ] 2025-12-01 02:06:29,607 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4824-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4824-1) 2025-12-01 02:06:30,753 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4824-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4824-1) 2025-12-01 02:06:30,753 - INFO - Waiting for VM ctest-TestBasicPolicy-08415725-97355068 to be up.. 2025-12-01 02:06:30,825 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-01 02:06:35,899 - DEBUG - VM is in ACTIVE state now 2025-12-01 02:06:35,899 - INFO - VM name : ctest-TestBasicPolicy-08415725-97355068 2025-12-01 02:06:35,974 - DEBUG - VM ctest-TestBasicPolicy-08415725-97355068 ID is 0f0897c7-676c-443d-8f5b-2e79bb7f7804 2025-12-01 02:06:35,996 - DEBUG - VM ctest-TestBasicPolicy-08415725-97355068 launched on Node cn-jenkins-deploy-platform-ansible-os-4824-1 2025-12-01 02:06:36,068 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/0f0897c7-676c-443d-8f5b-2e79bb7f7804 2025-12-01 02:06:36,075 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/2e2259f9-594e-4227-95c7-898d6c564578 2025-12-01 02:06:39,326 - 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 1019ms') 2025-12-01 02:06:39,326 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-08415725-97355068 failed! 2025-12-01 02:06:39,381 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-08415725:ctest-vn-24473139 is 66.69.163.65 and allocation pool is NOT set 2025-12-01 02:06:41,441 - 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=3.02 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.35 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.352/2.687/3.023/0.335 ms') 2025-12-01 02:06:41,441 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-08415725-97355068 passed 2025-12-01 02:06:41,593 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 02:06:41,593 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-08415725-97355068, IP 66.69.163.67, Port 22 2025-12-01 02:06:41,660 - 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': ''} 2025-12-01 02:06:41,740 - DEBUG - VM ctest-TestBasicPolicy-08415725-97355068 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-01 02:06:46,740 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 02:06:46,740 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-08415725-97355068, IP 66.69.163.67, Port 22 2025-12-01 02:06:46,896 - DEBUG - VM ctest-TestBasicPolicy-08415725-97355068 is ready for SSH connections 2025-12-01 02:06:46,897 - INFO - Waiting for VM ctest-TestBasicPolicy-08415725-89343499 to be up.. 2025-12-01 02:06:46,977 - DEBUG - VM is in ACTIVE state now 2025-12-01 02:06:46,977 - INFO - VM name : ctest-TestBasicPolicy-08415725-89343499 2025-12-01 02:06:47,047 - DEBUG - VM ctest-TestBasicPolicy-08415725-89343499 ID is fd116ed7-342a-4b50-983f-92803b713c31 2025-12-01 02:06:47,047 - DEBUG - VM ctest-TestBasicPolicy-08415725-89343499 launched on Node cn-jenkins-deploy-platform-ansible-os-4824-1 2025-12-01 02:06:47,116 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/fd116ed7-342a-4b50-983f-92803b713c31 2025-12-01 02:06:47,125 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/2070c332-eea0-4e2b-befb-708ca7881cde 2025-12-01 02:06:48,361 - 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=2.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.441 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.441/1.587/2.733/1.146 ms') 2025-12-01 02:06:48,361 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-08415725-89343499 passed 2025-12-01 02:06:48,509 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 02:06:48,509 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-08415725-89343499, IP 30.175.207.131, Port 22 2025-12-01 02:06:48,684 - DEBUG - VM ctest-TestBasicPolicy-08415725-89343499 is ready for SSH connections 2025-12-01 02:06:48,684 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 02:06:48,684 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 30.175.207.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-12-01 02:06:48,684 - DEBUG - ping -s 56 -c 3 -W 1 30.175.207.131 2025-12-01 02:06:52,678 - DEBUG - PING 30.175.207.131 (30.175.207.131): 56 data bytes 64 bytes from 30.175.207.131: seq=0 ttl=63 time=3.432 ms 64 bytes from 30.175.207.131: seq=1 ttl=63 time=1.156 ms 64 bytes from 30.175.207.131: seq=2 ttl=63 time=1.127 ms --- 30.175.207.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.127/1.905/3.432 ms 2025-12-01 02:06:52,678 - INFO - Ping to IP 30.175.207.131 from VM ctest-TestBasicPolicy-08415725-97355068 passed 2025-12-01 02:06:52,857 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ebfba797-e4a1-4688-9e82-c8546a98c30e", "href": "http://10.0.0.19:8082/network-policy/ebfba797-e4a1-4688-9e82-c8546a98c30e"}} 2025-12-01 02:06:52,857 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 02:06:52,857 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 30.175.207.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-12-01 02:06:52,857 - DEBUG - ping -s 56 -c 3 -W 1 30.175.207.131 2025-12-01 02:06:56,058 - DEBUG - PING 30.175.207.131 (30.175.207.131): 56 data bytes --- 30.175.207.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-01 02:06:56,059 - WARNING - Ping to IP 30.175.207.131 from VM ctest-TestBasicPolicy-08415725-97355068 failed 2025-12-01 02:06:56,059 - INFO - Deleting VM ctest-TestBasicPolicy-08415725-89343499 2025-12-01 02:06:56,124 - INFO - Deleting VM ctest-TestBasicPolicy-08415725-97355068 2025-12-01 02:06:56,501 - INFO - Deleted policy ctest-policy-allow-all-03468514 2025-12-01 02:06:56,501 - INFO - Deleting VN ctest-vn-62186392 2025-12-01 02:06:56,530 - DEBUG - VN 65022923-7f98-4cde-beb3-8e1d905cb307 still in use: Unable to complete operation on network 65022923-7f98-4cde-beb3-8e1d905cb307. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-10482c91-fe45-4642-8825-b8be0c1f833e'] 2025-12-01 02:06:56,530 - WARNING - Deleting VN ctest-vn-62186392 failed..Will retry 2025-12-01 02:06:58,622 - DEBUG - Response for deleting network () 2025-12-01 02:06:58,623 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/29c6f476-5b92-460b-8988-1da5807b1486 2025-12-01 02:06:58,631 - DEBUG - Response Code: 404 2025-12-01 02:06:58,631 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-12-01 02:06:58,636 - DEBUG - Requesting: http://10.0.0.19:8082/domain/cb29309f-860f-49bf-a2e1-481fa9c348c7 2025-12-01 02:06:58,690 - DEBUG - Requesting: http://10.0.0.19:8082/project/c34cb80b-e85a-491d-9e9a-6f7fc2889ebf 2025-12-01 02:06:58,761 - INFO - Validated that VN ctest-vn-62186392 is not found in API Server 2025-12-01 02:06:58,770 - DEBUG - VN ctest-vn-62186392 is not present in Agent 10.0.0.19 2025-12-01 02:06:58,770 - INFO - Validated that VN ctest-vn-62186392 is not in any agent 2025-12-01 02:06:58,783 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-62186392 info 2025-12-01 02:06:58,783 - INFO - Deleting VN ctest-vn-24473139 2025-12-01 02:06:58,886 - DEBUG - Response for deleting network () 2025-12-01 02:06:58,887 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/f15db313-a010-4d1e-b122-6f8b5fb0818b 2025-12-01 02:06:58,892 - DEBUG - Response Code: 404 2025-12-01 02:06:58,892 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-12-01 02:06:58,897 - DEBUG - Requesting: http://10.0.0.19:8082/domain/cb29309f-860f-49bf-a2e1-481fa9c348c7 2025-12-01 02:06:58,954 - DEBUG - Requesting: http://10.0.0.19:8082/project/c34cb80b-e85a-491d-9e9a-6f7fc2889ebf 2025-12-01 02:06:59,051 - INFO - Validated that VN ctest-vn-24473139 is not found in API Server 2025-12-01 02:06:59,059 - DEBUG - VN ctest-vn-24473139 is not present in Agent 10.0.0.19 2025-12-01 02:06:59,059 - INFO - Validated that VN ctest-vn-24473139 is not in any agent 2025-12-01 02:06:59,072 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-24473139 info 2025-12-01 02:06:59,328 - DEBUG - No XMPP flaps were noticed during the test 2025-12-01 02:06:59,328 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2025-12-01 02:06:59,328 - INFO - -------------------------------------------------------------------------------- 2025-12-01 02:07:00,020 - INFO - Deleted project: ctest-TestBasicPolicy-08415725, ID : c34cb80b-e85a-491d-9e9a-6f7fc2889ebf