2025-12-09 06:08:27,909 - INFO - Domain Default found not creating 2025-12-09 06:08:28,057 - INFO - Project ctest-TestBasicPolicy-72729087 not found, creating it 2025-12-09 06:08:28,494 - INFO - Created Project:ctest-TestBasicPolicy-72729087, ID : 19e5e9c5-2399-4671-8d11-b64a1895a476 2025-12-09 06:08:29,797 - INFO - ================================================================================ 2025-12-09 06:08:29,797 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-09 06:08:29,797 - 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-12-09 06:08:30,051 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-12-09 06:08:30,051 - INFO - Initial checks done. Running the testcase now 2025-12-09 06:08:30,051 - INFO - 2025-12-09 06:08:30,553 - DEBUG - Response for create_network : {'network': {'id': 'df1f4ab9-e0ad-4532-b316-4ed021a57790', 'name': 'ctest-vn-52072979', 'tenant_id': '19e5e9c5239946718d11b64a1895a476', 'project_id': '19e5e9c5239946718d11b64a1895a476', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72729087', 'ctest-vn-52072979'], 'port_security_enabled': True, 'description': ''}} 2025-12-09 06:08:30,787 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f28e5f6e-eb9a-495c-8787-040244c98d08', 'name': '', 'tenant_id': '19e5e9c5239946718d11b64a1895a476', 'network_id': 'df1f4ab9-e0ad-4532-b316-4ed021a57790', 'ip_version': 4, 'cidr': '41.147.213.64/26', 'allocation_pools': [{'start': '41.147.213.66', 'end': '41.147.213.126'}], 'gateway_ip': '41.147.213.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.147.213.66', 'tags': [], 'project_id': '19e5e9c5239946718d11b64a1895a476'}} 2025-12-09 06:08:30,809 - INFO - Created VN ctest-vn-52072979 2025-12-09 06:08:30,863 - DEBUG - VN ctest-vn-52072979 UUID is df1f4ab9-e0ad-4532-b316-4ed021a57790 2025-12-09 06:08:31,183 - DEBUG - Response for create_network : {'network': {'id': '31231fa2-b41c-4f16-a24f-9295ad7662f9', 'name': 'ctest-vn-08343440', 'tenant_id': '19e5e9c5239946718d11b64a1895a476', 'project_id': '19e5e9c5239946718d11b64a1895a476', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72729087', 'ctest-vn-08343440'], 'port_security_enabled': True, 'description': ''}} 2025-12-09 06:08:31,361 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fbb6a7af-c222-4a68-b371-dff6b886571d', 'name': '', 'tenant_id': '19e5e9c5239946718d11b64a1895a476', 'network_id': '31231fa2-b41c-4f16-a24f-9295ad7662f9', 'ip_version': 4, 'cidr': '156.51.59.64/26', 'allocation_pools': [{'start': '156.51.59.66', 'end': '156.51.59.126'}], 'gateway_ip': '156.51.59.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.51.59.66', 'tags': [], 'project_id': '19e5e9c5239946718d11b64a1895a476'}} 2025-12-09 06:08:31,381 - INFO - Created VN ctest-vn-08343440 2025-12-09 06:08:31,435 - DEBUG - VN ctest-vn-08343440 UUID is 31231fa2-b41c-4f16-a24f-9295ad7662f9 2025-12-09 06:08:31,582 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-72729087:ctest-vn-52072979, 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-72729087:ctest-vn-08343440, 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-12-09 06:08:31,859 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'df1f4ab9-e0ad-4532-b316-4ed021a57790', 'name': 'ctest-vn-52072979', 'tenant_id': '19e5e9c5239946718d11b64a1895a476', 'project_id': '19e5e9c5239946718d11b64a1895a476', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f28e5f6e-eb9a-495c-8787-040244c98d08'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72729087', 'ctest-vn-52072979'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-72729087', 'ctest-policy-allow-all-66271072']], 'subnet_ipam': [{'subnet_cidr': '41.147.213.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-09 06:08:32,073 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '31231fa2-b41c-4f16-a24f-9295ad7662f9', 'name': 'ctest-vn-08343440', 'tenant_id': '19e5e9c5239946718d11b64a1895a476', 'project_id': '19e5e9c5239946718d11b64a1895a476', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fbb6a7af-c222-4a68-b371-dff6b886571d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72729087', 'ctest-vn-08343440'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-72729087', 'ctest-policy-allow-all-66271072']], 'subnet_ipam': [{'subnet_cidr': '156.51.59.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-09 06:08:32,219 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-09 06:08:32,484 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-09 06:08:32,513 - DEBUG - Requesting: http://10.0.0.38:8082/domain/82582fe4-3a48-4728-978d-3e347efd8922 2025-12-09 06:08:32,524 - DEBUG - Requesting: http://10.0.0.38:8082/project/19e5e9c5-2399-4671-8d11-b64a1895a476 2025-12-09 06:08:32,593 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/df1f4ab9-e0ad-4532-b316-4ed021a57790 2025-12-09 06:08:32,603 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/df1f4ab9-e0ad-4532-b316-4ed021a57790 2025-12-09 06:08:32,612 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3759a81a-609c-497b-8b1b-36631e4fbf2c 2025-12-09 06:08:32,619 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3759a81a-609c-497b-8b1b-36631e4fbf2c 2025-12-09 06:08:32,625 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/76fca379-3edb-4e92-9f8a-97e64ded8c65 2025-12-09 06:08:32,630 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-09 06:08:32,631 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/df1f4ab9-e0ad-4532-b316-4ed021a57790 2025-12-09 06:08:32,638 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3759a81a-609c-497b-8b1b-36631e4fbf2c 2025-12-09 06:08:32,652 - INFO - Verified VN network id 12 for VN df1f4ab9-e0ad-4532-b316-4ed021a57790 2025-12-09 06:08:32,652 - INFO - Verifications in API Server for VN ctest-vn-52072979 passed 2025-12-09 06:08:32,652 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/df1f4ab9-e0ad-4532-b316-4ed021a57790 2025-12-09 06:08:32,661 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3759a81a-609c-497b-8b1b-36631e4fbf2c 2025-12-09 06:08:32,667 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3759a81a-609c-497b-8b1b-36631e4fbf2c 2025-12-09 06:08:32,672 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/76fca379-3edb-4e92-9f8a-97e64ded8c65 2025-12-09 06:08:32,682 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-72729087:ctest-vn-52072979', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-72729087', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16077651356934817074', 'uuid-lslong': '12904588438101391248'}, 'enable': 'true', 'created': '2025-12-09T06:08:30', 'last-modified': '2025-12-09T06:08:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.843604'} 2025-12-09 06:08:32,686 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-09 06:08:32,687 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-52072979 passed 2025-12-09 06:08:32,687 - DEBUG - ====Verifying policy data for ctest-vn-52072979 in API_Server ====== 2025-12-09 06:08:32,687 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-09 06:08:32,691 - DEBUG - Requesting: http://10.0.0.38:8082/domain/82582fe4-3a48-4728-978d-3e347efd8922 2025-12-09 06:08:32,699 - DEBUG - Requesting: http://10.0.0.38:8082/project/19e5e9c5-2399-4671-8d11-b64a1895a476 2025-12-09 06:08:32,768 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/df1f4ab9-e0ad-4532-b316-4ed021a57790 2025-12-09 06:08:32,775 - DEBUG - ==>Verifying data for policy with id: 6040a871-8871-4c6c-a386-b7d54f016a01, fqn: ['default-domain', 'ctest-TestBasicPolicy-72729087', 'ctest-policy-allow-all-66271072'] 2025-12-09 06:08:32,775 - INFO - VN ctest-vn-52072979 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-09 06:08:32,775 - DEBUG - Verifying the vn in opserver 2025-12-09 06:08:32,775 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-72729087:ctest-vn-52072979 virtual network link through opserver 10.0.0.38 2025-12-09 06:08:32,775 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-09 06:08:33,033 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-09 06:08:33,087 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-72729087:ctest-vn-52072979', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-72729087:ctest-vn-52072979?flat'} 2025-12-09 06:08:33,087 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-72729087:ctest-vn-52072979 is found in opserver 2025-12-09 06:08:33,097 - DEBUG - Do not have enough data to verify VN in agent 2025-12-09 06:08:33,100 - DEBUG - VRF ids for VN ctest-vn-52072979: {} 2025-12-09 06:08:33,100 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-09 06:08:33,105 - DEBUG - Requesting: http://10.0.0.38:8082/domain/82582fe4-3a48-4728-978d-3e347efd8922 2025-12-09 06:08:33,113 - DEBUG - Requesting: http://10.0.0.38:8082/project/19e5e9c5-2399-4671-8d11-b64a1895a476 2025-12-09 06:08:33,176 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/31231fa2-b41c-4f16-a24f-9295ad7662f9 2025-12-09 06:08:33,186 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/31231fa2-b41c-4f16-a24f-9295ad7662f9 2025-12-09 06:08:33,193 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9800ccf2-30bf-4310-b1ea-c889969ac634 2025-12-09 06:08:33,199 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9800ccf2-30bf-4310-b1ea-c889969ac634 2025-12-09 06:08:33,205 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c8691a3c-f9e1-4951-8b7a-2518db4b5563 2025-12-09 06:08:33,211 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-09 06:08:33,211 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/31231fa2-b41c-4f16-a24f-9295ad7662f9 2025-12-09 06:08:33,218 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9800ccf2-30bf-4310-b1ea-c889969ac634 2025-12-09 06:08:33,230 - INFO - Verified VN network id 13 for VN 31231fa2-b41c-4f16-a24f-9295ad7662f9 2025-12-09 06:08:33,230 - INFO - Verifications in API Server for VN ctest-vn-08343440 passed 2025-12-09 06:08:33,230 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/31231fa2-b41c-4f16-a24f-9295ad7662f9 2025-12-09 06:08:33,238 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9800ccf2-30bf-4310-b1ea-c889969ac634 2025-12-09 06:08:33,243 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9800ccf2-30bf-4310-b1ea-c889969ac634 2025-12-09 06:08:33,248 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c8691a3c-f9e1-4951-8b7a-2518db4b5563 2025-12-09 06:08:33,256 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-72729087:ctest-vn-08343440', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-72729087', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3540708515710258966', 'uuid-lslong': '11695727928862466809'}, 'enable': 'true', 'created': '2025-12-09T06:08:31', 'last-modified': '2025-12-09T06:08:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.201812'} 2025-12-09 06:08:33,261 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-09 06:08:33,261 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-08343440 passed 2025-12-09 06:08:33,261 - DEBUG - ====Verifying policy data for ctest-vn-08343440 in API_Server ====== 2025-12-09 06:08:33,261 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-09 06:08:33,266 - DEBUG - Requesting: http://10.0.0.38:8082/domain/82582fe4-3a48-4728-978d-3e347efd8922 2025-12-09 06:08:33,274 - DEBUG - Requesting: http://10.0.0.38:8082/project/19e5e9c5-2399-4671-8d11-b64a1895a476 2025-12-09 06:08:33,340 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/31231fa2-b41c-4f16-a24f-9295ad7662f9 2025-12-09 06:08:33,348 - DEBUG - ==>Verifying data for policy with id: 6040a871-8871-4c6c-a386-b7d54f016a01, fqn: ['default-domain', 'ctest-TestBasicPolicy-72729087', 'ctest-policy-allow-all-66271072'] 2025-12-09 06:08:33,348 - INFO - VN ctest-vn-08343440 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-09 06:08:33,348 - DEBUG - Verifying the vn in opserver 2025-12-09 06:08:33,348 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-72729087:ctest-vn-08343440 virtual network link through opserver 10.0.0.38 2025-12-09 06:08:33,348 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-09 06:08:33,357 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-72729087:ctest-vn-08343440', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-72729087:ctest-vn-08343440?flat'} 2025-12-09 06:08:33,357 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-72729087:ctest-vn-08343440 is found in opserver 2025-12-09 06:08:33,365 - DEBUG - Do not have enough data to verify VN in agent 2025-12-09 06:08:33,368 - DEBUG - VRF ids for VN ctest-vn-08343440: {} 2025-12-09 06:08:33,436 - DEBUG - Services list from nova: [, , ] 2025-12-09 06:08:34,353 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4866-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4866-1) 2025-12-09 06:08:35,359 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4866-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4866-1) 2025-12-09 06:08:35,359 - INFO - Waiting for VM ctest-TestBasicPolicy-72729087-53136079 to be up.. 2025-12-09 06:08:35,441 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-09 06:08:40,517 - DEBUG - VM is in ACTIVE state now 2025-12-09 06:08:40,517 - INFO - VM name : ctest-TestBasicPolicy-72729087-53136079 2025-12-09 06:08:40,581 - DEBUG - VM ctest-TestBasicPolicy-72729087-53136079 ID is d7440988-3af1-42fc-b40c-8f904b199870 2025-12-09 06:08:40,597 - DEBUG - VM ctest-TestBasicPolicy-72729087-53136079 launched on Node cn-jenkins-deploy-platform-ansible-os-4866-1 2025-12-09 06:08:40,660 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d7440988-3af1-42fc-b40c-8f904b199870 2025-12-09 06:08:40,668 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/48cbc132-6fff-4aab-91a9-99972d3af395 2025-12-09 06:08:43,911 - 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 1012ms') 2025-12-09 06:08:43,911 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-72729087-53136079 failed! 2025-12-09 06:08:43,967 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-72729087:ctest-vn-52072979 is 41.147.213.65 and allocation pool is NOT set 2025-12-09 06:08:46,031 - 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.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.567 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.567/1.663/2.759/1.096 ms') 2025-12-09 06:08:46,031 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-72729087-53136079 passed 2025-12-09 06:08:46,195 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 06:08:46,195 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-72729087-53136079, IP 41.147.213.67, Port 22 2025-12-09 06:08:46,351 - DEBUG - VM ctest-TestBasicPolicy-72729087-53136079 is ready for SSH connections 2025-12-09 06:08:46,351 - INFO - Waiting for VM ctest-TestBasicPolicy-72729087-02198721 to be up.. 2025-12-09 06:08:46,417 - DEBUG - VM is in ACTIVE state now 2025-12-09 06:08:46,418 - INFO - VM name : ctest-TestBasicPolicy-72729087-02198721 2025-12-09 06:08:46,482 - DEBUG - VM ctest-TestBasicPolicy-72729087-02198721 ID is b6e0a341-cc34-43b2-877c-efa0a00f0100 2025-12-09 06:08:46,482 - DEBUG - VM ctest-TestBasicPolicy-72729087-02198721 launched on Node cn-jenkins-deploy-platform-ansible-os-4866-1 2025-12-09 06:08:46,547 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b6e0a341-cc34-43b2-877c-efa0a00f0100 2025-12-09 06:08:46,554 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/18a4b5c3-4c5b-49df-9072-49503df4373d 2025-12-09 06:08:47,785 - 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.53 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.20 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.204/2.866/3.528/0.662 ms') 2025-12-09 06:08:47,785 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-72729087-02198721 passed 2025-12-09 06:08:47,931 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 06:08:47,931 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-72729087-02198721, IP 156.51.59.67, Port 22 2025-12-09 06:08:48,091 - DEBUG - VM ctest-TestBasicPolicy-72729087-02198721 is ready for SSH connections 2025-12-09 06:08:48,091 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 06:08:48,091 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 156.51.59.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-09 06:08:48,091 - DEBUG - ping -s 56 -c 3 -W 1 156.51.59.67 2025-12-09 06:08:52,041 - DEBUG - PING 156.51.59.67 (156.51.59.67): 56 data bytes 64 bytes from 156.51.59.67: seq=0 ttl=63 time=3.744 ms 64 bytes from 156.51.59.67: seq=1 ttl=63 time=1.008 ms 64 bytes from 156.51.59.67: seq=2 ttl=63 time=1.088 ms --- 156.51.59.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.008/1.946/3.744 ms 2025-12-09 06:08:52,042 - INFO - Ping to IP 156.51.59.67 from VM ctest-TestBasicPolicy-72729087-53136079 passed 2025-12-09 06:08:52,215 - DEBUG - Policy Update Response {"network-policy": {"uuid": "6040a871-8871-4c6c-a386-b7d54f016a01", "href": "http://10.0.0.38:8082/network-policy/6040a871-8871-4c6c-a386-b7d54f016a01"}} 2025-12-09 06:08:52,215 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 06:08:52,215 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 156.51.59.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-09 06:08:52,215 - DEBUG - ping -s 56 -c 3 -W 1 156.51.59.67 2025-12-09 06:08:55,421 - DEBUG - PING 156.51.59.67 (156.51.59.67): 56 data bytes 64 bytes from 156.51.59.67: seq=0 ttl=63 time=1.376 ms --- 156.51.59.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.376/1.376/1.376 ms 2025-12-09 06:08:55,421 - WARNING - Ping to IP 156.51.59.67 from VM ctest-TestBasicPolicy-72729087-53136079 failed 2025-12-09 06:08:55,421 - INFO - Deleting VM ctest-TestBasicPolicy-72729087-02198721 2025-12-09 06:08:55,477 - INFO - Deleting VM ctest-TestBasicPolicy-72729087-53136079 2025-12-09 06:08:55,827 - INFO - Deleted policy ctest-policy-allow-all-66271072 2025-12-09 06:08:55,827 - INFO - Deleting VN ctest-vn-08343440 2025-12-09 06:08:55,856 - DEBUG - VN 31231fa2-b41c-4f16-a24f-9295ad7662f9 still in use: Unable to complete operation on network 31231fa2-b41c-4f16-a24f-9295ad7662f9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2005f428-f63a-48a0-a362-539e5403110b'] 2025-12-09 06:08:55,856 - WARNING - Deleting VN ctest-vn-08343440 failed..Will retry 2025-12-09 06:08:57,952 - DEBUG - Response for deleting network () 2025-12-09 06:08:57,952 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9800ccf2-30bf-4310-b1ea-c889969ac634 2025-12-09 06:08:57,956 - DEBUG - Response Code: 404 2025-12-09 06:08:57,956 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-09 06:08:57,960 - DEBUG - Requesting: http://10.0.0.38:8082/domain/82582fe4-3a48-4728-978d-3e347efd8922 2025-12-09 06:08:58,012 - DEBUG - Requesting: http://10.0.0.38:8082/project/19e5e9c5-2399-4671-8d11-b64a1895a476 2025-12-09 06:08:58,086 - INFO - Validated that VN ctest-vn-08343440 is not found in API Server 2025-12-09 06:08:58,094 - DEBUG - VN ctest-vn-08343440 is not present in Agent 10.0.0.38 2025-12-09 06:08:58,094 - INFO - Validated that VN ctest-vn-08343440 is not in any agent 2025-12-09 06:08:58,108 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-08343440 info 2025-12-09 06:08:58,109 - INFO - Deleting VN ctest-vn-52072979 2025-12-09 06:08:58,188 - DEBUG - Response for deleting network () 2025-12-09 06:08:58,188 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3759a81a-609c-497b-8b1b-36631e4fbf2c 2025-12-09 06:08:58,192 - DEBUG - Response Code: 404 2025-12-09 06:08:58,193 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-09 06:08:58,197 - DEBUG - Requesting: http://10.0.0.38:8082/domain/82582fe4-3a48-4728-978d-3e347efd8922 2025-12-09 06:08:58,252 - DEBUG - Requesting: http://10.0.0.38:8082/project/19e5e9c5-2399-4671-8d11-b64a1895a476 2025-12-09 06:08:58,318 - INFO - Validated that VN ctest-vn-52072979 is not found in API Server 2025-12-09 06:08:58,327 - DEBUG - VN ctest-vn-52072979 is not present in Agent 10.0.0.38 2025-12-09 06:08:58,327 - INFO - Validated that VN ctest-vn-52072979 is not in any agent 2025-12-09 06:08:58,339 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-52072979 info 2025-12-09 06:08:58,591 - DEBUG - No XMPP flaps were noticed during the test 2025-12-09 06:08:58,591 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-12-09 06:08:58,592 - INFO - -------------------------------------------------------------------------------- 2025-12-09 06:08:59,265 - INFO - Deleted project: ctest-TestBasicPolicy-72729087, ID : 19e5e9c5-2399-4671-8d11-b64a1895a476