2025-07-03 02:17:22,417 - INFO - Domain Default found not creating 2025-07-03 02:17:22,584 - INFO - Project ctest-TestBasicPolicy-43406846 not found, creating it 2025-07-03 02:17:23,157 - INFO - Created Project:ctest-TestBasicPolicy-43406846, ID : 68a4d692-b02e-46d4-b5b9-02dc257aecdd 2025-07-03 02:17:24,875 - INFO - ================================================================================ 2025-07-03 02:17:24,875 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-03 02:17:24,875 - 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-03 02:17:25,135 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.25': '0'}} with 2025-07-03 02:17:25,135 - INFO - Initial checks done. Running the testcase now 2025-07-03 02:17:25,135 - INFO - 2025-07-03 02:17:25,762 - DEBUG - Response for create_network : {'network': {'id': '16a9a0c7-cf2d-47b9-b93e-f084fc9e6625', 'name': 'ctest-vn-03973964', 'tenant_id': '68a4d692b02e46d4b5b902dc257aecdd', 'project_id': '68a4d692b02e46d4b5b902dc257aecdd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43406846', 'ctest-vn-03973964'], 'port_security_enabled': True, 'description': ''}} 2025-07-03 02:17:25,955 - DEBUG - Response for create_subnet : {'subnet': {'id': '8bd80df4-0e54-4574-9a70-1ddf820b8fbb', 'name': '', 'tenant_id': '68a4d692b02e46d4b5b902dc257aecdd', 'network_id': '16a9a0c7-cf2d-47b9-b93e-f084fc9e6625', 'ip_version': 4, 'cidr': '77.38.73.0/26', 'allocation_pools': [{'start': '77.38.73.2', 'end': '77.38.73.62'}], 'gateway_ip': '77.38.73.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.38.73.2', 'tags': [], 'project_id': '68a4d692b02e46d4b5b902dc257aecdd'}} 2025-07-03 02:17:25,977 - INFO - Created VN ctest-vn-03973964 2025-07-03 02:17:26,031 - DEBUG - VN ctest-vn-03973964 UUID is 16a9a0c7-cf2d-47b9-b93e-f084fc9e6625 2025-07-03 02:17:26,341 - DEBUG - Response for create_network : {'network': {'id': '34f40619-d592-47d5-ab0f-b72977561dc9', 'name': 'ctest-vn-23597369', 'tenant_id': '68a4d692b02e46d4b5b902dc257aecdd', 'project_id': '68a4d692b02e46d4b5b902dc257aecdd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43406846', 'ctest-vn-23597369'], 'port_security_enabled': True, 'description': ''}} 2025-07-03 02:17:26,561 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b89ba3ce-2048-43ff-a23b-2296e9e0fa07', 'name': '', 'tenant_id': '68a4d692b02e46d4b5b902dc257aecdd', 'network_id': '34f40619-d592-47d5-ab0f-b72977561dc9', 'ip_version': 4, 'cidr': '125.203.210.64/26', 'allocation_pools': [{'start': '125.203.210.66', 'end': '125.203.210.126'}], 'gateway_ip': '125.203.210.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.203.210.66', 'tags': [], 'project_id': '68a4d692b02e46d4b5b902dc257aecdd'}} 2025-07-03 02:17:26,583 - INFO - Created VN ctest-vn-23597369 2025-07-03 02:17:26,635 - DEBUG - VN ctest-vn-23597369 UUID is 34f40619-d592-47d5-ab0f-b72977561dc9 2025-07-03 02:17:26,766 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-43406846:ctest-vn-03973964, 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-43406846:ctest-vn-23597369, 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-03 02:17:27,096 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '16a9a0c7-cf2d-47b9-b93e-f084fc9e6625', 'name': 'ctest-vn-03973964', 'tenant_id': '68a4d692b02e46d4b5b902dc257aecdd', 'project_id': '68a4d692b02e46d4b5b902dc257aecdd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8bd80df4-0e54-4574-9a70-1ddf820b8fbb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43406846', 'ctest-vn-03973964'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43406846', 'ctest-policy-allow-all-38875570']], 'subnet_ipam': [{'subnet_cidr': '77.38.73.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-03 02:17:27,403 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '34f40619-d592-47d5-ab0f-b72977561dc9', 'name': 'ctest-vn-23597369', 'tenant_id': '68a4d692b02e46d4b5b902dc257aecdd', 'project_id': '68a4d692b02e46d4b5b902dc257aecdd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b89ba3ce-2048-43ff-a23b-2296e9e0fa07'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43406846', 'ctest-vn-23597369'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43406846', 'ctest-policy-allow-all-38875570']], 'subnet_ipam': [{'subnet_cidr': '125.203.210.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-03 02:17:27,559 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-07-03 02:17:27,903 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-07-03 02:17:27,935 - DEBUG - Requesting: http://10.0.0.130:8082/domain/11fdcfb8-5315-4989-9bf6-82a1b2908326 2025-07-03 02:17:27,954 - DEBUG - Requesting: http://10.0.0.130:8082/project/68a4d692-b02e-46d4-b5b9-02dc257aecdd 2025-07-03 02:17:28,035 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/16a9a0c7-cf2d-47b9-b93e-f084fc9e6625 2025-07-03 02:17:28,049 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/16a9a0c7-cf2d-47b9-b93e-f084fc9e6625 2025-07-03 02:17:28,061 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/612203e3-7de3-48c0-9bac-015acca0e460 2025-07-03 02:17:28,070 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/612203e3-7de3-48c0-9bac-015acca0e460 2025-07-03 02:17:28,079 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/84abfbc9-5bbe-4a46-bd80-80f25e0e686f 2025-07-03 02:17:28,086 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-03 02:17:28,086 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/16a9a0c7-cf2d-47b9-b93e-f084fc9e6625 2025-07-03 02:17:28,097 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/612203e3-7de3-48c0-9bac-015acca0e460 2025-07-03 02:17:28,113 - INFO - Verified VN network id 8 for VN 16a9a0c7-cf2d-47b9-b93e-f084fc9e6625 2025-07-03 02:17:28,113 - INFO - Verifications in API Server for VN ctest-vn-03973964 passed 2025-07-03 02:17:28,113 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/16a9a0c7-cf2d-47b9-b93e-f084fc9e6625 2025-07-03 02:17:28,126 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/612203e3-7de3-48c0-9bac-015acca0e460 2025-07-03 02:17:28,136 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/612203e3-7de3-48c0-9bac-015acca0e460 2025-07-03 02:17:28,144 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/84abfbc9-5bbe-4a46-bd80-80f25e0e686f 2025-07-03 02:17:28,158 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43406846:ctest-vn-03973964', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43406846', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1633013119933302713', 'uuid-lslong': '13348370799537317413'}, 'enable': 'true', 'created': '2025-07-03T02:17:25', 'last-modified': '2025-07-03T02:17:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.087879'} 2025-07-03 02:17:28,166 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-03 02:17:28,166 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-03973964 passed 2025-07-03 02:17:28,166 - DEBUG - ====Verifying policy data for ctest-vn-03973964 in API_Server ====== 2025-07-03 02:17:28,166 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-07-03 02:17:28,172 - DEBUG - Requesting: http://10.0.0.130:8082/domain/11fdcfb8-5315-4989-9bf6-82a1b2908326 2025-07-03 02:17:28,186 - DEBUG - Requesting: http://10.0.0.130:8082/project/68a4d692-b02e-46d4-b5b9-02dc257aecdd 2025-07-03 02:17:28,265 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/16a9a0c7-cf2d-47b9-b93e-f084fc9e6625 2025-07-03 02:17:28,277 - DEBUG - ==>Verifying data for policy with id: e75c3412-816f-4309-94bd-4bed441efd55, fqn: ['default-domain', 'ctest-TestBasicPolicy-43406846', 'ctest-policy-allow-all-38875570'] 2025-07-03 02:17:28,277 - INFO - VN ctest-vn-03973964 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-03 02:17:28,277 - DEBUG - Verifying the vn in opserver 2025-07-03 02:17:28,277 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43406846:ctest-vn-03973964 virtual network link through opserver 10.0.0.130 2025-07-03 02:17:28,278 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-07-03 02:17:28,624 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-07-03 02:17:28,687 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43406846:ctest-vn-03973964', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43406846:ctest-vn-03973964?flat'} 2025-07-03 02:17:28,687 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43406846:ctest-vn-03973964 is found in opserver 2025-07-03 02:17:28,700 - DEBUG - Do not have enough data to verify VN in agent 2025-07-03 02:17:28,707 - DEBUG - VRF ids for VN ctest-vn-03973964: {} 2025-07-03 02:17:28,707 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-07-03 02:17:28,714 - DEBUG - Requesting: http://10.0.0.130:8082/domain/11fdcfb8-5315-4989-9bf6-82a1b2908326 2025-07-03 02:17:28,728 - DEBUG - Requesting: http://10.0.0.130:8082/project/68a4d692-b02e-46d4-b5b9-02dc257aecdd 2025-07-03 02:17:28,807 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/34f40619-d592-47d5-ab0f-b72977561dc9 2025-07-03 02:17:28,822 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/34f40619-d592-47d5-ab0f-b72977561dc9 2025-07-03 02:17:28,834 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/a6b3990f-137e-44f0-832b-d30aef455a69 2025-07-03 02:17:28,843 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/a6b3990f-137e-44f0-832b-d30aef455a69 2025-07-03 02:17:28,852 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/1dddcf3f-5261-4f0a-9a65-a9bd67fcc8e7 2025-07-03 02:17:28,861 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-03 02:17:28,861 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/34f40619-d592-47d5-ab0f-b72977561dc9 2025-07-03 02:17:28,875 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/a6b3990f-137e-44f0-832b-d30aef455a69 2025-07-03 02:17:28,894 - INFO - Verified VN network id 9 for VN 34f40619-d592-47d5-ab0f-b72977561dc9 2025-07-03 02:17:28,894 - INFO - Verifications in API Server for VN ctest-vn-23597369 passed 2025-07-03 02:17:28,894 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/34f40619-d592-47d5-ab0f-b72977561dc9 2025-07-03 02:17:28,906 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/a6b3990f-137e-44f0-832b-d30aef455a69 2025-07-03 02:17:28,916 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/a6b3990f-137e-44f0-832b-d30aef455a69 2025-07-03 02:17:28,926 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/1dddcf3f-5261-4f0a-9a65-a9bd67fcc8e7 2025-07-03 02:17:28,941 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43406846:ctest-vn-23597369', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43406846', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3815681492316735445', 'uuid-lslong': '12326272093860011465'}, 'enable': 'true', 'created': '2025-07-03T02:17:26', 'last-modified': '2025-07-03T02:17:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.619450'} 2025-07-03 02:17:28,948 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-03 02:17:28,948 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-23597369 passed 2025-07-03 02:17:28,948 - DEBUG - ====Verifying policy data for ctest-vn-23597369 in API_Server ====== 2025-07-03 02:17:28,948 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-07-03 02:17:28,955 - DEBUG - Requesting: http://10.0.0.130:8082/domain/11fdcfb8-5315-4989-9bf6-82a1b2908326 2025-07-03 02:17:28,970 - DEBUG - Requesting: http://10.0.0.130:8082/project/68a4d692-b02e-46d4-b5b9-02dc257aecdd 2025-07-03 02:17:29,054 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/34f40619-d592-47d5-ab0f-b72977561dc9 2025-07-03 02:17:29,070 - DEBUG - ==>Verifying data for policy with id: e75c3412-816f-4309-94bd-4bed441efd55, fqn: ['default-domain', 'ctest-TestBasicPolicy-43406846', 'ctest-policy-allow-all-38875570'] 2025-07-03 02:17:29,070 - INFO - VN ctest-vn-23597369 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-03 02:17:29,070 - DEBUG - Verifying the vn in opserver 2025-07-03 02:17:29,070 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43406846:ctest-vn-23597369 virtual network link through opserver 10.0.0.130 2025-07-03 02:17:29,071 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-07-03 02:17:29,084 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43406846:ctest-vn-23597369', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43406846:ctest-vn-23597369?flat'} 2025-07-03 02:17:29,084 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43406846:ctest-vn-23597369 is found in opserver 2025-07-03 02:17:29,100 - DEBUG - Do not have enough data to verify VN in agent 2025-07-03 02:17:29,107 - DEBUG - VRF ids for VN ctest-vn-23597369: {} 2025-07-03 02:17:29,174 - DEBUG - Services list from nova: [, , ] 2025-07-03 02:17:30,330 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3592-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3592-1) 2025-07-03 02:17:31,735 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3592-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3592-1) 2025-07-03 02:17:31,736 - INFO - Waiting for VM ctest-TestBasicPolicy-43406846-21156687 to be up.. 2025-07-03 02:17:31,845 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-03 02:17:36,938 - DEBUG - VM is in ACTIVE state now 2025-07-03 02:17:36,938 - INFO - VM name : ctest-TestBasicPolicy-43406846-21156687 2025-07-03 02:17:37,026 - DEBUG - VM ctest-TestBasicPolicy-43406846-21156687 ID is 695cbdf5-eba7-4121-88b2-bbcbe6c8185e 2025-07-03 02:17:37,045 - DEBUG - VM ctest-TestBasicPolicy-43406846-21156687 launched on Node cn-jenkins-deploy-platform-ansible-os-3592-1 2025-07-03 02:17:37,143 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/695cbdf5-eba7-4121-88b2-bbcbe6c8185e 2025-07-03 02:17:37,154 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/b755e7a3-3dde-4ab6-89c3-d2fab1d175fb 2025-07-03 02:17:40,427 - 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 1029ms') 2025-07-03 02:17:40,428 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-43406846-21156687 failed! 2025-07-03 02:17:40,491 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-43406846:ctest-vn-03973964 is 77.38.73.1 and allocation pool is NOT set 2025-07-03 02:17:42,558 - 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.00 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.800 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.800/3.398/5.996/2.598 ms') 2025-07-03 02:17:42,558 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-43406846-21156687 passed 2025-07-03 02:17:42,719 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-03 02:17:42,719 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43406846-21156687, IP 77.38.73.3, Port 22 2025-07-03 02:17:42,889 - DEBUG - VM ctest-TestBasicPolicy-43406846-21156687 is ready for SSH connections 2025-07-03 02:17:42,889 - INFO - Waiting for VM ctest-TestBasicPolicy-43406846-93233206 to be up.. 2025-07-03 02:17:42,982 - DEBUG - VM is in ACTIVE state now 2025-07-03 02:17:42,982 - INFO - VM name : ctest-TestBasicPolicy-43406846-93233206 2025-07-03 02:17:43,066 - DEBUG - VM ctest-TestBasicPolicy-43406846-93233206 ID is 234da9d6-206a-4e00-9f3b-93060052d376 2025-07-03 02:17:43,067 - DEBUG - VM ctest-TestBasicPolicy-43406846-93233206 launched on Node cn-jenkins-deploy-platform-ansible-os-3592-1 2025-07-03 02:17:43,150 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/234da9d6-206a-4e00-9f3b-93060052d376 2025-07-03 02:17:43,161 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/496ba4db-1c89-442d-8a8c-5a5cd1ff8277 2025-07-03 02:17:44,418 - 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=6.27 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.12 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.117/3.691/6.266/2.574 ms') 2025-07-03 02:17:44,418 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-43406846-93233206 passed 2025-07-03 02:17:44,575 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-03 02:17:44,575 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43406846-93233206, IP 125.203.210.67, Port 22 2025-07-03 02:17:44,731 - DEBUG - VM ctest-TestBasicPolicy-43406846-93233206 is ready for SSH connections 2025-07-03 02:17:44,731 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-03 02:17:44,731 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.203.210.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-07-03 02:17:44,731 - DEBUG - ping -s 56 -c 3 -W 1 125.203.210.67 2025-07-03 02:17:48,818 - DEBUG - PING 125.203.210.67 (125.203.210.67): 56 data bytes 64 bytes from 125.203.210.67: seq=0 ttl=63 time=3.888 ms 64 bytes from 125.203.210.67: seq=1 ttl=63 time=0.948 ms 64 bytes from 125.203.210.67: seq=2 ttl=63 time=0.890 ms --- 125.203.210.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.890/1.908/3.888 ms 2025-07-03 02:17:48,819 - INFO - Ping to IP 125.203.210.67 from VM ctest-TestBasicPolicy-43406846-21156687 passed 2025-07-03 02:17:49,018 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e75c3412-816f-4309-94bd-4bed441efd55", "href": "http://10.0.0.130:8082/network-policy/e75c3412-816f-4309-94bd-4bed441efd55"}} 2025-07-03 02:17:49,019 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-03 02:17:49,019 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.203.210.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-07-03 02:17:49,019 - DEBUG - ping -s 56 -c 3 -W 1 125.203.210.67 2025-07-03 02:17:52,253 - DEBUG - PING 125.203.210.67 (125.203.210.67): 56 data bytes 64 bytes from 125.203.210.67: seq=0 ttl=63 time=1.430 ms --- 125.203.210.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.430/1.430/1.430 ms 2025-07-03 02:17:52,254 - WARNING - Ping to IP 125.203.210.67 from VM ctest-TestBasicPolicy-43406846-21156687 failed 2025-07-03 02:17:52,254 - INFO - Deleting VM ctest-TestBasicPolicy-43406846-93233206 2025-07-03 02:17:52,329 - INFO - Deleting VM ctest-TestBasicPolicy-43406846-21156687 2025-07-03 02:17:52,742 - INFO - Deleted policy ctest-policy-allow-all-38875570 2025-07-03 02:17:52,743 - INFO - Deleting VN ctest-vn-23597369 2025-07-03 02:17:52,782 - DEBUG - VN 34f40619-d592-47d5-ab0f-b72977561dc9 still in use: Unable to complete operation on network 34f40619-d592-47d5-ab0f-b72977561dc9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2552baad-88b5-4e65-b8f7-696e6d325246'] 2025-07-03 02:17:52,782 - WARNING - Deleting VN ctest-vn-23597369 failed..Will retry 2025-07-03 02:17:54,904 - DEBUG - Response for deleting network () 2025-07-03 02:17:54,904 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/a6b3990f-137e-44f0-832b-d30aef455a69 2025-07-03 02:17:54,914 - DEBUG - Response Code: 404 2025-07-03 02:17:54,914 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-07-03 02:17:54,920 - DEBUG - Requesting: http://10.0.0.130:8082/domain/11fdcfb8-5315-4989-9bf6-82a1b2908326 2025-07-03 02:17:54,979 - DEBUG - Requesting: http://10.0.0.130:8082/project/68a4d692-b02e-46d4-b5b9-02dc257aecdd 2025-07-03 02:17:55,057 - INFO - Validated that VN ctest-vn-23597369 is not found in API Server 2025-07-03 02:17:55,070 - DEBUG - VN ctest-vn-23597369 is not present in Agent 10.0.0.130 2025-07-03 02:17:55,070 - INFO - Validated that VN ctest-vn-23597369 is not in any agent 2025-07-03 02:17:55,088 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-23597369 info 2025-07-03 02:17:55,088 - INFO - Deleting VN ctest-vn-03973964 2025-07-03 02:17:55,202 - DEBUG - Response for deleting network () 2025-07-03 02:17:55,202 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/612203e3-7de3-48c0-9bac-015acca0e460 2025-07-03 02:17:55,211 - DEBUG - Response Code: 404 2025-07-03 02:17:55,212 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-07-03 02:17:55,218 - DEBUG - Requesting: http://10.0.0.130:8082/domain/11fdcfb8-5315-4989-9bf6-82a1b2908326 2025-07-03 02:17:55,273 - DEBUG - Requesting: http://10.0.0.130:8082/project/68a4d692-b02e-46d4-b5b9-02dc257aecdd 2025-07-03 02:17:55,349 - INFO - Validated that VN ctest-vn-03973964 is not found in API Server 2025-07-03 02:17:55,361 - DEBUG - VN ctest-vn-03973964 is not present in Agent 10.0.0.130 2025-07-03 02:17:55,361 - INFO - Validated that VN ctest-vn-03973964 is not in any agent 2025-07-03 02:17:55,378 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-03973964 info 2025-07-03 02:17:55,634 - DEBUG - No XMPP flaps were noticed during the test
2025-07-03 02:17:55,634 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31]
2025-07-03 02:17:55,634 - INFO - -------------------------------------------------------------------------------- 2025-07-03 02:17:56,371 - INFO - Deleted project: ctest-TestBasicPolicy-43406846, ID : 68a4d692-b02e-46d4-b5b9-02dc257aecdd