2025-09-22 02:03:31,556 - INFO - Domain Default found not creating 2025-09-22 02:03:31,698 - INFO - Project ctest-TestBasicPolicy-57169741 not found, creating it 2025-09-22 02:03:32,156 - INFO - Created Project:ctest-TestBasicPolicy-57169741, ID : 30ae5531-e223-47f8-82f1-90c2e07cf537 2025-09-22 02:03:33,691 - INFO - ================================================================================ 2025-09-22 02:03:33,692 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-22 02:03:33,692 - 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-09-22 02:03:33,954 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with 2025-09-22 02:03:33,955 - INFO - Initial checks done. Running the testcase now 2025-09-22 02:03:33,955 - INFO - 2025-09-22 02:03:34,558 - DEBUG - Response for create_network : {'network': {'id': '89af537f-9f7d-4640-981b-f6f78615f0be', 'name': 'ctest-vn-52617851', 'tenant_id': '30ae5531e22347f882f190c2e07cf537', 'project_id': '30ae5531e22347f882f190c2e07cf537', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57169741', 'ctest-vn-52617851'], 'port_security_enabled': True, 'description': ''}} 2025-09-22 02:03:34,737 - DEBUG - Response for create_subnet : {'subnet': {'id': '0d7ba067-e390-4197-995e-6e3aa5a45350', 'name': '', 'tenant_id': '30ae5531e22347f882f190c2e07cf537', 'network_id': '89af537f-9f7d-4640-981b-f6f78615f0be', 'ip_version': 4, 'cidr': '22.209.214.128/26', 'allocation_pools': [{'start': '22.209.214.130', 'end': '22.209.214.190'}], 'gateway_ip': '22.209.214.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.209.214.130', 'tags': [], 'project_id': '30ae5531e22347f882f190c2e07cf537'}} 2025-09-22 02:03:34,756 - INFO - Created VN ctest-vn-52617851 2025-09-22 02:03:34,808 - DEBUG - VN ctest-vn-52617851 UUID is 89af537f-9f7d-4640-981b-f6f78615f0be 2025-09-22 02:03:35,101 - DEBUG - Response for create_network : {'network': {'id': 'a608dd5a-73c2-4f07-8bbd-af64bcdfb531', 'name': 'ctest-vn-78261252', 'tenant_id': '30ae5531e22347f882f190c2e07cf537', 'project_id': '30ae5531e22347f882f190c2e07cf537', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57169741', 'ctest-vn-78261252'], 'port_security_enabled': True, 'description': ''}} 2025-09-22 02:03:35,348 - DEBUG - Response for create_subnet : {'subnet': {'id': '9eb9caf8-3370-4f2f-a63f-62129f7c27d8', 'name': '', 'tenant_id': '30ae5531e22347f882f190c2e07cf537', 'network_id': 'a608dd5a-73c2-4f07-8bbd-af64bcdfb531', 'ip_version': 4, 'cidr': '102.231.143.64/26', 'allocation_pools': [{'start': '102.231.143.66', 'end': '102.231.143.126'}], 'gateway_ip': '102.231.143.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '102.231.143.66', 'tags': [], 'project_id': '30ae5531e22347f882f190c2e07cf537'}} 2025-09-22 02:03:35,368 - INFO - Created VN ctest-vn-78261252 2025-09-22 02:03:35,420 - DEBUG - VN ctest-vn-78261252 UUID is a608dd5a-73c2-4f07-8bbd-af64bcdfb531 2025-09-22 02:03:35,537 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-57169741:ctest-vn-52617851, 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-57169741:ctest-vn-78261252, 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-09-22 02:03:35,830 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '89af537f-9f7d-4640-981b-f6f78615f0be', 'name': 'ctest-vn-52617851', 'tenant_id': '30ae5531e22347f882f190c2e07cf537', 'project_id': '30ae5531e22347f882f190c2e07cf537', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0d7ba067-e390-4197-995e-6e3aa5a45350'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57169741', 'ctest-vn-52617851'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-57169741', 'ctest-policy-allow-all-55510373']], 'subnet_ipam': [{'subnet_cidr': '22.209.214.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-22 02:03:36,064 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a608dd5a-73c2-4f07-8bbd-af64bcdfb531', 'name': 'ctest-vn-78261252', 'tenant_id': '30ae5531e22347f882f190c2e07cf537', 'project_id': '30ae5531e22347f882f190c2e07cf537', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9eb9caf8-3370-4f2f-a63f-62129f7c27d8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57169741', 'ctest-vn-78261252'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-57169741', 'ctest-policy-allow-all-55510373']], 'subnet_ipam': [{'subnet_cidr': '102.231.143.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-22 02:03:36,236 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-09-22 02:03:36,571 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-09-22 02:03:36,602 - DEBUG - Requesting: http://10.0.0.19:8082/domain/6dd92d91-881d-4ff3-a388-2d75be9bb5b5 2025-09-22 02:03:36,615 - DEBUG - Requesting: http://10.0.0.19:8082/project/30ae5531-e223-47f8-82f1-90c2e07cf537 2025-09-22 02:03:36,697 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/89af537f-9f7d-4640-981b-f6f78615f0be 2025-09-22 02:03:36,711 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/89af537f-9f7d-4640-981b-f6f78615f0be 2025-09-22 02:03:36,723 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/97009545-0e44-43a9-8d56-667dab8154ff 2025-09-22 02:03:36,732 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/97009545-0e44-43a9-8d56-667dab8154ff 2025-09-22 02:03:36,740 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/d6bc91fd-c8d9-484e-9fe0-c0bdbced293c 2025-09-22 02:03:36,747 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-22 02:03:36,747 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/89af537f-9f7d-4640-981b-f6f78615f0be 2025-09-22 02:03:36,758 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/97009545-0e44-43a9-8d56-667dab8154ff 2025-09-22 02:03:36,777 - INFO - Verified VN network id 11 for VN 89af537f-9f7d-4640-981b-f6f78615f0be 2025-09-22 02:03:36,777 - INFO - Verifications in API Server for VN ctest-vn-52617851 passed 2025-09-22 02:03:36,777 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/89af537f-9f7d-4640-981b-f6f78615f0be 2025-09-22 02:03:36,792 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/97009545-0e44-43a9-8d56-667dab8154ff 2025-09-22 02:03:36,801 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/97009545-0e44-43a9-8d56-667dab8154ff 2025-09-22 02:03:36,810 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/d6bc91fd-c8d9-484e-9fe0-c0bdbced293c 2025-09-22 02:03:36,823 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-57169741:ctest-vn-52617851', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-57169741', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9921240311722231360', 'uuid-lslong': '10960625661103173822'}, 'enable': 'true', 'created': '2025-09-22T02:03:34', 'last-modified': '2025-09-22T02:03:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.014199'} 2025-09-22 02:03:36,830 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-22 02:03:36,830 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-52617851 passed 2025-09-22 02:03:36,830 - DEBUG - ====Verifying policy data for ctest-vn-52617851 in API_Server ====== 2025-09-22 02:03:36,830 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-09-22 02:03:36,836 - DEBUG - Requesting: http://10.0.0.19:8082/domain/6dd92d91-881d-4ff3-a388-2d75be9bb5b5 2025-09-22 02:03:36,852 - DEBUG - Requesting: http://10.0.0.19:8082/project/30ae5531-e223-47f8-82f1-90c2e07cf537 2025-09-22 02:03:36,926 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/89af537f-9f7d-4640-981b-f6f78615f0be 2025-09-22 02:03:36,935 - DEBUG - ==>Verifying data for policy with id: 25ebd465-d5ac-443e-9b62-3edf57c6e9b5, fqn: ['default-domain', 'ctest-TestBasicPolicy-57169741', 'ctest-policy-allow-all-55510373'] 2025-09-22 02:03:36,936 - INFO - VN ctest-vn-52617851 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-22 02:03:36,936 - DEBUG - Verifying the vn in opserver 2025-09-22 02:03:36,936 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-57169741:ctest-vn-52617851 virtual network link through opserver 10.0.0.19 2025-09-22 02:03:36,936 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-09-22 02:03:37,269 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-09-22 02:03:37,326 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-57169741:ctest-vn-52617851', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-57169741:ctest-vn-52617851?flat'} 2025-09-22 02:03:37,326 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-57169741:ctest-vn-52617851 is found in opserver 2025-09-22 02:03:37,337 - DEBUG - Do not have enough data to verify VN in agent 2025-09-22 02:03:37,341 - DEBUG - VRF ids for VN ctest-vn-52617851: {} 2025-09-22 02:03:37,341 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-09-22 02:03:37,347 - DEBUG - Requesting: http://10.0.0.19:8082/domain/6dd92d91-881d-4ff3-a388-2d75be9bb5b5 2025-09-22 02:03:37,357 - DEBUG - Requesting: http://10.0.0.19:8082/project/30ae5531-e223-47f8-82f1-90c2e07cf537 2025-09-22 02:03:37,428 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/a608dd5a-73c2-4f07-8bbd-af64bcdfb531 2025-09-22 02:03:37,440 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/a608dd5a-73c2-4f07-8bbd-af64bcdfb531 2025-09-22 02:03:37,449 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/9a64c363-1913-4f59-95be-28a0b2f49b56 2025-09-22 02:03:37,456 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/9a64c363-1913-4f59-95be-28a0b2f49b56 2025-09-22 02:03:37,462 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/e2fe9760-978d-4b09-b842-3c33379c2071 2025-09-22 02:03:37,468 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-22 02:03:37,468 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/a608dd5a-73c2-4f07-8bbd-af64bcdfb531 2025-09-22 02:03:37,476 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/9a64c363-1913-4f59-95be-28a0b2f49b56 2025-09-22 02:03:37,488 - INFO - Verified VN network id 12 for VN a608dd5a-73c2-4f07-8bbd-af64bcdfb531 2025-09-22 02:03:37,489 - INFO - Verifications in API Server for VN ctest-vn-78261252 passed 2025-09-22 02:03:37,489 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/a608dd5a-73c2-4f07-8bbd-af64bcdfb531 2025-09-22 02:03:37,497 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/9a64c363-1913-4f59-95be-28a0b2f49b56 2025-09-22 02:03:37,506 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/9a64c363-1913-4f59-95be-28a0b2f49b56 2025-09-22 02:03:37,512 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/e2fe9760-978d-4b09-b842-3c33379c2071 2025-09-22 02:03:37,523 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-57169741:ctest-vn-78261252', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-57169741', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11964055790668631815', 'uuid-lslong': '10069397189070665009'}, 'enable': 'true', 'created': '2025-09-22T02:03:35', 'last-modified': '2025-09-22T02:03:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.482302'} 2025-09-22 02:03:37,528 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-22 02:03:37,529 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-78261252 passed 2025-09-22 02:03:37,529 - DEBUG - ====Verifying policy data for ctest-vn-78261252 in API_Server ====== 2025-09-22 02:03:37,529 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-09-22 02:03:37,535 - DEBUG - Requesting: http://10.0.0.19:8082/domain/6dd92d91-881d-4ff3-a388-2d75be9bb5b5 2025-09-22 02:03:37,546 - DEBUG - Requesting: http://10.0.0.19:8082/project/30ae5531-e223-47f8-82f1-90c2e07cf537 2025-09-22 02:03:37,622 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/a608dd5a-73c2-4f07-8bbd-af64bcdfb531 2025-09-22 02:03:37,634 - DEBUG - ==>Verifying data for policy with id: 25ebd465-d5ac-443e-9b62-3edf57c6e9b5, fqn: ['default-domain', 'ctest-TestBasicPolicy-57169741', 'ctest-policy-allow-all-55510373'] 2025-09-22 02:03:37,634 - INFO - VN ctest-vn-78261252 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-22 02:03:37,634 - DEBUG - Verifying the vn in opserver 2025-09-22 02:03:37,634 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-57169741:ctest-vn-78261252 virtual network link through opserver 10.0.0.19 2025-09-22 02:03:37,634 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-09-22 02:03:37,645 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-57169741:ctest-vn-78261252', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-57169741:ctest-vn-78261252?flat'} 2025-09-22 02:03:37,645 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-57169741:ctest-vn-78261252 is found in opserver 2025-09-22 02:03:37,655 - DEBUG - Do not have enough data to verify VN in agent 2025-09-22 02:03:37,660 - DEBUG - VRF ids for VN ctest-vn-78261252: {} 2025-09-22 02:03:37,727 - DEBUG - Services list from nova: [, , ] 2025-09-22 02:03:38,868 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4160-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4160-1) 2025-09-22 02:03:40,102 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4160-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4160-1) 2025-09-22 02:03:40,102 - INFO - Waiting for VM ctest-TestBasicPolicy-57169741-67079123 to be up.. 2025-09-22 02:03:40,202 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-22 02:03:45,295 - DEBUG - VM is in ACTIVE state now 2025-09-22 02:03:45,295 - INFO - VM name : ctest-TestBasicPolicy-57169741-67079123 2025-09-22 02:03:45,378 - DEBUG - VM ctest-TestBasicPolicy-57169741-67079123 ID is 38e3f7c7-ee86-4f4e-9686-10906424e869 2025-09-22 02:03:45,398 - DEBUG - VM ctest-TestBasicPolicy-57169741-67079123 launched on Node cn-jenkins-deploy-platform-ansible-os-4160-1 2025-09-22 02:03:45,485 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/38e3f7c7-ee86-4f4e-9686-10906424e869 2025-09-22 02:03:45,494 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/48d78a1d-d0e2-4e37-adbb-01b34844421c 2025-09-22 02:03:48,757 - 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 1030ms') 2025-09-22 02:03:48,758 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-57169741-67079123 failed! 2025-09-22 02:03:48,812 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-57169741:ctest-vn-52617851 is 22.209.214.129 and allocation pool is NOT set 2025-09-22 02:03:50,869 - 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=8.11 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.515 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.515/4.311/8.108/3.796 ms') 2025-09-22 02:03:50,869 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-57169741-67079123 passed 2025-09-22 02:03:51,024 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 02:03:51,024 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-57169741-67079123, IP 22.209.214.131, Port 22 2025-09-22 02:03:51,199 - DEBUG - VM ctest-TestBasicPolicy-57169741-67079123 is ready for SSH connections 2025-09-22 02:03:51,199 - INFO - Waiting for VM ctest-TestBasicPolicy-57169741-80600152 to be up.. 2025-09-22 02:03:51,279 - DEBUG - VM is in ACTIVE state now 2025-09-22 02:03:51,280 - INFO - VM name : ctest-TestBasicPolicy-57169741-80600152 2025-09-22 02:03:51,360 - DEBUG - VM ctest-TestBasicPolicy-57169741-80600152 ID is 010b982d-7b20-4018-8fca-fb39b526db4b 2025-09-22 02:03:51,360 - DEBUG - VM ctest-TestBasicPolicy-57169741-80600152 launched on Node cn-jenkins-deploy-platform-ansible-os-4160-1 2025-09-22 02:03:51,446 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/010b982d-7b20-4018-8fca-fb39b526db4b 2025-09-22 02:03:51,456 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/66679a74-cbc9-4f6f-bf18-f929915a5014 2025-09-22 02:03:52,694 - 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=5.00 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.55 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 = 1.553/3.275/4.997/1.722 ms') 2025-09-22 02:03:52,694 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-57169741-80600152 passed 2025-09-22 02:03:52,844 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 02:03:52,844 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-57169741-80600152, IP 102.231.143.67, Port 22 2025-09-22 02:03:53,004 - DEBUG - VM ctest-TestBasicPolicy-57169741-80600152 is ready for SSH connections 2025-09-22 02:03:53,004 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 02:03:53,004 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 102.231.143.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-09-22 02:03:53,004 - DEBUG - ping -s 56 -c 3 -W 1 102.231.143.67 2025-09-22 02:03:57,119 - DEBUG - PING 102.231.143.67 (102.231.143.67): 56 data bytes 64 bytes from 102.231.143.67: seq=0 ttl=63 time=5.277 ms 64 bytes from 102.231.143.67: seq=1 ttl=63 time=0.906 ms 64 bytes from 102.231.143.67: seq=2 ttl=63 time=1.021 ms --- 102.231.143.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.906/2.401/5.277 ms 2025-09-22 02:03:57,119 - INFO - Ping to IP 102.231.143.67 from VM ctest-TestBasicPolicy-57169741-67079123 passed 2025-09-22 02:03:57,304 - DEBUG - Policy Update Response {"network-policy": {"uuid": "25ebd465-d5ac-443e-9b62-3edf57c6e9b5", "href": "http://10.0.0.19:8082/network-policy/25ebd465-d5ac-443e-9b62-3edf57c6e9b5"}} 2025-09-22 02:03:57,304 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 02:03:57,304 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 102.231.143.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-09-22 02:03:57,304 - DEBUG - ping -s 56 -c 3 -W 1 102.231.143.67 2025-09-22 02:04:00,529 - DEBUG - PING 102.231.143.67 (102.231.143.67): 56 data bytes --- 102.231.143.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-22 02:04:00,529 - WARNING - Ping to IP 102.231.143.67 from VM ctest-TestBasicPolicy-57169741-67079123 failed 2025-09-22 02:04:00,530 - INFO - Deleting VM ctest-TestBasicPolicy-57169741-80600152 2025-09-22 02:04:00,602 - INFO - Deleting VM ctest-TestBasicPolicy-57169741-67079123 2025-09-22 02:04:00,965 - INFO - Deleted policy ctest-policy-allow-all-55510373 2025-09-22 02:04:00,965 - INFO - Deleting VN ctest-vn-78261252 2025-09-22 02:04:01,001 - DEBUG - VN a608dd5a-73c2-4f07-8bbd-af64bcdfb531 still in use: Unable to complete operation on network a608dd5a-73c2-4f07-8bbd-af64bcdfb531. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-983db491-c894-4c6c-a11a-dce7642eeb55'] 2025-09-22 02:04:01,001 - WARNING - Deleting VN ctest-vn-78261252 failed..Will retry 2025-09-22 02:04:03,104 - DEBUG - Response for deleting network () 2025-09-22 02:04:03,105 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/9a64c363-1913-4f59-95be-28a0b2f49b56 2025-09-22 02:04:03,113 - DEBUG - Response Code: 404 2025-09-22 02:04:03,113 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-09-22 02:04:03,118 - DEBUG - Requesting: http://10.0.0.19:8082/domain/6dd92d91-881d-4ff3-a388-2d75be9bb5b5 2025-09-22 02:04:03,172 - DEBUG - Requesting: http://10.0.0.19:8082/project/30ae5531-e223-47f8-82f1-90c2e07cf537 2025-09-22 02:04:03,242 - INFO - Validated that VN ctest-vn-78261252 is not found in API Server 2025-09-22 02:04:03,251 - DEBUG - VN ctest-vn-78261252 is not present in Agent 10.0.0.19 2025-09-22 02:04:03,252 - INFO - Validated that VN ctest-vn-78261252 is not in any agent 2025-09-22 02:04:03,264 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-78261252 info 2025-09-22 02:04:03,264 - INFO - Deleting VN ctest-vn-52617851 2025-09-22 02:04:03,376 - DEBUG - Response for deleting network () 2025-09-22 02:04:03,376 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/97009545-0e44-43a9-8d56-667dab8154ff 2025-09-22 02:04:03,382 - DEBUG - Response Code: 404 2025-09-22 02:04:03,382 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-09-22 02:04:03,387 - DEBUG - Requesting: http://10.0.0.19:8082/domain/6dd92d91-881d-4ff3-a388-2d75be9bb5b5 2025-09-22 02:04:03,441 - DEBUG - Requesting: http://10.0.0.19:8082/project/30ae5531-e223-47f8-82f1-90c2e07cf537 2025-09-22 02:04:03,514 - INFO - Validated that VN ctest-vn-52617851 is not found in API Server 2025-09-22 02:04:03,523 - DEBUG - VN ctest-vn-52617851 is not present in Agent 10.0.0.19 2025-09-22 02:04:03,523 - INFO - Validated that VN ctest-vn-52617851 is not in any agent 2025-09-22 02:04:03,536 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-52617851 info 2025-09-22 02:04:03,794 - DEBUG - No XMPP flaps were noticed during the test
2025-09-22 02:04:03,794 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-09-22 02:04:03,794 - INFO - -------------------------------------------------------------------------------- 2025-09-22 02:04:04,501 - INFO - Deleted project: ctest-TestBasicPolicy-57169741, ID : 30ae5531-e223-47f8-82f1-90c2e07cf537