2025-10-23 18:28:43,648 - INFO - Domain Default found not creating 2025-10-23 18:28:43,790 - INFO - Project ctest-TestBasicPolicy-07495657 not found, creating it 2025-10-23 18:28:44,305 - INFO - Created Project:ctest-TestBasicPolicy-07495657, ID : c96ab1d7-08c0-4e81-a14f-58d360156b0c 2025-10-23 18:28:45,778 - INFO - ================================================================================ 2025-10-23 18:28:45,778 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-23 18:28:45,778 - 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-10-23 18:28:46,046 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.17': '0'}} with 2025-10-23 18:28:46,046 - INFO - Initial checks done. Running the testcase now 2025-10-23 18:28:46,046 - INFO - 2025-10-23 18:28:46,610 - DEBUG - Response for create_network : {'network': {'id': 'f878c60c-c9c4-4edc-8998-d0d10c00e8ac', 'name': 'ctest-vn-78135185', 'tenant_id': 'c96ab1d708c04e81a14f58d360156b0c', 'project_id': 'c96ab1d708c04e81a14f58d360156b0c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07495657', 'ctest-vn-78135185'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 18:28:46,761 - DEBUG - Response for create_subnet : {'subnet': {'id': '50550c68-85e5-4c02-92b9-d97228e23eb5', 'name': '', 'tenant_id': 'c96ab1d708c04e81a14f58d360156b0c', 'network_id': 'f878c60c-c9c4-4edc-8998-d0d10c00e8ac', 'ip_version': 4, 'cidr': '185.145.171.128/26', 'allocation_pools': [{'start': '185.145.171.130', 'end': '185.145.171.190'}], 'gateway_ip': '185.145.171.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '185.145.171.130', 'tags': [], 'project_id': 'c96ab1d708c04e81a14f58d360156b0c'}} 2025-10-23 18:28:46,777 - INFO - Created VN ctest-vn-78135185 2025-10-23 18:28:46,825 - DEBUG - VN ctest-vn-78135185 UUID is f878c60c-c9c4-4edc-8998-d0d10c00e8ac 2025-10-23 18:28:47,137 - DEBUG - Response for create_network : {'network': {'id': '49f5b755-9e47-46f3-8fc4-1d25d2443ca3', 'name': 'ctest-vn-32539931', 'tenant_id': 'c96ab1d708c04e81a14f58d360156b0c', 'project_id': 'c96ab1d708c04e81a14f58d360156b0c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07495657', 'ctest-vn-32539931'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 18:28:47,343 - DEBUG - Response for create_subnet : {'subnet': {'id': '01d8c19b-353d-483c-be2b-6e2148329db0', 'name': '', 'tenant_id': 'c96ab1d708c04e81a14f58d360156b0c', 'network_id': '49f5b755-9e47-46f3-8fc4-1d25d2443ca3', 'ip_version': 4, 'cidr': '214.234.195.192/26', 'allocation_pools': [{'start': '214.234.195.194', 'end': '214.234.195.254'}], 'gateway_ip': '214.234.195.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '214.234.195.194', 'tags': [], 'project_id': 'c96ab1d708c04e81a14f58d360156b0c'}} 2025-10-23 18:28:47,361 - INFO - Created VN ctest-vn-32539931 2025-10-23 18:28:47,413 - DEBUG - VN ctest-vn-32539931 UUID is 49f5b755-9e47-46f3-8fc4-1d25d2443ca3 2025-10-23 18:28:47,561 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-07495657:ctest-vn-78135185, 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-07495657:ctest-vn-32539931, 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-10-23 18:28:47,864 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f878c60c-c9c4-4edc-8998-d0d10c00e8ac', 'name': 'ctest-vn-78135185', 'tenant_id': 'c96ab1d708c04e81a14f58d360156b0c', 'project_id': 'c96ab1d708c04e81a14f58d360156b0c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['50550c68-85e5-4c02-92b9-d97228e23eb5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07495657', 'ctest-vn-78135185'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-07495657', 'ctest-policy-allow-all-89872896']], 'subnet_ipam': [{'subnet_cidr': '185.145.171.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-23 18:28:48,132 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '49f5b755-9e47-46f3-8fc4-1d25d2443ca3', 'name': 'ctest-vn-32539931', 'tenant_id': 'c96ab1d708c04e81a14f58d360156b0c', 'project_id': 'c96ab1d708c04e81a14f58d360156b0c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['01d8c19b-353d-483c-be2b-6e2148329db0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07495657', 'ctest-vn-32539931'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-07495657', 'ctest-policy-allow-all-89872896']], 'subnet_ipam': [{'subnet_cidr': '214.234.195.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-23 18:28:48,279 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-23 18:28:48,575 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-23 18:28:48,601 - DEBUG - Requesting: http://10.0.0.27:8082/domain/5b2b3185-1ae2-4126-81a5-4799e1ab4b6e 2025-10-23 18:28:48,614 - DEBUG - Requesting: http://10.0.0.27:8082/project/c96ab1d7-08c0-4e81-a14f-58d360156b0c 2025-10-23 18:28:48,704 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/f878c60c-c9c4-4edc-8998-d0d10c00e8ac 2025-10-23 18:28:48,715 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/f878c60c-c9c4-4edc-8998-d0d10c00e8ac 2025-10-23 18:28:48,724 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/dc26a99c-1bcc-400b-9fc9-a530c71582e3 2025-10-23 18:28:48,731 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/dc26a99c-1bcc-400b-9fc9-a530c71582e3 2025-10-23 18:28:48,739 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/dbba76f9-e493-42ea-9840-f7788739cece 2025-10-23 18:28:48,747 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-23 18:28:48,747 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/f878c60c-c9c4-4edc-8998-d0d10c00e8ac 2025-10-23 18:28:48,759 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/dc26a99c-1bcc-400b-9fc9-a530c71582e3 2025-10-23 18:28:48,775 - INFO - Verified VN network id 9 for VN f878c60c-c9c4-4edc-8998-d0d10c00e8ac 2025-10-23 18:28:48,775 - INFO - Verifications in API Server for VN ctest-vn-78135185 passed 2025-10-23 18:28:48,776 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/f878c60c-c9c4-4edc-8998-d0d10c00e8ac 2025-10-23 18:28:48,785 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/dc26a99c-1bcc-400b-9fc9-a530c71582e3 2025-10-23 18:28:48,791 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/dc26a99c-1bcc-400b-9fc9-a530c71582e3 2025-10-23 18:28:48,797 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/dbba76f9-e493-42ea-9840-f7788739cece 2025-10-23 18:28:48,808 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-07495657:ctest-vn-78135185', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-07495657', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17904278076838399708', 'uuid-lslong': '9914904175924275372'}, 'enable': 'true', 'created': '2025-10-23T18:28:46', 'last-modified': '2025-10-23T18:28:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.963183'} 2025-10-23 18:28:48,815 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-23 18:28:48,815 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-78135185 passed 2025-10-23 18:28:48,815 - DEBUG - ====Verifying policy data for ctest-vn-78135185 in API_Server ====== 2025-10-23 18:28:48,815 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-23 18:28:48,820 - DEBUG - Requesting: http://10.0.0.27:8082/domain/5b2b3185-1ae2-4126-81a5-4799e1ab4b6e 2025-10-23 18:28:48,830 - DEBUG - Requesting: http://10.0.0.27:8082/project/c96ab1d7-08c0-4e81-a14f-58d360156b0c 2025-10-23 18:28:48,896 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/f878c60c-c9c4-4edc-8998-d0d10c00e8ac 2025-10-23 18:28:48,904 - DEBUG - ==>Verifying data for policy with id: 16230baf-603b-46b3-a8ea-aeec193a9260, fqn: ['default-domain', 'ctest-TestBasicPolicy-07495657', 'ctest-policy-allow-all-89872896'] 2025-10-23 18:28:48,904 - INFO - VN ctest-vn-78135185 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-23 18:28:48,904 - DEBUG - Verifying the vn in opserver 2025-10-23 18:28:48,904 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-07495657:ctest-vn-78135185 virtual network link through opserver 10.0.0.27 2025-10-23 18:28:48,904 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-10-23 18:28:49,193 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-10-23 18:28:49,251 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-07495657:ctest-vn-78135185', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-07495657:ctest-vn-78135185?flat'} 2025-10-23 18:28:49,251 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-07495657:ctest-vn-78135185 is found in opserver 2025-10-23 18:28:49,261 - DEBUG - Do not have enough data to verify VN in agent 2025-10-23 18:28:49,265 - DEBUG - VRF ids for VN ctest-vn-78135185: {} 2025-10-23 18:28:49,265 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-23 18:28:49,271 - DEBUG - Requesting: http://10.0.0.27:8082/domain/5b2b3185-1ae2-4126-81a5-4799e1ab4b6e 2025-10-23 18:28:49,282 - DEBUG - Requesting: http://10.0.0.27:8082/project/c96ab1d7-08c0-4e81-a14f-58d360156b0c 2025-10-23 18:28:49,356 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/49f5b755-9e47-46f3-8fc4-1d25d2443ca3 2025-10-23 18:28:49,367 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/49f5b755-9e47-46f3-8fc4-1d25d2443ca3 2025-10-23 18:28:49,378 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/1986abe1-335e-4846-9f8b-e9a5d6abcbdf 2025-10-23 18:28:49,386 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/1986abe1-335e-4846-9f8b-e9a5d6abcbdf 2025-10-23 18:28:49,392 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/3b140bed-ed8e-471a-945f-2cee21cd2f1d 2025-10-23 18:28:49,398 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-23 18:28:49,398 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/49f5b755-9e47-46f3-8fc4-1d25d2443ca3 2025-10-23 18:28:49,407 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/1986abe1-335e-4846-9f8b-e9a5d6abcbdf 2025-10-23 18:28:49,420 - INFO - Verified VN network id 10 for VN 49f5b755-9e47-46f3-8fc4-1d25d2443ca3 2025-10-23 18:28:49,420 - INFO - Verifications in API Server for VN ctest-vn-32539931 passed 2025-10-23 18:28:49,420 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/49f5b755-9e47-46f3-8fc4-1d25d2443ca3 2025-10-23 18:28:49,429 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/1986abe1-335e-4846-9f8b-e9a5d6abcbdf 2025-10-23 18:28:49,435 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/1986abe1-335e-4846-9f8b-e9a5d6abcbdf 2025-10-23 18:28:49,442 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/3b140bed-ed8e-471a-945f-2cee21cd2f1d 2025-10-23 18:28:49,453 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-07495657:ctest-vn-32539931', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-07495657', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5329367312418424563', 'uuid-lslong': '10359437091137666211'}, 'enable': 'true', 'created': '2025-10-23T18:28:47', 'last-modified': '2025-10-23T18:28:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.387382'} 2025-10-23 18:28:49,458 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-23 18:28:49,458 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-32539931 passed 2025-10-23 18:28:49,458 - DEBUG - ====Verifying policy data for ctest-vn-32539931 in API_Server ====== 2025-10-23 18:28:49,458 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-23 18:28:49,464 - DEBUG - Requesting: http://10.0.0.27:8082/domain/5b2b3185-1ae2-4126-81a5-4799e1ab4b6e 2025-10-23 18:28:49,473 - DEBUG - Requesting: http://10.0.0.27:8082/project/c96ab1d7-08c0-4e81-a14f-58d360156b0c 2025-10-23 18:28:49,548 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/49f5b755-9e47-46f3-8fc4-1d25d2443ca3 2025-10-23 18:28:49,557 - DEBUG - ==>Verifying data for policy with id: 16230baf-603b-46b3-a8ea-aeec193a9260, fqn: ['default-domain', 'ctest-TestBasicPolicy-07495657', 'ctest-policy-allow-all-89872896'] 2025-10-23 18:28:49,557 - INFO - VN ctest-vn-32539931 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-23 18:28:49,557 - DEBUG - Verifying the vn in opserver 2025-10-23 18:28:49,557 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-07495657:ctest-vn-32539931 virtual network link through opserver 10.0.0.27 2025-10-23 18:28:49,557 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-10-23 18:28:49,568 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-07495657:ctest-vn-32539931', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-07495657:ctest-vn-32539931?flat'} 2025-10-23 18:28:49,568 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-07495657:ctest-vn-32539931 is found in opserver 2025-10-23 18:28:49,580 - DEBUG - Do not have enough data to verify VN in agent 2025-10-23 18:28:49,585 - DEBUG - VRF ids for VN ctest-vn-32539931: {} 2025-10-23 18:28:49,662 - DEBUG - Services list from nova: [, , ] 2025-10-23 18:28:50,784 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4464-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4464-1) 2025-10-23 18:28:51,897 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4464-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4464-1) 2025-10-23 18:28:51,897 - INFO - Waiting for VM ctest-TestBasicPolicy-07495657-15994910 to be up.. 2025-10-23 18:28:51,966 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-23 18:28:57,032 - DEBUG - VM is in ACTIVE state now 2025-10-23 18:28:57,032 - INFO - VM name : ctest-TestBasicPolicy-07495657-15994910 2025-10-23 18:28:57,099 - DEBUG - VM ctest-TestBasicPolicy-07495657-15994910 ID is 3724b107-8118-428b-917b-210fd1fb535f 2025-10-23 18:28:57,118 - DEBUG - VM ctest-TestBasicPolicy-07495657-15994910 launched on Node cn-jenkins-deploy-platform-ansible-os-4464-1 2025-10-23 18:28:57,189 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/3724b107-8118-428b-917b-210fd1fb535f 2025-10-23 18:28:57,197 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/be9e5659-2be5-42dd-8306-48a33b991837 2025-10-23 18:29:00,445 - 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 1023ms') 2025-10-23 18:29:00,446 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-07495657-15994910 failed! 2025-10-23 18:29:00,497 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-07495657:ctest-vn-78135185 is 185.145.171.129 and allocation pool is NOT set 2025-10-23 18:29:02,553 - 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.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.15 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.147/2.107/3.068/0.960 ms') 2025-10-23 18:29:02,553 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-07495657-15994910 passed 2025-10-23 18:29:02,702 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 18:29:02,702 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-07495657-15994910, IP 185.145.171.131, Port 22 2025-10-23 18:29:02,767 - 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-10-23 18:29:02,850 - DEBUG - VM ctest-TestBasicPolicy-07495657-15994910 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-23 18:29:07,851 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 18:29:07,851 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-07495657-15994910, IP 185.145.171.131, Port 22 2025-10-23 18:29:08,014 - DEBUG - VM ctest-TestBasicPolicy-07495657-15994910 is ready for SSH connections 2025-10-23 18:29:08,014 - INFO - Waiting for VM ctest-TestBasicPolicy-07495657-06257034 to be up.. 2025-10-23 18:29:08,088 - DEBUG - VM is in ACTIVE state now 2025-10-23 18:29:08,089 - INFO - VM name : ctest-TestBasicPolicy-07495657-06257034 2025-10-23 18:29:08,158 - DEBUG - VM ctest-TestBasicPolicy-07495657-06257034 ID is 2b88bd79-b81f-4c1d-9b34-ffe2f1896a8b 2025-10-23 18:29:08,158 - DEBUG - VM ctest-TestBasicPolicy-07495657-06257034 launched on Node cn-jenkins-deploy-platform-ansible-os-4464-1 2025-10-23 18:29:08,231 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/2b88bd79-b81f-4c1d-9b34-ffe2f1896a8b 2025-10-23 18:29:08,239 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/3eca5c63-4d1a-41e4-b88f-96f298a9da45 2025-10-23 18:29:09,472 - 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.94 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.390 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.390/1.666/2.943/1.276 ms') 2025-10-23 18:29:09,472 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-07495657-06257034 passed 2025-10-23 18:29:09,621 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 18:29:09,622 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-07495657-06257034, IP 214.234.195.195, Port 22 2025-10-23 18:29:09,781 - DEBUG - VM ctest-TestBasicPolicy-07495657-06257034 is ready for SSH connections 2025-10-23 18:29:09,781 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 18:29:09,781 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 214.234.195.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-23 18:29:09,781 - DEBUG - ping -s 56 -c 3 -W 1 214.234.195.195 2025-10-23 18:29:13,758 - DEBUG - PING 214.234.195.195 (214.234.195.195): 56 data bytes 64 bytes from 214.234.195.195: seq=0 ttl=63 time=3.701 ms 64 bytes from 214.234.195.195: seq=1 ttl=63 time=0.844 ms 64 bytes from 214.234.195.195: seq=2 ttl=63 time=0.828 ms --- 214.234.195.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.828/1.791/3.701 ms 2025-10-23 18:29:13,758 - INFO - Ping to IP 214.234.195.195 from VM ctest-TestBasicPolicy-07495657-15994910 passed 2025-10-23 18:29:13,925 - DEBUG - Policy Update Response {"network-policy": {"uuid": "16230baf-603b-46b3-a8ea-aeec193a9260", "href": "http://10.0.0.27:8082/network-policy/16230baf-603b-46b3-a8ea-aeec193a9260"}} 2025-10-23 18:29:13,925 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 18:29:13,925 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 214.234.195.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-23 18:29:13,926 - DEBUG - ping -s 56 -c 3 -W 1 214.234.195.195 2025-10-23 18:29:17,129 - DEBUG - PING 214.234.195.195 (214.234.195.195): 56 data bytes --- 214.234.195.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-23 18:29:17,130 - WARNING - Ping to IP 214.234.195.195 from VM ctest-TestBasicPolicy-07495657-15994910 failed 2025-10-23 18:29:17,130 - INFO - Deleting VM ctest-TestBasicPolicy-07495657-06257034 2025-10-23 18:29:17,189 - INFO - Deleting VM ctest-TestBasicPolicy-07495657-15994910 2025-10-23 18:29:17,545 - INFO - Deleted policy ctest-policy-allow-all-89872896 2025-10-23 18:29:17,545 - INFO - Deleting VN ctest-vn-32539931 2025-10-23 18:29:17,576 - DEBUG - VN 49f5b755-9e47-46f3-8fc4-1d25d2443ca3 still in use: Unable to complete operation on network 49f5b755-9e47-46f3-8fc4-1d25d2443ca3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-464751a7-193a-42a2-9b90-c31aa7133791'] 2025-10-23 18:29:17,576 - WARNING - Deleting VN ctest-vn-32539931 failed..Will retry 2025-10-23 18:29:19,664 - DEBUG - Response for deleting network () 2025-10-23 18:29:19,664 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/1986abe1-335e-4846-9f8b-e9a5d6abcbdf 2025-10-23 18:29:19,668 - DEBUG - Response Code: 404 2025-10-23 18:29:19,668 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-23 18:29:19,674 - DEBUG - Requesting: http://10.0.0.27:8082/domain/5b2b3185-1ae2-4126-81a5-4799e1ab4b6e 2025-10-23 18:29:19,726 - DEBUG - Requesting: http://10.0.0.27:8082/project/c96ab1d7-08c0-4e81-a14f-58d360156b0c 2025-10-23 18:29:19,796 - INFO - Validated that VN ctest-vn-32539931 is not found in API Server 2025-10-23 18:29:19,804 - DEBUG - VN ctest-vn-32539931 is not present in Agent 10.0.0.27 2025-10-23 18:29:19,804 - INFO - Validated that VN ctest-vn-32539931 is not in any agent 2025-10-23 18:29:19,817 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-32539931 info 2025-10-23 18:29:19,817 - INFO - Deleting VN ctest-vn-78135185 2025-10-23 18:29:19,911 - DEBUG - Response for deleting network () 2025-10-23 18:29:19,911 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/dc26a99c-1bcc-400b-9fc9-a530c71582e3 2025-10-23 18:29:19,915 - DEBUG - Response Code: 404 2025-10-23 18:29:19,915 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-23 18:29:19,920 - DEBUG - Requesting: http://10.0.0.27:8082/domain/5b2b3185-1ae2-4126-81a5-4799e1ab4b6e 2025-10-23 18:29:19,973 - DEBUG - Requesting: http://10.0.0.27:8082/project/c96ab1d7-08c0-4e81-a14f-58d360156b0c 2025-10-23 18:29:20,041 - INFO - Validated that VN ctest-vn-78135185 is not found in API Server 2025-10-23 18:29:20,049 - DEBUG - VN ctest-vn-78135185 is not present in Agent 10.0.0.27 2025-10-23 18:29:20,049 - INFO - Validated that VN ctest-vn-78135185 is not in any agent 2025-10-23 18:29:20,060 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-78135185 info 2025-10-23 18:29:20,322 - DEBUG - No XMPP flaps were noticed during the test
2025-10-23 18:29:20,322 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2025-10-23 18:29:20,322 - INFO - -------------------------------------------------------------------------------- 2025-10-23 18:29:20,974 - INFO - Deleted project: ctest-TestBasicPolicy-07495657, ID : c96ab1d7-08c0-4e81-a14f-58d360156b0c