2025-07-31 02:40:30,460 - INFO - Domain Default found not creating 2025-07-31 02:40:30,710 - INFO - Project ctest-TestBasicPolicy-97617009 not found, creating it 2025-07-31 02:40:31,506 - INFO - Created Project:ctest-TestBasicPolicy-97617009, ID : e5eb5a81-1ebb-431f-8c4d-744a7dbc348e 2025-07-31 02:40:33,466 - INFO - ================================================================================ 2025-07-31 02:40:33,466 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-31 02:40:33,466 - 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-07-31 02:40:33,785 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.129': '0'}} with 2025-07-31 02:40:33,785 - INFO - Initial checks done. Running the testcase now 2025-07-31 02:40:33,785 - INFO - 2025-07-31 02:40:34,568 - DEBUG - Response for create_network : {'network': {'id': 'dc0d7f81-786a-4fbd-9d1c-77a046c87731', 'name': 'ctest-vn-68494251', 'tenant_id': 'e5eb5a811ebb431f8c4d744a7dbc348e', 'project_id': 'e5eb5a811ebb431f8c4d744a7dbc348e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97617009', 'ctest-vn-68494251'], 'port_security_enabled': True, 'description': ''}} 2025-07-31 02:40:34,759 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ae00efb5-5c2f-4c4c-ae2b-df719466062a', 'name': '', 'tenant_id': 'e5eb5a811ebb431f8c4d744a7dbc348e', 'network_id': 'dc0d7f81-786a-4fbd-9d1c-77a046c87731', 'ip_version': 4, 'cidr': '191.240.244.0/26', 'allocation_pools': [{'start': '191.240.244.2', 'end': '191.240.244.62'}], 'gateway_ip': '191.240.244.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '191.240.244.2', 'tags': [], 'project_id': 'e5eb5a811ebb431f8c4d744a7dbc348e'}} 2025-07-31 02:40:34,784 - INFO - Created VN ctest-vn-68494251 2025-07-31 02:40:34,839 - DEBUG - VN ctest-vn-68494251 UUID is dc0d7f81-786a-4fbd-9d1c-77a046c87731 2025-07-31 02:40:35,267 - DEBUG - Response for create_network : {'network': {'id': '835601a4-24d4-4c7b-a85a-568a0c0865f9', 'name': 'ctest-vn-15181906', 'tenant_id': 'e5eb5a811ebb431f8c4d744a7dbc348e', 'project_id': 'e5eb5a811ebb431f8c4d744a7dbc348e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97617009', 'ctest-vn-15181906'], 'port_security_enabled': True, 'description': ''}} 2025-07-31 02:40:35,495 - DEBUG - Response for create_subnet : {'subnet': {'id': '74ce3033-a3ba-4506-b057-a320b3aab825', 'name': '', 'tenant_id': 'e5eb5a811ebb431f8c4d744a7dbc348e', 'network_id': '835601a4-24d4-4c7b-a85a-568a0c0865f9', 'ip_version': 4, 'cidr': '69.164.229.128/26', 'allocation_pools': [{'start': '69.164.229.130', 'end': '69.164.229.190'}], 'gateway_ip': '69.164.229.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '69.164.229.130', 'tags': [], 'project_id': 'e5eb5a811ebb431f8c4d744a7dbc348e'}} 2025-07-31 02:40:35,521 - INFO - Created VN ctest-vn-15181906 2025-07-31 02:40:35,575 - DEBUG - VN ctest-vn-15181906 UUID is 835601a4-24d4-4c7b-a85a-568a0c0865f9 2025-07-31 02:40:35,756 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-97617009:ctest-vn-68494251, 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-97617009:ctest-vn-15181906, 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-07-31 02:40:36,251 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'dc0d7f81-786a-4fbd-9d1c-77a046c87731', 'name': 'ctest-vn-68494251', 'tenant_id': 'e5eb5a811ebb431f8c4d744a7dbc348e', 'project_id': 'e5eb5a811ebb431f8c4d744a7dbc348e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ae00efb5-5c2f-4c4c-ae2b-df719466062a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97617009', 'ctest-vn-68494251'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-97617009', 'ctest-policy-allow-all-73036663']], 'subnet_ipam': [{'subnet_cidr': '191.240.244.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-31 02:40:36,548 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '835601a4-24d4-4c7b-a85a-568a0c0865f9', 'name': 'ctest-vn-15181906', 'tenant_id': 'e5eb5a811ebb431f8c4d744a7dbc348e', 'project_id': 'e5eb5a811ebb431f8c4d744a7dbc348e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['74ce3033-a3ba-4506-b057-a320b3aab825'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97617009', 'ctest-vn-15181906'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-97617009', 'ctest-policy-allow-all-73036663']], 'subnet_ipam': [{'subnet_cidr': '69.164.229.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-31 02:40:36,739 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-07-31 02:40:37,052 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-07-31 02:40:37,100 - DEBUG - Requesting: http://10.0.0.19:8082/domain/67ed8bce-74e2-40f8-a742-a51200f0f5e7 2025-07-31 02:40:37,125 - DEBUG - Requesting: http://10.0.0.19:8082/project/e5eb5a81-1ebb-431f-8c4d-744a7dbc348e 2025-07-31 02:40:37,246 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/dc0d7f81-786a-4fbd-9d1c-77a046c87731 2025-07-31 02:40:37,284 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/dc0d7f81-786a-4fbd-9d1c-77a046c87731 2025-07-31 02:40:37,319 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/9dbdecc5-5c75-482a-beae-1a8cb88ef5ff 2025-07-31 02:40:37,343 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/9dbdecc5-5c75-482a-beae-1a8cb88ef5ff 2025-07-31 02:40:37,371 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/2285d443-f1f6-4d31-934a-8c5fb14daf97 2025-07-31 02:40:37,397 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-31 02:40:37,398 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/dc0d7f81-786a-4fbd-9d1c-77a046c87731 2025-07-31 02:40:37,431 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/9dbdecc5-5c75-482a-beae-1a8cb88ef5ff 2025-07-31 02:40:37,463 - INFO - Verified VN network id 11 for VN dc0d7f81-786a-4fbd-9d1c-77a046c87731 2025-07-31 02:40:37,463 - INFO - Verifications in API Server for VN ctest-vn-68494251 passed 2025-07-31 02:40:37,463 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/dc0d7f81-786a-4fbd-9d1c-77a046c87731 2025-07-31 02:40:37,490 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/9dbdecc5-5c75-482a-beae-1a8cb88ef5ff 2025-07-31 02:40:37,513 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/9dbdecc5-5c75-482a-beae-1a8cb88ef5ff 2025-07-31 02:40:37,530 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/2285d443-f1f6-4d31-934a-8c5fb14daf97 2025-07-31 02:40:37,567 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-97617009:ctest-vn-68494251', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-97617009', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15856470057089126333', 'uuid-lslong': '11321055093568599857'}, 'enable': 'true', 'created': '2025-07-31T02:40:34', 'last-modified': '2025-07-31T02:40:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.383750'} 2025-07-31 02:40:37,595 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-31 02:40:37,596 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68494251 passed 2025-07-31 02:40:37,596 - DEBUG - ====Verifying policy data for ctest-vn-68494251 in API_Server ====== 2025-07-31 02:40:37,596 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-07-31 02:40:37,614 - DEBUG - Requesting: http://10.0.0.19:8082/domain/67ed8bce-74e2-40f8-a742-a51200f0f5e7 2025-07-31 02:40:37,650 - DEBUG - Requesting: http://10.0.0.19:8082/project/e5eb5a81-1ebb-431f-8c4d-744a7dbc348e 2025-07-31 02:40:37,777 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/dc0d7f81-786a-4fbd-9d1c-77a046c87731 2025-07-31 02:40:37,793 - DEBUG - ==>Verifying data for policy with id: 12e35eba-0941-4ad5-b673-59d70a8ad7b8, fqn: ['default-domain', 'ctest-TestBasicPolicy-97617009', 'ctest-policy-allow-all-73036663'] 2025-07-31 02:40:37,793 - INFO - VN ctest-vn-68494251 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-31 02:40:37,793 - DEBUG - Verifying the vn in opserver 2025-07-31 02:40:37,793 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-97617009:ctest-vn-68494251 virtual network link through opserver 10.0.0.19 2025-07-31 02:40:37,794 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-07-31 02:40:38,111 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-07-31 02:40:38,273 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-97617009:ctest-vn-68494251', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-97617009:ctest-vn-68494251?flat'} 2025-07-31 02:40:38,273 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-97617009:ctest-vn-68494251 is found in opserver 2025-07-31 02:40:38,311 - DEBUG - Do not have enough data to verify VN in agent 2025-07-31 02:40:38,330 - DEBUG - VRF ids for VN ctest-vn-68494251: {} 2025-07-31 02:40:38,331 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-07-31 02:40:38,348 - DEBUG - Requesting: http://10.0.0.19:8082/domain/67ed8bce-74e2-40f8-a742-a51200f0f5e7 2025-07-31 02:40:38,386 - DEBUG - Requesting: http://10.0.0.19:8082/project/e5eb5a81-1ebb-431f-8c4d-744a7dbc348e 2025-07-31 02:40:38,516 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/835601a4-24d4-4c7b-a85a-568a0c0865f9 2025-07-31 02:40:38,545 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/835601a4-24d4-4c7b-a85a-568a0c0865f9 2025-07-31 02:40:38,563 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/e17b7e08-f485-4e26-b1f3-e82f5a0289ba 2025-07-31 02:40:38,578 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/e17b7e08-f485-4e26-b1f3-e82f5a0289ba 2025-07-31 02:40:38,591 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/6b8bbe8b-3671-4cde-b288-d90b524d041b 2025-07-31 02:40:38,606 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-31 02:40:38,607 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/835601a4-24d4-4c7b-a85a-568a0c0865f9 2025-07-31 02:40:38,627 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/e17b7e08-f485-4e26-b1f3-e82f5a0289ba 2025-07-31 02:40:38,662 - INFO - Verified VN network id 12 for VN 835601a4-24d4-4c7b-a85a-568a0c0865f9 2025-07-31 02:40:38,663 - INFO - Verifications in API Server for VN ctest-vn-15181906 passed 2025-07-31 02:40:38,663 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/835601a4-24d4-4c7b-a85a-568a0c0865f9 2025-07-31 02:40:38,693 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/e17b7e08-f485-4e26-b1f3-e82f5a0289ba 2025-07-31 02:40:38,711 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/e17b7e08-f485-4e26-b1f3-e82f5a0289ba 2025-07-31 02:40:38,729 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/6b8bbe8b-3671-4cde-b288-d90b524d041b 2025-07-31 02:40:38,762 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-97617009:ctest-vn-15181906', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-97617009', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9463753471469833339', 'uuid-lslong': '12131103697183204857'}, 'enable': 'true', 'created': '2025-07-31T02:40:35', 'last-modified': '2025-07-31T02:40:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.256163'} 2025-07-31 02:40:38,781 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-31 02:40:38,781 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-15181906 passed 2025-07-31 02:40:38,782 - DEBUG - ====Verifying policy data for ctest-vn-15181906 in API_Server ====== 2025-07-31 02:40:38,782 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-07-31 02:40:38,791 - DEBUG - Requesting: http://10.0.0.19:8082/domain/67ed8bce-74e2-40f8-a742-a51200f0f5e7 2025-07-31 02:40:38,808 - DEBUG - Requesting: http://10.0.0.19:8082/project/e5eb5a81-1ebb-431f-8c4d-744a7dbc348e 2025-07-31 02:40:38,899 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/835601a4-24d4-4c7b-a85a-568a0c0865f9 2025-07-31 02:40:38,919 - DEBUG - ==>Verifying data for policy with id: 12e35eba-0941-4ad5-b673-59d70a8ad7b8, fqn: ['default-domain', 'ctest-TestBasicPolicy-97617009', 'ctest-policy-allow-all-73036663'] 2025-07-31 02:40:38,919 - INFO - VN ctest-vn-15181906 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-31 02:40:38,920 - DEBUG - Verifying the vn in opserver 2025-07-31 02:40:38,920 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-97617009:ctest-vn-15181906 virtual network link through opserver 10.0.0.19 2025-07-31 02:40:38,920 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-07-31 02:40:38,949 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-97617009:ctest-vn-15181906', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-97617009:ctest-vn-15181906?flat'} 2025-07-31 02:40:38,949 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-97617009:ctest-vn-15181906 is found in opserver 2025-07-31 02:40:38,976 - DEBUG - Do not have enough data to verify VN in agent 2025-07-31 02:40:38,989 - DEBUG - VRF ids for VN ctest-vn-15181906: {} 2025-07-31 02:40:39,143 - DEBUG - Services list from nova: [, , ] 2025-07-31 02:40:40,701 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3731-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3731-1) 2025-07-31 02:40:42,154 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3731-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3731-1) 2025-07-31 02:40:42,154 - INFO - Waiting for VM ctest-TestBasicPolicy-97617009-21437148 to be up.. 2025-07-31 02:40:42,260 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-31 02:40:47,415 - DEBUG - VM is in ACTIVE state now 2025-07-31 02:40:47,415 - INFO - VM name : ctest-TestBasicPolicy-97617009-21437148 2025-07-31 02:40:47,558 - DEBUG - VM ctest-TestBasicPolicy-97617009-21437148 ID is e2c18237-998a-4501-8408-3aef9e1a78ef 2025-07-31 02:40:47,599 - DEBUG - VM ctest-TestBasicPolicy-97617009-21437148 launched on Node cn-jenkins-deploy-platform-ansible-os-3731-1 2025-07-31 02:40:47,732 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/e2c18237-998a-4501-8408-3aef9e1a78ef 2025-07-31 02:40:47,747 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/8239a833-cd48-4187-a0cc-448816508f3b 2025-07-31 02:40:51,026 - 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 1013ms') 2025-07-31 02:40:51,026 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-97617009-21437148 failed! 2025-07-31 02:40:51,103 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-97617009:ctest-vn-68494251 is 191.240.244.1 and allocation pool is NOT set 2025-07-31 02:40:53,167 - 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=7.89 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.604 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.604/4.244/7.885/3.640 ms') 2025-07-31 02:40:53,167 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-97617009-21437148 passed 2025-07-31 02:40:53,351 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 02:40:53,352 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-97617009-21437148, IP 191.240.244.3, Port 22 2025-07-31 02:40:53,563 - DEBUG - VM ctest-TestBasicPolicy-97617009-21437148 is ready for SSH connections 2025-07-31 02:40:53,563 - INFO - Waiting for VM ctest-TestBasicPolicy-97617009-18064199 to be up.. 2025-07-31 02:40:53,741 - DEBUG - VM is in ACTIVE state now 2025-07-31 02:40:53,741 - INFO - VM name : ctest-TestBasicPolicy-97617009-18064199 2025-07-31 02:40:53,883 - DEBUG - VM ctest-TestBasicPolicy-97617009-18064199 ID is 229be1c9-14eb-4165-9604-32e2b80750ae 2025-07-31 02:40:53,883 - DEBUG - VM ctest-TestBasicPolicy-97617009-18064199 launched on Node cn-jenkins-deploy-platform-ansible-os-3731-1 2025-07-31 02:40:54,056 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/229be1c9-14eb-4165-9604-32e2b80750ae 2025-07-31 02:40:54,083 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/5b7abbe7-4e28-41d4-86e3-5a91f56259e6 2025-07-31 02:40:55,411 - 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.02 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.07 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.024/3.047/3.071/0.023 ms') 2025-07-31 02:40:55,412 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-97617009-18064199 passed 2025-07-31 02:40:55,588 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 02:40:55,588 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-97617009-18064199, IP 69.164.229.131, Port 22 2025-07-31 02:40:55,775 - DEBUG - VM ctest-TestBasicPolicy-97617009-18064199 is ready for SSH connections 2025-07-31 02:40:55,776 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 02:40:55,776 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 69.164.229.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-07-31 02:40:55,776 - DEBUG - ping -s 56 -c 3 -W 1 69.164.229.131 2025-07-31 02:41:00,443 - DEBUG - PING 69.164.229.131 (69.164.229.131): 56 data bytes 64 bytes from 69.164.229.131: seq=0 ttl=63 time=5.882 ms 64 bytes from 69.164.229.131: seq=1 ttl=63 time=1.152 ms 64 bytes from 69.164.229.131: seq=2 ttl=63 time=1.199 ms --- 69.164.229.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.152/2.744/5.882 ms 2025-07-31 02:41:00,443 - INFO - Ping to IP 69.164.229.131 from VM ctest-TestBasicPolicy-97617009-21437148 passed 2025-07-31 02:41:00,643 - DEBUG - Policy Update Response {"network-policy": {"uuid": "12e35eba-0941-4ad5-b673-59d70a8ad7b8", "href": "http://10.0.0.19:8082/network-policy/12e35eba-0941-4ad5-b673-59d70a8ad7b8"}} 2025-07-31 02:41:00,643 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 02:41:00,643 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 69.164.229.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-07-31 02:41:00,643 - DEBUG - ping -s 56 -c 3 -W 1 69.164.229.131 2025-07-31 02:41:03,891 - DEBUG - PING 69.164.229.131 (69.164.229.131): 56 data bytes --- 69.164.229.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-31 02:41:03,891 - WARNING - Ping to IP 69.164.229.131 from VM ctest-TestBasicPolicy-97617009-21437148 failed 2025-07-31 02:41:03,892 - INFO - Deleting VM ctest-TestBasicPolicy-97617009-18064199 2025-07-31 02:41:04,061 - INFO - Deleting VM ctest-TestBasicPolicy-97617009-21437148 2025-07-31 02:41:04,669 - INFO - Deleted policy ctest-policy-allow-all-73036663 2025-07-31 02:41:04,669 - INFO - Deleting VN ctest-vn-15181906 2025-07-31 02:41:04,724 - DEBUG - VN 835601a4-24d4-4c7b-a85a-568a0c0865f9 still in use: Unable to complete operation on network 835601a4-24d4-4c7b-a85a-568a0c0865f9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-307b6a6a-6148-4ad2-8a65-17173b8d362f'] 2025-07-31 02:41:04,724 - WARNING - Deleting VN ctest-vn-15181906 failed..Will retry 2025-07-31 02:41:06,977 - DEBUG - Response for deleting network () 2025-07-31 02:41:06,977 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/e17b7e08-f485-4e26-b1f3-e82f5a0289ba 2025-07-31 02:41:06,993 - DEBUG - Response Code: 404 2025-07-31 02:41:06,994 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-07-31 02:41:07,002 - DEBUG - Requesting: http://10.0.0.19:8082/domain/67ed8bce-74e2-40f8-a742-a51200f0f5e7 2025-07-31 02:41:07,058 - DEBUG - Requesting: http://10.0.0.19:8082/project/e5eb5a81-1ebb-431f-8c4d-744a7dbc348e 2025-07-31 02:41:07,140 - INFO - Validated that VN ctest-vn-15181906 is not found in API Server 2025-07-31 02:41:07,153 - DEBUG - VN ctest-vn-15181906 is not present in Agent 10.0.0.19 2025-07-31 02:41:07,153 - INFO - Validated that VN ctest-vn-15181906 is not in any agent 2025-07-31 02:41:07,172 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-15181906 info 2025-07-31 02:41:07,173 - INFO - Deleting VN ctest-vn-68494251 2025-07-31 02:41:07,298 - DEBUG - Response for deleting network () 2025-07-31 02:41:07,298 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/9dbdecc5-5c75-482a-beae-1a8cb88ef5ff 2025-07-31 02:41:07,304 - DEBUG - Response Code: 404 2025-07-31 02:41:07,304 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-07-31 02:41:07,310 - DEBUG - Requesting: http://10.0.0.19:8082/domain/67ed8bce-74e2-40f8-a742-a51200f0f5e7 2025-07-31 02:41:07,365 - DEBUG - Requesting: http://10.0.0.19:8082/project/e5eb5a81-1ebb-431f-8c4d-744a7dbc348e 2025-07-31 02:41:07,456 - INFO - Validated that VN ctest-vn-68494251 is not found in API Server 2025-07-31 02:41:07,471 - DEBUG - VN ctest-vn-68494251 is not present in Agent 10.0.0.19 2025-07-31 02:41:07,471 - INFO - Validated that VN ctest-vn-68494251 is not in any agent 2025-07-31 02:41:07,496 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-68494251 info 2025-07-31 02:41:07,802 - DEBUG - No XMPP flaps were noticed during the test
2025-07-31 02:41:07,802 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34]
2025-07-31 02:41:07,802 - INFO - -------------------------------------------------------------------------------- 2025-07-31 02:41:08,568 - INFO - Deleted project: ctest-TestBasicPolicy-97617009, ID : e5eb5a81-1ebb-431f-8c4d-744a7dbc348e