2025-10-30 16:39:27,213 - INFO - Domain Default found not creating 2025-10-30 16:39:27,397 - INFO - Project ctest-TestBasicPolicy-78612972 not found, creating it 2025-10-30 16:39:28,155 - INFO - Created Project:ctest-TestBasicPolicy-78612972, ID : d08ff97a-408d-4b62-8c14-2542ed980745 2025-10-30 16:39:29,936 - INFO - ================================================================================ 2025-10-30 16:39:29,936 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-30 16:39:29,936 - 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 16:39:30,206 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.254': '0'}} with 2025-10-30 16:39:30,206 - INFO - Initial checks done. Running the testcase now 2025-10-30 16:39:30,206 - INFO - 2025-10-30 16:39:30,852 - DEBUG - Response for create_network : {'network': {'id': '817b8c96-394a-48db-9764-44185cab9c08', 'name': 'ctest-vn-97667011', 'tenant_id': 'd08ff97a408d4b628c142542ed980745', 'project_id': 'd08ff97a408d4b628c142542ed980745', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78612972', 'ctest-vn-97667011'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 16:39:31,045 - DEBUG - Response for create_subnet : {'subnet': {'id': '3bfa329c-0def-4e3d-b38b-c14aab465ddd', 'name': '', 'tenant_id': 'd08ff97a408d4b628c142542ed980745', 'network_id': '817b8c96-394a-48db-9764-44185cab9c08', 'ip_version': 4, 'cidr': '95.131.46.128/26', 'allocation_pools': [{'start': '95.131.46.130', 'end': '95.131.46.190'}], 'gateway_ip': '95.131.46.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '95.131.46.130', 'tags': [], 'project_id': 'd08ff97a408d4b628c142542ed980745'}} 2025-10-30 16:39:31,067 - INFO - Created VN ctest-vn-97667011 2025-10-30 16:39:31,121 - DEBUG - VN ctest-vn-97667011 UUID is 817b8c96-394a-48db-9764-44185cab9c08 2025-10-30 16:39:31,464 - DEBUG - Response for create_network : {'network': {'id': 'b6bded51-0cbf-402a-8e15-8feae7e0d590', 'name': 'ctest-vn-22115410', 'tenant_id': 'd08ff97a408d4b628c142542ed980745', 'project_id': 'd08ff97a408d4b628c142542ed980745', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78612972', 'ctest-vn-22115410'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 16:39:31,642 - DEBUG - Response for create_subnet : {'subnet': {'id': '941cbcfe-debb-43c8-af4d-0227308a8db0', 'name': '', 'tenant_id': 'd08ff97a408d4b628c142542ed980745', 'network_id': 'b6bded51-0cbf-402a-8e15-8feae7e0d590', 'ip_version': 4, 'cidr': '111.151.49.64/26', 'allocation_pools': [{'start': '111.151.49.66', 'end': '111.151.49.126'}], 'gateway_ip': '111.151.49.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.151.49.66', 'tags': [], 'project_id': 'd08ff97a408d4b628c142542ed980745'}} 2025-10-30 16:39:31,662 - INFO - Created VN ctest-vn-22115410 2025-10-30 16:39:31,717 - DEBUG - VN ctest-vn-22115410 UUID is b6bded51-0cbf-402a-8e15-8feae7e0d590 2025-10-30 16:39:31,840 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-78612972:ctest-vn-97667011, 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-78612972:ctest-vn-22115410, 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 16:39:32,179 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '817b8c96-394a-48db-9764-44185cab9c08', 'name': 'ctest-vn-97667011', 'tenant_id': 'd08ff97a408d4b628c142542ed980745', 'project_id': 'd08ff97a408d4b628c142542ed980745', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3bfa329c-0def-4e3d-b38b-c14aab465ddd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78612972', 'ctest-vn-97667011'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-78612972', 'ctest-policy-allow-all-10154729']], 'subnet_ipam': [{'subnet_cidr': '95.131.46.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-30 16:39:32,431 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b6bded51-0cbf-402a-8e15-8feae7e0d590', 'name': 'ctest-vn-22115410', 'tenant_id': 'd08ff97a408d4b628c142542ed980745', 'project_id': 'd08ff97a408d4b628c142542ed980745', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['941cbcfe-debb-43c8-af4d-0227308a8db0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78612972', 'ctest-vn-22115410'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-78612972', 'ctest-policy-allow-all-10154729']], 'subnet_ipam': [{'subnet_cidr': '111.151.49.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-30 16:39:32,602 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-10-30 16:39:32,956 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-10-30 16:39:32,999 - DEBUG - Requesting: http://10.0.0.65:8082/domain/3a69b510-c9de-4e4f-b626-bc352dc3138e 2025-10-30 16:39:33,017 - DEBUG - Requesting: http://10.0.0.65:8082/project/d08ff97a-408d-4b62-8c14-2542ed980745 2025-10-30 16:39:33,092 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/817b8c96-394a-48db-9764-44185cab9c08 2025-10-30 16:39:33,105 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/817b8c96-394a-48db-9764-44185cab9c08 2025-10-30 16:39:33,115 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/4457d78b-d8b3-4989-ba2c-e82b65357e4b 2025-10-30 16:39:33,124 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/4457d78b-d8b3-4989-ba2c-e82b65357e4b 2025-10-30 16:39:33,131 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/0f2ba55c-8b72-4ef6-b2d8-a61caa1f6ef4 2025-10-30 16:39:33,139 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-30 16:39:33,140 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/817b8c96-394a-48db-9764-44185cab9c08 2025-10-30 16:39:33,149 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/4457d78b-d8b3-4989-ba2c-e82b65357e4b 2025-10-30 16:39:33,165 - INFO - Verified VN network id 12 for VN 817b8c96-394a-48db-9764-44185cab9c08 2025-10-30 16:39:33,165 - INFO - Verifications in API Server for VN ctest-vn-97667011 passed 2025-10-30 16:39:33,165 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/817b8c96-394a-48db-9764-44185cab9c08 2025-10-30 16:39:33,177 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/4457d78b-d8b3-4989-ba2c-e82b65357e4b 2025-10-30 16:39:33,186 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/4457d78b-d8b3-4989-ba2c-e82b65357e4b 2025-10-30 16:39:33,194 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/0f2ba55c-8b72-4ef6-b2d8-a61caa1f6ef4 2025-10-30 16:39:33,213 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-78612972:ctest-vn-97667011', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-78612972', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9330205629862267099', 'uuid-lslong': '10908919068822838280'}, 'enable': 'true', 'created': '2025-10-30T16:39:30', 'last-modified': '2025-10-30T16:39:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.052593'} 2025-10-30 16:39:33,222 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-30 16:39:33,223 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-97667011 passed 2025-10-30 16:39:33,223 - DEBUG - ====Verifying policy data for ctest-vn-97667011 in API_Server ====== 2025-10-30 16:39:33,223 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-10-30 16:39:33,231 - DEBUG - Requesting: http://10.0.0.65:8082/domain/3a69b510-c9de-4e4f-b626-bc352dc3138e 2025-10-30 16:39:33,243 - DEBUG - Requesting: http://10.0.0.65:8082/project/d08ff97a-408d-4b62-8c14-2542ed980745 2025-10-30 16:39:33,330 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/817b8c96-394a-48db-9764-44185cab9c08 2025-10-30 16:39:33,344 - DEBUG - ==>Verifying data for policy with id: b3d3f155-a0c7-4314-adb1-4a7d282c6349, fqn: ['default-domain', 'ctest-TestBasicPolicy-78612972', 'ctest-policy-allow-all-10154729'] 2025-10-30 16:39:33,344 - INFO - VN ctest-vn-97667011 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-30 16:39:33,344 - DEBUG - Verifying the vn in opserver 2025-10-30 16:39:33,344 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-78612972:ctest-vn-97667011 virtual network link through opserver 10.0.0.65 2025-10-30 16:39:33,344 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-10-30 16:39:33,681 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-10-30 16:39:33,747 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-78612972:ctest-vn-97667011', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-78612972:ctest-vn-97667011?flat'} 2025-10-30 16:39:33,747 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-78612972:ctest-vn-97667011 is found in opserver 2025-10-30 16:39:33,758 - DEBUG - Do not have enough data to verify VN in agent 2025-10-30 16:39:33,763 - DEBUG - VRF ids for VN ctest-vn-97667011: {} 2025-10-30 16:39:33,763 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-10-30 16:39:33,770 - DEBUG - Requesting: http://10.0.0.65:8082/domain/3a69b510-c9de-4e4f-b626-bc352dc3138e 2025-10-30 16:39:33,785 - DEBUG - Requesting: http://10.0.0.65:8082/project/d08ff97a-408d-4b62-8c14-2542ed980745 2025-10-30 16:39:33,861 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/b6bded51-0cbf-402a-8e15-8feae7e0d590 2025-10-30 16:39:33,874 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/b6bded51-0cbf-402a-8e15-8feae7e0d590 2025-10-30 16:39:33,885 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/85b46758-b9f0-4485-82f5-3307edf06af1 2025-10-30 16:39:33,894 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/85b46758-b9f0-4485-82f5-3307edf06af1 2025-10-30 16:39:33,903 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/290db3b3-ecf6-431d-a3ad-0a99e8e87b05 2025-10-30 16:39:33,910 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-30 16:39:33,911 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/b6bded51-0cbf-402a-8e15-8feae7e0d590 2025-10-30 16:39:33,921 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/85b46758-b9f0-4485-82f5-3307edf06af1 2025-10-30 16:39:33,940 - INFO - Verified VN network id 13 for VN b6bded51-0cbf-402a-8e15-8feae7e0d590 2025-10-30 16:39:33,940 - INFO - Verifications in API Server for VN ctest-vn-22115410 passed 2025-10-30 16:39:33,940 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/b6bded51-0cbf-402a-8e15-8feae7e0d590 2025-10-30 16:39:33,957 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/85b46758-b9f0-4485-82f5-3307edf06af1 2025-10-30 16:39:33,966 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/85b46758-b9f0-4485-82f5-3307edf06af1 2025-10-30 16:39:33,975 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/290db3b3-ecf6-431d-a3ad-0a99e8e87b05 2025-10-30 16:39:33,988 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-78612972:ctest-vn-22115410', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-78612972', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13167941817863192618', 'uuid-lslong': '10238247566972081552'}, 'enable': 'true', 'created': '2025-10-30T16:39:31', 'last-modified': '2025-10-30T16:39:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.586250'} 2025-10-30 16:39:33,995 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-30 16:39:33,995 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-22115410 passed 2025-10-30 16:39:33,995 - DEBUG - ====Verifying policy data for ctest-vn-22115410 in API_Server ====== 2025-10-30 16:39:33,995 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-10-30 16:39:34,001 - DEBUG - Requesting: http://10.0.0.65:8082/domain/3a69b510-c9de-4e4f-b626-bc352dc3138e 2025-10-30 16:39:34,013 - DEBUG - Requesting: http://10.0.0.65:8082/project/d08ff97a-408d-4b62-8c14-2542ed980745 2025-10-30 16:39:34,105 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/b6bded51-0cbf-402a-8e15-8feae7e0d590 2025-10-30 16:39:34,118 - DEBUG - ==>Verifying data for policy with id: b3d3f155-a0c7-4314-adb1-4a7d282c6349, fqn: ['default-domain', 'ctest-TestBasicPolicy-78612972', 'ctest-policy-allow-all-10154729'] 2025-10-30 16:39:34,118 - INFO - VN ctest-vn-22115410 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-30 16:39:34,118 - DEBUG - Verifying the vn in opserver 2025-10-30 16:39:34,118 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-78612972:ctest-vn-22115410 virtual network link through opserver 10.0.0.65 2025-10-30 16:39:34,118 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-10-30 16:39:34,130 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-78612972:ctest-vn-22115410', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-78612972:ctest-vn-22115410?flat'} 2025-10-30 16:39:34,130 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-78612972:ctest-vn-22115410 is found in opserver 2025-10-30 16:39:34,142 - DEBUG - Do not have enough data to verify VN in agent 2025-10-30 16:39:34,148 - DEBUG - VRF ids for VN ctest-vn-22115410: {} 2025-10-30 16:39:34,229 - DEBUG - Services list from nova: [, , ] 2025-10-30 16:39:35,426 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4548-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4548-1) 2025-10-30 16:39:36,773 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4548-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4548-1) 2025-10-30 16:39:36,774 - INFO - Waiting for VM ctest-TestBasicPolicy-78612972-02350399 to be up.. 2025-10-30 16:39:36,893 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 16:39:41,983 - DEBUG - VM is in ACTIVE state now 2025-10-30 16:39:41,983 - INFO - VM name : ctest-TestBasicPolicy-78612972-02350399 2025-10-30 16:39:42,073 - DEBUG - VM ctest-TestBasicPolicy-78612972-02350399 ID is ecd4263d-7ea3-4a85-a18a-1c5a472f710d 2025-10-30 16:39:42,095 - DEBUG - VM ctest-TestBasicPolicy-78612972-02350399 launched on Node cn-jenkins-deploy-platform-ansible-os-4548-1 2025-10-30 16:39:42,182 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/ecd4263d-7ea3-4a85-a18a-1c5a472f710d 2025-10-30 16:39:42,193 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/cd3c4d45-963d-4738-bf12-f57964e20a6d 2025-10-30 16:39:45,447 - 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 1009ms') 2025-10-30 16:39:45,447 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-78612972-02350399 failed! 2025-10-30 16:39:45,505 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-78612972:ctest-vn-97667011 is 95.131.46.129 and allocation pool is NOT set 2025-10-30 16:39:47,579 - 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=5.89 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.845 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.845/3.369/5.893/2.524 ms') 2025-10-30 16:39:47,579 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-78612972-02350399 passed 2025-10-30 16:39:47,737 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 16:39:47,737 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-78612972-02350399, IP 95.131.46.131, Port 22 2025-10-30 16:39:47,804 - 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 16:39:47,916 - DEBUG - VM ctest-TestBasicPolicy-78612972-02350399 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-30 16:39:52,917 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 16:39:52,917 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-78612972-02350399, IP 95.131.46.131, Port 22 2025-10-30 16:39:53,089 - DEBUG - VM ctest-TestBasicPolicy-78612972-02350399 is ready for SSH connections 2025-10-30 16:39:53,089 - INFO - Waiting for VM ctest-TestBasicPolicy-78612972-09290933 to be up.. 2025-10-30 16:39:53,181 - DEBUG - VM is in ACTIVE state now 2025-10-30 16:39:53,182 - INFO - VM name : ctest-TestBasicPolicy-78612972-09290933 2025-10-30 16:39:53,274 - DEBUG - VM ctest-TestBasicPolicy-78612972-09290933 ID is 3017f7bf-d5b5-4fbf-b492-aef18313526c 2025-10-30 16:39:53,274 - DEBUG - VM ctest-TestBasicPolicy-78612972-09290933 launched on Node cn-jenkins-deploy-platform-ansible-os-4548-1 2025-10-30 16:39:53,366 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/3017f7bf-d5b5-4fbf-b492-aef18313526c 2025-10-30 16:39:53,376 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/c692417f-8b6c-4274-9bcd-6593700b288e 2025-10-30 16:39:54,627 - 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.25 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.508 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.508/1.878/3.249/1.370 ms') 2025-10-30 16:39:54,627 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-78612972-09290933 passed 2025-10-30 16:39:54,781 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 16:39:54,781 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-78612972-09290933, IP 111.151.49.67, Port 22 2025-10-30 16:39:54,947 - DEBUG - VM ctest-TestBasicPolicy-78612972-09290933 is ready for SSH connections 2025-10-30 16:39:54,948 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 16:39:54,948 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.151.49.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-10-30 16:39:54,948 - DEBUG - ping -s 56 -c 3 -W 1 111.151.49.67 2025-10-30 16:39:59,197 - DEBUG - PING 111.151.49.67 (111.151.49.67): 56 data bytes 64 bytes from 111.151.49.67: seq=0 ttl=63 time=4.713 ms 64 bytes from 111.151.49.67: seq=1 ttl=63 time=1.329 ms 64 bytes from 111.151.49.67: seq=2 ttl=63 time=1.583 ms --- 111.151.49.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.329/2.541/4.713 ms 2025-10-30 16:39:59,197 - INFO - Ping to IP 111.151.49.67 from VM ctest-TestBasicPolicy-78612972-02350399 passed 2025-10-30 16:39:59,392 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b3d3f155-a0c7-4314-adb1-4a7d282c6349", "href": "http://10.0.0.65:8082/network-policy/b3d3f155-a0c7-4314-adb1-4a7d282c6349"}} 2025-10-30 16:39:59,392 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 16:39:59,393 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.151.49.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-10-30 16:39:59,393 - DEBUG - ping -s 56 -c 3 -W 1 111.151.49.67 2025-10-30 16:40:02,628 - DEBUG - PING 111.151.49.67 (111.151.49.67): 56 data bytes --- 111.151.49.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-30 16:40:02,629 - WARNING - Ping to IP 111.151.49.67 from VM ctest-TestBasicPolicy-78612972-02350399 failed 2025-10-30 16:40:02,629 - INFO - Deleting VM ctest-TestBasicPolicy-78612972-09290933 2025-10-30 16:40:02,743 - INFO - Deleting VM ctest-TestBasicPolicy-78612972-02350399 2025-10-30 16:40:03,307 - INFO - Deleted policy ctest-policy-allow-all-10154729 2025-10-30 16:40:03,307 - INFO - Deleting VN ctest-vn-22115410 2025-10-30 16:40:03,370 - DEBUG - VN b6bded51-0cbf-402a-8e15-8feae7e0d590 still in use: Unable to complete operation on network b6bded51-0cbf-402a-8e15-8feae7e0d590. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ce924de2-04d9-4f81-9872-31272c4deba9'] 2025-10-30 16:40:03,370 - WARNING - Deleting VN ctest-vn-22115410 failed..Will retry 2025-10-30 16:40:05,530 - DEBUG - Response for deleting network () 2025-10-30 16:40:05,531 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/85b46758-b9f0-4485-82f5-3307edf06af1 2025-10-30 16:40:05,541 - DEBUG - Response Code: 404 2025-10-30 16:40:05,542 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-10-30 16:40:05,550 - DEBUG - Requesting: http://10.0.0.65:8082/domain/3a69b510-c9de-4e4f-b626-bc352dc3138e 2025-10-30 16:40:05,608 - DEBUG - Requesting: http://10.0.0.65:8082/project/d08ff97a-408d-4b62-8c14-2542ed980745 2025-10-30 16:40:05,693 - INFO - Validated that VN ctest-vn-22115410 is not found in API Server 2025-10-30 16:40:05,705 - DEBUG - VN ctest-vn-22115410 is not present in Agent 10.0.0.65 2025-10-30 16:40:05,705 - INFO - Validated that VN ctest-vn-22115410 is not in any agent 2025-10-30 16:40:05,725 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-22115410 info 2025-10-30 16:40:05,725 - INFO - Deleting VN ctest-vn-97667011 2025-10-30 16:40:05,860 - DEBUG - Response for deleting network () 2025-10-30 16:40:05,860 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/4457d78b-d8b3-4989-ba2c-e82b65357e4b 2025-10-30 16:40:05,871 - DEBUG - Response Code: 404 2025-10-30 16:40:05,871 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-10-30 16:40:05,878 - DEBUG - Requesting: http://10.0.0.65:8082/domain/3a69b510-c9de-4e4f-b626-bc352dc3138e 2025-10-30 16:40:05,936 - DEBUG - Requesting: http://10.0.0.65:8082/project/d08ff97a-408d-4b62-8c14-2542ed980745 2025-10-30 16:40:06,018 - INFO - Validated that VN ctest-vn-97667011 is not found in API Server 2025-10-30 16:40:06,027 - DEBUG - VN ctest-vn-97667011 is not present in Agent 10.0.0.65 2025-10-30 16:40:06,028 - INFO - Validated that VN ctest-vn-97667011 is not in any agent 2025-10-30 16:40:06,043 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-97667011 info 2025-10-30 16:40:06,303 - DEBUG - No XMPP flaps were noticed during the test 2025-10-30 16:40:06,303 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:37] 2025-10-30 16:40:06,303 - INFO - -------------------------------------------------------------------------------- 2025-10-30 16:40:07,089 - INFO - Deleted project: ctest-TestBasicPolicy-78612972, ID : d08ff97a-408d-4b62-8c14-2542ed980745