2025-12-09 22:12:30,836 - INFO - Domain Default found not creating 2025-12-09 22:12:30,997 - INFO - Project ctest-TestBasicPolicy-23837029 not found, creating it 2025-12-09 22:12:31,469 - INFO - Created Project:ctest-TestBasicPolicy-23837029, ID : d80756a8-934f-4e33-8ab1-9627f240f6cc 2025-12-09 22:12:32,939 - INFO - ================================================================================ 2025-12-09 22:12:32,939 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-09 22:12:32,939 - 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 22:12:33,194 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.14': '0'}} with 2025-12-09 22:12:33,194 - INFO - Initial checks done. Running the testcase now 2025-12-09 22:12:33,195 - INFO - 2025-12-09 22:12:33,725 - DEBUG - Response for create_network : {'network': {'id': 'ecc673dd-3f76-4610-aa81-c4b1ef311dce', 'name': 'ctest-vn-97465271', 'tenant_id': 'd80756a8934f4e338ab19627f240f6cc', 'project_id': 'd80756a8934f4e338ab19627f240f6cc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23837029', 'ctest-vn-97465271'], 'port_security_enabled': True, 'description': ''}} 2025-12-09 22:12:33,881 - DEBUG - Response for create_subnet : {'subnet': {'id': '1ef3202e-9d87-4804-a32a-3083e2e53ff6', 'name': '', 'tenant_id': 'd80756a8934f4e338ab19627f240f6cc', 'network_id': 'ecc673dd-3f76-4610-aa81-c4b1ef311dce', 'ip_version': 4, 'cidr': '71.85.250.192/26', 'allocation_pools': [{'start': '71.85.250.194', 'end': '71.85.250.254'}], 'gateway_ip': '71.85.250.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.85.250.194', 'tags': [], 'project_id': 'd80756a8934f4e338ab19627f240f6cc'}} 2025-12-09 22:12:33,898 - INFO - Created VN ctest-vn-97465271 2025-12-09 22:12:33,953 - DEBUG - VN ctest-vn-97465271 UUID is ecc673dd-3f76-4610-aa81-c4b1ef311dce 2025-12-09 22:12:34,292 - DEBUG - Response for create_network : {'network': {'id': 'c676c0ef-a69c-427d-a6cc-ec2bb6e3560b', 'name': 'ctest-vn-00609437', 'tenant_id': 'd80756a8934f4e338ab19627f240f6cc', 'project_id': 'd80756a8934f4e338ab19627f240f6cc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23837029', 'ctest-vn-00609437'], 'port_security_enabled': True, 'description': ''}} 2025-12-09 22:12:34,460 - DEBUG - Response for create_subnet : {'subnet': {'id': '052c5c84-ef3c-49a0-a08d-4b3900a01d37', 'name': '', 'tenant_id': 'd80756a8934f4e338ab19627f240f6cc', 'network_id': 'c676c0ef-a69c-427d-a6cc-ec2bb6e3560b', 'ip_version': 4, 'cidr': '1.117.37.192/26', 'allocation_pools': [{'start': '1.117.37.194', 'end': '1.117.37.254'}], 'gateway_ip': '1.117.37.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.117.37.194', 'tags': [], 'project_id': 'd80756a8934f4e338ab19627f240f6cc'}} 2025-12-09 22:12:34,478 - INFO - Created VN ctest-vn-00609437 2025-12-09 22:12:34,529 - DEBUG - VN ctest-vn-00609437 UUID is c676c0ef-a69c-427d-a6cc-ec2bb6e3560b 2025-12-09 22:12:34,677 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-23837029:ctest-vn-97465271, 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-23837029:ctest-vn-00609437, 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 22:12:35,074 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ecc673dd-3f76-4610-aa81-c4b1ef311dce', 'name': 'ctest-vn-97465271', 'tenant_id': 'd80756a8934f4e338ab19627f240f6cc', 'project_id': 'd80756a8934f4e338ab19627f240f6cc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1ef3202e-9d87-4804-a32a-3083e2e53ff6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23837029', 'ctest-vn-97465271'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23837029', 'ctest-policy-allow-all-20481265']], 'subnet_ipam': [{'subnet_cidr': '71.85.250.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-09 22:12:35,386 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c676c0ef-a69c-427d-a6cc-ec2bb6e3560b', 'name': 'ctest-vn-00609437', 'tenant_id': 'd80756a8934f4e338ab19627f240f6cc', 'project_id': 'd80756a8934f4e338ab19627f240f6cc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['052c5c84-ef3c-49a0-a08d-4b3900a01d37'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23837029', 'ctest-vn-00609437'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23837029', 'ctest-policy-allow-all-20481265']], 'subnet_ipam': [{'subnet_cidr': '1.117.37.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-09 22:12:35,517 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-12-09 22:12:35,818 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-12-09 22:12:35,850 - DEBUG - Requesting: http://10.0.0.19:8082/domain/801b6e3b-8689-4746-bbce-2865015eaf9a 2025-12-09 22:12:35,861 - DEBUG - Requesting: http://10.0.0.19:8082/project/d80756a8-934f-4e33-8ab1-9627f240f6cc 2025-12-09 22:12:35,932 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/ecc673dd-3f76-4610-aa81-c4b1ef311dce 2025-12-09 22:12:35,942 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/ecc673dd-3f76-4610-aa81-c4b1ef311dce 2025-12-09 22:12:35,950 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/e2551760-d087-4a31-9573-de247f6ca8ef 2025-12-09 22:12:35,956 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/e2551760-d087-4a31-9573-de247f6ca8ef 2025-12-09 22:12:35,961 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/12e5b232-bd00-42a0-8b67-f59bd899e0f8 2025-12-09 22:12:35,966 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-09 22:12:35,966 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/ecc673dd-3f76-4610-aa81-c4b1ef311dce 2025-12-09 22:12:35,974 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/e2551760-d087-4a31-9573-de247f6ca8ef 2025-12-09 22:12:35,985 - INFO - Verified VN network id 9 for VN ecc673dd-3f76-4610-aa81-c4b1ef311dce 2025-12-09 22:12:35,985 - INFO - Verifications in API Server for VN ctest-vn-97465271 passed 2025-12-09 22:12:35,985 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/ecc673dd-3f76-4610-aa81-c4b1ef311dce 2025-12-09 22:12:35,993 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/e2551760-d087-4a31-9573-de247f6ca8ef 2025-12-09 22:12:35,999 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/e2551760-d087-4a31-9573-de247f6ca8ef 2025-12-09 22:12:36,005 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/12e5b232-bd00-42a0-8b67-f59bd899e0f8 2025-12-09 22:12:36,014 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23837029:ctest-vn-97465271', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23837029', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17061451632429385232', 'uuid-lslong': '12286317526944652750'}, 'enable': 'true', 'created': '2025-12-09T22:12:33', 'last-modified': '2025-12-09T22:12:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.987543'} 2025-12-09 22:12:36,019 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-09 22:12:36,019 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-97465271 passed 2025-12-09 22:12:36,020 - DEBUG - ====Verifying policy data for ctest-vn-97465271 in API_Server ====== 2025-12-09 22:12:36,020 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-12-09 22:12:36,024 - DEBUG - Requesting: http://10.0.0.19:8082/domain/801b6e3b-8689-4746-bbce-2865015eaf9a 2025-12-09 22:12:36,033 - DEBUG - Requesting: http://10.0.0.19:8082/project/d80756a8-934f-4e33-8ab1-9627f240f6cc 2025-12-09 22:12:36,102 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/ecc673dd-3f76-4610-aa81-c4b1ef311dce 2025-12-09 22:12:36,110 - DEBUG - ==>Verifying data for policy with id: 774cad21-1356-4df0-a4a8-c209bc1b7887, fqn: ['default-domain', 'ctest-TestBasicPolicy-23837029', 'ctest-policy-allow-all-20481265'] 2025-12-09 22:12:36,110 - INFO - VN ctest-vn-97465271 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-09 22:12:36,110 - DEBUG - Verifying the vn in opserver 2025-12-09 22:12:36,110 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23837029:ctest-vn-97465271 virtual network link through opserver 10.0.0.19 2025-12-09 22:12:36,110 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-12-09 22:12:36,405 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-12-09 22:12:36,464 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23837029:ctest-vn-97465271', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23837029:ctest-vn-97465271?flat'} 2025-12-09 22:12:36,464 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23837029:ctest-vn-97465271 is found in opserver 2025-12-09 22:12:36,473 - DEBUG - Do not have enough data to verify VN in agent 2025-12-09 22:12:36,478 - DEBUG - VRF ids for VN ctest-vn-97465271: {} 2025-12-09 22:12:36,478 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-12-09 22:12:36,483 - DEBUG - Requesting: http://10.0.0.19:8082/domain/801b6e3b-8689-4746-bbce-2865015eaf9a 2025-12-09 22:12:36,493 - DEBUG - Requesting: http://10.0.0.19:8082/project/d80756a8-934f-4e33-8ab1-9627f240f6cc 2025-12-09 22:12:36,570 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/c676c0ef-a69c-427d-a6cc-ec2bb6e3560b 2025-12-09 22:12:36,581 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/c676c0ef-a69c-427d-a6cc-ec2bb6e3560b 2025-12-09 22:12:36,589 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/001f75fd-ca18-499e-a3f7-a82ef0389496 2025-12-09 22:12:36,595 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/001f75fd-ca18-499e-a3f7-a82ef0389496 2025-12-09 22:12:36,600 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/631a4873-79c8-450a-93d9-f0a26680de52 2025-12-09 22:12:36,606 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-09 22:12:36,606 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/c676c0ef-a69c-427d-a6cc-ec2bb6e3560b 2025-12-09 22:12:36,614 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/001f75fd-ca18-499e-a3f7-a82ef0389496 2025-12-09 22:12:36,627 - INFO - Verified VN network id 10 for VN c676c0ef-a69c-427d-a6cc-ec2bb6e3560b 2025-12-09 22:12:36,627 - INFO - Verifications in API Server for VN ctest-vn-00609437 passed 2025-12-09 22:12:36,627 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/c676c0ef-a69c-427d-a6cc-ec2bb6e3560b 2025-12-09 22:12:36,636 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/001f75fd-ca18-499e-a3f7-a82ef0389496 2025-12-09 22:12:36,642 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/001f75fd-ca18-499e-a3f7-a82ef0389496 2025-12-09 22:12:36,648 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/631a4873-79c8-450a-93d9-f0a26680de52 2025-12-09 22:12:36,658 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23837029:ctest-vn-00609437', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23837029', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14300829802286563965', 'uuid-lslong': '12019241178041112075'}, 'enable': 'true', 'created': '2025-12-09T22:12:34', 'last-modified': '2025-12-09T22:12:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.321032'} 2025-12-09 22:12:36,663 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-09 22:12:36,663 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-00609437 passed 2025-12-09 22:12:36,663 - DEBUG - ====Verifying policy data for ctest-vn-00609437 in API_Server ====== 2025-12-09 22:12:36,663 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-12-09 22:12:36,670 - DEBUG - Requesting: http://10.0.0.19:8082/domain/801b6e3b-8689-4746-bbce-2865015eaf9a 2025-12-09 22:12:36,680 - DEBUG - Requesting: http://10.0.0.19:8082/project/d80756a8-934f-4e33-8ab1-9627f240f6cc 2025-12-09 22:12:36,753 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/c676c0ef-a69c-427d-a6cc-ec2bb6e3560b 2025-12-09 22:12:36,762 - DEBUG - ==>Verifying data for policy with id: 774cad21-1356-4df0-a4a8-c209bc1b7887, fqn: ['default-domain', 'ctest-TestBasicPolicy-23837029', 'ctest-policy-allow-all-20481265'] 2025-12-09 22:12:36,762 - INFO - VN ctest-vn-00609437 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-09 22:12:36,762 - DEBUG - Verifying the vn in opserver 2025-12-09 22:12:36,762 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23837029:ctest-vn-00609437 virtual network link through opserver 10.0.0.19 2025-12-09 22:12:36,762 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-12-09 22:12:36,770 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23837029:ctest-vn-00609437', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23837029:ctest-vn-00609437?flat'} 2025-12-09 22:12:36,770 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23837029:ctest-vn-00609437 is found in opserver 2025-12-09 22:12:36,778 - DEBUG - Do not have enough data to verify VN in agent 2025-12-09 22:12:36,782 - DEBUG - VRF ids for VN ctest-vn-00609437: {} 2025-12-09 22:12:36,838 - DEBUG - Services list from nova: [, , ] 2025-12-09 22:12:37,839 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4873-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4873-1) 2025-12-09 22:12:38,957 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4873-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4873-1) 2025-12-09 22:12:38,958 - INFO - Waiting for VM ctest-TestBasicPolicy-23837029-16120600 to be up.. 2025-12-09 22:12:39,032 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-09 22:12:44,111 - DEBUG - VM is in ACTIVE state now 2025-12-09 22:12:44,111 - INFO - VM name : ctest-TestBasicPolicy-23837029-16120600 2025-12-09 22:12:44,179 - DEBUG - VM ctest-TestBasicPolicy-23837029-16120600 ID is 94f3340c-97b8-4210-b764-b3e41424ffe4 2025-12-09 22:12:44,195 - DEBUG - VM ctest-TestBasicPolicy-23837029-16120600 launched on Node cn-jenkins-deploy-platform-ansible-os-4873-1 2025-12-09 22:12:44,262 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/94f3340c-97b8-4210-b764-b3e41424ffe4 2025-12-09 22:12:44,270 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/8c64bfc1-dc4f-4ea6-9558-f8533929ec6a 2025-12-09 22:12:47,457 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1003ms') 2025-12-09 22:12:47,458 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-23837029-16120600 failed! 2025-12-09 22:12:47,513 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-23837029:ctest-vn-97465271 is 71.85.250.193 and allocation pool is NOT set 2025-12-09 22:12:49,576 - 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=5.33 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.971 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.971/3.152/5.333/2.181 ms') 2025-12-09 22:12:49,576 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-23837029-16120600 passed 2025-12-09 22:12:49,725 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 22:12:49,725 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-23837029-16120600, IP 71.85.250.195, Port 22 2025-12-09 22:12:49,891 - DEBUG - VM ctest-TestBasicPolicy-23837029-16120600 is ready for SSH connections 2025-12-09 22:12:49,891 - INFO - Waiting for VM ctest-TestBasicPolicy-23837029-57661547 to be up.. 2025-12-09 22:12:49,966 - DEBUG - VM is in ACTIVE state now 2025-12-09 22:12:49,966 - INFO - VM name : ctest-TestBasicPolicy-23837029-57661547 2025-12-09 22:12:50,042 - DEBUG - VM ctest-TestBasicPolicy-23837029-57661547 ID is c4b914e4-6bd0-4f9d-9cde-556acba73037 2025-12-09 22:12:50,042 - DEBUG - VM ctest-TestBasicPolicy-23837029-57661547 launched on Node cn-jenkins-deploy-platform-ansible-os-4873-1 2025-12-09 22:12:50,114 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/c4b914e4-6bd0-4f9d-9cde-556acba73037 2025-12-09 22:12:50,123 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/332109b1-c3ba-47ee-9497-9e85cfa0f9f8 2025-12-09 22:12:51,362 - 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.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.606 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.606/1.863/3.120/1.257 ms') 2025-12-09 22:12:51,362 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-23837029-57661547 passed 2025-12-09 22:12:51,513 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 22:12:51,513 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-23837029-57661547, IP 1.117.37.195, Port 22 2025-12-09 22:12:51,673 - DEBUG - VM ctest-TestBasicPolicy-23837029-57661547 is ready for SSH connections 2025-12-09 22:12:51,673 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 22:12:51,673 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 1.117.37.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-12-09 22:12:51,673 - DEBUG - ping -s 56 -c 3 -W 1 1.117.37.195 2025-12-09 22:12:55,702 - DEBUG - PING 1.117.37.195 (1.117.37.195): 56 data bytes 64 bytes from 1.117.37.195: seq=0 ttl=63 time=4.455 ms 64 bytes from 1.117.37.195: seq=1 ttl=63 time=1.060 ms 64 bytes from 1.117.37.195: seq=2 ttl=63 time=1.215 ms --- 1.117.37.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.060/2.243/4.455 ms 2025-12-09 22:12:55,702 - INFO - Ping to IP 1.117.37.195 from VM ctest-TestBasicPolicy-23837029-16120600 passed 2025-12-09 22:12:55,881 - DEBUG - Policy Update Response {"network-policy": {"uuid": "774cad21-1356-4df0-a4a8-c209bc1b7887", "href": "http://10.0.0.19:8082/network-policy/774cad21-1356-4df0-a4a8-c209bc1b7887"}} 2025-12-09 22:12:55,881 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 22:12:55,881 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 1.117.37.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-12-09 22:12:55,881 - DEBUG - ping -s 56 -c 3 -W 1 1.117.37.195 2025-12-09 22:12:59,099 - DEBUG - PING 1.117.37.195 (1.117.37.195): 56 data bytes --- 1.117.37.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-09 22:12:59,099 - WARNING - Ping to IP 1.117.37.195 from VM ctest-TestBasicPolicy-23837029-16120600 failed 2025-12-09 22:12:59,099 - INFO - Deleting VM ctest-TestBasicPolicy-23837029-57661547 2025-12-09 22:12:59,166 - INFO - Deleting VM ctest-TestBasicPolicy-23837029-16120600 2025-12-09 22:12:59,532 - INFO - Deleted policy ctest-policy-allow-all-20481265 2025-12-09 22:12:59,532 - INFO - Deleting VN ctest-vn-00609437 2025-12-09 22:12:59,561 - DEBUG - VN c676c0ef-a69c-427d-a6cc-ec2bb6e3560b still in use: Unable to complete operation on network c676c0ef-a69c-427d-a6cc-ec2bb6e3560b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0033654f-683a-43eb-8622-ee2c79ae62fe'] 2025-12-09 22:12:59,561 - WARNING - Deleting VN ctest-vn-00609437 failed..Will retry 2025-12-09 22:13:01,665 - DEBUG - Response for deleting network () 2025-12-09 22:13:01,665 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/001f75fd-ca18-499e-a3f7-a82ef0389496 2025-12-09 22:13:01,670 - DEBUG - Response Code: 404 2025-12-09 22:13:01,670 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-12-09 22:13:01,674 - DEBUG - Requesting: http://10.0.0.19:8082/domain/801b6e3b-8689-4746-bbce-2865015eaf9a 2025-12-09 22:13:01,726 - DEBUG - Requesting: http://10.0.0.19:8082/project/d80756a8-934f-4e33-8ab1-9627f240f6cc 2025-12-09 22:13:01,807 - INFO - Validated that VN ctest-vn-00609437 is not found in API Server 2025-12-09 22:13:01,816 - DEBUG - VN ctest-vn-00609437 is not present in Agent 10.0.0.19 2025-12-09 22:13:01,816 - INFO - Validated that VN ctest-vn-00609437 is not in any agent 2025-12-09 22:13:01,829 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-00609437 info 2025-12-09 22:13:01,829 - INFO - Deleting VN ctest-vn-97465271 2025-12-09 22:13:01,930 - DEBUG - Response for deleting network () 2025-12-09 22:13:01,930 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/e2551760-d087-4a31-9573-de247f6ca8ef 2025-12-09 22:13:01,936 - DEBUG - Response Code: 404 2025-12-09 22:13:01,936 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-12-09 22:13:01,941 - DEBUG - Requesting: http://10.0.0.19:8082/domain/801b6e3b-8689-4746-bbce-2865015eaf9a 2025-12-09 22:13:01,995 - DEBUG - Requesting: http://10.0.0.19:8082/project/d80756a8-934f-4e33-8ab1-9627f240f6cc 2025-12-09 22:13:02,069 - INFO - Validated that VN ctest-vn-97465271 is not found in API Server 2025-12-09 22:13:02,080 - DEBUG - VN ctest-vn-97465271 is not present in Agent 10.0.0.19 2025-12-09 22:13:02,080 - INFO - Validated that VN ctest-vn-97465271 is not in any agent 2025-12-09 22:13:02,092 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-97465271 info 2025-12-09 22:13:02,348 - DEBUG - No XMPP flaps were noticed during the test
2025-12-09 22:13:02,348 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-12-09 22:13:02,348 - INFO - -------------------------------------------------------------------------------- 2025-12-09 22:13:03,066 - INFO - Deleted project: ctest-TestBasicPolicy-23837029, ID : d80756a8-934f-4e33-8ab1-9627f240f6cc