2025-11-27 08:28:02,671 - INFO - Domain Default found not creating 2025-11-27 08:28:02,856 - INFO - Project ctest-TestBasicPolicy-26790554 not found, creating it 2025-11-27 08:28:03,341 - INFO - Created Project:ctest-TestBasicPolicy-26790554, ID : 8cd91023-4813-49f1-af94-f81a098a62b9 2025-11-27 08:28:05,009 - INFO - ================================================================================ 2025-11-27 08:28:05,010 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-27 08:28:05,010 - 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-11-27 08:28:05,271 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-11-27 08:28:05,271 - INFO - Initial checks done. Running the testcase now 2025-11-27 08:28:05,271 - INFO - 2025-11-27 08:28:05,929 - DEBUG - Response for create_network : {'network': {'id': '6a7a855e-de65-4172-924b-314f35a4c524', 'name': 'ctest-vn-24720969', 'tenant_id': '8cd91023481349f1af94f81a098a62b9', 'project_id': '8cd91023481349f1af94f81a098a62b9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26790554', 'ctest-vn-24720969'], 'port_security_enabled': True, 'description': ''}} 2025-11-27 08:28:06,167 - DEBUG - Response for create_subnet : {'subnet': {'id': '66260cdd-3138-427a-995e-f70dadbbdead', 'name': '', 'tenant_id': '8cd91023481349f1af94f81a098a62b9', 'network_id': '6a7a855e-de65-4172-924b-314f35a4c524', 'ip_version': 4, 'cidr': '86.237.134.192/26', 'allocation_pools': [{'start': '86.237.134.194', 'end': '86.237.134.254'}], 'gateway_ip': '86.237.134.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '86.237.134.194', 'tags': [], 'project_id': '8cd91023481349f1af94f81a098a62b9'}} 2025-11-27 08:28:06,189 - INFO - Created VN ctest-vn-24720969 2025-11-27 08:28:06,242 - DEBUG - VN ctest-vn-24720969 UUID is 6a7a855e-de65-4172-924b-314f35a4c524 2025-11-27 08:28:06,564 - DEBUG - Response for create_network : {'network': {'id': '5c67fb63-235c-4acb-b3fa-c7e49a46bb06', 'name': 'ctest-vn-17776428', 'tenant_id': '8cd91023481349f1af94f81a098a62b9', 'project_id': '8cd91023481349f1af94f81a098a62b9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26790554', 'ctest-vn-17776428'], 'port_security_enabled': True, 'description': ''}} 2025-11-27 08:28:06,765 - DEBUG - Response for create_subnet : {'subnet': {'id': '836c2ab2-6852-42cb-86fb-200ac41126d7', 'name': '', 'tenant_id': '8cd91023481349f1af94f81a098a62b9', 'network_id': '5c67fb63-235c-4acb-b3fa-c7e49a46bb06', 'ip_version': 4, 'cidr': '110.166.191.128/26', 'allocation_pools': [{'start': '110.166.191.130', 'end': '110.166.191.190'}], 'gateway_ip': '110.166.191.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '110.166.191.130', 'tags': [], 'project_id': '8cd91023481349f1af94f81a098a62b9'}} 2025-11-27 08:28:06,788 - INFO - Created VN ctest-vn-17776428 2025-11-27 08:28:06,842 - DEBUG - VN ctest-vn-17776428 UUID is 5c67fb63-235c-4acb-b3fa-c7e49a46bb06 2025-11-27 08:28:06,977 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-26790554:ctest-vn-24720969, 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-26790554:ctest-vn-17776428, 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-11-27 08:28:07,289 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6a7a855e-de65-4172-924b-314f35a4c524', 'name': 'ctest-vn-24720969', 'tenant_id': '8cd91023481349f1af94f81a098a62b9', 'project_id': '8cd91023481349f1af94f81a098a62b9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['66260cdd-3138-427a-995e-f70dadbbdead'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26790554', 'ctest-vn-24720969'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-26790554', 'ctest-policy-allow-all-54062087']], 'subnet_ipam': [{'subnet_cidr': '86.237.134.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-27 08:28:07,534 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5c67fb63-235c-4acb-b3fa-c7e49a46bb06', 'name': 'ctest-vn-17776428', 'tenant_id': '8cd91023481349f1af94f81a098a62b9', 'project_id': '8cd91023481349f1af94f81a098a62b9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['836c2ab2-6852-42cb-86fb-200ac41126d7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26790554', 'ctest-vn-17776428'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-26790554', 'ctest-policy-allow-all-54062087']], 'subnet_ipam': [{'subnet_cidr': '110.166.191.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-27 08:28:07,698 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-27 08:28:08,038 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-27 08:28:08,073 - DEBUG - Requesting: http://10.0.0.33:8082/domain/da942467-df54-4518-b91a-cef97911c724 2025-11-27 08:28:08,089 - DEBUG - Requesting: http://10.0.0.33:8082/project/8cd91023-4813-49f1-af94-f81a098a62b9 2025-11-27 08:28:08,165 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/6a7a855e-de65-4172-924b-314f35a4c524 2025-11-27 08:28:08,177 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/6a7a855e-de65-4172-924b-314f35a4c524 2025-11-27 08:28:08,188 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a66a64b5-6f38-467c-ba2b-0ae63d52ebda 2025-11-27 08:28:08,196 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a66a64b5-6f38-467c-ba2b-0ae63d52ebda 2025-11-27 08:28:08,204 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/51b5c938-dbc1-4cb8-a43f-e66b91344d96 2025-11-27 08:28:08,212 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-27 08:28:08,212 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/6a7a855e-de65-4172-924b-314f35a4c524 2025-11-27 08:28:08,221 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a66a64b5-6f38-467c-ba2b-0ae63d52ebda 2025-11-27 08:28:08,238 - INFO - Verified VN network id 11 for VN 6a7a855e-de65-4172-924b-314f35a4c524 2025-11-27 08:28:08,238 - INFO - Verifications in API Server for VN ctest-vn-24720969 passed 2025-11-27 08:28:08,238 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/6a7a855e-de65-4172-924b-314f35a4c524 2025-11-27 08:28:08,249 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a66a64b5-6f38-467c-ba2b-0ae63d52ebda 2025-11-27 08:28:08,257 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a66a64b5-6f38-467c-ba2b-0ae63d52ebda 2025-11-27 08:28:08,265 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/51b5c938-dbc1-4cb8-a43f-e66b91344d96 2025-11-27 08:28:08,278 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-26790554:ctest-vn-24720969', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-26790554', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7672591557683659122', 'uuid-lslong': '10541573569062946084'}, 'enable': 'true', 'created': '2025-11-27T08:28:05', 'last-modified': '2025-11-27T08:28:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.018061'} 2025-11-27 08:28:08,284 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-27 08:28:08,284 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-24720969 passed 2025-11-27 08:28:08,285 - DEBUG - ====Verifying policy data for ctest-vn-24720969 in API_Server ====== 2025-11-27 08:28:08,285 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-27 08:28:08,292 - DEBUG - Requesting: http://10.0.0.33:8082/domain/da942467-df54-4518-b91a-cef97911c724 2025-11-27 08:28:08,304 - DEBUG - Requesting: http://10.0.0.33:8082/project/8cd91023-4813-49f1-af94-f81a098a62b9 2025-11-27 08:28:08,377 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/6a7a855e-de65-4172-924b-314f35a4c524 2025-11-27 08:28:08,389 - DEBUG - ==>Verifying data for policy with id: e9311d91-00d8-4d1b-be20-23410a3300b5, fqn: ['default-domain', 'ctest-TestBasicPolicy-26790554', 'ctest-policy-allow-all-54062087'] 2025-11-27 08:28:08,389 - INFO - VN ctest-vn-24720969 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-27 08:28:08,389 - DEBUG - Verifying the vn in opserver 2025-11-27 08:28:08,389 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-26790554:ctest-vn-24720969 virtual network link through opserver 10.0.0.33 2025-11-27 08:28:08,389 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-11-27 08:28:08,727 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-11-27 08:28:08,797 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-26790554:ctest-vn-24720969', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-26790554:ctest-vn-24720969?flat'} 2025-11-27 08:28:08,797 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-26790554:ctest-vn-24720969 is found in opserver 2025-11-27 08:28:08,807 - DEBUG - Do not have enough data to verify VN in agent 2025-11-27 08:28:08,813 - DEBUG - VRF ids for VN ctest-vn-24720969: {} 2025-11-27 08:28:08,814 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-27 08:28:08,820 - DEBUG - Requesting: http://10.0.0.33:8082/domain/da942467-df54-4518-b91a-cef97911c724 2025-11-27 08:28:08,832 - DEBUG - Requesting: http://10.0.0.33:8082/project/8cd91023-4813-49f1-af94-f81a098a62b9 2025-11-27 08:28:08,905 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/5c67fb63-235c-4acb-b3fa-c7e49a46bb06 2025-11-27 08:28:08,917 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/5c67fb63-235c-4acb-b3fa-c7e49a46bb06 2025-11-27 08:28:08,930 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ded06738-cbe2-4381-9a9d-74dd8ce3c52d 2025-11-27 08:28:08,938 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ded06738-cbe2-4381-9a9d-74dd8ce3c52d 2025-11-27 08:28:08,946 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/224a769b-a54f-4134-8f43-45337199733d 2025-11-27 08:28:08,953 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-27 08:28:08,953 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/5c67fb63-235c-4acb-b3fa-c7e49a46bb06 2025-11-27 08:28:08,963 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ded06738-cbe2-4381-9a9d-74dd8ce3c52d 2025-11-27 08:28:08,978 - INFO - Verified VN network id 12 for VN 5c67fb63-235c-4acb-b3fa-c7e49a46bb06 2025-11-27 08:28:08,978 - INFO - Verifications in API Server for VN ctest-vn-17776428 passed 2025-11-27 08:28:08,978 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/5c67fb63-235c-4acb-b3fa-c7e49a46bb06 2025-11-27 08:28:08,987 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ded06738-cbe2-4381-9a9d-74dd8ce3c52d 2025-11-27 08:28:08,994 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ded06738-cbe2-4381-9a9d-74dd8ce3c52d 2025-11-27 08:28:09,002 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/224a769b-a54f-4134-8f43-45337199733d 2025-11-27 08:28:09,015 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-26790554:ctest-vn-17776428', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-26790554', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6658566977304152779', 'uuid-lslong': '12968897861621562118'}, 'enable': 'true', 'created': '2025-11-27T08:28:06', 'last-modified': '2025-11-27T08:28:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.509226'} 2025-11-27 08:28:09,022 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-27 08:28:09,022 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-17776428 passed 2025-11-27 08:28:09,022 - DEBUG - ====Verifying policy data for ctest-vn-17776428 in API_Server ====== 2025-11-27 08:28:09,022 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-27 08:28:09,028 - DEBUG - Requesting: http://10.0.0.33:8082/domain/da942467-df54-4518-b91a-cef97911c724 2025-11-27 08:28:09,040 - DEBUG - Requesting: http://10.0.0.33:8082/project/8cd91023-4813-49f1-af94-f81a098a62b9 2025-11-27 08:28:09,113 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/5c67fb63-235c-4acb-b3fa-c7e49a46bb06 2025-11-27 08:28:09,125 - DEBUG - ==>Verifying data for policy with id: e9311d91-00d8-4d1b-be20-23410a3300b5, fqn: ['default-domain', 'ctest-TestBasicPolicy-26790554', 'ctest-policy-allow-all-54062087'] 2025-11-27 08:28:09,125 - INFO - VN ctest-vn-17776428 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-27 08:28:09,125 - DEBUG - Verifying the vn in opserver 2025-11-27 08:28:09,125 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-26790554:ctest-vn-17776428 virtual network link through opserver 10.0.0.33 2025-11-27 08:28:09,125 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-11-27 08:28:09,135 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-26790554:ctest-vn-17776428', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-26790554:ctest-vn-17776428?flat'} 2025-11-27 08:28:09,135 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-26790554:ctest-vn-17776428 is found in opserver 2025-11-27 08:28:09,145 - DEBUG - Do not have enough data to verify VN in agent 2025-11-27 08:28:09,150 - DEBUG - VRF ids for VN ctest-vn-17776428: {} 2025-11-27 08:28:09,215 - DEBUG - Services list from nova: [, , ] 2025-11-27 08:28:10,348 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4823-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4823-1) 2025-11-27 08:28:11,618 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4823-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4823-1) 2025-11-27 08:28:11,618 - INFO - Waiting for VM ctest-TestBasicPolicy-26790554-45303592 to be up.. 2025-11-27 08:28:11,713 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-27 08:28:16,803 - DEBUG - VM is in ACTIVE state now 2025-11-27 08:28:16,803 - INFO - VM name : ctest-TestBasicPolicy-26790554-45303592 2025-11-27 08:28:16,884 - DEBUG - VM ctest-TestBasicPolicy-26790554-45303592 ID is 1ecc1413-d031-46be-8bba-b36e498e4467 2025-11-27 08:28:16,907 - DEBUG - VM ctest-TestBasicPolicy-26790554-45303592 launched on Node cn-jenkins-deploy-platform-ansible-os-4823-1 2025-11-27 08:28:16,996 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/1ecc1413-d031-46be-8bba-b36e498e4467 2025-11-27 08:28:17,006 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/b91e4cb2-87c1-4d5a-a21b-80aaa68694c5 2025-11-27 08:28:20,268 - 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 1014ms') 2025-11-27 08:28:20,268 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-26790554-45303592 failed! 2025-11-27 08:28:20,330 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-26790554:ctest-vn-24720969 is 86.237.134.193 and allocation pool is NOT set 2025-11-27 08:28:22,401 - 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.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.40 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.397/3.172/3.947/0.775 ms') 2025-11-27 08:28:22,402 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-26790554-45303592 passed 2025-11-27 08:28:22,558 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 08:28:22,558 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-26790554-45303592, IP 86.237.134.195, Port 22 2025-11-27 08:28:22,628 - 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-11-27 08:28:22,742 - DEBUG - VM ctest-TestBasicPolicy-26790554-45303592 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-27 08:28:27,743 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 08:28:27,743 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-26790554-45303592, IP 86.237.134.195, Port 22 2025-11-27 08:28:27,924 - DEBUG - VM ctest-TestBasicPolicy-26790554-45303592 is ready for SSH connections 2025-11-27 08:28:27,924 - INFO - Waiting for VM ctest-TestBasicPolicy-26790554-23730589 to be up.. 2025-11-27 08:28:28,015 - DEBUG - VM is in ACTIVE state now 2025-11-27 08:28:28,016 - INFO - VM name : ctest-TestBasicPolicy-26790554-23730589 2025-11-27 08:28:28,105 - DEBUG - VM ctest-TestBasicPolicy-26790554-23730589 ID is 6bc33c7e-504d-46c9-bf7a-a034a03b3b52 2025-11-27 08:28:28,106 - DEBUG - VM ctest-TestBasicPolicy-26790554-23730589 launched on Node cn-jenkins-deploy-platform-ansible-os-4823-1 2025-11-27 08:28:28,191 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/6bc33c7e-504d-46c9-bf7a-a034a03b3b52 2025-11-27 08:28:28,202 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/0ed2b101-a1d1-4632-84ea-2f319868ba5d 2025-11-27 08:28:29,443 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.461 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.461/2.111/3.761/1.650 ms') 2025-11-27 08:28:29,443 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-26790554-23730589 passed 2025-11-27 08:28:29,594 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 08:28:29,594 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-26790554-23730589, IP 110.166.191.131, Port 22 2025-11-27 08:28:29,750 - DEBUG - VM ctest-TestBasicPolicy-26790554-23730589 is ready for SSH connections 2025-11-27 08:28:29,750 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 08:28:29,750 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 110.166.191.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-27 08:28:29,750 - DEBUG - ping -s 56 -c 3 -W 1 110.166.191.131 2025-11-27 08:28:33,989 - DEBUG - PING 110.166.191.131 (110.166.191.131): 56 data bytes 64 bytes from 110.166.191.131: seq=0 ttl=63 time=3.969 ms 64 bytes from 110.166.191.131: seq=1 ttl=63 time=0.943 ms 64 bytes from 110.166.191.131: seq=2 ttl=63 time=1.030 ms --- 110.166.191.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.943/1.980/3.969 ms 2025-11-27 08:28:33,990 - INFO - Ping to IP 110.166.191.131 from VM ctest-TestBasicPolicy-26790554-45303592 passed 2025-11-27 08:28:34,166 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e9311d91-00d8-4d1b-be20-23410a3300b5", "href": "http://10.0.0.33:8082/network-policy/e9311d91-00d8-4d1b-be20-23410a3300b5"}} 2025-11-27 08:28:34,166 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 08:28:34,166 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 110.166.191.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-27 08:28:34,166 - DEBUG - ping -s 56 -c 3 -W 1 110.166.191.131 2025-11-27 08:28:37,398 - DEBUG - PING 110.166.191.131 (110.166.191.131): 56 data bytes --- 110.166.191.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-27 08:28:37,399 - WARNING - Ping to IP 110.166.191.131 from VM ctest-TestBasicPolicy-26790554-45303592 failed 2025-11-27 08:28:37,399 - INFO - Deleting VM ctest-TestBasicPolicy-26790554-23730589 2025-11-27 08:28:37,476 - INFO - Deleting VM ctest-TestBasicPolicy-26790554-45303592 2025-11-27 08:28:37,894 - INFO - Deleted policy ctest-policy-allow-all-54062087 2025-11-27 08:28:37,894 - INFO - Deleting VN ctest-vn-17776428 2025-11-27 08:28:37,943 - DEBUG - VN 5c67fb63-235c-4acb-b3fa-c7e49a46bb06 still in use: Unable to complete operation on network 5c67fb63-235c-4acb-b3fa-c7e49a46bb06. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3f3cd767-1267-41ec-bc1d-705170361c72'] 2025-11-27 08:28:37,944 - WARNING - Deleting VN ctest-vn-17776428 failed..Will retry 2025-11-27 08:28:40,051 - DEBUG - Response for deleting network () 2025-11-27 08:28:40,051 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ded06738-cbe2-4381-9a9d-74dd8ce3c52d 2025-11-27 08:28:40,058 - DEBUG - Response Code: 404 2025-11-27 08:28:40,058 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-27 08:28:40,063 - DEBUG - Requesting: http://10.0.0.33:8082/domain/da942467-df54-4518-b91a-cef97911c724 2025-11-27 08:28:40,116 - DEBUG - Requesting: http://10.0.0.33:8082/project/8cd91023-4813-49f1-af94-f81a098a62b9 2025-11-27 08:28:40,192 - INFO - Validated that VN ctest-vn-17776428 is not found in API Server 2025-11-27 08:28:40,203 - DEBUG - VN ctest-vn-17776428 is not present in Agent 10.0.0.33 2025-11-27 08:28:40,203 - INFO - Validated that VN ctest-vn-17776428 is not in any agent 2025-11-27 08:28:40,219 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-17776428 info 2025-11-27 08:28:40,220 - INFO - Deleting VN ctest-vn-24720969 2025-11-27 08:28:40,322 - DEBUG - Response for deleting network () 2025-11-27 08:28:40,322 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a66a64b5-6f38-467c-ba2b-0ae63d52ebda 2025-11-27 08:28:40,328 - DEBUG - Response Code: 404 2025-11-27 08:28:40,328 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-27 08:28:40,339 - DEBUG - Requesting: http://10.0.0.33:8082/domain/da942467-df54-4518-b91a-cef97911c724 2025-11-27 08:28:40,395 - DEBUG - Requesting: http://10.0.0.33:8082/project/8cd91023-4813-49f1-af94-f81a098a62b9 2025-11-27 08:28:40,465 - INFO - Validated that VN ctest-vn-24720969 is not found in API Server 2025-11-27 08:28:40,476 - DEBUG - VN ctest-vn-24720969 is not present in Agent 10.0.0.33 2025-11-27 08:28:40,476 - INFO - Validated that VN ctest-vn-24720969 is not in any agent 2025-11-27 08:28:40,490 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-24720969 info 2025-11-27 08:28:40,744 - DEBUG - No XMPP flaps were noticed during the test
2025-11-27 08:28:40,745 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2025-11-27 08:28:40,745 - INFO - -------------------------------------------------------------------------------- 2025-11-27 08:28:41,491 - INFO - Deleted project: ctest-TestBasicPolicy-26790554, ID : 8cd91023-4813-49f1-af94-f81a098a62b9