2025-07-21 12:31:45,605 - INFO - Domain Default found not creating 2025-07-21 12:31:46,003 - INFO - Project ctest-TestBasicPolicy-28419471 not found, creating it 2025-07-21 12:31:46,774 - INFO - Created Project:ctest-TestBasicPolicy-28419471, ID : b957c5a3-9af3-4d8d-83ca-41bd5401c727 2025-07-21 12:31:48,789 - INFO - ================================================================================ 2025-07-21 12:31:48,790 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-21 12:31:48,790 - 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-07-21 12:31:49,112 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-07-21 12:31:49,112 - INFO - Initial checks done. Running the testcase now 2025-07-21 12:31:49,112 - INFO - 2025-07-21 12:31:49,964 - DEBUG - Response for create_network : {'network': {'id': 'bc3ac346-47f2-4537-a1ee-f0d8beb2b103', 'name': 'ctest-vn-40738306', 'tenant_id': 'b957c5a39af34d8d83ca41bd5401c727', 'project_id': 'b957c5a39af34d8d83ca41bd5401c727', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28419471', 'ctest-vn-40738306'], 'port_security_enabled': True, 'description': ''}} 2025-07-21 12:31:50,150 - DEBUG - Response for create_subnet : {'subnet': {'id': '59b5c91c-0d22-4e2e-8fac-bc24ca27fbe9', 'name': '', 'tenant_id': 'b957c5a39af34d8d83ca41bd5401c727', 'network_id': 'bc3ac346-47f2-4537-a1ee-f0d8beb2b103', 'ip_version': 4, 'cidr': '34.183.69.0/26', 'allocation_pools': [{'start': '34.183.69.2', 'end': '34.183.69.62'}], 'gateway_ip': '34.183.69.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.183.69.2', 'tags': [], 'project_id': 'b957c5a39af34d8d83ca41bd5401c727'}} 2025-07-21 12:31:50,171 - INFO - Created VN ctest-vn-40738306 2025-07-21 12:31:50,227 - DEBUG - VN ctest-vn-40738306 UUID is bc3ac346-47f2-4537-a1ee-f0d8beb2b103 2025-07-21 12:31:50,759 - DEBUG - Response for create_network : {'network': {'id': 'b658c767-f3f6-4b0a-b94b-e08411292ee4', 'name': 'ctest-vn-28258961', 'tenant_id': 'b957c5a39af34d8d83ca41bd5401c727', 'project_id': 'b957c5a39af34d8d83ca41bd5401c727', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28419471', 'ctest-vn-28258961'], 'port_security_enabled': True, 'description': ''}} 2025-07-21 12:31:51,027 - DEBUG - Response for create_subnet : {'subnet': {'id': '8d2ac9a1-964c-4a68-bf7e-71418d970819', 'name': '', 'tenant_id': 'b957c5a39af34d8d83ca41bd5401c727', 'network_id': 'b658c767-f3f6-4b0a-b94b-e08411292ee4', 'ip_version': 4, 'cidr': '90.166.47.0/26', 'allocation_pools': [{'start': '90.166.47.2', 'end': '90.166.47.62'}], 'gateway_ip': '90.166.47.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.166.47.2', 'tags': [], 'project_id': 'b957c5a39af34d8d83ca41bd5401c727'}} 2025-07-21 12:31:51,061 - INFO - Created VN ctest-vn-28258961 2025-07-21 12:31:51,119 - DEBUG - VN ctest-vn-28258961 UUID is b658c767-f3f6-4b0a-b94b-e08411292ee4 2025-07-21 12:31:51,338 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-28419471:ctest-vn-40738306, 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-28419471:ctest-vn-28258961, 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-07-21 12:31:51,887 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bc3ac346-47f2-4537-a1ee-f0d8beb2b103', 'name': 'ctest-vn-40738306', 'tenant_id': 'b957c5a39af34d8d83ca41bd5401c727', 'project_id': 'b957c5a39af34d8d83ca41bd5401c727', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['59b5c91c-0d22-4e2e-8fac-bc24ca27fbe9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28419471', 'ctest-vn-40738306'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28419471', 'ctest-policy-allow-all-38782374']], 'subnet_ipam': [{'subnet_cidr': '34.183.69.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-21 12:31:52,291 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b658c767-f3f6-4b0a-b94b-e08411292ee4', 'name': 'ctest-vn-28258961', 'tenant_id': 'b957c5a39af34d8d83ca41bd5401c727', 'project_id': 'b957c5a39af34d8d83ca41bd5401c727', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8d2ac9a1-964c-4a68-bf7e-71418d970819'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28419471', 'ctest-vn-28258961'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28419471', 'ctest-policy-allow-all-38782374']], 'subnet_ipam': [{'subnet_cidr': '90.166.47.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-21 12:31:52,471 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-07-21 12:31:52,823 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-07-21 12:31:52,877 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f7f1e7bb-90af-484f-b316-d13dd695dd25 2025-07-21 12:31:52,908 - DEBUG - Requesting: http://10.0.0.38:8082/project/b957c5a3-9af3-4d8d-83ca-41bd5401c727 2025-07-21 12:31:53,036 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bc3ac346-47f2-4537-a1ee-f0d8beb2b103 2025-07-21 12:31:53,072 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bc3ac346-47f2-4537-a1ee-f0d8beb2b103 2025-07-21 12:31:53,103 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/dfec6a5c-2cbf-4945-8824-efe19c057c75 2025-07-21 12:31:53,128 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/dfec6a5c-2cbf-4945-8824-efe19c057c75 2025-07-21 12:31:53,155 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/017c5cf7-4db0-4b09-adc4-2eb523e07304 2025-07-21 12:31:53,178 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-21 12:31:53,178 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bc3ac346-47f2-4537-a1ee-f0d8beb2b103 2025-07-21 12:31:53,209 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/dfec6a5c-2cbf-4945-8824-efe19c057c75 2025-07-21 12:31:53,259 - INFO - Verified VN network id 8 for VN bc3ac346-47f2-4537-a1ee-f0d8beb2b103 2025-07-21 12:31:53,259 - INFO - Verifications in API Server for VN ctest-vn-40738306 passed 2025-07-21 12:31:53,259 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bc3ac346-47f2-4537-a1ee-f0d8beb2b103 2025-07-21 12:31:53,294 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/dfec6a5c-2cbf-4945-8824-efe19c057c75 2025-07-21 12:31:53,320 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/dfec6a5c-2cbf-4945-8824-efe19c057c75 2025-07-21 12:31:53,347 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/017c5cf7-4db0-4b09-adc4-2eb523e07304 2025-07-21 12:31:53,387 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28419471:ctest-vn-40738306', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28419471', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13563367934401856823', 'uuid-lslong': '11668528498266517763'}, 'enable': 'true', 'created': '2025-07-21T12:31:49', 'last-modified': '2025-07-21T12:31:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.569858'} 2025-07-21 12:31:53,406 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-21 12:31:53,406 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-40738306 passed 2025-07-21 12:31:53,407 - DEBUG - ====Verifying policy data for ctest-vn-40738306 in API_Server ====== 2025-07-21 12:31:53,407 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-07-21 12:31:53,423 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f7f1e7bb-90af-484f-b316-d13dd695dd25 2025-07-21 12:31:53,459 - DEBUG - Requesting: http://10.0.0.38:8082/project/b957c5a3-9af3-4d8d-83ca-41bd5401c727 2025-07-21 12:31:53,579 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/bc3ac346-47f2-4537-a1ee-f0d8beb2b103 2025-07-21 12:31:53,600 - DEBUG - ==>Verifying data for policy with id: 67514b8c-212a-45b3-be77-594f43a17b35, fqn: ['default-domain', 'ctest-TestBasicPolicy-28419471', 'ctest-policy-allow-all-38782374'] 2025-07-21 12:31:53,600 - INFO - VN ctest-vn-40738306 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-21 12:31:53,600 - DEBUG - Verifying the vn in opserver 2025-07-21 12:31:53,600 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28419471:ctest-vn-40738306 virtual network link through opserver 10.0.0.38 2025-07-21 12:31:53,601 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-07-21 12:31:53,963 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-07-21 12:31:54,065 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28419471:ctest-vn-40738306', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28419471:ctest-vn-40738306?flat'} 2025-07-21 12:31:54,065 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28419471:ctest-vn-40738306 is found in opserver 2025-07-21 12:31:54,094 - DEBUG - Do not have enough data to verify VN in agent 2025-07-21 12:31:54,107 - DEBUG - VRF ids for VN ctest-vn-40738306: {} 2025-07-21 12:31:54,107 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-07-21 12:31:54,120 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f7f1e7bb-90af-484f-b316-d13dd695dd25 2025-07-21 12:31:54,154 - DEBUG - Requesting: http://10.0.0.38:8082/project/b957c5a3-9af3-4d8d-83ca-41bd5401c727 2025-07-21 12:31:54,265 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b658c767-f3f6-4b0a-b94b-e08411292ee4 2025-07-21 12:31:54,302 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b658c767-f3f6-4b0a-b94b-e08411292ee4 2025-07-21 12:31:54,333 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6db868f8-3430-4dab-8a57-ee506456ce6b 2025-07-21 12:31:54,355 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6db868f8-3430-4dab-8a57-ee506456ce6b 2025-07-21 12:31:54,374 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/24312209-3d7b-49ee-becb-776a0476f7c4 2025-07-21 12:31:54,395 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-21 12:31:54,395 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b658c767-f3f6-4b0a-b94b-e08411292ee4 2025-07-21 12:31:54,429 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6db868f8-3430-4dab-8a57-ee506456ce6b 2025-07-21 12:31:54,474 - INFO - Verified VN network id 9 for VN b658c767-f3f6-4b0a-b94b-e08411292ee4 2025-07-21 12:31:54,474 - INFO - Verifications in API Server for VN ctest-vn-28258961 passed 2025-07-21 12:31:54,474 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b658c767-f3f6-4b0a-b94b-e08411292ee4 2025-07-21 12:31:54,495 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6db868f8-3430-4dab-8a57-ee506456ce6b 2025-07-21 12:31:54,515 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6db868f8-3430-4dab-8a57-ee506456ce6b 2025-07-21 12:31:54,539 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/24312209-3d7b-49ee-becb-776a0476f7c4 2025-07-21 12:31:54,579 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28419471:ctest-vn-28258961', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28419471', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13139471162141985546', 'uuid-lslong': '13352012378098183908'}, 'enable': 'true', 'created': '2025-07-21T12:31:50', 'last-modified': '2025-07-21T12:31:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.372579'} 2025-07-21 12:31:54,602 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-21 12:31:54,603 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-28258961 passed 2025-07-21 12:31:54,603 - DEBUG - ====Verifying policy data for ctest-vn-28258961 in API_Server ====== 2025-07-21 12:31:54,603 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-07-21 12:31:54,620 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f7f1e7bb-90af-484f-b316-d13dd695dd25 2025-07-21 12:31:54,657 - DEBUG - Requesting: http://10.0.0.38:8082/project/b957c5a3-9af3-4d8d-83ca-41bd5401c727 2025-07-21 12:31:54,793 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b658c767-f3f6-4b0a-b94b-e08411292ee4 2025-07-21 12:31:54,818 - DEBUG - ==>Verifying data for policy with id: 67514b8c-212a-45b3-be77-594f43a17b35, fqn: ['default-domain', 'ctest-TestBasicPolicy-28419471', 'ctest-policy-allow-all-38782374'] 2025-07-21 12:31:54,818 - INFO - VN ctest-vn-28258961 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-21 12:31:54,818 - DEBUG - Verifying the vn in opserver 2025-07-21 12:31:54,818 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28419471:ctest-vn-28258961 virtual network link through opserver 10.0.0.38 2025-07-21 12:31:54,818 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-07-21 12:31:54,849 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28419471:ctest-vn-28258961', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28419471:ctest-vn-28258961?flat'} 2025-07-21 12:31:54,849 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28419471:ctest-vn-28258961 is found in opserver 2025-07-21 12:31:54,882 - DEBUG - Do not have enough data to verify VN in agent 2025-07-21 12:31:54,903 - DEBUG - VRF ids for VN ctest-vn-28258961: {} 2025-07-21 12:31:55,052 - DEBUG - Services list from nova: [, , ] 2025-07-21 12:31:56,696 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3679-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3679-1) 2025-07-21 12:31:58,276 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3679-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3679-1) 2025-07-21 12:31:58,277 - INFO - Waiting for VM ctest-TestBasicPolicy-28419471-94487501 to be up.. 2025-07-21 12:31:58,381 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-21 12:32:03,564 - DEBUG - VM is in ACTIVE state now 2025-07-21 12:32:03,565 - INFO - VM name : ctest-TestBasicPolicy-28419471-94487501 2025-07-21 12:32:03,771 - DEBUG - VM ctest-TestBasicPolicy-28419471-94487501 ID is fdb103bb-0084-4cfd-b56a-92ac1c47e0c9 2025-07-21 12:32:03,822 - DEBUG - VM ctest-TestBasicPolicy-28419471-94487501 launched on Node cn-jenkins-deploy-platform-ansible-os-3679-1 2025-07-21 12:32:03,941 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/fdb103bb-0084-4cfd-b56a-92ac1c47e0c9 2025-07-21 12:32:03,952 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/368142ba-ae40-43e4-a91d-f25e4affc188 2025-07-21 12:32:07,260 - 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 1017ms') 2025-07-21 12:32:07,261 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-28419471-94487501 failed! 2025-07-21 12:32:07,322 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-28419471:ctest-vn-40738306 is 34.183.69.1 and allocation pool is NOT set 2025-07-21 12:32:09,412 - 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=31.6 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.98 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 = 3.984/17.771/31.559/13.787 ms') 2025-07-21 12:32:09,412 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-28419471-94487501 passed 2025-07-21 12:32:09,583 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 12:32:09,583 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-28419471-94487501, IP 34.183.69.3, Port 22 2025-07-21 12:32:09,660 - 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-07-21 12:32:09,860 - DEBUG - VM ctest-TestBasicPolicy-28419471-94487501 is NOT ready for SSH connections, VM status: ACTIVE 2025-07-21 12:32:14,861 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 12:32:14,861 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-28419471-94487501, IP 34.183.69.3, Port 22 2025-07-21 12:32:15,074 - DEBUG - VM ctest-TestBasicPolicy-28419471-94487501 is ready for SSH connections 2025-07-21 12:32:15,074 - INFO - Waiting for VM ctest-TestBasicPolicy-28419471-16707866 to be up.. 2025-07-21 12:32:15,263 - DEBUG - VM is in ACTIVE state now 2025-07-21 12:32:15,264 - INFO - VM name : ctest-TestBasicPolicy-28419471-16707866 2025-07-21 12:32:15,434 - DEBUG - VM ctest-TestBasicPolicy-28419471-16707866 ID is a50b50b1-c308-4cbc-a7d5-deee862c8e2e 2025-07-21 12:32:15,435 - DEBUG - VM ctest-TestBasicPolicy-28419471-16707866 launched on Node cn-jenkins-deploy-platform-ansible-os-3679-1 2025-07-21 12:32:15,655 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a50b50b1-c308-4cbc-a7d5-deee862c8e2e 2025-07-21 12:32:15,681 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/74711c39-6761-4e9e-a01e-6d8b1905e9d6 2025-07-21 12:32:17,022 - 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.463 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.463/5.467/10.471/5.004 ms') 2025-07-21 12:32:17,023 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-28419471-16707866 passed 2025-07-21 12:32:17,206 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 12:32:17,207 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-28419471-16707866, IP 90.166.47.3, Port 22 2025-07-21 12:32:17,406 - DEBUG - VM ctest-TestBasicPolicy-28419471-16707866 is ready for SSH connections 2025-07-21 12:32:17,406 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 12:32:17,407 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 90.166.47.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-07-21 12:32:17,407 - DEBUG - ping -s 56 -c 3 -W 1 90.166.47.3 2025-07-21 12:32:22,026 - DEBUG - PING 90.166.47.3 (90.166.47.3): 56 data bytes 64 bytes from 90.166.47.3: seq=0 ttl=63 time=5.195 ms 64 bytes from 90.166.47.3: seq=1 ttl=63 time=1.458 ms 64 bytes from 90.166.47.3: seq=2 ttl=63 time=1.402 ms --- 90.166.47.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.402/2.685/5.195 ms 2025-07-21 12:32:22,026 - INFO - Ping to IP 90.166.47.3 from VM ctest-TestBasicPolicy-28419471-94487501 passed 2025-07-21 12:32:22,286 - DEBUG - Policy Update Response {"network-policy": {"uuid": "67514b8c-212a-45b3-be77-594f43a17b35", "href": "http://10.0.0.38:8082/network-policy/67514b8c-212a-45b3-be77-594f43a17b35"}} 2025-07-21 12:32:22,287 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 12:32:22,287 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 90.166.47.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-07-21 12:32:22,287 - DEBUG - ping -s 56 -c 3 -W 1 90.166.47.3 2025-07-21 12:32:25,625 - DEBUG - PING 90.166.47.3 (90.166.47.3): 56 data bytes --- 90.166.47.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-21 12:32:25,626 - WARNING - Ping to IP 90.166.47.3 from VM ctest-TestBasicPolicy-28419471-94487501 failed 2025-07-21 12:32:25,626 - INFO - Deleting VM ctest-TestBasicPolicy-28419471-16707866 2025-07-21 12:32:25,816 - INFO - Deleting VM ctest-TestBasicPolicy-28419471-94487501 2025-07-21 12:32:26,419 - INFO - Deleted policy ctest-policy-allow-all-38782374 2025-07-21 12:32:26,419 - INFO - Deleting VN ctest-vn-28258961 2025-07-21 12:32:26,461 - DEBUG - VN b658c767-f3f6-4b0a-b94b-e08411292ee4 still in use: Unable to complete operation on network b658c767-f3f6-4b0a-b94b-e08411292ee4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ceb5bf7d-935a-4e6f-8472-c9dfce62027f'] 2025-07-21 12:32:26,461 - WARNING - Deleting VN ctest-vn-28258961 failed..Will retry 2025-07-21 12:32:28,703 - DEBUG - Response for deleting network () 2025-07-21 12:32:28,703 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6db868f8-3430-4dab-8a57-ee506456ce6b 2025-07-21 12:32:28,714 - DEBUG - Response Code: 404 2025-07-21 12:32:28,714 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-07-21 12:32:28,724 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f7f1e7bb-90af-484f-b316-d13dd695dd25 2025-07-21 12:32:28,786 - DEBUG - Requesting: http://10.0.0.38:8082/project/b957c5a3-9af3-4d8d-83ca-41bd5401c727 2025-07-21 12:32:28,921 - INFO - Validated that VN ctest-vn-28258961 is not found in API Server 2025-07-21 12:32:28,954 - DEBUG - VN ctest-vn-28258961 is not present in Agent 10.0.0.38 2025-07-21 12:32:28,955 - INFO - Validated that VN ctest-vn-28258961 is not in any agent 2025-07-21 12:32:29,010 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-28258961 info 2025-07-21 12:32:29,011 - INFO - Deleting VN ctest-vn-40738306 2025-07-21 12:32:29,256 - DEBUG - Response for deleting network () 2025-07-21 12:32:29,256 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/dfec6a5c-2cbf-4945-8824-efe19c057c75 2025-07-21 12:32:29,263 - DEBUG - Response Code: 404 2025-07-21 12:32:29,264 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-07-21 12:32:29,272 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f7f1e7bb-90af-484f-b316-d13dd695dd25 2025-07-21 12:32:29,287 - DEBUG - Requesting: http://10.0.0.38:8082/project/b957c5a3-9af3-4d8d-83ca-41bd5401c727 2025-07-21 12:32:29,394 - INFO - Validated that VN ctest-vn-40738306 is not found in API Server 2025-07-21 12:32:29,419 - DEBUG - VN ctest-vn-40738306 is not present in Agent 10.0.0.38 2025-07-21 12:32:29,419 - INFO - Validated that VN ctest-vn-40738306 is not in any agent 2025-07-21 12:32:29,452 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-40738306 info 2025-07-21 12:32:29,759 - DEBUG - No XMPP flaps were noticed during the test 2025-07-21 12:32:29,760 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:41] 2025-07-21 12:32:29,760 - INFO - -------------------------------------------------------------------------------- 2025-07-21 12:32:30,701 - INFO - Deleted project: ctest-TestBasicPolicy-28419471, ID : b957c5a3-9af3-4d8d-83ca-41bd5401c727