2026-04-06 02:14:38,053 - INFO - Domain Default found not creating 2026-04-06 02:14:38,252 - INFO - Project ctest-TestBasicPolicy-87073669 not found, creating it 2026-04-06 02:14:38,751 - INFO - Created Project:ctest-TestBasicPolicy-87073669, ID : 946e29e8-5882-4f0d-98ff-5ea5020b432b 2026-04-06 02:14:40,329 - INFO - ================================================================================ 2026-04-06 02:14:40,329 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-06 02:14:40,329 - 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 2026-04-06 02:14:40,583 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.25': '0'}} with 2026-04-06 02:14:40,583 - INFO - Initial checks done. Running the testcase now 2026-04-06 02:14:40,583 - INFO - 2026-04-06 02:14:41,149 - DEBUG - Response for create_network : {'network': {'id': '1f55b6d6-d7ae-4165-a986-45c168412e8c', 'name': 'ctest-vn-85689785', 'tenant_id': '946e29e858824f0d98ff5ea5020b432b', 'project_id': '946e29e858824f0d98ff5ea5020b432b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87073669', 'ctest-vn-85689785'], 'port_security_enabled': True, 'description': ''}} 2026-04-06 02:14:41,305 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ec76ac0f-c710-4ce7-964f-5448022efc0d', 'name': '', 'tenant_id': '946e29e858824f0d98ff5ea5020b432b', 'network_id': '1f55b6d6-d7ae-4165-a986-45c168412e8c', 'ip_version': 4, 'cidr': '177.98.196.128/26', 'allocation_pools': [{'start': '177.98.196.130', 'end': '177.98.196.190'}], 'gateway_ip': '177.98.196.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.98.196.130', 'tags': [], 'project_id': '946e29e858824f0d98ff5ea5020b432b'}} 2026-04-06 02:14:41,323 - INFO - Created VN ctest-vn-85689785 2026-04-06 02:14:41,374 - DEBUG - VN ctest-vn-85689785 UUID is 1f55b6d6-d7ae-4165-a986-45c168412e8c 2026-04-06 02:14:41,670 - DEBUG - Response for create_network : {'network': {'id': 'ac54d15e-8b6f-4ddd-8e2a-91376af5d266', 'name': 'ctest-vn-06878924', 'tenant_id': '946e29e858824f0d98ff5ea5020b432b', 'project_id': '946e29e858824f0d98ff5ea5020b432b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87073669', 'ctest-vn-06878924'], 'port_security_enabled': True, 'description': ''}} 2026-04-06 02:14:41,891 - DEBUG - Response for create_subnet : {'subnet': {'id': '3b19b873-ecb4-4b88-b42c-ec3b2e25a9f5', 'name': '', 'tenant_id': '946e29e858824f0d98ff5ea5020b432b', 'network_id': 'ac54d15e-8b6f-4ddd-8e2a-91376af5d266', 'ip_version': 4, 'cidr': '175.18.25.64/26', 'allocation_pools': [{'start': '175.18.25.66', 'end': '175.18.25.126'}], 'gateway_ip': '175.18.25.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.18.25.66', 'tags': [], 'project_id': '946e29e858824f0d98ff5ea5020b432b'}} 2026-04-06 02:14:41,908 - INFO - Created VN ctest-vn-06878924 2026-04-06 02:14:41,958 - DEBUG - VN ctest-vn-06878924 UUID is ac54d15e-8b6f-4ddd-8e2a-91376af5d266 2026-04-06 02:14:42,110 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-87073669:ctest-vn-85689785, 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-87073669:ctest-vn-06878924, 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] 2026-04-06 02:14:42,413 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1f55b6d6-d7ae-4165-a986-45c168412e8c', 'name': 'ctest-vn-85689785', 'tenant_id': '946e29e858824f0d98ff5ea5020b432b', 'project_id': '946e29e858824f0d98ff5ea5020b432b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ec76ac0f-c710-4ce7-964f-5448022efc0d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87073669', 'ctest-vn-85689785'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-87073669', 'ctest-policy-allow-all-80382492']], 'subnet_ipam': [{'subnet_cidr': '177.98.196.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-06 02:14:42,682 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ac54d15e-8b6f-4ddd-8e2a-91376af5d266', 'name': 'ctest-vn-06878924', 'tenant_id': '946e29e858824f0d98ff5ea5020b432b', 'project_id': '946e29e858824f0d98ff5ea5020b432b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3b19b873-ecb4-4b88-b42c-ec3b2e25a9f5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87073669', 'ctest-vn-06878924'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-87073669', 'ctest-policy-allow-all-80382492']], 'subnet_ipam': [{'subnet_cidr': '175.18.25.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-06 02:14:42,834 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-06 02:14:43,129 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-06 02:14:43,162 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d154584e-de37-43e7-b89e-4db1b50c982c 2026-04-06 02:14:43,175 - DEBUG - Requesting: http://10.0.0.50:8082/project/946e29e8-5882-4f0d-98ff-5ea5020b432b 2026-04-06 02:14:43,251 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/1f55b6d6-d7ae-4165-a986-45c168412e8c 2026-04-06 02:14:43,265 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/1f55b6d6-d7ae-4165-a986-45c168412e8c 2026-04-06 02:14:43,275 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/85e234a1-82a9-4db9-b437-dc30a2b8677d 2026-04-06 02:14:43,299 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/85e234a1-82a9-4db9-b437-dc30a2b8677d 2026-04-06 02:14:43,307 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/e7dd315a-182c-433b-b79c-dea93851ddcf 2026-04-06 02:14:43,320 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-06 02:14:43,320 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/1f55b6d6-d7ae-4165-a986-45c168412e8c 2026-04-06 02:14:43,332 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/85e234a1-82a9-4db9-b437-dc30a2b8677d 2026-04-06 02:14:43,352 - INFO - Verified VN network id 11 for VN 1f55b6d6-d7ae-4165-a986-45c168412e8c 2026-04-06 02:14:43,352 - INFO - Verifications in API Server for VN ctest-vn-85689785 passed 2026-04-06 02:14:43,352 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/1f55b6d6-d7ae-4165-a986-45c168412e8c 2026-04-06 02:14:43,363 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/85e234a1-82a9-4db9-b437-dc30a2b8677d 2026-04-06 02:14:43,371 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/85e234a1-82a9-4db9-b437-dc30a2b8677d 2026-04-06 02:14:43,379 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/e7dd315a-182c-433b-b79c-dea93851ddcf 2026-04-06 02:14:43,390 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-87073669:ctest-vn-85689785', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-87073669', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2257911822053949797', 'uuid-lslong': '12215527736269155980'}, 'enable': 'true', 'created': '2026-04-06T02:14:41', 'last-modified': '2026-04-06T02:14:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.002637'} 2026-04-06 02:14:43,397 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-06 02:14:43,397 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-85689785 passed 2026-04-06 02:14:43,397 - DEBUG - ====Verifying policy data for ctest-vn-85689785 in API_Server ====== 2026-04-06 02:14:43,397 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-06 02:14:43,404 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d154584e-de37-43e7-b89e-4db1b50c982c 2026-04-06 02:14:43,415 - DEBUG - Requesting: http://10.0.0.50:8082/project/946e29e8-5882-4f0d-98ff-5ea5020b432b 2026-04-06 02:14:43,485 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/1f55b6d6-d7ae-4165-a986-45c168412e8c 2026-04-06 02:14:43,493 - DEBUG - ==>Verifying data for policy with id: 2442e2f7-bb8b-4e2e-a64d-6875b6383aea, fqn: ['default-domain', 'ctest-TestBasicPolicy-87073669', 'ctest-policy-allow-all-80382492'] 2026-04-06 02:14:43,494 - INFO - VN ctest-vn-85689785 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-06 02:14:43,494 - DEBUG - Verifying the vn in opserver 2026-04-06 02:14:43,494 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-87073669:ctest-vn-85689785 virtual network link through opserver 10.0.0.50 2026-04-06 02:14:43,494 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-06 02:14:43,793 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-06 02:14:43,876 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-87073669:ctest-vn-85689785', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-87073669:ctest-vn-85689785?flat'} 2026-04-06 02:14:43,876 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-87073669:ctest-vn-85689785 is found in opserver 2026-04-06 02:14:43,885 - DEBUG - Do not have enough data to verify VN in agent 2026-04-06 02:14:43,889 - DEBUG - VRF ids for VN ctest-vn-85689785: {} 2026-04-06 02:14:43,890 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-06 02:14:43,895 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d154584e-de37-43e7-b89e-4db1b50c982c 2026-04-06 02:14:43,906 - DEBUG - Requesting: http://10.0.0.50:8082/project/946e29e8-5882-4f0d-98ff-5ea5020b432b 2026-04-06 02:14:43,975 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ac54d15e-8b6f-4ddd-8e2a-91376af5d266 2026-04-06 02:14:43,987 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ac54d15e-8b6f-4ddd-8e2a-91376af5d266 2026-04-06 02:14:43,996 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/82674e59-e0a5-4287-99e0-072f64627e65 2026-04-06 02:14:44,003 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/82674e59-e0a5-4287-99e0-072f64627e65 2026-04-06 02:14:44,009 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/8e6a20ad-6cbf-4180-b194-824489033e66 2026-04-06 02:14:44,015 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-06 02:14:44,015 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ac54d15e-8b6f-4ddd-8e2a-91376af5d266 2026-04-06 02:14:44,024 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/82674e59-e0a5-4287-99e0-072f64627e65 2026-04-06 02:14:44,037 - INFO - Verified VN network id 12 for VN ac54d15e-8b6f-4ddd-8e2a-91376af5d266 2026-04-06 02:14:44,038 - INFO - Verifications in API Server for VN ctest-vn-06878924 passed 2026-04-06 02:14:44,038 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ac54d15e-8b6f-4ddd-8e2a-91376af5d266 2026-04-06 02:14:44,046 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/82674e59-e0a5-4287-99e0-072f64627e65 2026-04-06 02:14:44,053 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/82674e59-e0a5-4287-99e0-072f64627e65 2026-04-06 02:14:44,061 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/8e6a20ad-6cbf-4180-b194-824489033e66 2026-04-06 02:14:44,072 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-87073669:ctest-vn-06878924', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-87073669', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12417780276563758557', 'uuid-lslong': '10244159969611338342'}, 'enable': 'true', 'created': '2026-04-06T02:14:41', 'last-modified': '2026-04-06T02:14:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.411504'} 2026-04-06 02:14:44,079 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-06 02:14:44,079 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-06878924 passed 2026-04-06 02:14:44,079 - DEBUG - ====Verifying policy data for ctest-vn-06878924 in API_Server ====== 2026-04-06 02:14:44,079 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-06 02:14:44,085 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d154584e-de37-43e7-b89e-4db1b50c982c 2026-04-06 02:14:44,095 - DEBUG - Requesting: http://10.0.0.50:8082/project/946e29e8-5882-4f0d-98ff-5ea5020b432b 2026-04-06 02:14:44,164 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ac54d15e-8b6f-4ddd-8e2a-91376af5d266 2026-04-06 02:14:44,172 - DEBUG - ==>Verifying data for policy with id: 2442e2f7-bb8b-4e2e-a64d-6875b6383aea, fqn: ['default-domain', 'ctest-TestBasicPolicy-87073669', 'ctest-policy-allow-all-80382492'] 2026-04-06 02:14:44,172 - INFO - VN ctest-vn-06878924 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-06 02:14:44,173 - DEBUG - Verifying the vn in opserver 2026-04-06 02:14:44,173 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-87073669:ctest-vn-06878924 virtual network link through opserver 10.0.0.50 2026-04-06 02:14:44,173 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-06 02:14:44,182 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-87073669:ctest-vn-06878924', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-87073669:ctest-vn-06878924?flat'} 2026-04-06 02:14:44,182 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-87073669:ctest-vn-06878924 is found in opserver 2026-04-06 02:14:44,191 - DEBUG - Do not have enough data to verify VN in agent 2026-04-06 02:14:44,195 - DEBUG - VRF ids for VN ctest-vn-06878924: {} 2026-04-06 02:14:44,260 - DEBUG - Services list from nova: [, , ] 2026-04-06 02:14:45,325 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5592-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5592-1) 2026-04-06 02:14:46,522 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5592-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5592-1) 2026-04-06 02:14:46,522 - INFO - Waiting for VM ctest-TestBasicPolicy-87073669-40717447 to be up.. 2026-04-06 02:14:46,621 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-06 02:14:51,699 - DEBUG - VM is in ACTIVE state now 2026-04-06 02:14:51,699 - INFO - VM name : ctest-TestBasicPolicy-87073669-40717447 2026-04-06 02:14:51,788 - DEBUG - VM ctest-TestBasicPolicy-87073669-40717447 ID is f77ff72e-e5ae-43a3-94eb-6d5abba18f23 2026-04-06 02:14:51,810 - DEBUG - VM ctest-TestBasicPolicy-87073669-40717447 launched on Node cn-jenkins-deploy-platform-ansible-os-5592-1 2026-04-06 02:14:51,891 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f77ff72e-e5ae-43a3-94eb-6d5abba18f23 2026-04-06 02:14:51,901 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/12eb6da8-8bd0-487c-b0ce-15abc5780706 2026-04-06 02:14:55,153 - 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 1018ms') 2026-04-06 02:14:55,153 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-87073669-40717447 failed! 2026-04-06 02:14:55,218 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-87073669:ctest-vn-85689785 is 177.98.196.129 and allocation pool is NOT set 2026-04-06 02:14:57,281 - 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=7.26 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.835 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.835/4.045/7.256/3.210 ms') 2026-04-06 02:14:57,281 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-87073669-40717447 passed 2026-04-06 02:14:57,434 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-06 02:14:57,434 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-87073669-40717447, IP 177.98.196.131, Port 22 2026-04-06 02:14:57,590 - DEBUG - VM ctest-TestBasicPolicy-87073669-40717447 is ready for SSH connections 2026-04-06 02:14:57,590 - INFO - Waiting for VM ctest-TestBasicPolicy-87073669-63711688 to be up.. 2026-04-06 02:14:57,674 - DEBUG - VM is in ACTIVE state now 2026-04-06 02:14:57,674 - INFO - VM name : ctest-TestBasicPolicy-87073669-63711688 2026-04-06 02:14:57,756 - DEBUG - VM ctest-TestBasicPolicy-87073669-63711688 ID is 8efae662-6eca-4efb-9acd-752d2f8c99b1 2026-04-06 02:14:57,756 - DEBUG - VM ctest-TestBasicPolicy-87073669-63711688 launched on Node cn-jenkins-deploy-platform-ansible-os-5592-1 2026-04-06 02:14:57,835 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/8efae662-6eca-4efb-9acd-752d2f8c99b1 2026-04-06 02:14:57,844 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f2f964df-a3ea-4ccf-918e-67523503e151 2026-04-06 02:14:59,087 - 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=4.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.04 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 = 2.037/3.078/4.120/1.041 ms') 2026-04-06 02:14:59,087 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-87073669-63711688 passed 2026-04-06 02:14:59,238 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-06 02:14:59,238 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-87073669-63711688, IP 175.18.25.67, Port 22 2026-04-06 02:14:59,293 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-04-06 02:14:59,377 - DEBUG - VM ctest-TestBasicPolicy-87073669-63711688 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-06 02:15:04,377 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-06 02:15:04,378 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-87073669-63711688, IP 175.18.25.67, Port 22 2026-04-06 02:15:04,533 - DEBUG - VM ctest-TestBasicPolicy-87073669-63711688 is ready for SSH connections 2026-04-06 02:15:04,533 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-06 02:15:04,533 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 175.18.25.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-06 02:15:04,533 - DEBUG - ping -s 56 -c 3 -W 1 175.18.25.67 2026-04-06 02:15:08,594 - DEBUG - PING 175.18.25.67 (175.18.25.67): 56 data bytes 64 bytes from 175.18.25.67: seq=0 ttl=63 time=4.877 ms 64 bytes from 175.18.25.67: seq=1 ttl=63 time=1.279 ms 64 bytes from 175.18.25.67: seq=2 ttl=63 time=1.211 ms --- 175.18.25.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.211/2.455/4.877 ms 2026-04-06 02:15:08,594 - INFO - Ping to IP 175.18.25.67 from VM ctest-TestBasicPolicy-87073669-40717447 passed 2026-04-06 02:15:08,774 - DEBUG - Policy Update Response {"network-policy": {"uuid": "2442e2f7-bb8b-4e2e-a64d-6875b6383aea", "href": "http://10.0.0.50:8082/network-policy/2442e2f7-bb8b-4e2e-a64d-6875b6383aea"}} 2026-04-06 02:15:08,774 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-06 02:15:08,774 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 175.18.25.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-06 02:15:08,774 - DEBUG - ping -s 56 -c 3 -W 1 175.18.25.67 2026-04-06 02:15:11,992 - DEBUG - PING 175.18.25.67 (175.18.25.67): 56 data bytes --- 175.18.25.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-06 02:15:11,992 - WARNING - Ping to IP 175.18.25.67 from VM ctest-TestBasicPolicy-87073669-40717447 failed 2026-04-06 02:15:11,992 - INFO - Deleting VM ctest-TestBasicPolicy-87073669-63711688 2026-04-06 02:15:12,072 - INFO - Deleting VM ctest-TestBasicPolicy-87073669-40717447 2026-04-06 02:15:12,456 - INFO - Deleted policy ctest-policy-allow-all-80382492 2026-04-06 02:15:12,456 - INFO - Deleting VN ctest-vn-06878924 2026-04-06 02:15:12,504 - DEBUG - VN ac54d15e-8b6f-4ddd-8e2a-91376af5d266 still in use: Unable to complete operation on network ac54d15e-8b6f-4ddd-8e2a-91376af5d266. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1b9c259e-cf6f-4203-b9e2-73bf233fa364'] 2026-04-06 02:15:12,504 - WARNING - Deleting VN ctest-vn-06878924 failed..Will retry 2026-04-06 02:15:14,621 - DEBUG - Response for deleting network () 2026-04-06 02:15:14,621 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/82674e59-e0a5-4287-99e0-072f64627e65 2026-04-06 02:15:14,627 - DEBUG - Response Code: 404 2026-04-06 02:15:14,627 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-06 02:15:14,633 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d154584e-de37-43e7-b89e-4db1b50c982c 2026-04-06 02:15:14,687 - DEBUG - Requesting: http://10.0.0.50:8082/project/946e29e8-5882-4f0d-98ff-5ea5020b432b 2026-04-06 02:15:14,763 - INFO - Validated that VN ctest-vn-06878924 is not found in API Server 2026-04-06 02:15:14,773 - DEBUG - VN ctest-vn-06878924 is not present in Agent 10.0.0.50 2026-04-06 02:15:14,773 - INFO - Validated that VN ctest-vn-06878924 is not in any agent 2026-04-06 02:15:14,785 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-06878924 info 2026-04-06 02:15:14,785 - INFO - Deleting VN ctest-vn-85689785 2026-04-06 02:15:14,887 - DEBUG - Response for deleting network () 2026-04-06 02:15:14,887 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/85e234a1-82a9-4db9-b437-dc30a2b8677d 2026-04-06 02:15:14,892 - DEBUG - Response Code: 404 2026-04-06 02:15:14,892 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-06 02:15:14,898 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d154584e-de37-43e7-b89e-4db1b50c982c 2026-04-06 02:15:14,951 - DEBUG - Requesting: http://10.0.0.50:8082/project/946e29e8-5882-4f0d-98ff-5ea5020b432b 2026-04-06 02:15:15,027 - INFO - Validated that VN ctest-vn-85689785 is not found in API Server 2026-04-06 02:15:15,036 - DEBUG - VN ctest-vn-85689785 is not present in Agent 10.0.0.50 2026-04-06 02:15:15,036 - INFO - Validated that VN ctest-vn-85689785 is not in any agent 2026-04-06 02:15:15,051 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-85689785 info 2026-04-06 02:15:15,304 - DEBUG - No XMPP flaps were noticed during the test
2026-04-06 02:15:15,304 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2026-04-06 02:15:15,304 - INFO - -------------------------------------------------------------------------------- 2026-04-06 02:15:16,031 - INFO - Deleted project: ctest-TestBasicPolicy-87073669, ID : 946e29e8-5882-4f0d-98ff-5ea5020b432b