2025-09-29 18:17:53,355 - INFO - Domain Default found not creating 2025-09-29 18:17:53,521 - INFO - Project ctest-TestBasicPolicy-99949383 not found, creating it 2025-09-29 18:17:53,956 - INFO - Created Project:ctest-TestBasicPolicy-99949383, ID : 3e76009f-fffe-49d5-aabb-597921a68132 2025-09-29 18:17:55,497 - INFO - ================================================================================ 2025-09-29 18:17:55,497 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-29 18:17:55,497 - 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-09-29 18:17:55,761 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-29 18:17:55,761 - INFO - Initial checks done. Running the testcase now 2025-09-29 18:17:55,761 - INFO - 2025-09-29 18:17:56,349 - DEBUG - Response for create_network : {'network': {'id': '560495a5-8d8d-4dac-b937-ab73542d27b7', 'name': 'ctest-vn-39965249', 'tenant_id': '3e76009ffffe49d5aabb597921a68132', 'project_id': '3e76009ffffe49d5aabb597921a68132', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99949383', 'ctest-vn-39965249'], 'port_security_enabled': True, 'description': ''}} 2025-09-29 18:17:56,566 - DEBUG - Response for create_subnet : {'subnet': {'id': '22215dba-7eec-40ca-b1b3-86eb65fd0548', 'name': '', 'tenant_id': '3e76009ffffe49d5aabb597921a68132', 'network_id': '560495a5-8d8d-4dac-b937-ab73542d27b7', 'ip_version': 4, 'cidr': '49.164.95.128/26', 'allocation_pools': [{'start': '49.164.95.130', 'end': '49.164.95.190'}], 'gateway_ip': '49.164.95.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.164.95.130', 'tags': [], 'project_id': '3e76009ffffe49d5aabb597921a68132'}} 2025-09-29 18:17:56,584 - INFO - Created VN ctest-vn-39965249 2025-09-29 18:17:56,635 - DEBUG - VN ctest-vn-39965249 UUID is 560495a5-8d8d-4dac-b937-ab73542d27b7 2025-09-29 18:17:56,925 - DEBUG - Response for create_network : {'network': {'id': '15661703-1c4d-4394-af34-cc4b425875c8', 'name': 'ctest-vn-25891020', 'tenant_id': '3e76009ffffe49d5aabb597921a68132', 'project_id': '3e76009ffffe49d5aabb597921a68132', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99949383', 'ctest-vn-25891020'], 'port_security_enabled': True, 'description': ''}} 2025-09-29 18:17:57,100 - DEBUG - Response for create_subnet : {'subnet': {'id': '8882798d-2af3-401b-ba96-307203f829e2', 'name': '', 'tenant_id': '3e76009ffffe49d5aabb597921a68132', 'network_id': '15661703-1c4d-4394-af34-cc4b425875c8', 'ip_version': 4, 'cidr': '200.24.133.64/26', 'allocation_pools': [{'start': '200.24.133.66', 'end': '200.24.133.126'}], 'gateway_ip': '200.24.133.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '200.24.133.66', 'tags': [], 'project_id': '3e76009ffffe49d5aabb597921a68132'}} 2025-09-29 18:17:57,117 - INFO - Created VN ctest-vn-25891020 2025-09-29 18:17:57,171 - DEBUG - VN ctest-vn-25891020 UUID is 15661703-1c4d-4394-af34-cc4b425875c8 2025-09-29 18:17:57,296 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-99949383:ctest-vn-39965249, 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-99949383:ctest-vn-25891020, 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-09-29 18:17:57,605 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '560495a5-8d8d-4dac-b937-ab73542d27b7', 'name': 'ctest-vn-39965249', 'tenant_id': '3e76009ffffe49d5aabb597921a68132', 'project_id': '3e76009ffffe49d5aabb597921a68132', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['22215dba-7eec-40ca-b1b3-86eb65fd0548'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99949383', 'ctest-vn-39965249'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-99949383', 'ctest-policy-allow-all-18172998']], 'subnet_ipam': [{'subnet_cidr': '49.164.95.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-29 18:17:57,883 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '15661703-1c4d-4394-af34-cc4b425875c8', 'name': 'ctest-vn-25891020', 'tenant_id': '3e76009ffffe49d5aabb597921a68132', 'project_id': '3e76009ffffe49d5aabb597921a68132', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8882798d-2af3-401b-ba96-307203f829e2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99949383', 'ctest-vn-25891020'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-99949383', 'ctest-policy-allow-all-18172998']], 'subnet_ipam': [{'subnet_cidr': '200.24.133.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-29 18:17:58,043 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-29 18:17:58,382 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-29 18:17:58,410 - DEBUG - Requesting: http://10.0.0.254:8082/domain/4eabe18d-f748-4c6b-8e13-0b4e12d854cd 2025-09-29 18:17:58,423 - DEBUG - Requesting: http://10.0.0.254:8082/project/3e76009f-fffe-49d5-aabb-597921a68132 2025-09-29 18:17:58,497 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/560495a5-8d8d-4dac-b937-ab73542d27b7 2025-09-29 18:17:58,508 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/560495a5-8d8d-4dac-b937-ab73542d27b7 2025-09-29 18:17:58,517 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/83aa4bdf-7a21-4c0f-8298-e6a5e69beabd 2025-09-29 18:17:58,523 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/83aa4bdf-7a21-4c0f-8298-e6a5e69beabd 2025-09-29 18:17:58,529 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/e1b8e6f0-fb75-47fa-b264-c6195b89a430 2025-09-29 18:17:58,535 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-29 18:17:58,535 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/560495a5-8d8d-4dac-b937-ab73542d27b7 2025-09-29 18:17:58,543 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/83aa4bdf-7a21-4c0f-8298-e6a5e69beabd 2025-09-29 18:17:58,556 - INFO - Verified VN network id 11 for VN 560495a5-8d8d-4dac-b937-ab73542d27b7 2025-09-29 18:17:58,556 - INFO - Verifications in API Server for VN ctest-vn-39965249 passed 2025-09-29 18:17:58,556 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/560495a5-8d8d-4dac-b937-ab73542d27b7 2025-09-29 18:17:58,565 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/83aa4bdf-7a21-4c0f-8298-e6a5e69beabd 2025-09-29 18:17:58,571 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/83aa4bdf-7a21-4c0f-8298-e6a5e69beabd 2025-09-29 18:17:58,577 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/e1b8e6f0-fb75-47fa-b264-c6195b89a430 2025-09-29 18:17:58,589 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-99949383:ctest-vn-39965249', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-99949383', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6198243525445635500', 'uuid-lslong': '13346324532557588407'}, 'enable': 'true', 'created': '2025-09-29T18:17:56', 'last-modified': '2025-09-29T18:17:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.003491'} 2025-09-29 18:17:58,595 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-29 18:17:58,595 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39965249 passed 2025-09-29 18:17:58,595 - DEBUG - ====Verifying policy data for ctest-vn-39965249 in API_Server ====== 2025-09-29 18:17:58,596 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-29 18:17:58,600 - DEBUG - Requesting: http://10.0.0.254:8082/domain/4eabe18d-f748-4c6b-8e13-0b4e12d854cd 2025-09-29 18:17:58,611 - DEBUG - Requesting: http://10.0.0.254:8082/project/3e76009f-fffe-49d5-aabb-597921a68132 2025-09-29 18:17:58,681 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/560495a5-8d8d-4dac-b937-ab73542d27b7 2025-09-29 18:17:58,690 - DEBUG - ==>Verifying data for policy with id: 4b85b56f-fd2f-409e-ac36-3033f7a61130, fqn: ['default-domain', 'ctest-TestBasicPolicy-99949383', 'ctest-policy-allow-all-18172998'] 2025-09-29 18:17:58,690 - INFO - VN ctest-vn-39965249 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-29 18:17:58,690 - DEBUG - Verifying the vn in opserver 2025-09-29 18:17:58,690 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-99949383:ctest-vn-39965249 virtual network link through opserver 10.0.0.254 2025-09-29 18:17:58,690 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-29 18:17:59,025 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-29 18:17:59,081 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-99949383:ctest-vn-39965249', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-99949383:ctest-vn-39965249?flat'} 2025-09-29 18:17:59,081 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-99949383:ctest-vn-39965249 is found in opserver 2025-09-29 18:17:59,090 - DEBUG - Do not have enough data to verify VN in agent 2025-09-29 18:17:59,095 - DEBUG - VRF ids for VN ctest-vn-39965249: {} 2025-09-29 18:17:59,095 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-29 18:17:59,100 - DEBUG - Requesting: http://10.0.0.254:8082/domain/4eabe18d-f748-4c6b-8e13-0b4e12d854cd 2025-09-29 18:17:59,111 - DEBUG - Requesting: http://10.0.0.254:8082/project/3e76009f-fffe-49d5-aabb-597921a68132 2025-09-29 18:17:59,187 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/15661703-1c4d-4394-af34-cc4b425875c8 2025-09-29 18:17:59,198 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/15661703-1c4d-4394-af34-cc4b425875c8 2025-09-29 18:17:59,206 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/4c945752-a4db-496e-9458-97282401c1a2 2025-09-29 18:17:59,212 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/4c945752-a4db-496e-9458-97282401c1a2 2025-09-29 18:17:59,218 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/009e3dce-de06-4639-9b7e-f9630ae86979 2025-09-29 18:17:59,225 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-29 18:17:59,225 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/15661703-1c4d-4394-af34-cc4b425875c8 2025-09-29 18:17:59,234 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/4c945752-a4db-496e-9458-97282401c1a2 2025-09-29 18:17:59,246 - INFO - Verified VN network id 12 for VN 15661703-1c4d-4394-af34-cc4b425875c8 2025-09-29 18:17:59,246 - INFO - Verifications in API Server for VN ctest-vn-25891020 passed 2025-09-29 18:17:59,246 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/15661703-1c4d-4394-af34-cc4b425875c8 2025-09-29 18:17:59,255 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/4c945752-a4db-496e-9458-97282401c1a2 2025-09-29 18:17:59,261 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/4c945752-a4db-496e-9458-97282401c1a2 2025-09-29 18:17:59,266 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/009e3dce-de06-4639-9b7e-f9630ae86979 2025-09-29 18:17:59,277 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-99949383:ctest-vn-25891020', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-99949383', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1541945224548139924', 'uuid-lslong': '12624940279034049992'}, 'enable': 'true', 'created': '2025-09-29T18:17:56', 'last-modified': '2025-09-29T18:17:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.458290'} 2025-09-29 18:17:59,283 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-29 18:17:59,284 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-25891020 passed 2025-09-29 18:17:59,284 - DEBUG - ====Verifying policy data for ctest-vn-25891020 in API_Server ====== 2025-09-29 18:17:59,284 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-29 18:17:59,289 - DEBUG - Requesting: http://10.0.0.254:8082/domain/4eabe18d-f748-4c6b-8e13-0b4e12d854cd 2025-09-29 18:17:59,299 - DEBUG - Requesting: http://10.0.0.254:8082/project/3e76009f-fffe-49d5-aabb-597921a68132 2025-09-29 18:17:59,371 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/15661703-1c4d-4394-af34-cc4b425875c8 2025-09-29 18:17:59,383 - DEBUG - ==>Verifying data for policy with id: 4b85b56f-fd2f-409e-ac36-3033f7a61130, fqn: ['default-domain', 'ctest-TestBasicPolicy-99949383', 'ctest-policy-allow-all-18172998'] 2025-09-29 18:17:59,383 - INFO - VN ctest-vn-25891020 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-29 18:17:59,383 - DEBUG - Verifying the vn in opserver 2025-09-29 18:17:59,383 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-99949383:ctest-vn-25891020 virtual network link through opserver 10.0.0.254 2025-09-29 18:17:59,384 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-29 18:17:59,393 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-99949383:ctest-vn-25891020', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-99949383:ctest-vn-25891020?flat'} 2025-09-29 18:17:59,393 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-99949383:ctest-vn-25891020 is found in opserver 2025-09-29 18:17:59,402 - DEBUG - Do not have enough data to verify VN in agent 2025-09-29 18:17:59,407 - DEBUG - VRF ids for VN ctest-vn-25891020: {} 2025-09-29 18:17:59,470 - DEBUG - Services list from nova: [, , ] 2025-09-29 18:18:00,615 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4205-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4205-1) 2025-09-29 18:18:01,890 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4205-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4205-1) 2025-09-29 18:18:01,890 - INFO - Waiting for VM ctest-TestBasicPolicy-99949383-60797906 to be up.. 2025-09-29 18:18:01,981 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-29 18:18:07,071 - DEBUG - VM is in ACTIVE state now 2025-09-29 18:18:07,071 - INFO - VM name : ctest-TestBasicPolicy-99949383-60797906 2025-09-29 18:18:07,149 - DEBUG - VM ctest-TestBasicPolicy-99949383-60797906 ID is 1b4872e4-299a-459d-befb-15b695af6fd4 2025-09-29 18:18:07,169 - DEBUG - VM ctest-TestBasicPolicy-99949383-60797906 launched on Node cn-jenkins-deploy-platform-ansible-os-4205-1 2025-09-29 18:18:07,242 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/1b4872e4-299a-459d-befb-15b695af6fd4 2025-09-29 18:18:07,249 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/e7bcfdf2-8732-4b9d-8347-0ef299617cd7 2025-09-29 18:18:10,501 - 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 1026ms') 2025-09-29 18:18:10,501 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-99949383-60797906 failed! 2025-09-29 18:18:10,555 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-99949383:ctest-vn-39965249 is 49.164.95.129 and allocation pool is NOT set 2025-09-29 18:18:12,619 - 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.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.80 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 = 1.803/2.842/3.881/1.039 ms') 2025-09-29 18:18:12,619 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-99949383-60797906 passed 2025-09-29 18:18:12,767 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 18:18:12,767 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-99949383-60797906, IP 49.164.95.131, Port 22 2025-09-29 18:18:12,826 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-09-29 18:18:12,901 - DEBUG - VM ctest-TestBasicPolicy-99949383-60797906 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-29 18:18:17,901 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 18:18:17,902 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-99949383-60797906, IP 49.164.95.131, Port 22 2025-09-29 18:18:18,063 - DEBUG - VM ctest-TestBasicPolicy-99949383-60797906 is ready for SSH connections 2025-09-29 18:18:18,063 - INFO - Waiting for VM ctest-TestBasicPolicy-99949383-48718756 to be up.. 2025-09-29 18:18:18,138 - DEBUG - VM is in ACTIVE state now 2025-09-29 18:18:18,138 - INFO - VM name : ctest-TestBasicPolicy-99949383-48718756 2025-09-29 18:18:18,211 - DEBUG - VM ctest-TestBasicPolicy-99949383-48718756 ID is c6e716dc-3c61-4873-9ec3-1d1de04bd80c 2025-09-29 18:18:18,211 - DEBUG - VM ctest-TestBasicPolicy-99949383-48718756 launched on Node cn-jenkins-deploy-platform-ansible-os-4205-1 2025-09-29 18:18:18,281 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/c6e716dc-3c61-4873-9ec3-1d1de04bd80c 2025-09-29 18:18:18,290 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/4f51bc12-5c31-4dc0-a526-167dfc76f77d 2025-09-29 18:18:19,526 - 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.10 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.348 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.348/1.722/3.097/1.374 ms') 2025-09-29 18:18:19,526 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-99949383-48718756 passed 2025-09-29 18:18:19,679 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 18:18:19,679 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-99949383-48718756, IP 200.24.133.67, Port 22 2025-09-29 18:18:19,835 - DEBUG - VM ctest-TestBasicPolicy-99949383-48718756 is ready for SSH connections 2025-09-29 18:18:19,835 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 18:18:19,835 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 200.24.133.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-29 18:18:19,835 - DEBUG - ping -s 56 -c 3 -W 1 200.24.133.67 2025-09-29 18:18:23,950 - DEBUG - PING 200.24.133.67 (200.24.133.67): 56 data bytes 64 bytes from 200.24.133.67: seq=0 ttl=63 time=4.555 ms 64 bytes from 200.24.133.67: seq=1 ttl=63 time=0.922 ms 64 bytes from 200.24.133.67: seq=2 ttl=63 time=0.796 ms --- 200.24.133.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.796/2.091/4.555 ms 2025-09-29 18:18:23,950 - INFO - Ping to IP 200.24.133.67 from VM ctest-TestBasicPolicy-99949383-60797906 passed 2025-09-29 18:18:24,135 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4b85b56f-fd2f-409e-ac36-3033f7a61130", "href": "http://10.0.0.254:8082/network-policy/4b85b56f-fd2f-409e-ac36-3033f7a61130"}} 2025-09-29 18:18:24,135 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 18:18:24,136 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 200.24.133.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-29 18:18:24,136 - DEBUG - ping -s 56 -c 3 -W 1 200.24.133.67 2025-09-29 18:18:27,380 - DEBUG - PING 200.24.133.67 (200.24.133.67): 56 data bytes --- 200.24.133.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-29 18:18:27,380 - WARNING - Ping to IP 200.24.133.67 from VM ctest-TestBasicPolicy-99949383-60797906 failed 2025-09-29 18:18:27,380 - INFO - Deleting VM ctest-TestBasicPolicy-99949383-48718756 2025-09-29 18:18:27,456 - INFO - Deleting VM ctest-TestBasicPolicy-99949383-60797906 2025-09-29 18:18:27,819 - INFO - Deleted policy ctest-policy-allow-all-18172998 2025-09-29 18:18:27,819 - INFO - Deleting VN ctest-vn-25891020 2025-09-29 18:18:27,855 - DEBUG - VN 15661703-1c4d-4394-af34-cc4b425875c8 still in use: Unable to complete operation on network 15661703-1c4d-4394-af34-cc4b425875c8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4e93a8f5-88df-458c-b062-f49cd6aa44c5'] 2025-09-29 18:18:27,855 - WARNING - Deleting VN ctest-vn-25891020 failed..Will retry 2025-09-29 18:18:29,952 - DEBUG - Response for deleting network () 2025-09-29 18:18:29,952 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/4c945752-a4db-496e-9458-97282401c1a2 2025-09-29 18:18:29,958 - DEBUG - Response Code: 404 2025-09-29 18:18:29,958 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-29 18:18:29,963 - DEBUG - Requesting: http://10.0.0.254:8082/domain/4eabe18d-f748-4c6b-8e13-0b4e12d854cd 2025-09-29 18:18:30,018 - DEBUG - Requesting: http://10.0.0.254:8082/project/3e76009f-fffe-49d5-aabb-597921a68132 2025-09-29 18:18:30,087 - INFO - Validated that VN ctest-vn-25891020 is not found in API Server 2025-09-29 18:18:30,097 - DEBUG - VN ctest-vn-25891020 is not present in Agent 10.0.0.254 2025-09-29 18:18:30,097 - INFO - Validated that VN ctest-vn-25891020 is not in any agent 2025-09-29 18:18:30,110 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-25891020 info 2025-09-29 18:18:30,110 - INFO - Deleting VN ctest-vn-39965249 2025-09-29 18:18:30,211 - DEBUG - Response for deleting network () 2025-09-29 18:18:30,211 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/83aa4bdf-7a21-4c0f-8298-e6a5e69beabd 2025-09-29 18:18:30,215 - DEBUG - Response Code: 404 2025-09-29 18:18:30,216 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-29 18:18:30,220 - DEBUG - Requesting: http://10.0.0.254:8082/domain/4eabe18d-f748-4c6b-8e13-0b4e12d854cd 2025-09-29 18:18:30,272 - DEBUG - Requesting: http://10.0.0.254:8082/project/3e76009f-fffe-49d5-aabb-597921a68132 2025-09-29 18:18:30,341 - INFO - Validated that VN ctest-vn-39965249 is not found in API Server 2025-09-29 18:18:30,350 - DEBUG - VN ctest-vn-39965249 is not present in Agent 10.0.0.254 2025-09-29 18:18:30,350 - INFO - Validated that VN ctest-vn-39965249 is not in any agent 2025-09-29 18:18:30,363 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-39965249 info 2025-09-29 18:18:30,616 - DEBUG - No XMPP flaps were noticed during the test 2025-09-29 18:18:30,616 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2025-09-29 18:18:30,616 - INFO - -------------------------------------------------------------------------------- 2025-09-29 18:18:31,341 - INFO - Deleted project: ctest-TestBasicPolicy-99949383, ID : 3e76009f-fffe-49d5-aabb-597921a68132