2025-08-05 07:17:46,913 - INFO - Domain Default found not creating 2025-08-05 07:17:47,058 - INFO - Project ctest-TestBasicPolicy-68186682 not found, creating it 2025-08-05 07:17:47,502 - INFO - Created Project:ctest-TestBasicPolicy-68186682, ID : c98c844c-6d34-44c5-ac87-273bc0491351 2025-08-05 07:17:48,980 - INFO - ================================================================================ 2025-08-05 07:17:48,980 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-05 07:17:48,980 - 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-05 07:17:49,236 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.25': '0'}} with 2025-08-05 07:17:49,236 - INFO - Initial checks done. Running the testcase now 2025-08-05 07:17:49,236 - INFO - 2025-08-05 07:17:49,795 - DEBUG - Response for create_network : {'network': {'id': 'b4192c84-0a16-4788-8e32-8b490a38aa0a', 'name': 'ctest-vn-76119244', 'tenant_id': 'c98c844c6d3444c5ac87273bc0491351', 'project_id': 'c98c844c6d3444c5ac87273bc0491351', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68186682', 'ctest-vn-76119244'], 'port_security_enabled': True, 'description': ''}} 2025-08-05 07:17:49,962 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ff0fe141-159b-4a2f-abdc-9406b78308d8', 'name': '', 'tenant_id': 'c98c844c6d3444c5ac87273bc0491351', 'network_id': 'b4192c84-0a16-4788-8e32-8b490a38aa0a', 'ip_version': 4, 'cidr': '67.125.103.128/26', 'allocation_pools': [{'start': '67.125.103.130', 'end': '67.125.103.190'}], 'gateway_ip': '67.125.103.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '67.125.103.130', 'tags': [], 'project_id': 'c98c844c6d3444c5ac87273bc0491351'}} 2025-08-05 07:17:49,983 - INFO - Created VN ctest-vn-76119244 2025-08-05 07:17:50,037 - DEBUG - VN ctest-vn-76119244 UUID is b4192c84-0a16-4788-8e32-8b490a38aa0a 2025-08-05 07:17:50,351 - DEBUG - Response for create_network : {'network': {'id': '69e6e256-eab9-48b5-bd74-9efffdce1362', 'name': 'ctest-vn-67139745', 'tenant_id': 'c98c844c6d3444c5ac87273bc0491351', 'project_id': 'c98c844c6d3444c5ac87273bc0491351', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68186682', 'ctest-vn-67139745'], 'port_security_enabled': True, 'description': ''}} 2025-08-05 07:17:50,515 - DEBUG - Response for create_subnet : {'subnet': {'id': 'af1b74b4-4451-441c-b034-b50c1801db46', 'name': '', 'tenant_id': 'c98c844c6d3444c5ac87273bc0491351', 'network_id': '69e6e256-eab9-48b5-bd74-9efffdce1362', 'ip_version': 4, 'cidr': '66.94.237.0/26', 'allocation_pools': [{'start': '66.94.237.2', 'end': '66.94.237.62'}], 'gateway_ip': '66.94.237.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.94.237.2', 'tags': [], 'project_id': 'c98c844c6d3444c5ac87273bc0491351'}} 2025-08-05 07:17:50,533 - INFO - Created VN ctest-vn-67139745 2025-08-05 07:17:50,585 - DEBUG - VN ctest-vn-67139745 UUID is 69e6e256-eab9-48b5-bd74-9efffdce1362 2025-08-05 07:17:50,696 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-68186682:ctest-vn-76119244, 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-68186682:ctest-vn-67139745, 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-05 07:17:51,007 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b4192c84-0a16-4788-8e32-8b490a38aa0a', 'name': 'ctest-vn-76119244', 'tenant_id': 'c98c844c6d3444c5ac87273bc0491351', 'project_id': 'c98c844c6d3444c5ac87273bc0491351', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ff0fe141-159b-4a2f-abdc-9406b78308d8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68186682', 'ctest-vn-76119244'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-68186682', 'ctest-policy-allow-all-95823298']], 'subnet_ipam': [{'subnet_cidr': '67.125.103.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-05 07:17:51,241 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '69e6e256-eab9-48b5-bd74-9efffdce1362', 'name': 'ctest-vn-67139745', 'tenant_id': 'c98c844c6d3444c5ac87273bc0491351', 'project_id': 'c98c844c6d3444c5ac87273bc0491351', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['af1b74b4-4451-441c-b034-b50c1801db46'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68186682', 'ctest-vn-67139745'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-68186682', 'ctest-policy-allow-all-95823298']], 'subnet_ipam': [{'subnet_cidr': '66.94.237.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-05 07:17:51,409 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-08-05 07:17:51,703 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-08-05 07:17:51,732 - DEBUG - Requesting: http://10.0.0.49:8082/domain/254e05bd-08ec-4968-824f-1cd9244d9bd1 2025-08-05 07:17:51,746 - DEBUG - Requesting: http://10.0.0.49:8082/project/c98c844c-6d34-44c5-ac87-273bc0491351 2025-08-05 07:17:51,819 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/b4192c84-0a16-4788-8e32-8b490a38aa0a 2025-08-05 07:17:51,833 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/b4192c84-0a16-4788-8e32-8b490a38aa0a 2025-08-05 07:17:51,846 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/eb4701c9-6d0c-4f29-b913-8361f5576794 2025-08-05 07:17:51,854 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/eb4701c9-6d0c-4f29-b913-8361f5576794 2025-08-05 07:17:51,863 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/c088eb38-a819-4f84-a98e-e58c1337d172 2025-08-05 07:17:51,870 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-05 07:17:51,870 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/b4192c84-0a16-4788-8e32-8b490a38aa0a 2025-08-05 07:17:51,879 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/eb4701c9-6d0c-4f29-b913-8361f5576794 2025-08-05 07:17:51,893 - INFO - Verified VN network id 12 for VN b4192c84-0a16-4788-8e32-8b490a38aa0a 2025-08-05 07:17:51,893 - INFO - Verifications in API Server for VN ctest-vn-76119244 passed 2025-08-05 07:17:51,893 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/b4192c84-0a16-4788-8e32-8b490a38aa0a 2025-08-05 07:17:51,903 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/eb4701c9-6d0c-4f29-b913-8361f5576794 2025-08-05 07:17:51,911 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/eb4701c9-6d0c-4f29-b913-8361f5576794 2025-08-05 07:17:51,919 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/c088eb38-a819-4f84-a98e-e58c1337d172 2025-08-05 07:17:51,932 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-68186682:ctest-vn-76119244', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-68186682', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12977452746861332360', 'uuid-lslong': '10246405248041658890'}, 'enable': 'true', 'created': '2025-08-05T07:17:49', 'last-modified': '2025-08-05T07:17:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.953775'} 2025-08-05 07:17:51,939 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-05 07:17:51,939 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76119244 passed 2025-08-05 07:17:51,939 - DEBUG - ====Verifying policy data for ctest-vn-76119244 in API_Server ====== 2025-08-05 07:17:51,939 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-08-05 07:17:51,945 - DEBUG - Requesting: http://10.0.0.49:8082/domain/254e05bd-08ec-4968-824f-1cd9244d9bd1 2025-08-05 07:17:51,958 - DEBUG - Requesting: http://10.0.0.49:8082/project/c98c844c-6d34-44c5-ac87-273bc0491351 2025-08-05 07:17:52,025 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/b4192c84-0a16-4788-8e32-8b490a38aa0a 2025-08-05 07:17:52,035 - DEBUG - ==>Verifying data for policy with id: cb8732ab-320f-4692-b4d1-da6027904484, fqn: ['default-domain', 'ctest-TestBasicPolicy-68186682', 'ctest-policy-allow-all-95823298'] 2025-08-05 07:17:52,035 - INFO - VN ctest-vn-76119244 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-05 07:17:52,035 - DEBUG - Verifying the vn in opserver 2025-08-05 07:17:52,036 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-68186682:ctest-vn-76119244 virtual network link through opserver 10.0.0.49 2025-08-05 07:17:52,036 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-08-05 07:17:52,326 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-08-05 07:17:52,384 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-68186682:ctest-vn-76119244', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-68186682:ctest-vn-76119244?flat'} 2025-08-05 07:17:52,384 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-68186682:ctest-vn-76119244 is found in opserver 2025-08-05 07:17:52,397 - DEBUG - Do not have enough data to verify VN in agent 2025-08-05 07:17:52,403 - DEBUG - VRF ids for VN ctest-vn-76119244: {} 2025-08-05 07:17:52,403 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-08-05 07:17:52,411 - DEBUG - Requesting: http://10.0.0.49:8082/domain/254e05bd-08ec-4968-824f-1cd9244d9bd1 2025-08-05 07:17:52,426 - DEBUG - Requesting: http://10.0.0.49:8082/project/c98c844c-6d34-44c5-ac87-273bc0491351 2025-08-05 07:17:52,496 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/69e6e256-eab9-48b5-bd74-9efffdce1362 2025-08-05 07:17:52,510 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/69e6e256-eab9-48b5-bd74-9efffdce1362 2025-08-05 07:17:52,521 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/ea0349f2-f8b3-441c-b723-57fe8a15a870 2025-08-05 07:17:52,529 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/ea0349f2-f8b3-441c-b723-57fe8a15a870 2025-08-05 07:17:52,537 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/0de08157-9f90-419b-b4c5-aade2b454b79 2025-08-05 07:17:52,545 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-05 07:17:52,545 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/69e6e256-eab9-48b5-bd74-9efffdce1362 2025-08-05 07:17:52,555 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/ea0349f2-f8b3-441c-b723-57fe8a15a870 2025-08-05 07:17:52,570 - INFO - Verified VN network id 13 for VN 69e6e256-eab9-48b5-bd74-9efffdce1362 2025-08-05 07:17:52,570 - INFO - Verifications in API Server for VN ctest-vn-67139745 passed 2025-08-05 07:17:52,570 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/69e6e256-eab9-48b5-bd74-9efffdce1362 2025-08-05 07:17:52,582 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/ea0349f2-f8b3-441c-b723-57fe8a15a870 2025-08-05 07:17:52,589 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/ea0349f2-f8b3-441c-b723-57fe8a15a870 2025-08-05 07:17:52,596 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/0de08157-9f90-419b-b4c5-aade2b454b79 2025-08-05 07:17:52,610 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-68186682:ctest-vn-67139745', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-68186682', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7631035481558960309', 'uuid-lslong': '13651711192778806114'}, 'enable': 'true', 'created': '2025-08-05T07:17:50', 'last-modified': '2025-08-05T07:17:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.387474'} 2025-08-05 07:17:52,617 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-05 07:17:52,617 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-67139745 passed 2025-08-05 07:17:52,618 - DEBUG - ====Verifying policy data for ctest-vn-67139745 in API_Server ====== 2025-08-05 07:17:52,618 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-08-05 07:17:52,625 - DEBUG - Requesting: http://10.0.0.49:8082/domain/254e05bd-08ec-4968-824f-1cd9244d9bd1 2025-08-05 07:17:52,640 - DEBUG - Requesting: http://10.0.0.49:8082/project/c98c844c-6d34-44c5-ac87-273bc0491351 2025-08-05 07:17:52,717 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/69e6e256-eab9-48b5-bd74-9efffdce1362 2025-08-05 07:17:52,728 - DEBUG - ==>Verifying data for policy with id: cb8732ab-320f-4692-b4d1-da6027904484, fqn: ['default-domain', 'ctest-TestBasicPolicy-68186682', 'ctest-policy-allow-all-95823298'] 2025-08-05 07:17:52,728 - INFO - VN ctest-vn-67139745 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-05 07:17:52,728 - DEBUG - Verifying the vn in opserver 2025-08-05 07:17:52,728 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-68186682:ctest-vn-67139745 virtual network link through opserver 10.0.0.49 2025-08-05 07:17:52,728 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-08-05 07:17:52,739 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-68186682:ctest-vn-67139745', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-68186682:ctest-vn-67139745?flat'} 2025-08-05 07:17:52,739 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-68186682:ctest-vn-67139745 is found in opserver 2025-08-05 07:17:52,749 - DEBUG - Do not have enough data to verify VN in agent 2025-08-05 07:17:52,754 - DEBUG - VRF ids for VN ctest-vn-67139745: {} 2025-08-05 07:17:52,807 - DEBUG - Services list from nova: [, , ] 2025-08-05 07:17:53,792 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3757-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3757-1) 2025-08-05 07:17:54,900 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3757-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3757-1) 2025-08-05 07:17:54,900 - INFO - Waiting for VM ctest-TestBasicPolicy-68186682-04849281 to be up.. 2025-08-05 07:17:54,985 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-05 07:18:00,058 - DEBUG - VM is in ACTIVE state now 2025-08-05 07:18:00,058 - INFO - VM name : ctest-TestBasicPolicy-68186682-04849281 2025-08-05 07:18:00,132 - DEBUG - VM ctest-TestBasicPolicy-68186682-04849281 ID is 5ca0b2fe-db91-4ae2-861b-53cc7e1e4c5b 2025-08-05 07:18:00,151 - DEBUG - VM ctest-TestBasicPolicy-68186682-04849281 launched on Node cn-jenkins-deploy-platform-ansible-os-3757-1 2025-08-05 07:18:00,224 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/5ca0b2fe-db91-4ae2-861b-53cc7e1e4c5b 2025-08-05 07:18:00,233 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/eca6e20f-38cb-407f-8aa4-a8f90d1d70aa 2025-08-05 07:18:03,475 - 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 1003ms') 2025-08-05 07:18:03,475 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-68186682-04849281 failed! 2025-08-05 07:18:03,533 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-68186682:ctest-vn-76119244 is 67.125.103.129 and allocation pool is NOT set 2025-08-05 07:18:05,590 - 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=2.89 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.470 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.470/1.680/2.890/1.210 ms') 2025-08-05 07:18:05,591 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-68186682-04849281 passed 2025-08-05 07:18:05,749 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-05 07:18:05,749 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-68186682-04849281, IP 67.125.103.131, Port 22 2025-08-05 07:18:05,913 - DEBUG - VM ctest-TestBasicPolicy-68186682-04849281 is ready for SSH connections 2025-08-05 07:18:05,913 - INFO - Waiting for VM ctest-TestBasicPolicy-68186682-10014779 to be up.. 2025-08-05 07:18:05,997 - DEBUG - VM is in ACTIVE state now 2025-08-05 07:18:05,997 - INFO - VM name : ctest-TestBasicPolicy-68186682-10014779 2025-08-05 07:18:06,068 - DEBUG - VM ctest-TestBasicPolicy-68186682-10014779 ID is 4a92d236-6333-48a4-af3a-9fcd934b5eb3 2025-08-05 07:18:06,068 - DEBUG - VM ctest-TestBasicPolicy-68186682-10014779 launched on Node cn-jenkins-deploy-platform-ansible-os-3757-1 2025-08-05 07:18:06,145 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/4a92d236-6333-48a4-af3a-9fcd934b5eb3 2025-08-05 07:18:06,156 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/cc367eda-9a9d-4816-8598-f7460e346728 2025-08-05 07:18:07,397 - 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.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.481 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.481/1.722/2.964/1.241 ms') 2025-08-05 07:18:07,397 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-68186682-10014779 passed 2025-08-05 07:18:07,557 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-05 07:18:07,557 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-68186682-10014779, IP 66.94.237.3, Port 22 2025-08-05 07:18:07,712 - DEBUG - VM ctest-TestBasicPolicy-68186682-10014779 is ready for SSH connections 2025-08-05 07:18:07,713 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-05 07:18:07,713 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 66.94.237.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-05 07:18:07,713 - DEBUG - ping -s 56 -c 3 -W 1 66.94.237.3 2025-08-05 07:18:11,390 - DEBUG - PING 66.94.237.3 (66.94.237.3): 56 data bytes 64 bytes from 66.94.237.3: seq=0 ttl=63 time=3.600 ms 64 bytes from 66.94.237.3: seq=1 ttl=63 time=0.836 ms 64 bytes from 66.94.237.3: seq=2 ttl=63 time=0.791 ms --- 66.94.237.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.791/1.742/3.600 ms 2025-08-05 07:18:11,390 - INFO - Ping to IP 66.94.237.3 from VM ctest-TestBasicPolicy-68186682-04849281 passed 2025-08-05 07:18:11,569 - DEBUG - Policy Update Response {"network-policy": {"uuid": "cb8732ab-320f-4692-b4d1-da6027904484", "href": "http://10.0.0.49:8082/network-policy/cb8732ab-320f-4692-b4d1-da6027904484"}} 2025-08-05 07:18:11,569 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-05 07:18:11,569 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 66.94.237.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-05 07:18:11,569 - DEBUG - ping -s 56 -c 3 -W 1 66.94.237.3 2025-08-05 07:18:14,772 - DEBUG - PING 66.94.237.3 (66.94.237.3): 56 data bytes --- 66.94.237.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-05 07:18:14,772 - WARNING - Ping to IP 66.94.237.3 from VM ctest-TestBasicPolicy-68186682-04849281 failed 2025-08-05 07:18:14,772 - INFO - Deleting VM ctest-TestBasicPolicy-68186682-10014779 2025-08-05 07:18:14,837 - INFO - Deleting VM ctest-TestBasicPolicy-68186682-04849281 2025-08-05 07:18:15,244 - INFO - Deleted policy ctest-policy-allow-all-95823298 2025-08-05 07:18:15,244 - INFO - Deleting VN ctest-vn-67139745 2025-08-05 07:18:15,281 - DEBUG - VN 69e6e256-eab9-48b5-bd74-9efffdce1362 still in use: Unable to complete operation on network 69e6e256-eab9-48b5-bd74-9efffdce1362. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-dcf1e6d9-e27b-4ec0-a5a2-9f5c584bc1e9'] 2025-08-05 07:18:15,281 - WARNING - Deleting VN ctest-vn-67139745 failed..Will retry 2025-08-05 07:18:17,383 - DEBUG - Response for deleting network () 2025-08-05 07:18:17,383 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/ea0349f2-f8b3-441c-b723-57fe8a15a870 2025-08-05 07:18:17,396 - DEBUG - Response Code: 404 2025-08-05 07:18:17,397 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-08-05 07:18:17,403 - DEBUG - Requesting: http://10.0.0.49:8082/domain/254e05bd-08ec-4968-824f-1cd9244d9bd1 2025-08-05 07:18:17,460 - DEBUG - Requesting: http://10.0.0.49:8082/project/c98c844c-6d34-44c5-ac87-273bc0491351 2025-08-05 07:18:17,534 - INFO - Validated that VN ctest-vn-67139745 is not found in API Server 2025-08-05 07:18:17,547 - DEBUG - VN ctest-vn-67139745 is not present in Agent 10.0.0.49 2025-08-05 07:18:17,547 - INFO - Validated that VN ctest-vn-67139745 is not in any agent 2025-08-05 07:18:17,564 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-67139745 info 2025-08-05 07:18:17,564 - INFO - Deleting VN ctest-vn-76119244 2025-08-05 07:18:17,663 - DEBUG - Response for deleting network () 2025-08-05 07:18:17,663 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/eb4701c9-6d0c-4f29-b913-8361f5576794 2025-08-05 07:18:17,670 - DEBUG - Response Code: 404 2025-08-05 07:18:17,671 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-08-05 07:18:17,676 - DEBUG - Requesting: http://10.0.0.49:8082/domain/254e05bd-08ec-4968-824f-1cd9244d9bd1 2025-08-05 07:18:17,730 - DEBUG - Requesting: http://10.0.0.49:8082/project/c98c844c-6d34-44c5-ac87-273bc0491351 2025-08-05 07:18:17,803 - INFO - Validated that VN ctest-vn-76119244 is not found in API Server 2025-08-05 07:18:17,814 - DEBUG - VN ctest-vn-76119244 is not present in Agent 10.0.0.49 2025-08-05 07:18:17,814 - INFO - Validated that VN ctest-vn-76119244 is not in any agent 2025-08-05 07:18:17,829 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-76119244 info 2025-08-05 07:18:18,083 - DEBUG - No XMPP flaps were noticed during the test
2025-08-05 07:18:18,083 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-08-05 07:18:18,083 - INFO - -------------------------------------------------------------------------------- 2025-08-05 07:18:18,763 - INFO - Deleted project: ctest-TestBasicPolicy-68186682, ID : c98c844c-6d34-44c5-ac87-273bc0491351