2025-08-13 16:28:59,805 - INFO - Domain Default found not creating 2025-08-13 16:28:59,960 - INFO - Project ctest-TestBasicPolicy-67456921 not found, creating it 2025-08-13 16:29:00,398 - INFO - Created Project:ctest-TestBasicPolicy-67456921, ID : b09fd5e1-e37a-49a0-85f2-5390b5044ed8 2025-08-13 16:29:01,854 - INFO - ================================================================================ 2025-08-13 16:29:01,854 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-13 16:29:01,854 - 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-08-13 16:29:02,111 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-08-13 16:29:02,111 - INFO - Initial checks done. Running the testcase now 2025-08-13 16:29:02,111 - INFO - 2025-08-13 16:29:02,635 - DEBUG - Response for create_network : {'network': {'id': '88ab141e-1f4a-4447-8c5b-116e02ed5812', 'name': 'ctest-vn-57733925', 'tenant_id': 'b09fd5e1e37a49a085f25390b5044ed8', 'project_id': 'b09fd5e1e37a49a085f25390b5044ed8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67456921', 'ctest-vn-57733925'], 'port_security_enabled': True, 'description': ''}} 2025-08-13 16:29:02,847 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fc417f35-0bba-46df-a3e3-36c5972c9d5f', 'name': '', 'tenant_id': 'b09fd5e1e37a49a085f25390b5044ed8', 'network_id': '88ab141e-1f4a-4447-8c5b-116e02ed5812', 'ip_version': 4, 'cidr': '77.40.205.192/26', 'allocation_pools': [{'start': '77.40.205.194', 'end': '77.40.205.254'}], 'gateway_ip': '77.40.205.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.40.205.194', 'tags': [], 'project_id': 'b09fd5e1e37a49a085f25390b5044ed8'}} 2025-08-13 16:29:02,864 - INFO - Created VN ctest-vn-57733925 2025-08-13 16:29:02,922 - DEBUG - VN ctest-vn-57733925 UUID is 88ab141e-1f4a-4447-8c5b-116e02ed5812 2025-08-13 16:29:03,238 - DEBUG - Response for create_network : {'network': {'id': '77b29bc2-5876-4daf-8b03-6e230c078404', 'name': 'ctest-vn-97446823', 'tenant_id': 'b09fd5e1e37a49a085f25390b5044ed8', 'project_id': 'b09fd5e1e37a49a085f25390b5044ed8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67456921', 'ctest-vn-97446823'], 'port_security_enabled': True, 'description': ''}} 2025-08-13 16:29:03,403 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bc8188cf-1330-41fa-ac82-491990e995cd', 'name': '', 'tenant_id': 'b09fd5e1e37a49a085f25390b5044ed8', 'network_id': '77b29bc2-5876-4daf-8b03-6e230c078404', 'ip_version': 4, 'cidr': '107.214.33.128/26', 'allocation_pools': [{'start': '107.214.33.130', 'end': '107.214.33.190'}], 'gateway_ip': '107.214.33.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.214.33.130', 'tags': [], 'project_id': 'b09fd5e1e37a49a085f25390b5044ed8'}} 2025-08-13 16:29:03,420 - INFO - Created VN ctest-vn-97446823 2025-08-13 16:29:03,470 - DEBUG - VN ctest-vn-97446823 UUID is 77b29bc2-5876-4daf-8b03-6e230c078404 2025-08-13 16:29:03,622 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-67456921:ctest-vn-57733925, 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-67456921:ctest-vn-97446823, 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-08-13 16:29:03,926 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '88ab141e-1f4a-4447-8c5b-116e02ed5812', 'name': 'ctest-vn-57733925', 'tenant_id': 'b09fd5e1e37a49a085f25390b5044ed8', 'project_id': 'b09fd5e1e37a49a085f25390b5044ed8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fc417f35-0bba-46df-a3e3-36c5972c9d5f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67456921', 'ctest-vn-57733925'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67456921', 'ctest-policy-allow-all-19114374']], 'subnet_ipam': [{'subnet_cidr': '77.40.205.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-13 16:29:04,187 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '77b29bc2-5876-4daf-8b03-6e230c078404', 'name': 'ctest-vn-97446823', 'tenant_id': 'b09fd5e1e37a49a085f25390b5044ed8', 'project_id': 'b09fd5e1e37a49a085f25390b5044ed8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bc8188cf-1330-41fa-ac82-491990e995cd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67456921', 'ctest-vn-97446823'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67456921', 'ctest-policy-allow-all-19114374']], 'subnet_ipam': [{'subnet_cidr': '107.214.33.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-13 16:29:04,338 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-13 16:29:04,633 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-13 16:29:04,661 - DEBUG - Requesting: http://10.0.0.38:8082/domain/78f5e55f-2fc5-4028-8ed3-b4ae81ecccac 2025-08-13 16:29:04,674 - DEBUG - Requesting: http://10.0.0.38:8082/project/b09fd5e1-e37a-49a0-85f2-5390b5044ed8 2025-08-13 16:29:04,749 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/88ab141e-1f4a-4447-8c5b-116e02ed5812 2025-08-13 16:29:04,762 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/88ab141e-1f4a-4447-8c5b-116e02ed5812 2025-08-13 16:29:04,773 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ad715ec2-1d0a-4c16-ac08-d4a988788673 2025-08-13 16:29:04,780 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ad715ec2-1d0a-4c16-ac08-d4a988788673 2025-08-13 16:29:04,786 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/572c8e92-8243-4915-b0cf-12e4e53d2448 2025-08-13 16:29:04,792 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-13 16:29:04,793 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/88ab141e-1f4a-4447-8c5b-116e02ed5812 2025-08-13 16:29:04,802 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ad715ec2-1d0a-4c16-ac08-d4a988788673 2025-08-13 16:29:04,817 - INFO - Verified VN network id 11 for VN 88ab141e-1f4a-4447-8c5b-116e02ed5812 2025-08-13 16:29:04,817 - INFO - Verifications in API Server for VN ctest-vn-57733925 passed 2025-08-13 16:29:04,817 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/88ab141e-1f4a-4447-8c5b-116e02ed5812 2025-08-13 16:29:04,826 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ad715ec2-1d0a-4c16-ac08-d4a988788673 2025-08-13 16:29:04,833 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ad715ec2-1d0a-4c16-ac08-d4a988788673 2025-08-13 16:29:04,840 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/572c8e92-8243-4915-b0cf-12e4e53d2448 2025-08-13 16:29:04,852 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67456921:ctest-vn-57733925', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67456921', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9847987129782256711', 'uuid-lslong': '10113696552383764498'}, 'enable': 'true', 'created': '2025-08-13T16:29:02', 'last-modified': '2025-08-13T16:29:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.953884'} 2025-08-13 16:29:04,858 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-13 16:29:04,858 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-57733925 passed 2025-08-13 16:29:04,859 - DEBUG - ====Verifying policy data for ctest-vn-57733925 in API_Server ====== 2025-08-13 16:29:04,859 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-13 16:29:04,864 - DEBUG - Requesting: http://10.0.0.38:8082/domain/78f5e55f-2fc5-4028-8ed3-b4ae81ecccac 2025-08-13 16:29:04,875 - DEBUG - Requesting: http://10.0.0.38:8082/project/b09fd5e1-e37a-49a0-85f2-5390b5044ed8 2025-08-13 16:29:04,947 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/88ab141e-1f4a-4447-8c5b-116e02ed5812 2025-08-13 16:29:04,958 - DEBUG - ==>Verifying data for policy with id: 729cba25-bac8-444c-8575-901d6621d226, fqn: ['default-domain', 'ctest-TestBasicPolicy-67456921', 'ctest-policy-allow-all-19114374'] 2025-08-13 16:29:04,958 - INFO - VN ctest-vn-57733925 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-13 16:29:04,959 - DEBUG - Verifying the vn in opserver 2025-08-13 16:29:04,959 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67456921:ctest-vn-57733925 virtual network link through opserver 10.0.0.38 2025-08-13 16:29:04,959 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-13 16:29:05,248 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-13 16:29:05,298 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67456921:ctest-vn-57733925', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67456921:ctest-vn-57733925?flat'} 2025-08-13 16:29:05,298 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67456921:ctest-vn-57733925 is found in opserver 2025-08-13 16:29:05,308 - DEBUG - Do not have enough data to verify VN in agent 2025-08-13 16:29:05,313 - DEBUG - VRF ids for VN ctest-vn-57733925: {} 2025-08-13 16:29:05,313 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-13 16:29:05,320 - DEBUG - Requesting: http://10.0.0.38:8082/domain/78f5e55f-2fc5-4028-8ed3-b4ae81ecccac 2025-08-13 16:29:05,333 - DEBUG - Requesting: http://10.0.0.38:8082/project/b09fd5e1-e37a-49a0-85f2-5390b5044ed8 2025-08-13 16:29:05,404 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/77b29bc2-5876-4daf-8b03-6e230c078404 2025-08-13 16:29:05,415 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/77b29bc2-5876-4daf-8b03-6e230c078404 2025-08-13 16:29:05,424 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a6eb6fb4-93f0-42ed-b4fb-2cace0b7f7ef 2025-08-13 16:29:05,432 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a6eb6fb4-93f0-42ed-b4fb-2cace0b7f7ef 2025-08-13 16:29:05,439 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/02b53c2a-c614-4fbd-9f8c-9c98233cbef5 2025-08-13 16:29:05,445 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-13 16:29:05,445 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/77b29bc2-5876-4daf-8b03-6e230c078404 2025-08-13 16:29:05,454 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a6eb6fb4-93f0-42ed-b4fb-2cace0b7f7ef 2025-08-13 16:29:05,467 - INFO - Verified VN network id 12 for VN 77b29bc2-5876-4daf-8b03-6e230c078404 2025-08-13 16:29:05,467 - INFO - Verifications in API Server for VN ctest-vn-97446823 passed 2025-08-13 16:29:05,467 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/77b29bc2-5876-4daf-8b03-6e230c078404 2025-08-13 16:29:05,476 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a6eb6fb4-93f0-42ed-b4fb-2cace0b7f7ef 2025-08-13 16:29:05,483 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a6eb6fb4-93f0-42ed-b4fb-2cace0b7f7ef 2025-08-13 16:29:05,489 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/02b53c2a-c614-4fbd-9f8c-9c98233cbef5 2025-08-13 16:29:05,500 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67456921:ctest-vn-97446823', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67456921', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8625127495378029999', 'uuid-lslong': '10016971093006844932'}, 'enable': 'true', 'created': '2025-08-13T16:29:03', 'last-modified': '2025-08-13T16:29:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.374282'} 2025-08-13 16:29:05,506 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-13 16:29:05,506 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-97446823 passed 2025-08-13 16:29:05,506 - DEBUG - ====Verifying policy data for ctest-vn-97446823 in API_Server ====== 2025-08-13 16:29:05,506 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-13 16:29:05,511 - DEBUG - Requesting: http://10.0.0.38:8082/domain/78f5e55f-2fc5-4028-8ed3-b4ae81ecccac 2025-08-13 16:29:05,522 - DEBUG - Requesting: http://10.0.0.38:8082/project/b09fd5e1-e37a-49a0-85f2-5390b5044ed8 2025-08-13 16:29:05,592 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/77b29bc2-5876-4daf-8b03-6e230c078404 2025-08-13 16:29:05,601 - DEBUG - ==>Verifying data for policy with id: 729cba25-bac8-444c-8575-901d6621d226, fqn: ['default-domain', 'ctest-TestBasicPolicy-67456921', 'ctest-policy-allow-all-19114374'] 2025-08-13 16:29:05,601 - INFO - VN ctest-vn-97446823 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-13 16:29:05,601 - DEBUG - Verifying the vn in opserver 2025-08-13 16:29:05,601 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67456921:ctest-vn-97446823 virtual network link through opserver 10.0.0.38 2025-08-13 16:29:05,601 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-13 16:29:05,611 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67456921:ctest-vn-97446823', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67456921:ctest-vn-97446823?flat'} 2025-08-13 16:29:05,611 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67456921:ctest-vn-97446823 is found in opserver 2025-08-13 16:29:05,623 - DEBUG - Do not have enough data to verify VN in agent 2025-08-13 16:29:05,629 - DEBUG - VRF ids for VN ctest-vn-97446823: {} 2025-08-13 16:29:05,692 - DEBUG - Services list from nova: [, , ] 2025-08-13 16:29:06,696 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3843-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3843-1) 2025-08-13 16:29:07,801 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3843-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3843-1) 2025-08-13 16:29:07,802 - INFO - Waiting for VM ctest-TestBasicPolicy-67456921-39460824 to be up.. 2025-08-13 16:29:07,887 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-13 16:29:12,963 - DEBUG - VM is in ACTIVE state now 2025-08-13 16:29:12,963 - INFO - VM name : ctest-TestBasicPolicy-67456921-39460824 2025-08-13 16:29:13,031 - DEBUG - VM ctest-TestBasicPolicy-67456921-39460824 ID is aa8cae3f-5ea7-443f-b0a1-c052651cebcd 2025-08-13 16:29:13,048 - DEBUG - VM ctest-TestBasicPolicy-67456921-39460824 launched on Node cn-jenkins-deploy-platform-ansible-os-3843-1 2025-08-13 16:29:13,108 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/aa8cae3f-5ea7-443f-b0a1-c052651cebcd 2025-08-13 16:29:13,116 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/bbde965b-181f-4339-a5bc-2b3cfa842fc4 2025-08-13 16:29:16,358 - 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 1012ms') 2025-08-13 16:29:16,359 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-67456921-39460824 failed! 2025-08-13 16:29:16,414 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-67456921:ctest-vn-57733925 is 77.40.205.193 and allocation pool is NOT set 2025-08-13 16:29:18,477 - 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.20 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.488 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.488/1.844/3.200/1.356 ms') 2025-08-13 16:29:18,477 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-67456921-39460824 passed 2025-08-13 16:29:18,626 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 16:29:18,626 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-67456921-39460824, IP 77.40.205.195, Port 22 2025-08-13 16:29:18,781 - DEBUG - VM ctest-TestBasicPolicy-67456921-39460824 is ready for SSH connections 2025-08-13 16:29:18,781 - INFO - Waiting for VM ctest-TestBasicPolicy-67456921-87837916 to be up.. 2025-08-13 16:29:18,847 - DEBUG - VM is in ACTIVE state now 2025-08-13 16:29:18,847 - INFO - VM name : ctest-TestBasicPolicy-67456921-87837916 2025-08-13 16:29:18,914 - DEBUG - VM ctest-TestBasicPolicy-67456921-87837916 ID is 77cd5ec7-8a1b-4c22-aaca-8a3be7f36a65 2025-08-13 16:29:18,915 - DEBUG - VM ctest-TestBasicPolicy-67456921-87837916 launched on Node cn-jenkins-deploy-platform-ansible-os-3843-1 2025-08-13 16:29:18,981 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/77cd5ec7-8a1b-4c22-aaca-8a3be7f36a65 2025-08-13 16:29:18,989 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e38778b4-ba24-418f-9bfa-28092bf7c831 2025-08-13 16:29:20,229 - 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.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.358 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.358/1.490/2.622/1.132 ms') 2025-08-13 16:29:20,229 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-67456921-87837916 passed 2025-08-13 16:29:20,382 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 16:29:20,382 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-67456921-87837916, IP 107.214.33.131, Port 22 2025-08-13 16:29:20,548 - DEBUG - VM ctest-TestBasicPolicy-67456921-87837916 is ready for SSH connections 2025-08-13 16:29:20,548 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 16:29:20,548 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 107.214.33.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-13 16:29:20,548 - DEBUG - ping -s 56 -c 3 -W 1 107.214.33.131 2025-08-13 16:29:24,550 - DEBUG - PING 107.214.33.131 (107.214.33.131): 56 data bytes 64 bytes from 107.214.33.131: seq=0 ttl=63 time=3.181 ms 64 bytes from 107.214.33.131: seq=1 ttl=63 time=0.764 ms 64 bytes from 107.214.33.131: seq=2 ttl=63 time=0.758 ms --- 107.214.33.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.758/1.567/3.181 ms 2025-08-13 16:29:24,550 - INFO - Ping to IP 107.214.33.131 from VM ctest-TestBasicPolicy-67456921-39460824 passed 2025-08-13 16:29:24,726 - DEBUG - Policy Update Response {"network-policy": {"uuid": "729cba25-bac8-444c-8575-901d6621d226", "href": "http://10.0.0.38:8082/network-policy/729cba25-bac8-444c-8575-901d6621d226"}} 2025-08-13 16:29:24,726 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 16:29:24,726 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 107.214.33.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-13 16:29:24,726 - DEBUG - ping -s 56 -c 3 -W 1 107.214.33.131 2025-08-13 16:29:27,917 - DEBUG - PING 107.214.33.131 (107.214.33.131): 56 data bytes 64 bytes from 107.214.33.131: seq=0 ttl=63 time=1.194 ms --- 107.214.33.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.194/1.194/1.194 ms 2025-08-13 16:29:27,917 - WARNING - Ping to IP 107.214.33.131 from VM ctest-TestBasicPolicy-67456921-39460824 failed 2025-08-13 16:29:27,917 - INFO - Deleting VM ctest-TestBasicPolicy-67456921-87837916 2025-08-13 16:29:27,984 - INFO - Deleting VM ctest-TestBasicPolicy-67456921-39460824 2025-08-13 16:29:28,352 - INFO - Deleted policy ctest-policy-allow-all-19114374 2025-08-13 16:29:28,352 - INFO - Deleting VN ctest-vn-97446823 2025-08-13 16:29:28,394 - DEBUG - VN 77b29bc2-5876-4daf-8b03-6e230c078404 still in use: Unable to complete operation on network 77b29bc2-5876-4daf-8b03-6e230c078404. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-98a0bd25-e960-46b6-9959-bac3b7f1a3e3'] 2025-08-13 16:29:28,394 - WARNING - Deleting VN ctest-vn-97446823 failed..Will retry 2025-08-13 16:29:30,485 - DEBUG - Response for deleting network () 2025-08-13 16:29:30,485 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a6eb6fb4-93f0-42ed-b4fb-2cace0b7f7ef 2025-08-13 16:29:30,492 - DEBUG - Response Code: 404 2025-08-13 16:29:30,492 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-13 16:29:30,497 - DEBUG - Requesting: http://10.0.0.38:8082/domain/78f5e55f-2fc5-4028-8ed3-b4ae81ecccac 2025-08-13 16:29:30,555 - DEBUG - Requesting: http://10.0.0.38:8082/project/b09fd5e1-e37a-49a0-85f2-5390b5044ed8 2025-08-13 16:29:30,627 - INFO - Validated that VN ctest-vn-97446823 is not found in API Server 2025-08-13 16:29:30,638 - DEBUG - VN ctest-vn-97446823 is not present in Agent 10.0.0.38 2025-08-13 16:29:30,638 - INFO - Validated that VN ctest-vn-97446823 is not in any agent 2025-08-13 16:29:30,652 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-97446823 info 2025-08-13 16:29:30,652 - INFO - Deleting VN ctest-vn-57733925 2025-08-13 16:29:30,742 - DEBUG - Response for deleting network () 2025-08-13 16:29:30,742 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ad715ec2-1d0a-4c16-ac08-d4a988788673 2025-08-13 16:29:30,750 - DEBUG - Response Code: 404 2025-08-13 16:29:30,750 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-13 16:29:30,756 - DEBUG - Requesting: http://10.0.0.38:8082/domain/78f5e55f-2fc5-4028-8ed3-b4ae81ecccac 2025-08-13 16:29:30,807 - DEBUG - Requesting: http://10.0.0.38:8082/project/b09fd5e1-e37a-49a0-85f2-5390b5044ed8 2025-08-13 16:29:30,882 - INFO - Validated that VN ctest-vn-57733925 is not found in API Server 2025-08-13 16:29:30,891 - DEBUG - VN ctest-vn-57733925 is not present in Agent 10.0.0.38 2025-08-13 16:29:30,891 - INFO - Validated that VN ctest-vn-57733925 is not in any agent 2025-08-13 16:29:30,905 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-57733925 info 2025-08-13 16:29:31,155 - DEBUG - No XMPP flaps were noticed during the test 2025-08-13 16:29:31,155 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-08-13 16:29:31,155 - INFO - -------------------------------------------------------------------------------- 2025-08-13 16:29:31,807 - INFO - Deleted project: ctest-TestBasicPolicy-67456921, ID : b09fd5e1-e37a-49a0-85f2-5390b5044ed8