2025-11-12 15:30:28,845 - INFO - Domain Default found not creating 2025-11-12 15:30:29,012 - INFO - Project ctest-TestBasicPolicy-50838706 not found, creating it 2025-11-12 15:30:29,463 - INFO - Created Project:ctest-TestBasicPolicy-50838706, ID : d2cbb1da-b305-45ee-83f3-c3d8639481d5 2025-11-12 15:30:31,103 - INFO - ================================================================================ 2025-11-12 15:30:31,103 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-12 15:30:31,103 - 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-12 15:30:31,371 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-11-12 15:30:31,371 - INFO - Initial checks done. Running the testcase now 2025-11-12 15:30:31,371 - INFO - 2025-11-12 15:30:31,984 - DEBUG - Response for create_network : {'network': {'id': '219ffc82-0203-4ae9-8adc-d7d844d6261e', 'name': 'ctest-vn-90453068', 'tenant_id': 'd2cbb1dab30545ee83f3c3d8639481d5', 'project_id': 'd2cbb1dab30545ee83f3c3d8639481d5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-50838706', 'ctest-vn-90453068'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 15:30:32,183 - DEBUG - Response for create_subnet : {'subnet': {'id': '901b7844-028e-4c92-a24a-0af8f5b11043', 'name': '', 'tenant_id': 'd2cbb1dab30545ee83f3c3d8639481d5', 'network_id': '219ffc82-0203-4ae9-8adc-d7d844d6261e', 'ip_version': 4, 'cidr': '181.80.239.128/26', 'allocation_pools': [{'start': '181.80.239.130', 'end': '181.80.239.190'}], 'gateway_ip': '181.80.239.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.80.239.130', 'tags': [], 'project_id': 'd2cbb1dab30545ee83f3c3d8639481d5'}} 2025-11-12 15:30:32,201 - INFO - Created VN ctest-vn-90453068 2025-11-12 15:30:32,253 - DEBUG - VN ctest-vn-90453068 UUID is 219ffc82-0203-4ae9-8adc-d7d844d6261e 2025-11-12 15:30:32,559 - DEBUG - Response for create_network : {'network': {'id': 'a317ba0a-63f8-4e30-9a0d-5f6ee9e5e241', 'name': 'ctest-vn-41361897', 'tenant_id': 'd2cbb1dab30545ee83f3c3d8639481d5', 'project_id': 'd2cbb1dab30545ee83f3c3d8639481d5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-50838706', 'ctest-vn-41361897'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 15:30:32,771 - DEBUG - Response for create_subnet : {'subnet': {'id': '03729124-f55b-4d42-8016-726c6ca4fec3', 'name': '', 'tenant_id': 'd2cbb1dab30545ee83f3c3d8639481d5', 'network_id': 'a317ba0a-63f8-4e30-9a0d-5f6ee9e5e241', 'ip_version': 4, 'cidr': '63.193.78.192/26', 'allocation_pools': [{'start': '63.193.78.194', 'end': '63.193.78.254'}], 'gateway_ip': '63.193.78.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.193.78.194', 'tags': [], 'project_id': 'd2cbb1dab30545ee83f3c3d8639481d5'}} 2025-11-12 15:30:32,786 - INFO - Created VN ctest-vn-41361897 2025-11-12 15:30:32,837 - DEBUG - VN ctest-vn-41361897 UUID is a317ba0a-63f8-4e30-9a0d-5f6ee9e5e241 2025-11-12 15:30:32,985 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-50838706:ctest-vn-90453068, 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-50838706:ctest-vn-41361897, 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-12 15:30:33,276 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '219ffc82-0203-4ae9-8adc-d7d844d6261e', 'name': 'ctest-vn-90453068', 'tenant_id': 'd2cbb1dab30545ee83f3c3d8639481d5', 'project_id': 'd2cbb1dab30545ee83f3c3d8639481d5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['901b7844-028e-4c92-a24a-0af8f5b11043'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-50838706', 'ctest-vn-90453068'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-50838706', 'ctest-policy-allow-all-39498530']], 'subnet_ipam': [{'subnet_cidr': '181.80.239.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-12 15:30:33,501 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a317ba0a-63f8-4e30-9a0d-5f6ee9e5e241', 'name': 'ctest-vn-41361897', 'tenant_id': 'd2cbb1dab30545ee83f3c3d8639481d5', 'project_id': 'd2cbb1dab30545ee83f3c3d8639481d5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['03729124-f55b-4d42-8016-726c6ca4fec3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-50838706', 'ctest-vn-41361897'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-50838706', 'ctest-policy-allow-all-39498530']], 'subnet_ipam': [{'subnet_cidr': '63.193.78.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-12 15:30:33,669 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-12 15:30:34,045 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-12 15:30:34,075 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b7d9beee-89db-474d-a947-38d577149531 2025-11-12 15:30:34,087 - DEBUG - Requesting: http://10.0.0.38:8082/project/d2cbb1da-b305-45ee-83f3-c3d8639481d5 2025-11-12 15:30:34,156 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/219ffc82-0203-4ae9-8adc-d7d844d6261e 2025-11-12 15:30:34,166 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/219ffc82-0203-4ae9-8adc-d7d844d6261e 2025-11-12 15:30:34,174 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d468c391-5a37-4872-bae5-d58dcfb8b93c 2025-11-12 15:30:34,180 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d468c391-5a37-4872-bae5-d58dcfb8b93c 2025-11-12 15:30:34,187 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/795536be-90a4-47d0-a944-10273137c8b0 2025-11-12 15:30:34,192 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-12 15:30:34,192 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/219ffc82-0203-4ae9-8adc-d7d844d6261e 2025-11-12 15:30:34,200 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d468c391-5a37-4872-bae5-d58dcfb8b93c 2025-11-12 15:30:34,212 - INFO - Verified VN network id 11 for VN 219ffc82-0203-4ae9-8adc-d7d844d6261e 2025-11-12 15:30:34,212 - INFO - Verifications in API Server for VN ctest-vn-90453068 passed 2025-11-12 15:30:34,212 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/219ffc82-0203-4ae9-8adc-d7d844d6261e 2025-11-12 15:30:34,220 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d468c391-5a37-4872-bae5-d58dcfb8b93c 2025-11-12 15:30:34,227 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d468c391-5a37-4872-bae5-d58dcfb8b93c 2025-11-12 15:30:34,233 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/795536be-90a4-47d0-a944-10273137c8b0 2025-11-12 15:30:34,243 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-50838706:ctest-vn-90453068', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-50838706', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2422932759858334441', 'uuid-lslong': '10006109795978192414'}, 'enable': 'true', 'created': '2025-11-12T15:30:31', 'last-modified': '2025-11-12T15:30:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.990924'} 2025-11-12 15:30:34,249 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-12 15:30:34,249 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-90453068 passed 2025-11-12 15:30:34,249 - DEBUG - ====Verifying policy data for ctest-vn-90453068 in API_Server ====== 2025-11-12 15:30:34,249 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-12 15:30:34,254 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b7d9beee-89db-474d-a947-38d577149531 2025-11-12 15:30:34,263 - DEBUG - Requesting: http://10.0.0.38:8082/project/d2cbb1da-b305-45ee-83f3-c3d8639481d5 2025-11-12 15:30:34,332 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/219ffc82-0203-4ae9-8adc-d7d844d6261e 2025-11-12 15:30:34,341 - DEBUG - ==>Verifying data for policy with id: 759fdf93-2c43-44d6-9f7c-7b341102f2d6, fqn: ['default-domain', 'ctest-TestBasicPolicy-50838706', 'ctest-policy-allow-all-39498530'] 2025-11-12 15:30:34,341 - INFO - VN ctest-vn-90453068 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-12 15:30:34,341 - DEBUG - Verifying the vn in opserver 2025-11-12 15:30:34,341 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-50838706:ctest-vn-90453068 virtual network link through opserver 10.0.0.38 2025-11-12 15:30:34,341 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-11-12 15:30:34,704 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-11-12 15:30:34,765 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-50838706:ctest-vn-90453068', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-50838706:ctest-vn-90453068?flat'} 2025-11-12 15:30:34,765 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-50838706:ctest-vn-90453068 is found in opserver 2025-11-12 15:30:34,775 - DEBUG - Do not have enough data to verify VN in agent 2025-11-12 15:30:34,779 - DEBUG - VRF ids for VN ctest-vn-90453068: {} 2025-11-12 15:30:34,779 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-12 15:30:34,784 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b7d9beee-89db-474d-a947-38d577149531 2025-11-12 15:30:34,793 - DEBUG - Requesting: http://10.0.0.38:8082/project/d2cbb1da-b305-45ee-83f3-c3d8639481d5 2025-11-12 15:30:34,862 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a317ba0a-63f8-4e30-9a0d-5f6ee9e5e241 2025-11-12 15:30:34,873 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a317ba0a-63f8-4e30-9a0d-5f6ee9e5e241 2025-11-12 15:30:34,882 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ac649bed-e19f-4356-8270-4a010e299953 2025-11-12 15:30:34,890 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ac649bed-e19f-4356-8270-4a010e299953 2025-11-12 15:30:34,896 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a43afae8-51ac-4462-b7e1-07e7e00046cc 2025-11-12 15:30:34,902 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-12 15:30:34,902 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a317ba0a-63f8-4e30-9a0d-5f6ee9e5e241 2025-11-12 15:30:34,911 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ac649bed-e19f-4356-8270-4a010e299953 2025-11-12 15:30:34,925 - INFO - Verified VN network id 12 for VN a317ba0a-63f8-4e30-9a0d-5f6ee9e5e241 2025-11-12 15:30:34,925 - INFO - Verifications in API Server for VN ctest-vn-41361897 passed 2025-11-12 15:30:34,925 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a317ba0a-63f8-4e30-9a0d-5f6ee9e5e241 2025-11-12 15:30:34,935 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ac649bed-e19f-4356-8270-4a010e299953 2025-11-12 15:30:34,941 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ac649bed-e19f-4356-8270-4a010e299953 2025-11-12 15:30:34,948 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a43afae8-51ac-4462-b7e1-07e7e00046cc 2025-11-12 15:30:34,958 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-50838706:ctest-vn-41361897', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-50838706', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11752066306436255280', 'uuid-lslong': '11100633586513338945'}, 'enable': 'true', 'created': '2025-11-12T15:30:32', 'last-modified': '2025-11-12T15:30:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.481586'} 2025-11-12 15:30:34,965 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-12 15:30:34,965 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-41361897 passed 2025-11-12 15:30:34,965 - DEBUG - ====Verifying policy data for ctest-vn-41361897 in API_Server ====== 2025-11-12 15:30:34,965 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-12 15:30:34,970 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b7d9beee-89db-474d-a947-38d577149531 2025-11-12 15:30:34,980 - DEBUG - Requesting: http://10.0.0.38:8082/project/d2cbb1da-b305-45ee-83f3-c3d8639481d5 2025-11-12 15:30:35,059 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a317ba0a-63f8-4e30-9a0d-5f6ee9e5e241 2025-11-12 15:30:35,072 - DEBUG - ==>Verifying data for policy with id: 759fdf93-2c43-44d6-9f7c-7b341102f2d6, fqn: ['default-domain', 'ctest-TestBasicPolicy-50838706', 'ctest-policy-allow-all-39498530'] 2025-11-12 15:30:35,072 - INFO - VN ctest-vn-41361897 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-12 15:30:35,072 - DEBUG - Verifying the vn in opserver 2025-11-12 15:30:35,072 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-50838706:ctest-vn-41361897 virtual network link through opserver 10.0.0.38 2025-11-12 15:30:35,072 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-11-12 15:30:35,082 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-50838706:ctest-vn-41361897', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-50838706:ctest-vn-41361897?flat'} 2025-11-12 15:30:35,082 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-50838706:ctest-vn-41361897 is found in opserver 2025-11-12 15:30:35,092 - DEBUG - Do not have enough data to verify VN in agent 2025-11-12 15:30:35,096 - DEBUG - VRF ids for VN ctest-vn-41361897: {} 2025-11-12 15:30:35,153 - DEBUG - Services list from nova: [, , ] 2025-11-12 15:30:36,282 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4706-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4706-1) 2025-11-12 15:30:37,527 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4706-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4706-1) 2025-11-12 15:30:37,527 - INFO - Waiting for VM ctest-TestBasicPolicy-50838706-76408288 to be up.. 2025-11-12 15:30:37,608 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-12 15:30:42,680 - DEBUG - VM is in ACTIVE state now 2025-11-12 15:30:42,681 - INFO - VM name : ctest-TestBasicPolicy-50838706-76408288 2025-11-12 15:30:42,755 - DEBUG - VM ctest-TestBasicPolicy-50838706-76408288 ID is aa3b7d53-8950-4877-95e9-8463a19b3e1e 2025-11-12 15:30:42,774 - DEBUG - VM ctest-TestBasicPolicy-50838706-76408288 launched on Node cn-jenkins-deploy-platform-ansible-os-4706-1 2025-11-12 15:30:42,841 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/aa3b7d53-8950-4877-95e9-8463a19b3e1e 2025-11-12 15:30:42,848 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2436a5ff-c45a-4145-b7c3-4b412ec3413a 2025-11-12 15:30:46,107 - 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 1026ms') 2025-11-12 15:30:46,107 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-50838706-76408288 failed! 2025-11-12 15:30:46,161 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-50838706:ctest-vn-90453068 is 181.80.239.129 and allocation pool is NOT set 2025-11-12 15:30:48,219 - 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.29 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.448 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.448/1.871/3.294/1.423 ms') 2025-11-12 15:30:48,219 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-50838706-76408288 passed 2025-11-12 15:30:48,369 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 15:30:48,369 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-50838706-76408288, IP 181.80.239.131, Port 22 2025-11-12 15:30:48,535 - DEBUG - VM ctest-TestBasicPolicy-50838706-76408288 is ready for SSH connections 2025-11-12 15:30:48,535 - INFO - Waiting for VM ctest-TestBasicPolicy-50838706-46760310 to be up.. 2025-11-12 15:30:48,601 - DEBUG - VM is in ACTIVE state now 2025-11-12 15:30:48,601 - INFO - VM name : ctest-TestBasicPolicy-50838706-46760310 2025-11-12 15:30:48,662 - DEBUG - VM ctest-TestBasicPolicy-50838706-46760310 ID is 1c1ef9bc-99ea-490c-ae44-e3665a9f1dcf 2025-11-12 15:30:48,662 - DEBUG - VM ctest-TestBasicPolicy-50838706-46760310 launched on Node cn-jenkins-deploy-platform-ansible-os-4706-1 2025-11-12 15:30:48,726 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/1c1ef9bc-99ea-490c-ae44-e3665a9f1dcf 2025-11-12 15:30:48,735 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f6f98187-c7f9-4c57-9c0b-7649b98d70ba 2025-11-12 15:30:49,965 - 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.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.351 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.351/1.732/3.113/1.381 ms') 2025-11-12 15:30:49,965 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-50838706-46760310 passed 2025-11-12 15:30:50,113 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 15:30:50,113 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-50838706-46760310, IP 63.193.78.195, Port 22 2025-11-12 15:30:50,273 - DEBUG - VM ctest-TestBasicPolicy-50838706-46760310 is ready for SSH connections 2025-11-12 15:30:50,273 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 15:30:50,273 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.193.78.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-12 15:30:50,273 - DEBUG - ping -s 56 -c 3 -W 1 63.193.78.195 2025-11-12 15:30:54,266 - DEBUG - PING 63.193.78.195 (63.193.78.195): 56 data bytes 64 bytes from 63.193.78.195: seq=0 ttl=63 time=4.290 ms 64 bytes from 63.193.78.195: seq=1 ttl=63 time=0.843 ms 64 bytes from 63.193.78.195: seq=2 ttl=63 time=0.982 ms --- 63.193.78.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.843/2.038/4.290 ms 2025-11-12 15:30:54,266 - INFO - Ping to IP 63.193.78.195 from VM ctest-TestBasicPolicy-50838706-76408288 passed 2025-11-12 15:30:54,449 - DEBUG - Policy Update Response {"network-policy": {"uuid": "759fdf93-2c43-44d6-9f7c-7b341102f2d6", "href": "http://10.0.0.38:8082/network-policy/759fdf93-2c43-44d6-9f7c-7b341102f2d6"}} 2025-11-12 15:30:54,449 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 15:30:54,449 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.193.78.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-12 15:30:54,449 - DEBUG - ping -s 56 -c 3 -W 1 63.193.78.195 2025-11-12 15:30:57,565 - DEBUG - PING 63.193.78.195 (63.193.78.195): 56 data bytes --- 63.193.78.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-12 15:30:57,565 - WARNING - Ping to IP 63.193.78.195 from VM ctest-TestBasicPolicy-50838706-76408288 failed 2025-11-12 15:30:57,565 - INFO - Deleting VM ctest-TestBasicPolicy-50838706-46760310 2025-11-12 15:30:57,632 - INFO - Deleting VM ctest-TestBasicPolicy-50838706-76408288 2025-11-12 15:30:57,984 - INFO - Deleted policy ctest-policy-allow-all-39498530 2025-11-12 15:30:57,984 - INFO - Deleting VN ctest-vn-41361897 2025-11-12 15:30:58,019 - DEBUG - VN a317ba0a-63f8-4e30-9a0d-5f6ee9e5e241 still in use: Unable to complete operation on network a317ba0a-63f8-4e30-9a0d-5f6ee9e5e241. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-96693414-8334-4c11-9fb7-51b80304b459'] 2025-11-12 15:30:58,019 - WARNING - Deleting VN ctest-vn-41361897 failed..Will retry 2025-11-12 15:31:00,135 - DEBUG - Response for deleting network () 2025-11-12 15:31:00,135 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ac649bed-e19f-4356-8270-4a010e299953 2025-11-12 15:31:00,142 - DEBUG - Response Code: 404 2025-11-12 15:31:00,142 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-12 15:31:00,148 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b7d9beee-89db-474d-a947-38d577149531 2025-11-12 15:31:00,203 - DEBUG - Requesting: http://10.0.0.38:8082/project/d2cbb1da-b305-45ee-83f3-c3d8639481d5 2025-11-12 15:31:00,278 - INFO - Validated that VN ctest-vn-41361897 is not found in API Server 2025-11-12 15:31:00,292 - DEBUG - VN ctest-vn-41361897 is not present in Agent 10.0.0.38 2025-11-12 15:31:00,292 - INFO - Validated that VN ctest-vn-41361897 is not in any agent 2025-11-12 15:31:00,309 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-41361897 info 2025-11-12 15:31:00,309 - INFO - Deleting VN ctest-vn-90453068 2025-11-12 15:31:00,419 - DEBUG - Response for deleting network () 2025-11-12 15:31:00,419 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d468c391-5a37-4872-bae5-d58dcfb8b93c 2025-11-12 15:31:00,426 - DEBUG - Response Code: 404 2025-11-12 15:31:00,427 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-12 15:31:00,432 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b7d9beee-89db-474d-a947-38d577149531 2025-11-12 15:31:00,487 - DEBUG - Requesting: http://10.0.0.38:8082/project/d2cbb1da-b305-45ee-83f3-c3d8639481d5 2025-11-12 15:31:00,559 - INFO - Validated that VN ctest-vn-90453068 is not found in API Server 2025-11-12 15:31:00,567 - DEBUG - VN ctest-vn-90453068 is not present in Agent 10.0.0.38 2025-11-12 15:31:00,568 - INFO - Validated that VN ctest-vn-90453068 is not in any agent 2025-11-12 15:31:00,581 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-90453068 info 2025-11-12 15:31:00,846 - DEBUG - No XMPP flaps were noticed during the test
2025-11-12 15:31:00,847 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-11-12 15:31:00,847 - INFO - -------------------------------------------------------------------------------- 2025-11-12 15:31:02,055 - INFO - Deleted project: ctest-TestBasicPolicy-50838706, ID : d2cbb1da-b305-45ee-83f3-c3d8639481d5