2025-12-17 19:03:44,673 - INFO - Domain Default found not creating 2025-12-17 19:03:44,834 - INFO - Project ctest-TestBasicPolicy-79519136 not found, creating it 2025-12-17 19:03:45,303 - INFO - Created Project:ctest-TestBasicPolicy-79519136, ID : 83aa0a74-9793-4b98-b251-f652f90c095f 2025-12-17 19:03:46,820 - INFO - ================================================================================ 2025-12-17 19:03:46,820 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-17 19:03:46,820 - 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-17 19:03:47,077 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-12-17 19:03:47,078 - INFO - Initial checks done. Running the testcase now 2025-12-17 19:03:47,078 - INFO - 2025-12-17 19:03:47,646 - DEBUG - Response for create_network : {'network': {'id': '345e691b-2656-464e-9a56-989a7391d057', 'name': 'ctest-vn-62047156', 'tenant_id': '83aa0a7497934b98b251f652f90c095f', 'project_id': '83aa0a7497934b98b251f652f90c095f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79519136', 'ctest-vn-62047156'], 'port_security_enabled': True, 'description': ''}} 2025-12-17 19:03:47,835 - DEBUG - Response for create_subnet : {'subnet': {'id': '981a57a4-a885-4c0f-9539-d9ea402b7a5a', 'name': '', 'tenant_id': '83aa0a7497934b98b251f652f90c095f', 'network_id': '345e691b-2656-464e-9a56-989a7391d057', 'ip_version': 4, 'cidr': '99.7.191.64/26', 'allocation_pools': [{'start': '99.7.191.66', 'end': '99.7.191.126'}], 'gateway_ip': '99.7.191.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.7.191.66', 'tags': [], 'project_id': '83aa0a7497934b98b251f652f90c095f'}} 2025-12-17 19:03:47,855 - INFO - Created VN ctest-vn-62047156 2025-12-17 19:03:47,907 - DEBUG - VN ctest-vn-62047156 UUID is 345e691b-2656-464e-9a56-989a7391d057 2025-12-17 19:03:48,193 - DEBUG - Response for create_network : {'network': {'id': 'f91a9a69-585d-4472-89a9-3abe37808589', 'name': 'ctest-vn-59379455', 'tenant_id': '83aa0a7497934b98b251f652f90c095f', 'project_id': '83aa0a7497934b98b251f652f90c095f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79519136', 'ctest-vn-59379455'], 'port_security_enabled': True, 'description': ''}} 2025-12-17 19:03:48,346 - DEBUG - Response for create_subnet : {'subnet': {'id': '554f9c1e-dbc9-4617-a2b1-6e4e3f20ab94', 'name': '', 'tenant_id': '83aa0a7497934b98b251f652f90c095f', 'network_id': 'f91a9a69-585d-4472-89a9-3abe37808589', 'ip_version': 4, 'cidr': '62.33.203.0/26', 'allocation_pools': [{'start': '62.33.203.2', 'end': '62.33.203.62'}], 'gateway_ip': '62.33.203.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '62.33.203.2', 'tags': [], 'project_id': '83aa0a7497934b98b251f652f90c095f'}} 2025-12-17 19:03:48,364 - INFO - Created VN ctest-vn-59379455 2025-12-17 19:03:48,415 - DEBUG - VN ctest-vn-59379455 UUID is f91a9a69-585d-4472-89a9-3abe37808589 2025-12-17 19:03:48,571 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-79519136:ctest-vn-62047156, 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-79519136:ctest-vn-59379455, 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-17 19:03:48,874 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '345e691b-2656-464e-9a56-989a7391d057', 'name': 'ctest-vn-62047156', 'tenant_id': '83aa0a7497934b98b251f652f90c095f', 'project_id': '83aa0a7497934b98b251f652f90c095f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['981a57a4-a885-4c0f-9539-d9ea402b7a5a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79519136', 'ctest-vn-62047156'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-79519136', 'ctest-policy-allow-all-92081537']], 'subnet_ipam': [{'subnet_cidr': '99.7.191.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-17 19:03:49,102 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f91a9a69-585d-4472-89a9-3abe37808589', 'name': 'ctest-vn-59379455', 'tenant_id': '83aa0a7497934b98b251f652f90c095f', 'project_id': '83aa0a7497934b98b251f652f90c095f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['554f9c1e-dbc9-4617-a2b1-6e4e3f20ab94'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79519136', 'ctest-vn-59379455'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-79519136', 'ctest-policy-allow-all-92081537']], 'subnet_ipam': [{'subnet_cidr': '62.33.203.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-17 19:03:49,267 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-12-17 19:03:49,561 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-12-17 19:03:49,594 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d07efacc-620b-4f1c-9875-9cf04f425a79 2025-12-17 19:03:49,606 - DEBUG - Requesting: http://10.0.0.50:8082/project/83aa0a74-9793-4b98-b251-f652f90c095f 2025-12-17 19:03:49,677 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/345e691b-2656-464e-9a56-989a7391d057 2025-12-17 19:03:49,688 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/345e691b-2656-464e-9a56-989a7391d057 2025-12-17 19:03:49,697 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f672875e-0806-4e1a-9b16-5d79491d4974 2025-12-17 19:03:49,705 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f672875e-0806-4e1a-9b16-5d79491d4974 2025-12-17 19:03:49,712 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/5a3b912d-3844-4cc9-a5b4-b5cb16c0b901 2025-12-17 19:03:49,719 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-17 19:03:49,719 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/345e691b-2656-464e-9a56-989a7391d057 2025-12-17 19:03:49,728 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f672875e-0806-4e1a-9b16-5d79491d4974 2025-12-17 19:03:49,742 - INFO - Verified VN network id 11 for VN 345e691b-2656-464e-9a56-989a7391d057 2025-12-17 19:03:49,742 - INFO - Verifications in API Server for VN ctest-vn-62047156 passed 2025-12-17 19:03:49,742 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/345e691b-2656-464e-9a56-989a7391d057 2025-12-17 19:03:49,751 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f672875e-0806-4e1a-9b16-5d79491d4974 2025-12-17 19:03:49,758 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f672875e-0806-4e1a-9b16-5d79491d4974 2025-12-17 19:03:49,764 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/5a3b912d-3844-4cc9-a5b4-b5cb16c0b901 2025-12-17 19:03:49,776 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-79519136:ctest-vn-62047156', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-79519136', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3773569103111276110', 'uuid-lslong': '11121244118969339991'}, 'enable': 'true', 'created': '2025-12-17T19:03:47', 'last-modified': '2025-12-17T19:03:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.921850'} 2025-12-17 19:03:49,783 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-17 19:03:49,783 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-62047156 passed 2025-12-17 19:03:49,783 - DEBUG - ====Verifying policy data for ctest-vn-62047156 in API_Server ====== 2025-12-17 19:03:49,783 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-12-17 19:03:49,790 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d07efacc-620b-4f1c-9875-9cf04f425a79 2025-12-17 19:03:49,802 - DEBUG - Requesting: http://10.0.0.50:8082/project/83aa0a74-9793-4b98-b251-f652f90c095f 2025-12-17 19:03:49,870 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/345e691b-2656-464e-9a56-989a7391d057 2025-12-17 19:03:49,879 - DEBUG - ==>Verifying data for policy with id: bd926ba6-d011-483f-955f-2e0b8dcd6001, fqn: ['default-domain', 'ctest-TestBasicPolicy-79519136', 'ctest-policy-allow-all-92081537'] 2025-12-17 19:03:49,879 - INFO - VN ctest-vn-62047156 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-17 19:03:49,880 - DEBUG - Verifying the vn in opserver 2025-12-17 19:03:49,880 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-79519136:ctest-vn-62047156 virtual network link through opserver 10.0.0.50 2025-12-17 19:03:49,880 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-12-17 19:03:50,173 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-12-17 19:03:50,237 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-79519136:ctest-vn-62047156', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-79519136:ctest-vn-62047156?flat'} 2025-12-17 19:03:50,237 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-79519136:ctest-vn-62047156 is found in opserver 2025-12-17 19:03:50,247 - DEBUG - Do not have enough data to verify VN in agent 2025-12-17 19:03:50,251 - DEBUG - VRF ids for VN ctest-vn-62047156: {} 2025-12-17 19:03:50,251 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-12-17 19:03:50,257 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d07efacc-620b-4f1c-9875-9cf04f425a79 2025-12-17 19:03:50,268 - DEBUG - Requesting: http://10.0.0.50:8082/project/83aa0a74-9793-4b98-b251-f652f90c095f 2025-12-17 19:03:50,333 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f91a9a69-585d-4472-89a9-3abe37808589 2025-12-17 19:03:50,345 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f91a9a69-585d-4472-89a9-3abe37808589 2025-12-17 19:03:50,355 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/db29cadd-8f6d-4c9d-8687-3915636f7b3d 2025-12-17 19:03:50,362 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/db29cadd-8f6d-4c9d-8687-3915636f7b3d 2025-12-17 19:03:50,370 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/39e01162-fa6c-4b1f-8d5b-9a90da30e2d2 2025-12-17 19:03:50,378 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-17 19:03:50,378 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f91a9a69-585d-4472-89a9-3abe37808589 2025-12-17 19:03:50,388 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/db29cadd-8f6d-4c9d-8687-3915636f7b3d 2025-12-17 19:03:50,403 - INFO - Verified VN network id 12 for VN f91a9a69-585d-4472-89a9-3abe37808589 2025-12-17 19:03:50,404 - INFO - Verifications in API Server for VN ctest-vn-59379455 passed 2025-12-17 19:03:50,404 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f91a9a69-585d-4472-89a9-3abe37808589 2025-12-17 19:03:50,413 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/db29cadd-8f6d-4c9d-8687-3915636f7b3d 2025-12-17 19:03:50,420 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/db29cadd-8f6d-4c9d-8687-3915636f7b3d 2025-12-17 19:03:50,427 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/39e01162-fa6c-4b1f-8d5b-9a90da30e2d2 2025-12-17 19:03:50,439 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-79519136:ctest-vn-59379455', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-79519136', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17949829042083284082', 'uuid-lslong': '9919524242909595017'}, 'enable': 'true', 'created': '2025-12-17T19:03:48', 'last-modified': '2025-12-17T19:03:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.358243'} 2025-12-17 19:03:50,445 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-17 19:03:50,445 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-59379455 passed 2025-12-17 19:03:50,445 - DEBUG - ====Verifying policy data for ctest-vn-59379455 in API_Server ====== 2025-12-17 19:03:50,445 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-12-17 19:03:50,451 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d07efacc-620b-4f1c-9875-9cf04f425a79 2025-12-17 19:03:50,461 - DEBUG - Requesting: http://10.0.0.50:8082/project/83aa0a74-9793-4b98-b251-f652f90c095f 2025-12-17 19:03:50,529 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f91a9a69-585d-4472-89a9-3abe37808589 2025-12-17 19:03:50,537 - DEBUG - ==>Verifying data for policy with id: bd926ba6-d011-483f-955f-2e0b8dcd6001, fqn: ['default-domain', 'ctest-TestBasicPolicy-79519136', 'ctest-policy-allow-all-92081537'] 2025-12-17 19:03:50,538 - INFO - VN ctest-vn-59379455 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-17 19:03:50,538 - DEBUG - Verifying the vn in opserver 2025-12-17 19:03:50,538 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-79519136:ctest-vn-59379455 virtual network link through opserver 10.0.0.50 2025-12-17 19:03:50,538 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-12-17 19:03:50,548 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-79519136:ctest-vn-59379455', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-79519136:ctest-vn-59379455?flat'} 2025-12-17 19:03:50,548 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-79519136:ctest-vn-59379455 is found in opserver 2025-12-17 19:03:50,557 - DEBUG - Do not have enough data to verify VN in agent 2025-12-17 19:03:50,562 - DEBUG - VRF ids for VN ctest-vn-59379455: {} 2025-12-17 19:03:50,622 - DEBUG - Services list from nova: [, , ] 2025-12-17 19:03:51,664 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4898-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4898-1) 2025-12-17 19:03:52,913 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4898-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4898-1) 2025-12-17 19:03:52,914 - INFO - Waiting for VM ctest-TestBasicPolicy-79519136-19548675 to be up.. 2025-12-17 19:03:52,995 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-17 19:03:58,075 - DEBUG - VM is in ACTIVE state now 2025-12-17 19:03:58,075 - INFO - VM name : ctest-TestBasicPolicy-79519136-19548675 2025-12-17 19:03:58,152 - DEBUG - VM ctest-TestBasicPolicy-79519136-19548675 ID is 24454283-e3ce-430a-a825-18a1033c7549 2025-12-17 19:03:58,171 - DEBUG - VM ctest-TestBasicPolicy-79519136-19548675 launched on Node cn-jenkins-deploy-platform-ansible-os-4898-1 2025-12-17 19:03:58,244 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/24454283-e3ce-430a-a825-18a1033c7549 2025-12-17 19:03:58,252 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e5c8ef92-00f8-41e7-bbf7-d0fb12e540de 2025-12-17 19:04:01,482 - 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 1003ms') 2025-12-17 19:04:01,482 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-79519136-19548675 failed! 2025-12-17 19:04:01,539 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-79519136:ctest-vn-62047156 is 99.7.191.65 and allocation pool is NOT set 2025-12-17 19:04:03,605 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=8.47 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.821 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 = 0.821/4.645/8.469/3.824 ms') 2025-12-17 19:04:03,606 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-79519136-19548675 passed 2025-12-17 19:04:03,755 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-17 19:04:03,755 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-79519136-19548675, IP 99.7.191.67, Port 22 2025-12-17 19:04:03,918 - DEBUG - VM ctest-TestBasicPolicy-79519136-19548675 is ready for SSH connections 2025-12-17 19:04:03,919 - INFO - Waiting for VM ctest-TestBasicPolicy-79519136-38390332 to be up.. 2025-12-17 19:04:04,001 - DEBUG - VM is in ACTIVE state now 2025-12-17 19:04:04,001 - INFO - VM name : ctest-TestBasicPolicy-79519136-38390332 2025-12-17 19:04:04,082 - DEBUG - VM ctest-TestBasicPolicy-79519136-38390332 ID is 762e190c-352a-48ec-aaa4-eb16e278ca7a 2025-12-17 19:04:04,082 - DEBUG - VM ctest-TestBasicPolicy-79519136-38390332 launched on Node cn-jenkins-deploy-platform-ansible-os-4898-1 2025-12-17 19:04:04,160 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/762e190c-352a-48ec-aaa4-eb16e278ca7a 2025-12-17 19:04:04,169 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d9404995-3727-4cb5-94fa-c7cf055d8bcc 2025-12-17 19:04:05,412 - 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=4.99 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.37 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 = 2.366/3.677/4.989/1.311 ms') 2025-12-17 19:04:05,412 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-79519136-38390332 passed 2025-12-17 19:04:05,563 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-17 19:04:05,563 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-79519136-38390332, IP 62.33.203.3, Port 22 2025-12-17 19:04:05,719 - DEBUG - VM ctest-TestBasicPolicy-79519136-38390332 is ready for SSH connections 2025-12-17 19:04:05,719 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-17 19:04:05,719 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 62.33.203.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-12-17 19:04:05,719 - DEBUG - ping -s 56 -c 3 -W 1 62.33.203.3 2025-12-17 19:04:09,451 - DEBUG - PING 62.33.203.3 (62.33.203.3): 56 data bytes 64 bytes from 62.33.203.3: seq=0 ttl=63 time=4.157 ms 64 bytes from 62.33.203.3: seq=1 ttl=63 time=0.929 ms 64 bytes from 62.33.203.3: seq=2 ttl=63 time=0.997 ms --- 62.33.203.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.929/2.027/4.157 ms 2025-12-17 19:04:09,452 - INFO - Ping to IP 62.33.203.3 from VM ctest-TestBasicPolicy-79519136-19548675 passed 2025-12-17 19:04:09,627 - DEBUG - Policy Update Response {"network-policy": {"uuid": "bd926ba6-d011-483f-955f-2e0b8dcd6001", "href": "http://10.0.0.50:8082/network-policy/bd926ba6-d011-483f-955f-2e0b8dcd6001"}} 2025-12-17 19:04:09,627 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-17 19:04:09,627 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 62.33.203.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-12-17 19:04:09,627 - DEBUG - ping -s 56 -c 3 -W 1 62.33.203.3 2025-12-17 19:04:12,847 - DEBUG - PING 62.33.203.3 (62.33.203.3): 56 data bytes --- 62.33.203.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-17 19:04:12,847 - WARNING - Ping to IP 62.33.203.3 from VM ctest-TestBasicPolicy-79519136-19548675 failed 2025-12-17 19:04:12,847 - INFO - Deleting VM ctest-TestBasicPolicy-79519136-38390332 2025-12-17 19:04:12,935 - INFO - Deleting VM ctest-TestBasicPolicy-79519136-19548675 2025-12-17 19:04:13,343 - INFO - Deleted policy ctest-policy-allow-all-92081537 2025-12-17 19:04:13,344 - INFO - Deleting VN ctest-vn-59379455 2025-12-17 19:04:13,380 - DEBUG - VN f91a9a69-585d-4472-89a9-3abe37808589 still in use: Unable to complete operation on network f91a9a69-585d-4472-89a9-3abe37808589. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cd2898f0-db21-452a-a6ed-c88ab8dab4a8'] 2025-12-17 19:04:13,381 - WARNING - Deleting VN ctest-vn-59379455 failed..Will retry 2025-12-17 19:04:15,477 - DEBUG - Response for deleting network () 2025-12-17 19:04:15,477 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/db29cadd-8f6d-4c9d-8687-3915636f7b3d 2025-12-17 19:04:15,483 - DEBUG - Response Code: 404 2025-12-17 19:04:15,483 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-12-17 19:04:15,489 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d07efacc-620b-4f1c-9875-9cf04f425a79 2025-12-17 19:04:15,544 - DEBUG - Requesting: http://10.0.0.50:8082/project/83aa0a74-9793-4b98-b251-f652f90c095f 2025-12-17 19:04:15,613 - INFO - Validated that VN ctest-vn-59379455 is not found in API Server 2025-12-17 19:04:15,621 - DEBUG - VN ctest-vn-59379455 is not present in Agent 10.0.0.50 2025-12-17 19:04:15,621 - INFO - Validated that VN ctest-vn-59379455 is not in any agent 2025-12-17 19:04:15,635 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-59379455 info 2025-12-17 19:04:15,635 - INFO - Deleting VN ctest-vn-62047156 2025-12-17 19:04:15,737 - DEBUG - Response for deleting network () 2025-12-17 19:04:15,737 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f672875e-0806-4e1a-9b16-5d79491d4974 2025-12-17 19:04:15,742 - DEBUG - Response Code: 404 2025-12-17 19:04:15,742 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-12-17 19:04:15,748 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d07efacc-620b-4f1c-9875-9cf04f425a79 2025-12-17 19:04:15,804 - DEBUG - Requesting: http://10.0.0.50:8082/project/83aa0a74-9793-4b98-b251-f652f90c095f 2025-12-17 19:04:15,879 - INFO - Validated that VN ctest-vn-62047156 is not found in API Server 2025-12-17 19:04:15,889 - DEBUG - VN ctest-vn-62047156 is not present in Agent 10.0.0.50 2025-12-17 19:04:15,889 - INFO - Validated that VN ctest-vn-62047156 is not in any agent 2025-12-17 19:04:15,903 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-62047156 info 2025-12-17 19:04:16,160 - DEBUG - No XMPP flaps were noticed during the test 2025-12-17 19:04:16,160 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-12-17 19:04:16,160 - INFO - -------------------------------------------------------------------------------- 2025-12-17 19:04:16,852 - INFO - Deleted project: ctest-TestBasicPolicy-79519136, ID : 83aa0a74-9793-4b98-b251-f652f90c095f