2025-11-19 16:13:43,813 - INFO - Domain Default found not creating 2025-11-19 16:13:44,013 - INFO - Project ctest-TestBasicPolicy-37714400 not found, creating it 2025-11-19 16:13:44,488 - INFO - Created Project:ctest-TestBasicPolicy-37714400, ID : bc87c129-b234-4a2d-878d-7d2605671d16 2025-11-19 16:13:46,099 - INFO - ================================================================================ 2025-11-19 16:13:46,099 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-19 16:13:46,099 - 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-11-19 16:13:46,359 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.25': '0'}} with 2025-11-19 16:13:46,359 - INFO - Initial checks done. Running the testcase now 2025-11-19 16:13:46,359 - INFO - 2025-11-19 16:13:46,936 - DEBUG - Response for create_network : {'network': {'id': '6b21f779-8050-4772-a970-3ac98feef354', 'name': 'ctest-vn-43598929', 'tenant_id': 'bc87c129b2344a2d878d7d2605671d16', 'project_id': 'bc87c129b2344a2d878d7d2605671d16', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37714400', 'ctest-vn-43598929'], 'port_security_enabled': True, 'description': ''}} 2025-11-19 16:13:47,091 - DEBUG - Response for create_subnet : {'subnet': {'id': '855230d7-25b0-4e11-89f0-688b41c61b17', 'name': '', 'tenant_id': 'bc87c129b2344a2d878d7d2605671d16', 'network_id': '6b21f779-8050-4772-a970-3ac98feef354', 'ip_version': 4, 'cidr': '102.98.185.128/26', 'allocation_pools': [{'start': '102.98.185.130', 'end': '102.98.185.190'}], 'gateway_ip': '102.98.185.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '102.98.185.130', 'tags': [], 'project_id': 'bc87c129b2344a2d878d7d2605671d16'}} 2025-11-19 16:13:47,110 - INFO - Created VN ctest-vn-43598929 2025-11-19 16:13:47,164 - DEBUG - VN ctest-vn-43598929 UUID is 6b21f779-8050-4772-a970-3ac98feef354 2025-11-19 16:13:47,500 - DEBUG - Response for create_network : {'network': {'id': '27eda7b1-2784-432d-9c9c-f91da21b6f3e', 'name': 'ctest-vn-85493934', 'tenant_id': 'bc87c129b2344a2d878d7d2605671d16', 'project_id': 'bc87c129b2344a2d878d7d2605671d16', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37714400', 'ctest-vn-85493934'], 'port_security_enabled': True, 'description': ''}} 2025-11-19 16:13:47,735 - DEBUG - Response for create_subnet : {'subnet': {'id': '9c442345-db2b-4f03-89f3-b82e36f55e30', 'name': '', 'tenant_id': 'bc87c129b2344a2d878d7d2605671d16', 'network_id': '27eda7b1-2784-432d-9c9c-f91da21b6f3e', 'ip_version': 4, 'cidr': '122.40.125.64/26', 'allocation_pools': [{'start': '122.40.125.66', 'end': '122.40.125.126'}], 'gateway_ip': '122.40.125.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.40.125.66', 'tags': [], 'project_id': 'bc87c129b2344a2d878d7d2605671d16'}} 2025-11-19 16:13:47,757 - INFO - Created VN ctest-vn-85493934 2025-11-19 16:13:47,808 - DEBUG - VN ctest-vn-85493934 UUID is 27eda7b1-2784-432d-9c9c-f91da21b6f3e 2025-11-19 16:13:47,928 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-37714400:ctest-vn-43598929, 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-37714400:ctest-vn-85493934, 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-11-19 16:13:48,238 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6b21f779-8050-4772-a970-3ac98feef354', 'name': 'ctest-vn-43598929', 'tenant_id': 'bc87c129b2344a2d878d7d2605671d16', 'project_id': 'bc87c129b2344a2d878d7d2605671d16', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['855230d7-25b0-4e11-89f0-688b41c61b17'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37714400', 'ctest-vn-43598929'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-37714400', 'ctest-policy-allow-all-15280631']], 'subnet_ipam': [{'subnet_cidr': '102.98.185.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-19 16:13:48,499 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '27eda7b1-2784-432d-9c9c-f91da21b6f3e', 'name': 'ctest-vn-85493934', 'tenant_id': 'bc87c129b2344a2d878d7d2605671d16', 'project_id': 'bc87c129b2344a2d878d7d2605671d16', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9c442345-db2b-4f03-89f3-b82e36f55e30'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37714400', 'ctest-vn-85493934'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-37714400', 'ctest-policy-allow-all-15280631']], 'subnet_ipam': [{'subnet_cidr': '122.40.125.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-19 16:13:48,664 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-11-19 16:13:48,970 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-11-19 16:13:49,008 - DEBUG - Requesting: http://10.0.0.131:8082/domain/cd28db7b-66b8-429a-a8f4-eb2ef85800d5 2025-11-19 16:13:49,022 - DEBUG - Requesting: http://10.0.0.131:8082/project/bc87c129-b234-4a2d-878d-7d2605671d16 2025-11-19 16:13:49,102 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/6b21f779-8050-4772-a970-3ac98feef354 2025-11-19 16:13:49,113 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/6b21f779-8050-4772-a970-3ac98feef354 2025-11-19 16:13:49,122 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/6bbd3214-31da-4c35-84e6-33fe1adcfdc0 2025-11-19 16:13:49,129 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/6bbd3214-31da-4c35-84e6-33fe1adcfdc0 2025-11-19 16:13:49,138 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/0bcf7172-29d3-4505-96f0-bfb3232800c6 2025-11-19 16:13:49,145 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-19 16:13:49,145 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/6b21f779-8050-4772-a970-3ac98feef354 2025-11-19 16:13:49,157 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/6bbd3214-31da-4c35-84e6-33fe1adcfdc0 2025-11-19 16:13:49,174 - INFO - Verified VN network id 11 for VN 6b21f779-8050-4772-a970-3ac98feef354 2025-11-19 16:13:49,174 - INFO - Verifications in API Server for VN ctest-vn-43598929 passed 2025-11-19 16:13:49,174 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/6b21f779-8050-4772-a970-3ac98feef354 2025-11-19 16:13:49,184 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/6bbd3214-31da-4c35-84e6-33fe1adcfdc0 2025-11-19 16:13:49,193 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/6bbd3214-31da-4c35-84e6-33fe1adcfdc0 2025-11-19 16:13:49,204 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/0bcf7172-29d3-4505-96f0-bfb3232800c6 2025-11-19 16:13:49,220 - DEBUG - Control-node 10.0.0.131 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-37714400:ctest-vn-43598929', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-37714400', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7719723337505589106', 'uuid-lslong': '12209323227179053908'}, 'enable': 'true', 'created': '2025-11-19T16:13:46', 'last-modified': '2025-11-19T16:13:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.998935'} 2025-11-19 16:13:49,228 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-19 16:13:49,228 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-43598929 passed 2025-11-19 16:13:49,228 - DEBUG - ====Verifying policy data for ctest-vn-43598929 in API_Server ====== 2025-11-19 16:13:49,228 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-11-19 16:13:49,234 - DEBUG - Requesting: http://10.0.0.131:8082/domain/cd28db7b-66b8-429a-a8f4-eb2ef85800d5 2025-11-19 16:13:49,245 - DEBUG - Requesting: http://10.0.0.131:8082/project/bc87c129-b234-4a2d-878d-7d2605671d16 2025-11-19 16:13:49,321 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/6b21f779-8050-4772-a970-3ac98feef354 2025-11-19 16:13:49,331 - DEBUG - ==>Verifying data for policy with id: 373f791e-039f-4ff9-b521-5e62c47a97e5, fqn: ['default-domain', 'ctest-TestBasicPolicy-37714400', 'ctest-policy-allow-all-15280631'] 2025-11-19 16:13:49,331 - INFO - VN ctest-vn-43598929 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-19 16:13:49,331 - DEBUG - Verifying the vn in opserver 2025-11-19 16:13:49,331 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-37714400:ctest-vn-43598929 virtual network link through opserver 10.0.0.131 2025-11-19 16:13:49,331 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks 2025-11-19 16:13:49,632 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks 2025-11-19 16:13:49,708 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-37714400:ctest-vn-43598929', 'href': 'http://10.0.0.131:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-37714400:ctest-vn-43598929?flat'} 2025-11-19 16:13:49,708 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-37714400:ctest-vn-43598929 is found in opserver 2025-11-19 16:13:49,721 - DEBUG - Do not have enough data to verify VN in agent 2025-11-19 16:13:49,729 - DEBUG - VRF ids for VN ctest-vn-43598929: {} 2025-11-19 16:13:49,729 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-11-19 16:13:49,736 - DEBUG - Requesting: http://10.0.0.131:8082/domain/cd28db7b-66b8-429a-a8f4-eb2ef85800d5 2025-11-19 16:13:49,748 - DEBUG - Requesting: http://10.0.0.131:8082/project/bc87c129-b234-4a2d-878d-7d2605671d16 2025-11-19 16:13:49,821 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/27eda7b1-2784-432d-9c9c-f91da21b6f3e 2025-11-19 16:13:49,832 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/27eda7b1-2784-432d-9c9c-f91da21b6f3e 2025-11-19 16:13:49,841 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/396642ad-9720-4aea-be3d-f9974db1e989 2025-11-19 16:13:49,848 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/396642ad-9720-4aea-be3d-f9974db1e989 2025-11-19 16:13:49,856 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/3f28d2f7-7351-40a7-8d46-0a3bddc27811 2025-11-19 16:13:49,865 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-19 16:13:49,865 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/27eda7b1-2784-432d-9c9c-f91da21b6f3e 2025-11-19 16:13:49,874 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/396642ad-9720-4aea-be3d-f9974db1e989 2025-11-19 16:13:49,892 - INFO - Verified VN network id 12 for VN 27eda7b1-2784-432d-9c9c-f91da21b6f3e 2025-11-19 16:13:49,893 - INFO - Verifications in API Server for VN ctest-vn-85493934 passed 2025-11-19 16:13:49,893 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/27eda7b1-2784-432d-9c9c-f91da21b6f3e 2025-11-19 16:13:49,903 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/396642ad-9720-4aea-be3d-f9974db1e989 2025-11-19 16:13:49,911 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/396642ad-9720-4aea-be3d-f9974db1e989 2025-11-19 16:13:49,919 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/3f28d2f7-7351-40a7-8d46-0a3bddc27811 2025-11-19 16:13:49,937 - DEBUG - Control-node 10.0.0.131 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-37714400:ctest-vn-85493934', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-37714400', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2877140116273644333', 'uuid-lslong': '11285168671952695102'}, 'enable': 'true', 'created': '2025-11-19T16:13:47', 'last-modified': '2025-11-19T16:13:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.471743'} 2025-11-19 16:13:49,943 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-19 16:13:49,943 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-85493934 passed 2025-11-19 16:13:49,943 - DEBUG - ====Verifying policy data for ctest-vn-85493934 in API_Server ====== 2025-11-19 16:13:49,943 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-11-19 16:13:49,951 - DEBUG - Requesting: http://10.0.0.131:8082/domain/cd28db7b-66b8-429a-a8f4-eb2ef85800d5 2025-11-19 16:13:49,963 - DEBUG - Requesting: http://10.0.0.131:8082/project/bc87c129-b234-4a2d-878d-7d2605671d16 2025-11-19 16:13:50,036 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/27eda7b1-2784-432d-9c9c-f91da21b6f3e 2025-11-19 16:13:50,047 - DEBUG - ==>Verifying data for policy with id: 373f791e-039f-4ff9-b521-5e62c47a97e5, fqn: ['default-domain', 'ctest-TestBasicPolicy-37714400', 'ctest-policy-allow-all-15280631'] 2025-11-19 16:13:50,047 - INFO - VN ctest-vn-85493934 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-19 16:13:50,047 - DEBUG - Verifying the vn in opserver 2025-11-19 16:13:50,047 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-37714400:ctest-vn-85493934 virtual network link through opserver 10.0.0.131 2025-11-19 16:13:50,047 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks 2025-11-19 16:13:50,060 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-37714400:ctest-vn-85493934', 'href': 'http://10.0.0.131:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-37714400:ctest-vn-85493934?flat'} 2025-11-19 16:13:50,060 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-37714400:ctest-vn-85493934 is found in opserver 2025-11-19 16:13:50,070 - DEBUG - Do not have enough data to verify VN in agent 2025-11-19 16:13:50,075 - DEBUG - VRF ids for VN ctest-vn-85493934: {} 2025-11-19 16:13:50,147 - DEBUG - Services list from nova: [, , ] 2025-11-19 16:13:51,216 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4762-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4762-1) 2025-11-19 16:13:52,469 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4762-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4762-1) 2025-11-19 16:13:52,469 - INFO - Waiting for VM ctest-TestBasicPolicy-37714400-24311358 to be up.. 2025-11-19 16:13:52,562 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-19 16:13:57,646 - DEBUG - VM is in ACTIVE state now 2025-11-19 16:13:57,646 - INFO - VM name : ctest-TestBasicPolicy-37714400-24311358 2025-11-19 16:13:57,732 - DEBUG - VM ctest-TestBasicPolicy-37714400-24311358 ID is cb565237-f6ed-488d-a01b-8dc316625d0b 2025-11-19 16:13:57,761 - DEBUG - VM ctest-TestBasicPolicy-37714400-24311358 launched on Node cn-jenkins-deploy-platform-ansible-os-4762-1 2025-11-19 16:13:57,859 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/cb565237-f6ed-488d-a01b-8dc316625d0b 2025-11-19 16:13:57,867 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/e69bb2d7-c47b-4aac-8326-48344f20cf61 2025-11-19 16:14:01,139 - 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 1025ms') 2025-11-19 16:14:01,139 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-37714400-24311358 failed! 2025-11-19 16:14:01,200 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-37714400:ctest-vn-43598929 is 102.98.185.129 and allocation pool is NOT set 2025-11-19 16:14:03,262 - 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=10.3 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.707 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.707/5.523/10.340/4.816 ms') 2025-11-19 16:14:03,262 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-37714400-24311358 passed 2025-11-19 16:14:03,420 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 16:14:03,420 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-37714400-24311358, IP 102.98.185.131, Port 22 2025-11-19 16:14:03,486 - 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-11-19 16:14:03,572 - DEBUG - VM ctest-TestBasicPolicy-37714400-24311358 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-19 16:14:08,573 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 16:14:08,574 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-37714400-24311358, IP 102.98.185.131, Port 22 2025-11-19 16:14:08,744 - DEBUG - VM ctest-TestBasicPolicy-37714400-24311358 is ready for SSH connections 2025-11-19 16:14:08,744 - INFO - Waiting for VM ctest-TestBasicPolicy-37714400-63662585 to be up.. 2025-11-19 16:14:08,841 - DEBUG - VM is in ACTIVE state now 2025-11-19 16:14:08,841 - INFO - VM name : ctest-TestBasicPolicy-37714400-63662585 2025-11-19 16:14:08,926 - DEBUG - VM ctest-TestBasicPolicy-37714400-63662585 ID is 78337b51-99b5-415a-b3db-65506c531d68 2025-11-19 16:14:08,926 - DEBUG - VM ctest-TestBasicPolicy-37714400-63662585 launched on Node cn-jenkins-deploy-platform-ansible-os-4762-1 2025-11-19 16:14:09,005 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/78337b51-99b5-415a-b3db-65506c531d68 2025-11-19 16:14:09,015 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/cd87a076-ba7f-4995-9ed6-ecdcfb45cb1d 2025-11-19 16:14:10,258 - 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.28 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.475 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.475/1.878/3.282/1.403 ms') 2025-11-19 16:14:10,258 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-37714400-63662585 passed 2025-11-19 16:14:10,413 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 16:14:10,413 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-37714400-63662585, IP 122.40.125.67, Port 22 2025-11-19 16:14:10,583 - DEBUG - VM ctest-TestBasicPolicy-37714400-63662585 is ready for SSH connections 2025-11-19 16:14:10,583 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 16:14:10,584 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 122.40.125.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-11-19 16:14:10,584 - DEBUG - ping -s 56 -c 3 -W 1 122.40.125.67 2025-11-19 16:14:14,738 - DEBUG - PING 122.40.125.67 (122.40.125.67): 56 data bytes 64 bytes from 122.40.125.67: seq=0 ttl=63 time=3.748 ms 64 bytes from 122.40.125.67: seq=1 ttl=63 time=1.513 ms 64 bytes from 122.40.125.67: seq=2 ttl=63 time=1.038 ms --- 122.40.125.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.038/2.099/3.748 ms 2025-11-19 16:14:14,738 - INFO - Ping to IP 122.40.125.67 from VM ctest-TestBasicPolicy-37714400-24311358 passed 2025-11-19 16:14:14,932 - DEBUG - Policy Update Response {"network-policy": {"uuid": "373f791e-039f-4ff9-b521-5e62c47a97e5", "href": "http://10.0.0.131:8082/network-policy/373f791e-039f-4ff9-b521-5e62c47a97e5"}} 2025-11-19 16:14:14,932 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 16:14:14,933 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 122.40.125.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-11-19 16:14:14,933 - DEBUG - ping -s 56 -c 3 -W 1 122.40.125.67 2025-11-19 16:14:18,156 - DEBUG - PING 122.40.125.67 (122.40.125.67): 56 data bytes --- 122.40.125.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-19 16:14:18,156 - WARNING - Ping to IP 122.40.125.67 from VM ctest-TestBasicPolicy-37714400-24311358 failed 2025-11-19 16:14:18,156 - INFO - Deleting VM ctest-TestBasicPolicy-37714400-63662585 2025-11-19 16:14:18,247 - INFO - Deleting VM ctest-TestBasicPolicy-37714400-24311358 2025-11-19 16:14:18,730 - INFO - Deleted policy ctest-policy-allow-all-15280631 2025-11-19 16:14:18,730 - INFO - Deleting VN ctest-vn-85493934 2025-11-19 16:14:18,782 - DEBUG - VN 27eda7b1-2784-432d-9c9c-f91da21b6f3e still in use: Unable to complete operation on network 27eda7b1-2784-432d-9c9c-f91da21b6f3e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3314b93a-e8cd-4b21-ae8b-c7438d3a641d'] 2025-11-19 16:14:18,782 - WARNING - Deleting VN ctest-vn-85493934 failed..Will retry 2025-11-19 16:14:20,910 - DEBUG - Response for deleting network () 2025-11-19 16:14:20,910 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/396642ad-9720-4aea-be3d-f9974db1e989 2025-11-19 16:14:20,922 - DEBUG - Response Code: 404 2025-11-19 16:14:20,922 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-11-19 16:14:20,928 - DEBUG - Requesting: http://10.0.0.131:8082/domain/cd28db7b-66b8-429a-a8f4-eb2ef85800d5 2025-11-19 16:14:20,984 - DEBUG - Requesting: http://10.0.0.131:8082/project/bc87c129-b234-4a2d-878d-7d2605671d16 2025-11-19 16:14:21,063 - INFO - Validated that VN ctest-vn-85493934 is not found in API Server 2025-11-19 16:14:21,073 - DEBUG - VN ctest-vn-85493934 is not present in Agent 10.0.0.131 2025-11-19 16:14:21,073 - INFO - Validated that VN ctest-vn-85493934 is not in any agent 2025-11-19 16:14:21,097 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-85493934 info 2025-11-19 16:14:21,097 - INFO - Deleting VN ctest-vn-43598929 2025-11-19 16:14:21,227 - DEBUG - Response for deleting network () 2025-11-19 16:14:21,227 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/6bbd3214-31da-4c35-84e6-33fe1adcfdc0 2025-11-19 16:14:21,233 - DEBUG - Response Code: 404 2025-11-19 16:14:21,233 - DEBUG - Requesting: http://10.0.0.131:8082/domains 2025-11-19 16:14:21,239 - DEBUG - Requesting: http://10.0.0.131:8082/domain/cd28db7b-66b8-429a-a8f4-eb2ef85800d5 2025-11-19 16:14:21,293 - DEBUG - Requesting: http://10.0.0.131:8082/project/bc87c129-b234-4a2d-878d-7d2605671d16 2025-11-19 16:14:21,367 - INFO - Validated that VN ctest-vn-43598929 is not found in API Server 2025-11-19 16:14:21,382 - DEBUG - VN ctest-vn-43598929 is not present in Agent 10.0.0.131 2025-11-19 16:14:21,382 - INFO - Validated that VN ctest-vn-43598929 is not in any agent 2025-11-19 16:14:21,398 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-43598929 info 2025-11-19 16:14:21,657 - DEBUG - No XMPP flaps were noticed during the test
2025-11-19 16:14:21,657 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2025-11-19 16:14:21,657 - INFO - -------------------------------------------------------------------------------- 2025-11-19 16:14:22,387 - INFO - Deleted project: ctest-TestBasicPolicy-37714400, ID : bc87c129-b234-4a2d-878d-7d2605671d16