2025-08-15 18:50:03,385 - INFO - Domain Default found not creating 2025-08-15 18:50:03,542 - INFO - Project ctest-TestBasicPolicy-96242727 not found, creating it 2025-08-15 18:50:04,335 - INFO - Created Project:ctest-TestBasicPolicy-96242727, ID : be670a3a-41fb-4443-948b-089d2e9fd467 2025-08-15 18:50:06,025 - INFO - ================================================================================ 2025-08-15 18:50:06,025 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-15 18:50:06,025 - 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-08-15 18:50:06,283 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-08-15 18:50:06,283 - INFO - Initial checks done. Running the testcase now 2025-08-15 18:50:06,284 - INFO - 2025-08-15 18:50:06,861 - DEBUG - Response for create_network : {'network': {'id': '7eb36bc6-9551-413e-85c3-a0d905772591', 'name': 'ctest-vn-68343343', 'tenant_id': 'be670a3a41fb4443948b089d2e9fd467', 'project_id': 'be670a3a41fb4443948b089d2e9fd467', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96242727', 'ctest-vn-68343343'], 'port_security_enabled': True, 'description': ''}} 2025-08-15 18:50:07,090 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b6fa1a5a-c644-4bfd-b9e6-447583aea9d0', 'name': '', 'tenant_id': 'be670a3a41fb4443948b089d2e9fd467', 'network_id': '7eb36bc6-9551-413e-85c3-a0d905772591', 'ip_version': 4, 'cidr': '28.224.17.192/26', 'allocation_pools': [{'start': '28.224.17.194', 'end': '28.224.17.254'}], 'gateway_ip': '28.224.17.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '28.224.17.194', 'tags': [], 'project_id': 'be670a3a41fb4443948b089d2e9fd467'}} 2025-08-15 18:50:07,109 - INFO - Created VN ctest-vn-68343343 2025-08-15 18:50:07,160 - DEBUG - VN ctest-vn-68343343 UUID is 7eb36bc6-9551-413e-85c3-a0d905772591 2025-08-15 18:50:07,486 - DEBUG - Response for create_network : {'network': {'id': '2262d316-87f9-4125-83ee-fdbcbc40519b', 'name': 'ctest-vn-23916822', 'tenant_id': 'be670a3a41fb4443948b089d2e9fd467', 'project_id': 'be670a3a41fb4443948b089d2e9fd467', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96242727', 'ctest-vn-23916822'], 'port_security_enabled': True, 'description': ''}} 2025-08-15 18:50:07,671 - DEBUG - Response for create_subnet : {'subnet': {'id': '48d98ade-eaa4-46e8-b7d8-4fedad858697', 'name': '', 'tenant_id': 'be670a3a41fb4443948b089d2e9fd467', 'network_id': '2262d316-87f9-4125-83ee-fdbcbc40519b', 'ip_version': 4, 'cidr': '146.50.156.192/26', 'allocation_pools': [{'start': '146.50.156.194', 'end': '146.50.156.254'}], 'gateway_ip': '146.50.156.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.50.156.194', 'tags': [], 'project_id': 'be670a3a41fb4443948b089d2e9fd467'}} 2025-08-15 18:50:07,689 - INFO - Created VN ctest-vn-23916822 2025-08-15 18:50:07,740 - DEBUG - VN ctest-vn-23916822 UUID is 2262d316-87f9-4125-83ee-fdbcbc40519b 2025-08-15 18:50:07,856 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-96242727:ctest-vn-68343343, 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-96242727:ctest-vn-23916822, 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-08-15 18:50:08,164 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7eb36bc6-9551-413e-85c3-a0d905772591', 'name': 'ctest-vn-68343343', 'tenant_id': 'be670a3a41fb4443948b089d2e9fd467', 'project_id': 'be670a3a41fb4443948b089d2e9fd467', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b6fa1a5a-c644-4bfd-b9e6-447583aea9d0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96242727', 'ctest-vn-68343343'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96242727', 'ctest-policy-allow-all-53082104']], 'subnet_ipam': [{'subnet_cidr': '28.224.17.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-15 18:50:08,452 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2262d316-87f9-4125-83ee-fdbcbc40519b', 'name': 'ctest-vn-23916822', 'tenant_id': 'be670a3a41fb4443948b089d2e9fd467', 'project_id': 'be670a3a41fb4443948b089d2e9fd467', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['48d98ade-eaa4-46e8-b7d8-4fedad858697'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96242727', 'ctest-vn-23916822'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96242727', 'ctest-policy-allow-all-53082104']], 'subnet_ipam': [{'subnet_cidr': '146.50.156.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-15 18:50:08,608 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-15 18:50:08,953 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-15 18:50:08,982 - DEBUG - Requesting: http://10.0.0.254:8082/domain/ca9b6dff-67aa-4683-a989-40dabf59d627 2025-08-15 18:50:08,996 - DEBUG - Requesting: http://10.0.0.254:8082/project/be670a3a-41fb-4443-948b-089d2e9fd467 2025-08-15 18:50:09,078 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/7eb36bc6-9551-413e-85c3-a0d905772591 2025-08-15 18:50:09,092 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/7eb36bc6-9551-413e-85c3-a0d905772591 2025-08-15 18:50:09,104 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3c635cb4-4e1b-43fe-a443-554323224695 2025-08-15 18:50:09,112 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3c635cb4-4e1b-43fe-a443-554323224695 2025-08-15 18:50:09,126 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/ad446e7c-96d9-4dcb-982b-34811303212e 2025-08-15 18:50:09,133 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-15 18:50:09,133 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/7eb36bc6-9551-413e-85c3-a0d905772591 2025-08-15 18:50:09,144 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3c635cb4-4e1b-43fe-a443-554323224695 2025-08-15 18:50:09,159 - INFO - Verified VN network id 10 for VN 7eb36bc6-9551-413e-85c3-a0d905772591 2025-08-15 18:50:09,159 - INFO - Verifications in API Server for VN ctest-vn-68343343 passed 2025-08-15 18:50:09,159 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/7eb36bc6-9551-413e-85c3-a0d905772591 2025-08-15 18:50:09,171 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3c635cb4-4e1b-43fe-a443-554323224695 2025-08-15 18:50:09,179 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3c635cb4-4e1b-43fe-a443-554323224695 2025-08-15 18:50:09,190 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/ad446e7c-96d9-4dcb-982b-34811303212e 2025-08-15 18:50:09,206 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96242727:ctest-vn-68343343', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96242727', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9129759370262954302', 'uuid-lslong': '9638724481463035281'}, 'enable': 'true', 'created': '2025-08-15T18:50:06', 'last-modified': '2025-08-15T18:50:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.070493'} 2025-08-15 18:50:09,218 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-15 18:50:09,218 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68343343 passed 2025-08-15 18:50:09,218 - DEBUG - ====Verifying policy data for ctest-vn-68343343 in API_Server ====== 2025-08-15 18:50:09,218 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-15 18:50:09,224 - DEBUG - Requesting: http://10.0.0.254:8082/domain/ca9b6dff-67aa-4683-a989-40dabf59d627 2025-08-15 18:50:09,235 - DEBUG - Requesting: http://10.0.0.254:8082/project/be670a3a-41fb-4443-948b-089d2e9fd467 2025-08-15 18:50:09,318 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/7eb36bc6-9551-413e-85c3-a0d905772591 2025-08-15 18:50:09,331 - DEBUG - ==>Verifying data for policy with id: b36c5298-83ea-48d2-a0b6-92d5727dbbb0, fqn: ['default-domain', 'ctest-TestBasicPolicy-96242727', 'ctest-policy-allow-all-53082104'] 2025-08-15 18:50:09,331 - INFO - VN ctest-vn-68343343 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-15 18:50:09,331 - DEBUG - Verifying the vn in opserver 2025-08-15 18:50:09,331 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96242727:ctest-vn-68343343 virtual network link through opserver 10.0.0.254 2025-08-15 18:50:09,332 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-15 18:50:09,664 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-15 18:50:09,723 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96242727:ctest-vn-68343343', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96242727:ctest-vn-68343343?flat'} 2025-08-15 18:50:09,723 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96242727:ctest-vn-68343343 is found in opserver 2025-08-15 18:50:09,737 - DEBUG - Do not have enough data to verify VN in agent 2025-08-15 18:50:09,743 - DEBUG - VRF ids for VN ctest-vn-68343343: {} 2025-08-15 18:50:09,743 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-15 18:50:09,750 - DEBUG - Requesting: http://10.0.0.254:8082/domain/ca9b6dff-67aa-4683-a989-40dabf59d627 2025-08-15 18:50:09,762 - DEBUG - Requesting: http://10.0.0.254:8082/project/be670a3a-41fb-4443-948b-089d2e9fd467 2025-08-15 18:50:09,845 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2262d316-87f9-4125-83ee-fdbcbc40519b 2025-08-15 18:50:09,858 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2262d316-87f9-4125-83ee-fdbcbc40519b 2025-08-15 18:50:09,869 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/80d90701-215d-4224-8a2f-5854ec895240 2025-08-15 18:50:09,876 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/80d90701-215d-4224-8a2f-5854ec895240 2025-08-15 18:50:09,884 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/a61f3493-b398-4ddd-9174-996b895563d7 2025-08-15 18:50:09,891 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-15 18:50:09,891 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2262d316-87f9-4125-83ee-fdbcbc40519b 2025-08-15 18:50:09,901 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/80d90701-215d-4224-8a2f-5854ec895240 2025-08-15 18:50:09,916 - INFO - Verified VN network id 11 for VN 2262d316-87f9-4125-83ee-fdbcbc40519b 2025-08-15 18:50:09,916 - INFO - Verifications in API Server for VN ctest-vn-23916822 passed 2025-08-15 18:50:09,916 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2262d316-87f9-4125-83ee-fdbcbc40519b 2025-08-15 18:50:09,926 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/80d90701-215d-4224-8a2f-5854ec895240 2025-08-15 18:50:09,933 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/80d90701-215d-4224-8a2f-5854ec895240 2025-08-15 18:50:09,940 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/a61f3493-b398-4ddd-9174-996b895563d7 2025-08-15 18:50:09,952 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96242727:ctest-vn-23916822', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96242727', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2477774838731194661', 'uuid-lslong': '9506814850479706523'}, 'enable': 'true', 'created': '2025-08-15T18:50:07', 'last-modified': '2025-08-15T18:50:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.570383'} 2025-08-15 18:50:09,959 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-15 18:50:09,959 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-23916822 passed 2025-08-15 18:50:09,959 - DEBUG - ====Verifying policy data for ctest-vn-23916822 in API_Server ====== 2025-08-15 18:50:09,959 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-15 18:50:09,965 - DEBUG - Requesting: http://10.0.0.254:8082/domain/ca9b6dff-67aa-4683-a989-40dabf59d627 2025-08-15 18:50:09,976 - DEBUG - Requesting: http://10.0.0.254:8082/project/be670a3a-41fb-4443-948b-089d2e9fd467 2025-08-15 18:50:10,049 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2262d316-87f9-4125-83ee-fdbcbc40519b 2025-08-15 18:50:10,060 - DEBUG - ==>Verifying data for policy with id: b36c5298-83ea-48d2-a0b6-92d5727dbbb0, fqn: ['default-domain', 'ctest-TestBasicPolicy-96242727', 'ctest-policy-allow-all-53082104'] 2025-08-15 18:50:10,061 - INFO - VN ctest-vn-23916822 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-15 18:50:10,061 - DEBUG - Verifying the vn in opserver 2025-08-15 18:50:10,061 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96242727:ctest-vn-23916822 virtual network link through opserver 10.0.0.254 2025-08-15 18:50:10,061 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-15 18:50:10,072 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96242727:ctest-vn-23916822', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96242727:ctest-vn-23916822?flat'} 2025-08-15 18:50:10,072 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96242727:ctest-vn-23916822 is found in opserver 2025-08-15 18:50:10,084 - DEBUG - Do not have enough data to verify VN in agent 2025-08-15 18:50:10,089 - DEBUG - VRF ids for VN ctest-vn-23916822: {} 2025-08-15 18:50:10,153 - DEBUG - Services list from nova: [, , ] 2025-08-15 18:50:11,243 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3869-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3869-1) 2025-08-15 18:50:12,464 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3869-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3869-1) 2025-08-15 18:50:12,464 - INFO - Waiting for VM ctest-TestBasicPolicy-96242727-04398958 to be up.. 2025-08-15 18:50:12,550 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-15 18:50:17,626 - DEBUG - VM is in ACTIVE state now 2025-08-15 18:50:17,626 - INFO - VM name : ctest-TestBasicPolicy-96242727-04398958 2025-08-15 18:50:17,702 - DEBUG - VM ctest-TestBasicPolicy-96242727-04398958 ID is 2cba738a-c267-4a08-8704-8701a5a7d0f8 2025-08-15 18:50:17,721 - DEBUG - VM ctest-TestBasicPolicy-96242727-04398958 launched on Node cn-jenkins-deploy-platform-ansible-os-3869-1 2025-08-15 18:50:17,801 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/2cba738a-c267-4a08-8704-8701a5a7d0f8 2025-08-15 18:50:17,816 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/f443dde7-11ec-4fd1-8feb-a426bd17b6bd 2025-08-15 18:50:21,094 - 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 1029ms') 2025-08-15 18:50:21,094 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-96242727-04398958 failed! 2025-08-15 18:50:21,152 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-96242727:ctest-vn-68343343 is 28.224.17.193 and allocation pool is NOT set 2025-08-15 18:50:23,212 - 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=9.89 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.931 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.931/5.408/9.885/4.477 ms') 2025-08-15 18:50:23,212 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-96242727-04398958 passed 2025-08-15 18:50:23,368 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 18:50:23,368 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-96242727-04398958, IP 28.224.17.195, Port 22 2025-08-15 18:50:23,535 - DEBUG - VM ctest-TestBasicPolicy-96242727-04398958 is ready for SSH connections 2025-08-15 18:50:23,535 - INFO - Waiting for VM ctest-TestBasicPolicy-96242727-99532217 to be up.. 2025-08-15 18:50:23,620 - DEBUG - VM is in ACTIVE state now 2025-08-15 18:50:23,620 - INFO - VM name : ctest-TestBasicPolicy-96242727-99532217 2025-08-15 18:50:23,694 - DEBUG - VM ctest-TestBasicPolicy-96242727-99532217 ID is 272ffdf1-55b8-4139-8abe-9fe3ea63b425 2025-08-15 18:50:23,694 - DEBUG - VM ctest-TestBasicPolicy-96242727-99532217 launched on Node cn-jenkins-deploy-platform-ansible-os-3869-1 2025-08-15 18:50:23,770 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/272ffdf1-55b8-4139-8abe-9fe3ea63b425 2025-08-15 18:50:23,780 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c84efd31-7fd5-428a-beeb-76f81de4489c 2025-08-15 18:50:25,023 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=5.33 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.783 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.783/3.054/5.325/2.271 ms') 2025-08-15 18:50:25,024 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-96242727-99532217 passed 2025-08-15 18:50:25,180 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 18:50:25,180 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-96242727-99532217, IP 146.50.156.195, Port 22 2025-08-15 18:50:25,350 - DEBUG - VM ctest-TestBasicPolicy-96242727-99532217 is ready for SSH connections 2025-08-15 18:50:25,350 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 18:50:25,351 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 146.50.156.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-15 18:50:25,351 - DEBUG - ping -s 56 -c 3 -W 1 146.50.156.195 2025-08-15 18:50:29,386 - DEBUG - PING 146.50.156.195 (146.50.156.195): 56 data bytes 64 bytes from 146.50.156.195: seq=0 ttl=63 time=3.812 ms 64 bytes from 146.50.156.195: seq=1 ttl=63 time=0.846 ms 64 bytes from 146.50.156.195: seq=2 ttl=63 time=0.965 ms --- 146.50.156.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.846/1.874/3.812 ms 2025-08-15 18:50:29,386 - INFO - Ping to IP 146.50.156.195 from VM ctest-TestBasicPolicy-96242727-04398958 passed 2025-08-15 18:50:29,572 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b36c5298-83ea-48d2-a0b6-92d5727dbbb0", "href": "http://10.0.0.254:8082/network-policy/b36c5298-83ea-48d2-a0b6-92d5727dbbb0"}} 2025-08-15 18:50:29,572 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 18:50:29,572 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 146.50.156.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-15 18:50:29,572 - DEBUG - ping -s 56 -c 3 -W 1 146.50.156.195 2025-08-15 18:50:32,806 - DEBUG - PING 146.50.156.195 (146.50.156.195): 56 data bytes --- 146.50.156.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-15 18:50:32,806 - WARNING - Ping to IP 146.50.156.195 from VM ctest-TestBasicPolicy-96242727-04398958 failed 2025-08-15 18:50:32,806 - INFO - Deleting VM ctest-TestBasicPolicy-96242727-99532217 2025-08-15 18:50:32,872 - INFO - Deleting VM ctest-TestBasicPolicy-96242727-04398958 2025-08-15 18:50:33,262 - INFO - Deleted policy ctest-policy-allow-all-53082104 2025-08-15 18:50:33,263 - INFO - Deleting VN ctest-vn-23916822 2025-08-15 18:50:33,304 - DEBUG - VN 2262d316-87f9-4125-83ee-fdbcbc40519b still in use: Unable to complete operation on network 2262d316-87f9-4125-83ee-fdbcbc40519b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0755b6be-1626-4152-824a-6f13a0d1390d'] 2025-08-15 18:50:33,304 - WARNING - Deleting VN ctest-vn-23916822 failed..Will retry 2025-08-15 18:50:35,404 - DEBUG - Response for deleting network () 2025-08-15 18:50:35,405 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/80d90701-215d-4224-8a2f-5854ec895240 2025-08-15 18:50:35,412 - DEBUG - Response Code: 404 2025-08-15 18:50:35,412 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-15 18:50:35,418 - DEBUG - Requesting: http://10.0.0.254:8082/domain/ca9b6dff-67aa-4683-a989-40dabf59d627 2025-08-15 18:50:35,478 - DEBUG - Requesting: http://10.0.0.254:8082/project/be670a3a-41fb-4443-948b-089d2e9fd467 2025-08-15 18:50:35,553 - INFO - Validated that VN ctest-vn-23916822 is not found in API Server 2025-08-15 18:50:35,565 - DEBUG - VN ctest-vn-23916822 is not present in Agent 10.0.0.254 2025-08-15 18:50:35,565 - INFO - Validated that VN ctest-vn-23916822 is not in any agent 2025-08-15 18:50:35,582 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-23916822 info 2025-08-15 18:50:35,582 - INFO - Deleting VN ctest-vn-68343343 2025-08-15 18:50:35,678 - DEBUG - Response for deleting network () 2025-08-15 18:50:35,679 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3c635cb4-4e1b-43fe-a443-554323224695 2025-08-15 18:50:35,689 - DEBUG - Response Code: 404 2025-08-15 18:50:35,690 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-15 18:50:35,695 - DEBUG - Requesting: http://10.0.0.254:8082/domain/ca9b6dff-67aa-4683-a989-40dabf59d627 2025-08-15 18:50:35,750 - DEBUG - Requesting: http://10.0.0.254:8082/project/be670a3a-41fb-4443-948b-089d2e9fd467 2025-08-15 18:50:35,831 - INFO - Validated that VN ctest-vn-68343343 is not found in API Server 2025-08-15 18:50:35,846 - DEBUG - VN ctest-vn-68343343 is not present in Agent 10.0.0.254 2025-08-15 18:50:35,846 - INFO - Validated that VN ctest-vn-68343343 is not in any agent 2025-08-15 18:50:35,862 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-68343343 info 2025-08-15 18:50:36,121 - DEBUG - No XMPP flaps were noticed during the test
2025-08-15 18:50:36,121 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-08-15 18:50:36,121 - INFO - -------------------------------------------------------------------------------- 2025-08-15 18:50:36,826 - INFO - Deleted project: ctest-TestBasicPolicy-96242727, ID : be670a3a-41fb-4443-948b-089d2e9fd467