2025-10-23 01:50:39,126 - INFO - Domain Default found not creating 2025-10-23 01:50:39,257 - INFO - Project ctest-TestBasicPolicy-99130217 not found, creating it 2025-10-23 01:50:39,668 - INFO - Created Project:ctest-TestBasicPolicy-99130217, ID : 1cb4a5ed-a8bb-47f0-94d7-f27613a2cd32 2025-10-23 01:50:40,978 - INFO - ================================================================================ 2025-10-23 01:50:40,978 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-23 01:50:40,978 - 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-10-23 01:50:41,233 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with 2025-10-23 01:50:41,233 - INFO - Initial checks done. Running the testcase now 2025-10-23 01:50:41,233 - INFO - 2025-10-23 01:50:41,735 - DEBUG - Response for create_network : {'network': {'id': '93bb43bf-4f8d-434a-91e6-7300a1070e97', 'name': 'ctest-vn-43973445', 'tenant_id': '1cb4a5eda8bb47f094d7f27613a2cd32', 'project_id': '1cb4a5eda8bb47f094d7f27613a2cd32', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99130217', 'ctest-vn-43973445'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 01:50:41,935 - DEBUG - Response for create_subnet : {'subnet': {'id': '9aa49dcc-48e8-4371-bf71-8abb252c966f', 'name': '', 'tenant_id': '1cb4a5eda8bb47f094d7f27613a2cd32', 'network_id': '93bb43bf-4f8d-434a-91e6-7300a1070e97', 'ip_version': 4, 'cidr': '150.39.62.192/26', 'allocation_pools': [{'start': '150.39.62.194', 'end': '150.39.62.254'}], 'gateway_ip': '150.39.62.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '150.39.62.194', 'tags': [], 'project_id': '1cb4a5eda8bb47f094d7f27613a2cd32'}} 2025-10-23 01:50:41,954 - INFO - Created VN ctest-vn-43973445 2025-10-23 01:50:42,004 - DEBUG - VN ctest-vn-43973445 UUID is 93bb43bf-4f8d-434a-91e6-7300a1070e97 2025-10-23 01:50:42,307 - DEBUG - Response for create_network : {'network': {'id': 'f172274e-5ff9-4d97-92c6-03eb2b0cbb2e', 'name': 'ctest-vn-39611401', 'tenant_id': '1cb4a5eda8bb47f094d7f27613a2cd32', 'project_id': '1cb4a5eda8bb47f094d7f27613a2cd32', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99130217', 'ctest-vn-39611401'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 01:50:42,478 - DEBUG - Response for create_subnet : {'subnet': {'id': '36e29c87-5c54-4d8f-8e90-97d89f3836b6', 'name': '', 'tenant_id': '1cb4a5eda8bb47f094d7f27613a2cd32', 'network_id': 'f172274e-5ff9-4d97-92c6-03eb2b0cbb2e', 'ip_version': 4, 'cidr': '75.46.237.128/26', 'allocation_pools': [{'start': '75.46.237.130', 'end': '75.46.237.190'}], 'gateway_ip': '75.46.237.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.46.237.130', 'tags': [], 'project_id': '1cb4a5eda8bb47f094d7f27613a2cd32'}} 2025-10-23 01:50:42,493 - INFO - Created VN ctest-vn-39611401 2025-10-23 01:50:42,544 - DEBUG - VN ctest-vn-39611401 UUID is f172274e-5ff9-4d97-92c6-03eb2b0cbb2e 2025-10-23 01:50:42,692 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-99130217:ctest-vn-43973445, 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-99130217:ctest-vn-39611401, 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-10-23 01:50:42,972 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '93bb43bf-4f8d-434a-91e6-7300a1070e97', 'name': 'ctest-vn-43973445', 'tenant_id': '1cb4a5eda8bb47f094d7f27613a2cd32', 'project_id': '1cb4a5eda8bb47f094d7f27613a2cd32', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9aa49dcc-48e8-4371-bf71-8abb252c966f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99130217', 'ctest-vn-43973445'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-99130217', 'ctest-policy-allow-all-09255318']], 'subnet_ipam': [{'subnet_cidr': '150.39.62.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-23 01:50:43,186 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f172274e-5ff9-4d97-92c6-03eb2b0cbb2e', 'name': 'ctest-vn-39611401', 'tenant_id': '1cb4a5eda8bb47f094d7f27613a2cd32', 'project_id': '1cb4a5eda8bb47f094d7f27613a2cd32', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['36e29c87-5c54-4d8f-8e90-97d89f3836b6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99130217', 'ctest-vn-39611401'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-99130217', 'ctest-policy-allow-all-09255318']], 'subnet_ipam': [{'subnet_cidr': '75.46.237.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-23 01:50:43,336 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-10-23 01:50:43,631 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-10-23 01:50:43,655 - DEBUG - Requesting: http://10.0.0.141:8082/domain/013499b7-13b8-4472-821f-4c26323ffecb 2025-10-23 01:50:43,665 - DEBUG - Requesting: http://10.0.0.141:8082/project/1cb4a5ed-a8bb-47f0-94d7-f27613a2cd32 2025-10-23 01:50:43,733 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/93bb43bf-4f8d-434a-91e6-7300a1070e97 2025-10-23 01:50:43,742 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/93bb43bf-4f8d-434a-91e6-7300a1070e97 2025-10-23 01:50:43,749 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/dc5f2e1c-e97e-4cfd-af28-0204406a64a6 2025-10-23 01:50:43,755 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/dc5f2e1c-e97e-4cfd-af28-0204406a64a6 2025-10-23 01:50:43,760 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/42d5c800-474c-42bb-b51a-722406d0fffb 2025-10-23 01:50:43,765 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-23 01:50:43,765 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/93bb43bf-4f8d-434a-91e6-7300a1070e97 2025-10-23 01:50:43,773 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/dc5f2e1c-e97e-4cfd-af28-0204406a64a6 2025-10-23 01:50:43,783 - INFO - Verified VN network id 12 for VN 93bb43bf-4f8d-434a-91e6-7300a1070e97 2025-10-23 01:50:43,784 - INFO - Verifications in API Server for VN ctest-vn-43973445 passed 2025-10-23 01:50:43,784 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/93bb43bf-4f8d-434a-91e6-7300a1070e97 2025-10-23 01:50:43,790 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/dc5f2e1c-e97e-4cfd-af28-0204406a64a6 2025-10-23 01:50:43,795 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/dc5f2e1c-e97e-4cfd-af28-0204406a64a6 2025-10-23 01:50:43,800 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/42d5c800-474c-42bb-b51a-722406d0fffb 2025-10-23 01:50:43,809 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-99130217:ctest-vn-43973445', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-99130217', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10645176633172771658', 'uuid-lslong': '10513216826681790103'}, 'enable': 'true', 'created': '2025-10-23T01:50:41', 'last-modified': '2025-10-23T01:50:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.858036'} 2025-10-23 01:50:43,814 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-23 01:50:43,814 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-43973445 passed 2025-10-23 01:50:43,814 - DEBUG - ====Verifying policy data for ctest-vn-43973445 in API_Server ====== 2025-10-23 01:50:43,814 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-10-23 01:50:43,818 - DEBUG - Requesting: http://10.0.0.141:8082/domain/013499b7-13b8-4472-821f-4c26323ffecb 2025-10-23 01:50:43,826 - DEBUG - Requesting: http://10.0.0.141:8082/project/1cb4a5ed-a8bb-47f0-94d7-f27613a2cd32 2025-10-23 01:50:43,892 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/93bb43bf-4f8d-434a-91e6-7300a1070e97 2025-10-23 01:50:43,900 - DEBUG - ==>Verifying data for policy with id: a3c6dec2-c3c6-4cb4-a2a2-28db53043dcd, fqn: ['default-domain', 'ctest-TestBasicPolicy-99130217', 'ctest-policy-allow-all-09255318'] 2025-10-23 01:50:43,900 - INFO - VN ctest-vn-43973445 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-23 01:50:43,900 - DEBUG - Verifying the vn in opserver 2025-10-23 01:50:43,900 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-99130217:ctest-vn-43973445 virtual network link through opserver 10.0.0.141 2025-10-23 01:50:43,900 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-10-23 01:50:44,187 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-10-23 01:50:44,232 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-99130217:ctest-vn-43973445', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-99130217:ctest-vn-43973445?flat'} 2025-10-23 01:50:44,233 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-99130217:ctest-vn-43973445 is found in opserver 2025-10-23 01:50:44,241 - DEBUG - Do not have enough data to verify VN in agent 2025-10-23 01:50:44,244 - DEBUG - VRF ids for VN ctest-vn-43973445: {} 2025-10-23 01:50:44,245 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-10-23 01:50:44,249 - DEBUG - Requesting: http://10.0.0.141:8082/domain/013499b7-13b8-4472-821f-4c26323ffecb 2025-10-23 01:50:44,257 - DEBUG - Requesting: http://10.0.0.141:8082/project/1cb4a5ed-a8bb-47f0-94d7-f27613a2cd32 2025-10-23 01:50:44,324 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/f172274e-5ff9-4d97-92c6-03eb2b0cbb2e 2025-10-23 01:50:44,336 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/f172274e-5ff9-4d97-92c6-03eb2b0cbb2e 2025-10-23 01:50:44,345 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/b0fa4837-501b-4eff-af27-e5082e135c8d 2025-10-23 01:50:44,352 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/b0fa4837-501b-4eff-af27-e5082e135c8d 2025-10-23 01:50:44,357 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/92569f7c-99f5-43fe-9de8-9fb89cc382fd 2025-10-23 01:50:44,362 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-23 01:50:44,362 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/f172274e-5ff9-4d97-92c6-03eb2b0cbb2e 2025-10-23 01:50:44,370 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/b0fa4837-501b-4eff-af27-e5082e135c8d 2025-10-23 01:50:44,381 - INFO - Verified VN network id 13 for VN f172274e-5ff9-4d97-92c6-03eb2b0cbb2e 2025-10-23 01:50:44,381 - INFO - Verifications in API Server for VN ctest-vn-39611401 passed 2025-10-23 01:50:44,381 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/f172274e-5ff9-4d97-92c6-03eb2b0cbb2e 2025-10-23 01:50:44,388 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/b0fa4837-501b-4eff-af27-e5082e135c8d 2025-10-23 01:50:44,393 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/b0fa4837-501b-4eff-af27-e5082e135c8d 2025-10-23 01:50:44,398 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/92569f7c-99f5-43fe-9de8-9fb89cc382fd 2025-10-23 01:50:44,406 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-99130217:ctest-vn-39611401', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-99130217', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17398011528056753559', 'uuid-lslong': '10576145083500641070'}, 'enable': 'true', 'created': '2025-10-23T01:50:42', 'last-modified': '2025-10-23T01:50:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.240273'} 2025-10-23 01:50:44,412 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-23 01:50:44,412 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39611401 passed 2025-10-23 01:50:44,412 - DEBUG - ====Verifying policy data for ctest-vn-39611401 in API_Server ====== 2025-10-23 01:50:44,412 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-10-23 01:50:44,416 - DEBUG - Requesting: http://10.0.0.141:8082/domain/013499b7-13b8-4472-821f-4c26323ffecb 2025-10-23 01:50:44,427 - DEBUG - Requesting: http://10.0.0.141:8082/project/1cb4a5ed-a8bb-47f0-94d7-f27613a2cd32 2025-10-23 01:50:44,492 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/f172274e-5ff9-4d97-92c6-03eb2b0cbb2e 2025-10-23 01:50:44,501 - DEBUG - ==>Verifying data for policy with id: a3c6dec2-c3c6-4cb4-a2a2-28db53043dcd, fqn: ['default-domain', 'ctest-TestBasicPolicy-99130217', 'ctest-policy-allow-all-09255318'] 2025-10-23 01:50:44,502 - INFO - VN ctest-vn-39611401 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-23 01:50:44,502 - DEBUG - Verifying the vn in opserver 2025-10-23 01:50:44,502 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-99130217:ctest-vn-39611401 virtual network link through opserver 10.0.0.141 2025-10-23 01:50:44,502 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-10-23 01:50:44,510 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-99130217:ctest-vn-39611401', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-99130217:ctest-vn-39611401?flat'} 2025-10-23 01:50:44,510 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-99130217:ctest-vn-39611401 is found in opserver 2025-10-23 01:50:44,518 - DEBUG - Do not have enough data to verify VN in agent 2025-10-23 01:50:44,522 - DEBUG - VRF ids for VN ctest-vn-39611401: {} 2025-10-23 01:50:44,571 - DEBUG - Services list from nova: [, , ] 2025-10-23 01:50:45,527 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4446-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4446-1) 2025-10-23 01:50:46,578 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4446-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4446-1) 2025-10-23 01:50:46,578 - INFO - Waiting for VM ctest-TestBasicPolicy-99130217-33537708 to be up.. 2025-10-23 01:50:46,650 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-23 01:50:51,716 - DEBUG - VM is in ACTIVE state now 2025-10-23 01:50:51,716 - INFO - VM name : ctest-TestBasicPolicy-99130217-33537708 2025-10-23 01:50:51,778 - DEBUG - VM ctest-TestBasicPolicy-99130217-33537708 ID is 9e41fbbc-23df-48be-9ac8-4bb58eb17cf9 2025-10-23 01:50:51,795 - DEBUG - VM ctest-TestBasicPolicy-99130217-33537708 launched on Node cn-jenkins-deploy-platform-ansible-os-4446-1 2025-10-23 01:50:51,860 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/9e41fbbc-23df-48be-9ac8-4bb58eb17cf9 2025-10-23 01:50:51,867 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/9d65884f-b3f2-4e7b-b0b5-9ba1c1bb44b2 2025-10-23 01:50:55,108 - 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 1016ms') 2025-10-23 01:50:55,108 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-99130217-33537708 failed! 2025-10-23 01:50:55,164 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-99130217:ctest-vn-43973445 is 150.39.62.193 and allocation pool is NOT set 2025-10-23 01:50:57,225 - 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=2.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.433 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.433/1.568/2.704/1.135 ms') 2025-10-23 01:50:57,225 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-99130217-33537708 passed 2025-10-23 01:50:57,372 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 01:50:57,373 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-99130217-33537708, IP 150.39.62.195, Port 22 2025-10-23 01:50:57,524 - DEBUG - VM ctest-TestBasicPolicy-99130217-33537708 is ready for SSH connections 2025-10-23 01:50:57,524 - INFO - Waiting for VM ctest-TestBasicPolicy-99130217-26340251 to be up.. 2025-10-23 01:50:57,589 - DEBUG - VM is in ACTIVE state now 2025-10-23 01:50:57,590 - INFO - VM name : ctest-TestBasicPolicy-99130217-26340251 2025-10-23 01:50:57,655 - DEBUG - VM ctest-TestBasicPolicy-99130217-26340251 ID is c87b2bcf-99a8-4dc8-a3d7-03a20c164663 2025-10-23 01:50:57,655 - DEBUG - VM ctest-TestBasicPolicy-99130217-26340251 launched on Node cn-jenkins-deploy-platform-ansible-os-4446-1 2025-10-23 01:50:57,715 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/c87b2bcf-99a8-4dc8-a3d7-03a20c164663 2025-10-23 01:50:57,722 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/b67838dd-ecec-4ad3-9e09-65bf62b76a23 2025-10-23 01:50:58,957 - 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.61 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.414 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.414/1.511/2.608/1.097 ms') 2025-10-23 01:50:58,957 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-99130217-26340251 passed 2025-10-23 01:50:59,104 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 01:50:59,105 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-99130217-26340251, IP 75.46.237.131, Port 22 2025-10-23 01:50:59,256 - DEBUG - VM ctest-TestBasicPolicy-99130217-26340251 is ready for SSH connections 2025-10-23 01:50:59,256 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 01:50:59,256 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 75.46.237.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-23 01:50:59,256 - DEBUG - ping -s 56 -c 3 -W 1 75.46.237.131 2025-10-23 01:51:02,974 - DEBUG - PING 75.46.237.131 (75.46.237.131): 56 data bytes 64 bytes from 75.46.237.131: seq=0 ttl=63 time=3.026 ms 64 bytes from 75.46.237.131: seq=1 ttl=63 time=0.826 ms 64 bytes from 75.46.237.131: seq=2 ttl=63 time=0.707 ms --- 75.46.237.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.707/1.519/3.026 ms 2025-10-23 01:51:02,974 - INFO - Ping to IP 75.46.237.131 from VM ctest-TestBasicPolicy-99130217-33537708 passed 2025-10-23 01:51:03,148 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a3c6dec2-c3c6-4cb4-a2a2-28db53043dcd", "href": "http://10.0.0.141:8082/network-policy/a3c6dec2-c3c6-4cb4-a2a2-28db53043dcd"}} 2025-10-23 01:51:03,148 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 01:51:03,148 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 75.46.237.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-23 01:51:03,149 - DEBUG - ping -s 56 -c 3 -W 1 75.46.237.131 2025-10-23 01:51:06,341 - DEBUG - PING 75.46.237.131 (75.46.237.131): 56 data bytes 64 bytes from 75.46.237.131: seq=0 ttl=63 time=1.312 ms --- 75.46.237.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.312/1.312/1.312 ms 2025-10-23 01:51:06,341 - WARNING - Ping to IP 75.46.237.131 from VM ctest-TestBasicPolicy-99130217-33537708 failed 2025-10-23 01:51:06,341 - INFO - Deleting VM ctest-TestBasicPolicy-99130217-26340251 2025-10-23 01:51:06,404 - INFO - Deleting VM ctest-TestBasicPolicy-99130217-33537708 2025-10-23 01:51:06,871 - INFO - Deleted policy ctest-policy-allow-all-09255318 2025-10-23 01:51:06,871 - INFO - Deleting VN ctest-vn-39611401 2025-10-23 01:51:06,921 - DEBUG - VN f172274e-5ff9-4d97-92c6-03eb2b0cbb2e still in use: Unable to complete operation on network f172274e-5ff9-4d97-92c6-03eb2b0cbb2e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-511ec570-9c1d-4505-9b70-b20456691717'] 2025-10-23 01:51:06,921 - WARNING - Deleting VN ctest-vn-39611401 failed..Will retry 2025-10-23 01:51:09,016 - DEBUG - Response for deleting network () 2025-10-23 01:51:09,016 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/b0fa4837-501b-4eff-af27-e5082e135c8d 2025-10-23 01:51:09,025 - DEBUG - Response Code: 404 2025-10-23 01:51:09,025 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-10-23 01:51:09,029 - DEBUG - Requesting: http://10.0.0.141:8082/domain/013499b7-13b8-4472-821f-4c26323ffecb 2025-10-23 01:51:09,082 - DEBUG - Requesting: http://10.0.0.141:8082/project/1cb4a5ed-a8bb-47f0-94d7-f27613a2cd32 2025-10-23 01:51:09,145 - INFO - Validated that VN ctest-vn-39611401 is not found in API Server 2025-10-23 01:51:09,153 - DEBUG - VN ctest-vn-39611401 is not present in Agent 10.0.0.141 2025-10-23 01:51:09,153 - INFO - Validated that VN ctest-vn-39611401 is not in any agent 2025-10-23 01:51:09,164 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-39611401 info 2025-10-23 01:51:09,164 - INFO - Deleting VN ctest-vn-43973445 2025-10-23 01:51:09,242 - DEBUG - Response for deleting network () 2025-10-23 01:51:09,242 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/dc5f2e1c-e97e-4cfd-af28-0204406a64a6 2025-10-23 01:51:09,248 - DEBUG - Response Code: 404 2025-10-23 01:51:09,250 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-10-23 01:51:09,255 - DEBUG - Requesting: http://10.0.0.141:8082/domain/013499b7-13b8-4472-821f-4c26323ffecb 2025-10-23 01:51:09,305 - DEBUG - Requesting: http://10.0.0.141:8082/project/1cb4a5ed-a8bb-47f0-94d7-f27613a2cd32 2025-10-23 01:51:09,388 - INFO - Validated that VN ctest-vn-43973445 is not found in API Server 2025-10-23 01:51:09,396 - DEBUG - VN ctest-vn-43973445 is not present in Agent 10.0.0.141 2025-10-23 01:51:09,396 - INFO - Validated that VN ctest-vn-43973445 is not in any agent 2025-10-23 01:51:09,408 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-43973445 info 2025-10-23 01:51:09,664 - DEBUG - No XMPP flaps were noticed during the test
2025-10-23 01:51:09,665 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-10-23 01:51:09,665 - INFO - -------------------------------------------------------------------------------- 2025-10-23 01:51:10,293 - INFO - Deleted project: ctest-TestBasicPolicy-99130217, ID : 1cb4a5ed-a8bb-47f0-94d7-f27613a2cd32