2025-11-06 02:04:23,292 - INFO - Domain Default found not creating 2025-11-06 02:04:23,436 - INFO - Project ctest-TestBasicPolicy-05177334 not found, creating it 2025-11-06 02:04:23,852 - INFO - Created Project:ctest-TestBasicPolicy-05177334, ID : daa07341-314f-49e3-809b-8abf411c0462 2025-11-06 02:04:25,219 - INFO - ================================================================================ 2025-11-06 02:04:25,219 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-06 02:04:25,220 - 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-11-06 02:04:25,473 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.18': '0'}} with 2025-11-06 02:04:25,473 - INFO - Initial checks done. Running the testcase now 2025-11-06 02:04:25,473 - INFO - 2025-11-06 02:04:26,004 - DEBUG - Response for create_network : {'network': {'id': '1372eac9-dc04-4353-8ad7-da0943bfd954', 'name': 'ctest-vn-78048532', 'tenant_id': 'daa07341314f49e3809b8abf411c0462', 'project_id': 'daa07341314f49e3809b8abf411c0462', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05177334', 'ctest-vn-78048532'], 'port_security_enabled': True, 'description': ''}} 2025-11-06 02:04:26,170 - DEBUG - Response for create_subnet : {'subnet': {'id': '0863c46a-8b1d-4458-afb8-c7df5e78410a', 'name': '', 'tenant_id': 'daa07341314f49e3809b8abf411c0462', 'network_id': '1372eac9-dc04-4353-8ad7-da0943bfd954', 'ip_version': 4, 'cidr': '212.34.49.64/26', 'allocation_pools': [{'start': '212.34.49.66', 'end': '212.34.49.126'}], 'gateway_ip': '212.34.49.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.34.49.66', 'tags': [], 'project_id': 'daa07341314f49e3809b8abf411c0462'}} 2025-11-06 02:04:26,186 - INFO - Created VN ctest-vn-78048532 2025-11-06 02:04:26,236 - DEBUG - VN ctest-vn-78048532 UUID is 1372eac9-dc04-4353-8ad7-da0943bfd954 2025-11-06 02:04:26,555 - DEBUG - Response for create_network : {'network': {'id': 'd7cd2718-8847-46fb-af81-1a30e582d04b', 'name': 'ctest-vn-51683067', 'tenant_id': 'daa07341314f49e3809b8abf411c0462', 'project_id': 'daa07341314f49e3809b8abf411c0462', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05177334', 'ctest-vn-51683067'], 'port_security_enabled': True, 'description': ''}} 2025-11-06 02:04:26,702 - DEBUG - Response for create_subnet : {'subnet': {'id': '61d2d2e6-53c5-4905-b033-3799c622828a', 'name': '', 'tenant_id': 'daa07341314f49e3809b8abf411c0462', 'network_id': 'd7cd2718-8847-46fb-af81-1a30e582d04b', 'ip_version': 4, 'cidr': '190.219.136.128/26', 'allocation_pools': [{'start': '190.219.136.130', 'end': '190.219.136.190'}], 'gateway_ip': '190.219.136.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '190.219.136.130', 'tags': [], 'project_id': 'daa07341314f49e3809b8abf411c0462'}} 2025-11-06 02:04:26,718 - INFO - Created VN ctest-vn-51683067 2025-11-06 02:04:26,768 - DEBUG - VN ctest-vn-51683067 UUID is d7cd2718-8847-46fb-af81-1a30e582d04b 2025-11-06 02:04:26,916 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-05177334:ctest-vn-78048532, 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-05177334:ctest-vn-51683067, 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-11-06 02:04:27,199 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1372eac9-dc04-4353-8ad7-da0943bfd954', 'name': 'ctest-vn-78048532', 'tenant_id': 'daa07341314f49e3809b8abf411c0462', 'project_id': 'daa07341314f49e3809b8abf411c0462', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0863c46a-8b1d-4458-afb8-c7df5e78410a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05177334', 'ctest-vn-78048532'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-05177334', 'ctest-policy-allow-all-07149046']], 'subnet_ipam': [{'subnet_cidr': '212.34.49.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-06 02:04:27,455 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd7cd2718-8847-46fb-af81-1a30e582d04b', 'name': 'ctest-vn-51683067', 'tenant_id': 'daa07341314f49e3809b8abf411c0462', 'project_id': 'daa07341314f49e3809b8abf411c0462', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['61d2d2e6-53c5-4905-b033-3799c622828a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05177334', 'ctest-vn-51683067'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-05177334', 'ctest-policy-allow-all-07149046']], 'subnet_ipam': [{'subnet_cidr': '190.219.136.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-06 02:04:27,600 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-06 02:04:27,897 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-06 02:04:27,924 - DEBUG - Requesting: http://10.0.0.22:8082/domain/88ab238c-1b4f-4648-9342-589a67e6b8e9 2025-11-06 02:04:27,934 - DEBUG - Requesting: http://10.0.0.22:8082/project/daa07341-314f-49e3-809b-8abf411c0462 2025-11-06 02:04:28,007 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/1372eac9-dc04-4353-8ad7-da0943bfd954 2025-11-06 02:04:28,017 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/1372eac9-dc04-4353-8ad7-da0943bfd954 2025-11-06 02:04:28,024 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/4cf63731-cf6a-4d8d-9ef6-d07eba5c1ee3 2025-11-06 02:04:28,030 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/4cf63731-cf6a-4d8d-9ef6-d07eba5c1ee3 2025-11-06 02:04:28,036 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/dd0336fd-5843-4616-97c3-651b9c8d0fd6 2025-11-06 02:04:28,042 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-06 02:04:28,042 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/1372eac9-dc04-4353-8ad7-da0943bfd954 2025-11-06 02:04:28,051 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/4cf63731-cf6a-4d8d-9ef6-d07eba5c1ee3 2025-11-06 02:04:28,064 - INFO - Verified VN network id 12 for VN 1372eac9-dc04-4353-8ad7-da0943bfd954 2025-11-06 02:04:28,064 - INFO - Verifications in API Server for VN ctest-vn-78048532 passed 2025-11-06 02:04:28,064 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/1372eac9-dc04-4353-8ad7-da0943bfd954 2025-11-06 02:04:28,072 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/4cf63731-cf6a-4d8d-9ef6-d07eba5c1ee3 2025-11-06 02:04:28,078 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/4cf63731-cf6a-4d8d-9ef6-d07eba5c1ee3 2025-11-06 02:04:28,083 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/dd0336fd-5843-4616-97c3-651b9c8d0fd6 2025-11-06 02:04:28,092 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-05177334:ctest-vn-78048532', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-05177334', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1401440586766238547', 'uuid-lslong': '10004704830553053524'}, 'enable': 'true', 'created': '2025-11-06T02:04:25', 'last-modified': '2025-11-06T02:04:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.912477'} 2025-11-06 02:04:28,098 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-06 02:04:28,098 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-78048532 passed 2025-11-06 02:04:28,098 - DEBUG - ====Verifying policy data for ctest-vn-78048532 in API_Server ====== 2025-11-06 02:04:28,098 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-06 02:04:28,104 - DEBUG - Requesting: http://10.0.0.22:8082/domain/88ab238c-1b4f-4648-9342-589a67e6b8e9 2025-11-06 02:04:28,114 - DEBUG - Requesting: http://10.0.0.22:8082/project/daa07341-314f-49e3-809b-8abf411c0462 2025-11-06 02:04:28,180 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/1372eac9-dc04-4353-8ad7-da0943bfd954 2025-11-06 02:04:28,187 - DEBUG - ==>Verifying data for policy with id: c617c3b0-06f8-4b67-8339-d6bf376666de, fqn: ['default-domain', 'ctest-TestBasicPolicy-05177334', 'ctest-policy-allow-all-07149046'] 2025-11-06 02:04:28,188 - INFO - VN ctest-vn-78048532 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-06 02:04:28,188 - DEBUG - Verifying the vn in opserver 2025-11-06 02:04:28,188 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-05177334:ctest-vn-78048532 virtual network link through opserver 10.0.0.22 2025-11-06 02:04:28,188 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-11-06 02:04:28,475 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-11-06 02:04:28,525 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-05177334:ctest-vn-78048532', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-05177334:ctest-vn-78048532?flat'} 2025-11-06 02:04:28,525 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-05177334:ctest-vn-78048532 is found in opserver 2025-11-06 02:04:28,534 - DEBUG - Do not have enough data to verify VN in agent 2025-11-06 02:04:28,538 - DEBUG - VRF ids for VN ctest-vn-78048532: {} 2025-11-06 02:04:28,538 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-06 02:04:28,543 - DEBUG - Requesting: http://10.0.0.22:8082/domain/88ab238c-1b4f-4648-9342-589a67e6b8e9 2025-11-06 02:04:28,553 - DEBUG - Requesting: http://10.0.0.22:8082/project/daa07341-314f-49e3-809b-8abf411c0462 2025-11-06 02:04:28,623 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d7cd2718-8847-46fb-af81-1a30e582d04b 2025-11-06 02:04:28,633 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d7cd2718-8847-46fb-af81-1a30e582d04b 2025-11-06 02:04:28,640 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/9e0324c4-b8c1-451b-bfff-e50f5015e3f5 2025-11-06 02:04:28,647 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/9e0324c4-b8c1-451b-bfff-e50f5015e3f5 2025-11-06 02:04:28,656 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/587d5117-4445-4f3a-b7c9-a997cd701713 2025-11-06 02:04:28,661 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-06 02:04:28,662 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d7cd2718-8847-46fb-af81-1a30e582d04b 2025-11-06 02:04:28,669 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/9e0324c4-b8c1-451b-bfff-e50f5015e3f5 2025-11-06 02:04:28,681 - INFO - Verified VN network id 13 for VN d7cd2718-8847-46fb-af81-1a30e582d04b 2025-11-06 02:04:28,681 - INFO - Verifications in API Server for VN ctest-vn-51683067 passed 2025-11-06 02:04:28,681 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d7cd2718-8847-46fb-af81-1a30e582d04b 2025-11-06 02:04:28,690 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/9e0324c4-b8c1-451b-bfff-e50f5015e3f5 2025-11-06 02:04:28,696 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/9e0324c4-b8c1-451b-bfff-e50f5015e3f5 2025-11-06 02:04:28,701 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/587d5117-4445-4f3a-b7c9-a997cd701713 2025-11-06 02:04:28,711 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-05177334:ctest-vn-51683067', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-05177334', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15550128074699261691', 'uuid-lslong': '12646418025944371275'}, 'enable': 'true', 'created': '2025-11-06T02:04:26', 'last-modified': '2025-11-06T02:04:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.318902'} 2025-11-06 02:04:28,716 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-06 02:04:28,717 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-51683067 passed 2025-11-06 02:04:28,717 - DEBUG - ====Verifying policy data for ctest-vn-51683067 in API_Server ====== 2025-11-06 02:04:28,717 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-06 02:04:28,721 - DEBUG - Requesting: http://10.0.0.22:8082/domain/88ab238c-1b4f-4648-9342-589a67e6b8e9 2025-11-06 02:04:28,730 - DEBUG - Requesting: http://10.0.0.22:8082/project/daa07341-314f-49e3-809b-8abf411c0462 2025-11-06 02:04:28,794 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d7cd2718-8847-46fb-af81-1a30e582d04b 2025-11-06 02:04:28,802 - DEBUG - ==>Verifying data for policy with id: c617c3b0-06f8-4b67-8339-d6bf376666de, fqn: ['default-domain', 'ctest-TestBasicPolicy-05177334', 'ctest-policy-allow-all-07149046'] 2025-11-06 02:04:28,802 - INFO - VN ctest-vn-51683067 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-06 02:04:28,802 - DEBUG - Verifying the vn in opserver 2025-11-06 02:04:28,802 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-05177334:ctest-vn-51683067 virtual network link through opserver 10.0.0.22 2025-11-06 02:04:28,802 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-11-06 02:04:28,810 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-05177334:ctest-vn-51683067', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-05177334:ctest-vn-51683067?flat'} 2025-11-06 02:04:28,810 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-05177334:ctest-vn-51683067 is found in opserver 2025-11-06 02:04:28,818 - DEBUG - Do not have enough data to verify VN in agent 2025-11-06 02:04:28,822 - DEBUG - VRF ids for VN ctest-vn-51683067: {} 2025-11-06 02:04:28,870 - DEBUG - Services list from nova: [, , ] 2025-11-06 02:04:29,860 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4659-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4659-1) 2025-11-06 02:04:30,944 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4659-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4659-1) 2025-11-06 02:04:30,944 - INFO - Waiting for VM ctest-TestBasicPolicy-05177334-62474152 to be up.. 2025-11-06 02:04:31,019 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-06 02:04:36,126 - DEBUG - VM is in ACTIVE state now 2025-11-06 02:04:36,126 - INFO - VM name : ctest-TestBasicPolicy-05177334-62474152 2025-11-06 02:04:36,233 - DEBUG - VM ctest-TestBasicPolicy-05177334-62474152 ID is 3eadb4ec-5679-483e-8e0e-44e28506914f 2025-11-06 02:04:36,262 - DEBUG - VM ctest-TestBasicPolicy-05177334-62474152 launched on Node cn-jenkins-deploy-platform-ansible-os-4659-1 2025-11-06 02:04:36,407 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/3eadb4ec-5679-483e-8e0e-44e28506914f 2025-11-06 02:04:36,418 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/d16905df-daa7-42ef-aa79-eed0b5764ca3 2025-11-06 02:04:39,689 - 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-11-06 02:04:39,689 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-05177334-62474152 failed! 2025-11-06 02:04:39,744 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-05177334:ctest-vn-78048532 is 212.34.49.65 and allocation pool is NOT set 2025-11-06 02:04:41,808 - 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=4.55 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.432 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.432/2.492/4.552/2.060 ms') 2025-11-06 02:04:41,808 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-05177334-62474152 passed 2025-11-06 02:04:41,956 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 02:04:41,956 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-05177334-62474152, IP 212.34.49.67, Port 22 2025-11-06 02:04:42,115 - DEBUG - VM ctest-TestBasicPolicy-05177334-62474152 is ready for SSH connections 2025-11-06 02:04:42,115 - INFO - Waiting for VM ctest-TestBasicPolicy-05177334-51840201 to be up.. 2025-11-06 02:04:42,191 - DEBUG - VM is in ACTIVE state now 2025-11-06 02:04:42,191 - INFO - VM name : ctest-TestBasicPolicy-05177334-51840201 2025-11-06 02:04:42,259 - DEBUG - VM ctest-TestBasicPolicy-05177334-51840201 ID is afaf75d3-a1a0-4389-83fd-6edf1adedde9 2025-11-06 02:04:42,259 - DEBUG - VM ctest-TestBasicPolicy-05177334-51840201 launched on Node cn-jenkins-deploy-platform-ansible-os-4659-1 2025-11-06 02:04:42,324 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/afaf75d3-a1a0-4389-83fd-6edf1adedde9 2025-11-06 02:04:42,331 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/a855c705-eb16-4b76-bbdb-71e7530175f2 2025-11-06 02:04:43,564 - 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=2.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.512 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 = 0.512/1.632/2.752/1.120 ms') 2025-11-06 02:04:43,565 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-05177334-51840201 passed 2025-11-06 02:04:43,712 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 02:04:43,712 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-05177334-51840201, IP 190.219.136.131, Port 22 2025-11-06 02:04:43,879 - DEBUG - VM ctest-TestBasicPolicy-05177334-51840201 is ready for SSH connections 2025-11-06 02:04:43,880 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 02:04:43,880 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 190.219.136.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-06 02:04:43,880 - DEBUG - ping -s 56 -c 3 -W 1 190.219.136.131 2025-11-06 02:04:47,582 - DEBUG - PING 190.219.136.131 (190.219.136.131): 56 data bytes 64 bytes from 190.219.136.131: seq=0 ttl=63 time=3.891 ms 64 bytes from 190.219.136.131: seq=1 ttl=63 time=0.867 ms 64 bytes from 190.219.136.131: seq=2 ttl=63 time=0.728 ms --- 190.219.136.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.728/1.828/3.891 ms 2025-11-06 02:04:47,582 - INFO - Ping to IP 190.219.136.131 from VM ctest-TestBasicPolicy-05177334-62474152 passed 2025-11-06 02:04:47,764 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c617c3b0-06f8-4b67-8339-d6bf376666de", "href": "http://10.0.0.22:8082/network-policy/c617c3b0-06f8-4b67-8339-d6bf376666de"}} 2025-11-06 02:04:47,764 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 02:04:47,764 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 190.219.136.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-06 02:04:47,764 - DEBUG - ping -s 56 -c 3 -W 1 190.219.136.131 2025-11-06 02:04:50,961 - DEBUG - PING 190.219.136.131 (190.219.136.131): 56 data bytes --- 190.219.136.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-06 02:04:50,961 - WARNING - Ping to IP 190.219.136.131 from VM ctest-TestBasicPolicy-05177334-62474152 failed 2025-11-06 02:04:50,961 - INFO - Deleting VM ctest-TestBasicPolicy-05177334-51840201 2025-11-06 02:04:51,034 - INFO - Deleting VM ctest-TestBasicPolicy-05177334-62474152 2025-11-06 02:04:51,401 - INFO - Deleted policy ctest-policy-allow-all-07149046 2025-11-06 02:04:51,401 - INFO - Deleting VN ctest-vn-51683067 2025-11-06 02:04:51,437 - DEBUG - VN d7cd2718-8847-46fb-af81-1a30e582d04b still in use: Unable to complete operation on network d7cd2718-8847-46fb-af81-1a30e582d04b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-876d8020-a110-4bdb-94ea-c92de8e4e1a3'] 2025-11-06 02:04:51,437 - WARNING - Deleting VN ctest-vn-51683067 failed..Will retry 2025-11-06 02:04:53,539 - DEBUG - Response for deleting network () 2025-11-06 02:04:53,539 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/9e0324c4-b8c1-451b-bfff-e50f5015e3f5 2025-11-06 02:04:53,545 - DEBUG - Response Code: 404 2025-11-06 02:04:53,546 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-06 02:04:53,550 - DEBUG - Requesting: http://10.0.0.22:8082/domain/88ab238c-1b4f-4648-9342-589a67e6b8e9 2025-11-06 02:04:53,601 - DEBUG - Requesting: http://10.0.0.22:8082/project/daa07341-314f-49e3-809b-8abf411c0462 2025-11-06 02:04:53,668 - INFO - Validated that VN ctest-vn-51683067 is not found in API Server 2025-11-06 02:04:53,677 - DEBUG - VN ctest-vn-51683067 is not present in Agent 10.0.0.22 2025-11-06 02:04:53,677 - INFO - Validated that VN ctest-vn-51683067 is not in any agent 2025-11-06 02:04:53,687 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-51683067 info 2025-11-06 02:04:53,687 - INFO - Deleting VN ctest-vn-78048532 2025-11-06 02:04:53,784 - DEBUG - Response for deleting network () 2025-11-06 02:04:53,784 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/4cf63731-cf6a-4d8d-9ef6-d07eba5c1ee3 2025-11-06 02:04:53,788 - DEBUG - Response Code: 404 2025-11-06 02:04:53,788 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-06 02:04:53,792 - DEBUG - Requesting: http://10.0.0.22:8082/domain/88ab238c-1b4f-4648-9342-589a67e6b8e9 2025-11-06 02:04:53,844 - DEBUG - Requesting: http://10.0.0.22:8082/project/daa07341-314f-49e3-809b-8abf411c0462 2025-11-06 02:04:53,918 - INFO - Validated that VN ctest-vn-78048532 is not found in API Server 2025-11-06 02:04:53,928 - DEBUG - VN ctest-vn-78048532 is not present in Agent 10.0.0.22 2025-11-06 02:04:53,929 - INFO - Validated that VN ctest-vn-78048532 is not in any agent 2025-11-06 02:04:53,941 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-78048532 info 2025-11-06 02:04:54,196 - DEBUG - No XMPP flaps were noticed during the test
2025-11-06 02:04:54,196 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-11-06 02:04:54,196 - INFO - -------------------------------------------------------------------------------- 2025-11-06 02:04:54,858 - INFO - Deleted project: ctest-TestBasicPolicy-05177334, ID : daa07341-314f-49e3-809b-8abf411c0462