2025-07-23 13:06:49,631 - INFO - Domain Default found not creating 2025-07-23 13:06:49,808 - INFO - Project ctest-TestBasicPolicy-87591524 not found, creating it 2025-07-23 13:06:50,280 - INFO - Created Project:ctest-TestBasicPolicy-87591524, ID : 2c9d5127-7655-4dec-83b7-9620458f5d84 2025-07-23 13:06:51,762 - INFO - ================================================================================ 2025-07-23 13:06:51,763 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-23 13:06:51,763 - 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-07-23 13:06:52,021 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with 2025-07-23 13:06:52,021 - INFO - Initial checks done. Running the testcase now 2025-07-23 13:06:52,021 - INFO - 2025-07-23 13:06:52,565 - DEBUG - Response for create_network : {'network': {'id': '29adb21f-d58e-431a-b031-764fab1aa51c', 'name': 'ctest-vn-77331564', 'tenant_id': '2c9d512776554dec83b79620458f5d84', 'project_id': '2c9d512776554dec83b79620458f5d84', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87591524', 'ctest-vn-77331564'], 'port_security_enabled': True, 'description': ''}} 2025-07-23 13:06:52,747 - DEBUG - Response for create_subnet : {'subnet': {'id': '86ee0392-56f9-43c6-915d-867e6d8d9a1b', 'name': '', 'tenant_id': '2c9d512776554dec83b79620458f5d84', 'network_id': '29adb21f-d58e-431a-b031-764fab1aa51c', 'ip_version': 4, 'cidr': '176.209.45.128/26', 'allocation_pools': [{'start': '176.209.45.130', 'end': '176.209.45.190'}], 'gateway_ip': '176.209.45.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '176.209.45.130', 'tags': [], 'project_id': '2c9d512776554dec83b79620458f5d84'}} 2025-07-23 13:06:52,770 - INFO - Created VN ctest-vn-77331564 2025-07-23 13:06:52,826 - DEBUG - VN ctest-vn-77331564 UUID is 29adb21f-d58e-431a-b031-764fab1aa51c 2025-07-23 13:06:53,135 - DEBUG - Response for create_network : {'network': {'id': 'a345b103-3572-47f5-9211-4d602c00e9c9', 'name': 'ctest-vn-29558925', 'tenant_id': '2c9d512776554dec83b79620458f5d84', 'project_id': '2c9d512776554dec83b79620458f5d84', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87591524', 'ctest-vn-29558925'], 'port_security_enabled': True, 'description': ''}} 2025-07-23 13:06:53,307 - DEBUG - Response for create_subnet : {'subnet': {'id': '0936b125-a00f-4f3d-8688-67497682ba4c', 'name': '', 'tenant_id': '2c9d512776554dec83b79620458f5d84', 'network_id': 'a345b103-3572-47f5-9211-4d602c00e9c9', 'ip_version': 4, 'cidr': '28.100.178.0/26', 'allocation_pools': [{'start': '28.100.178.2', 'end': '28.100.178.62'}], 'gateway_ip': '28.100.178.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '28.100.178.2', 'tags': [], 'project_id': '2c9d512776554dec83b79620458f5d84'}} 2025-07-23 13:06:53,327 - INFO - Created VN ctest-vn-29558925 2025-07-23 13:06:53,386 - DEBUG - VN ctest-vn-29558925 UUID is a345b103-3572-47f5-9211-4d602c00e9c9 2025-07-23 13:06:53,508 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-87591524:ctest-vn-77331564, 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-87591524:ctest-vn-29558925, 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-07-23 13:06:53,850 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '29adb21f-d58e-431a-b031-764fab1aa51c', 'name': 'ctest-vn-77331564', 'tenant_id': '2c9d512776554dec83b79620458f5d84', 'project_id': '2c9d512776554dec83b79620458f5d84', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['86ee0392-56f9-43c6-915d-867e6d8d9a1b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87591524', 'ctest-vn-77331564'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-87591524', 'ctest-policy-allow-all-85838655']], 'subnet_ipam': [{'subnet_cidr': '176.209.45.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-23 13:06:54,105 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a345b103-3572-47f5-9211-4d602c00e9c9', 'name': 'ctest-vn-29558925', 'tenant_id': '2c9d512776554dec83b79620458f5d84', 'project_id': '2c9d512776554dec83b79620458f5d84', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0936b125-a00f-4f3d-8688-67497682ba4c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87591524', 'ctest-vn-29558925'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-87591524', 'ctest-policy-allow-all-85838655']], 'subnet_ipam': [{'subnet_cidr': '28.100.178.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-23 13:06:54,286 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-07-23 13:06:54,578 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-07-23 13:06:54,609 - DEBUG - Requesting: http://10.0.0.19:8082/domain/280b301f-15e6-4739-b5a3-0247bb4a39e4 2025-07-23 13:06:54,625 - DEBUG - Requesting: http://10.0.0.19:8082/project/2c9d5127-7655-4dec-83b7-9620458f5d84 2025-07-23 13:06:54,698 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/29adb21f-d58e-431a-b031-764fab1aa51c 2025-07-23 13:06:54,710 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/29adb21f-d58e-431a-b031-764fab1aa51c 2025-07-23 13:06:54,720 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/8cc39bf0-845e-47a4-9b33-c54431deeed7 2025-07-23 13:06:54,727 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/8cc39bf0-845e-47a4-9b33-c54431deeed7 2025-07-23 13:06:54,734 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/edc6ca88-9d2c-4822-8667-69c38ce24127 2025-07-23 13:06:54,740 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-23 13:06:54,741 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/29adb21f-d58e-431a-b031-764fab1aa51c 2025-07-23 13:06:54,751 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/8cc39bf0-845e-47a4-9b33-c54431deeed7 2025-07-23 13:06:54,767 - INFO - Verified VN network id 11 for VN 29adb21f-d58e-431a-b031-764fab1aa51c 2025-07-23 13:06:54,767 - INFO - Verifications in API Server for VN ctest-vn-77331564 passed 2025-07-23 13:06:54,767 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/29adb21f-d58e-431a-b031-764fab1aa51c 2025-07-23 13:06:54,780 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/8cc39bf0-845e-47a4-9b33-c54431deeed7 2025-07-23 13:06:54,790 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/8cc39bf0-845e-47a4-9b33-c54431deeed7 2025-07-23 13:06:54,798 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/edc6ca88-9d2c-4822-8667-69c38ce24127 2025-07-23 13:06:54,813 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-87591524:ctest-vn-77331564', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-87591524', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3003252376322589466', 'uuid-lslong': '12696058909079282972'}, 'enable': 'true', 'created': '2025-07-23T13:06:52', 'last-modified': '2025-07-23T13:06:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.999461'} 2025-07-23 13:06:54,820 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-23 13:06:54,820 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-77331564 passed 2025-07-23 13:06:54,820 - DEBUG - ====Verifying policy data for ctest-vn-77331564 in API_Server ====== 2025-07-23 13:06:54,820 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-07-23 13:06:54,827 - DEBUG - Requesting: http://10.0.0.19:8082/domain/280b301f-15e6-4739-b5a3-0247bb4a39e4 2025-07-23 13:06:54,843 - DEBUG - Requesting: http://10.0.0.19:8082/project/2c9d5127-7655-4dec-83b7-9620458f5d84 2025-07-23 13:06:54,926 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/29adb21f-d58e-431a-b031-764fab1aa51c 2025-07-23 13:06:54,940 - DEBUG - ==>Verifying data for policy with id: f511b0b4-fc8e-4fad-80a2-e1a737ddb846, fqn: ['default-domain', 'ctest-TestBasicPolicy-87591524', 'ctest-policy-allow-all-85838655'] 2025-07-23 13:06:54,940 - INFO - VN ctest-vn-77331564 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-23 13:06:54,940 - DEBUG - Verifying the vn in opserver 2025-07-23 13:06:54,940 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-87591524:ctest-vn-77331564 virtual network link through opserver 10.0.0.19 2025-07-23 13:06:54,941 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-07-23 13:06:55,236 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-07-23 13:06:55,306 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-87591524:ctest-vn-77331564', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-87591524:ctest-vn-77331564?flat'} 2025-07-23 13:06:55,306 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-87591524:ctest-vn-77331564 is found in opserver 2025-07-23 13:06:55,318 - DEBUG - Do not have enough data to verify VN in agent 2025-07-23 13:06:55,324 - DEBUG - VRF ids for VN ctest-vn-77331564: {} 2025-07-23 13:06:55,324 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-07-23 13:06:55,330 - DEBUG - Requesting: http://10.0.0.19:8082/domain/280b301f-15e6-4739-b5a3-0247bb4a39e4 2025-07-23 13:06:55,344 - DEBUG - Requesting: http://10.0.0.19:8082/project/2c9d5127-7655-4dec-83b7-9620458f5d84 2025-07-23 13:06:55,423 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/a345b103-3572-47f5-9211-4d602c00e9c9 2025-07-23 13:06:55,438 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/a345b103-3572-47f5-9211-4d602c00e9c9 2025-07-23 13:06:55,449 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/2b594359-9979-4d66-8ac1-c7d5e476afd8 2025-07-23 13:06:55,457 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/2b594359-9979-4d66-8ac1-c7d5e476afd8 2025-07-23 13:06:55,465 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/0a39e30f-51d4-43c6-81c5-3fa00c1ec0b1 2025-07-23 13:06:55,474 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-23 13:06:55,474 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/a345b103-3572-47f5-9211-4d602c00e9c9 2025-07-23 13:06:55,484 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/2b594359-9979-4d66-8ac1-c7d5e476afd8 2025-07-23 13:06:55,504 - INFO - Verified VN network id 12 for VN a345b103-3572-47f5-9211-4d602c00e9c9 2025-07-23 13:06:55,504 - INFO - Verifications in API Server for VN ctest-vn-29558925 passed 2025-07-23 13:06:55,504 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/a345b103-3572-47f5-9211-4d602c00e9c9 2025-07-23 13:06:55,516 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/2b594359-9979-4d66-8ac1-c7d5e476afd8 2025-07-23 13:06:55,525 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/2b594359-9979-4d66-8ac1-c7d5e476afd8 2025-07-23 13:06:55,534 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/0a39e30f-51d4-43c6-81c5-3fa00c1ec0b1 2025-07-23 13:06:55,549 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-87591524:ctest-vn-29558925', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-87591524', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11765004228914989045', 'uuid-lslong': '10525278879592016329'}, 'enable': 'true', 'created': '2025-07-23T13:06:53', 'last-modified': '2025-07-23T13:06:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.471574'} 2025-07-23 13:06:55,557 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-23 13:06:55,557 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-29558925 passed 2025-07-23 13:06:55,557 - DEBUG - ====Verifying policy data for ctest-vn-29558925 in API_Server ====== 2025-07-23 13:06:55,557 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-07-23 13:06:55,564 - DEBUG - Requesting: http://10.0.0.19:8082/domain/280b301f-15e6-4739-b5a3-0247bb4a39e4 2025-07-23 13:06:55,580 - DEBUG - Requesting: http://10.0.0.19:8082/project/2c9d5127-7655-4dec-83b7-9620458f5d84 2025-07-23 13:06:55,658 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/a345b103-3572-47f5-9211-4d602c00e9c9 2025-07-23 13:06:55,670 - DEBUG - ==>Verifying data for policy with id: f511b0b4-fc8e-4fad-80a2-e1a737ddb846, fqn: ['default-domain', 'ctest-TestBasicPolicy-87591524', 'ctest-policy-allow-all-85838655'] 2025-07-23 13:06:55,670 - INFO - VN ctest-vn-29558925 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-23 13:06:55,670 - DEBUG - Verifying the vn in opserver 2025-07-23 13:06:55,670 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-87591524:ctest-vn-29558925 virtual network link through opserver 10.0.0.19 2025-07-23 13:06:55,670 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-07-23 13:06:55,682 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-87591524:ctest-vn-29558925', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-87591524:ctest-vn-29558925?flat'} 2025-07-23 13:06:55,682 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-87591524:ctest-vn-29558925 is found in opserver 2025-07-23 13:06:55,694 - DEBUG - Do not have enough data to verify VN in agent 2025-07-23 13:06:55,700 - DEBUG - VRF ids for VN ctest-vn-29558925: {} 2025-07-23 13:06:55,764 - DEBUG - Services list from nova: [, , ] 2025-07-23 13:06:56,786 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3699-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3699-1) 2025-07-23 13:06:57,908 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3699-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3699-1) 2025-07-23 13:06:57,909 - INFO - Waiting for VM ctest-TestBasicPolicy-87591524-29549204 to be up.. 2025-07-23 13:06:57,989 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-23 13:07:03,074 - DEBUG - VM is in ACTIVE state now 2025-07-23 13:07:03,074 - INFO - VM name : ctest-TestBasicPolicy-87591524-29549204 2025-07-23 13:07:03,151 - DEBUG - VM ctest-TestBasicPolicy-87591524-29549204 ID is a4194a1b-0074-4165-bb65-6fd89351c498 2025-07-23 13:07:03,173 - DEBUG - VM ctest-TestBasicPolicy-87591524-29549204 launched on Node cn-jenkins-deploy-platform-ansible-os-3699-1 2025-07-23 13:07:03,248 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/a4194a1b-0074-4165-bb65-6fd89351c498 2025-07-23 13:07:03,259 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/60868052-b383-4b8a-8041-4bb6f6b3f878 2025-07-23 13:07:06,540 - 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 1018ms') 2025-07-23 13:07:06,540 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-87591524-29549204 failed! 2025-07-23 13:07:06,594 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-87591524:ctest-vn-77331564 is 176.209.45.129 and allocation pool is NOT set 2025-07-23 13:07:08,656 - 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=7.91 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.86 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 = 1.855/4.883/7.911/3.028 ms') 2025-07-23 13:07:08,656 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-87591524-29549204 passed 2025-07-23 13:07:08,814 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 13:07:08,815 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-87591524-29549204, IP 176.209.45.131, Port 22 2025-07-23 13:07:08,984 - DEBUG - VM ctest-TestBasicPolicy-87591524-29549204 is ready for SSH connections 2025-07-23 13:07:08,984 - INFO - Waiting for VM ctest-TestBasicPolicy-87591524-68275472 to be up.. 2025-07-23 13:07:09,069 - DEBUG - VM is in ACTIVE state now 2025-07-23 13:07:09,070 - INFO - VM name : ctest-TestBasicPolicy-87591524-68275472 2025-07-23 13:07:09,145 - DEBUG - VM ctest-TestBasicPolicy-87591524-68275472 ID is 99f6581e-bf3b-40ed-b28b-f36d8a2ae091 2025-07-23 13:07:09,145 - DEBUG - VM ctest-TestBasicPolicy-87591524-68275472 launched on Node cn-jenkins-deploy-platform-ansible-os-3699-1 2025-07-23 13:07:09,225 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/99f6581e-bf3b-40ed-b28b-f36d8a2ae091 2025-07-23 13:07:09,234 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/ff86b09f-739a-4369-b935-39708239131c 2025-07-23 13:07:10,480 - 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.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.608 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.608/1.840/3.073/1.232 ms') 2025-07-23 13:07:10,480 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-87591524-68275472 passed 2025-07-23 13:07:10,635 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 13:07:10,635 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-87591524-68275472, IP 28.100.178.3, Port 22 2025-07-23 13:07:10,789 - DEBUG - VM ctest-TestBasicPolicy-87591524-68275472 is ready for SSH connections 2025-07-23 13:07:10,789 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 13:07:10,789 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 28.100.178.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-07-23 13:07:10,789 - DEBUG - ping -s 56 -c 3 -W 1 28.100.178.3 2025-07-23 13:07:14,461 - DEBUG - PING 28.100.178.3 (28.100.178.3): 56 data bytes 64 bytes from 28.100.178.3: seq=0 ttl=63 time=3.680 ms 64 bytes from 28.100.178.3: seq=1 ttl=63 time=0.846 ms 64 bytes from 28.100.178.3: seq=2 ttl=63 time=0.832 ms --- 28.100.178.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.832/1.786/3.680 ms 2025-07-23 13:07:14,461 - INFO - Ping to IP 28.100.178.3 from VM ctest-TestBasicPolicy-87591524-29549204 passed 2025-07-23 13:07:14,646 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f511b0b4-fc8e-4fad-80a2-e1a737ddb846", "href": "http://10.0.0.19:8082/network-policy/f511b0b4-fc8e-4fad-80a2-e1a737ddb846"}} 2025-07-23 13:07:14,646 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 13:07:14,646 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 28.100.178.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-07-23 13:07:14,646 - DEBUG - ping -s 56 -c 3 -W 1 28.100.178.3 2025-07-23 13:07:17,864 - DEBUG - PING 28.100.178.3 (28.100.178.3): 56 data bytes --- 28.100.178.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-23 13:07:17,865 - WARNING - Ping to IP 28.100.178.3 from VM ctest-TestBasicPolicy-87591524-29549204 failed 2025-07-23 13:07:17,865 - INFO - Deleting VM ctest-TestBasicPolicy-87591524-68275472 2025-07-23 13:07:17,941 - INFO - Deleting VM ctest-TestBasicPolicy-87591524-29549204 2025-07-23 13:07:18,343 - INFO - Deleted policy ctest-policy-allow-all-85838655 2025-07-23 13:07:18,343 - INFO - Deleting VN ctest-vn-29558925 2025-07-23 13:07:18,396 - DEBUG - VN a345b103-3572-47f5-9211-4d602c00e9c9 still in use: Unable to complete operation on network a345b103-3572-47f5-9211-4d602c00e9c9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c831d05a-e547-4320-9f82-817f26437333'] 2025-07-23 13:07:18,396 - WARNING - Deleting VN ctest-vn-29558925 failed..Will retry 2025-07-23 13:07:20,500 - DEBUG - Response for deleting network () 2025-07-23 13:07:20,500 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/2b594359-9979-4d66-8ac1-c7d5e476afd8 2025-07-23 13:07:20,508 - DEBUG - Response Code: 404 2025-07-23 13:07:20,509 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-07-23 13:07:20,517 - DEBUG - Requesting: http://10.0.0.19:8082/domain/280b301f-15e6-4739-b5a3-0247bb4a39e4 2025-07-23 13:07:20,572 - DEBUG - Requesting: http://10.0.0.19:8082/project/2c9d5127-7655-4dec-83b7-9620458f5d84 2025-07-23 13:07:20,648 - INFO - Validated that VN ctest-vn-29558925 is not found in API Server 2025-07-23 13:07:20,659 - DEBUG - VN ctest-vn-29558925 is not present in Agent 10.0.0.19 2025-07-23 13:07:20,659 - INFO - Validated that VN ctest-vn-29558925 is not in any agent 2025-07-23 13:07:20,675 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-29558925 info 2025-07-23 13:07:20,675 - INFO - Deleting VN ctest-vn-77331564 2025-07-23 13:07:20,790 - DEBUG - Response for deleting network () 2025-07-23 13:07:20,790 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/8cc39bf0-845e-47a4-9b33-c54431deeed7 2025-07-23 13:07:20,797 - DEBUG - Response Code: 404 2025-07-23 13:07:20,797 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-07-23 13:07:20,803 - DEBUG - Requesting: http://10.0.0.19:8082/domain/280b301f-15e6-4739-b5a3-0247bb4a39e4 2025-07-23 13:07:20,864 - DEBUG - Requesting: http://10.0.0.19:8082/project/2c9d5127-7655-4dec-83b7-9620458f5d84 2025-07-23 13:07:20,941 - INFO - Validated that VN ctest-vn-77331564 is not found in API Server 2025-07-23 13:07:20,952 - DEBUG - VN ctest-vn-77331564 is not present in Agent 10.0.0.19 2025-07-23 13:07:20,952 - INFO - Validated that VN ctest-vn-77331564 is not in any agent 2025-07-23 13:07:20,968 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-77331564 info 2025-07-23 13:07:21,224 - DEBUG - No XMPP flaps were noticed during the test
2025-07-23 13:07:21,224 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-07-23 13:07:21,224 - INFO - -------------------------------------------------------------------------------- 2025-07-23 13:07:21,906 - INFO - Deleted project: ctest-TestBasicPolicy-87591524, ID : 2c9d5127-7655-4dec-83b7-9620458f5d84