2026-11-27 21:51:18,267 - INFO - Domain Default found not creating 2026-11-27 21:51:18,445 - INFO - Project ctest-TestBasicPolicy-18138887 not found, creating it 2026-11-27 21:51:18,920 - INFO - Created Project:ctest-TestBasicPolicy-18138887, ID : 174cc155-63d0-4f36-bc34-bd290de93367 2026-11-27 21:51:20,666 - INFO - ================================================================================ 2026-11-27 21:51:20,666 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-11-27 21:51:20,666 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2026-11-27 21:51:20,932 - DEBUG - Nothing to compare xmpp stats {'10.0.0.177': {'10.20.0.30': '0'}} with 2026-11-27 21:51:20,932 - INFO - Initial checks done. Running the testcase now 2026-11-27 21:51:20,933 - INFO - 2026-11-27 21:51:21,579 - DEBUG - Response for create_network : {'network': {'id': '9b7d8701-7b9e-4a81-a08a-f50cfe522df3', 'name': 'ctest-vn-97885756', 'tenant_id': '174cc15563d04f36bc34bd290de93367', 'project_id': '174cc15563d04f36bc34bd290de93367', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18138887', 'ctest-vn-97885756'], 'port_security_enabled': True, 'description': ''}} 2026-11-27 21:51:21,750 - DEBUG - Response for create_subnet : {'subnet': {'id': '2bb3c12d-a21f-4bf0-94b5-c932c6dec796', 'name': '', 'tenant_id': '174cc15563d04f36bc34bd290de93367', 'network_id': '9b7d8701-7b9e-4a81-a08a-f50cfe522df3', 'ip_version': 4, 'cidr': '50.232.62.128/26', 'allocation_pools': [{'start': '50.232.62.130', 'end': '50.232.62.190'}], 'gateway_ip': '50.232.62.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.232.62.130', 'tags': [], 'project_id': '174cc15563d04f36bc34bd290de93367'}} 2026-11-27 21:51:21,769 - INFO - Created VN ctest-vn-97885756 2026-11-27 21:51:21,824 - DEBUG - VN ctest-vn-97885756 UUID is 9b7d8701-7b9e-4a81-a08a-f50cfe522df3 2026-11-27 21:51:22,144 - DEBUG - Response for create_network : {'network': {'id': 'e998683f-74a1-45e9-8b2a-acb7fe60d5f4', 'name': 'ctest-vn-96679925', 'tenant_id': '174cc15563d04f36bc34bd290de93367', 'project_id': '174cc15563d04f36bc34bd290de93367', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18138887', 'ctest-vn-96679925'], 'port_security_enabled': True, 'description': ''}} 2026-11-27 21:51:22,312 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f20e682b-4a97-4de3-882e-8cc1654ffa7e', 'name': '', 'tenant_id': '174cc15563d04f36bc34bd290de93367', 'network_id': 'e998683f-74a1-45e9-8b2a-acb7fe60d5f4', 'ip_version': 4, 'cidr': '173.146.119.128/26', 'allocation_pools': [{'start': '173.146.119.130', 'end': '173.146.119.190'}], 'gateway_ip': '173.146.119.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '173.146.119.130', 'tags': [], 'project_id': '174cc15563d04f36bc34bd290de93367'}} 2026-11-27 21:51:22,330 - INFO - Created VN ctest-vn-96679925 2026-11-27 21:51:22,383 - DEBUG - VN ctest-vn-96679925 UUID is e998683f-74a1-45e9-8b2a-acb7fe60d5f4 2026-11-27 21:51:22,510 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-18138887:ctest-vn-97885756, 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-18138887:ctest-vn-96679925, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2026-11-27 21:51:22,831 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9b7d8701-7b9e-4a81-a08a-f50cfe522df3', 'name': 'ctest-vn-97885756', 'tenant_id': '174cc15563d04f36bc34bd290de93367', 'project_id': '174cc15563d04f36bc34bd290de93367', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['2bb3c12d-a21f-4bf0-94b5-c932c6dec796'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18138887', 'ctest-vn-97885756'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-18138887', 'ctest-policy-allow-all-49478810']], 'subnet_ipam': [{'subnet_cidr': '50.232.62.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-27 21:51:23,090 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e998683f-74a1-45e9-8b2a-acb7fe60d5f4', 'name': 'ctest-vn-96679925', 'tenant_id': '174cc15563d04f36bc34bd290de93367', 'project_id': '174cc15563d04f36bc34bd290de93367', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['f20e682b-4a97-4de3-882e-8cc1654ffa7e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18138887', 'ctest-vn-96679925'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-18138887', 'ctest-policy-allow-all-49478810']], 'subnet_ipam': [{'subnet_cidr': '173.146.119.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-27 21:51:23,263 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-11-27 21:51:23,659 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-11-27 21:51:23,694 - DEBUG - Requesting: http://10.0.0.177:8082/domain/0e2db5d9-8e9d-416d-923c-788061959b43 2026-11-27 21:51:23,706 - DEBUG - Requesting: http://10.0.0.177:8082/project/174cc155-63d0-4f36-bc34-bd290de93367 2026-11-27 21:51:23,782 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/9b7d8701-7b9e-4a81-a08a-f50cfe522df3 2026-11-27 21:51:23,794 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/9b7d8701-7b9e-4a81-a08a-f50cfe522df3 2026-11-27 21:51:23,803 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/b5de8ae0-06fc-4fe1-906a-16f77143b608 2026-11-27 21:51:23,810 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/b5de8ae0-06fc-4fe1-906a-16f77143b608 2026-11-27 21:51:23,816 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/4d9ec05c-2a4a-48d6-ad01-eb2d614a3347 2026-11-27 21:51:23,821 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-27 21:51:23,821 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/9b7d8701-7b9e-4a81-a08a-f50cfe522df3 2026-11-27 21:51:23,829 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/b5de8ae0-06fc-4fe1-906a-16f77143b608 2026-11-27 21:51:23,842 - INFO - Verified VN network id 12 for VN 9b7d8701-7b9e-4a81-a08a-f50cfe522df3 2026-11-27 21:51:23,843 - INFO - Verifications in API Server for VN ctest-vn-97885756 passed 2026-11-27 21:51:23,843 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/9b7d8701-7b9e-4a81-a08a-f50cfe522df3 2026-11-27 21:51:23,851 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/b5de8ae0-06fc-4fe1-906a-16f77143b608 2026-11-27 21:51:23,858 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/b5de8ae0-06fc-4fe1-906a-16f77143b608 2026-11-27 21:51:23,864 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/4d9ec05c-2a4a-48d6-ad01-eb2d614a3347 2026-11-27 21:51:23,874 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18138887:ctest-vn-97885756', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18138887', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11204259888406350465', 'uuid-lslong': '11568328029009751539'}, 'enable': 'true', 'created': '2026-11-27T21:51:21', 'last-modified': '2026-11-27T21:51:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.071284'} 2026-11-27 21:51:23,881 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-27 21:51:23,881 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-97885756 passed 2026-11-27 21:51:23,881 - DEBUG - ====Verifying policy data for ctest-vn-97885756 in API_Server ====== 2026-11-27 21:51:23,881 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-11-27 21:51:23,886 - DEBUG - Requesting: http://10.0.0.177:8082/domain/0e2db5d9-8e9d-416d-923c-788061959b43 2026-11-27 21:51:23,896 - DEBUG - Requesting: http://10.0.0.177:8082/project/174cc155-63d0-4f36-bc34-bd290de93367 2026-11-27 21:51:23,973 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/9b7d8701-7b9e-4a81-a08a-f50cfe522df3 2026-11-27 21:51:23,982 - DEBUG - ==>Verifying data for policy with id: 7e8e5cf0-1061-4785-8157-f5b9e25f35b7, fqn: ['default-domain', 'ctest-TestBasicPolicy-18138887', 'ctest-policy-allow-all-49478810'] 2026-11-27 21:51:23,982 - INFO - VN ctest-vn-97885756 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-27 21:51:23,982 - DEBUG - Verifying the vn in opserver 2026-11-27 21:51:23,982 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18138887:ctest-vn-97885756 virtual network link through opserver 10.0.0.177 2026-11-27 21:51:23,982 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-11-27 21:51:24,395 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-11-27 21:51:24,449 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18138887:ctest-vn-97885756', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18138887:ctest-vn-97885756?flat'} 2026-11-27 21:51:24,449 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-18138887:ctest-vn-97885756 is found in opserver 2026-11-27 21:51:24,462 - DEBUG - Do not have enough data to verify VN in agent 2026-11-27 21:51:24,470 - DEBUG - VRF ids for VN ctest-vn-97885756: {} 2026-11-27 21:51:24,470 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-11-27 21:51:24,475 - DEBUG - Requesting: http://10.0.0.177:8082/domain/0e2db5d9-8e9d-416d-923c-788061959b43 2026-11-27 21:51:24,485 - DEBUG - Requesting: http://10.0.0.177:8082/project/174cc155-63d0-4f36-bc34-bd290de93367 2026-11-27 21:51:24,557 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/e998683f-74a1-45e9-8b2a-acb7fe60d5f4 2026-11-27 21:51:24,570 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/e998683f-74a1-45e9-8b2a-acb7fe60d5f4 2026-11-27 21:51:24,579 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/3780a236-48c3-4fd7-a181-376f8290953a 2026-11-27 21:51:24,586 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/3780a236-48c3-4fd7-a181-376f8290953a 2026-11-27 21:51:24,593 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/cb91c597-7cc6-4177-960e-8c2576f06266 2026-11-27 21:51:24,600 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-27 21:51:24,600 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/e998683f-74a1-45e9-8b2a-acb7fe60d5f4 2026-11-27 21:51:24,609 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/3780a236-48c3-4fd7-a181-376f8290953a 2026-11-27 21:51:24,624 - INFO - Verified VN network id 13 for VN e998683f-74a1-45e9-8b2a-acb7fe60d5f4 2026-11-27 21:51:24,624 - INFO - Verifications in API Server for VN ctest-vn-96679925 passed 2026-11-27 21:51:24,624 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/e998683f-74a1-45e9-8b2a-acb7fe60d5f4 2026-11-27 21:51:24,634 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/3780a236-48c3-4fd7-a181-376f8290953a 2026-11-27 21:51:24,640 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/3780a236-48c3-4fd7-a181-376f8290953a 2026-11-27 21:51:24,647 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/cb91c597-7cc6-4177-960e-8c2576f06266 2026-11-27 21:51:24,661 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18138887:ctest-vn-96679925', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18138887', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16832318229046183401', 'uuid-lslong': '10028017426540582388'}, 'enable': 'true', 'created': '2026-11-27T21:51:22', 'last-modified': '2026-11-27T21:51:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.599483'} 2026-11-27 21:51:24,667 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-27 21:51:24,667 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96679925 passed 2026-11-27 21:51:24,668 - DEBUG - ====Verifying policy data for ctest-vn-96679925 in API_Server ====== 2026-11-27 21:51:24,668 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-11-27 21:51:24,674 - DEBUG - Requesting: http://10.0.0.177:8082/domain/0e2db5d9-8e9d-416d-923c-788061959b43 2026-11-27 21:51:24,685 - DEBUG - Requesting: http://10.0.0.177:8082/project/174cc155-63d0-4f36-bc34-bd290de93367 2026-11-27 21:51:24,757 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/e998683f-74a1-45e9-8b2a-acb7fe60d5f4 2026-11-27 21:51:24,767 - DEBUG - ==>Verifying data for policy with id: 7e8e5cf0-1061-4785-8157-f5b9e25f35b7, fqn: ['default-domain', 'ctest-TestBasicPolicy-18138887', 'ctest-policy-allow-all-49478810'] 2026-11-27 21:51:24,767 - INFO - VN ctest-vn-96679925 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-27 21:51:24,767 - DEBUG - Verifying the vn in opserver 2026-11-27 21:51:24,768 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18138887:ctest-vn-96679925 virtual network link through opserver 10.0.0.177 2026-11-27 21:51:24,768 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-11-27 21:51:24,779 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18138887:ctest-vn-96679925', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18138887:ctest-vn-96679925?flat'} 2026-11-27 21:51:24,779 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-18138887:ctest-vn-96679925 is found in opserver 2026-11-27 21:51:24,790 - DEBUG - Do not have enough data to verify VN in agent 2026-11-27 21:51:24,794 - DEBUG - VRF ids for VN ctest-vn-96679925: {} 2026-11-27 21:51:24,853 - DEBUG - Services list from nova: [, , ] 2026-11-27 21:51:25,302 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6518-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6518-1) 2026-11-27 21:51:25,685 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6518-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6518-1) 2026-11-27 21:51:25,685 - INFO - Waiting for VM ctest-TestBasicPolicy-18138887-98987955 to be up.. 2026-11-27 21:51:25,724 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-27 21:51:30,801 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-27 21:51:35,877 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-27 21:51:40,954 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-27 21:51:46,034 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-27 21:51:51,110 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-27 21:51:56,206 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-27 21:52:01,288 - DEBUG - VM is in ACTIVE state now 2026-11-27 21:52:01,288 - INFO - VM name : ctest-TestBasicPolicy-18138887-98987955 2026-11-27 21:52:01,367 - DEBUG - VM ctest-TestBasicPolicy-18138887-98987955 ID is 9b271a53-06a4-42f2-9821-d1d4fe9ca9e2 2026-11-27 21:52:01,389 - DEBUG - VM ctest-TestBasicPolicy-18138887-98987955 launched on Node cn-jenkins-deploy-platform-ansible-os-6518-1 2026-11-27 21:52:01,463 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/9b271a53-06a4-42f2-9821-d1d4fe9ca9e2 2026-11-27 21:52:01,471 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/26f4c183-e9e6-4923-8fa0-4f5dd559734e 2026-11-27 21:52:04,719 - 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 1018ms') 2026-11-27 21:52:04,719 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-18138887-98987955 failed! 2026-11-27 21:52:04,779 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-18138887:ctest-vn-97885756 is 50.232.62.129 and allocation pool is NOT set 2026-11-27 21:52:06,845 - 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=15.9 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.523 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.523/8.213/15.904/7.690 ms') 2026-11-27 21:52:06,845 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-18138887-98987955 passed 2026-11-27 21:52:06,999 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-27 21:52:06,999 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-18138887-98987955, IP 50.232.62.131, Port 22 2026-11-27 21:52:07,165 - DEBUG - VM ctest-TestBasicPolicy-18138887-98987955 is ready for SSH connections 2026-11-27 21:52:07,165 - INFO - Waiting for VM ctest-TestBasicPolicy-18138887-75691706 to be up.. 2026-11-27 21:52:07,242 - DEBUG - VM is in ACTIVE state now 2026-11-27 21:52:07,242 - INFO - VM name : ctest-TestBasicPolicy-18138887-75691706 2026-11-27 21:52:07,323 - DEBUG - VM ctest-TestBasicPolicy-18138887-75691706 ID is 912e8d6f-2ae1-40cc-99bf-7cb2aa8e983f 2026-11-27 21:52:07,323 - DEBUG - VM ctest-TestBasicPolicy-18138887-75691706 launched on Node cn-jenkins-deploy-platform-ansible-os-6518-1 2026-11-27 21:52:07,398 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/912e8d6f-2ae1-40cc-99bf-7cb2aa8e983f 2026-11-27 21:52:07,407 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/11a9a5ae-3bef-4c47-9504-73c91fa37bf5 2026-11-27 21:52:10,643 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1002ms') 2026-11-27 21:52:10,643 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-18138887-75691706 failed! 2026-11-27 21:52:10,699 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-18138887:ctest-vn-96679925 is 173.146.119.129 and allocation pool is NOT set 2026-11-27 21:52:12,766 - 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=13.0 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.81 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 = 3.807/8.399/12.992/4.592 ms') 2026-11-27 21:52:12,766 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-18138887-75691706 passed 2026-11-27 21:52:12,915 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-27 21:52:12,915 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-18138887-75691706, IP 173.146.119.131, Port 22 2026-11-27 21:52:13,075 - DEBUG - VM ctest-TestBasicPolicy-18138887-75691706 is ready for SSH connections 2026-11-27 21:52:13,075 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-27 21:52:13,075 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 173.146.119.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123 2026-11-27 21:52:13,075 - DEBUG - ping -s 56 -c 3 -W 1 173.146.119.131 2026-11-27 21:52:17,058 - DEBUG - PING 173.146.119.131 (173.146.119.131): 56 data bytes 64 bytes from 173.146.119.131: seq=0 ttl=63 time=4.592 ms 64 bytes from 173.146.119.131: seq=1 ttl=63 time=0.873 ms 64 bytes from 173.146.119.131: seq=2 ttl=63 time=1.395 ms --- 173.146.119.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.873/2.286/4.592 ms 2026-11-27 21:52:17,058 - INFO - Ping to IP 173.146.119.131 from VM ctest-TestBasicPolicy-18138887-98987955 passed 2026-11-27 21:52:17,239 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7e8e5cf0-1061-4785-8157-f5b9e25f35b7", "href": "http://10.0.0.177:8082/network-policy/7e8e5cf0-1061-4785-8157-f5b9e25f35b7"}} 2026-11-27 21:52:17,239 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-27 21:52:17,239 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 173.146.119.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123 2026-11-27 21:52:17,239 - DEBUG - ping -s 56 -c 3 -W 1 173.146.119.131 2026-11-27 21:52:20,364 - DEBUG - PING 173.146.119.131 (173.146.119.131): 56 data bytes 64 bytes from 173.146.119.131: seq=0 ttl=63 time=1.617 ms --- 173.146.119.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.617/1.617/1.617 ms 2026-11-27 21:52:20,364 - WARNING - Ping to IP 173.146.119.131 from VM ctest-TestBasicPolicy-18138887-98987955 failed 2026-11-27 21:52:20,364 - INFO - Deleting VM ctest-TestBasicPolicy-18138887-75691706 2026-11-27 21:52:20,440 - INFO - Deleting VM ctest-TestBasicPolicy-18138887-98987955 2026-11-27 21:52:20,822 - INFO - Deleted policy ctest-policy-allow-all-49478810 2026-11-27 21:52:20,823 - INFO - Deleting VN ctest-vn-96679925 2026-11-27 21:52:20,861 - DEBUG - VN e998683f-74a1-45e9-8b2a-acb7fe60d5f4 still in use: Unable to complete operation on network e998683f-74a1-45e9-8b2a-acb7fe60d5f4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0b221e64-29f5-4e69-808c-71d7baefb7db'] 2026-11-27 21:52:20,861 - WARNING - Deleting VN ctest-vn-96679925 failed..Will retry 2026-11-27 21:52:22,903 - DEBUG - VN e998683f-74a1-45e9-8b2a-acb7fe60d5f4 still in use: Unable to complete operation on network e998683f-74a1-45e9-8b2a-acb7fe60d5f4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d4baf033-31eb-49b4-99df-403113587afd'] 2026-11-27 21:52:22,903 - WARNING - Deleting VN ctest-vn-96679925 failed..Will retry 2026-11-27 21:52:25,015 - DEBUG - Response for deleting network () 2026-11-27 21:52:25,015 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/3780a236-48c3-4fd7-a181-376f8290953a 2026-11-27 21:52:25,020 - DEBUG - Response Code: 404 2026-11-27 21:52:25,020 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-11-27 21:52:25,031 - DEBUG - Requesting: http://10.0.0.177:8082/domain/0e2db5d9-8e9d-416d-923c-788061959b43 2026-11-27 21:52:25,090 - DEBUG - Requesting: http://10.0.0.177:8082/project/174cc155-63d0-4f36-bc34-bd290de93367 2026-11-27 21:52:25,175 - INFO - Validated that VN ctest-vn-96679925 is not found in API Server 2026-11-27 21:52:25,188 - DEBUG - VN ctest-vn-96679925 is not present in Agent 10.0.0.177 2026-11-27 21:52:25,188 - INFO - Validated that VN ctest-vn-96679925 is not in any agent 2026-11-27 21:52:25,202 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-96679925 info 2026-11-27 21:52:25,202 - INFO - Deleting VN ctest-vn-97885756 2026-11-27 21:52:25,302 - DEBUG - Response for deleting network () 2026-11-27 21:52:25,302 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/b5de8ae0-06fc-4fe1-906a-16f77143b608 2026-11-27 21:52:25,308 - DEBUG - Response Code: 404 2026-11-27 21:52:25,308 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-11-27 21:52:25,313 - DEBUG - Requesting: http://10.0.0.177:8082/domain/0e2db5d9-8e9d-416d-923c-788061959b43 2026-11-27 21:52:25,365 - DEBUG - Requesting: http://10.0.0.177:8082/project/174cc155-63d0-4f36-bc34-bd290de93367 2026-11-27 21:52:25,438 - INFO - Validated that VN ctest-vn-97885756 is not found in API Server 2026-11-27 21:52:25,448 - DEBUG - VN ctest-vn-97885756 is not present in Agent 10.0.0.177 2026-11-27 21:52:25,448 - INFO - Validated that VN ctest-vn-97885756 is not in any agent 2026-11-27 21:52:25,462 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-97885756 info 2026-11-27 21:52:25,716 - DEBUG - No XMPP flaps were noticed during the test
2026-11-27 21:52:25,716 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:05]
2026-11-27 21:52:25,717 - INFO - -------------------------------------------------------------------------------- 2026-11-27 21:52:26,534 - INFO - Deleted project: ctest-TestBasicPolicy-18138887, ID : 174cc155-63d0-4f36-bc34-bd290de93367