2025-10-16 10:09:54,646 - INFO - Domain Default found not creating 2025-10-16 10:09:54,830 - INFO - Project ctest-TestBasicPolicy-23705576 not found, creating it 2025-10-16 10:09:55,292 - INFO - Created Project:ctest-TestBasicPolicy-23705576, ID : b286f802-21cd-4917-8f49-db1484b1d4ae 2025-10-16 10:09:56,896 - INFO - ================================================================================ 2025-10-16 10:09:56,896 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-16 10:09:56,896 - 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-16 10:09:57,151 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-10-16 10:09:57,151 - INFO - Initial checks done. Running the testcase now 2025-10-16 10:09:57,151 - INFO - 2025-10-16 10:09:57,738 - DEBUG - Response for create_network : {'network': {'id': '73c76cd1-5a58-442a-90f1-26167f34a618', 'name': 'ctest-vn-02285377', 'tenant_id': 'b286f80221cd49178f49db1484b1d4ae', 'project_id': 'b286f80221cd49178f49db1484b1d4ae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23705576', 'ctest-vn-02285377'], 'port_security_enabled': True, 'description': ''}} 2025-10-16 10:09:57,963 - DEBUG - Response for create_subnet : {'subnet': {'id': '7cd8d79b-95b9-49fe-a9ae-cfa4059743e1', 'name': '', 'tenant_id': 'b286f80221cd49178f49db1484b1d4ae', 'network_id': '73c76cd1-5a58-442a-90f1-26167f34a618', 'ip_version': 4, 'cidr': '26.182.21.192/26', 'allocation_pools': [{'start': '26.182.21.194', 'end': '26.182.21.254'}], 'gateway_ip': '26.182.21.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.182.21.194', 'tags': [], 'project_id': 'b286f80221cd49178f49db1484b1d4ae'}} 2025-10-16 10:09:57,982 - INFO - Created VN ctest-vn-02285377 2025-10-16 10:09:58,036 - DEBUG - VN ctest-vn-02285377 UUID is 73c76cd1-5a58-442a-90f1-26167f34a618 2025-10-16 10:09:58,356 - DEBUG - Response for create_network : {'network': {'id': 'f6b43f59-a26d-4f28-9582-01810a5205f4', 'name': 'ctest-vn-22833298', 'tenant_id': 'b286f80221cd49178f49db1484b1d4ae', 'project_id': 'b286f80221cd49178f49db1484b1d4ae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23705576', 'ctest-vn-22833298'], 'port_security_enabled': True, 'description': ''}} 2025-10-16 10:09:58,559 - DEBUG - Response for create_subnet : {'subnet': {'id': '6c95b741-0ec3-4a49-a9c7-382aa3f39e56', 'name': '', 'tenant_id': 'b286f80221cd49178f49db1484b1d4ae', 'network_id': 'f6b43f59-a26d-4f28-9582-01810a5205f4', 'ip_version': 4, 'cidr': '8.22.56.64/26', 'allocation_pools': [{'start': '8.22.56.66', 'end': '8.22.56.126'}], 'gateway_ip': '8.22.56.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.22.56.66', 'tags': [], 'project_id': 'b286f80221cd49178f49db1484b1d4ae'}} 2025-10-16 10:09:58,583 - INFO - Created VN ctest-vn-22833298 2025-10-16 10:09:58,636 - DEBUG - VN ctest-vn-22833298 UUID is f6b43f59-a26d-4f28-9582-01810a5205f4 2025-10-16 10:09:58,755 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-23705576:ctest-vn-02285377, 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-23705576:ctest-vn-22833298, 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-16 10:09:59,068 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '73c76cd1-5a58-442a-90f1-26167f34a618', 'name': 'ctest-vn-02285377', 'tenant_id': 'b286f80221cd49178f49db1484b1d4ae', 'project_id': 'b286f80221cd49178f49db1484b1d4ae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7cd8d79b-95b9-49fe-a9ae-cfa4059743e1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23705576', 'ctest-vn-02285377'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23705576', 'ctest-policy-allow-all-40020767']], 'subnet_ipam': [{'subnet_cidr': '26.182.21.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-16 10:09:59,298 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f6b43f59-a26d-4f28-9582-01810a5205f4', 'name': 'ctest-vn-22833298', 'tenant_id': 'b286f80221cd49178f49db1484b1d4ae', 'project_id': 'b286f80221cd49178f49db1484b1d4ae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6c95b741-0ec3-4a49-a9c7-382aa3f39e56'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23705576', 'ctest-vn-22833298'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23705576', 'ctest-policy-allow-all-40020767']], 'subnet_ipam': [{'subnet_cidr': '8.22.56.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-16 10:09:59,448 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-16 10:09:59,803 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-16 10:09:59,836 - DEBUG - Requesting: http://10.0.0.38:8082/domain/60d8fb0c-894c-452c-bfe3-cf9364634df3 2025-10-16 10:09:59,850 - DEBUG - Requesting: http://10.0.0.38:8082/project/b286f802-21cd-4917-8f49-db1484b1d4ae 2025-10-16 10:09:59,925 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/73c76cd1-5a58-442a-90f1-26167f34a618 2025-10-16 10:09:59,938 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/73c76cd1-5a58-442a-90f1-26167f34a618 2025-10-16 10:09:59,948 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2c2cf587-1ed4-4568-a527-459ea12234a4 2025-10-16 10:09:59,959 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2c2cf587-1ed4-4568-a527-459ea12234a4 2025-10-16 10:09:59,968 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/6e18c8a2-da87-4fff-97fc-5eea578b33cc 2025-10-16 10:09:59,976 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-16 10:09:59,976 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/73c76cd1-5a58-442a-90f1-26167f34a618 2025-10-16 10:09:59,987 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2c2cf587-1ed4-4568-a527-459ea12234a4 2025-10-16 10:10:00,002 - INFO - Verified VN network id 11 for VN 73c76cd1-5a58-442a-90f1-26167f34a618 2025-10-16 10:10:00,002 - INFO - Verifications in API Server for VN ctest-vn-02285377 passed 2025-10-16 10:10:00,002 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/73c76cd1-5a58-442a-90f1-26167f34a618 2025-10-16 10:10:00,014 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2c2cf587-1ed4-4568-a527-459ea12234a4 2025-10-16 10:10:00,023 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2c2cf587-1ed4-4568-a527-459ea12234a4 2025-10-16 10:10:00,031 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/6e18c8a2-da87-4fff-97fc-5eea578b33cc 2025-10-16 10:10:00,046 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23705576:ctest-vn-02285377', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23705576', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8342756481146831914', 'uuid-lslong': '10444170888914183704'}, 'enable': 'true', 'created': '2025-10-16T10:09:57', 'last-modified': '2025-10-16T10:09:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.005511'} 2025-10-16 10:10:00,053 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-16 10:10:00,054 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-02285377 passed 2025-10-16 10:10:00,054 - DEBUG - ====Verifying policy data for ctest-vn-02285377 in API_Server ====== 2025-10-16 10:10:00,054 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-16 10:10:00,061 - DEBUG - Requesting: http://10.0.0.38:8082/domain/60d8fb0c-894c-452c-bfe3-cf9364634df3 2025-10-16 10:10:00,075 - DEBUG - Requesting: http://10.0.0.38:8082/project/b286f802-21cd-4917-8f49-db1484b1d4ae 2025-10-16 10:10:00,150 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/73c76cd1-5a58-442a-90f1-26167f34a618 2025-10-16 10:10:00,161 - DEBUG - ==>Verifying data for policy with id: 9c98ac91-4cab-458b-9eaa-528238e201e7, fqn: ['default-domain', 'ctest-TestBasicPolicy-23705576', 'ctest-policy-allow-all-40020767'] 2025-10-16 10:10:00,161 - INFO - VN ctest-vn-02285377 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-16 10:10:00,161 - DEBUG - Verifying the vn in opserver 2025-10-16 10:10:00,162 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23705576:ctest-vn-02285377 virtual network link through opserver 10.0.0.38 2025-10-16 10:10:00,162 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-16 10:10:00,506 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-16 10:10:00,569 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23705576:ctest-vn-02285377', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23705576:ctest-vn-02285377?flat'} 2025-10-16 10:10:00,569 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23705576:ctest-vn-02285377 is found in opserver 2025-10-16 10:10:00,580 - DEBUG - Do not have enough data to verify VN in agent 2025-10-16 10:10:00,585 - DEBUG - VRF ids for VN ctest-vn-02285377: {} 2025-10-16 10:10:00,585 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-16 10:10:00,591 - DEBUG - Requesting: http://10.0.0.38:8082/domain/60d8fb0c-894c-452c-bfe3-cf9364634df3 2025-10-16 10:10:00,603 - DEBUG - Requesting: http://10.0.0.38:8082/project/b286f802-21cd-4917-8f49-db1484b1d4ae 2025-10-16 10:10:00,673 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f6b43f59-a26d-4f28-9582-01810a5205f4 2025-10-16 10:10:00,686 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f6b43f59-a26d-4f28-9582-01810a5205f4 2025-10-16 10:10:00,696 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/df0ec00d-87da-4ebf-9cf8-2b2d7d2327b1 2025-10-16 10:10:00,703 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/df0ec00d-87da-4ebf-9cf8-2b2d7d2327b1 2025-10-16 10:10:00,711 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/3657f09a-df43-4031-8433-149c8d2a55d2 2025-10-16 10:10:00,718 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-16 10:10:00,718 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f6b43f59-a26d-4f28-9582-01810a5205f4 2025-10-16 10:10:00,728 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/df0ec00d-87da-4ebf-9cf8-2b2d7d2327b1 2025-10-16 10:10:00,742 - INFO - Verified VN network id 12 for VN f6b43f59-a26d-4f28-9582-01810a5205f4 2025-10-16 10:10:00,743 - INFO - Verifications in API Server for VN ctest-vn-22833298 passed 2025-10-16 10:10:00,743 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f6b43f59-a26d-4f28-9582-01810a5205f4 2025-10-16 10:10:00,752 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/df0ec00d-87da-4ebf-9cf8-2b2d7d2327b1 2025-10-16 10:10:00,760 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/df0ec00d-87da-4ebf-9cf8-2b2d7d2327b1 2025-10-16 10:10:00,768 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/3657f09a-df43-4031-8433-149c8d2a55d2 2025-10-16 10:10:00,782 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23705576:ctest-vn-22833298', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23705576', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17776903283347902248', 'uuid-lslong': '10773174912359204340'}, 'enable': 'true', 'created': '2025-10-16T10:09:58', 'last-modified': '2025-10-16T10:09:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.509703'} 2025-10-16 10:10:00,789 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-16 10:10:00,789 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-22833298 passed 2025-10-16 10:10:00,789 - DEBUG - ====Verifying policy data for ctest-vn-22833298 in API_Server ====== 2025-10-16 10:10:00,789 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-16 10:10:00,795 - DEBUG - Requesting: http://10.0.0.38:8082/domain/60d8fb0c-894c-452c-bfe3-cf9364634df3 2025-10-16 10:10:00,806 - DEBUG - Requesting: http://10.0.0.38:8082/project/b286f802-21cd-4917-8f49-db1484b1d4ae 2025-10-16 10:10:00,881 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f6b43f59-a26d-4f28-9582-01810a5205f4 2025-10-16 10:10:00,892 - DEBUG - ==>Verifying data for policy with id: 9c98ac91-4cab-458b-9eaa-528238e201e7, fqn: ['default-domain', 'ctest-TestBasicPolicy-23705576', 'ctest-policy-allow-all-40020767'] 2025-10-16 10:10:00,892 - INFO - VN ctest-vn-22833298 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-16 10:10:00,892 - DEBUG - Verifying the vn in opserver 2025-10-16 10:10:00,892 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23705576:ctest-vn-22833298 virtual network link through opserver 10.0.0.38 2025-10-16 10:10:00,892 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-16 10:10:00,903 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23705576:ctest-vn-22833298', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23705576:ctest-vn-22833298?flat'} 2025-10-16 10:10:00,903 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23705576:ctest-vn-22833298 is found in opserver 2025-10-16 10:10:00,916 - DEBUG - Do not have enough data to verify VN in agent 2025-10-16 10:10:00,922 - DEBUG - VRF ids for VN ctest-vn-22833298: {} 2025-10-16 10:10:01,006 - DEBUG - Services list from nova: [, , ] 2025-10-16 10:10:02,168 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4343-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4343-1) 2025-10-16 10:10:03,456 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4343-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4343-1) 2025-10-16 10:10:03,456 - INFO - Waiting for VM ctest-TestBasicPolicy-23705576-02078230 to be up.. 2025-10-16 10:10:03,564 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-16 10:10:08,664 - DEBUG - VM is in ACTIVE state now 2025-10-16 10:10:08,665 - INFO - VM name : ctest-TestBasicPolicy-23705576-02078230 2025-10-16 10:10:08,750 - DEBUG - VM ctest-TestBasicPolicy-23705576-02078230 ID is c456bc84-6f74-4707-ae97-c4b6cfe85c5c 2025-10-16 10:10:08,773 - DEBUG - VM ctest-TestBasicPolicy-23705576-02078230 launched on Node cn-jenkins-deploy-platform-ansible-os-4343-1 2025-10-16 10:10:08,855 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c456bc84-6f74-4707-ae97-c4b6cfe85c5c 2025-10-16 10:10:08,863 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ae805b09-ae16-412f-8665-4014cc211181 2025-10-16 10:10:12,124 - 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') 2025-10-16 10:10:12,124 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-23705576-02078230 failed! 2025-10-16 10:10:12,180 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-23705576:ctest-vn-02285377 is 26.182.21.193 and allocation pool is NOT set 2025-10-16 10:10:14,243 - 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.64 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.13 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.131/5.887/9.644/3.756 ms') 2025-10-16 10:10:14,243 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-23705576-02078230 passed 2025-10-16 10:10:14,396 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 10:10:14,396 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-23705576-02078230, IP 26.182.21.195, Port 22 2025-10-16 10:10:14,463 - 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-16 10:10:14,539 - DEBUG - VM ctest-TestBasicPolicy-23705576-02078230 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-16 10:10:19,540 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 10:10:19,540 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-23705576-02078230, IP 26.182.21.195, Port 22 2025-10-16 10:10:19,696 - DEBUG - VM ctest-TestBasicPolicy-23705576-02078230 is ready for SSH connections 2025-10-16 10:10:19,696 - INFO - Waiting for VM ctest-TestBasicPolicy-23705576-43797885 to be up.. 2025-10-16 10:10:19,775 - DEBUG - VM is in ACTIVE state now 2025-10-16 10:10:19,775 - INFO - VM name : ctest-TestBasicPolicy-23705576-43797885 2025-10-16 10:10:19,853 - DEBUG - VM ctest-TestBasicPolicy-23705576-43797885 ID is 6e8523d4-c522-496e-965d-eca7b7c6f638 2025-10-16 10:10:19,853 - DEBUG - VM ctest-TestBasicPolicy-23705576-43797885 launched on Node cn-jenkins-deploy-platform-ansible-os-4343-1 2025-10-16 10:10:19,937 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6e8523d4-c522-496e-965d-eca7b7c6f638 2025-10-16 10:10:19,945 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/31a8b94f-eb96-4376-a69a-02d06ea1813f 2025-10-16 10:10:21,188 - 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.27 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.433 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.433/1.852/3.271/1.419 ms') 2025-10-16 10:10:21,188 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-23705576-43797885 passed 2025-10-16 10:10:21,344 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 10:10:21,344 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-23705576-43797885, IP 8.22.56.67, Port 22 2025-10-16 10:10:21,508 - DEBUG - VM ctest-TestBasicPolicy-23705576-43797885 is ready for SSH connections 2025-10-16 10:10:21,508 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 10:10:21,508 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 8.22.56.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-16 10:10:21,508 - DEBUG - ping -s 56 -c 3 -W 1 8.22.56.67 2025-10-16 10:10:25,615 - DEBUG - PING 8.22.56.67 (8.22.56.67): 56 data bytes 64 bytes from 8.22.56.67: seq=0 ttl=63 time=3.578 ms 64 bytes from 8.22.56.67: seq=1 ttl=63 time=0.943 ms 64 bytes from 8.22.56.67: seq=2 ttl=63 time=0.899 ms --- 8.22.56.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.899/1.806/3.578 ms 2025-10-16 10:10:25,616 - INFO - Ping to IP 8.22.56.67 from VM ctest-TestBasicPolicy-23705576-02078230 passed 2025-10-16 10:10:25,800 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9c98ac91-4cab-458b-9eaa-528238e201e7", "href": "http://10.0.0.38:8082/network-policy/9c98ac91-4cab-458b-9eaa-528238e201e7"}} 2025-10-16 10:10:25,800 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 10:10:25,800 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 8.22.56.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-16 10:10:25,800 - DEBUG - ping -s 56 -c 3 -W 1 8.22.56.67 2025-10-16 10:10:29,033 - DEBUG - PING 8.22.56.67 (8.22.56.67): 56 data bytes --- 8.22.56.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-16 10:10:29,033 - WARNING - Ping to IP 8.22.56.67 from VM ctest-TestBasicPolicy-23705576-02078230 failed 2025-10-16 10:10:29,034 - INFO - Deleting VM ctest-TestBasicPolicy-23705576-43797885 2025-10-16 10:10:29,110 - INFO - Deleting VM ctest-TestBasicPolicy-23705576-02078230 2025-10-16 10:10:29,528 - INFO - Deleted policy ctest-policy-allow-all-40020767 2025-10-16 10:10:29,528 - INFO - Deleting VN ctest-vn-22833298 2025-10-16 10:10:29,568 - DEBUG - VN f6b43f59-a26d-4f28-9582-01810a5205f4 still in use: Unable to complete operation on network f6b43f59-a26d-4f28-9582-01810a5205f4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7930532a-da48-46f2-83eb-e5f86f57fc7b'] 2025-10-16 10:10:29,569 - WARNING - Deleting VN ctest-vn-22833298 failed..Will retry 2025-10-16 10:10:31,676 - DEBUG - Response for deleting network () 2025-10-16 10:10:31,676 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/df0ec00d-87da-4ebf-9cf8-2b2d7d2327b1 2025-10-16 10:10:31,682 - DEBUG - Response Code: 404 2025-10-16 10:10:31,682 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-16 10:10:31,695 - DEBUG - Requesting: http://10.0.0.38:8082/domain/60d8fb0c-894c-452c-bfe3-cf9364634df3 2025-10-16 10:10:31,755 - DEBUG - Requesting: http://10.0.0.38:8082/project/b286f802-21cd-4917-8f49-db1484b1d4ae 2025-10-16 10:10:31,831 - INFO - Validated that VN ctest-vn-22833298 is not found in API Server 2025-10-16 10:10:31,842 - DEBUG - VN ctest-vn-22833298 is not present in Agent 10.0.0.38 2025-10-16 10:10:31,842 - INFO - Validated that VN ctest-vn-22833298 is not in any agent 2025-10-16 10:10:31,855 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-22833298 info 2025-10-16 10:10:31,856 - INFO - Deleting VN ctest-vn-02285377 2025-10-16 10:10:31,963 - DEBUG - Response for deleting network () 2025-10-16 10:10:31,963 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2c2cf587-1ed4-4568-a527-459ea12234a4 2025-10-16 10:10:31,970 - DEBUG - Response Code: 404 2025-10-16 10:10:31,970 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-16 10:10:31,977 - DEBUG - Requesting: http://10.0.0.38:8082/domain/60d8fb0c-894c-452c-bfe3-cf9364634df3 2025-10-16 10:10:32,030 - DEBUG - Requesting: http://10.0.0.38:8082/project/b286f802-21cd-4917-8f49-db1484b1d4ae 2025-10-16 10:10:32,113 - INFO - Validated that VN ctest-vn-02285377 is not found in API Server 2025-10-16 10:10:32,123 - DEBUG - VN ctest-vn-02285377 is not present in Agent 10.0.0.38 2025-10-16 10:10:32,123 - INFO - Validated that VN ctest-vn-02285377 is not in any agent 2025-10-16 10:10:32,137 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-02285377 info 2025-10-16 10:10:32,397 - DEBUG - No XMPP flaps were noticed during the test 2025-10-16 10:10:32,397 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36] 2025-10-16 10:10:32,397 - INFO - -------------------------------------------------------------------------------- 2025-10-16 10:10:33,177 - INFO - Deleted project: ctest-TestBasicPolicy-23705576, ID : b286f802-21cd-4917-8f49-db1484b1d4ae