2025-11-13 13:16:52,671 - INFO - Domain Default found not creating 2025-11-13 13:16:52,861 - INFO - Project ctest-TestBasicPolicy-15341523 not found, creating it 2025-11-13 13:16:53,511 - INFO - Created Project:ctest-TestBasicPolicy-15341523, ID : 8f061b74-0db7-496a-8765-dccb18b66446 2025-11-13 13:16:54,889 - INFO - ================================================================================ 2025-11-13 13:16:54,890 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-13 13:16:54,890 - 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-11-13 13:16:55,146 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with 2025-11-13 13:16:55,146 - INFO - Initial checks done. Running the testcase now 2025-11-13 13:16:55,146 - INFO - 2025-11-13 13:16:55,674 - DEBUG - Response for create_network : {'network': {'id': 'ee7a15a8-69fa-4799-b827-b59e79514b49', 'name': 'ctest-vn-07187161', 'tenant_id': '8f061b740db7496a8765dccb18b66446', 'project_id': '8f061b740db7496a8765dccb18b66446', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15341523', 'ctest-vn-07187161'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 13:16:55,819 - DEBUG - Response for create_subnet : {'subnet': {'id': '496997e3-d4c4-4158-8539-14bfbf62e478', 'name': '', 'tenant_id': '8f061b740db7496a8765dccb18b66446', 'network_id': 'ee7a15a8-69fa-4799-b827-b59e79514b49', 'ip_version': 4, 'cidr': '137.76.195.0/26', 'allocation_pools': [{'start': '137.76.195.2', 'end': '137.76.195.62'}], 'gateway_ip': '137.76.195.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '137.76.195.2', 'tags': [], 'project_id': '8f061b740db7496a8765dccb18b66446'}} 2025-11-13 13:16:55,835 - INFO - Created VN ctest-vn-07187161 2025-11-13 13:16:55,888 - DEBUG - VN ctest-vn-07187161 UUID is ee7a15a8-69fa-4799-b827-b59e79514b49 2025-11-13 13:16:56,172 - DEBUG - Response for create_network : {'network': {'id': '4f740a75-598c-496e-b9d0-71c70d08c2e0', 'name': 'ctest-vn-69411915', 'tenant_id': '8f061b740db7496a8765dccb18b66446', 'project_id': '8f061b740db7496a8765dccb18b66446', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15341523', 'ctest-vn-69411915'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 13:16:56,349 - DEBUG - Response for create_subnet : {'subnet': {'id': '7618c770-e3f0-482d-b370-4bc6e6b1416d', 'name': '', 'tenant_id': '8f061b740db7496a8765dccb18b66446', 'network_id': '4f740a75-598c-496e-b9d0-71c70d08c2e0', 'ip_version': 4, 'cidr': '135.95.100.192/26', 'allocation_pools': [{'start': '135.95.100.194', 'end': '135.95.100.254'}], 'gateway_ip': '135.95.100.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '135.95.100.194', 'tags': [], 'project_id': '8f061b740db7496a8765dccb18b66446'}} 2025-11-13 13:16:56,366 - INFO - Created VN ctest-vn-69411915 2025-11-13 13:16:56,416 - DEBUG - VN ctest-vn-69411915 UUID is 4f740a75-598c-496e-b9d0-71c70d08c2e0 2025-11-13 13:16:56,568 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-15341523:ctest-vn-07187161, 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-15341523:ctest-vn-69411915, 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-11-13 13:16:56,849 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ee7a15a8-69fa-4799-b827-b59e79514b49', 'name': 'ctest-vn-07187161', 'tenant_id': '8f061b740db7496a8765dccb18b66446', 'project_id': '8f061b740db7496a8765dccb18b66446', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['496997e3-d4c4-4158-8539-14bfbf62e478'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15341523', 'ctest-vn-07187161'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-15341523', 'ctest-policy-allow-all-24972876']], 'subnet_ipam': [{'subnet_cidr': '137.76.195.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-13 13:16:57,123 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4f740a75-598c-496e-b9d0-71c70d08c2e0', 'name': 'ctest-vn-69411915', 'tenant_id': '8f061b740db7496a8765dccb18b66446', 'project_id': '8f061b740db7496a8765dccb18b66446', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7618c770-e3f0-482d-b370-4bc6e6b1416d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15341523', 'ctest-vn-69411915'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-15341523', 'ctest-policy-allow-all-24972876']], 'subnet_ipam': [{'subnet_cidr': '135.95.100.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-13 13:16:57,268 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-13 13:16:57,561 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-13 13:16:57,590 - DEBUG - Requesting: http://10.0.0.50:8082/domain/486ad687-db18-4f82-a090-aa9e5ba25272 2025-11-13 13:16:57,600 - DEBUG - Requesting: http://10.0.0.50:8082/project/8f061b74-0db7-496a-8765-dccb18b66446 2025-11-13 13:16:57,671 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ee7a15a8-69fa-4799-b827-b59e79514b49 2025-11-13 13:16:57,680 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ee7a15a8-69fa-4799-b827-b59e79514b49 2025-11-13 13:16:57,688 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/65258e48-8d6f-4832-9aba-c04226861761 2025-11-13 13:16:57,694 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/65258e48-8d6f-4832-9aba-c04226861761 2025-11-13 13:16:57,700 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/2b2d0126-7a84-47d9-834f-414f6b89fb6a 2025-11-13 13:16:57,706 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-13 13:16:57,706 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ee7a15a8-69fa-4799-b827-b59e79514b49 2025-11-13 13:16:57,714 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/65258e48-8d6f-4832-9aba-c04226861761 2025-11-13 13:16:57,727 - INFO - Verified VN network id 12 for VN ee7a15a8-69fa-4799-b827-b59e79514b49 2025-11-13 13:16:57,727 - INFO - Verifications in API Server for VN ctest-vn-07187161 passed 2025-11-13 13:16:57,727 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ee7a15a8-69fa-4799-b827-b59e79514b49 2025-11-13 13:16:57,735 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/65258e48-8d6f-4832-9aba-c04226861761 2025-11-13 13:16:57,741 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/65258e48-8d6f-4832-9aba-c04226861761 2025-11-13 13:16:57,747 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/2b2d0126-7a84-47d9-834f-414f6b89fb6a 2025-11-13 13:16:57,757 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-15341523:ctest-vn-07187161', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-15341523', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17184071141262247833', 'uuid-lslong': '13269774519315286857'}, 'enable': 'true', 'created': '2025-11-13T13:16:55', 'last-modified': '2025-11-13T13:16:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.927239'} 2025-11-13 13:16:57,762 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-13 13:16:57,763 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07187161 passed 2025-11-13 13:16:57,763 - DEBUG - ====Verifying policy data for ctest-vn-07187161 in API_Server ====== 2025-11-13 13:16:57,763 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-13 13:16:57,768 - DEBUG - Requesting: http://10.0.0.50:8082/domain/486ad687-db18-4f82-a090-aa9e5ba25272 2025-11-13 13:16:57,777 - DEBUG - Requesting: http://10.0.0.50:8082/project/8f061b74-0db7-496a-8765-dccb18b66446 2025-11-13 13:16:57,843 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ee7a15a8-69fa-4799-b827-b59e79514b49 2025-11-13 13:16:57,852 - DEBUG - ==>Verifying data for policy with id: 9b902f1f-3235-4b8a-b25e-9ad91666eff7, fqn: ['default-domain', 'ctest-TestBasicPolicy-15341523', 'ctest-policy-allow-all-24972876'] 2025-11-13 13:16:57,852 - INFO - VN ctest-vn-07187161 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-13 13:16:57,852 - DEBUG - Verifying the vn in opserver 2025-11-13 13:16:57,852 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-15341523:ctest-vn-07187161 virtual network link through opserver 10.0.0.50 2025-11-13 13:16:57,852 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-13 13:16:58,140 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-13 13:16:58,190 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-15341523:ctest-vn-07187161', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-15341523:ctest-vn-07187161?flat'} 2025-11-13 13:16:58,190 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-15341523:ctest-vn-07187161 is found in opserver 2025-11-13 13:16:58,198 - DEBUG - Do not have enough data to verify VN in agent 2025-11-13 13:16:58,202 - DEBUG - VRF ids for VN ctest-vn-07187161: {} 2025-11-13 13:16:58,203 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-13 13:16:58,207 - DEBUG - Requesting: http://10.0.0.50:8082/domain/486ad687-db18-4f82-a090-aa9e5ba25272 2025-11-13 13:16:58,217 - DEBUG - Requesting: http://10.0.0.50:8082/project/8f061b74-0db7-496a-8765-dccb18b66446 2025-11-13 13:16:58,285 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4f740a75-598c-496e-b9d0-71c70d08c2e0 2025-11-13 13:16:58,296 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4f740a75-598c-496e-b9d0-71c70d08c2e0 2025-11-13 13:16:58,304 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/800a335f-8385-4432-892d-5e0978c09bc2 2025-11-13 13:16:58,312 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/800a335f-8385-4432-892d-5e0978c09bc2 2025-11-13 13:16:58,318 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ac80e654-d1b4-416e-98cd-7a9c1cf66d7d 2025-11-13 13:16:58,324 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-13 13:16:58,324 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4f740a75-598c-496e-b9d0-71c70d08c2e0 2025-11-13 13:16:58,332 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/800a335f-8385-4432-892d-5e0978c09bc2 2025-11-13 13:16:58,343 - INFO - Verified VN network id 13 for VN 4f740a75-598c-496e-b9d0-71c70d08c2e0 2025-11-13 13:16:58,344 - INFO - Verifications in API Server for VN ctest-vn-69411915 passed 2025-11-13 13:16:58,344 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4f740a75-598c-496e-b9d0-71c70d08c2e0 2025-11-13 13:16:58,352 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/800a335f-8385-4432-892d-5e0978c09bc2 2025-11-13 13:16:58,357 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/800a335f-8385-4432-892d-5e0978c09bc2 2025-11-13 13:16:58,363 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ac80e654-d1b4-416e-98cd-7a9c1cf66d7d 2025-11-13 13:16:58,372 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-15341523:ctest-vn-69411915', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-15341523', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5725212525424560494', 'uuid-lslong': '13389326791903593184'}, 'enable': 'true', 'created': '2025-11-13T13:16:56', 'last-modified': '2025-11-13T13:16:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.312260'} 2025-11-13 13:16:58,377 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-13 13:16:58,377 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-69411915 passed 2025-11-13 13:16:58,377 - DEBUG - ====Verifying policy data for ctest-vn-69411915 in API_Server ====== 2025-11-13 13:16:58,377 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-13 13:16:58,383 - DEBUG - Requesting: http://10.0.0.50:8082/domain/486ad687-db18-4f82-a090-aa9e5ba25272 2025-11-13 13:16:58,393 - DEBUG - Requesting: http://10.0.0.50:8082/project/8f061b74-0db7-496a-8765-dccb18b66446 2025-11-13 13:16:58,460 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4f740a75-598c-496e-b9d0-71c70d08c2e0 2025-11-13 13:16:58,467 - DEBUG - ==>Verifying data for policy with id: 9b902f1f-3235-4b8a-b25e-9ad91666eff7, fqn: ['default-domain', 'ctest-TestBasicPolicy-15341523', 'ctest-policy-allow-all-24972876'] 2025-11-13 13:16:58,468 - INFO - VN ctest-vn-69411915 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-13 13:16:58,468 - DEBUG - Verifying the vn in opserver 2025-11-13 13:16:58,468 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-15341523:ctest-vn-69411915 virtual network link through opserver 10.0.0.50 2025-11-13 13:16:58,468 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-13 13:16:58,476 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-15341523:ctest-vn-69411915', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-15341523:ctest-vn-69411915?flat'} 2025-11-13 13:16:58,476 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-15341523:ctest-vn-69411915 is found in opserver 2025-11-13 13:16:58,484 - DEBUG - Do not have enough data to verify VN in agent 2025-11-13 13:16:58,488 - DEBUG - VRF ids for VN ctest-vn-69411915: {} 2025-11-13 13:16:58,541 - DEBUG - Services list from nova: [, , ] 2025-11-13 13:16:59,516 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4722-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4722-1) 2025-11-13 13:17:00,598 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4722-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4722-1) 2025-11-13 13:17:00,598 - INFO - Waiting for VM ctest-TestBasicPolicy-15341523-01009715 to be up.. 2025-11-13 13:17:00,674 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-13 13:17:05,747 - DEBUG - VM is in ACTIVE state now 2025-11-13 13:17:05,747 - INFO - VM name : ctest-TestBasicPolicy-15341523-01009715 2025-11-13 13:17:05,816 - DEBUG - VM ctest-TestBasicPolicy-15341523-01009715 ID is 91c42bd4-9d9f-49f5-92ba-02366f2bd3b0 2025-11-13 13:17:05,839 - DEBUG - VM ctest-TestBasicPolicy-15341523-01009715 launched on Node cn-jenkins-deploy-platform-ansible-os-4722-1 2025-11-13 13:17:05,907 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/91c42bd4-9d9f-49f5-92ba-02366f2bd3b0 2025-11-13 13:17:05,915 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f7823b15-8e06-4ba5-8fb3-6df46bea2d3d 2025-11-13 13:17:09,174 - 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 1020ms') 2025-11-13 13:17:09,174 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-15341523-01009715 failed! 2025-11-13 13:17:09,228 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-15341523:ctest-vn-07187161 is 137.76.195.1 and allocation pool is NOT set 2025-11-13 13:17:11,294 - 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=4.40 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.10 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 = 2.104/3.253/4.403/1.149 ms') 2025-11-13 13:17:11,294 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-15341523-01009715 passed 2025-11-13 13:17:11,452 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 13:17:11,452 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-15341523-01009715, IP 137.76.195.3, Port 22 2025-11-13 13:17:11,608 - DEBUG - VM ctest-TestBasicPolicy-15341523-01009715 is ready for SSH connections 2025-11-13 13:17:11,608 - INFO - Waiting for VM ctest-TestBasicPolicy-15341523-95239684 to be up.. 2025-11-13 13:17:11,677 - DEBUG - VM is in ACTIVE state now 2025-11-13 13:17:11,677 - INFO - VM name : ctest-TestBasicPolicy-15341523-95239684 2025-11-13 13:17:11,745 - DEBUG - VM ctest-TestBasicPolicy-15341523-95239684 ID is e7c5f9e1-64cf-4043-b88c-0a9143950bbf 2025-11-13 13:17:11,745 - DEBUG - VM ctest-TestBasicPolicy-15341523-95239684 launched on Node cn-jenkins-deploy-platform-ansible-os-4722-1 2025-11-13 13:17:11,811 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e7c5f9e1-64cf-4043-b88c-0a9143950bbf 2025-11-13 13:17:11,818 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d5cce830-862f-49e4-8277-e8f0963dd959 2025-11-13 13:17:13,053 - 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.60 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.459 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.459/1.529/2.599/1.070 ms') 2025-11-13 13:17:13,053 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-15341523-95239684 passed 2025-11-13 13:17:13,204 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 13:17:13,204 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-15341523-95239684, IP 135.95.100.195, Port 22 2025-11-13 13:17:13,360 - DEBUG - VM ctest-TestBasicPolicy-15341523-95239684 is ready for SSH connections 2025-11-13 13:17:13,360 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 13:17:13,360 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 135.95.100.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-13 13:17:13,360 - DEBUG - ping -s 56 -c 3 -W 1 135.95.100.195 2025-11-13 13:17:17,051 - DEBUG - PING 135.95.100.195 (135.95.100.195): 56 data bytes 64 bytes from 135.95.100.195: seq=0 ttl=63 time=3.252 ms 64 bytes from 135.95.100.195: seq=1 ttl=63 time=0.796 ms 64 bytes from 135.95.100.195: seq=2 ttl=63 time=0.800 ms --- 135.95.100.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.796/1.616/3.252 ms 2025-11-13 13:17:17,051 - INFO - Ping to IP 135.95.100.195 from VM ctest-TestBasicPolicy-15341523-01009715 passed 2025-11-13 13:17:17,228 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9b902f1f-3235-4b8a-b25e-9ad91666eff7", "href": "http://10.0.0.50:8082/network-policy/9b902f1f-3235-4b8a-b25e-9ad91666eff7"}} 2025-11-13 13:17:17,228 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 13:17:17,228 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 135.95.100.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-13 13:17:17,228 - DEBUG - ping -s 56 -c 3 -W 1 135.95.100.195 2025-11-13 13:17:20,441 - DEBUG - PING 135.95.100.195 (135.95.100.195): 56 data bytes --- 135.95.100.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-13 13:17:20,441 - WARNING - Ping to IP 135.95.100.195 from VM ctest-TestBasicPolicy-15341523-01009715 failed 2025-11-13 13:17:20,442 - INFO - Deleting VM ctest-TestBasicPolicy-15341523-95239684 2025-11-13 13:17:20,502 - INFO - Deleting VM ctest-TestBasicPolicy-15341523-01009715 2025-11-13 13:17:20,865 - INFO - Deleted policy ctest-policy-allow-all-24972876 2025-11-13 13:17:20,865 - INFO - Deleting VN ctest-vn-69411915 2025-11-13 13:17:20,906 - DEBUG - VN 4f740a75-598c-496e-b9d0-71c70d08c2e0 still in use: Unable to complete operation on network 4f740a75-598c-496e-b9d0-71c70d08c2e0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-43f7ac24-3243-4617-9b3d-109d7f2b6b6d'] 2025-11-13 13:17:20,906 - WARNING - Deleting VN ctest-vn-69411915 failed..Will retry 2025-11-13 13:17:22,994 - DEBUG - Response for deleting network () 2025-11-13 13:17:22,995 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/800a335f-8385-4432-892d-5e0978c09bc2 2025-11-13 13:17:23,000 - DEBUG - Response Code: 404 2025-11-13 13:17:23,000 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-13 13:17:23,005 - DEBUG - Requesting: http://10.0.0.50:8082/domain/486ad687-db18-4f82-a090-aa9e5ba25272 2025-11-13 13:17:23,056 - DEBUG - Requesting: http://10.0.0.50:8082/project/8f061b74-0db7-496a-8765-dccb18b66446 2025-11-13 13:17:23,125 - INFO - Validated that VN ctest-vn-69411915 is not found in API Server 2025-11-13 13:17:23,133 - DEBUG - VN ctest-vn-69411915 is not present in Agent 10.0.0.50 2025-11-13 13:17:23,133 - INFO - Validated that VN ctest-vn-69411915 is not in any agent 2025-11-13 13:17:23,146 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-69411915 info 2025-11-13 13:17:23,147 - INFO - Deleting VN ctest-vn-07187161 2025-11-13 13:17:23,240 - DEBUG - Response for deleting network () 2025-11-13 13:17:23,241 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/65258e48-8d6f-4832-9aba-c04226861761 2025-11-13 13:17:23,246 - DEBUG - Response Code: 404 2025-11-13 13:17:23,246 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-13 13:17:23,251 - DEBUG - Requesting: http://10.0.0.50:8082/domain/486ad687-db18-4f82-a090-aa9e5ba25272 2025-11-13 13:17:23,305 - DEBUG - Requesting: http://10.0.0.50:8082/project/8f061b74-0db7-496a-8765-dccb18b66446 2025-11-13 13:17:23,371 - INFO - Validated that VN ctest-vn-07187161 is not found in API Server 2025-11-13 13:17:23,382 - DEBUG - VN ctest-vn-07187161 is not present in Agent 10.0.0.50 2025-11-13 13:17:23,382 - INFO - Validated that VN ctest-vn-07187161 is not in any agent 2025-11-13 13:17:23,395 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-07187161 info 2025-11-13 13:17:23,648 - DEBUG - No XMPP flaps were noticed during the test 2025-11-13 13:17:23,648 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-11-13 13:17:23,649 - INFO - -------------------------------------------------------------------------------- 2025-11-13 13:17:24,289 - INFO - Deleted project: ctest-TestBasicPolicy-15341523, ID : 8f061b74-0db7-496a-8765-dccb18b66446