2025-06-21 16:53:23,444 - INFO - Domain Default found not creating 2025-06-21 16:53:23,604 - INFO - Project ctest-TestBasicPolicy-02516121 not found, creating it 2025-06-21 16:53:24,078 - INFO - Created Project:ctest-TestBasicPolicy-02516121, ID : 1dc0dc68-a006-4f11-89d2-a48dfb42e452 2025-06-21 16:53:25,560 - INFO - ================================================================================ 2025-06-21 16:53:25,561 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-21 16:53:25,561 - 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-06-21 16:53:25,819 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-06-21 16:53:25,819 - INFO - Initial checks done. Running the testcase now 2025-06-21 16:53:25,819 - INFO - 2025-06-21 16:53:26,427 - DEBUG - Response for create_network : {'network': {'id': 'e746d45e-717d-43c4-a90b-6a08240580e9', 'name': 'ctest-vn-89368261', 'tenant_id': '1dc0dc68a0064f1189d2a48dfb42e452', 'project_id': '1dc0dc68a0064f1189d2a48dfb42e452', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02516121', 'ctest-vn-89368261'], 'port_security_enabled': True, 'description': ''}} 2025-06-21 16:53:26,629 - DEBUG - Response for create_subnet : {'subnet': {'id': '5d1dc9ca-cea0-42e6-b1ca-3c1cd6e58d7b', 'name': '', 'tenant_id': '1dc0dc68a0064f1189d2a48dfb42e452', 'network_id': 'e746d45e-717d-43c4-a90b-6a08240580e9', 'ip_version': 4, 'cidr': '140.59.143.0/26', 'allocation_pools': [{'start': '140.59.143.2', 'end': '140.59.143.62'}], 'gateway_ip': '140.59.143.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '140.59.143.2', 'tags': [], 'project_id': '1dc0dc68a0064f1189d2a48dfb42e452'}} 2025-06-21 16:53:26,646 - INFO - Created VN ctest-vn-89368261 2025-06-21 16:53:26,701 - DEBUG - VN ctest-vn-89368261 UUID is e746d45e-717d-43c4-a90b-6a08240580e9 2025-06-21 16:53:27,040 - DEBUG - Response for create_network : {'network': {'id': '04235078-f04a-48fe-892e-f0a2c449dc44', 'name': 'ctest-vn-74340017', 'tenant_id': '1dc0dc68a0064f1189d2a48dfb42e452', 'project_id': '1dc0dc68a0064f1189d2a48dfb42e452', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02516121', 'ctest-vn-74340017'], 'port_security_enabled': True, 'description': ''}} 2025-06-21 16:53:27,284 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c89ffcaa-2cff-4586-a14e-fa72a1c379ea', 'name': '', 'tenant_id': '1dc0dc68a0064f1189d2a48dfb42e452', 'network_id': '04235078-f04a-48fe-892e-f0a2c449dc44', 'ip_version': 4, 'cidr': '196.236.195.0/26', 'allocation_pools': [{'start': '196.236.195.2', 'end': '196.236.195.62'}], 'gateway_ip': '196.236.195.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '196.236.195.2', 'tags': [], 'project_id': '1dc0dc68a0064f1189d2a48dfb42e452'}} 2025-06-21 16:53:27,306 - INFO - Created VN ctest-vn-74340017 2025-06-21 16:53:27,361 - DEBUG - VN ctest-vn-74340017 UUID is 04235078-f04a-48fe-892e-f0a2c449dc44 2025-06-21 16:53:27,474 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-02516121:ctest-vn-89368261, 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-02516121:ctest-vn-74340017, 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-06-21 16:53:27,817 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e746d45e-717d-43c4-a90b-6a08240580e9', 'name': 'ctest-vn-89368261', 'tenant_id': '1dc0dc68a0064f1189d2a48dfb42e452', 'project_id': '1dc0dc68a0064f1189d2a48dfb42e452', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5d1dc9ca-cea0-42e6-b1ca-3c1cd6e58d7b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02516121', 'ctest-vn-89368261'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-02516121', 'ctest-policy-allow-all-41132398']], 'subnet_ipam': [{'subnet_cidr': '140.59.143.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-21 16:53:28,125 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '04235078-f04a-48fe-892e-f0a2c449dc44', 'name': 'ctest-vn-74340017', 'tenant_id': '1dc0dc68a0064f1189d2a48dfb42e452', 'project_id': '1dc0dc68a0064f1189d2a48dfb42e452', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c89ffcaa-2cff-4586-a14e-fa72a1c379ea'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02516121', 'ctest-vn-74340017'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-02516121', 'ctest-policy-allow-all-41132398']], 'subnet_ipam': [{'subnet_cidr': '196.236.195.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-21 16:53:28,273 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-21 16:53:28,571 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-21 16:53:28,605 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6421eeb2-27b1-4978-b5c3-a64188bf16d2 2025-06-21 16:53:28,619 - DEBUG - Requesting: http://10.0.0.38:8082/project/1dc0dc68-a006-4f11-89d2-a48dfb42e452 2025-06-21 16:53:28,700 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e746d45e-717d-43c4-a90b-6a08240580e9 2025-06-21 16:53:28,711 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e746d45e-717d-43c4-a90b-6a08240580e9 2025-06-21 16:53:28,722 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b70626e1-9e4c-4e2d-acf8-778e67624a6f 2025-06-21 16:53:28,730 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b70626e1-9e4c-4e2d-acf8-778e67624a6f 2025-06-21 16:53:28,738 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/4729856c-d295-43c2-9120-9694eb9884df 2025-06-21 16:53:28,746 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-21 16:53:28,746 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e746d45e-717d-43c4-a90b-6a08240580e9 2025-06-21 16:53:28,757 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b70626e1-9e4c-4e2d-acf8-778e67624a6f 2025-06-21 16:53:28,774 - INFO - Verified VN network id 8 for VN e746d45e-717d-43c4-a90b-6a08240580e9 2025-06-21 16:53:28,774 - INFO - Verifications in API Server for VN ctest-vn-89368261 passed 2025-06-21 16:53:28,774 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e746d45e-717d-43c4-a90b-6a08240580e9 2025-06-21 16:53:28,785 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b70626e1-9e4c-4e2d-acf8-778e67624a6f 2025-06-21 16:53:28,793 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b70626e1-9e4c-4e2d-acf8-778e67624a6f 2025-06-21 16:53:28,802 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/4729856c-d295-43c2-9120-9694eb9884df 2025-06-21 16:53:28,817 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-02516121:ctest-vn-89368261', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-02516121', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16665240973227148228', 'uuid-lslong': '12180946200350261481'}, 'enable': 'true', 'created': '2025-06-21T16:53:26', 'last-modified': '2025-06-21T16:53:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.029572'} 2025-06-21 16:53:28,824 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-21 16:53:28,824 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-89368261 passed 2025-06-21 16:53:28,825 - DEBUG - ====Verifying policy data for ctest-vn-89368261 in API_Server ====== 2025-06-21 16:53:28,825 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-21 16:53:28,831 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6421eeb2-27b1-4978-b5c3-a64188bf16d2 2025-06-21 16:53:28,852 - DEBUG - Requesting: http://10.0.0.38:8082/project/1dc0dc68-a006-4f11-89d2-a48dfb42e452 2025-06-21 16:53:28,925 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e746d45e-717d-43c4-a90b-6a08240580e9 2025-06-21 16:53:28,937 - DEBUG - ==>Verifying data for policy with id: b79870ec-2faf-4646-a79b-78e36e0bbb7f, fqn: ['default-domain', 'ctest-TestBasicPolicy-02516121', 'ctest-policy-allow-all-41132398'] 2025-06-21 16:53:28,937 - INFO - VN ctest-vn-89368261 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-21 16:53:28,937 - DEBUG - Verifying the vn in opserver 2025-06-21 16:53:28,937 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-02516121:ctest-vn-89368261 virtual network link through opserver 10.0.0.38 2025-06-21 16:53:28,938 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-21 16:53:29,240 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-21 16:53:29,303 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-02516121:ctest-vn-89368261', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-02516121:ctest-vn-89368261?flat'} 2025-06-21 16:53:29,303 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-02516121:ctest-vn-89368261 is found in opserver 2025-06-21 16:53:29,315 - DEBUG - Do not have enough data to verify VN in agent 2025-06-21 16:53:29,321 - DEBUG - VRF ids for VN ctest-vn-89368261: {} 2025-06-21 16:53:29,321 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-21 16:53:29,327 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6421eeb2-27b1-4978-b5c3-a64188bf16d2 2025-06-21 16:53:29,339 - DEBUG - Requesting: http://10.0.0.38:8082/project/1dc0dc68-a006-4f11-89d2-a48dfb42e452 2025-06-21 16:53:29,418 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/04235078-f04a-48fe-892e-f0a2c449dc44 2025-06-21 16:53:29,432 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/04235078-f04a-48fe-892e-f0a2c449dc44 2025-06-21 16:53:29,444 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/75f17943-3c5c-48c4-8803-74967c31c797 2025-06-21 16:53:29,454 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/75f17943-3c5c-48c4-8803-74967c31c797 2025-06-21 16:53:29,462 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/58e55964-933b-438d-a6f2-b745e87bbb81 2025-06-21 16:53:29,469 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-21 16:53:29,470 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/04235078-f04a-48fe-892e-f0a2c449dc44 2025-06-21 16:53:29,480 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/75f17943-3c5c-48c4-8803-74967c31c797 2025-06-21 16:53:29,497 - INFO - Verified VN network id 9 for VN 04235078-f04a-48fe-892e-f0a2c449dc44 2025-06-21 16:53:29,497 - INFO - Verifications in API Server for VN ctest-vn-74340017 passed 2025-06-21 16:53:29,497 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/04235078-f04a-48fe-892e-f0a2c449dc44 2025-06-21 16:53:29,508 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/75f17943-3c5c-48c4-8803-74967c31c797 2025-06-21 16:53:29,515 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/75f17943-3c5c-48c4-8803-74967c31c797 2025-06-21 16:53:29,523 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/58e55964-933b-438d-a6f2-b745e87bbb81 2025-06-21 16:53:29,535 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-02516121:ctest-vn-74340017', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-02516121', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '298170480694282494', 'uuid-lslong': '9885102813993360452'}, 'enable': 'true', 'created': '2025-06-21T16:53:26', 'last-modified': '2025-06-21T16:53:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.505089'} 2025-06-21 16:53:29,542 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-21 16:53:29,542 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-74340017 passed 2025-06-21 16:53:29,542 - DEBUG - ====Verifying policy data for ctest-vn-74340017 in API_Server ====== 2025-06-21 16:53:29,542 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-21 16:53:29,548 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6421eeb2-27b1-4978-b5c3-a64188bf16d2 2025-06-21 16:53:29,561 - DEBUG - Requesting: http://10.0.0.38:8082/project/1dc0dc68-a006-4f11-89d2-a48dfb42e452 2025-06-21 16:53:29,641 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/04235078-f04a-48fe-892e-f0a2c449dc44 2025-06-21 16:53:29,651 - DEBUG - ==>Verifying data for policy with id: b79870ec-2faf-4646-a79b-78e36e0bbb7f, fqn: ['default-domain', 'ctest-TestBasicPolicy-02516121', 'ctest-policy-allow-all-41132398'] 2025-06-21 16:53:29,651 - INFO - VN ctest-vn-74340017 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-21 16:53:29,651 - DEBUG - Verifying the vn in opserver 2025-06-21 16:53:29,651 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-02516121:ctest-vn-74340017 virtual network link through opserver 10.0.0.38 2025-06-21 16:53:29,651 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-21 16:53:29,663 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-02516121:ctest-vn-74340017', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-02516121:ctest-vn-74340017?flat'} 2025-06-21 16:53:29,663 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-02516121:ctest-vn-74340017 is found in opserver 2025-06-21 16:53:29,674 - DEBUG - Do not have enough data to verify VN in agent 2025-06-21 16:53:29,679 - DEBUG - VRF ids for VN ctest-vn-74340017: {} 2025-06-21 16:53:29,763 - DEBUG - Services list from nova: [, , ] 2025-06-21 16:53:30,787 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3512-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3512-1) 2025-06-21 16:53:32,056 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3512-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3512-1) 2025-06-21 16:53:32,056 - INFO - Waiting for VM ctest-TestBasicPolicy-02516121-48429360 to be up.. 2025-06-21 16:53:32,163 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-21 16:53:37,245 - DEBUG - VM is in ACTIVE state now 2025-06-21 16:53:37,246 - INFO - VM name : ctest-TestBasicPolicy-02516121-48429360 2025-06-21 16:53:37,345 - DEBUG - VM ctest-TestBasicPolicy-02516121-48429360 ID is 008fd716-1f55-4784-a281-20d7612d7983 2025-06-21 16:53:37,376 - DEBUG - VM ctest-TestBasicPolicy-02516121-48429360 launched on Node cn-jenkins-deploy-platform-ansible-os-3512-1 2025-06-21 16:53:37,469 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/008fd716-1f55-4784-a281-20d7612d7983 2025-06-21 16:53:37,478 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4bd674f2-339a-4e6d-b8a4-fc134e0f5ea7 2025-06-21 16:53:40,746 - 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 1023ms') 2025-06-21 16:53:40,746 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-02516121-48429360 failed! 2025-06-21 16:53:40,801 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-02516121:ctest-vn-89368261 is 140.59.143.1 and allocation pool is NOT set 2025-06-21 16:53:42,871 - 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=10.2 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.759 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.759/5.501/10.244/4.742 ms') 2025-06-21 16:53:42,871 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-02516121-48429360 passed 2025-06-21 16:53:43,025 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-21 16:53:43,025 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-02516121-48429360, IP 140.59.143.3, Port 22 2025-06-21 16:53:43,193 - DEBUG - VM ctest-TestBasicPolicy-02516121-48429360 is ready for SSH connections 2025-06-21 16:53:43,194 - INFO - Waiting for VM ctest-TestBasicPolicy-02516121-05082863 to be up.. 2025-06-21 16:53:43,276 - DEBUG - VM is in ACTIVE state now 2025-06-21 16:53:43,276 - INFO - VM name : ctest-TestBasicPolicy-02516121-05082863 2025-06-21 16:53:43,357 - DEBUG - VM ctest-TestBasicPolicy-02516121-05082863 ID is f6de96a8-a6a1-4e90-bf70-8468b7787ed8 2025-06-21 16:53:43,357 - DEBUG - VM ctest-TestBasicPolicy-02516121-05082863 launched on Node cn-jenkins-deploy-platform-ansible-os-3512-1 2025-06-21 16:53:43,435 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f6de96a8-a6a1-4e90-bf70-8468b7787ed8 2025-06-21 16:53:43,457 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/44f369cc-2a4e-4bec-8baa-8bb39119e1ec 2025-06-21 16:53:44,710 - 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.09 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.409 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.409/1.747/3.085/1.338 ms') 2025-06-21 16:53:44,710 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-02516121-05082863 passed 2025-06-21 16:53:44,869 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-21 16:53:44,869 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-02516121-05082863, IP 196.236.195.3, Port 22 2025-06-21 16:53:45,035 - DEBUG - VM ctest-TestBasicPolicy-02516121-05082863 is ready for SSH connections 2025-06-21 16:53:45,035 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-21 16:53:45,035 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 196.236.195.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-21 16:53:45,035 - DEBUG - ping -s 56 -c 3 -W 1 196.236.195.3 2025-06-21 16:53:49,054 - DEBUG - PING 196.236.195.3 (196.236.195.3): 56 data bytes 64 bytes from 196.236.195.3: seq=0 ttl=63 time=4.358 ms 64 bytes from 196.236.195.3: seq=1 ttl=63 time=1.288 ms 64 bytes from 196.236.195.3: seq=2 ttl=63 time=0.854 ms --- 196.236.195.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.854/2.166/4.358 ms 2025-06-21 16:53:49,054 - INFO - Ping to IP 196.236.195.3 from VM ctest-TestBasicPolicy-02516121-48429360 passed 2025-06-21 16:53:49,237 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b79870ec-2faf-4646-a79b-78e36e0bbb7f", "href": "http://10.0.0.38:8082/network-policy/b79870ec-2faf-4646-a79b-78e36e0bbb7f"}} 2025-06-21 16:53:49,237 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-21 16:53:49,237 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 196.236.195.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-21 16:53:49,237 - DEBUG - ping -s 56 -c 3 -W 1 196.236.195.3 2025-06-21 16:53:52,447 - DEBUG - PING 196.236.195.3 (196.236.195.3): 56 data bytes 64 bytes from 196.236.195.3: seq=0 ttl=63 time=1.633 ms --- 196.236.195.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.633/1.633/1.633 ms 2025-06-21 16:53:52,447 - WARNING - Ping to IP 196.236.195.3 from VM ctest-TestBasicPolicy-02516121-48429360 failed 2025-06-21 16:53:52,447 - INFO - Deleting VM ctest-TestBasicPolicy-02516121-05082863 2025-06-21 16:53:52,517 - INFO - Deleting VM ctest-TestBasicPolicy-02516121-48429360 2025-06-21 16:53:52,966 - INFO - Deleted policy ctest-policy-allow-all-41132398 2025-06-21 16:53:52,966 - INFO - Deleting VN ctest-vn-74340017 2025-06-21 16:53:53,018 - DEBUG - VN 04235078-f04a-48fe-892e-f0a2c449dc44 still in use: Unable to complete operation on network 04235078-f04a-48fe-892e-f0a2c449dc44. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a0d35205-a4ce-4b31-9b13-3f3920bc1c46'] 2025-06-21 16:53:53,018 - WARNING - Deleting VN ctest-vn-74340017 failed..Will retry 2025-06-21 16:53:55,238 - DEBUG - Response for deleting network () 2025-06-21 16:53:55,238 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/75f17943-3c5c-48c4-8803-74967c31c797 2025-06-21 16:53:55,243 - DEBUG - Response Code: 404 2025-06-21 16:53:55,244 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-21 16:53:55,251 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6421eeb2-27b1-4978-b5c3-a64188bf16d2 2025-06-21 16:53:55,308 - DEBUG - Requesting: http://10.0.0.38:8082/project/1dc0dc68-a006-4f11-89d2-a48dfb42e452 2025-06-21 16:53:55,379 - INFO - Validated that VN ctest-vn-74340017 is not found in API Server 2025-06-21 16:53:55,391 - DEBUG - VN ctest-vn-74340017 is not present in Agent 10.0.0.38 2025-06-21 16:53:55,391 - INFO - Validated that VN ctest-vn-74340017 is not in any agent 2025-06-21 16:53:55,411 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-74340017 info 2025-06-21 16:53:55,411 - INFO - Deleting VN ctest-vn-89368261 2025-06-21 16:53:55,525 - DEBUG - Response for deleting network () 2025-06-21 16:53:55,525 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b70626e1-9e4c-4e2d-acf8-778e67624a6f 2025-06-21 16:53:55,531 - DEBUG - Response Code: 404 2025-06-21 16:53:55,531 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-21 16:53:55,540 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6421eeb2-27b1-4978-b5c3-a64188bf16d2 2025-06-21 16:53:55,594 - DEBUG - Requesting: http://10.0.0.38:8082/project/1dc0dc68-a006-4f11-89d2-a48dfb42e452 2025-06-21 16:53:55,670 - INFO - Validated that VN ctest-vn-89368261 is not found in API Server 2025-06-21 16:53:55,682 - DEBUG - VN ctest-vn-89368261 is not present in Agent 10.0.0.38 2025-06-21 16:53:55,682 - INFO - Validated that VN ctest-vn-89368261 is not in any agent 2025-06-21 16:53:55,698 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-89368261 info 2025-06-21 16:53:55,953 - DEBUG - No XMPP flaps were noticed during the test 2025-06-21 16:53:55,954 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-06-21 16:53:55,954 - INFO - -------------------------------------------------------------------------------- 2025-06-21 16:53:56,663 - INFO - Deleted project: ctest-TestBasicPolicy-02516121, ID : 1dc0dc68-a006-4f11-89d2-a48dfb42e452