2025-06-23 14:39:52,325 - INFO - Domain Default found not creating 2025-06-23 14:39:52,484 - INFO - Project ctest-TestBasicPolicy-56143872 not found, creating it 2025-06-23 14:39:52,970 - INFO - Created Project:ctest-TestBasicPolicy-56143872, ID : 9348d001-b980-494e-af85-b34489185cba 2025-06-23 14:39:54,424 - INFO - ================================================================================ 2025-06-23 14:39:54,424 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-23 14:39:54,424 - 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-06-23 14:39:54,682 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-06-23 14:39:54,682 - INFO - Initial checks done. Running the testcase now 2025-06-23 14:39:54,682 - INFO - 2025-06-23 14:39:55,277 - DEBUG - Response for create_network : {'network': {'id': '5df20f48-e644-41fc-b64e-90ca76aa309f', 'name': 'ctest-vn-64687011', 'tenant_id': '9348d001b980494eaf85b34489185cba', 'project_id': '9348d001b980494eaf85b34489185cba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56143872', 'ctest-vn-64687011'], 'port_security_enabled': True, 'description': ''}} 2025-06-23 14:39:55,498 - DEBUG - Response for create_subnet : {'subnet': {'id': '84cab2ae-6ada-4074-94ac-1d1608862df8', 'name': '', 'tenant_id': '9348d001b980494eaf85b34489185cba', 'network_id': '5df20f48-e644-41fc-b64e-90ca76aa309f', 'ip_version': 4, 'cidr': '216.34.43.0/26', 'allocation_pools': [{'start': '216.34.43.2', 'end': '216.34.43.62'}], 'gateway_ip': '216.34.43.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '216.34.43.2', 'tags': [], 'project_id': '9348d001b980494eaf85b34489185cba'}} 2025-06-23 14:39:55,518 - INFO - Created VN ctest-vn-64687011 2025-06-23 14:39:55,571 - DEBUG - VN ctest-vn-64687011 UUID is 5df20f48-e644-41fc-b64e-90ca76aa309f 2025-06-23 14:39:55,887 - DEBUG - Response for create_network : {'network': {'id': '083a8e02-df51-43bd-ba9c-adaa24a4ad60', 'name': 'ctest-vn-51761612', 'tenant_id': '9348d001b980494eaf85b34489185cba', 'project_id': '9348d001b980494eaf85b34489185cba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56143872', 'ctest-vn-51761612'], 'port_security_enabled': True, 'description': ''}} 2025-06-23 14:39:56,112 - DEBUG - Response for create_subnet : {'subnet': {'id': '68c65f38-7ae8-4891-9df5-3198fee661d1', 'name': '', 'tenant_id': '9348d001b980494eaf85b34489185cba', 'network_id': '083a8e02-df51-43bd-ba9c-adaa24a4ad60', 'ip_version': 4, 'cidr': '54.184.93.0/26', 'allocation_pools': [{'start': '54.184.93.2', 'end': '54.184.93.62'}], 'gateway_ip': '54.184.93.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.184.93.2', 'tags': [], 'project_id': '9348d001b980494eaf85b34489185cba'}} 2025-06-23 14:39:56,132 - INFO - Created VN ctest-vn-51761612 2025-06-23 14:39:56,187 - DEBUG - VN ctest-vn-51761612 UUID is 083a8e02-df51-43bd-ba9c-adaa24a4ad60 2025-06-23 14:39:56,300 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-56143872:ctest-vn-64687011, 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-56143872:ctest-vn-51761612, 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-06-23 14:39:56,605 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5df20f48-e644-41fc-b64e-90ca76aa309f', 'name': 'ctest-vn-64687011', 'tenant_id': '9348d001b980494eaf85b34489185cba', 'project_id': '9348d001b980494eaf85b34489185cba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['84cab2ae-6ada-4074-94ac-1d1608862df8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56143872', 'ctest-vn-64687011'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-56143872', 'ctest-policy-allow-all-67725730']], 'subnet_ipam': [{'subnet_cidr': '216.34.43.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-23 14:39:56,896 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '083a8e02-df51-43bd-ba9c-adaa24a4ad60', 'name': 'ctest-vn-51761612', 'tenant_id': '9348d001b980494eaf85b34489185cba', 'project_id': '9348d001b980494eaf85b34489185cba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['68c65f38-7ae8-4891-9df5-3198fee661d1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56143872', 'ctest-vn-51761612'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-56143872', 'ctest-policy-allow-all-67725730']], 'subnet_ipam': [{'subnet_cidr': '54.184.93.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-23 14:39:57,055 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-06-23 14:39:57,350 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-06-23 14:39:57,378 - DEBUG - Requesting: http://10.0.0.65:8082/domain/24d555d3-736d-47e1-898b-8247bd67619f 2025-06-23 14:39:57,395 - DEBUG - Requesting: http://10.0.0.65:8082/project/9348d001-b980-494e-af85-b34489185cba 2025-06-23 14:39:57,470 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/5df20f48-e644-41fc-b64e-90ca76aa309f 2025-06-23 14:39:57,482 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/5df20f48-e644-41fc-b64e-90ca76aa309f 2025-06-23 14:39:57,495 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/11ea2a91-aa8d-4691-b35a-a1e705364b21 2025-06-23 14:39:57,503 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/11ea2a91-aa8d-4691-b35a-a1e705364b21 2025-06-23 14:39:57,512 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/dfe38d96-c11a-44db-b5f6-2f2f67beab06 2025-06-23 14:39:57,520 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-23 14:39:57,521 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/5df20f48-e644-41fc-b64e-90ca76aa309f 2025-06-23 14:39:57,533 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/11ea2a91-aa8d-4691-b35a-a1e705364b21 2025-06-23 14:39:57,550 - INFO - Verified VN network id 8 for VN 5df20f48-e644-41fc-b64e-90ca76aa309f 2025-06-23 14:39:57,550 - INFO - Verifications in API Server for VN ctest-vn-64687011 passed 2025-06-23 14:39:57,550 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/5df20f48-e644-41fc-b64e-90ca76aa309f 2025-06-23 14:39:57,561 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/11ea2a91-aa8d-4691-b35a-a1e705364b21 2025-06-23 14:39:57,569 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/11ea2a91-aa8d-4691-b35a-a1e705364b21 2025-06-23 14:39:57,578 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/dfe38d96-c11a-44db-b5f6-2f2f67beab06 2025-06-23 14:39:57,592 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-56143872:ctest-vn-64687011', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-56143872', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6769489995666571772', 'uuid-lslong': '13136596362334974111'}, 'enable': 'true', 'created': '2025-06-23T14:39:55', 'last-modified': '2025-06-23T14:39:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.017988'} 2025-06-23 14:39:57,600 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-23 14:39:57,600 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-64687011 passed 2025-06-23 14:39:57,600 - DEBUG - ====Verifying policy data for ctest-vn-64687011 in API_Server ====== 2025-06-23 14:39:57,600 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-06-23 14:39:57,607 - DEBUG - Requesting: http://10.0.0.65:8082/domain/24d555d3-736d-47e1-898b-8247bd67619f 2025-06-23 14:39:57,619 - DEBUG - Requesting: http://10.0.0.65:8082/project/9348d001-b980-494e-af85-b34489185cba 2025-06-23 14:39:57,692 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/5df20f48-e644-41fc-b64e-90ca76aa309f 2025-06-23 14:39:57,703 - DEBUG - ==>Verifying data for policy with id: f3dbb9da-300a-4a10-9aab-049411e68e8e, fqn: ['default-domain', 'ctest-TestBasicPolicy-56143872', 'ctest-policy-allow-all-67725730'] 2025-06-23 14:39:57,703 - INFO - VN ctest-vn-64687011 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-23 14:39:57,703 - DEBUG - Verifying the vn in opserver 2025-06-23 14:39:57,703 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-56143872:ctest-vn-64687011 virtual network link through opserver 10.0.0.65 2025-06-23 14:39:57,704 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-06-23 14:39:57,992 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-06-23 14:39:58,047 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-56143872:ctest-vn-64687011', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-56143872:ctest-vn-64687011?flat'} 2025-06-23 14:39:58,047 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-56143872:ctest-vn-64687011 is found in opserver 2025-06-23 14:39:58,059 - DEBUG - Do not have enough data to verify VN in agent 2025-06-23 14:39:58,064 - DEBUG - VRF ids for VN ctest-vn-64687011: {} 2025-06-23 14:39:58,064 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-06-23 14:39:58,070 - DEBUG - Requesting: http://10.0.0.65:8082/domain/24d555d3-736d-47e1-898b-8247bd67619f 2025-06-23 14:39:58,083 - DEBUG - Requesting: http://10.0.0.65:8082/project/9348d001-b980-494e-af85-b34489185cba 2025-06-23 14:39:58,159 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/083a8e02-df51-43bd-ba9c-adaa24a4ad60 2025-06-23 14:39:58,171 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/083a8e02-df51-43bd-ba9c-adaa24a4ad60 2025-06-23 14:39:58,182 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/2d45d28d-98f7-4726-b423-d7ec54496719 2025-06-23 14:39:58,191 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/2d45d28d-98f7-4726-b423-d7ec54496719 2025-06-23 14:39:58,200 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/a43ab457-43dc-4e3f-9706-684c0686e329 2025-06-23 14:39:58,207 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-23 14:39:58,207 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/083a8e02-df51-43bd-ba9c-adaa24a4ad60 2025-06-23 14:39:58,219 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/2d45d28d-98f7-4726-b423-d7ec54496719 2025-06-23 14:39:58,237 - INFO - Verified VN network id 9 for VN 083a8e02-df51-43bd-ba9c-adaa24a4ad60 2025-06-23 14:39:58,237 - INFO - Verifications in API Server for VN ctest-vn-51761612 passed 2025-06-23 14:39:58,237 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/083a8e02-df51-43bd-ba9c-adaa24a4ad60 2025-06-23 14:39:58,248 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/2d45d28d-98f7-4726-b423-d7ec54496719 2025-06-23 14:39:58,257 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/2d45d28d-98f7-4726-b423-d7ec54496719 2025-06-23 14:39:58,265 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/a43ab457-43dc-4e3f-9706-684c0686e329 2025-06-23 14:39:58,280 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-56143872:ctest-vn-51761612', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-56143872', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '592942443940365245', 'uuid-lslong': '13446813533692276064'}, 'enable': 'true', 'created': '2025-06-23T14:39:55', 'last-modified': '2025-06-23T14:39:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.457765'} 2025-06-23 14:39:58,287 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-23 14:39:58,287 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-51761612 passed 2025-06-23 14:39:58,287 - DEBUG - ====Verifying policy data for ctest-vn-51761612 in API_Server ====== 2025-06-23 14:39:58,287 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-06-23 14:39:58,294 - DEBUG - Requesting: http://10.0.0.65:8082/domain/24d555d3-736d-47e1-898b-8247bd67619f 2025-06-23 14:39:58,310 - DEBUG - Requesting: http://10.0.0.65:8082/project/9348d001-b980-494e-af85-b34489185cba 2025-06-23 14:39:58,386 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/083a8e02-df51-43bd-ba9c-adaa24a4ad60 2025-06-23 14:39:58,398 - DEBUG - ==>Verifying data for policy with id: f3dbb9da-300a-4a10-9aab-049411e68e8e, fqn: ['default-domain', 'ctest-TestBasicPolicy-56143872', 'ctest-policy-allow-all-67725730'] 2025-06-23 14:39:58,398 - INFO - VN ctest-vn-51761612 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-23 14:39:58,399 - DEBUG - Verifying the vn in opserver 2025-06-23 14:39:58,399 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-56143872:ctest-vn-51761612 virtual network link through opserver 10.0.0.65 2025-06-23 14:39:58,399 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-06-23 14:39:58,412 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-56143872:ctest-vn-51761612', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-56143872:ctest-vn-51761612?flat'} 2025-06-23 14:39:58,412 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-56143872:ctest-vn-51761612 is found in opserver 2025-06-23 14:39:58,423 - DEBUG - Do not have enough data to verify VN in agent 2025-06-23 14:39:58,428 - DEBUG - VRF ids for VN ctest-vn-51761612: {} 2025-06-23 14:39:58,485 - DEBUG - Services list from nova: [, , ] 2025-06-23 14:39:59,506 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3521-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3521-1) 2025-06-23 14:40:00,751 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3521-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3521-1) 2025-06-23 14:40:00,752 - INFO - Waiting for VM ctest-TestBasicPolicy-56143872-92869256 to be up.. 2025-06-23 14:40:00,843 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-23 14:40:05,938 - DEBUG - VM is in ACTIVE state now 2025-06-23 14:40:05,938 - INFO - VM name : ctest-TestBasicPolicy-56143872-92869256 2025-06-23 14:40:06,011 - DEBUG - VM ctest-TestBasicPolicy-56143872-92869256 ID is eaabbad8-1d8b-4846-b234-e05419fe14d7 2025-06-23 14:40:06,030 - DEBUG - VM ctest-TestBasicPolicy-56143872-92869256 launched on Node cn-jenkins-deploy-platform-ansible-os-3521-1 2025-06-23 14:40:06,110 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/eaabbad8-1d8b-4846-b234-e05419fe14d7 2025-06-23 14:40:06,120 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/935740d5-a2af-4c4d-8232-ebce4b6343b4 2025-06-23 14:40:09,399 - 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 1025ms') 2025-06-23 14:40:09,399 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-56143872-92869256 failed! 2025-06-23 14:40:09,455 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-56143872:ctest-vn-64687011 is 216.34.43.1 and allocation pool is NOT set 2025-06-23 14:40:11,513 - 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=3.81 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.881 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.881/2.347/3.813/1.466 ms') 2025-06-23 14:40:11,514 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-56143872-92869256 passed 2025-06-23 14:40:11,667 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-23 14:40:11,667 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-56143872-92869256, IP 216.34.43.3, Port 22 2025-06-23 14:40:11,822 - DEBUG - VM ctest-TestBasicPolicy-56143872-92869256 is ready for SSH connections 2025-06-23 14:40:11,822 - INFO - Waiting for VM ctest-TestBasicPolicy-56143872-43095351 to be up.. 2025-06-23 14:40:11,910 - DEBUG - VM is in ACTIVE state now 2025-06-23 14:40:11,910 - INFO - VM name : ctest-TestBasicPolicy-56143872-43095351 2025-06-23 14:40:11,994 - DEBUG - VM ctest-TestBasicPolicy-56143872-43095351 ID is 79a5aac8-d95e-4e5f-9b01-083b9890e0b4 2025-06-23 14:40:11,994 - DEBUG - VM ctest-TestBasicPolicy-56143872-43095351 launched on Node cn-jenkins-deploy-platform-ansible-os-3521-1 2025-06-23 14:40:12,078 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/79a5aac8-d95e-4e5f-9b01-083b9890e0b4 2025-06-23 14:40:12,088 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/771176a5-464e-4574-8140-254b1d0cfba6 2025-06-23 14:40:13,339 - 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.02 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.503 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.503/1.760/3.017/1.257 ms') 2025-06-23 14:40:13,339 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-56143872-43095351 passed 2025-06-23 14:40:13,487 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-23 14:40:13,487 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-56143872-43095351, IP 54.184.93.3, Port 22 2025-06-23 14:40:13,638 - DEBUG - VM ctest-TestBasicPolicy-56143872-43095351 is ready for SSH connections 2025-06-23 14:40:13,638 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-23 14:40:13,638 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 54.184.93.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-06-23 14:40:13,639 - DEBUG - ping -s 56 -c 3 -W 1 54.184.93.3 2025-06-23 14:40:17,662 - DEBUG - PING 54.184.93.3 (54.184.93.3): 56 data bytes 64 bytes from 54.184.93.3: seq=0 ttl=63 time=4.882 ms 64 bytes from 54.184.93.3: seq=1 ttl=63 time=1.035 ms 64 bytes from 54.184.93.3: seq=2 ttl=63 time=0.874 ms --- 54.184.93.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.874/2.263/4.882 ms 2025-06-23 14:40:17,662 - INFO - Ping to IP 54.184.93.3 from VM ctest-TestBasicPolicy-56143872-92869256 passed 2025-06-23 14:40:17,842 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f3dbb9da-300a-4a10-9aab-049411e68e8e", "href": "http://10.0.0.65:8082/network-policy/f3dbb9da-300a-4a10-9aab-049411e68e8e"}} 2025-06-23 14:40:17,843 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-23 14:40:17,843 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 54.184.93.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-06-23 14:40:17,843 - DEBUG - ping -s 56 -c 3 -W 1 54.184.93.3 2025-06-23 14:40:21,043 - DEBUG - PING 54.184.93.3 (54.184.93.3): 56 data bytes 64 bytes from 54.184.93.3: seq=0 ttl=63 time=1.446 ms --- 54.184.93.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.446/1.446/1.446 ms 2025-06-23 14:40:21,043 - WARNING - Ping to IP 54.184.93.3 from VM ctest-TestBasicPolicy-56143872-92869256 failed 2025-06-23 14:40:21,043 - INFO - Deleting VM ctest-TestBasicPolicy-56143872-43095351 2025-06-23 14:40:21,109 - INFO - Deleting VM ctest-TestBasicPolicy-56143872-92869256 2025-06-23 14:40:21,494 - INFO - Deleted policy ctest-policy-allow-all-67725730 2025-06-23 14:40:21,494 - INFO - Deleting VN ctest-vn-51761612 2025-06-23 14:40:21,539 - DEBUG - VN 083a8e02-df51-43bd-ba9c-adaa24a4ad60 still in use: Unable to complete operation on network 083a8e02-df51-43bd-ba9c-adaa24a4ad60. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bf7086ef-b4fa-46d5-837f-520a69f3f385'] 2025-06-23 14:40:21,539 - WARNING - Deleting VN ctest-vn-51761612 failed..Will retry 2025-06-23 14:40:23,661 - DEBUG - Response for deleting network () 2025-06-23 14:40:23,662 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/2d45d28d-98f7-4726-b423-d7ec54496719 2025-06-23 14:40:23,667 - DEBUG - Response Code: 404 2025-06-23 14:40:23,667 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-06-23 14:40:23,676 - DEBUG - Requesting: http://10.0.0.65:8082/domain/24d555d3-736d-47e1-898b-8247bd67619f 2025-06-23 14:40:23,733 - DEBUG - Requesting: http://10.0.0.65:8082/project/9348d001-b980-494e-af85-b34489185cba 2025-06-23 14:40:23,806 - INFO - Validated that VN ctest-vn-51761612 is not found in API Server 2025-06-23 14:40:23,818 - DEBUG - VN ctest-vn-51761612 is not present in Agent 10.0.0.65 2025-06-23 14:40:23,818 - INFO - Validated that VN ctest-vn-51761612 is not in any agent 2025-06-23 14:40:23,833 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-51761612 info 2025-06-23 14:40:23,833 - INFO - Deleting VN ctest-vn-64687011 2025-06-23 14:40:23,946 - DEBUG - Response for deleting network () 2025-06-23 14:40:23,946 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/11ea2a91-aa8d-4691-b35a-a1e705364b21 2025-06-23 14:40:23,953 - DEBUG - Response Code: 404 2025-06-23 14:40:23,953 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-06-23 14:40:23,960 - DEBUG - Requesting: http://10.0.0.65:8082/domain/24d555d3-736d-47e1-898b-8247bd67619f 2025-06-23 14:40:24,020 - DEBUG - Requesting: http://10.0.0.65:8082/project/9348d001-b980-494e-af85-b34489185cba 2025-06-23 14:40:24,093 - INFO - Validated that VN ctest-vn-64687011 is not found in API Server 2025-06-23 14:40:24,105 - DEBUG - VN ctest-vn-64687011 is not present in Agent 10.0.0.65 2025-06-23 14:40:24,105 - INFO - Validated that VN ctest-vn-64687011 is not in any agent 2025-06-23 14:40:24,123 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-64687011 info 2025-06-23 14:40:24,377 - DEBUG - No XMPP flaps were noticed during the test 2025-06-23 14:40:24,377 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-06-23 14:40:24,378 - INFO - -------------------------------------------------------------------------------- 2025-06-23 14:40:25,068 - INFO - Deleted project: ctest-TestBasicPolicy-56143872, ID : 9348d001-b980-494e-af85-b34489185cba