2025-11-03 21:42:45,727 - INFO - Domain Default found not creating 2025-11-03 21:42:45,881 - INFO - Project ctest-TestBasicPolicy-46867377 not found, creating it 2025-11-03 21:42:46,345 - INFO - Created Project:ctest-TestBasicPolicy-46867377, ID : 34d65544-5e8b-4e06-8378-628eeee50545 2025-11-03 21:42:47,793 - INFO - ================================================================================ 2025-11-03 21:42:47,794 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-03 21:42:47,794 - 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-03 21:42:48,049 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-11-03 21:42:48,049 - INFO - Initial checks done. Running the testcase now 2025-11-03 21:42:48,049 - INFO - 2025-11-03 21:42:48,614 - DEBUG - Response for create_network : {'network': {'id': '814402ef-d67d-4d19-835b-609df03c2fca', 'name': 'ctest-vn-93011727', 'tenant_id': '34d655445e8b4e068378628eeee50545', 'project_id': '34d655445e8b4e068378628eeee50545', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46867377', 'ctest-vn-93011727'], 'port_security_enabled': True, 'description': ''}} 2025-11-03 21:42:48,794 - DEBUG - Response for create_subnet : {'subnet': {'id': '9b239508-be98-4353-9fcd-4e1090bca606', 'name': '', 'tenant_id': '34d655445e8b4e068378628eeee50545', 'network_id': '814402ef-d67d-4d19-835b-609df03c2fca', 'ip_version': 4, 'cidr': '44.112.45.192/26', 'allocation_pools': [{'start': '44.112.45.194', 'end': '44.112.45.254'}], 'gateway_ip': '44.112.45.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '44.112.45.194', 'tags': [], 'project_id': '34d655445e8b4e068378628eeee50545'}} 2025-11-03 21:42:48,814 - INFO - Created VN ctest-vn-93011727 2025-11-03 21:42:48,868 - DEBUG - VN ctest-vn-93011727 UUID is 814402ef-d67d-4d19-835b-609df03c2fca 2025-11-03 21:42:49,164 - DEBUG - Response for create_network : {'network': {'id': '5b37adde-01f9-4b89-b552-3c85d7478828', 'name': 'ctest-vn-80211215', 'tenant_id': '34d655445e8b4e068378628eeee50545', 'project_id': '34d655445e8b4e068378628eeee50545', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46867377', 'ctest-vn-80211215'], 'port_security_enabled': True, 'description': ''}} 2025-11-03 21:42:49,321 - DEBUG - Response for create_subnet : {'subnet': {'id': '8724ba58-506b-4537-a3c1-b6fe2ac6abb4', 'name': '', 'tenant_id': '34d655445e8b4e068378628eeee50545', 'network_id': '5b37adde-01f9-4b89-b552-3c85d7478828', 'ip_version': 4, 'cidr': '66.229.55.192/26', 'allocation_pools': [{'start': '66.229.55.194', 'end': '66.229.55.254'}], 'gateway_ip': '66.229.55.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.229.55.194', 'tags': [], 'project_id': '34d655445e8b4e068378628eeee50545'}} 2025-11-03 21:42:49,337 - INFO - Created VN ctest-vn-80211215 2025-11-03 21:42:49,388 - DEBUG - VN ctest-vn-80211215 UUID is 5b37adde-01f9-4b89-b552-3c85d7478828 2025-11-03 21:42:49,501 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-46867377:ctest-vn-93011727, 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-46867377:ctest-vn-80211215, 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-03 21:42:49,784 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '814402ef-d67d-4d19-835b-609df03c2fca', 'name': 'ctest-vn-93011727', 'tenant_id': '34d655445e8b4e068378628eeee50545', 'project_id': '34d655445e8b4e068378628eeee50545', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9b239508-be98-4353-9fcd-4e1090bca606'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46867377', 'ctest-vn-93011727'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-46867377', 'ctest-policy-allow-all-69265535']], 'subnet_ipam': [{'subnet_cidr': '44.112.45.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-03 21:42:49,962 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5b37adde-01f9-4b89-b552-3c85d7478828', 'name': 'ctest-vn-80211215', 'tenant_id': '34d655445e8b4e068378628eeee50545', 'project_id': '34d655445e8b4e068378628eeee50545', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8724ba58-506b-4537-a3c1-b6fe2ac6abb4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46867377', 'ctest-vn-80211215'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-46867377', 'ctest-policy-allow-all-69265535']], 'subnet_ipam': [{'subnet_cidr': '66.229.55.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-03 21:42:50,136 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-11-03 21:42:50,441 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-11-03 21:42:50,471 - DEBUG - Requesting: http://10.0.0.48:8082/domain/08e10bd5-c2ff-49ee-8138-17c957da47f5 2025-11-03 21:42:50,481 - DEBUG - Requesting: http://10.0.0.48:8082/project/34d65544-5e8b-4e06-8378-628eeee50545 2025-11-03 21:42:50,553 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/814402ef-d67d-4d19-835b-609df03c2fca 2025-11-03 21:42:50,564 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/814402ef-d67d-4d19-835b-609df03c2fca 2025-11-03 21:42:50,573 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/4b0469f4-c984-46fe-b505-4da4f3d2e0f2 2025-11-03 21:42:50,579 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/4b0469f4-c984-46fe-b505-4da4f3d2e0f2 2025-11-03 21:42:50,585 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/2db9d03d-36b7-4dd9-a6df-6b5843701955 2025-11-03 21:42:50,590 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-03 21:42:50,590 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/814402ef-d67d-4d19-835b-609df03c2fca 2025-11-03 21:42:50,597 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/4b0469f4-c984-46fe-b505-4da4f3d2e0f2 2025-11-03 21:42:50,609 - INFO - Verified VN network id 11 for VN 814402ef-d67d-4d19-835b-609df03c2fca 2025-11-03 21:42:50,609 - INFO - Verifications in API Server for VN ctest-vn-93011727 passed 2025-11-03 21:42:50,610 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/814402ef-d67d-4d19-835b-609df03c2fca 2025-11-03 21:42:50,618 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/4b0469f4-c984-46fe-b505-4da4f3d2e0f2 2025-11-03 21:42:50,624 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/4b0469f4-c984-46fe-b505-4da4f3d2e0f2 2025-11-03 21:42:50,630 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/2db9d03d-36b7-4dd9-a6df-6b5843701955 2025-11-03 21:42:50,641 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-46867377:ctest-vn-93011727', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-46867377', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9314573158428003609', 'uuid-lslong': '9465265273305837514'}, 'enable': 'true', 'created': '2025-11-03T21:42:48', 'last-modified': '2025-11-03T21:42:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.876136'} 2025-11-03 21:42:50,648 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-03 21:42:50,649 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-93011727 passed 2025-11-03 21:42:50,649 - DEBUG - ====Verifying policy data for ctest-vn-93011727 in API_Server ====== 2025-11-03 21:42:50,649 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-11-03 21:42:50,655 - DEBUG - Requesting: http://10.0.0.48:8082/domain/08e10bd5-c2ff-49ee-8138-17c957da47f5 2025-11-03 21:42:50,665 - DEBUG - Requesting: http://10.0.0.48:8082/project/34d65544-5e8b-4e06-8378-628eeee50545 2025-11-03 21:42:50,732 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/814402ef-d67d-4d19-835b-609df03c2fca 2025-11-03 21:42:50,742 - DEBUG - ==>Verifying data for policy with id: 20f2f5b2-7f03-4c8a-930a-53da0f994fa7, fqn: ['default-domain', 'ctest-TestBasicPolicy-46867377', 'ctest-policy-allow-all-69265535'] 2025-11-03 21:42:50,742 - INFO - VN ctest-vn-93011727 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-03 21:42:50,742 - DEBUG - Verifying the vn in opserver 2025-11-03 21:42:50,742 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-46867377:ctest-vn-93011727 virtual network link through opserver 10.0.0.48 2025-11-03 21:42:50,742 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-11-03 21:42:51,057 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-11-03 21:42:51,112 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-46867377:ctest-vn-93011727', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-46867377:ctest-vn-93011727?flat'} 2025-11-03 21:42:51,112 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-46867377:ctest-vn-93011727 is found in opserver 2025-11-03 21:42:51,126 - DEBUG - Do not have enough data to verify VN in agent 2025-11-03 21:42:51,134 - DEBUG - VRF ids for VN ctest-vn-93011727: {} 2025-11-03 21:42:51,134 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-11-03 21:42:51,141 - DEBUG - Requesting: http://10.0.0.48:8082/domain/08e10bd5-c2ff-49ee-8138-17c957da47f5 2025-11-03 21:42:51,151 - DEBUG - Requesting: http://10.0.0.48:8082/project/34d65544-5e8b-4e06-8378-628eeee50545 2025-11-03 21:42:51,219 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/5b37adde-01f9-4b89-b552-3c85d7478828 2025-11-03 21:42:51,232 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/5b37adde-01f9-4b89-b552-3c85d7478828 2025-11-03 21:42:51,240 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/97d82ea2-21b6-42ef-a18d-cfebcf9c21cb 2025-11-03 21:42:51,246 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/97d82ea2-21b6-42ef-a18d-cfebcf9c21cb 2025-11-03 21:42:51,254 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/75070d4c-0054-441e-9745-7a0325a748ea 2025-11-03 21:42:51,263 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-03 21:42:51,263 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/5b37adde-01f9-4b89-b552-3c85d7478828 2025-11-03 21:42:51,271 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/97d82ea2-21b6-42ef-a18d-cfebcf9c21cb 2025-11-03 21:42:51,283 - INFO - Verified VN network id 12 for VN 5b37adde-01f9-4b89-b552-3c85d7478828 2025-11-03 21:42:51,283 - INFO - Verifications in API Server for VN ctest-vn-80211215 passed 2025-11-03 21:42:51,283 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/5b37adde-01f9-4b89-b552-3c85d7478828 2025-11-03 21:42:51,293 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/97d82ea2-21b6-42ef-a18d-cfebcf9c21cb 2025-11-03 21:42:51,298 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/97d82ea2-21b6-42ef-a18d-cfebcf9c21cb 2025-11-03 21:42:51,304 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/75070d4c-0054-441e-9745-7a0325a748ea 2025-11-03 21:42:51,315 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-46867377:ctest-vn-80211215', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-46867377', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6572913350197988233', 'uuid-lslong': '13065572014495336488'}, 'enable': 'true', 'created': '2025-11-03T21:42:49', 'last-modified': '2025-11-03T21:42:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.377005'} 2025-11-03 21:42:51,322 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-03 21:42:51,322 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-80211215 passed 2025-11-03 21:42:51,322 - DEBUG - ====Verifying policy data for ctest-vn-80211215 in API_Server ====== 2025-11-03 21:42:51,322 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-11-03 21:42:51,327 - DEBUG - Requesting: http://10.0.0.48:8082/domain/08e10bd5-c2ff-49ee-8138-17c957da47f5 2025-11-03 21:42:51,337 - DEBUG - Requesting: http://10.0.0.48:8082/project/34d65544-5e8b-4e06-8378-628eeee50545 2025-11-03 21:42:51,402 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/5b37adde-01f9-4b89-b552-3c85d7478828 2025-11-03 21:42:51,411 - DEBUG - ==>Verifying data for policy with id: 20f2f5b2-7f03-4c8a-930a-53da0f994fa7, fqn: ['default-domain', 'ctest-TestBasicPolicy-46867377', 'ctest-policy-allow-all-69265535'] 2025-11-03 21:42:51,411 - INFO - VN ctest-vn-80211215 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-03 21:42:51,411 - DEBUG - Verifying the vn in opserver 2025-11-03 21:42:51,411 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-46867377:ctest-vn-80211215 virtual network link through opserver 10.0.0.48 2025-11-03 21:42:51,411 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-11-03 21:42:51,420 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-46867377:ctest-vn-80211215', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-46867377:ctest-vn-80211215?flat'} 2025-11-03 21:42:51,420 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-46867377:ctest-vn-80211215 is found in opserver 2025-11-03 21:42:51,429 - DEBUG - Do not have enough data to verify VN in agent 2025-11-03 21:42:51,434 - DEBUG - VRF ids for VN ctest-vn-80211215: {} 2025-11-03 21:42:51,493 - DEBUG - Services list from nova: [, , ] 2025-11-03 21:42:52,503 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4613-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4613-1) 2025-11-03 21:42:53,652 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4613-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4613-1) 2025-11-03 21:42:53,652 - INFO - Waiting for VM ctest-TestBasicPolicy-46867377-71132929 to be up.. 2025-11-03 21:42:53,753 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-03 21:42:58,828 - DEBUG - VM is in ACTIVE state now 2025-11-03 21:42:58,828 - INFO - VM name : ctest-TestBasicPolicy-46867377-71132929 2025-11-03 21:42:58,903 - DEBUG - VM ctest-TestBasicPolicy-46867377-71132929 ID is d5147647-5196-41b4-a8a1-269678f02bf7 2025-11-03 21:42:58,925 - DEBUG - VM ctest-TestBasicPolicy-46867377-71132929 launched on Node cn-jenkins-deploy-platform-ansible-os-4613-1 2025-11-03 21:42:58,995 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/d5147647-5196-41b4-a8a1-269678f02bf7 2025-11-03 21:42:59,005 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/967fc185-eff6-4e12-bb7f-9d19a7a09489 2025-11-03 21:43:02,253 - 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 1010ms') 2025-11-03 21:43:02,253 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-46867377-71132929 failed! 2025-11-03 21:43:02,308 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-46867377:ctest-vn-93011727 is 44.112.45.193 and allocation pool is NOT set 2025-11-03 21:43:04,369 - 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.05 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.686 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.686/4.365/8.045/3.679 ms') 2025-11-03 21:43:04,369 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-46867377-71132929 passed 2025-11-03 21:43:04,516 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 21:43:04,516 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-46867377-71132929, IP 44.112.45.195, Port 22 2025-11-03 21:43:04,671 - DEBUG - VM ctest-TestBasicPolicy-46867377-71132929 is ready for SSH connections 2025-11-03 21:43:04,672 - INFO - Waiting for VM ctest-TestBasicPolicy-46867377-28579332 to be up.. 2025-11-03 21:43:04,750 - DEBUG - VM is in ACTIVE state now 2025-11-03 21:43:04,750 - INFO - VM name : ctest-TestBasicPolicy-46867377-28579332 2025-11-03 21:43:04,823 - DEBUG - VM ctest-TestBasicPolicy-46867377-28579332 ID is eb0b7f0c-537c-4702-9d16-171cefd56361 2025-11-03 21:43:04,823 - DEBUG - VM ctest-TestBasicPolicy-46867377-28579332 launched on Node cn-jenkins-deploy-platform-ansible-os-4613-1 2025-11-03 21:43:04,896 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/eb0b7f0c-537c-4702-9d16-171cefd56361 2025-11-03 21:43:04,905 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/2e8c3799-6e17-4960-894d-ba42c4d15241 2025-11-03 21:43:06,143 - 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.17 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.628 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.628/1.899/3.171/1.271 ms') 2025-11-03 21:43:06,143 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-46867377-28579332 passed 2025-11-03 21:43:06,296 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 21:43:06,296 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-46867377-28579332, IP 66.229.55.195, Port 22 2025-11-03 21:43:06,461 - DEBUG - VM ctest-TestBasicPolicy-46867377-28579332 is ready for SSH connections 2025-11-03 21:43:06,462 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 21:43:06,462 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 66.229.55.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-11-03 21:43:06,462 - DEBUG - ping -s 56 -c 3 -W 1 66.229.55.195 2025-11-03 21:43:10,480 - DEBUG - PING 66.229.55.195 (66.229.55.195): 56 data bytes 64 bytes from 66.229.55.195: seq=0 ttl=63 time=3.892 ms 64 bytes from 66.229.55.195: seq=1 ttl=63 time=1.116 ms 64 bytes from 66.229.55.195: seq=2 ttl=63 time=1.152 ms --- 66.229.55.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.116/2.053/3.892 ms 2025-11-03 21:43:10,480 - INFO - Ping to IP 66.229.55.195 from VM ctest-TestBasicPolicy-46867377-71132929 passed 2025-11-03 21:43:10,656 - DEBUG - Policy Update Response {"network-policy": {"uuid": "20f2f5b2-7f03-4c8a-930a-53da0f994fa7", "href": "http://10.0.0.48:8082/network-policy/20f2f5b2-7f03-4c8a-930a-53da0f994fa7"}} 2025-11-03 21:43:10,656 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 21:43:10,656 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 66.229.55.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-11-03 21:43:10,656 - DEBUG - ping -s 56 -c 3 -W 1 66.229.55.195 2025-11-03 21:43:13,865 - DEBUG - PING 66.229.55.195 (66.229.55.195): 56 data bytes --- 66.229.55.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-03 21:43:13,866 - WARNING - Ping to IP 66.229.55.195 from VM ctest-TestBasicPolicy-46867377-71132929 failed 2025-11-03 21:43:13,866 - INFO - Deleting VM ctest-TestBasicPolicy-46867377-28579332 2025-11-03 21:43:13,934 - INFO - Deleting VM ctest-TestBasicPolicy-46867377-71132929 2025-11-03 21:43:14,317 - INFO - Deleted policy ctest-policy-allow-all-69265535 2025-11-03 21:43:14,317 - INFO - Deleting VN ctest-vn-80211215 2025-11-03 21:43:14,357 - DEBUG - VN 5b37adde-01f9-4b89-b552-3c85d7478828 still in use: Unable to complete operation on network 5b37adde-01f9-4b89-b552-3c85d7478828. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f4538654-3ebc-4cc9-bb24-4e580c1f6ad3'] 2025-11-03 21:43:14,357 - WARNING - Deleting VN ctest-vn-80211215 failed..Will retry 2025-11-03 21:43:16,452 - DEBUG - Response for deleting network () 2025-11-03 21:43:16,452 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/97d82ea2-21b6-42ef-a18d-cfebcf9c21cb 2025-11-03 21:43:16,458 - DEBUG - Response Code: 404 2025-11-03 21:43:16,459 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-11-03 21:43:16,464 - DEBUG - Requesting: http://10.0.0.48:8082/domain/08e10bd5-c2ff-49ee-8138-17c957da47f5 2025-11-03 21:43:16,516 - DEBUG - Requesting: http://10.0.0.48:8082/project/34d65544-5e8b-4e06-8378-628eeee50545 2025-11-03 21:43:16,589 - INFO - Validated that VN ctest-vn-80211215 is not found in API Server 2025-11-03 21:43:16,600 - DEBUG - VN ctest-vn-80211215 is not present in Agent 10.0.0.48 2025-11-03 21:43:16,600 - INFO - Validated that VN ctest-vn-80211215 is not in any agent 2025-11-03 21:43:16,613 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-80211215 info 2025-11-03 21:43:16,613 - INFO - Deleting VN ctest-vn-93011727 2025-11-03 21:43:16,783 - DEBUG - Response for deleting network () 2025-11-03 21:43:16,783 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/4b0469f4-c984-46fe-b505-4da4f3d2e0f2 2025-11-03 21:43:16,789 - DEBUG - Response Code: 404 2025-11-03 21:43:16,789 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-11-03 21:43:16,799 - DEBUG - Requesting: http://10.0.0.48:8082/domain/08e10bd5-c2ff-49ee-8138-17c957da47f5 2025-11-03 21:43:16,854 - DEBUG - Requesting: http://10.0.0.48:8082/project/34d65544-5e8b-4e06-8378-628eeee50545 2025-11-03 21:43:16,925 - INFO - Validated that VN ctest-vn-93011727 is not found in API Server 2025-11-03 21:43:16,934 - DEBUG - VN ctest-vn-93011727 is not present in Agent 10.0.0.48 2025-11-03 21:43:16,934 - INFO - Validated that VN ctest-vn-93011727 is not in any agent 2025-11-03 21:43:16,946 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-93011727 info 2025-11-03 21:43:17,200 - DEBUG - No XMPP flaps were noticed during the test
2025-11-03 21:43:17,200 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-11-03 21:43:17,200 - INFO - -------------------------------------------------------------------------------- 2025-11-03 21:43:17,868 - INFO - Deleted project: ctest-TestBasicPolicy-46867377, ID : 34d65544-5e8b-4e06-8378-628eeee50545