2025-02-12 00:39:38,178 - INFO - Domain Default found not creating 2025-02-12 00:39:38,314 - INFO - Project ctest-TestBasicPolicy-49098785 not found, creating it 2025-02-12 00:39:38,757 - INFO - Created Project:ctest-TestBasicPolicy-49098785, ID : 97264126-992d-4273-9099-70ca19b6aa39 2025-02-12 00:39:40,257 - INFO - ================================================================================ 2025-02-12 00:39:40,257 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-02-12 00:39:40,257 - 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-02-12 00:39:40,521 - DEBUG - Nothing to compare xmpp stats {'10.0.0.32': {'10.20.0.25': '0'}} with 2025-02-12 00:39:40,521 - INFO - Initial checks done. Running the testcase now 2025-02-12 00:39:40,521 - INFO - 2025-02-12 00:39:41,049 - DEBUG - Response for create_network : {'network': {'id': '9e453826-58ca-4c01-9c3a-2c83c29e7086', 'name': 'ctest-vn-80978118', 'tenant_id': '97264126992d4273909970ca19b6aa39', 'project_id': '97264126992d4273909970ca19b6aa39', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49098785', 'ctest-vn-80978118'], 'port_security_enabled': True, 'description': ''}} 2025-02-12 00:39:41,266 - DEBUG - Response for create_subnet : {'subnet': {'id': '0d5bceda-2d54-4c7f-a6cf-83cc470df08a', 'name': '', 'tenant_id': '97264126992d4273909970ca19b6aa39', 'network_id': '9e453826-58ca-4c01-9c3a-2c83c29e7086', 'ip_version': 4, 'cidr': '58.230.229.0/26', 'allocation_pools': [{'start': '58.230.229.2', 'end': '58.230.229.62'}], 'gateway_ip': '58.230.229.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.230.229.2', 'tags': [], 'project_id': '97264126992d4273909970ca19b6aa39'}} 2025-02-12 00:39:41,284 - INFO - Created VN ctest-vn-80978118 2025-02-12 00:39:41,341 - DEBUG - VN ctest-vn-80978118 UUID is 9e453826-58ca-4c01-9c3a-2c83c29e7086 2025-02-12 00:39:41,655 - DEBUG - Response for create_network : {'network': {'id': '624f3d76-da0d-4cdb-8a47-7241e71dcc7c', 'name': 'ctest-vn-45647356', 'tenant_id': '97264126992d4273909970ca19b6aa39', 'project_id': '97264126992d4273909970ca19b6aa39', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49098785', 'ctest-vn-45647356'], 'port_security_enabled': True, 'description': ''}} 2025-02-12 00:39:41,842 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c04015e1-a30b-4549-8d0a-e61f430181fe', 'name': '', 'tenant_id': '97264126992d4273909970ca19b6aa39', 'network_id': '624f3d76-da0d-4cdb-8a47-7241e71dcc7c', 'ip_version': 4, 'cidr': '113.6.107.192/26', 'allocation_pools': [{'start': '113.6.107.194', 'end': '113.6.107.254'}], 'gateway_ip': '113.6.107.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.6.107.194', 'tags': [], 'project_id': '97264126992d4273909970ca19b6aa39'}} 2025-02-12 00:39:41,861 - INFO - Created VN ctest-vn-45647356 2025-02-12 00:39:41,913 - DEBUG - VN ctest-vn-45647356 UUID is 624f3d76-da0d-4cdb-8a47-7241e71dcc7c 2025-02-12 00:39:42,028 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-49098785:ctest-vn-80978118, 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-49098785:ctest-vn-45647356, 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-02-12 00:39:42,321 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9e453826-58ca-4c01-9c3a-2c83c29e7086', 'name': 'ctest-vn-80978118', 'tenant_id': '97264126992d4273909970ca19b6aa39', 'project_id': '97264126992d4273909970ca19b6aa39', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0d5bceda-2d54-4c7f-a6cf-83cc470df08a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49098785', 'ctest-vn-80978118'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49098785', 'ctest-policy-allow-all-36849743']], 'subnet_ipam': [{'subnet_cidr': '58.230.229.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-12 00:39:42,549 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '624f3d76-da0d-4cdb-8a47-7241e71dcc7c', 'name': 'ctest-vn-45647356', 'tenant_id': '97264126992d4273909970ca19b6aa39', 'project_id': '97264126992d4273909970ca19b6aa39', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c04015e1-a30b-4549-8d0a-e61f430181fe'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49098785', 'ctest-vn-45647356'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49098785', 'ctest-policy-allow-all-36849743']], 'subnet_ipam': [{'subnet_cidr': '113.6.107.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-12 00:39:42,705 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2025-02-12 00:39:43,010 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2025-02-12 00:39:43,037 - DEBUG - Requesting: http://10.0.0.32:8082/domain/9ea21451-d16d-490b-b0ef-656074008d2b 2025-02-12 00:39:43,051 - DEBUG - Requesting: http://10.0.0.32:8082/project/97264126-992d-4273-9099-70ca19b6aa39 2025-02-12 00:39:43,127 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/9e453826-58ca-4c01-9c3a-2c83c29e7086 2025-02-12 00:39:43,139 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/9e453826-58ca-4c01-9c3a-2c83c29e7086 2025-02-12 00:39:43,149 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/d75c27b2-594a-4e87-8ef0-59c36f45c04f 2025-02-12 00:39:43,157 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/d75c27b2-594a-4e87-8ef0-59c36f45c04f 2025-02-12 00:39:43,164 - DEBUG - Requesting: http://10.0.0.32:8082/route-target/e9c9a5b3-476d-4e02-9144-878430b98c82 2025-02-12 00:39:43,171 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-12 00:39:43,171 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/9e453826-58ca-4c01-9c3a-2c83c29e7086 2025-02-12 00:39:43,180 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/d75c27b2-594a-4e87-8ef0-59c36f45c04f 2025-02-12 00:39:43,192 - INFO - Verified VN network id 9 for VN 9e453826-58ca-4c01-9c3a-2c83c29e7086 2025-02-12 00:39:43,192 - INFO - Verifications in API Server for VN ctest-vn-80978118 passed 2025-02-12 00:39:43,192 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/9e453826-58ca-4c01-9c3a-2c83c29e7086 2025-02-12 00:39:43,203 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/d75c27b2-594a-4e87-8ef0-59c36f45c04f 2025-02-12 00:39:43,211 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/d75c27b2-594a-4e87-8ef0-59c36f45c04f 2025-02-12 00:39:43,218 - DEBUG - Requesting: http://10.0.0.32:8082/route-target/e9c9a5b3-476d-4e02-9144-878430b98c82 2025-02-12 00:39:43,229 - DEBUG - Control-node 10.0.0.32 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49098785:ctest-vn-80978118', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49098785', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11404583368735214593', 'uuid-lslong': '11257359162983477382'}, 'enable': 'true', 'created': '2025-02-12T00:39:41', 'last-modified': '2025-02-12T00:39:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.928555'} 2025-02-12 00:39:43,236 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-12 00:39:43,236 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-80978118 passed 2025-02-12 00:39:43,236 - DEBUG - ====Verifying policy data for ctest-vn-80978118 in API_Server ====== 2025-02-12 00:39:43,237 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2025-02-12 00:39:43,243 - DEBUG - Requesting: http://10.0.0.32:8082/domain/9ea21451-d16d-490b-b0ef-656074008d2b 2025-02-12 00:39:43,254 - DEBUG - Requesting: http://10.0.0.32:8082/project/97264126-992d-4273-9099-70ca19b6aa39 2025-02-12 00:39:43,322 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/9e453826-58ca-4c01-9c3a-2c83c29e7086 2025-02-12 00:39:43,332 - DEBUG - ==>Verifying data for policy with id: eb2a4880-251b-49aa-bcc9-a237b5be1fcb, fqn: ['default-domain', 'ctest-TestBasicPolicy-49098785', 'ctest-policy-allow-all-36849743'] 2025-02-12 00:39:43,332 - INFO - VN ctest-vn-80978118 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-12 00:39:43,333 - DEBUG - Verifying the vn in opserver 2025-02-12 00:39:43,333 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49098785:ctest-vn-80978118 virtual network link through opserver 10.0.0.32 2025-02-12 00:39:43,333 - DEBUG - Requesting: http://10.0.0.32:8081/analytics/uves/virtual-networks 2025-02-12 00:39:43,628 - DEBUG - Requesting: http://10.0.0.32:8081/analytics/uves/virtual-networks 2025-02-12 00:39:43,682 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49098785:ctest-vn-80978118', 'href': 'http://10.0.0.32:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49098785:ctest-vn-80978118?flat'} 2025-02-12 00:39:43,682 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49098785:ctest-vn-80978118 is found in opserver 2025-02-12 00:39:43,695 - DEBUG - Do not have enough data to verify VN in agent 2025-02-12 00:39:43,700 - DEBUG - VRF ids for VN ctest-vn-80978118: {} 2025-02-12 00:39:43,700 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2025-02-12 00:39:43,706 - DEBUG - Requesting: http://10.0.0.32:8082/domain/9ea21451-d16d-490b-b0ef-656074008d2b 2025-02-12 00:39:43,717 - DEBUG - Requesting: http://10.0.0.32:8082/project/97264126-992d-4273-9099-70ca19b6aa39 2025-02-12 00:39:43,792 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/624f3d76-da0d-4cdb-8a47-7241e71dcc7c 2025-02-12 00:39:43,805 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/624f3d76-da0d-4cdb-8a47-7241e71dcc7c 2025-02-12 00:39:43,815 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/14c01564-922e-48b9-9dea-d5082c4040e6 2025-02-12 00:39:43,823 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/14c01564-922e-48b9-9dea-d5082c4040e6 2025-02-12 00:39:43,830 - DEBUG - Requesting: http://10.0.0.32:8082/route-target/605c0b01-7cd5-43ad-96c8-1e51d231875e 2025-02-12 00:39:43,837 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-12 00:39:43,837 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/624f3d76-da0d-4cdb-8a47-7241e71dcc7c 2025-02-12 00:39:43,847 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/14c01564-922e-48b9-9dea-d5082c4040e6 2025-02-12 00:39:43,861 - INFO - Verified VN network id 10 for VN 624f3d76-da0d-4cdb-8a47-7241e71dcc7c 2025-02-12 00:39:43,861 - INFO - Verifications in API Server for VN ctest-vn-45647356 passed 2025-02-12 00:39:43,861 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/624f3d76-da0d-4cdb-8a47-7241e71dcc7c 2025-02-12 00:39:43,871 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/14c01564-922e-48b9-9dea-d5082c4040e6 2025-02-12 00:39:43,879 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/14c01564-922e-48b9-9dea-d5082c4040e6 2025-02-12 00:39:43,886 - DEBUG - Requesting: http://10.0.0.32:8082/route-target/605c0b01-7cd5-43ad-96c8-1e51d231875e 2025-02-12 00:39:43,899 - DEBUG - Control-node 10.0.0.32 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49098785:ctest-vn-45647356', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49098785', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7083948319550819547', 'uuid-lslong': '9964058327956442236'}, 'enable': 'true', 'created': '2025-02-12T00:39:41', 'last-modified': '2025-02-12T00:39:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.371118'} 2025-02-12 00:39:43,905 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-12 00:39:43,905 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-45647356 passed 2025-02-12 00:39:43,905 - DEBUG - ====Verifying policy data for ctest-vn-45647356 in API_Server ====== 2025-02-12 00:39:43,905 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2025-02-12 00:39:43,911 - DEBUG - Requesting: http://10.0.0.32:8082/domain/9ea21451-d16d-490b-b0ef-656074008d2b 2025-02-12 00:39:43,923 - DEBUG - Requesting: http://10.0.0.32:8082/project/97264126-992d-4273-9099-70ca19b6aa39 2025-02-12 00:39:43,995 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/624f3d76-da0d-4cdb-8a47-7241e71dcc7c 2025-02-12 00:39:44,005 - DEBUG - ==>Verifying data for policy with id: eb2a4880-251b-49aa-bcc9-a237b5be1fcb, fqn: ['default-domain', 'ctest-TestBasicPolicy-49098785', 'ctest-policy-allow-all-36849743'] 2025-02-12 00:39:44,005 - INFO - VN ctest-vn-45647356 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-12 00:39:44,005 - DEBUG - Verifying the vn in opserver 2025-02-12 00:39:44,005 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49098785:ctest-vn-45647356 virtual network link through opserver 10.0.0.32 2025-02-12 00:39:44,005 - DEBUG - Requesting: http://10.0.0.32:8081/analytics/uves/virtual-networks 2025-02-12 00:39:44,016 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49098785:ctest-vn-45647356', 'href': 'http://10.0.0.32:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49098785:ctest-vn-45647356?flat'} 2025-02-12 00:39:44,016 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49098785:ctest-vn-45647356 is found in opserver 2025-02-12 00:39:44,028 - DEBUG - Do not have enough data to verify VN in agent 2025-02-12 00:39:44,033 - DEBUG - VRF ids for VN ctest-vn-45647356: {} 2025-02-12 00:39:44,095 - DEBUG - Services list from nova: [, , ] 2025-02-12 00:39:45,312 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2724-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2724-1) 2025-02-12 00:39:46,509 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2724-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2724-1) 2025-02-12 00:39:46,509 - INFO - Waiting for VM ctest-TestBasicPolicy-49098785-89376036 to be up.. 2025-02-12 00:39:46,597 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-12 00:39:51,677 - DEBUG - VM is in ACTIVE state now 2025-02-12 00:39:51,677 - INFO - VM name : ctest-TestBasicPolicy-49098785-89376036 2025-02-12 00:39:51,760 - DEBUG - VM ctest-TestBasicPolicy-49098785-89376036 ID is 8558da65-fd77-46cb-9126-21421451a1c5 2025-02-12 00:39:51,779 - DEBUG - VM ctest-TestBasicPolicy-49098785-89376036 launched on Node cn-jenkins-deploy-platform-ansible-os-2724-1 2025-02-12 00:39:51,854 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/8558da65-fd77-46cb-9126-21421451a1c5 2025-02-12 00:39:51,865 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/7fe5e5d6-5b75-4426-bed9-0c1a4b5d4b91 2025-02-12 00:39:55,110 - 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 1011ms') 2025-02-12 00:39:55,110 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-49098785-89376036 failed! 2025-02-12 00:39:55,165 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-49098785:ctest-vn-80978118 is 58.230.229.1 and allocation pool is NOT set 2025-02-12 00:39:57,231 - 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=6.91 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.538 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.538/3.721/6.905/3.183 ms') 2025-02-12 00:39:57,231 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-49098785-89376036 passed 2025-02-12 00:39:57,389 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-12 00:39:57,389 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-49098785-89376036, IP 58.230.229.3, Port 22 2025-02-12 00:39:57,545 - DEBUG - VM ctest-TestBasicPolicy-49098785-89376036 is ready for SSH connections 2025-02-12 00:39:57,545 - INFO - Waiting for VM ctest-TestBasicPolicy-49098785-41999787 to be up.. 2025-02-12 00:39:57,633 - DEBUG - VM is in ACTIVE state now 2025-02-12 00:39:57,633 - INFO - VM name : ctest-TestBasicPolicy-49098785-41999787 2025-02-12 00:39:57,719 - DEBUG - VM ctest-TestBasicPolicy-49098785-41999787 ID is 5c762685-25af-4809-894b-9cff37a88f19 2025-02-12 00:39:57,720 - DEBUG - VM ctest-TestBasicPolicy-49098785-41999787 launched on Node cn-jenkins-deploy-platform-ansible-os-2724-1 2025-02-12 00:39:57,811 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/5c762685-25af-4809-894b-9cff37a88f19 2025-02-12 00:39:57,823 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/87bded8e-0696-440f-8228-9c8b39ac0348 2025-02-12 00:39:59,079 - 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.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.480 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.480/1.575/2.671/1.095 ms') 2025-02-12 00:39:59,079 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-49098785-41999787 passed 2025-02-12 00:39:59,237 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-12 00:39:59,237 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-49098785-41999787, IP 113.6.107.195, Port 22 2025-02-12 00:39:59,389 - DEBUG - VM ctest-TestBasicPolicy-49098785-41999787 is ready for SSH connections 2025-02-12 00:39:59,390 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-12 00:39:59,390 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 113.6.107.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.32, gateway password: c0ntrail123 2025-02-12 00:39:59,390 - DEBUG - ping -s 56 -c 3 -W 1 113.6.107.195 2025-02-12 00:40:03,464 - DEBUG - PING 113.6.107.195 (113.6.107.195): 56 data bytes 64 bytes from 113.6.107.195: seq=0 ttl=63 time=3.675 ms 64 bytes from 113.6.107.195: seq=1 ttl=63 time=0.816 ms 64 bytes from 113.6.107.195: seq=2 ttl=63 time=0.786 ms --- 113.6.107.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.786/1.759/3.675 ms 2025-02-12 00:40:03,464 - INFO - Ping to IP 113.6.107.195 from VM ctest-TestBasicPolicy-49098785-89376036 passed 2025-02-12 00:40:03,649 - DEBUG - Policy Update Response {"network-policy": {"uuid": "eb2a4880-251b-49aa-bcc9-a237b5be1fcb", "href": "http://10.0.0.32:8082/network-policy/eb2a4880-251b-49aa-bcc9-a237b5be1fcb"}} 2025-02-12 00:40:03,649 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-12 00:40:03,649 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 113.6.107.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.32, gateway password: c0ntrail123 2025-02-12 00:40:03,649 - DEBUG - ping -s 56 -c 3 -W 1 113.6.107.195 2025-02-12 00:40:06,853 - DEBUG - PING 113.6.107.195 (113.6.107.195): 56 data bytes --- 113.6.107.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-02-12 00:40:06,853 - WARNING - Ping to IP 113.6.107.195 from VM ctest-TestBasicPolicy-49098785-89376036 failed 2025-02-12 00:40:06,853 - INFO - Deleting VM ctest-TestBasicPolicy-49098785-41999787 2025-02-12 00:40:06,921 - INFO - Deleting VM ctest-TestBasicPolicy-49098785-89376036 2025-02-12 00:40:07,287 - INFO - Deleted policy ctest-policy-allow-all-36849743 2025-02-12 00:40:07,287 - INFO - Deleting VN ctest-vn-45647356 2025-02-12 00:40:07,330 - DEBUG - VN 624f3d76-da0d-4cdb-8a47-7241e71dcc7c still in use: Unable to complete operation on network 624f3d76-da0d-4cdb-8a47-7241e71dcc7c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-645dc6de-bee5-4828-aec3-b4621f61eb22'] 2025-02-12 00:40:07,330 - WARNING - Deleting VN ctest-vn-45647356 failed..Will retry 2025-02-12 00:40:09,447 - DEBUG - Response for deleting network () 2025-02-12 00:40:09,447 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/14c01564-922e-48b9-9dea-d5082c4040e6 2025-02-12 00:40:09,455 - DEBUG - Response Code: 404 2025-02-12 00:40:09,455 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2025-02-12 00:40:09,462 - DEBUG - Requesting: http://10.0.0.32:8082/domain/9ea21451-d16d-490b-b0ef-656074008d2b 2025-02-12 00:40:09,520 - DEBUG - Requesting: http://10.0.0.32:8082/project/97264126-992d-4273-9099-70ca19b6aa39 2025-02-12 00:40:09,591 - INFO - Validated that VN ctest-vn-45647356 is not found in API Server 2025-02-12 00:40:09,602 - DEBUG - VN ctest-vn-45647356 is not present in Agent 10.0.0.32 2025-02-12 00:40:09,602 - INFO - Validated that VN ctest-vn-45647356 is not in any agent 2025-02-12 00:40:09,618 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-45647356 info 2025-02-12 00:40:09,618 - INFO - Deleting VN ctest-vn-80978118 2025-02-12 00:40:09,725 - DEBUG - Response for deleting network () 2025-02-12 00:40:09,725 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/d75c27b2-594a-4e87-8ef0-59c36f45c04f 2025-02-12 00:40:09,730 - DEBUG - Response Code: 404 2025-02-12 00:40:09,730 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2025-02-12 00:40:09,739 - DEBUG - Requesting: http://10.0.0.32:8082/domain/9ea21451-d16d-490b-b0ef-656074008d2b 2025-02-12 00:40:09,799 - DEBUG - Requesting: http://10.0.0.32:8082/project/97264126-992d-4273-9099-70ca19b6aa39 2025-02-12 00:40:09,878 - INFO - Validated that VN ctest-vn-80978118 is not found in API Server 2025-02-12 00:40:09,890 - DEBUG - VN ctest-vn-80978118 is not present in Agent 10.0.0.32 2025-02-12 00:40:09,890 - INFO - Validated that VN ctest-vn-80978118 is not in any agent 2025-02-12 00:40:09,908 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-80978118 info 2025-02-12 00:40:10,162 - DEBUG - No XMPP flaps were noticed during the test
2025-02-12 00:40:10,162 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-02-12 00:40:10,162 - INFO - -------------------------------------------------------------------------------- 2025-02-12 00:40:10,831 - INFO - Deleted project: ctest-TestBasicPolicy-49098785, ID : 97264126-992d-4273-9099-70ca19b6aa39