2025-10-30 18:45:40,840 - INFO - Domain Default found not creating 2025-10-30 18:45:41,231 - INFO - Project ctest-TestBasicPolicy-34417953 not found, creating it 2025-10-30 18:45:41,927 - INFO - Created Project:ctest-TestBasicPolicy-34417953, ID : 15894628-0ee8-494c-8875-cbda4f442c51 2025-10-30 18:45:43,972 - INFO - ================================================================================ 2025-10-30 18:45:43,972 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-30 18:45:43,972 - 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-30 18:45:44,308 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.241': '0'}} with 2025-10-30 18:45:44,308 - INFO - Initial checks done. Running the testcase now 2025-10-30 18:45:44,309 - INFO - 2025-10-30 18:45:45,105 - DEBUG - Response for create_network : {'network': {'id': '5210d5a3-e39a-45e4-8767-cc8c8512c5dc', 'name': 'ctest-vn-64447011', 'tenant_id': '158946280ee8494c8875cbda4f442c51', 'project_id': '158946280ee8494c8875cbda4f442c51', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34417953', 'ctest-vn-64447011'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 18:45:45,304 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a8a44107-8162-4d57-b49f-050bbdd9dc8e', 'name': '', 'tenant_id': '158946280ee8494c8875cbda4f442c51', 'network_id': '5210d5a3-e39a-45e4-8767-cc8c8512c5dc', 'ip_version': 4, 'cidr': '40.196.140.0/26', 'allocation_pools': [{'start': '40.196.140.2', 'end': '40.196.140.62'}], 'gateway_ip': '40.196.140.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '40.196.140.2', 'tags': [], 'project_id': '158946280ee8494c8875cbda4f442c51'}} 2025-10-30 18:45:45,328 - INFO - Created VN ctest-vn-64447011 2025-10-30 18:45:45,383 - DEBUG - VN ctest-vn-64447011 UUID is 5210d5a3-e39a-45e4-8767-cc8c8512c5dc 2025-10-30 18:45:45,865 - DEBUG - Response for create_network : {'network': {'id': '9d194b73-7469-4b9f-80af-911809d9f831', 'name': 'ctest-vn-07363494', 'tenant_id': '158946280ee8494c8875cbda4f442c51', 'project_id': '158946280ee8494c8875cbda4f442c51', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34417953', 'ctest-vn-07363494'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 18:45:46,166 - DEBUG - Response for create_subnet : {'subnet': {'id': '76436073-6eb6-4567-8968-0facb57a7388', 'name': '', 'tenant_id': '158946280ee8494c8875cbda4f442c51', 'network_id': '9d194b73-7469-4b9f-80af-911809d9f831', 'ip_version': 4, 'cidr': '119.243.202.192/26', 'allocation_pools': [{'start': '119.243.202.194', 'end': '119.243.202.254'}], 'gateway_ip': '119.243.202.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '119.243.202.194', 'tags': [], 'project_id': '158946280ee8494c8875cbda4f442c51'}} 2025-10-30 18:45:46,199 - INFO - Created VN ctest-vn-07363494 2025-10-30 18:45:46,267 - DEBUG - VN ctest-vn-07363494 UUID is 9d194b73-7469-4b9f-80af-911809d9f831 2025-10-30 18:45:46,448 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-34417953:ctest-vn-64447011, 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-34417953:ctest-vn-07363494, 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-30 18:45:46,917 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5210d5a3-e39a-45e4-8767-cc8c8512c5dc', 'name': 'ctest-vn-64447011', 'tenant_id': '158946280ee8494c8875cbda4f442c51', 'project_id': '158946280ee8494c8875cbda4f442c51', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a8a44107-8162-4d57-b49f-050bbdd9dc8e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34417953', 'ctest-vn-64447011'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-34417953', 'ctest-policy-allow-all-42083688']], 'subnet_ipam': [{'subnet_cidr': '40.196.140.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-30 18:45:47,272 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9d194b73-7469-4b9f-80af-911809d9f831', 'name': 'ctest-vn-07363494', 'tenant_id': '158946280ee8494c8875cbda4f442c51', 'project_id': '158946280ee8494c8875cbda4f442c51', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['76436073-6eb6-4567-8968-0facb57a7388'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34417953', 'ctest-vn-07363494'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-34417953', 'ctest-policy-allow-all-42083688']], 'subnet_ipam': [{'subnet_cidr': '119.243.202.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-30 18:45:47,487 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-30 18:45:47,804 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-30 18:45:47,868 - DEBUG - Requesting: http://10.0.0.38:8082/domain/8b04f434-8ca8-42af-a1bc-adb00be83f0b 2025-10-30 18:45:47,894 - DEBUG - Requesting: http://10.0.0.38:8082/project/15894628-0ee8-494c-8875-cbda4f442c51 2025-10-30 18:45:48,005 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5210d5a3-e39a-45e4-8767-cc8c8512c5dc 2025-10-30 18:45:48,030 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5210d5a3-e39a-45e4-8767-cc8c8512c5dc 2025-10-30 18:45:48,052 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/29ba659e-a091-4c86-aa58-dc24625e70bd 2025-10-30 18:45:48,067 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/29ba659e-a091-4c86-aa58-dc24625e70bd 2025-10-30 18:45:48,080 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/414d64a8-6cbb-450e-a900-94eaad3dcb71 2025-10-30 18:45:48,094 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-30 18:45:48,094 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5210d5a3-e39a-45e4-8767-cc8c8512c5dc 2025-10-30 18:45:48,117 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/29ba659e-a091-4c86-aa58-dc24625e70bd 2025-10-30 18:45:48,155 - INFO - Verified VN network id 11 for VN 5210d5a3-e39a-45e4-8767-cc8c8512c5dc 2025-10-30 18:45:48,155 - INFO - Verifications in API Server for VN ctest-vn-64447011 passed 2025-10-30 18:45:48,156 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5210d5a3-e39a-45e4-8767-cc8c8512c5dc 2025-10-30 18:45:48,183 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/29ba659e-a091-4c86-aa58-dc24625e70bd 2025-10-30 18:45:48,204 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/29ba659e-a091-4c86-aa58-dc24625e70bd 2025-10-30 18:45:48,226 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/414d64a8-6cbb-450e-a900-94eaad3dcb71 2025-10-30 18:45:48,251 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-34417953:ctest-vn-64447011', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-34417953', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5913461210612385252', 'uuid-lslong': '9756992021621556700'}, 'enable': 'true', 'created': '2025-10-30T18:45:45', 'last-modified': '2025-10-30T18:45:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.379892'} 2025-10-30 18:45:48,262 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-30 18:45:48,263 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-64447011 passed 2025-10-30 18:45:48,263 - DEBUG - ====Verifying policy data for ctest-vn-64447011 in API_Server ====== 2025-10-30 18:45:48,263 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-30 18:45:48,276 - DEBUG - Requesting: http://10.0.0.38:8082/domain/8b04f434-8ca8-42af-a1bc-adb00be83f0b 2025-10-30 18:45:48,300 - DEBUG - Requesting: http://10.0.0.38:8082/project/15894628-0ee8-494c-8875-cbda4f442c51 2025-10-30 18:45:48,401 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5210d5a3-e39a-45e4-8767-cc8c8512c5dc 2025-10-30 18:45:48,419 - DEBUG - ==>Verifying data for policy with id: e1f67e8f-30c4-4693-8069-09b352f91472, fqn: ['default-domain', 'ctest-TestBasicPolicy-34417953', 'ctest-policy-allow-all-42083688'] 2025-10-30 18:45:48,419 - INFO - VN ctest-vn-64447011 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-30 18:45:48,419 - DEBUG - Verifying the vn in opserver 2025-10-30 18:45:48,419 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-34417953:ctest-vn-64447011 virtual network link through opserver 10.0.0.38 2025-10-30 18:45:48,420 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-30 18:45:48,732 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-30 18:45:48,818 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-34417953:ctest-vn-64447011', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-34417953:ctest-vn-64447011?flat'} 2025-10-30 18:45:48,818 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-34417953:ctest-vn-64447011 is found in opserver 2025-10-30 18:45:48,837 - DEBUG - Do not have enough data to verify VN in agent 2025-10-30 18:45:48,845 - DEBUG - VRF ids for VN ctest-vn-64447011: {} 2025-10-30 18:45:48,845 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-30 18:45:48,856 - DEBUG - Requesting: http://10.0.0.38:8082/domain/8b04f434-8ca8-42af-a1bc-adb00be83f0b 2025-10-30 18:45:48,877 - DEBUG - Requesting: http://10.0.0.38:8082/project/15894628-0ee8-494c-8875-cbda4f442c51 2025-10-30 18:45:48,992 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9d194b73-7469-4b9f-80af-911809d9f831 2025-10-30 18:45:49,025 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9d194b73-7469-4b9f-80af-911809d9f831 2025-10-30 18:45:49,056 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/05b416c7-298c-4a28-83ce-7d1311318753 2025-10-30 18:45:49,073 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/05b416c7-298c-4a28-83ce-7d1311318753 2025-10-30 18:45:49,108 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/6eda64ae-577a-41ba-8d59-c768dad1b2ea 2025-10-30 18:45:49,143 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-30 18:45:49,143 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9d194b73-7469-4b9f-80af-911809d9f831 2025-10-30 18:45:49,164 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/05b416c7-298c-4a28-83ce-7d1311318753 2025-10-30 18:45:49,205 - INFO - Verified VN network id 12 for VN 9d194b73-7469-4b9f-80af-911809d9f831 2025-10-30 18:45:49,205 - INFO - Verifications in API Server for VN ctest-vn-07363494 passed 2025-10-30 18:45:49,205 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9d194b73-7469-4b9f-80af-911809d9f831 2025-10-30 18:45:49,247 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/05b416c7-298c-4a28-83ce-7d1311318753 2025-10-30 18:45:49,263 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/05b416c7-298c-4a28-83ce-7d1311318753 2025-10-30 18:45:49,274 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/6eda64ae-577a-41ba-8d59-c768dad1b2ea 2025-10-30 18:45:49,308 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-34417953:ctest-vn-07363494', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-34417953', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11320162097618832287', 'uuid-lslong': '9272789690209663025'}, 'enable': 'true', 'created': '2025-10-30T18:45:45', 'last-modified': '2025-10-30T18:45:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.099148'} 2025-10-30 18:45:49,317 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-30 18:45:49,318 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07363494 passed 2025-10-30 18:45:49,318 - DEBUG - ====Verifying policy data for ctest-vn-07363494 in API_Server ====== 2025-10-30 18:45:49,318 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-30 18:45:49,324 - DEBUG - Requesting: http://10.0.0.38:8082/domain/8b04f434-8ca8-42af-a1bc-adb00be83f0b 2025-10-30 18:45:49,335 - DEBUG - Requesting: http://10.0.0.38:8082/project/15894628-0ee8-494c-8875-cbda4f442c51 2025-10-30 18:45:49,421 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9d194b73-7469-4b9f-80af-911809d9f831 2025-10-30 18:45:49,434 - DEBUG - ==>Verifying data for policy with id: e1f67e8f-30c4-4693-8069-09b352f91472, fqn: ['default-domain', 'ctest-TestBasicPolicy-34417953', 'ctest-policy-allow-all-42083688'] 2025-10-30 18:45:49,434 - INFO - VN ctest-vn-07363494 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-30 18:45:49,434 - DEBUG - Verifying the vn in opserver 2025-10-30 18:45:49,434 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-34417953:ctest-vn-07363494 virtual network link through opserver 10.0.0.38 2025-10-30 18:45:49,434 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-30 18:45:49,454 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-34417953:ctest-vn-07363494', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-34417953:ctest-vn-07363494?flat'} 2025-10-30 18:45:49,454 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-34417953:ctest-vn-07363494 is found in opserver 2025-10-30 18:45:49,467 - DEBUG - Do not have enough data to verify VN in agent 2025-10-30 18:45:49,474 - DEBUG - VRF ids for VN ctest-vn-07363494: {} 2025-10-30 18:45:49,548 - DEBUG - Services list from nova: [, , ] 2025-10-30 18:45:50,902 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4552-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4552-1) 2025-10-30 18:45:52,313 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4552-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4552-1) 2025-10-30 18:45:52,313 - INFO - Waiting for VM ctest-TestBasicPolicy-34417953-66632070 to be up.. 2025-10-30 18:45:52,389 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 18:45:57,534 - DEBUG - VM is in ACTIVE state now 2025-10-30 18:45:57,534 - INFO - VM name : ctest-TestBasicPolicy-34417953-66632070 2025-10-30 18:45:57,626 - DEBUG - VM ctest-TestBasicPolicy-34417953-66632070 ID is 6261db9c-08f0-45b7-910c-2912d5075717 2025-10-30 18:45:57,649 - DEBUG - VM ctest-TestBasicPolicy-34417953-66632070 launched on Node cn-jenkins-deploy-platform-ansible-os-4552-1 2025-10-30 18:45:57,733 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6261db9c-08f0-45b7-910c-2912d5075717 2025-10-30 18:45:57,743 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5a6d13f7-4314-4674-bcce-8b81b4e10b1c 2025-10-30 18:46:01,017 - 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 1001ms') 2025-10-30 18:46:01,018 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-34417953-66632070 failed! 2025-10-30 18:46:01,075 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-34417953:ctest-vn-64447011 is 40.196.140.1 and allocation pool is NOT set 2025-10-30 18:46:03,151 - 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.40 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.90 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 = 2.895/6.149/9.403/3.254 ms') 2025-10-30 18:46:03,152 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-34417953-66632070 passed 2025-10-30 18:46:03,327 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 18:46:03,327 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-34417953-66632070, IP 40.196.140.3, Port 22 2025-10-30 18:46:03,410 - 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-10-30 18:46:03,547 - DEBUG - VM ctest-TestBasicPolicy-34417953-66632070 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-30 18:46:08,548 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 18:46:08,548 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-34417953-66632070, IP 40.196.140.3, Port 22 2025-10-30 18:46:08,752 - DEBUG - VM ctest-TestBasicPolicy-34417953-66632070 is ready for SSH connections 2025-10-30 18:46:08,753 - INFO - Waiting for VM ctest-TestBasicPolicy-34417953-94195589 to be up.. 2025-10-30 18:46:08,965 - DEBUG - VM is in ACTIVE state now 2025-10-30 18:46:08,965 - INFO - VM name : ctest-TestBasicPolicy-34417953-94195589 2025-10-30 18:46:09,117 - DEBUG - VM ctest-TestBasicPolicy-34417953-94195589 ID is 854d808b-642c-44c2-9cc5-82163b69d8ee 2025-10-30 18:46:09,117 - DEBUG - VM ctest-TestBasicPolicy-34417953-94195589 launched on Node cn-jenkins-deploy-platform-ansible-os-4552-1 2025-10-30 18:46:09,262 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/854d808b-642c-44c2-9cc5-82163b69d8ee 2025-10-30 18:46:09,273 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/330275d3-c67a-46e8-b1a3-c12118a0f76d 2025-10-30 18:46:10,561 - 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=10.5 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.832 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.832/5.678/10.524/4.846 ms') 2025-10-30 18:46:10,561 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-34417953-94195589 passed 2025-10-30 18:46:10,743 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 18:46:10,744 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-34417953-94195589, IP 119.243.202.195, Port 22 2025-10-30 18:46:10,949 - DEBUG - VM ctest-TestBasicPolicy-34417953-94195589 is ready for SSH connections 2025-10-30 18:46:10,949 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 18:46:10,950 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 119.243.202.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-30 18:46:10,950 - DEBUG - ping -s 56 -c 3 -W 1 119.243.202.195 2025-10-30 18:46:15,600 - DEBUG - PING 119.243.202.195 (119.243.202.195): 56 data bytes 64 bytes from 119.243.202.195: seq=0 ttl=63 time=8.364 ms 64 bytes from 119.243.202.195: seq=1 ttl=63 time=2.245 ms 64 bytes from 119.243.202.195: seq=2 ttl=63 time=1.884 ms --- 119.243.202.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.884/4.164/8.364 ms 2025-10-30 18:46:15,601 - INFO - Ping to IP 119.243.202.195 from VM ctest-TestBasicPolicy-34417953-66632070 passed 2025-10-30 18:46:15,834 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e1f67e8f-30c4-4693-8069-09b352f91472", "href": "http://10.0.0.38:8082/network-policy/e1f67e8f-30c4-4693-8069-09b352f91472"}} 2025-10-30 18:46:15,835 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 18:46:15,835 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 119.243.202.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-30 18:46:15,835 - DEBUG - ping -s 56 -c 3 -W 1 119.243.202.195 2025-10-30 18:46:19,097 - DEBUG - PING 119.243.202.195 (119.243.202.195): 56 data bytes 64 bytes from 119.243.202.195: seq=0 ttl=63 time=2.459 ms --- 119.243.202.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.459/2.459/2.459 ms 2025-10-30 18:46:19,097 - WARNING - Ping to IP 119.243.202.195 from VM ctest-TestBasicPolicy-34417953-66632070 failed 2025-10-30 18:46:19,097 - INFO - Deleting VM ctest-TestBasicPolicy-34417953-94195589 2025-10-30 18:46:19,310 - INFO - Deleting VM ctest-TestBasicPolicy-34417953-66632070 2025-10-30 18:46:19,908 - INFO - Deleted policy ctest-policy-allow-all-42083688 2025-10-30 18:46:19,908 - INFO - Deleting VN ctest-vn-07363494 2025-10-30 18:46:19,949 - DEBUG - VN 9d194b73-7469-4b9f-80af-911809d9f831 still in use: Unable to complete operation on network 9d194b73-7469-4b9f-80af-911809d9f831. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a0d856f2-50da-4f25-abf6-618b08e3a92b'] 2025-10-30 18:46:19,949 - WARNING - Deleting VN ctest-vn-07363494 failed..Will retry 2025-10-30 18:46:22,185 - DEBUG - Response for deleting network () 2025-10-30 18:46:22,185 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/05b416c7-298c-4a28-83ce-7d1311318753 2025-10-30 18:46:22,204 - DEBUG - Response Code: 404 2025-10-30 18:46:22,205 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-30 18:46:22,211 - DEBUG - Requesting: http://10.0.0.38:8082/domain/8b04f434-8ca8-42af-a1bc-adb00be83f0b 2025-10-30 18:46:22,228 - DEBUG - Requesting: http://10.0.0.38:8082/project/15894628-0ee8-494c-8875-cbda4f442c51 2025-10-30 18:46:22,337 - INFO - Validated that VN ctest-vn-07363494 is not found in API Server 2025-10-30 18:46:22,361 - DEBUG - VN ctest-vn-07363494 is not present in Agent 10.0.0.38 2025-10-30 18:46:22,361 - INFO - Validated that VN ctest-vn-07363494 is not in any agent 2025-10-30 18:46:22,400 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-07363494 info 2025-10-30 18:46:22,400 - INFO - Deleting VN ctest-vn-64447011 2025-10-30 18:46:22,608 - DEBUG - Response for deleting network () 2025-10-30 18:46:22,608 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/29ba659e-a091-4c86-aa58-dc24625e70bd 2025-10-30 18:46:22,616 - DEBUG - Response Code: 404 2025-10-30 18:46:22,616 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-30 18:46:22,623 - DEBUG - Requesting: http://10.0.0.38:8082/domain/8b04f434-8ca8-42af-a1bc-adb00be83f0b 2025-10-30 18:46:22,677 - DEBUG - Requesting: http://10.0.0.38:8082/project/15894628-0ee8-494c-8875-cbda4f442c51 2025-10-30 18:46:22,792 - INFO - Validated that VN ctest-vn-64447011 is not found in API Server 2025-10-30 18:46:22,808 - DEBUG - VN ctest-vn-64447011 is not present in Agent 10.0.0.38 2025-10-30 18:46:22,809 - INFO - Validated that VN ctest-vn-64447011 is not in any agent 2025-10-30 18:46:22,839 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-64447011 info 2025-10-30 18:46:23,169 - DEBUG - No XMPP flaps were noticed during the test 2025-10-30 18:46:23,170 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:40] 2025-10-30 18:46:23,170 - INFO - -------------------------------------------------------------------------------- 2025-10-30 18:46:24,114 - INFO - Deleted project: ctest-TestBasicPolicy-34417953, ID : 15894628-0ee8-494c-8875-cbda4f442c51